.reception-page{min-width:0}
.eyebrow{display:block;color:#527493;font-size:10px;font-weight:800;letter-spacing:.03em}
.module-hero{height:132px;position:relative;display:flex;align-items:center;overflow:hidden;background:linear-gradient(90deg,#f8fcff 0%,#f4faff 56%,#edf7ff 100%);border:1px solid #e3edf6;border-radius:9px 9px 0 0}
.module-hero-left{position:relative;z-index:2;min-width:0;flex:1;padding:18px 18px 18px 20px;display:flex;align-items:center;gap:18px}
.module-hero-icon{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#0a7bff,#0059e5);border-radius:13px;box-shadow:0 8px 18px rgba(8,119,249,.22)}
.module-hero-icon svg{width:33px;height:33px;stroke-width:1.7}
.module-hero h1{margin:4px 0 5px;color:#072f59;font-size:34px;line-height:1.05}
.module-hero p{margin:0;color:#5f7890;font-size:12px;line-height:1.55}
.module-hero-art{position:absolute;z-index:1;top:0;right:0;bottom:0;width:min(46%,620px);background:url('/assets/hero-don-tiep.png') right center/cover no-repeat;opacity:1}
.module-hero::after{content:"";position:absolute;right:min(46%,620px);top:0;bottom:0;width:140px;background:linear-gradient(90deg,rgba(244,250,255,1) 0%,rgba(244,250,255,.95) 30%,rgba(244,250,255,0) 100%);pointer-events:none}
.content-tabs{height:42px;padding:0 12px;display:flex;align-items:flex-end;gap:6px;background:#fff;border:1px solid #e3edf6;border-top:0;border-radius:0 0 4px 4px}
.content-tab{height:41px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;color:#4d6680;background:transparent;border:0;border-bottom:2px solid transparent;font-size:13px;font-weight:700;cursor:pointer}
.content-tab svg{width:16px;height:16px;stroke-width:1.8}
.content-tab.is-active{color:#0877f9;border-bottom-color:#0877f9}
.page-section{margin-top:14px;background:#fff;border:1px solid #e2ebf4;border-radius:8px;box-shadow:0 3px 11px rgba(20,61,103,.035)}
.section-title-row,.detail-heading{min-height:48px;padding:9px 14px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5edf5}
.section-title-icon{width:32px;height:32px;display:grid;place-items:center;color:#fff;border-radius:7px;box-shadow:0 4px 10px rgba(8,119,249,.12)}
.section-title-icon.blue{background:linear-gradient(135deg,#0b76ff,#005be8)}
.section-title-icon svg{width:18px;height:18px}
.section-title-row h2,.detail-heading h2{margin:0;color:#0c355e;font-size:17px}
.detail-heading p{margin:2px 0 0;color:#8091a3;font-size:11px}
.overview-section{min-height:164px}
.document-card{min-height:116px;margin:8px 12px 12px;padding:10px 12px;display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e1eaf3;border-radius:8px}
.pdf-preview{width:82px;height:100px;flex:0 0 82px;position:relative;display:grid;place-items:center;overflow:hidden;border-radius:4px;box-shadow:0 2px 8px rgba(27,52,76,.14)}
.pdf-preview img{width:100%;height:100%;object-fit:cover}
.pdf-preview b{position:absolute;left:0;bottom:4px;padding:2px 6px;color:#fff;background:#e52222;border-radius:0 3px 3px 0;font-size:9px}
.resource-copy{min-width:0;flex:1}
.resource-copy h3{margin:0;color:#103b66;font-size:17px}
.resource-copy p{margin:6px 0 8px;color:#668098;font-size:12px;line-height:1.45}
.meta-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.meta-list span{height:26px;padding:0 8px;display:inline-flex;align-items:center;gap:5px;color:#6b7f93;background:#f7f9fc;border-radius:5px;font-size:11px}
.meta-list svg{width:13px;height:13px}
.meta-list .meta-type{font-weight:800}
.meta-type.pdf{color:#e22c2c;background:#fff3f3}
.resource-actions{display:flex;gap:8px;flex:0 0 auto}
.btn{min-height:34px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none}
.btn svg{width:13px;height:13px}
.btn-outline{color:#0877f9;background:#fff;border:1px solid #0877f9}
.btn-primary{color:#fff;background:#0877f9;border:1px solid #0877f9}
.btn:hover{filter:brightness(.98);box-shadow:0 3px 8px rgba(8,119,249,.12)}
.detail-section{margin-top:12px}
.detail-heading{border-bottom:0}
.detail-grid{padding:0 10px 10px;display:grid;grid-template-columns:300px minmax(0,1fr);gap:10px}
.function-panel{min-width:0;padding:10px;background:#fff;border:1px solid #e0e9f2;border-radius:8px}
.function-search{height:34px;padding:0 10px;display:flex;align-items:center;gap:6px;border:1px solid #dbe5ef;border-radius:6px}
.function-search svg{width:14px;height:14px;color:#8296a9}
.function-search input{min-width:0;flex:1;border:0;outline:0;color:#31536f;font-size:12px}
.function-list{margin-top:7px;display:flex;flex-direction:column}
.function-item{height:39px;padding:0 10px;display:grid;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:6px;color:#3c5872;background:#fff;border:0;border-radius:5px;text-align:left;cursor:pointer}
.function-item>span{font-size:12px}
.function-item strong{overflow:hidden;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.function-item svg{width:12px;height:12px;justify-self:end}
.function-item:hover{background:#f3f8fd}
.function-item.is-active{color:#fff;background:linear-gradient(90deg,#0877f9,#0065df);box-shadow:0 3px 8px rgba(8,119,249,.2)}
.function-empty{padding:16px 4px;color:#8ea0b0;text-align:center;font-size:12px}
.function-detail-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #e0e9f2;border-radius:8px}
.function-detail-header{min-height:56px;padding:8px 12px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e7eef6}
.function-detail-icon{width:30px;height:30px;display:grid;place-items:center;color:#fff;background:#1fbc88;border-radius:6px}
.function-detail-icon svg{width:16px;height:16px}
.function-detail-header h3{margin:0;color:#0c3b68;font-size:17px}
.function-detail-header p{margin:4px 0 0;color:#6f8498;font-size:11px;line-height:1.35}
.video-list{padding:0 8px}
.video-row{min-height:82px;padding:8px 2px;display:grid;grid-template-columns:160px minmax(0,1fr) 118px;align-items:center;gap:12px;border-bottom:1px solid #e8eef5}
.video-row:last-child{border-bottom:0}
.video-thumbnail{height:68px;position:relative;overflow:hidden;background:#d9e5f0;border:0;border-radius:5px;cursor:pointer}
.video-thumbnail img{width:100%;height:100%;object-fit:cover}
.play-button{position:absolute;left:50%;top:50%;width:32px;height:32px;display:grid;place-items:center;color:#fff;background:rgba(23,40,60,.72);border-radius:50%;transform:translate(-50%,-50%)}
.play-button svg{width:17px;height:17px}
.duration{position:absolute;right:3px;bottom:3px;padding:2px 4px;color:#fff;background:rgba(19,33,48,.82);border-radius:3px;font-size:9px;font-weight:700}
.video-copy h4{margin:0;color:#153a5e;font-size:13px}
.video-copy p{margin:4px 0;color:#71869a;font-size:11px;line-height:1.35}
.video-meta{display:flex;align-items:center;gap:9px;color:#74899c;font-size:10px;flex-wrap:wrap}
.video-meta span{display:inline-flex;align-items:center;gap:4px}
.video-meta svg{width:11px;height:11px}
.video-action{justify-self:end}
.video-action .btn{min-width:112px;white-space:nowrap;padding-left:12px;padding-right:12px}
.video-empty{padding:34px 18px;text-align:center;color:#8aa0b3;font-size:12px}
.no-result{margin-top:10px;padding:18px;color:#6f8193;background:#fff;border:1px dashed #cad7e4;border-radius:7px;text-align:center;font-size:13px}
.viewer-modal{position:fixed;z-index:2000;inset:0;padding:14px 18px;display:none;align-items:center;justify-content:center;background:rgba(2,18,38,.64);backdrop-filter:blur(2px)}
.viewer-modal.is-open{display:flex}
.viewer-dialog{width:min(1540px,calc(100vw - 36px));max-height:96vh;overflow:hidden;display:flex;flex-direction:column;background:#fff;border-radius:10px;box-shadow:0 20px 60px rgba(0,18,41,.3)}
.pdf-dialog{height:95vh}
.viewer-header{min-height:58px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e8f0}
.viewer-kicker{display:block;color:#0877f9;font-size:10px;font-weight:800}
.viewer-header h2{margin:2px 0 0;color:#12395d;font-size:17px}
.viewer-header-actions{display:flex;align-items:center;gap:7px}
.btn-small{min-height:30px}
.modal-close{width:32px;height:32px;color:#5d7184;background:#f6f8fa;border:1px solid #e1e7ed;border-radius:7px;font-size:22px;cursor:pointer}
.pdf-viewer-wrap{min-height:0;flex:1;background:#555}
.pdf-viewer-wrap iframe{width:100%;height:100%;border:0}
.video-dialog{width:min(1540px,calc(100vw - 36px))}
.video-viewer-wrap{background:#000}
.video-viewer-wrap video{width:100%;max-height:calc(95vh - 68px);display:block;object-fit:contain}
.toast{position:fixed;z-index:2600;right:18px;bottom:18px;max-width:410px;padding:10px 12px;color:#fff;background:#0f2c49;border-radius:7px;box-shadow:0 10px 25px rgba(0,20,40,.25);font-size:12px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.18s}
.toast.is-show{opacity:1;transform:none}
@media(max-width:1100px){.detail-grid{grid-template-columns:250px minmax(0,1fr)}.video-row{grid-template-columns:145px minmax(0,1fr) 112px}.module-hero-art{width:42%}.module-hero::after{right:42%}}
@media(max-width:850px){.module-hero-art{display:none}.module-hero::after{display:none}.detail-grid{grid-template-columns:1fr}.function-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.document-card{flex-wrap:wrap}.resource-actions{width:100%;justify-content:flex-end}.video-row{grid-template-columns:130px minmax(0,1fr) 108px}}
@media(max-width:600px){.module-hero{height:auto;min-height:120px}.module-hero-left{padding:14px;gap:12px}.module-hero-icon{width:48px;height:48px;flex-basis:48px}.module-hero h1{font-size:28px}.module-hero p{font-size:11px}.module-hero p br{display:none}.content-tab{font-size:12px}.function-list{grid-template-columns:1fr}.video-row{grid-template-columns:110px minmax(0,1fr)}.video-action{grid-column:2;justify-self:start}.document-card{align-items:flex-start}.pdf-preview{width:58px;height:72px;flex-basis:58px}.resource-actions{display:grid;grid-template-columns:1fr 1fr}.resource-copy h3{font-size:15px}}

.module-hero.without-art .module-hero-art,.module-hero.without-art::after{display:none}
.module-hero.without-art .module-hero-left{max-width:none}

/* Trang Tổng quan */
.module-only-content.is-hidden,.home-overview-section.is-hidden{display:none!important}
.home-overview-section{margin-top:14px}
.home-overview-section .section-title-row{align-items:flex-start}
.home-overview-section .section-title-row h2{margin:0;color:#0c355e;font-size:18px}
.home-overview-description{margin:4px 0 0;color:#6f8498;font-size:12px;line-height:1.5}
.home-module-grid{padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-module-card{min-height:86px;padding:14px;display:flex;align-items:center;gap:12px;color:#123d65;background:#fff;border:1px solid #dfe9f3;border-radius:9px;text-align:left;cursor:pointer;transition:.15s}
.home-module-card:hover:not(.is-disabled){border-color:#87bfff;box-shadow:0 5px 16px rgba(8,119,249,.10);transform:translateY(-1px)}
.home-module-card.is-disabled{cursor:default;opacity:.62;background:#fafcfe}
.home-module-card-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;color:#0877f9;background:#eef6ff;border-radius:9px}
.home-module-card-icon svg{width:20px;height:20px;stroke-width:1.8}
.home-module-card-copy{min-width:0;flex:1}.home-module-card-title{display:block;font-size:14px;font-weight:700;line-height:1.25}.home-module-card-subtitle{display:block;margin-top:5px;color:#75899d;font-size:10px;line-height:1.35}
.home-module-card-status{flex:0 0 auto;padding:3px 7px;color:#7a90a5;background:#f2f6fa;border:1px solid #dfe7ee;border-radius:12px;font-size:9px;white-space:nowrap}
@media(max-width:1100px){.home-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.home-module-grid{grid-template-columns:1fr}}

@media(max-width:700px){.viewer-modal{padding:8px}.viewer-dialog,.video-dialog{width:calc(100vw - 16px);max-height:98vh}.pdf-dialog{height:96vh}.viewer-header{padding:8px 10px}.viewer-header h2{font-size:14px;max-width:62vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}


/* Hero banner for all modules */
.module-hero{--hero-accent:#1584ff;--hero-soft:#e8f3ff;background:linear-gradient(90deg,#fbfdff 0%,#f6fbff 42%,#eef7ff 100%);border-radius:12px;box-shadow:0 10px 24px rgba(24,61,102,.08)}
.module-hero-left{max-width:58%}
.module-hero-icon{background:linear-gradient(135deg,var(--hero-accent),color-mix(in srgb, var(--hero-accent) 72%, #003a8c));box-shadow:0 10px 20px color-mix(in srgb, var(--hero-accent) 24%, transparent)}
.module-hero-art{position:absolute;z-index:1;top:0;right:0;bottom:0;width:min(46%,620px);padding:18px 20px 16px 0;display:flex;align-items:center;justify-content:flex-end;background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.92) 0 14%, rgba(255,255,255,0) 15%),
    linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.1)),
    radial-gradient(circle at 78% 65%, color-mix(in srgb, var(--hero-accent) 18%, white) 0, rgba(255,255,255,0) 42%),
    linear-gradient(135deg, #f4faff 0%, var(--hero-soft) 58%, #ffffff 100%);
    opacity:1;overflow:hidden}
.module-hero-art::before{content:attr(data-label);position:absolute;top:18px;right:18px;z-index:3;min-width:132px;max-width:72%;padding:10px 18px;border-radius:14px;background:linear-gradient(135deg,var(--hero-accent),color-mix(in srgb, var(--hero-accent) 68%, #072f59));color:#fff;font-size:14px;font-weight:800;letter-spacing:.04em;text-align:center;box-shadow:0 10px 20px color-mix(in srgb, var(--hero-accent) 24%, transparent)}
.module-hero-art::after{content:"";position:absolute;inset:18px 18px 18px auto;width:78%;border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.38));border:1px solid rgba(255,255,255,.76);box-shadow:0 18px 42px rgba(29,73,122,.09);backdrop-filter:blur(1px)}
.module-hero::after{content:"";position:absolute;right:min(46%,620px);top:0;bottom:0;width:150px;background:linear-gradient(90deg,rgba(246,251,255,1) 0%,rgba(246,251,255,.92) 32%,rgba(246,251,255,0) 100%);pointer-events:none}
.hero-art-scene{position:relative;z-index:2;width:80%;height:86%;display:flex;align-items:flex-end;justify-content:center}
.hero-art-card{position:relative;width:88%;height:74%;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(240,248,255,.85));border:1px solid rgba(211,228,243,.95);box-shadow:0 16px 30px rgba(30,76,124,.10);overflow:hidden}
.hero-art-card-top{height:22%;background:linear-gradient(90deg,color-mix(in srgb, var(--hero-accent) 16%, #fff),color-mix(in srgb, var(--hero-accent) 4%, #fff));border-bottom:1px solid rgba(206,222,236,.95)}
.hero-art-card-top::before,.hero-art-card-top::after{content:"";position:absolute;top:18px;left:18px;width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.95);box-shadow:16px 0 0 rgba(255,255,255,.8),32px 0 0 rgba(255,255,255,.7)}
.hero-art-card-grid{position:absolute;inset:34% 14% auto 14%;display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.hero-art-card-grid span{height:52px;border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.98),color-mix(in srgb, var(--hero-accent) 10%, #fff));border:1px solid rgba(217,229,240,.92);box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.hero-art-card-lines{position:absolute;left:14%;right:14%;bottom:16%;display:grid;gap:10px}
.hero-art-card-lines i{display:block;height:10px;border-radius:999px;background:linear-gradient(90deg,color-mix(in srgb, var(--hero-accent) 20%, #fff),rgba(255,255,255,.95))}
.hero-art-card-lines i:nth-child(1){width:72%}.hero-art-card-lines i:nth-child(2){width:56%}.hero-art-card-lines i:nth-child(3){width:64%}
.module-hero.without-art .module-hero-art,.module-hero.without-art::after{display:none}
.module-hero.without-art .module-hero-left{max-width:none}
.home-module-card{position:relative;overflow:hidden}
.home-module-card::after{content:"";position:absolute;inset:auto -30px -32px auto;width:98px;height:98px;border-radius:999px;background:radial-gradient(circle at 50% 50%, rgba(8,119,249,.14), rgba(8,119,249,0) 70%);pointer-events:none}
.home-module-card-icon,.module-hero-icon{stroke-linecap:round;stroke-linejoin:round}
.home-module-card[data-module-key="don-tiep"] .home-module-card-icon{background:#eaf2ff;color:#1178ff}
.home-module-card[data-module-key="kham-benh"] .home-module-card-icon{background:#eafaf2;color:#109868}
.home-module-card[data-module-key="hanh-chinh"] .home-module-card-icon{background:#fff6e8;color:#eb9a00}
.home-module-card[data-module-key="dieu-tri"] .home-module-card-icon{background:#fff0f0;color:#e44747}
.home-module-card[data-module-key="vien-phi"] .home-module-card-icon{background:#ecfeff;color:#0891b2}
.home-module-card[data-module-key="bao-hiem-y-te"] .home-module-card-icon{background:#effdf3;color:#1faa4a}
@media (max-width:1180px){.module-hero-left{max-width:54%}.module-hero-art{width:44%}}
@media (max-width:960px){.module-hero{height:auto;min-height:132px}.module-hero-left{max-width:none;padding-right:18px}.module-hero-art{position:relative;width:100%;height:180px;padding:8px 18px 18px 18px;justify-content:center}.module-hero::after{display:none}.module-hero{display:block}.hero-art-scene{width:100%;height:100%}.module-hero-art::after{inset:8px 0 0 0;width:auto}}


/* Use asset hero image when available */
.module-hero-art.is-image-hero{
    padding:0;
    width:min(46%,620px);
    background-color:transparent;
    border-top-right-radius:12px;
    border-bottom-right-radius:12px;
    overflow:hidden;
}
.module-hero-art.is-image-hero::before,
.module-hero-art.is-image-hero::after{
    display:none;
}
.module-hero-art.is-image-hero .hero-art-scene,
.module-hero-art.is-image-hero .hero-art-card,
.module-hero-art.is-image-hero .hero-art-card-top,
.module-hero-art.is-image-hero .hero-art-card-grid,
.module-hero-art.is-image-hero .hero-art-card-lines{
    display:none;
}
@media (max-width:960px){
  .module-hero-art.is-image-hero{
    width:100%;
    min-height:160px;
    border-radius:12px;
  }
}


/* =========================================================
   Tổng quan: bổ sung thumbnail hero cho từng module
   ========================================================= */
.home-module-card{
    min-height:104px;
    padding:12px 12px 12px 14px;
}
.home-module-card-preview{
    position:relative;
    z-index:1;
    flex:0 0 138px;
    width:138px;
    aspect-ratio:2048/754;
    margin-left:auto;
    overflow:hidden;
    border:1px solid #dce8f4;
    border-radius:9px;
    background:#eef6ff;
    box-shadow:0 4px 12px rgba(18,67,112,.08);
}
.home-module-card-preview img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.home-module-card:hover:not(.is-disabled) .home-module-card-preview{
    border-color:#a4cdfb;
    box-shadow:0 7px 16px rgba(8,119,249,.14);
}
.home-module-card-status{
    position:absolute;
    top:8px;
    right:8px;
    z-index:2;
    background:rgba(248,251,254,.92);
    backdrop-filter:blur(4px);
}

/* Tổng quan: gallery ảnh hero ở vùng trống bên phải */
.module-hero-art.is-overview-hero{
    position:absolute;
    z-index:1;
    top:0;
    right:0;
    bottom:0;
    width:min(46%,620px);
    padding:10px 16px 10px 30px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    overflow:hidden;
    opacity:1;
    background:linear-gradient(90deg,rgba(245,250,255,.15),#eef7ff 100%);
}
.module-hero-art.is-overview-hero::before,
.module-hero-art.is-overview-hero::after{display:none}
.overview-hero-gallery{
    position:relative;
    width:92%;
    height:100%;
}
.overview-hero-shot{
    position:absolute;
    display:block;
    overflow:hidden;
    aspect-ratio:2048/754;
    border:2px solid rgba(255,255,255,.94);
    border-radius:10px;
    background:#fff;
    box-shadow:0 10px 24px rgba(33,80,126,.15);
}
.overview-hero-shot img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.overview-hero-shot.shot-1{
    z-index:3;
    right:0;
    top:14%;
    width:70%;
}
.overview-hero-shot.shot-2{
    z-index:2;
    left:4%;
    top:9%;
    width:45%;
    opacity:.92;
}
.overview-hero-shot.shot-3{
    z-index:1;
    left:10%;
    bottom:6%;
    width:42%;
    opacity:.82;
}

@media(max-width:1250px){
    .home-module-card-preview{flex-basis:116px;width:116px}
}
@media(max-width:1100px){
    .home-module-card-preview{flex-basis:140px;width:140px}
}
@media(max-width:760px){
    .home-module-card{min-height:96px}
    .home-module-card-preview{flex-basis:112px;width:112px}
}
@media(max-width:560px){
    .home-module-card-preview{display:none}
}


/* ===== PATCH V4: wave PNG liền mạch dưới toàn bộ hero ===== */
.module-hero::before{
    content:"";
    position:absolute;
    z-index:0;
    inset:0;
    width:100%;
    background-image:url('/assets/module-wave-bg.png?v=20261013-04');
    background-position:left center;
    background-size:100% 100%;
    background-repeat:no-repeat;
    opacity:.92;
    pointer-events:none;
}
/* Bỏ lớp fade cũ ở mép ảnh hero vì lớp này tạo thành một dải trắng/ngắt sóng. */
.module-hero::after{display:none!important}
.module-hero-left{position:relative;z-index:2}
.module-hero-art{z-index:1}
/* Với ảnh hero dạng contain, phần trống bên trái của box phải trong suốt để thấy sóng chạy liên tục phía sau. */
.module-hero-art.is-image-hero,
.module-hero-art.is-overview-hero{
    background-color:transparent!important;
}
.module-hero-art.is-overview-hero{
    padding:0!important;width:min(42%,560px)!important;display:block!important;
    background-color:transparent!important;border-radius:0 12px 12px 0;overflow:hidden;
}
.module-hero-art.is-overview-hero::before,
.module-hero-art.is-overview-hero::after,
.module-hero-art.is-overview-hero .overview-hero-gallery{display:none!important}

.global-search{position:relative;overflow:visible}
.global-search-results{position:absolute;z-index:1900;left:0;top:calc(100% + 8px);width:min(650px,calc(100vw - 330px));max-height:440px;overflow:auto;padding:6px;background:#fff;border:1px solid #dbe7f2;border-radius:10px;box-shadow:0 14px 36px rgba(21,61,101,.18)}
.global-search-results[hidden]{display:none}
.global-search-result-item{width:100%;min-height:54px;padding:8px 10px;display:flex;align-items:center;gap:10px;color:#173d61;background:#fff;border:0;border-radius:7px;text-align:left;cursor:pointer}
.global-search-result-item:hover,.global-search-result-item:focus{background:#f0f7ff;outline:0}
.global-search-result-type{flex:0 0 66px;padding:4px 6px;color:#0877f9;background:#edf6ff;border-radius:999px;font-size:10px;font-weight:800;text-align:center}
.global-search-result-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.global-search-result-main strong{overflow:hidden;color:#123b61;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.global-search-result-main small{overflow:hidden;color:#73889d;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.global-search-loading,.global-search-empty{padding:18px;color:#7d90a3;text-align:center;font-size:12px}
.video-row.is-search-hit{background:#edf7ff;box-shadow:inset 3px 0 0 #0877f9;transition:.2s}
@media(max-width:850px){.module-hero::before{width:100%;opacity:.58;background-size:cover;background-position:center bottom}.global-search-results{position:fixed;left:12px;right:12px;top:62px;width:auto;max-height:55vh}}

/* ============================================================
   Danh sách tài liệu PDF: chỉ hiện picker khi có từ 2 file trở lên
   ============================================================ */
.pdf-document-picker{display:flex;flex-direction:column;gap:5px;margin:9px 0 9px;max-width:490px}
.pdf-document-picker[hidden],.pdf-modal-picker[hidden]{display:none!important}
.pdf-document-picker label,.pdf-modal-picker label{font-size:11px;font-weight:700;color:#51708e}
.pdf-document-picker select,.pdf-modal-picker select{width:100%;height:36px;border:1px solid #cbdff0;border-radius:7px;background:#fafdff;color:#16466f;padding:0 9px;font:inherit;font-size:12px;outline-offset:2px;cursor:pointer}
.pdf-document-picker select:focus,.pdf-modal-picker select:focus{border-color:#0877f9;box-shadow:0 0 0 3px rgba(8,119,249,.1)}
.pdf-modal-picker{display:flex;align-items:center;gap:8px;min-width:0;max-width:390px}
.pdf-modal-picker select{min-width:145px;max-width:300px}
@media(max-width:780px){.pdf-modal-picker{max-width:45vw}.pdf-modal-picker label{display:none}.pdf-modal-picker select{min-width:0;max-width:100%;font-size:11px}}

/* ============================================================
   Tổng quan: gợi ý module theo từng nhóm nhân viên
   ============================================================ */
.audience-guide{margin:8px 14px 15px;padding:16px;border:1px solid #dfebf6;border-radius:12px;background:linear-gradient(120deg,#fafdff,#f2f8ff)}
.audience-guide-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.audience-guide-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:#e1efff;color:#0877f9;font-size:17px;font-weight:800}
.audience-guide-heading h3{margin:0 0 4px;font-size:15px;font-weight:800;color:#073c71}
.audience-guide-heading p{margin:0;font-size:11px;line-height:1.5;color:#69829b}
.audience-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.audience-card{min-width:0;padding:12px 14px;border:1px solid #e0ebf6;border-radius:9px;background:#fff;box-shadow:0 3px 10px rgba(20,75,134,.035)}
.audience-card h4{margin:0 0 9px;color:#0a4c88;font-size:13px;font-weight:800}
.audience-card-modules{display:flex;flex-wrap:wrap;gap:6px}
.audience-module-tag{min-height:26px;padding:5px 9px;display:inline-flex;align-items:center;border-radius:6px;font-size:11px;line-height:1.35;border:1px solid #d5e6f7;background:#f4f9ff;color:#215982;text-align:left}
button.audience-module-tag{cursor:pointer;font:inherit;font-size:11px}
button.audience-module-tag:hover{background:#e5f2ff;border-color:#9acbff;color:#0067d1}
.audience-module-tag.is-unavailable{color:#71869b;background:#f6f8fb;border-color:#e5eaf1;cursor:default}
@media(max-width:920px){.audience-guide-grid{grid-template-columns:1fr}}
@media(max-width:600px){.audience-guide{margin:8px 10px 12px;padding:12px}.audience-card{padding:10px}}
.pdf-modal-picker label{white-space:nowrap;flex:0 0 auto}


/* ======================================================================
   Tổng quan thu gọn: 8 dòng gợi ý nằm GỌN TRONG banner.
   Mỗi module khác vẫn dùng các style hero ban đầu.
   ====================================================================== */
.module-hero:not(.is-overview-mode) .overview-audience-guide{display:none!important}
.module-hero.is-overview-mode{
    box-sizing:border-box;
    display:grid;
    /* Đưa toàn bộ khung 8 nhóm vào vùng bên phải, giữ nội dung Tổng quan ở trái. */
    grid-template-columns:minmax(235px,58.5%) minmax(0,1fr);
    align-items:center;
    column-gap:10px;
    min-height:310px;
    height:auto;
    padding:12px 14px;
    overflow:hidden;
    background:linear-gradient(105deg,#fbfdff 2%,#f4faff 55%,#f5fbff 100%);
}
.module-hero.is-overview-mode::before{
    inset:0;
    background-position:center bottom;
    background-size:100% 100%;
    opacity:.72;
}
/* Không hiển thị/không tải ảnh hero Tổng quan bên phải; dùng không gian đó cho gợi ý. */
.module-hero.is-overview-mode .module-hero-art{display:none!important}
.module-hero.is-overview-mode .module-hero-left{
    box-sizing:border-box;
    align-self:center;
    display:flex;
    align-items:center;
    width:100%;
    max-width:none;
    padding:12px 12px 12px 5px;
    gap:14px;
}
.module-hero.is-overview-mode .module-hero-left>div{min-width:0}
.module-hero.is-overview-mode .module-hero-left p{
    font-size:11px;
    line-height:1.5;
}
.module-hero.is-overview-mode .overview-audience-guide{
    position:relative;
    z-index:4;
    width:100%;
    min-width:0;
    margin:0;
    padding:9px 8px 10px;
    border:1px solid #d4e7f7;
    border-radius:11px;
    background:rgba(247,252,255,.88);
    box-shadow:0 5px 14px rgba(28,78,136,.055);
}
.module-hero.is-overview-mode .audience-guide-heading{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:7px;
}
.module-hero.is-overview-mode .audience-guide-icon{
    width:27px;
    height:27px;
    flex-basis:27px;
    border-radius:7px;
    background:#e9f4ff;
}
.module-hero.is-overview-mode .audience-guide-icon svg{width:16px;height:16px}
.module-hero.is-overview-mode .audience-guide-heading h2{
    margin:0;
    color:#094f90;
    font-size:13px;
    line-height:1.25;
    font-weight:800;
}
.module-hero.is-overview-mode .audience-guide-heading p{
    display:none;
}
.module-hero.is-overview-mode .audience-guide-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:3px;
}
.module-hero.is-overview-mode .audience-card{
    box-sizing:border-box;
    display:grid;
    grid-template-columns:21px 91px minmax(0,1fr);
    align-items:center;
    column-gap:4px;
    min-width:0;
    min-height:27px;
    padding:2px 5px;
    border:1px solid #edf3fa;
    border-radius:6px;
    background:rgba(255,255,255,.86);
    box-shadow:none;
}
.module-hero.is-overview-mode .audience-card-icon{
    box-sizing:border-box;
    width:21px;
    height:21px;
    display:grid;
    place-items:center;
    border-radius:5px;
    background:#eaf3ff;
    color:#1175de;
}
.module-hero.is-overview-mode .audience-card-icon svg{width:14px;height:14px}
.module-hero.is-overview-mode .audience-card-icon-1{background:#e6f8ee;color:#0b9b63}
.module-hero.is-overview-mode .audience-card-icon-2{background:#fff2e9;color:#d98208}
.module-hero.is-overview-mode .audience-card-icon-3{background:#f4ecff;color:#8545d4}
.module-hero.is-overview-mode .audience-card-icon-4{background:#fff4dc;color:#bd8005}
.module-hero.is-overview-mode .audience-card-icon-5{background:#ebfaff;color:#008bad}
.module-hero.is-overview-mode .audience-card-icon-6{background:#ffeef2;color:#e14d69}
.module-hero.is-overview-mode .audience-card-icon-7{background:#e9faf6;color:#0d9b92}
.module-hero.is-overview-mode .audience-card h4{
    margin:0;
    color:#0d487e;
    font-size:9px;
    line-height:1.25;
    font-weight:800;
    white-space:nowrap;
}
.module-hero.is-overview-mode .audience-card-modules{
    display:block;
    margin:0;
    min-width:0;
    color:#3c5f83;
    font-size:8.6px;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:normal;
}
@media(max-width:1380px){
    .module-hero.is-overview-mode{grid-template-columns:minmax(215px,55%) minmax(0,1fr);gap:6px}
    .module-hero.is-overview-mode .audience-card{grid-template-columns:19px 87px minmax(0,1fr);gap:4px}
    .module-hero.is-overview-mode .audience-card h4{font-size:8.6px}
    .module-hero.is-overview-mode .audience-card-modules{font-size:8.4px}
}
@media(max-width:1279px){
    .module-hero.is-overview-mode{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:12px;gap:10px}
    .module-hero.is-overview-mode .module-hero-left{width:100%;max-width:none;padding:2px 4px}
    .module-hero.is-overview-mode .overview-audience-guide{width:auto}
}
@media(max-width:540px){
    .module-hero.is-overview-mode .module-hero-left{gap:10px}
    .module-hero.is-overview-mode .module-hero-left h1{font-size:25px}
    .module-hero.is-overview-mode .overview-audience-guide{padding:9px 7px}
    .module-hero.is-overview-mode .audience-card{grid-template-columns:20px 1fr;gap:3px 6px;padding:4px 6px}
    .module-hero.is-overview-mode .audience-card h4{font-size:11px}
    .module-hero.is-overview-mode .audience-card-modules{grid-column:2;font-size:10.3px}
    .module-hero.is-overview-mode .audience-guide-heading h2{font-size:12px}
}
