/* ACI-OS 1.10.0 – luồng C: hệ thống thiết kế phía Cổng thông tin (ACI-03-PLT-05 Chương VII; WP-UI-02; BR-UI-20).
   Token màu theo gói kỹ thuật design/tokens.json (nhóm portal, verify, status). Cổng dùng đỏ – vàng NUTE (từ 1.11.1 thanh trên, đầu trang, vùng đầu dùng xanh ACI); dấu xác thực và nút ACI-OS dùng
   xanh ACI. Vàng #E9A201 chỉ để trang trí (tương phản 2,2:1 với nền trắng); chữ màu vàng dùng #9C6C00 (4,6:1). Chữ: Be Vietnam Pro
   (fonts.css, tự lưu trữ – hỗ trợ đầy đủ tiếng Việt). Cỡ chữ nội dung tối thiểu 16 px; trạng thái luôn kèm chữ và biểu tượng; dùng được
   trên điện thoại, phóng to 200% (bố cục co giãn, không chiều rộng cố định). Tệp tĩnh không phụ thuộc lần dựng Tailwind. */
:root {
  --nute-primary: #C71B22; --nute-primary-hover: #A3161C; --nute-gold: #E9A201; --nute-gold-text: #9C6C00; --nute-logo-yellow: #FDF21E;
  --nute-surface: #FFFFFF; --nute-surface-alt: #FAF6EE; --nute-ink: #1F1F1F; --nute-ink-muted: #5C5C5C; --nute-line: #E7E1D6;
  --aci-primary: #1F45EB; --aci-primary-dark: #182E9A;
  --verify-badge: #1F45EB; --verify-badge-text: #FFFFFF; --verify-ok: #137A3A; --verify-fail: #B42318;
  --status-good: #137A3A; --status-warning: #B54708; --status-critical: #B42318; --status-neutral: #545B72; --status-ai: #6B3FD4;
}

/* Bảng màu thay cho lớp «brand-*» của Tailwind trong mẫu trang cổng: đỏ NUTE; vùng kiểm chứng (.aci-zone) giữ xanh ACI */
.nute-portal {
  --b-50: #FDF2F2; --b-100: #FBE3E4; --b-200: #F6C2C4; --b-300: #EE9296; --b-400: #E05A60; --b-500: #D23037; --b-600: #C71B22;
  --b-700: #A3161C; --b-800: #85131A; --b-900: #6E151A; --b-950: #3D070A;
}
.nute-portal .aci-zone, .nute-portal .aci-btn {
  --b-50: #EEF4FF; --b-100: #DAE6FF; --b-200: #BDD2FF; --b-300: #90B4FF; --b-400: #5C8BFD; --b-500: #3563F6; --b-600: #1F45EB;
  --b-700: #1A35D0; --b-800: #1B2EA8; --b-900: #1C2D84; --b-950: #151D50;
}

