/* VPD 2.5 – bám đúng khung website Newspaper, không bung toàn màn hình */
body.vpd-managed-page .entry-title,body.vpd-managed-page .td-page-title,body.vpd-managed-page .td-breadcrumbs{display:none!important}
body.vpd-managed-page .td-main-content-wrap{padding-top:14px!important}
body.vpd-managed-page .td-main-content-wrap>.td-container{width:100%!important;max-width:1068px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
body.vpd-managed-page .td-pb-row,body.vpd-managed-page .td-main-content,body.vpd-managed-page .td-pb-span8,body.vpd-managed-page .entry-content,body.vpd-managed-page .wpb_wrapper{width:100%!important;max-width:100%!important;margin:0!important}
body.vpd-managed-page .td-pb-span8{float:none!important}
body.vpd-managed-page .td-pb-span4{display:none!important}
body.vpd-managed-page .vpd-page-shell.vpd-home-shell{width:100%!important;max-width:1068px!important;margin:0 auto!important;padding:0!important}
.vpd25-app,.vpd25-app *{box-sizing:border-box}
.vpd25-app{width:100%;max-width:1068px;margin:0 auto 36px;display:grid;grid-template-columns:226px minmax(0,1fr);min-height:720px;background:#f5f7fa;border:1px solid #dde5ee;border-radius:16px;overflow:hidden;box-shadow:0 12px 36px rgba(30,55,80,.08);font-family:Arial,sans-serif;color:#253b52}
.vpd25-side{background:#fff;border-right:1px solid #e3e9f0;padding:16px 12px;display:flex;flex-direction:column;min-width:0}
.vpd25-brand{display:flex;align-items:center;gap:10px;padding:3px 6px 16px;text-decoration:none!important;border-bottom:1px solid #eef2f6;margin-bottom:12px;min-width:0}
.vpd25-brand img{width:auto!important;height:auto!important;max-width:58px!important;max-height:52px!important;object-fit:contain!important;flex:0 0 auto}
.vpd25-logo-fallback{width:48px;height:48px;border-radius:12px;background:#0a63b7;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}
.vpd25-brand span{min-width:0}.vpd25-brand b{display:block;font-size:12px;line-height:1.28;color:#173a5f;letter-spacing:.02em}.vpd25-brand small{display:block;font-size:9.5px;line-height:1.35;color:#75869a;margin-top:3px}
.vpd25-nav{display:grid;gap:3px;flex:1;align-content:start}.vpd25-nav a{display:flex;align-items:center;gap:9px;min-height:39px;padding:8px 9px;border-radius:9px;color:#51657b!important;text-decoration:none!important;font-size:12px;font-weight:700}.vpd25-nav a i{width:21px;text-align:center;font-style:normal;font-size:15px}.vpd25-nav a:hover,.vpd25-nav a.active{background:#eaf3fc;color:#075da9!important}.vpd25-nav em{margin-left:auto;background:#d92d4a;color:#fff;border-radius:99px;min-width:18px;height:18px;display:grid;place-items:center;font-size:9px;font-style:normal}
.vpd25-user{padding:13px 5px 0;border-top:1px solid #edf1f5;display:grid;grid-template-columns:42px 1fr;gap:7px;align-items:center}.vpd25-user>img{border-radius:50%}.vpd25-user div b,.vpd25-user div small{display:block}.vpd25-user div b{font-size:11px}.vpd25-user div small{font-size:9px;color:#7c8a9a}.vpd25-user>a{font-size:10px;color:#0b67c7!important;text-decoration:none!important}.vpd25-user>a:nth-of-type(1){grid-column:1/2}.vpd25-user>a:nth-of-type(2){grid-column:2/3;text-align:right}
.vpd25-main{min-width:0}.vpd25-top{height:68px;background:#fff;border-bottom:1px solid #e3e9f0;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.vpd25-top span{font-size:9px;font-weight:800;letter-spacing:.12em;color:#8795a5}.vpd25-top h1{font-size:18px!important;line-height:1.25!important;margin:2px 0 0!important;color:#183a5d!important}.vpd25-top-right{display:flex;align-items:center;gap:8px}.vpd25-role{border:1px solid #dce6f0;background:#f7fafc;border-radius:99px;padding:6px 10px;letter-spacing:0!important;font-size:10px!important;color:#50657a!important}.vpd25-bell{width:34px;height:34px;border:1px solid #dce5ee;border-radius:9px;display:grid;place-items:center;text-decoration:none!important;position:relative}.vpd25-bell b{position:absolute;right:-5px;top:-5px;background:#d92d4a;color:#fff;min-width:17px;height:17px;border-radius:99px;display:grid;place-items:center;font-size:8px}
.vpd25-content{padding:18px;min-width:0}.vpd25-content img,.vpd25-content iframe,.vpd25-content video,.vpd25-content table{max-width:100%}
.vpd25-welcome{padding:22px 23px;background:linear-gradient(135deg,#0b599f,#0a76ce);color:#fff;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:16px}.vpd25-welcome>div>span,.vpd25-section-title>span,.vpd25-section-head>div>span{font-size:9px;font-weight:900;letter-spacing:.13em;opacity:.8}.vpd25-welcome h2{color:#fff!important;font-size:22px!important;margin:4px 0 6px!important}.vpd25-welcome p{margin:0;font-size:12px;line-height:1.55;opacity:.92}.vpd25-primary{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:10px 14px;background:#0b67c7!important;color:#fff!important;font-weight:800;font-size:12px;text-decoration:none!important;cursor:pointer}
.vpd25-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:13px 0}.vpd25-kpis article{background:#fff;border:1px solid #e2e8ef;border-radius:11px;padding:14px}.vpd25-kpis b{display:block;font-size:22px;color:#075eac}.vpd25-kpis span{font-size:10px;color:#6c7c8e;font-weight:700}
.vpd25-process{background:#fff;border:1px solid #e2e8ef;border-radius:13px;padding:16px}.vpd25-section-title h2{font-size:16px!important;margin:3px 0 13px!important;color:#213e5d!important}.vpd25-flow{display:flex;align-items:stretch;gap:5px;overflow-x:auto;padding-bottom:3px}.vpd25-step{flex:1;min-width:82px;border:1px solid #dbe6f0;background:#f9fbfd;border-radius:9px;padding:9px 6px;text-align:center}.vpd25-step i{width:25px;height:25px;background:#0b67c7;color:#fff;border-radius:50%;display:grid;place-items:center;margin:0 auto 5px;font-style:normal;font-size:10px;font-weight:900}.vpd25-step b{display:block;font-size:9.5px;color:#294866}.vpd25-step small{display:block;font-size:8px;color:#8693a1;margin-top:3px}.vpd25-arrow{display:grid;place-items:center;color:#0b67c7;font-size:15px;font-weight:900;flex:0 0 12px}
.vpd25-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:13px}.vpd25-quick a{background:#fff;border:1px solid #e2e8ef;border-radius:11px;padding:13px;text-decoration:none!important}.vpd25-quick b{display:block;color:#254461;font-size:11px}.vpd25-quick span{display:block;color:#718296;font-size:9.5px;margin-top:5px}
.vpd25-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}.vpd25-section-head h2{font-size:19px!important;margin:3px 0 4px!important;color:#1e3d5d!important}.vpd25-section-head p{margin:0;color:#718195;font-size:11px;line-height:1.55}.vpd25-head-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.vpd25-small{border:1px solid #cfdce8;background:#fff;color:#35536f!important;border-radius:7px;padding:6px 9px;text-decoration:none!important;font-size:10px;font-weight:700;cursor:pointer}.vpd25-small.primary{background:#0b67c7;color:#fff!important;border-color:#0b67c7}
.vpd25-table-wrap{background:#fff;border:1px solid #e1e8ef;border-radius:11px;overflow:auto}.vpd25-table{width:100%;border-collapse:collapse;font-size:10.5px}.vpd25-table th{background:#edf4fb;color:#3b5874;text-align:left;padding:9px 8px;font-size:9px;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.vpd25-table td{padding:10px 8px;border-top:1px solid #edf1f5;vertical-align:top}.vpd25-table td small{display:block;color:#8793a0;margin-top:2px}.vpd25-file-link{display:block;color:#0b67c7!important;font-size:9.5px;margin-bottom:3px}.vpd25-state{display:inline-flex;padding:4px 7px;border-radius:99px;background:#edf2f7;font-size:9px;font-weight:800}.vpd25-state.approved{background:#e9f8ef;color:#14743e}.vpd25-state.pending{background:#fff5dc;color:#8a5a00}.vpd25-inline-form{margin:0}
.vpd25-account-card{background:#fff;border:1px solid #e1e8ef;border-radius:13px;padding:18px}.vpd25-account-profile{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf1f4;padding-bottom:15px;margin-bottom:15px}.vpd25-account-profile img{border-radius:50%}.vpd25-account-profile b,.vpd25-account-profile span,.vpd25-account-profile small{display:block}.vpd25-account-profile b{font-size:15px}.vpd25-account-profile span{font-size:10px;color:#0b67c7;font-weight:800;margin:3px 0}.vpd25-account-profile small{font-size:9.5px;color:#7a8999}.vpd25-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vpd25-form-grid label{display:grid;gap:5px;font-size:10px;color:#506479}.vpd25-form-grid input{width:100%;height:39px;border:1px solid #ccd8e4;border-radius:8px;padding:0 10px;font-size:12px}.vpd25-password-box{margin:16px 0;padding:14px;background:#f8fafc;border:1px solid #e5ebf1;border-radius:10px}.vpd25-password-box h3{font-size:13px!important;margin:0 0 3px!important}.vpd25-password-box p{font-size:10px;color:#758497;margin:0 0 10px}.vpd25-alert{padding:10px 12px;border-radius:8px;margin-bottom:12px;font-size:11px}.vpd25-alert.success{background:#eaf8ef;color:#176b3e;border:1px solid #bfe7cf}.vpd25-alert.error{background:#fff0f1;color:#a32839;border:1px solid #f1c6cb}
.vpd25-card-list{display:grid;gap:9px}.vpd25-doc-card{background:#fff;border:1px solid #e2e8ef;border-radius:11px;padding:13px;display:flex;justify-content:space-between;gap:12px}.vpd25-doc-card span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#7c8b9b}.vpd25-doc-card h3{font-size:12px!important;margin:3px 0!important}.vpd25-doc-card p{font-size:9.5px;color:#778799;margin:0}.vpd25-file-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.vpd25-file-row a{font-size:9.5px;border:1px solid #d5e1ec;border-radius:6px;padding:5px 7px;text-decoration:none!important}
/* Khóa các quy tắc breakout của bản trước */
body.vpd-managed-page .vpd24-app{max-width:1068px!important}
@media(max-width:1100px){body.vpd-managed-page .td-main-content-wrap>.td-container{padding-left:12px!important;padding-right:12px!important}.vpd25-app{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:820px){body.vpd-managed-page .td-main-content-wrap>.td-container{padding:0!important}.vpd25-app{display:block;width:100%;max-width:100%;margin:0;border-left:0;border-right:0;border-radius:0;box-shadow:none}.vpd25-side{padding:8px;border-right:0;border-bottom:1px solid #e2e8ef}.vpd25-brand{padding:2px 4px 8px;margin-bottom:4px}.vpd25-brand img{max-width:48px!important;max-height:44px!important}.vpd25-nav{display:flex;gap:5px;overflow-x:auto;padding:3px 0;scrollbar-width:none}.vpd25-nav::-webkit-scrollbar{display:none}.vpd25-nav a{flex:0 0 auto;min-width:max-content;min-height:35px;padding:7px 9px;font-size:10px}.vpd25-user{display:none}.vpd25-top{height:57px;padding:0 11px}.vpd25-top h1{font-size:15px!important}.vpd25-role{display:none}.vpd25-content{padding:10px}.vpd25-kpis{grid-template-columns:repeat(2,1fr)}.vpd25-quick{grid-template-columns:repeat(2,1fr)}.vpd25-step{flex:0 0 112px;min-width:112px}.vpd25-arrow{flex-basis:16px}.vpd25-form-grid{grid-template-columns:1fr}.vpd25-section-head{flex-direction:column}.vpd25-head-actions{justify-content:flex-start}.vpd25-table-wrap{overflow:visible;border:0;background:transparent}.vpd25-table thead{display:none}.vpd25-table,.vpd25-table tbody,.vpd25-table tr,.vpd25-table td{display:block;width:100%}.vpd25-table tr{background:#fff;border:1px solid #e1e8ef;border-radius:10px;margin-bottom:8px;padding:8px}.vpd25-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;border:0;padding:5px 3px;font-size:10px}.vpd25-table td:before{content:attr(data-label);font-weight:800;color:#748598}.vpd25-doc-card{display:block}.vpd25-file-row{justify-content:flex-start;margin-top:8px}}
@media(max-width:480px){.vpd25-brand span b{font-size:11px}.vpd25-brand span small{font-size:8.5px}.vpd25-welcome{display:block;padding:16px}.vpd25-welcome h2{font-size:19px!important}.vpd25-welcome .vpd25-primary{margin-top:11px;width:100%}.vpd25-kpis,.vpd25-quick{grid-template-columns:1fr}.vpd25-content{padding:8px}.vpd25-process{padding:12px}}
/* VPD 3.1.2 - Mobile sau đăng nhập: hiện toàn bộ chức năng, không cuộn ngang */
@media(max-width:820px){
 body.vpd-managed-page{background:#f4f7fa!important}
 body.vpd-managed-page .vpd25-app{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:#f4f7fa!important;box-shadow:none!important;overflow:visible!important}
 body.vpd-managed-page .vpd25-side.vpd308-mobile-panel{order:1!important;width:100%!important;padding:10px 10px 12px!important;border:0!important;background:linear-gradient(180deg,#fff,#fff8f1)!important;box-shadow:0 7px 22px rgba(75,48,25,.08)!important}
 body.vpd-managed-page .vpd25-brand{min-height:46px!important;padding:2px 4px 8px!important;margin:0 0 8px!important;border-bottom:1px solid #f0dfd0!important}
 body.vpd-managed-page .vpd25-brand img{max-width:40px!important;max-height:38px!important}
 body.vpd-managed-page .vpd25-brand b{font-size:10.5px!important}.vpd25-brand small{font-size:7.8px!important}
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important;overflow:visible!important;padding:0!important;margin:0!important}
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid>a{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:100%!important;min-width:0!important;min-height:66px!important;padding:7px 3px!important;margin:0!important;white-space:normal!important;text-align:center!important;border:1px solid #ecd8c6!important;border-radius:13px!important;background:linear-gradient(145deg,#fff,#fff4e9)!important;color:#274963!important;box-shadow:0 6px 13px rgba(95,55,24,.09),inset 0 1px 0 #fff!important;font-size:8.8px!important;font-weight:900!important;line-height:1.16!important}
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid>a i{display:grid!important;place-items:center!important;width:29px!important;height:29px!important;border-radius:9px!important;background:linear-gradient(145deg,#f58a31,#d95d07)!important;color:#fff!important;font-size:15px!important;box-shadow:0 6px 12px rgba(215,91,7,.22)!important}
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid>a.active{color:#fff!important;border-color:#d75f08!important;background:linear-gradient(145deg,#f38a33,#d75d07)!important;box-shadow:0 9px 18px rgba(211,88,7,.24)!important}
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid>a.active i{background:#fff!important;color:#d8610b!important;box-shadow:none!important}
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid>a em{position:absolute!important;top:4px!important;right:5px!important;margin:0!important}
 body.vpd-managed-page .vpd25-user{display:none!important}
 body.vpd-managed-page .vpd25-main{order:2!important;width:100%!important}
 body.vpd-managed-page .vpd25-top{height:auto!important;min-height:53px!important;padding:7px 9px!important;background:#fff!important;position:sticky!important;top:0!important;z-index:30!important;box-shadow:0 5px 14px rgba(44,62,80,.06)!important}
 body.vpd-managed-page .vpd25-top>div:first-child span{display:none!important}
 body.vpd-managed-page .vpd25-top h1{font-size:13.5px!important;margin:0!important}
 body.vpd-managed-page .vpd25-top-right{gap:4px!important}.vpd25-role{display:none!important}
 body.vpd-managed-page .vpd268-top-account-link{padding:4px 5px!important}.vpd268-top-account-link span small{display:none!important}
 body.vpd-managed-page .vpd268-top-account-link b{font-size:8.3px!important;max-width:70px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 body.vpd-managed-page .vpd268-top-logout{padding:7px!important;font-size:8.3px!important}.vpd25-bell{width:31px!important;height:31px!important}
 body.vpd-managed-page .vpd25-content{padding:9px!important}
 body.vpd-managed-page .vpd25-welcome{border-radius:15px!important;padding:16px!important;background:linear-gradient(145deg,#164e7b,#0872c8)!important;box-shadow:0 12px 25px rgba(8,83,145,.18)!important}
 body.vpd-managed-page .vpd25-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 body.vpd-managed-page .vpd25-kpis article{padding:11px!important;border-radius:12px!important;box-shadow:0 7px 15px rgba(48,70,90,.06)!important}
 body.vpd-managed-page .vpd25-quick{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 body.vpd-managed-page .vpd25-quick a{min-height:64px!important;padding:10px!important;border-radius:12px!important;border-color:#ead9c9!important;background:linear-gradient(145deg,#fff,#fff8f1)!important;box-shadow:0 7px 15px rgba(91,53,23,.07)!important}
}
@media(max-width:390px){
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid{gap:5px!important}
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid>a{min-height:61px!important;padding:5px 2px!important;font-size:8px!important}
 body.vpd-managed-page .vpd25-nav.vpd308-mobile-grid>a i{width:25px!important;height:25px!important;font-size:13px!important}
}

/* === VPD 3.1.2: mobile sau đăng nhập === */
.vpd310-mobile-welcome{display:none}
@media(max-width:820px){
 body.vpd-managed-page .vpd310-mobile-welcome{display:block!important;margin:0 0 9px!important;padding:14px 15px!important;border-radius:15px!important;background:linear-gradient(145deg,#155486,#0874c9)!important;color:#fff!important;box-shadow:0 11px 23px rgba(7,83,146,.20),inset 0 1px 0 rgba(255,255,255,.16)!important}
 body.vpd-managed-page .vpd310-mobile-welcome span{font-size:8px!important;font-weight:900!important;letter-spacing:.12em!important;opacity:.84!important}
 body.vpd-managed-page .vpd310-mobile-welcome h2{margin:3px 0 4px!important;color:#fff!important;font-size:17px!important;line-height:1.2!important}
 body.vpd-managed-page .vpd310-mobile-welcome p{margin:0!important;font-size:9px!important;line-height:1.45!important;opacity:.93!important}
 body.vpd-managed-page .vpd25-content .vpd25-welcome{display:none!important}
 body.vpd-managed-page .vpd25-top{position:relative!important;top:auto!important;min-height:50px!important;border-top:1px solid #e7edf2!important;box-shadow:none!important}
 body.vpd-managed-page .vpd25-top h1{font-size:15px!important;color:#173d61!important;font-weight:900!important}
}

/* VPD 3.1.2 - mở chức năng ở ngay đầu vùng nhìn */
#vpd-function-content{scroll-margin-top:6px!important}
@media(max-width:820px){body.vpd-managed-page #vpd-function-content{padding-top:8px!important}}

/* VPD 3.1.2 - Thêm hồ sơ là màn riêng ở đầu nội dung */
.vpd312-add-head{display:flex;flex-direction:column;gap:10px;margin:0 0 12px;padding:15px 16px;border:1px solid #dce7ef;border-radius:14px;background:linear-gradient(145deg,#fff,#f8fbfd);box-shadow:0 8px 19px rgba(39,70,96,.06)}
.vpd312-add-head>div span{font-size:9px;letter-spacing:.12em;color:#df650d;font-weight:900}.vpd312-add-head h1{margin:3px 0!important;font-size:22px!important;color:#173d61!important}.vpd312-add-head p{margin:0;color:#6b7e8d;font-size:11px}
.vpd312-back{align-self:flex-start;padding:7px 10px;border:1px solid #e7c7aa;border-radius:8px;background:#fff;color:#b64f08!important;text-decoration:none!important;font-size:10px;font-weight:900}
.vpd312-add-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important}
#vpd-new-hoso:not(.vpd-hidden){display:block!important;margin-top:0!important}
@media(max-width:820px){.vpd312-add-head{padding:12px!important;margin-bottom:8px!important}.vpd312-add-head h1{font-size:18px!important}#vpd-new-hoso:not(.vpd-hidden){border-radius:12px!important}}

.vpd86-app-actions{display:flex;gap:10px;flex-wrap:wrap}.vpd-push-enable-btn{border:1px solid #d4aa4b;border-radius:12px;background:linear-gradient(#fff9e7,#f0cf79);color:#6d490d;padding:10px 16px;font-weight:800;cursor:pointer;box-shadow:0 5px 12px rgba(92,58,8,.12)}.vpd86-push-status{margin-top:9px;padding:9px 11px;border-radius:10px;background:#fff8e5;color:#6e5a39;font-size:12px}

/* 8.9.188: article admin/permalink UI */
.vpd290-permalink{display:flex;gap:8px;align-items:center}.vpd290-permalink input{flex:1;min-width:0;background:#f7f8f5}.vpd290-permalink a{white-space:nowrap;text-decoration:none;font-weight:700}@media(max-width:640px){.vpd290-permalink{align-items:stretch;flex-direction:column}.vpd290-permalink a{text-align:center;padding:9px 12px;border:1px solid #d7d9d2;border-radius:8px}}
