/* Bố cục cổng nhân sự, ưu tiên nội dung và sáu lối vào chính. */
:root { --side-w: 244px; --bg: #f6f7f9; }
#view { max-width: 1560px; padding: 28px 32px 60px; }
.navwrap { padding-top: 28px; }
.nav { padding-top: 13px; padding-bottom: 13px; margin-bottom: 6px; }
.nav .lb { font-size: 13px; }
.portal-heading { margin-bottom: 25px; }
.portal-kicker { font-size: 10px; font-weight: 750; letter-spacing: .13em; color: #a0333b; }
.portal-heading h2 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.8px; margin: 7px 0; line-height: 1.25; }
.portal-heading p, .portal-welcome p { color: #667085; line-height: 1.75; margin: 0; }
.portal-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); background: #fff; border: 1px solid #e4e7ec; border-radius: 18px; overflow: hidden; }
.portal-video { background: #101b2d; min-height: 360px; display: grid; }
.portal-video iframe, .portal-video video { width: 100%; height: 100%; min-height: 360px; border: 0; aspect-ratio: 16/9; }
.portal-video-empty { background: radial-gradient(ellipse at 10% 100%, #69283255, transparent 65%), linear-gradient(135deg, #14233b, #0a1322); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 35px; color: white; text-align: center; }
.portal-wordmark { font-size: 17px; letter-spacing: .16em; font-weight: 850; margin-bottom: 24px; }
.portal-wordmark > span { color: #f36b6b; }
.portal-play { width: 64px; height: 64px; border: 1px solid #ffffff45; border-radius: 50%; display: grid; place-items: center; background: #ffffff0d; }
.portal-play svg { width: 25px; height: 25px; }
.portal-video-empty h3 { margin: 20px 0 5px; font-size: 23px; }
.portal-video-empty p { color: #a7b6cc; font-size: 12px; margin: 5px 0 18px; }
.portal-video-status { color: #c3cedf; border: 1px solid #ffffff24; border-radius: 20px; padding: 5px 12px; font-size: 11px; }
.portal-welcome { padding: 30px; }
.portal-welcome h3 { font-size: 24px; line-height: 1.3; margin: 9px 0 12px; }
.portal-welcome p { font-size: 12.5px; margin-bottom: 17px; }
.portal-welcome-step { display: flex; align-items: center; gap: 12px; margin: 12px 0; font-size: 12px; color: #475467; }
.portal-welcome-step b { font-size: 10px; color: #a8323d; background: #fcf0f0; padding: 5px 7px; border-radius: 6px; }
.portal-welcome .btn { margin-top: 14px; }
.portal-section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 29px 0 15px; flex-wrap: wrap; }
.portal-section-title h3 { margin: 0; font-size: 18px; }
.portal-section-title span { font-size: 12px; color: #667085; }
.portal-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.portal-tile { text-align: left; padding: 21px; border: 1px solid #e4e7ec; background: #fff; border-radius: 13px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.portal-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #1822300b; border-color: #c8ced8; }
.portal-tile-top { display: flex; align-items: center; justify-content: space-between; }
.portal-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: #f1f4f9; color: #425672; flex: none; }
.red .portal-icon, .portal-icon.red { background: #fff0ee; color: #c13943; }
.blue .portal-icon, .portal-icon.blue { background: #edf3ff; color: #3967a7; }
.green .portal-icon { background: #eaf5f0; color: #237b59; }
.purple .portal-icon { background: #f3eeff; color: #7955aa; }
.portal-number { color: #c4cad4; font-size: 12px; }
.portal-tile h3 { font-size: 15px; margin: 20px 0 8px; }
.portal-tile p { font-size: 12px; line-height: 1.7; color: #667085; margin: 0; min-height: 62px; }
.portal-tile-link { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 650; margin-top: 18px; }
.portal-bottom-note { display: flex; align-items: center; gap: 9px; color: #667085; font-size: 11.5px; padding: 22px 0; }
.portal-video-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 3px; font-size: 11px; color: #667085; }
.portal-video-caption a { color: #9f303b; }
.portal-values { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 23px; margin-top: 20px; background: #fff7ec; border: 1px solid #f1e5d2; border-radius: 13px; }
.portal-values h3 { margin: 6px 0; font-size: 21px; }
.portal-values p { margin: 0; color: #705c4b; font-size: 12px; }
.portal-doc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.portal-doc-tabs .btn { white-space: normal; text-align: left; }
.portal-toc { display: grid; margin-top: 10px; gap: 4px; }
.portal-toc button { display: flex; justify-content: space-between; gap: 8px; border: 0; background: transparent; text-align: left; font-size: 12px; line-height: 1.6; padding: 7px; cursor: pointer; border-radius: 6px; }
.portal-toc button:hover, .portal-toc button.selected { background: #fff0ee; color: #a72d39; }
.portal-doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
.portal-doc { overflow: hidden; }
.portal-doc .card-h { flex-wrap: wrap; }
.portal-doc object { width: 100%; height: 76vh; min-height: 480px; display: block; border: 0; }
.portal-doc-aside { padding: 22px; background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; align-self: start; }
.portal-doc-aside h3 { font-size: 16px; line-height: 1.5; }
.portal-doc-aside p { font-size: 12.5px; color: #667085; line-height: 1.8; }
.portal-doc-aside .btn { margin-top: 12px; white-space: normal; font-size: 12px; }
.portal-check-group.selected { border-color: #d32130; background: #fff8f8; box-shadow: 0 0 0 1px #d3213018; }
.portal-role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.portal-role-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #e1e5ec; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 600; color: #344054; cursor: pointer; }
.portal-role-tabs button svg { width: 15px; height: 15px; color: #8c4854; }
.portal-role-tabs button small { font-size: 10px; font-weight: 700; color: #a8323d; background: #fcf0f0; padding: 2px 7px; border-radius: 999px; }
.portal-role-tabs button:hover { border-color: #c8ced8; }
.portal-role-tabs button.selected { background: #d32130; border-color: #d32130; color: #fff; }
.portal-role-tabs button.selected svg { color: #fff; }
.portal-role-tabs button.selected small { background: #ffffff2e; color: #fff; }
.portal-role-head { display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin-bottom: 8px; }
.portal-role-head > div:nth-child(2) { flex: 1; min-width: 180px; }
.portal-role-head h3 { margin: 0 0 4px; font-size: 17px; }
.portal-role-head p { margin: 0; font-size: 12.5px; color: #667085; }
.portal-role-stats { display: flex; gap: 18px; font-size: 12px; color: #667085; }
.portal-role-stats b { color: #101828; font-size: 15px; margin-right: 3px; }
.portal-topic { margin-top: 22px; }
.portal-topic-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.portal-topic-ic { font-size: 22px; width: 40px; height: 40px; display: grid; place-items: center; background: #fff; border: 1px solid #e4e7ec; border-radius: 10px; flex: none; }
.portal-topic-h h3 { margin: 0; font-size: 15px; }
.portal-topic-h span { font-size: 11.5px; color: #667085; }
.portal-video-list { background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; overflow: hidden; }
.portal-video-row { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 11px 16px; border: 0; border-top: 1px solid #f0f1f4; background: transparent; text-align: left; cursor: pointer; font-size: 13px; color: #101828; }
.portal-video-row:first-child { border-top: 0; }
.portal-video-row:hover { background: #fff8f8; }
.portal-video-thumb { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #fff0ee; color: #c13943; }
.portal-video-thumb svg { width: 14px; height: 14px; }
.portal-video-dur { font-size: 11.5px; color: #667085; white-space: nowrap; }
.portal-watch > * { min-width: 0; }
.portal-watch { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.portal-video.portal-watch-video { border-radius: 14px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/9; min-height: 0; }
.portal-video.portal-watch-video iframe, .portal-video.portal-watch-video video { min-height: 0; }
.portal-watch-title { font-size: clamp(20px, 2vw, 26px); margin: 6px 0; line-height: 1.35; }
.portal-watch .portal-intro-config { margin: 16px 0; }
.portal-watch > section > .btn.pri { white-space: normal; text-align: left; }
.portal-check-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.portal-check-group { padding: 23px; text-align: left; background: white; border: 1px solid #e4e7ec; border-radius: 13px; cursor: pointer; }
.portal-check-group h3 { font-size: 16px; margin: 17px 0 8px; }
.portal-check-group p { font-size: 12.5px; line-height: 1.7; color: #667085; margin: 0; }
.portal-check-list { display: grid; gap: 12px; }
.portal-check-row { padding: 22px; display: flex; align-items: center; gap: 18px; }
.portal-check-row > div { flex: 1; }
.portal-check-row h3 { font-size: 14px; margin: 7px 0; }
.portal-check-row p { font-size: 12px; color: #667085; margin: 0; }
.portal-empty { text-align: center; padding: 45px 20px; }
.portal-empty p { color: #667085; max-width: 440px; margin: 10px auto 24px; line-height: 1.8; }
.portal-profile { display: flex; align-items: center; gap: 18px; padding: 24px; margin-bottom: 20px; }
.portal-profile > div:nth-child(2) { flex: 1; }
.portal-profile h3 { margin: 0 0 5px; }
.portal-profile p { font-size: 12px; color: #667085; margin: 0 0 8px; }
.portal-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.portal-setting { display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px; cursor: pointer; }
.portal-setting:hover { border-color: #c6ccd6; background: #fcfcfd; }
.portal-setting > div { flex: 1; }
.portal-setting h3 { font-size: 14px; margin: 0 0 5px; }
.portal-setting p { font-size: 12px; color: #667085; margin: 0; line-height: 1.6; }
.portal-intro-config { padding: 24px; margin-bottom: 20px; }
.portal-intro-config h3 { margin: 0; font-size: 15px; }
.portal-intro-config p { font-size: 12px; color: #667085; }
.portal-intro-config label { display: block; font-size: 12px; margin: 16px 0 6px; font-weight: 600; }
button:focus-visible, a:focus-visible { outline: 3px solid #93b7ef; outline-offset: 3px; }
@media (max-width: 1280px) {
  #top .crumb .sub { display: none; }
  .portal-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-hero { grid-template-columns: minmax(0, 1.25fr) minmax(250px, 1fr); }
  .portal-welcome { padding: 24px; }
  .portal-doc-layout, .portal-watch { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  :root { --side-w: 68px; }
  .brand .bt, .nav .lb, .nav .cnt, .sidefoot .mini-btn span, .who .wt { display: none; }
  .nav { justify-content: center; padding: 12px 0; }
  #view { padding: 22px 18px 45px; }
  #top { padding: 0 12px; gap: 8px; }
  .portal-hero { grid-template-columns: minmax(0, 1fr); }
  .portal-check-groups { grid-template-columns: minmax(0, 1fr); }
  .portal-check-group { padding: 18px; }
  .portal-settings-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  #view { padding: 20px 12px 40px; }
  #top .crumb h1 { font-size: 13px; }
  .ticon { width: 28px; height: 28px; }
  .who { padding: 2px; }
  .portal-heading h2 { font-size: 25px; }
  .portal-heading p { font-size: 12px; }
  .portal-tiles { grid-template-columns: minmax(0, 1fr); }
  .portal-role-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 0 12px 4px; scrollbar-width: none; }
  .portal-role-tabs button { flex: none; white-space: nowrap; }
  .portal-role-head { flex-wrap: wrap; padding: 18px; }
  .portal-role-stats { flex-basis: 100%; }
  .portal-video.portal-watch-video, .portal-video.portal-watch-video iframe, .portal-video.portal-watch-video video { min-height: 0; }
  .portal-watch-video .portal-video-empty { padding: 12px; }
  .portal-watch-video .portal-video-empty h3 { font-size: 17px; margin-top: 12px; }
  .portal-watch-video .portal-play { width: 48px; height: 48px; }
  .card-b > .row { flex-wrap: wrap; }
  .portal-video-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .portal-video-row .tag { display: none; }
  .portal-video, .portal-video iframe, .portal-video video { min-height: 240px; }
  .portal-video-empty { padding: 25px 15px; }
  .portal-welcome { padding: 22px; }
  .portal-profile, .portal-check-row { flex-wrap: wrap; padding: 18px; }
  .portal-check-row > div { min-width: 150px; }
  .portal-check-row .btn, .portal-profile .btn { width: 100%; }
  .portal-intro-config .row { flex-wrap: wrap; }
  .portal-bottom-note { align-items: flex-start; line-height: 1.7; }
  .portal-doc .card-h { padding: 12px; gap: 8px; }
  .portal-doc .card-h h3 { flex-basis: 100%; }
}