/* ---------------------------------------------------------------- nền, chữ, tiêu điểm bàn phím */
html.nute-html { font-size: 100%; color-scheme: light; }
body.nute-portal { background: var(--nute-surface); background-image: none; color: var(--nute-ink); font-size: 1rem; line-height: 1.6; }
.nute-portal .text-sm { font-size: 1rem; line-height: 1.6; }          /* nội dung ≥ 16 px */
.nute-portal .text-xs { font-size: .875rem; line-height: 1.5; }
.nute-portal .text-\[11px\], .nute-portal .text-\[10px\], .nute-portal .text-2xs { font-size: .8125rem; line-height: 1.45; }
.nute-portal .text-slate-400 { color: #6B7280; }                      /* chữ phụ đạt tương phản AA trên nền trắng */
.nute-portal .text-slate-500 { color: var(--nute-ink-muted); }
.nute-portal *:focus-visible { outline: 3px solid var(--nute-gold-text); outline-offset: 2px; box-shadow: none; }
.nute-portal a { text-underline-offset: 3px; }
.nute-portal .nute-prose { font-size: 1.0625rem; line-height: 1.75; }
.nute-wrap { margin: 0 auto; max-width: 80rem; padding: 0 1rem; }
@media (min-width: 640px) { .nute-wrap { padding: 0 1.5rem; } }
.nute-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nute-skip { position: absolute; left: .75rem; top: -4rem; z-index: 60; background: var(--nute-ink); color: #fff; padding: .5rem .75rem; border-radius: .5rem; }
.nute-skip:focus { top: .75rem; }

/* ---------------------------------------------------------------- thanh trên (1.11.1: xanh ACI – ý kiến Hiệu trưởng 31/10/2026, phần phía trên chuyển đỏ sang xanh) */
.nute-topbar { background: var(--aci-primary-dark); color: #fff; font-size: .875rem; }
.nute-topbar .nute-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; min-height: 2.5rem; padding-top: .25rem; padding-bottom: .25rem; }
.nute-topbar a { color: #fff; text-decoration: none; }
.nute-topbar a:hover { text-decoration: underline; }
.nute-topbar .nute-topbar-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.nute-topbar .nute-topbar-end { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; }
.nute-topbar .nute-lang a { padding: .125rem .375rem; border-radius: .25rem; }
.nute-topbar .nute-lang a[aria-current] { background: #fff; color: var(--aci-primary-dark); font-weight: 700; }
.nute-topbar *:focus-visible { outline-color: #fff; }

/* ---------------------------------------------------------------- đầu trang, menu chính */
.nute-header { background: #fff; border-bottom: 3px solid var(--nute-gold); position: relative; z-index: 30; }
.nute-header .nute-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.nute-brand { display: flex; align-items: center; gap: .75rem; min-width: 0; color: var(--nute-ink); text-decoration: none; }
.nute-brand img { width: 3.25rem; height: 3.25rem; flex-shrink: 0; }
.nute-brand-name { display: block; font-weight: 700; text-transform: uppercase; color: var(--aci-primary-dark); line-height: 1.25; font-size: 1rem; }
.nute-brand-tag { display: block; font-size: .875rem; color: var(--nute-ink-muted); }
.nute-search { display: flex; align-items: center; gap: .25rem; margin-left: auto; border: 1px solid #CFC6B6; border-radius: .5rem; background: var(--nute-surface-alt); padding: 0 .5rem; min-width: 0; flex: 0 1 18rem; }
.nute-search input { min-width: 0; width: 100%; height: 2.5rem; background: transparent; border: 0; font-size: 1rem; outline: none; color: var(--nute-ink); }
.nute-search button { border: 0; background: transparent; color: var(--nute-ink-muted); padding: .25rem; cursor: pointer; }
.nute-search:focus-within { border-color: var(--aci-primary); }
.aci-btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--aci-primary); color: #fff; font-weight: 600; border-radius: .5rem;
           padding: .55rem 1rem; text-decoration: none; white-space: nowrap; font-size: 1rem; }
.aci-btn:hover { background: var(--aci-primary-dark); }
.nute-menu { background: #fff; border-top: 1px solid var(--nute-line); }
.nute-menu > .nute-wrap > ul { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 .25rem; margin: 0; padding: 0; list-style: none; }
.nute-menu li { position: relative; }
.nute-menu .nute-menu-link { display: block; padding: .75rem .75rem; font-weight: 600; color: var(--nute-ink); text-decoration: none; border-bottom: 3px solid transparent; }
.nute-menu .nute-menu-link:hover, .nute-menu .nute-menu-link[aria-current] { color: var(--aci-primary); border-bottom-color: var(--aci-primary); }
.nute-menu .nute-sub { display: none; position: absolute; left: 0; top: 100%; min-width: 16rem; background: #fff; border: 1px solid var(--nute-line);
                       border-top: 3px solid var(--aci-primary); box-shadow: 0 12px 24px -12px rgba(0,0,0,.25); padding: .375rem; z-index: 40; list-style: none; margin: 0; }
.nute-menu li:hover > .nute-sub, .nute-menu li:focus-within > .nute-sub { display: block; }
.nute-menu .nute-sub a { display: block; padding: .5rem .75rem; color: var(--nute-ink); text-decoration: none; border-radius: .375rem; }
.nute-menu .nute-sub a:hover { background: #EEF4FF; color: var(--aci-primary); }
.nute-mobile { display: none; border-top: 1px solid var(--nute-line); }
.nute-mobile summary { list-style: none; cursor: pointer; padding: .75rem 1rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.nute-mobile summary::-webkit-details-marker { display: none; }
.nute-mobile ul { list-style: none; margin: 0; padding: 0 1rem 1rem; }
.nute-mobile li a { display: block; padding: .6rem .25rem; color: var(--nute-ink); text-decoration: none; border-bottom: 1px solid var(--nute-line); }
.nute-mobile li li a { padding-left: 1.25rem; font-weight: 400; color: var(--nute-ink-muted); }
@media (max-width: 1023px) {
  .nute-menu { display: none; }
  .nute-mobile { display: block; }
  .nute-search { order: 3; flex: 1 1 100%; margin-left: 0; }
  .nute-header .aci-btn { margin-left: auto; }
}

/* ---------------------------------------------------------------- nút, tiêu đề khối, thẻ */
.nute-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--nute-primary); color: #fff; font-weight: 600;
            border-radius: .5rem; padding: .7rem 1.15rem; text-decoration: none; font-size: 1rem; border: 2px solid var(--nute-primary); }
.nute-btn:hover { background: var(--nute-primary-hover); border-color: var(--nute-primary-hover); }
.nute-btn-light { background: #fff; color: var(--nute-primary); border-color: #fff; }
.nute-btn-light:hover { background: var(--nute-surface-alt); color: var(--nute-primary-hover); border-color: var(--nute-surface-alt); }
.nute-btn-outline { background: transparent; color: var(--nute-primary); }
.nute-btn-outline:hover { background: var(--nute-surface-alt); color: var(--nute-primary-hover); }
.nute-h2 { font-size: 1.5rem; font-weight: 700; color: var(--nute-ink); line-height: 1.3; margin: 0; }
.nute-h2::before { content: ""; display: block; width: 3rem; height: 4px; background: var(--nute-gold); border-radius: 2px; margin-bottom: .5rem; }
.nute-kicker { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nute-gold-text); }
.nute-lead { font-size: 1.0625rem; color: var(--nute-ink-muted); }
.nute-section { padding-top: 2.5rem; }
.nute-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.nute-more { font-weight: 600; color: var(--nute-primary); text-decoration: none; }
.nute-more:hover { text-decoration: underline; color: var(--nute-primary-hover); }
.nute-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.nute-grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.nute-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nute-line); border-radius: .75rem; overflow: hidden; }
.nute-card:hover { border-color: var(--nute-primary); }
.nute-card-body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1rem 1.125rem 1.125rem; }
.nute-card h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; margin: 0; color: var(--nute-ink); }
.nute-card h3 a { color: inherit; text-decoration: none; }
.nute-card h3 a::after { content: ""; position: absolute; inset: 0; }
.nute-card h3 a:hover { color: var(--nute-primary); }
.nute-card p { margin: 0; color: var(--nute-ink-muted); }
.nute-card .nute-card-foot { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .5rem; position: relative; z-index: 2; }
.nute-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--nute-surface-alt); overflow: hidden; }
.nute-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nute-thumb-empty { display: flex; align-items: flex-end; padding: .75rem; background: linear-gradient(135deg, var(--nute-surface-alt), #F1E6CF);
                    color: var(--nute-gold-text); font-weight: 700; }
.nute-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-size: .875rem; color: var(--nute-ink-muted); }
.nute-meta a { position: relative; z-index: 2; color: var(--nute-primary); font-weight: 600; text-decoration: none; }
.nute-panel { background: var(--nute-surface-alt); border: 1px solid var(--nute-line); border-radius: .75rem; padding: 1.25rem; }
.nute-note { border-left: 4px solid var(--nute-gold); background: var(--nute-surface-alt); padding: .75rem 1rem; border-radius: .25rem; color: var(--nute-ink); }
.nute-admin-hint { border: 2px dashed var(--nute-gold-text); background: #FFFBEB; color: var(--nute-ink); padding: .75rem 1rem; border-radius: .5rem; }
.nute-pending { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; color: var(--nute-ink-muted); background: #F3F1EC;
                border-radius: 999px; padding: .125rem .625rem; }

/* ---------------------------------------------------------------- vùng đầu: banner xanh ACI (1.11.1 – ý kiến Hiệu trưởng 31/10/2026; theo tệp mẫu
   banner_aci-os.html). Không slider; một nút đăng nhập; thanh dưới cùng dẫn xuống khối tin bài #thong-tin-xuat-ban. */
html.nute-html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html.nute-html { scroll-behavior: auto; } }
.aci-hero { --aci-sky: #7FA2FF; --aci-ice: #E6ECFF; --aci-hero-line: rgba(255,255,255,.18);
            position: relative; overflow: hidden; color: #fff;
            background: radial-gradient(1100px 520px at 88% 30%, rgba(127,162,255,.35), transparent 60%),
                        linear-gradient(120deg, var(--aci-primary-dark) 0%, #1A3AC4 55%, var(--aci-primary) 100%); }
.aci-hero::before { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none;
                    background-image: linear-gradient(var(--aci-hero-line) 1px, transparent 1px), linear-gradient(90deg, var(--aci-hero-line) 1px, transparent 1px);
                    background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
                    mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); }
.aci-hero__inner { position: relative; max-width: 77.5rem; margin: 0 auto; padding: 4rem 2.5rem 2.5rem; display: grid;
                   grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 2.5rem; align-items: center; }
:where(.aci-hero) p { margin: 0; }
.aci-hero__school { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aci-ice); }
.aci-hero .nute-hero-label { margin-bottom: .75rem; }
.aci-hero__system { margin-top: .625rem; display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; font-size: .9375rem; color: rgba(255,255,255,.86); }
.aci-hero__chip { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .75rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
                  font-weight: 700; color: #fff; background: rgba(255,255,255,.08); }
.aci-hero__chip i { width: 8px; height: 8px; border-radius: 50%; background: #5BE49B; box-shadow: 0 0 0 3px rgba(91,228,155,.25); }
.aci-hero__full { font-style: italic; }
.aci-hero h1 { margin: 1.375rem 0 0; font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.aci-hero__msg { margin-top: .75rem; font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; color: #fff; max-width: 40rem; }
.aci-hero__lead { margin-top: 1rem; max-width: 38.75rem; font-size: 1.125rem; line-height: 1.6; color: rgba(255,255,255,.86); }
.aci-hero__lead strong { color: #fff; font-weight: 600; }
.aci-hero__mission { margin-top: .75rem; max-width: 38.75rem; font-size: 1rem; color: rgba(255,255,255,.86); }
.aci-hero__src { display: block; font-size: .875rem; color: var(--aci-ice); }
.aci-hero__trust { margin-top: 1.375rem; display: flex; flex-wrap: wrap; gap: .5rem 1.125rem; font-size: .875rem; color: var(--aci-ice); }
.aci-hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.aci-hero__trust svg { flex: none; }
.aci-hero__cta { margin-top: 1.875rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.aci-hero__btn { display: inline-flex; align-items: center; gap: .625rem; height: 3.125rem; padding: 0 1.5rem; border-radius: .625rem; font-size: 1rem;
                 font-weight: 700; line-height: 1; text-decoration: none; background: #fff; color: var(--aci-primary-dark);
                 box-shadow: 0 8px 24px rgba(8,20,80,.35); transition: transform .15s, background .15s; }
.aci-hero__btn:hover { transform: translateY(-1px); background: var(--aci-ice); }
.aci-hero a:focus-visible { outline: 3px solid #FFD84D; outline-offset: 3px; }
.aci-hero__hint { margin-top: .875rem; font-size: .875rem; color: var(--aci-ice); }
.aci-hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 27.5rem; justify-self: end; width: 100%; }
.aci-hero__art svg { width: 100%; height: 100%; }
.aci-hero__photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 34rem; border-radius: 1rem; overflow: hidden;
                   border: 1px solid rgba(255,255,255,.35); box-shadow: 0 16px 40px rgba(8,20,80,.4); }
.aci-hero__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.aci-hero__photo figcaption { position: absolute; right: .5rem; bottom: .5rem; font-size: .8125rem; color: #fff; background: rgba(0,0,0,.55);
                              padding: .125rem .5rem; border-radius: .25rem; }
.aci-hero__bar { position: relative; border-top: 1px solid rgba(255,255,255,.2); background: rgba(8,20,80,.28);
                 -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.aci-hero__bar a { max-width: 77.5rem; margin: 0 auto; padding: 0 2.5rem; min-height: 3.75rem; display: flex; align-items: center; justify-content: center;
                   gap: .75rem; color: #fff; text-decoration: none; font-size: 1rem; font-weight: 600; letter-spacing: .01em; transition: background .15s; }
.aci-hero__bar a:hover { background: rgba(255,255,255,.08); }
.aci-hero__bar a:focus-visible { outline-offset: -3px; }
.aci-hero__bar-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
                      border: 1.5px solid rgba(255,255,255,.6); animation: aci-nudge 1.8s ease-in-out infinite; }
.aci-hero__bar a:hover .aci-hero__bar-icon { background: #fff; color: var(--aci-primary-dark); }
@keyframes aci-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .aci-hero__bar-icon { animation: none; } }
@media (max-width: 900px) {
  .aci-hero__inner { grid-template-columns: minmax(0, 1fr); padding: 2.5rem 1rem 2rem; gap: .5rem; }
  .aci-hero__bar a { padding: 0 1rem; min-height: 3.5rem; font-size: .9375rem; }
  .aci-hero__art { display: none; }
  .aci-hero__photo { justify-self: stretch; max-width: none; margin-top: 1.5rem; }
  .aci-hero__lead { font-size: 1rem; }
  .aci-hero__school { font-size: .75rem; letter-spacing: .06em; }
  .aci-hero__btn { width: 100%; justify-content: center; }
}
/* đích của thanh «Xem thông tin đã xuất bản»: cổng không có menu cố định nên chỉ chừa khoảng nhỏ phía trên */
#thong-tin-xuat-ban { scroll-margin-top: 1rem; }
#thong-tin-xuat-ban:focus { outline: none; }

/* ---------------------------------------------------------------- bốn lối vào */
.nute-entries { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.nute-entry { display: flex; flex-direction: column; gap: .375rem; padding: 1.125rem; border: 1px solid var(--nute-line); border-top: 4px solid var(--nute-primary);
              border-radius: .5rem; background: #fff; text-decoration: none; color: var(--nute-ink); }
.nute-entry strong { font-size: 1.125rem; color: var(--nute-primary); }
.nute-entry span { color: var(--nute-ink-muted); }
.nute-entry:hover { background: var(--nute-surface-alt); }

/* ---------------------------------------------------------------- con số (chỉ số liệu đã duyệt công khai – BR-UI-15) */
.nute-figures { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); margin: 0; }
.nute-figure { background: #fff; border: 1px solid var(--nute-line); border-radius: .75rem; padding: 1rem; }
.nute-figure dt { color: var(--nute-ink-muted); }
.nute-figure .nute-figure-value { font-size: 2rem; font-weight: 800; color: var(--nute-primary); font-variant-numeric: tabular-nums; }
.nute-figure details { font-size: .875rem; color: var(--nute-ink-muted); margin-top: .5rem; }

/* ---------------------------------------------------------------- dấu xác thực (một nhãn thống nhất – BR-UI-13, mẫu D-78; xanh ACI) */
.verify-badge { display: inline-flex; align-items: center; gap: .375rem; background: var(--verify-badge); color: var(--verify-badge-text) !important;
                border-radius: 999px; padding: .25rem .75rem .25rem .5rem; font-size: .875rem; font-weight: 600; line-height: 1.35;
                text-decoration: none !important; position: relative; z-index: 2; max-width: 100%; }
.verify-badge:hover { background: var(--aci-primary-dark); }
.verify-badge svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.verify-badge .verify-code { font-weight: 400; opacity: .92; font-family: ui-monospace, Consolas, monospace; font-size: .8125rem; }
.verify-scope { border: 1px solid #BDD2FF; background: #EEF4FF; color: #14182B; border-radius: .5rem; padding: .75rem 1rem; }
.verify-scope strong { color: var(--aci-primary-dark); }
.verify-pending { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; color: var(--status-neutral); }

/* ---------------------------------------------------------------- nhãn AI (BR-UI-16) – chữ + biểu tượng, đánh dấu máy đọc ở thuộc tính data-* */
.ai-label { display: inline-flex; align-items: center; gap: .3rem; background: #F1ECFC; color: #4C2A9E; border: 1px solid #D9CCF6;
            border-radius: .375rem; padding: .0625rem .5rem; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.ai-label svg { width: .9rem; height: .9rem; }
.ai-image-label { position: absolute; left: .5rem; bottom: .5rem; z-index: 3; background: rgba(31,31,31,.85); color: #fff; font-size: .8125rem;
                  font-weight: 600; padding: .125rem .5rem; border-radius: .25rem; }

/* ---------------------------------------------------------------- trạng thái (chữ + biểu tượng, không chỉ bằng màu) */
.nute-status { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .0625rem .625rem; font-size: .875rem; font-weight: 600; }
.nute-status-good { background: #E7F4EC; color: var(--status-good); }
.nute-status-warning { background: #FDF1E7; color: var(--status-warning); }
.nute-status-neutral { background: #EEF0F4; color: var(--status-neutral); }
.nute-status-ai { background: #F1ECFC; color: #4C2A9E; }
.nute-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.nute-table th { text-align: left; font-weight: 700; background: var(--nute-surface-alt); border-bottom: 2px solid var(--nute-line); padding: .5rem .625rem; vertical-align: bottom; }
.nute-table td { border-bottom: 1px solid var(--nute-line); padding: .5rem .625rem; vertical-align: top; }
.nute-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nute-scroll > .nute-table { min-width: 36rem; }               /* điện thoại: bảng cuộn ngang trong khung, không ép chữ */
.nute-dl { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: .375rem 1rem; margin: 0; }
.nute-dl dt { color: var(--nute-ink-muted); }
.nute-dl dd { margin: 0; }
@media (max-width: 639px) { .nute-dl { grid-template-columns: 1fr; } .nute-dl dd { margin-bottom: .5rem; } }

/* ---------------------------------------------------------------- trang con: dải tiêu đề */
.nute-pagehead { background: var(--nute-surface-alt); border-bottom: 1px solid var(--nute-line); }
.nute-pagehead .nute-wrap { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.nute-pagehead h1 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 800; margin: .25rem 0 0; color: var(--nute-ink); line-height: 1.25; }
.nute-crumbs { display: flex; flex-wrap: wrap; gap: .25rem; font-size: .875rem; color: var(--nute-ink-muted); }
.nute-crumbs a { color: var(--nute-ink-muted); }
.nute-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.nute-tabs a { padding: .375rem .75rem; border-radius: 999px; border: 1px solid #CFC6B6; color: var(--nute-ink); text-decoration: none; background: #fff; }
.nute-tabs a[aria-current] { background: var(--nute-primary); border-color: var(--nute-primary); color: #fff; }

/* ---------------------------------------------------------------- chân trang */
.nute-footer { margin-top: 4rem; background: var(--nute-ink); color: #ECECEC; border-top: 4px solid var(--nute-primary); }
.nute-footer a { color: #fff; }
.nute-footer .nute-footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); padding: 2.5rem 0; }
.nute-footer h2 { font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--nute-gold); margin: 0 0 .75rem; }
.nute-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.nute-footer address { font-style: normal; display: grid; gap: .5rem; }
.nute-footer .nute-footer-bottom { border-top: 1px solid #3A3A3A; padding: 1rem 0; font-size: .875rem; color: #C9C9C9; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

@media print { .nute-topbar, .nute-header, .nute-footer, .nute-mobile { display: none !important; } }

/* ---------------------------------------------------------------- ánh xạ lớp brand-* (Tailwind) của mẫu trang cũ sang bảng màu theo vùng */
.nute-portal .\[\&_a\]\:text-brand-700 a{color:var(--b-700)}
.nute-portal .\[\&_blockquote\]\:border-brand-200 blockquote{border-color:var(--b-200)}
.nute-portal .bg-brand-50{background-color:var(--b-50)}
.nute-portal .bg-brand-50\/60{background-color:color-mix(in srgb, var(--b-50) 60%, transparent)}
.nute-portal .bg-brand-600{background-color:var(--b-600)}
.nute-portal .bg-brand-950{background-color:var(--b-950)}
.nute-portal .border-brand-200{border-color:var(--b-200)}
.nute-portal .border-brand-600{border-color:var(--b-600)}
.nute-portal .focus-within\:border-brand-500:focus-within{border-color:var(--b-500)}
.nute-portal .focus\:bg-brand-600:focus{background-color:var(--b-600)}
.nute-portal .focus\:border-brand-400:focus{border-color:var(--b-400)}
.nute-portal .focus\:border-brand-500:focus{border-color:var(--b-500)}
.nute-portal .focus\:ring-brand-500\/20:focus{--tw-ring-color:color-mix(in srgb, var(--b-500) 20%, transparent)}
.nute-portal .focus\:ring-brand-500\/40:focus{--tw-ring-color:color-mix(in srgb, var(--b-500) 40%, transparent)}
.nute-portal .from-brand-950{--tw-gradient-from:var(--b-950) var(--tw-gradient-from-position);--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.nute-portal .group:hover .group-hover\:decoration-brand-300{text-decoration-color:var(--b-300)}
.nute-portal .group:hover .group-hover\:text-brand-700{color:var(--b-700)}
.nute-portal .hover\:bg-brand-100:hover{background-color:var(--b-100)}
.nute-portal .hover\:bg-brand-50:hover{background-color:var(--b-50)}
.nute-portal .hover\:bg-brand-700:hover{background-color:var(--b-700)}
.nute-portal .hover\:border-brand-300:hover{border-color:var(--b-300)}
.nute-portal .hover\:text-brand-700:hover{color:var(--b-700)}
.nute-portal .hover\:text-brand-800:hover{color:var(--b-800)}
.nute-portal .text-brand-100{color:var(--b-100)}
.nute-portal .text-brand-100\/80{color:color-mix(in srgb, var(--b-100) 80%, transparent)}
.nute-portal .text-brand-100\/90{color:color-mix(in srgb, var(--b-100) 90%, transparent)}
.nute-portal .text-brand-200{color:var(--b-200)}
.nute-portal .text-brand-300{color:var(--b-300)}
.nute-portal .text-brand-300\/60{color:color-mix(in srgb, var(--b-300) 60%, transparent)}
.nute-portal .text-brand-600{color:var(--b-600)}
.nute-portal .text-brand-700{color:var(--b-700)}
.nute-portal .text-brand-700\/80{color:color-mix(in srgb, var(--b-700) 80%, transparent)}
.nute-portal .text-brand-800{color:var(--b-800)}
.nute-portal .text-brand-800\/40{color:color-mix(in srgb, var(--b-800) 40%, transparent)}
.nute-portal .text-brand-800\/50{color:color-mix(in srgb, var(--b-800) 50%, transparent)}
.nute-portal .text-brand-900{color:var(--b-900)}
.nute-portal .text-brand-950{color:var(--b-950)}
.nute-portal .to-brand-50{--tw-gradient-to:var(--b-50) var(--tw-gradient-to-position)}
.nute-portal .to-brand-950\/30{--tw-gradient-to:color-mix(in srgb, var(--b-950) 30%, transparent) var(--tw-gradient-to-position)}
.nute-portal .via-brand-950\/80{--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),color-mix(in srgb, var(--b-950) 80%, transparent) var(--tw-gradient-via-position),var(--tw-gradient-to)}

/* ======================================================================== 1.11.0 – luồng P2: cổng khác biệt so với website (mockup 08 – 10)
   Vùng đầu ảnh thật toàn bề rộng + nhãn vàng giới thiệu; bốn lối vào đè mép ảnh; «Đang diễn ra ở NUTE» cạnh «NUTE bằng những con số»; thẻ số
   liệu hoạt động thật (nguồn · thời điểm · ES); khối Hiệu trưởng; «Kiểm chứng được» nền xanh nhạt; danh mục Agent có bộ lọc + bảng chi tiết;
   trang xác minh hai cột. Chỉ dùng token đã có (đỏ – vàng NUTE, xanh ACI, trạng thái). */
.nute-hero-label { display: inline-block; background: var(--nute-gold); color: #1F1F1F; font-weight: 700; font-size: .875rem; line-height: 1.35;
                   border-radius: .375rem; padding: .2rem .6rem; max-width: 100%; }
.nute-btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.nute-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.nute-btn-sm { padding: .4rem .8rem; font-size: .9375rem; }
.nute-btn-aci { color: var(--aci-primary); border-color: #BDD2FF; background: #fff; }
.nute-btn-aci:hover { background: #EEF4FF; color: var(--aci-primary-dark); border-color: #90B4FF; }
/* bốn lối vào ngay dưới vùng đầu (1.11.1: không đè mép banner để không che thanh «Xem thông tin đã xuất bản») */
.nute-entries-wrap { position: relative; z-index: 5; margin-top: 2rem; }
.nute-entry { box-shadow: 0 10px 24px -14px rgba(0,0,0,.35); }
.nute-entry strong { color: var(--nute-ink); }
.nute-entry .nute-entry-cta { margin-top: auto; padding-top: .5rem; font-style: normal; font-weight: 600; color: var(--nute-primary); }
@media (max-width: 639px) { .nute-entries-wrap { margin-top: 1.5rem; } }

/* khung, tiêu đề phụ */
.nute-h3 { font-size: 1.125rem; font-weight: 700; color: var(--nute-ink); line-height: 1.35; margin: 0; }
.nute-box { background: #fff; border: 1px solid var(--nute-line); border-radius: .75rem; padding: 1.125rem 1.25rem; min-width: 0; }
.nute-box-flush { padding: 0; overflow: hidden; }
.nute-box-flush .nute-box-foot { padding: .75rem 1.25rem; }
.nute-box-aci { border-top: 4px solid var(--aci-primary); }
.nute-box-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: .75rem; }
.nute-box-note { font-size: .875rem; font-weight: 400; color: var(--nute-ink-muted); text-decoration: none; }
a.nute-box-note:hover { color: var(--nute-primary); text-decoration: underline; }
.nute-box-foot { margin: .75rem 0 0; font-size: .875rem; color: var(--nute-ink-muted); border-top: 1px solid var(--nute-line); padding-top: .625rem; }
.nute-duo { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .nute-duo-2 { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }
.nute-two { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); margin-top: 1rem; }
.nute-two-wide { margin-top: 0; }
.nute-subblock { margin-top: 1rem; }
.nute-section-tight { padding-top: 1.75rem; }

/* «Đang diễn ra ở NUTE» – giờ · mô tả · dấu xác thực */
.nute-live { list-style: none; margin: 0; padding: 0; }
.nute-live-row { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr) auto; gap: .25rem .75rem; align-items: start; padding: .625rem 0;
                 border-bottom: 1px solid var(--nute-line); }
.nute-live-row:last-child { border-bottom: 0; }
.nute-live-row time { color: var(--nute-ink-muted); font-variant-numeric: tabular-nums; font-size: .9375rem; }
.nute-live-text { overflow-wrap: anywhere; }
.nute-live-text a { color: var(--nute-ink); text-decoration: none; }
.nute-live-text a:hover { color: var(--nute-primary); text-decoration: underline; }
.nute-live-badge .verify-badge { font-size: .8125rem; }
/* dấu xác thực xuống dòng được trên màn hình hẹp (app.css đặt nowrap) – không làm trang cuộn ngang */
.nute-portal .verify-badge { white-space: normal; }
.nute-portal .verify-badge span { min-width: 0; }
@media (max-width: 639px) { .nute-live-row { grid-template-columns: 4rem minmax(0, 1fr); } .nute-live-badge { grid-column: 2; } }

/* «NUTE bằng những con số» trong khung: số lớn đỏ, nhãn, nguồn, «Xem cách tính» */
.nute-box .nute-figures { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .5rem 1rem; }
.nute-box .nute-figure { border: 0; padding: .75rem .5rem; text-align: center; display: flex; flex-direction: column; gap: .125rem; }
.nute-box .nute-figure .nute-figure-value { order: -1; font-size: 2.25rem; line-height: 1.15; }
.nute-figure-unit { font-size: 1.125rem; font-weight: 700; margin-left: .25rem; }
.nute-figure dt { color: var(--nute-ink); font-weight: 600; }
.nute-figure-src { font-size: .875rem; color: var(--nute-ink-muted); }
.nute-figure details summary { color: var(--aci-primary); cursor: pointer; }
.nute-figures-row .nute-figure { text-align: left; }

/* thẻ số liệu hoạt động thật */
.nute-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.25rem), 1fr)); }
.nute-stat { background: #fff; border: 1px solid var(--nute-line); border-top: 4px solid var(--nute-gold); border-radius: .75rem; padding: 1rem 1.125rem;
             display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.nute-stat-value { font-size: 2.125rem; font-weight: 800; line-height: 1.1; color: var(--nute-primary); font-variant-numeric: tabular-nums; }
.nute-stat-label { font-weight: 600; color: var(--nute-ink); }
@media (max-width: 639px) {      /* điện thoại: hai cột để lướt nhanh */
  .nute-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
  .nute-stat { padding: .75rem; }
  .nute-stat-value { font-size: 1.75rem; }
  .nute-stat-label { font-size: .9375rem; line-height: 1.4; }
}
.nute-stat-label a { color: inherit; }
.nute-stat-sub { font-size: .9375rem; color: var(--nute-ink); }
.nute-stat-meta { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .8125rem; line-height: 1.45; color: var(--nute-ink-muted); }
/* nhãn trạng thái nhận thức (màu + chữ + biểu tượng) */
.nute-es { display: inline-flex; align-items: center; gap: .25rem; border-radius: 999px; padding: 0 .5rem; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.nute-es-ok { background: #E7F4EC; color: var(--status-good); }
.nute-es-grey { background: #EEF0F4; color: var(--status-neutral); }
.nute-es-ai { background: #F1ECFC; color: #4C2A9E; }
.nute-es-code { font-weight: 400; opacity: .85; }
.nute-stat-meta .nute-es, .nute-list .nute-es { display: inline; white-space: normal; max-width: 100%; border-radius: .375rem; padding: .0625rem .375rem;
                                                 line-height: 1.7; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nute-stat-meta .nute-es { align-self: flex-start; }
.nute-chip { display: inline-block; align-self: flex-start; background: #FFF4D6; color: var(--nute-gold-text); border-radius: 999px; padding: .0625rem .625rem;
             font-size: .8125rem; font-weight: 700; }
.nute-chip-grey { background: #EEF0F4; color: var(--status-neutral); }

/* danh sách gọn */
.nute-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.nute-list li { min-width: 0; overflow-wrap: anywhere; }
.nute-list a { color: var(--nute-ink); font-weight: 600; text-decoration: none; }
.nute-list a:hover { color: var(--nute-primary); text-decoration: underline; }
.nute-list-meta { color: var(--nute-ink-muted); font-size: .9375rem; font-weight: 400; }
.nute-list a.nute-list-meta, a.nute-list-meta { color: var(--aci-primary); font-weight: 600; }
.nute-list-rows li { padding: .5rem 0; border-bottom: 1px solid var(--nute-line); }
.nute-list-cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }

/* khối Hiệu trưởng */
.nute-rector { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); background: var(--nute-surface-alt); border: 1px solid var(--nute-line);
               border-left: 4px solid var(--nute-primary); border-radius: .75rem; padding: 1.25rem; }
@media (min-width: 900px) { .nute-rector { grid-template-columns: 17rem minmax(0, 1fr); } }
.nute-rector.nute-rector-head { background: transparent; border: 0; padding: 0; margin-top: 1rem; grid-template-columns: minmax(0, 1fr); }
.nute-rector-id { display: flex; gap: 1rem; align-items: center; }
@media (min-width: 900px) { .nute-section .nute-rector-id { flex-direction: column; align-items: flex-start; } }
.nute-rector-photo { width: 8rem; height: 8rem; object-fit: cover; border-radius: .75rem; border: 3px solid #fff; box-shadow: 0 4px 14px -6px rgba(0,0,0,.35); flex-shrink: 0; }
.nute-rector-name { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--nute-ink); }
.nute-rector-title { margin: .125rem 0 0; color: var(--nute-primary); font-weight: 600; }
.nute-rector-src { margin: .25rem 0 0; font-size: .8125rem; color: var(--nute-ink-muted); }
.nute-rector-quote { margin: .5rem 0 0; border-left: 3px solid var(--nute-gold); padding-left: .75rem; font-size: 1.0625rem; }
.nute-rector-links { margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.nute-rector-message { background: #fff; border: 1px solid var(--nute-line); border-radius: .75rem; padding: 1.25rem; margin-top: .75rem; max-width: 52rem; }
.nute-rector-text { margin-top: .75rem; font-size: 1.0625rem; line-height: 1.75; }
.nute-rector-text p { margin: 0 0 .75rem; }

/* thành tựu nổi bật: thẻ câu chuyện */
.nute-story .nute-card-body { padding-top: 1.125rem; }

/* «Kiểm chứng được» – xanh ACI, nền xanh nhạt toàn bề rộng */
.nute-verify-band { margin-top: 2.5rem; background: #F3F6FD; border-top: 1px solid #DAE6FF; border-bottom: 1px solid #DAE6FF; padding: 2rem 0 2.25rem; }
.nute-h2-aci { color: var(--aci-primary-dark); }
.nute-h2-aci::before { background: var(--aci-primary); }
.nute-verify-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.nute-verify-card { background: #fff; border: 1px solid #DAE6FF; border-top: 4px solid var(--aci-primary); border-radius: .75rem; padding: 1.125rem 1.25rem;
                    display: flex; flex-direction: column; gap: .5rem; }
.nute-verify-card p { margin: 0; color: var(--nute-ink-muted); }
.nute-verify-card a { color: var(--aci-primary); }
.nute-verify-form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.nute-verify-form input { flex: 1 1 12rem; min-width: 0; height: 2.75rem; border: 1px solid #CBD5E1; border-radius: .5rem; padding: 0 .75rem; font-size: 1rem;
                          background: #fff; color: var(--nute-ink); }
.nute-verify-form input:focus { border-color: var(--aci-primary); outline: none; }
.nute-more-aci { font-weight: 600; color: var(--aci-primary); text-decoration: none; }
.nute-more-aci:hover { text-decoration: underline; color: var(--aci-primary-dark); }

/* «Cách NUTE dùng AI» – bốn nguyên tắc, bộ lọc, bảng + chi tiết (mockup 09) */
.nute-principles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: 1.25rem; }
.nute-principle { display: flex; flex-direction: column; gap: .25rem; background: #fff; border: 1px solid var(--nute-line); border-left: 4px solid var(--aci-primary);
                  border-radius: .75rem; padding: 1rem 1.125rem; color: var(--nute-ink); text-decoration: none; }
.nute-principle span { color: var(--nute-ink-muted); }
.nute-principle:hover { border-color: #90B4FF; }
.nute-agent-head { align-items: center; }
.nute-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.nute-filters select { height: 2.5rem; border: 1px solid #CFC6B6; border-radius: .5rem; padding: 0 .625rem; background: #fff; font-size: .9375rem; color: var(--nute-ink);
                       max-width: 100%; }
.nute-agent-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); margin-top: 1rem; align-items: start; }
@media (min-width: 1100px) { .nute-agent-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.nute-agent-table td { vertical-align: top; font-size: .9375rem; }
.nute-agent-table th { font-size: .875rem; white-space: nowrap; }
.nute-nowrap { white-space: nowrap; }
.nute-scroll { position: relative; }      /* nhãn cho trình đọc màn hình (.nute-sr, absolute) nằm trong khung cuộn – không kéo rộng trang */
.nute-agent-decider { min-width: 11rem; color: var(--nute-ink-muted); }
.nute-agent-link b { white-space: nowrap; }
.nute-agent-table tr.is-selected td { background: #EEF4FF; }
.nute-agent-link { color: var(--nute-ink); text-decoration: none; display: block; }
.nute-agent-link span { color: var(--nute-ink-muted); }
.nute-agent-link:hover b { color: var(--aci-primary); text-decoration: underline; }
.nute-agent-detail .nute-box-head { margin-bottom: .5rem; }
.nute-dl-tight { grid-template-columns: minmax(8rem, 11rem) 1fr; gap: 0; }
.nute-dl-tight dt, .nute-dl-tight dd { padding: .4rem 0; border-bottom: 1px solid var(--nute-line); }
.nute-dl-tight dd { overflow-wrap: anywhere; }
@media (max-width: 639px) { .nute-dl-tight dt { border-bottom: 0; padding-bottom: 0; } }

/* trang xác minh (mockup 10): kết luận + mười bước bên trái; phạm vi, khóa đã ký, AI bên phải */
.nute-verify-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .nute-verify-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.nute-verify-main, .nute-verify-side { min-width: 0; }
.nute-verify-side { display: grid; gap: 1rem; }
.nute-verify-result { display: flex; gap: .875rem; align-items: flex-start; border: 2px solid; border-radius: .75rem; padding: 1rem 1.25rem; }
.nute-verify-result svg { width: 2.25rem; height: 2.25rem; flex-shrink: 0; }
.nute-verify-result-ok { border-color: var(--status-good); background: #F0F8F3; color: var(--status-good); }
.nute-verify-result-unk { border-color: var(--status-warning); background: #FDF6EE; color: var(--status-warning); }
.nute-verify-result-fail { border-color: var(--status-critical); background: #FDF2F1; color: var(--status-critical); }
.nute-verify-result-title { margin: 0; font-size: 1.25rem; font-weight: 700; }
.nute-verify-result-sub { margin: .25rem 0 0; color: var(--nute-ink-muted); }
.nute-steps { list-style: none; margin: 0; padding: 0; }
.nute-step { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--nute-line); }
.nute-step:last-child { border-bottom: 0; }
.nute-step-icon { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 999px; font-weight: 700; flex-shrink: 0; font-size: .875rem; }
.nute-step-ok .nute-step-icon { background: #E7F4EC; color: var(--status-good); }
.nute-step-na .nute-step-icon { background: #EEF0F4; color: var(--status-neutral); }
.nute-step-unk .nute-step-icon { background: #FDF1E7; color: var(--status-warning); }
.nute-step-fail .nute-step-icon { background: #FDE8E7; color: var(--status-critical); }

/* ================================================================ 1.25.0 – lịch công tác tuần (NV-20261113-09): bảng «Thời gian | Sáng | Chiều, tối»
   theo cách trình bày quen thuộc của Trường; đủ bảy ngày; tô nổi hôm nay; thẻ hoạt động viền màu theo loại; điện thoại: dạng thẻ theo ngày; bản in. */
.nute-cal-head { background: linear-gradient(180deg, #F3F6FF 0%, #FFFFFF 100%); border-bottom: 1px solid var(--nute-line); padding: 1rem 0 1.25rem; text-align: center; }
.nute-cal-crumbs { display: flex; flex-wrap: wrap; gap: .375rem; font-size: .875rem; color: var(--nute-ink-muted); text-align: left; }
.nute-cal-crumbs a { color: inherit; }
.nute-cal-crumbs a:hover { color: var(--aci-primary); }
.nute-cal-h1 { margin: .875rem 0 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); font-weight: 800; line-height: 1.2; text-transform: uppercase; color: var(--aci-primary-dark); letter-spacing: .01em; }
.nute-cal-range { margin: .375rem 0 0; font-weight: 600; font-size: 1.0625rem; color: var(--nute-ink); }
.nute-cal-rel { display: inline-block; margin-left: .5rem; vertical-align: middle; font-size: .8125rem; font-weight: 700; border-radius: 999px; padding: .0625rem .625rem; background: #EEF0F4; color: var(--status-neutral); }
.nute-cal-rel-current { background: #FFF1C2; color: #7A5000; }
.nute-cal-rel-future { background: #E7EEFF; color: var(--aci-primary-dark); }
.nute-cal-toolbar { display: grid; grid-template-columns: auto minmax(0, 28rem) auto; justify-content: center; align-items: stretch; gap: .75rem; max-width: 60rem; margin: 1.125rem auto 0; }
.nute-cal-nav { display: flex; align-items: center; justify-content: center; gap: .375rem; min-width: 9.5rem; padding: .55rem 1rem; border-radius: .5rem; background: var(--aci-primary-dark); color: #fff; font-weight: 700; font-size: .875rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.nute-cal-nav:hover { background: var(--aci-primary); color: #fff; }
.nute-cal-pick { margin: 0; }
.nute-cal-pick select { width: 100%; height: 100%; min-height: 2.625rem; border: 1px solid #C5CDDD; border-radius: .5rem; padding: 0 .75rem; font-size: 1rem; background: #fff; color: var(--nute-ink); cursor: pointer; }
.nute-cal-pick select:focus { border-color: var(--aci-primary); }
.nute-cal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem 1.25rem; margin-top: .875rem; font-size: .9375rem; }
.nute-cal-actions a, .nute-cal-actions button { color: var(--aci-primary); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nute-cal-actions a:hover, .nute-cal-actions button:hover { color: var(--aci-primary-dark); }
@media (max-width: 639px) {
  .nute-cal-toolbar { grid-template-columns: 1fr 1fr; }
  .nute-cal-pick { grid-column: 1 / -1; order: -1; }
  .nute-cal-nav { min-width: 0; }
}
.nute-cal-body { max-width: 74rem; padding-top: 1.25rem; }
.nute-cal-summary { margin: 0 0 .75rem; color: var(--nute-ink-muted); }
.nute-cal-summary b { color: var(--nute-ink); }
.nute-cal-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #C5CDDD; border-radius: .75rem; overflow: hidden; }
.nute-cal-col-day { width: 8.75rem; }
.nute-cal-table thead th { background: #EAF0FB; color: var(--aci-primary-dark); font-weight: 700; padding: .7rem .75rem; border-bottom: 2px solid #C5CDDD; text-align: center; font-size: 1rem; }
.nute-cal-table thead th + th { border-left: 1px solid #C5CDDD; }
.nute-cal-day > tr > th, .nute-cal-day > tr > td { border-top: 1px solid #DCE2EE; vertical-align: top; }
.nute-cal-table tbody:first-of-type > tr:first-child > * { border-top: 0; }
.nute-cal-daycell { background: #F8FAFD; text-align: center; padding: 1rem .5rem; border-right: 1px solid #DCE2EE; font-weight: 400; }
.nute-cal-wd { display: block; font-weight: 600; color: var(--nute-ink); }
.nute-cal-dm { display: block; font-weight: 800; font-size: 1.1875rem; color: var(--aci-primary-dark); letter-spacing: .02em; }
.nute-cal-today { display: inline-block; margin-top: .375rem; padding: .0625rem .5rem; border-radius: 999px; background: var(--nute-gold); color: #3D2600; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nute-cal-slot, .nute-cal-span { padding: .625rem; }
.nute-cal-slot + .nute-cal-slot { border-left: 1px solid #DCE2EE; }
.nute-cal-span { background: #F6F8FC; }
.nute-cal-span .nute-cal-item { border-left-style: double; border-left-width: 5px; }
.nute-cal-day.is-today > tr > td { background: #FFF8E3; }
.nute-cal-day.is-today .nute-cal-daycell { background: #FFEDBA; box-shadow: inset 5px 0 0 var(--nute-gold); }
.nute-cal-day.is-past .nute-cal-dm { color: #4A5878; }
.nute-cal-none-row { display: none; }
.nute-cal-item { --cal-c: var(--aci-primary); background: #fff; border: 1px solid #E1E6F0; border-left: 4px solid var(--cal-c); border-radius: .5rem; padding: .625rem .75rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
.nute-cal-item + .nute-cal-item { margin-top: .625rem; }
.nute-cal-cat-hop_cuu_giao_chuc { --cal-c: #B7791F; }
.nute-cal-cat-hoi_nghi { --cal-c: #6B3FD4; }
.nute-cal-cat-su_kien { --cal-c: var(--nute-primary); }
.nute-cal-cat-lam_viec { --cal-c: #0E7490; }
.nute-cal-cat-cong_tac { --cal-c: #137A3A; }
.nute-cal-cat-khac { --cal-c: #545B72; }
.nute-cal-time { margin: 0; font-weight: 800; font-size: 1rem; color: var(--nute-primary); font-variant-numeric: tabular-nums; }
.nute-cal-end { font-weight: 600; color: var(--nute-ink-muted); }
.nute-cal-part { display: block; font-size: .8125rem; font-weight: 600; color: var(--nute-ink-muted); }
.nute-cal-title { margin: .125rem 0 0; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--nute-ink); overflow-wrap: anywhere; }
.nute-cal-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin: .375rem 0 0; }
.nute-cal-tag { font-size: .75rem; font-weight: 600; border-radius: 999px; padding: .0625rem .5rem; background: #EEF2FA; color: #3A4A6B; }
.nute-cal-tag-change { background: #FDF1E7; color: var(--status-warning); }
.nute-cal-dl { margin: .375rem 0 0; font-size: .9375rem; line-height: 1.5; color: #344054; }
.nute-cal-dl > div + div { margin-top: .125rem; }
.nute-cal-dl dt { display: inline; font-style: italic; color: var(--nute-ink-muted); }
.nute-cal-dl dd { display: inline; margin: 0; overflow-wrap: anywhere; }
.nute-cal-place dd { font-weight: 600; color: var(--nute-ink); }
.nute-cal-co { color: var(--nute-ink-muted); }
.nute-cal-foot { margin-top: 1rem; font-size: .875rem; color: var(--nute-ink-muted); }
.nute-cal-empty { margin-top: 1.5rem; border: 1px dashed #C5CDDD; border-radius: 1rem; padding: 2.5rem 1rem; text-align: center; font-weight: 600; }
@media screen and (max-width: 767px) {
  .nute-cal-table, .nute-cal-table tbody, .nute-cal-table tr, .nute-cal-table td, .nute-cal-table th { display: block; width: auto; }
  .nute-cal-table { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .nute-cal-table thead, .nute-cal-table colgroup { display: none; }
  .nute-cal-day { margin-bottom: .75rem; border: 1px solid #DCE2EE; border-radius: .75rem; overflow: hidden; background: #fff; }
  .nute-cal-day > tr > th, .nute-cal-day > tr > td { border-top: 0; }
  .nute-cal-daycell { display: flex !important; align-items: baseline; gap: .5rem; padding: .55rem .875rem; text-align: left; border-right: 0; border-bottom: 1px solid #DCE2EE; }
  .nute-cal-wd, .nute-cal-dm { display: inline; }
  .nute-cal-today { margin: 0 0 0 auto; }
  .nute-cal-day.is-today .nute-cal-daycell { box-shadow: inset 0 -3px 0 var(--nute-gold); }
  .nute-cal-slot + .nute-cal-slot { border-left: 0; border-top: 1px dashed #DCE2EE; }
  .nute-cal-slot.is-blank { display: none; }
  .nute-cal-slot::before, .nute-cal-span::before { content: attr(data-label); display: block; margin-bottom: .375rem; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--aci-primary-dark); }
  .nute-cal-none-row { display: block; }
  .nute-cal-none { padding: .55rem .875rem; font-size: .9375rem; font-style: italic; color: var(--nute-ink-muted); }
}
@media print {
  .nute-cal-toolbar, .nute-cal-actions, .nute-cal-crumbs, .nute-ribbon, .nute-menu { display: none !important; }
  .nute-cal-head { background: none; border: 0; padding: 0 0 .5rem; }
  .nute-cal-h1 { color: #000; font-size: 16pt; }
  .nute-cal-table { border: 1px solid #000; border-radius: 0; }
  .nute-cal-table th, .nute-cal-table td { border-color: #000 !important; background: #fff !important; box-shadow: none !important; }
  .nute-cal-day { break-inside: avoid; }
  .nute-cal-item { border: 0; box-shadow: none; padding: 0 0 .375rem; }
  .nute-cal-time, .nute-cal-dm, .nute-cal-table thead th { color: #000; }
  .nute-cal-none-row, .nute-cal-today { display: none !important; }
}

/* ================================================================ 1.25.0 – chuyên đề sự kiện (topics.py): bộ tông màu đã thiết kế (chữ trắng trên nền
   đạt tương phản AA), dải toàn bề rộng trên trang chủ, trang chuyên đề, dải thông báo, nhãn trên trang bài. */
.nute-topic--xanh-aci { --t-bg1: #13247A; --t-bg2: #1F45EB; --t-ink: #FFFFFF; --t-accent: #FFFFFF; --t-accent-ink: #182E9A; --t-soft: #EEF4FF; --t-soft-ink: #182E9A; }
.nute-topic--do-truyen-thong { --t-bg1: #6E0F14; --t-bg2: #B3171E; --t-ink: #FFFFFF; --t-accent: #FDE68A; --t-accent-ink: #5B1A00; --t-soft: #FDECEC; --t-soft-ink: #8E1218; }
.nute-topic--vang-kim { --t-bg1: #4A2B00; --t-bg2: #8A5A00; --t-ink: #FFFFFF; --t-accent: #FCD34D; --t-accent-ink: #3D2600; --t-soft: #FFF6DB; --t-soft-ink: #7A5000; }
.nute-topic--xanh-la { --t-bg1: #0B3D24; --t-bg2: #137A3A; --t-ink: #FFFFFF; --t-accent: #D9F99D; --t-accent-ink: #0F3D1F; --t-soft: #EAF7EE; --t-soft-ink: #0F5132; }
.nute-topic--tim { --t-bg1: #2E1765; --t-bg2: #6B3FD4; --t-ink: #FFFFFF; --t-accent: #F5D0FE; --t-accent-ink: #3B0764; --t-soft: #F3EEFF; --t-soft-ink: #4C1D95; }
.nute-topic { position: relative; overflow: hidden; margin-top: 2.5rem; padding: 2.25rem 0; color: var(--t-ink);
  background: radial-gradient(60rem 22rem at 88% -12%, rgba(255, 255, 255, .16), transparent 62%),
              repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px),
              linear-gradient(120deg, var(--t-bg1), var(--t-bg2)); }
.nute-topic::after { content: ""; position: absolute; right: -6rem; bottom: -8rem; width: 22rem; height: 22rem; border-radius: 50%; border: 2.5rem solid rgba(255, 255, 255, .06); pointer-events: none; }
.nute-topic > .nute-wrap { position: relative; z-index: 1; }
.nute-topic a { color: inherit; }
.nute-topic *:focus-visible { outline-color: var(--t-accent); }
.nute-topic-hero { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .nute-topic-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.5rem; } }
.nute-topic-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding: .25rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nute-topic-dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--t-accent); box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
@media (prefers-reduced-motion: no-preference) { .nute-topic-dot { animation: nute-topic-pulse 2.2s ease-in-out infinite; } }
@keyframes nute-topic-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); } 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, .06); } }
.nute-topic-title { margin: .75rem 0 0; font-size: clamp(1.625rem, 1.1rem + 2vw, 2.625rem); font-weight: 800; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
.nute-topic-title a { text-decoration: none; }
.nute-topic-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.nute-topic-lead { margin: .75rem 0 0; max-width: 46rem; font-size: 1.0625rem; line-height: 1.65; opacity: .95; }
.nute-topic-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.nute-topic-meta > span { display: inline-flex; align-items: center; gap: .375rem; padding: .3rem .7rem; border-radius: .5rem; background: rgba(0, 0, 0, .2); font-size: .9375rem; font-weight: 600; }
.nute-topic-meta > .nute-topic-count { background: var(--t-accent); color: var(--t-accent-ink); font-weight: 800; }
.nute-topic-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; }
.nute-topic-btn { display: inline-flex; align-items: center; gap: .375rem; padding: .7rem 1.15rem; border-radius: .625rem; background: var(--t-accent); color: var(--t-accent-ink) !important; font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); }
.nute-topic-btn:hover { filter: brightness(1.05); text-decoration: underline; }
.nute-topic-btn-ghost { display: inline-flex; align-items: center; padding: .65rem 1.05rem; border-radius: .625rem; border: 1.5px solid rgba(255, 255, 255, .65); font-weight: 700; text-decoration: none; }
.nute-topic-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.nute-topic-media { position: relative; margin: 0; overflow: hidden; border-radius: 1rem; border: 4px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .15); aspect-ratio: 1200 / 630; box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .7); }
.nute-topic-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nute-topic-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .375rem .75rem; font-size: .8125rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.nute-topic-emblem { justify-self: center; display: grid; place-content: center; width: min(100%, 17rem); aspect-ratio: 1; border-radius: 50%; text-align: center;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .26), rgba(255, 255, 255, .05) 70%); border: 2px solid rgba(255, 255, 255, .38); box-shadow: inset 0 0 0 .75rem rgba(255, 255, 255, .06); }
.nute-topic-emblem-day { font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.nute-topic-emblem-star { color: var(--t-accent); }
.nute-topic-emblem-month { margin-top: .25rem; font-size: 1.125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nute-topic-emblem-year { font-size: .9375rem; opacity: .85; letter-spacing: .2em; }
@media (max-width: 639px) { .nute-topic-emblem { width: 9.5rem; } .nute-topic-emblem-day { font-size: 3rem; } .nute-topic-emblem-month { font-size: .875rem; } }
.nute-topic-stories { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); margin-top: 1.75rem; }
@media (min-width: 900px) { .nute-topic-stories.has-rest { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.nute-topic-story { overflow: hidden; border-radius: .875rem; background: #fff; color: var(--nute-ink); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .55); }
.nute-topic .nute-topic-story a { color: var(--nute-ink); }
.nute-topic-story-link { display: flex; gap: .875rem; height: 100%; padding: .75rem; text-decoration: none; color: var(--nute-ink); }
.nute-topic-story-img { position: relative; display: block; flex: 0 0 7.5rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .5rem; background: var(--t-soft, #EEF2FA); }
.nute-topic-story-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.nute-topic-story-link:hover .nute-topic-story-img img { transform: scale(1.03); }
.nute-topic-story.is-lead.no-img { border-top: 6px solid var(--t-accent, var(--aci-primary)); }
.nute-topic-story.is-lead.no-img .nute-topic-story-body { padding: 1.5rem 1.5rem 1.75rem; }
.nute-topic-story.is-lead.no-img .nute-topic-story-title { font-size: 1.5rem; }
.nute-topic-story.is-lead.no-img .nute-topic-story-link::after { content: "Đọc bài →"; display: block; padding: 0 1.5rem 1.5rem; font-weight: 700; color: var(--t-soft-ink, var(--aci-primary)); }
.nute-topic-story-body { display: block; min-width: 0; }
.nute-topic-story-cat { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--t-soft-ink, var(--aci-primary-dark)); }
.nute-topic-story-title { display: block; margin-top: .25rem; font-size: 1rem; font-weight: 700; line-height: 1.38; }
.nute-topic-story-sum { display: block; margin-top: .5rem; color: var(--nute-ink-muted); line-height: 1.6; }
.nute-topic-story-link:hover .nute-topic-story-title { text-decoration: underline; }
.nute-topic-story.is-lead .nute-topic-story-link { flex-direction: column; gap: 0; padding: 0; }
.nute-topic-story.is-lead .nute-topic-story-img { flex: none; aspect-ratio: 1200 / 630; border-radius: 0; }
.nute-topic-story.is-lead .nute-topic-story-body { padding: 1rem 1.125rem 1.25rem; }
.nute-topic-story.is-lead .nute-topic-story-title { font-size: 1.25rem; line-height: 1.3; }
.nute-topic-rest { display: grid; gap: .75rem; align-content: start; }
.nute-topic-soon { margin: 1.5rem 0 0; padding: .875rem 1rem; border-radius: .75rem; background: rgba(255, 255, 255, .12); border: 1px dashed rgba(255, 255, 255, .5); }
.nute-topic-page { margin-top: 0; padding-top: 1.25rem; }
.nute-topic-crumbs { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: 1.25rem; font-size: .875rem; opacity: .9; }
.nute-topic-phase { margin-left: .25rem; padding: .0625rem .5rem; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; background: rgba(255, 255, 255, .2); }
.nute-topic-phase-active { background: var(--t-accent); color: var(--t-accent-ink); }
.nute-topic-phase-ended { background: rgba(0, 0, 0, .3); }
.nute-topic-body { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-top: 2rem; }
@media (min-width: 1024px) { .nute-topic-body { grid-template-columns: minmax(0, 1fr) 20rem; } }
.nute-topic-main { min-width: 0; }
.nute-topic-stories-page { margin-top: 0; }
.nute-topic-stories-page .nute-topic-story { border: 1px solid var(--nute-line); box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .4); }
.nute-topic-facts { margin: .75rem 0 0; }
.nute-topic-facts > div { padding: .5rem 0; border-bottom: 1px solid var(--nute-line); }
.nute-topic-facts dt { font-size: .8125rem; color: var(--nute-ink-muted); }
.nute-topic-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.nute-topic-side-note { margin: .75rem 0 0; font-size: .9375rem; color: var(--nute-ink-muted); }
.nute-topic-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.nute-topic-pager a { font-weight: 600; color: var(--aci-primary); }
.nute-topic-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.nute-topic-card { overflow: hidden; border: 1px solid var(--nute-line); border-radius: .875rem; background: #fff; }
.nute-topic-card-link { display: block; color: var(--nute-ink); text-decoration: none; }
.nute-topic-card-band { position: relative; display: block; height: 7rem; background: linear-gradient(120deg, var(--t-bg1), var(--t-bg2)); }
.nute-topic-card-band img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.nute-topic-card-body { display: block; padding: .875rem 1rem 1rem; }
.nute-topic-card-kicker { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--t-soft-ink); }
.nute-topic-card-title { display: block; margin-top: .25rem; font-weight: 700; line-height: 1.35; }
.nute-topic-card-meta { display: block; margin-top: .375rem; font-size: .875rem; color: var(--nute-ink-muted); }
.nute-topic-card-link:hover .nute-topic-card-title { text-decoration: underline; }
.nute-topic-index { padding-bottom: 1rem; }
/* dải thông báo đầu trang */
.nute-ribbon { display: block; color: var(--t-ink); background: linear-gradient(90deg, var(--t-bg1), var(--t-bg2)); text-decoration: none; font-size: .9375rem; }
.nute-ribbon .nute-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; min-height: 2.5rem; padding-top: .35rem; padding-bottom: .35rem; }
.nute-ribbon-kicker { padding: .0625rem .5rem; border-radius: 999px; background: var(--t-accent); color: var(--t-accent-ink); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.nute-ribbon-title { font-weight: 700; }
.nute-ribbon-count { opacity: .9; }
.nute-ribbon-go { margin-left: auto; font-weight: 600; white-space: nowrap; }
.nute-ribbon:hover .nute-ribbon-title { text-decoration: underline; }
.nute-ribbon:focus-visible { outline: 3px solid var(--t-accent); outline-offset: -3px; }
/* nhãn «Chuyên đề» trên trang bài */
.nute-topic-badge { display: inline-flex; align-items: center; gap: .25rem; margin-left: .5rem; padding: .0625rem .625rem; border-radius: 999px; background: var(--t-soft); color: var(--t-soft-ink); font-size: .8125rem; font-weight: 700; text-decoration: none; vertical-align: middle; }
.nute-topic-badge:hover { text-decoration: underline; }
