/* V26 brand tokens for Workers+D1 application; authorization is enforced server-side. */
:root{--evn:#193887;--evn-2:#2A4A98;--sky:#80BEFF;--evn-red:#EC3236;--panel:#E6ECF5;--line:#C5CFDE}
body{background:var(--panel);color:#1B2430}
header{background:linear-gradient(110deg,var(--evn),var(--evn-2));border-bottom:3px solid var(--evn-red);padding-top:8px;padding-bottom:8px}
.brand{display:flex;gap:9px;align-items:center;font-size:15px}.brand>img{height:39px;width:39px;object-fit:contain;background:#fff;border-radius:7px}.brand>span{display:grid;gap:1px}.brand b{font-size:15px}.brand small{font-size:10px;color:#dce7ff}
button{background:var(--evn-2)}button:hover:not(:disabled){filter:brightness(1.08)}
.card{border-color:var(--line)}.tabs button.selected{background:var(--evn-2)}.tabs button{color:var(--evn)}
@media(max-width:760px){header .brand small{display:none}main{padding:0 9px}.card{padding:12px}.rec{padding:10px}}
*{box-sizing:border-box}body{margin:0;background:#f1f5fa;font:15px/1.5 system-ui,Arial,sans-serif;color:#152b43}header{background:#173a58;color:white;padding:15px max(18px,calc((100% - 1100px)/2));display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}header span{font-size:12px;opacity:.8}main{max-width:1100px;margin:20px auto;padding:0 16px}.card{background:white;padding:20px;border:1px solid #d8e1ec;border-radius:10px;margin:12px 0}.warning{border-left:4px solid #b77515;background:#fff7e7;padding:14px}label{display:grid;gap:5px}input,select,button{border:1px solid #aec3d8;border-radius:6px;padding:10px;font:inherit;min-width:0}button{background:#1765a2;color:white;cursor:pointer}button:disabled{opacity:.4;cursor:default}form{display:grid;gap:14px;max-width:450px}.filters{display:grid;grid-template-columns:2fr 2fr 1fr auto;gap:10px;align-items:end}.bar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0}.bar button{margin-left:5px}.results{display:grid;gap:8px}.rec{background:white;padding:14px;border:1px solid #d8e1ec;border-radius:8px;overflow-wrap:anywhere}.rec details{margin-top:7px}.rec pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}#message{color:#9f3029;font-weight:600}small{color:#63768a}@media(max-width:760px){.filters{grid-template-columns:1fr}.bar{flex-wrap:wrap}header{padding:12px 16px}}

.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.tabs button{flex:1;min-width:170px;background:#fff;color:#175087;font-weight:700}.tabs button.selected{background:#1765a2;color:white}.recordtop{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.status{background:#f4e8d1;color:#7d5309;padding:3px 8px;border-radius:99px;font-size:12px}.description{display:block;margin-top:8px;white-space:pre-wrap}.muted{color:#64748b;font-size:12px}.detail{white-space:pre-wrap;border-bottom:1px dashed #e1e7ee;padding:5px 0}.reportitem{padding:6px 10px;background:#f3f7fa;border-radius:5px}.checkline{display:flex;align-items:center;gap:7px}.checkline input{width:18px;height:18px}.filters{grid-template-columns:1.2fr 2fr 1.1fr 1fr 100px auto}#contextInfo{display:block;margin-top:10px}#results h3{font-size:14px}@media(max-width:760px){.filters{grid-template-columns:1fr}.tabs{display:grid;grid-template-columns:1fr;gap:5px}.tabs button{min-width:0}}
/* Optional original Nghi Son background. The original image is only local after 04_TAI_ANH_NEN_ICON_GOC.cmd.
   In offline / missing-asset cases, CSS keeps the neutral readable background. */
body{background-color:#f1f5fa;background-image:linear-gradient(rgba(241,245,250,.95),rgba(241,245,250,.95)),url('/assets/pxvh_bg_nghison_toancanh_desktop.webp');background-position:center;background-size:cover;background-repeat:no-repeat;background-attachment:fixed}
@media(max-width:760px){body{background-image:linear-gradient(rgba(241,245,250,.96),rgba(241,245,250,.96)),url('/assets/pxvh_bg_nghison_mobile_ro_net.webp');background-attachment:scroll}}

/* R10 UAT workflow controls */
.uat-label{display:inline-block;margin:8px 0 0;background:#e6edf7;border:1px solid #bacbe2;color:#20436c;padding:5px 12px;border-radius:40px;font-weight:650}.action-button{margin:12px 0 0;background:#234e7d;font-size:13px;padding:8px 10px}@media(max-width:760px){.rec{padding:8px 10px}.description{font-size:13px}.recordtop strong{font-size:13px}.uat-label{font-size:12px}}

/* R12 inline M6 editor */
.editor-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.editor-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.editor-buttons input[type=search]{min-width:250px;flex:1}.editor-section{border-top:1px solid var(--line);padding:12px 0;margin-top:10px}.editor-section h3{font-size:17px!important}.suggestion-box{background:#f4f7fb;border:1px solid #d9e2ef;padding:12px;border-radius:8px;margin:8px 0}.suggestions{max-height:350px;overflow-y:auto;display:grid;gap:5px}.suggestion-row{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid #dce4ef;padding:6px 0;cursor:pointer}.suggestion-row input{width:18px;height:18px;flex-shrink:0}.selected-lines{display:grid;gap:10px;margin-top:12px}.selected-line{padding:12px;border:1px solid #cbd6e4;border-radius:8px;display:grid;gap:8px}.selected-line textarea{min-height:68px;resize:vertical}.editor-field{display:grid;gap:3px}.editor-buttons button,.editor-section button{font-size:13px}.secondary{background:#e1e9f4;color:#1c4267}.danger{background:#9f3030}.suggestion-row span{overflow-wrap:anywhere}@media(max-width:760px){.editor-buttons input[type=search]{min-width:100%;width:100%}.editor-top{display:block}.suggestions{max-height:310px}}

/* R14 cross-module operations */
.r14-form{max-width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.r14-form textarea{min-height:85px;resize:vertical}.r14-form button[type=submit]{grid-column:1/-1;justify-self:start}.r14-json{width:100%;min-height:250px;white-space:pre-wrap}.r14-form select{width:100%}#workflowActions{margin:12px 0}#workflowActions button[hidden]{display:none}@media(max-width:760px){#workflowActions{display:grid;grid-template-columns:1fr 1fr}#workflowActions button{min-width:0;padding:8px 4px;font-size:12px}}

/* R15: multi-row V26-like entry and scoped M1/M2 report catalog. */
.r15-entry-list{display:grid;gap:12px;margin:12px 0}.r15-entry{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:9px;padding:12px;border:1px solid #c8d3e4;background:#f8fafe;border-radius:8px}.r15-entry b{grid-column:1/-1}.r15-entry textarea{min-height:55px}.r15-entry>button{justify-self:start}.r15-catalog{margin:10px 0;border:1px solid #cbd9ea;border-radius:8px;padding:10px}.r15-catalog summary{cursor:pointer;font-weight:650;color:#204a81}.r15-catalog input[type=search]{width:100%;margin-bottom:8px}
@media(max-width:760px){.r15-entry{grid-template-columns:1fr 1fr;gap:6px;padding:8px}.r15-entry textarea{min-height:45px}.r15-entry .editor-field{font-size:12px}.r15-catalog{padding:6px}}
/* V26 transition: fixed five-area M2 summary, responsive but non-disruptive. */
.m2-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0 14px}
.m2-summary-item{background:var(--surface, #fff);border:1px solid #c9d3e5;border-radius:10px;padding:10px;text-align:center;min-width:0}
.m2-summary-item strong{display:block;font-size:1.35rem;font-variant-numeric:tabular-nums}
.m2-summary-item span{display:block;font-size:.79rem;overflow-wrap:anywhere}
@media(max-width:600px){.m2-summary{gap:4px}.m2-summary-item{padding:7px 2px}.m2-summary-item strong{font-size:1.12rem}.m2-summary-item span{font-size:.67rem}}


/* V26 unified visual shell: preserve existing module functionality, never emulate authorization client-side. */
body.v26-authenticated{background:#e5ecf6}
body.v26-authenticated #legacyHeader{display:none}
body.v26-authenticated #v26Sidebar,body.v26-authenticated #v26Topbar{display:flex}
body.v26-authenticated #v26Main{margin:0 0 0 186px;max-width:none;padding:53px 16px 38px;min-height:100vh}
body.v26-authenticated #appArea{max-width:1140px;margin:0 auto}
body.v26-authenticated .warning{max-width:1140px;margin:10px auto;border-left:3px solid #bd8b35;font-size:11px;padding:8px;background:#fff9e9}
body.v26-authenticated #appArea>.bar:first-child{display:none}
body.v26-authenticated #tabs{display:none}
body.v26-authenticated #v26Sidebar{position:fixed;z-index:100;inset:0 auto 0 0;width:186px;background:linear-gradient(180deg,#102a65,#203f92);color:white;flex-direction:column}
.v26-sidebrand{padding:14px 8px;display:flex;gap:5px;align-items:center;min-height:72px;border-bottom:1px solid rgba(255,255,255,.16)}
.v26-sidebrand img{width:25px;height:25px;background:#fff;border-radius:4px;flex-shrink:0}.v26-sidebrand b{font-size:9px;display:block}.v26-sidebrand small{font-size:9px;color:#e2ecff;display:block;line-height:1.25}
.v26-nav{flex:1;overflow:auto;padding:10px 7px}.v26-nav-heading{font-size:9px;letter-spacing:.05em;color:#91bbfa;font-weight:750;margin:12px 2px 5px}.v26-navitem{border:0;background:transparent;color:#fff;text-align:left;width:100%;font-size:11px;line-height:1.3;min-height:35px;display:flex;align-items:center;gap:7px;padding:6px;border-radius:5px;margin-bottom:3px;font-weight:600}
.v26-navitem span{background:rgba(255,255,255,.12);width:18px;height:18px;border-radius:4px;display:grid;place-items:center;flex-shrink:0}.v26-navitem:hover:not(:disabled){background:rgba(255,255,255,.12)}.v26-navitem.selected{color:#183b88;background:#fff}.v26-navitem em{background:#e43c3c;color:#fff;border-radius:12px;font-style:normal;font-size:9px;padding:1px 5px;margin-left:auto}
.v26-sidefoot{border-top:1px solid #5674ad;padding:10px;display:grid;gap:3px;font-size:11px}.v26-sidefoot small{color:#a9c6f6}.v26-sidefoot button{font-size:10px;padding:4px;background:rgba(255,255,255,.1);border-color:#557cbe}
body.v26-authenticated #v26Topbar{position:fixed;z-index:90;top:0;right:0;left:186px;height:52px;border-bottom:1px solid #c7d4e9;background:white;align-items:center;gap:9px;padding:5px 12px}
.v26-topbar button{background:#f1f5ff;color:#234585;border-color:#cadaf3;padding:5px 8px;font-size:12px}.v26-pagehead{display:grid;line-height:1.2}.v26-pagehead span{font-size:10px;color:#61769e}.v26-pagehead b{font-size:15px;color:#14376f}.v26-topactions{display:flex;align-items:center;gap:6px;margin-left:auto}.v26-topactions span{font-size:11px;color:#47668c}
body.v26-authenticated .card{padding:14px}body.v26-authenticated .filters{grid-template-columns:1.2fr 2fr 1fr auto 95px auto}body.v26-authenticated .filters label{font-size:11px}body.v26-authenticated input,body.v26-authenticated select,body.v26-authenticated textarea{font-size:12px;padding:7px}body.v26-authenticated button{font-size:12px}body.v26-authenticated #workflowActions button{font-size:11px}
body.v26-authenticated .rec{padding:10px;margin-bottom:0}body.v26-authenticated .rec .description{font-size:12px;margin-top:5px}body.v26-authenticated .rec .muted{font-size:10px}
.v26-overview{display:grid;gap:9px}.v26-hero{background:linear-gradient(120deg,#204389,#2a5aab);color:#fff;border-radius:9px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:3px solid #e34a4a}.v26-hero h2{font-size:17px;margin:0 0 3px}.v26-hero small{color:#e5efff}.v26-hero button{background:#fff;color:#1c4a91;font-weight:700}
.v26-kpi{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.v26-kpi-box{background:#fff;border:1px solid #cdd8e9;border-radius:7px;padding:9px 10px;text-align:left;min-height:70px;cursor:pointer}.v26-kpi-box h3{margin:0;font-size:11px;color:#48617f;font-weight:650}.v26-kpi-box strong{display:block;color:#1d4488;font-size:24px;line-height:1.25;font-variant-numeric:tabular-nums}.v26-kpi-box small{font-size:9px}.v26-kpi-box.featured{background:#20448a;color:#fff}.v26-kpi-box.featured h3,.v26-kpi-box.featured strong,.v26-kpi-box.featured small{color:white}
.v26-dash-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:9px}.v26-dash-panel{background:#fff;border:1px solid #d2dcec;border-radius:9px;padding:12px}.v26-dash-panel h3{font-size:14px;margin:0 0 8px;color:#143466}.v26-dash-panel h3 small{font-size:10px}.v26-system-row{display:grid;grid-template-columns:110px 1fr 32px;gap:5px;align-items:center;margin:7px 0;font-size:11px}.v26-progress{height:8px;background:#e6edf6;border-radius:10px;overflow:hidden}.v26-progress>i{display:block;background:#3774d4;height:100%}.v26-five{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.v26-five>div{border-radius:6px;border:1px solid #d3dcec;padding:9px;text-align:center}.v26-five strong{display:block;font-size:20px;color:#244d95}.v26-five small{font-size:10px}.v26-shortcuts{display:flex;justify-content:flex-end;gap:5px;margin-top:10px}.v26-shortcuts button{padding:6px 10px}
.v26-empty{color:#61718a;font-size:11px}.v26-load{padding:22px;text-align:center;color:#667b9a}.v26-source-note{font-size:10px;color:#677c9e}
/* Native V26-like M1 intake presentation. It never permits a write when server caps say read-only. */
.v26-intake{background:#fff;border:1px solid #ced9e8;border-radius:10px;padding:15px}.v26-intake-top{border:1px dashed #92acd4;border-radius:8px;padding:12px;margin-bottom:12px;background:#f6f9ff}.v26-intake-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.v26-intake-block{display:grid;gap:12px}.v26-picker-title{font-size:12px;font-weight:700;color:#214580}.v26-pill-grid{display:flex;flex-wrap:wrap;gap:5px}.v26-pill{background:#fff;color:#26416e;border:1px solid #bacbe3;font-size:11px;padding:8px 12px;min-width:84px}.v26-pill.active{background:#2152a0;color:#fff;border-color:#2152a0}.v26-intake textarea{width:100%;min-height:70px}.v26-intake input{width:100%}.v26-intake-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d6deeb;padding-top:12px;margin-top:20px;gap:10px}.v26-readonly-note{padding:8px 10px;border-left:3px solid #a57522;background:#fff5e2;font-size:12px}.v26-entrytabs{display:flex;gap:5px;margin-bottom:10px}.v26-entrytabs button{background:#fff;color:#1e4b8c}.v26-entrytabs button.active{background:#214e97;color:#fff}
@media(max-width:880px){body.v26-authenticated .filters{grid-template-columns:1fr 1fr 1fr}.v26-kpi{grid-template-columns:repeat(3,1fr)}.v26-dash-grid{grid-template-columns:1fr}}
@media(max-width:700px){body.v26-authenticated #v26Main{margin-left:0;padding:56px 8px 70px}body.v26-authenticated #v26Topbar{left:0}body.v26-authenticated #v26Sidebar{transform:translateX(-100%);transition:transform .22s;width:240px}body.v26-authenticated.v26-menu-open #v26Sidebar{transform:translateX(0)}body.v26-authenticated.v26-menu-open #v26Scrim{display:block!important;position:fixed;inset:0;background:#0007;z-index:99}.v26-topactions span{display:none}.v26-hero h2{font-size:13px}.v26-kpi{grid-template-columns:repeat(2,1fr);gap:5px}.v26-dash-grid{grid-template-columns:1fr}.v26-intake-layout{grid-template-columns:1fr;gap:10px}.v26-intake-foot{display:grid}.v26-five{gap:2px}.v26-five>div{padding:5px 1px}.v26-five strong{font-size:15px}body.v26-authenticated .filters{grid-template-columns:1fr 1fr}.v26-topbar button{min-width:0}.v26-navitem{font-size:13px}}
[hidden]{display:none!important}

/* V26 account administration: readable rows, account-scope alignment, paged search. */
.v26-account-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 165px auto;gap:12px;align-items:end;margin:14px 0}.v26-account-toolbar label{display:grid;gap:5px;min-width:0}.v26-account-toolbar input,.v26-account-toolbar select{width:100%;min-width:0}.v26-account-count{font-size:12px;color:#526886;margin:0 0 9px;white-space:nowrap;font-variant-numeric:tabular-nums}
.v26-account-list{border:1px solid #cfdaea;border-radius:9px;overflow:hidden;background:#fff}.v26-account-header,.v26-account-row{display:grid;grid-template-columns:minmax(175px,2fr) minmax(135px,1.4fr) minmax(115px,1.6fr) 95px 170px;gap:12px;align-items:center;padding:11px 13px}.v26-account-header{background:#edf3fb;color:#274778;font-size:11px;border-bottom:1px solid #cbd8eb}.v26-account-row{border-bottom:1px solid #e2e9f2;font-size:12px}.v26-account-row:nth-child(odd){background:#f8fafd}.v26-account-identity{min-width:0;display:grid;gap:4px;overflow-wrap:anywhere}.v26-account-identity strong{font-size:13px;color:#173a70}.v26-account-identity small{font-size:11px;color:#667b96}.v26-account-title,.v26-account-scope{overflow-wrap:anywhere;color:#365375}.v26-account-active,.v26-account-inactive{font-size:11px;border-radius:12px;padding:4px 7px;width:max-content;max-width:100%;background:#ecf6ed;color:#28653d}.v26-account-inactive{background:#f3ecec;color:#923a3a}.v26-account-actions button{white-space:normal;line-height:1.3}.v26-account-pagination{display:flex;align-items:center;justify-content:end;gap:12px;padding:12px;background:#f8fafd;font-size:12px}.v26-account-pagination button:disabled{opacity:.5;cursor:default}.v26-account-empty{padding:20px;color:#536985}.v26-secret-once{grid-column:1/-1;border:1px solid #e3c071;padding:10px;background:#fff8e6;overflow-wrap:anywhere}.v26-secret-once code{display:block;overflow-wrap:anywhere;margin-bottom:8px}
@media(max-width:980px){.v26-account-toolbar{grid-template-columns:1fr 160px}.v26-account-count{grid-column:1/-1;margin:0}.v26-account-header,.v26-account-row{grid-template-columns:minmax(155px,1.6fr) minmax(100px,1fr) minmax(100px,1.3fr) 85px 135px;gap:6px;padding:9px 7px}}
@media(max-width:700px){.v26-account-toolbar{grid-template-columns:1fr}.v26-account-count{grid-column:auto}.v26-account-header{display:none}.v26-account-row{grid-template-columns:1fr auto;gap:7px;padding:12px}.v26-account-identity{grid-column:1/-1}.v26-account-title,.v26-account-scope{grid-column:1/-1}.v26-account-active,.v26-account-inactive{grid-column:1}.v26-account-actions{grid-column:2;grid-row:4}.v26-account-actions button{font-size:12px}.v26-account-pagination{justify-content:space-between}}

/* V26 direct actions, compact and keyboard accessible */
.v26-record-actions {display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px}
.v26-record-actions button {min-width:82px;min-height:36px;padding:7px 12px;white-space:nowrap}
@media(max-width:640px){.v26-record-actions button{flex:1 1 auto;min-width:0}.v26-record-actions{gap:5px}}

/* V26 compact professional UI – presentation only, permissions still from /api/v26. */
body.v26-authenticated{--v26-gap:6px;background:#e9eef6;color:#19304f;font-size:12px;line-height:1.38}
body.v26-authenticated #v26Main{padding:49px 10px 26px}
body.v26-authenticated #appArea,body.v26-authenticated .warning{max-width:1480px}
body.v26-authenticated .warning{font-size:10px;padding:5px 9px;margin:5px auto 7px}
body.v26-authenticated .card{margin:6px 0;border-radius:7px;padding:10px 12px;box-shadow:0 1px 2px rgba(20,50,100,.04)}
body.v26-authenticated .card h2{font-size:18px;line-height:1.2;margin:5px 0 8px;color:#153c78}
body.v26-authenticated .filters{gap:6px;align-items:end}
body.v26-authenticated .filters label{font-size:10px;gap:2px}
body.v26-authenticated input,body.v26-authenticated select,body.v26-authenticated textarea{padding:6px 7px;font-size:11px;border-color:#c6d4e7;border-radius:5px}
body.v26-authenticated button{font-size:11px;line-height:1.25;padding:6px 9px;border-radius:5px}
body.v26-authenticated button:focus-visible,body.v26-authenticated input:focus-visible,body.v26-authenticated select:focus-visible{outline:2px solid #2363bc;outline-offset:1px}
body.v26-authenticated #contextInfo{font-size:9px;margin-top:5px;color:#7b8da5}
body.v26-authenticated #v26CountBar{margin:6px 0;font-size:11px}
body.v26-authenticated .results{gap:3px}
body.v26-authenticated .rec{padding:8px 11px;position:relative;border-radius:6px;border-left:3px solid #7397cb;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:2px;align-items:start}
body.v26-authenticated .rec>.recordtop,body.v26-authenticated .rec>.description,body.v26-authenticated .rec>.muted,body.v26-authenticated .rec>details{grid-column:1}
body.v26-authenticated .rec>.recordtop{margin:0;display:flex;justify-content:flex-start;gap:10px}
body.v26-authenticated .rec>.recordtop strong,body.v26-authenticated .rec>strong{font-size:12px;color:#133d7b}
body.v26-authenticated .rec>.description{font-size:11px;margin:2px 0 0;line-height:1.35;font-weight:600}
body.v26-authenticated .rec>.muted{font-size:9px;margin:1px 0;color:#667d9f}
body.v26-authenticated .rec>details{font-size:10px;margin-top:2px}
body.v26-authenticated .rec summary{cursor:pointer;color:#29528d}
body.v26-authenticated .rec .status{margin-left:auto;font-size:10px;padding:2px 7px;white-space:nowrap}
body.v26-authenticated .rec>.v26-record-actions{grid-column:2;grid-row:1 / span 4;display:grid;grid-template-columns:repeat(2,max-content);gap:4px;margin:0;align-self:center}
body.v26-authenticated .rec>.v26-record-actions button{min-width:78px;min-height:25px;padding:4px 7px;white-space:nowrap}
body.v26-authenticated .rec>button.secondary{grid-column:1;justify-self:start;margin:1px 0;padding:3px 7px;font-size:10px}
body.v26-authenticated .m2-summary{gap:4px;margin:5px 0 8px}
body.v26-authenticated .m2-summary-item{padding:6px 3px;border-radius:6px}
body.v26-authenticated .m2-summary-item strong{font-size:18px}
body.v26-authenticated .m2-summary-item span{font-size:10px}
body.v26-authenticated .v26-overview{gap:5px}
body.v26-authenticated .v26-hero{padding:10px 12px;border-radius:6px;border-bottom-width:2px}
body.v26-authenticated .v26-hero h2{font-size:15px}
body.v26-authenticated .v26-kpi{gap:4px}
body.v26-authenticated .v26-kpi-box{padding:6px 8px;min-height:56px;border-radius:5px}
body.v26-authenticated .v26-kpi-box strong{font-size:21px}
body.v26-authenticated .v26-dash-grid{gap:5px}
body.v26-authenticated .v26-dash-panel{padding:9px;border-radius:6px}
body.v26-authenticated .v26-intake{padding:12px}
body.v26-authenticated .v26-intake-layout{gap:14px}
body.v26-authenticated .v26-intake-block{gap:7px}
body.v26-authenticated .v26-pill{min-width:80px;padding:6px 9px}
body.v26-authenticated .v26-intake-top{padding:8px;margin-bottom:8px}
body.v26-authenticated #m6Editor{padding:11px}
body.v26-authenticated #m6Editor .editor-top{align-items:center;border-bottom:1px solid #d7e1f0;padding-bottom:6px}
body.v26-authenticated #m6Editor .editor-top h2{margin:0;font-size:17px}
body.v26-authenticated #m6Editor .editor-top .muted{font-size:10px;margin:0}
body.v26-authenticated #m6Editor .editor-section{padding:8px 0 4px;margin:4px 0}
body.v26-authenticated #m6Editor .editor-section:nth-of-type(odd){border-top:2px solid #8db3e8}
body.v26-authenticated #m6Editor .editor-section:nth-of-type(even){border-top:2px solid #e3b257}
body.v26-authenticated #m6Editor .editor-section h3{font-size:14px!important;margin:2px 0 6px;color:#193e76}
body.v26-authenticated #m6Editor .suggestion-box{padding:7px;margin:5px 0}
body.v26-authenticated #m6Editor .v26-m6-suggestions>summary{font-size:11px;font-weight:700;cursor:pointer;color:#28528b;padding:4px}
body.v26-authenticated #m6Editor .selected-lines{display:grid;gap:3px;margin-top:6px}
body.v26-authenticated #m6Editor .v26-m6-item{display:block;background:#fff;border:1px solid #dce4ef;border-left:3px solid #7d9dcb;padding:5px 8px;margin:0}
body.v26-authenticated #m6Editor .v26-m6-item-title{cursor:pointer;font-size:11px;font-weight:600;overflow-wrap:anywhere;line-height:1.3}
body.v26-authenticated #m6Editor .v26-m6-item[open]{padding:9px;display:grid;gap:6px;background:#f9fbff}
body.v26-authenticated #m6Editor .v26-m6-item textarea{min-height:50px}
body.v26-authenticated .suggestions{max-height:250px}
body.v26-authenticated .suggestion-row{padding:4px 0;font-size:11px}
body.v26-authenticated .v26-navitem{min-height:32px}
@media(max-width:980px){body.v26-authenticated .rec>.v26-record-actions{grid-column:1;grid-row:auto;display:flex;justify-content:flex-start;flex-wrap:wrap}body.v26-authenticated .rec .status{margin-left:auto}}
@media(max-width:700px){body.v26-authenticated #v26Main{padding:53px 6px 32px}body.v26-authenticated .rec{grid-template-columns:1fr;padding:7px 8px;gap:2px}body.v26-authenticated .rec>.v26-record-actions{grid-column:1;display:flex;gap:3px;margin-top:4px}body.v26-authenticated .rec>.v26-record-actions button{flex:1 1 28%;min-height:27px;font-size:10px}body.v26-authenticated .filters{grid-template-columns:1fr 1fr;gap:5px}body.v26-authenticated .v26-intake-layout{grid-template-columns:1fr}body.v26-authenticated .m2-summary-item strong{font-size:15px}}

body.v26-authenticated .v26-m2-record>.v26-m2-status{grid-column:1;grid-row:1;justify-self:end;position:relative;top:0;font-size:10px}body.v26-authenticated .v26-m2-record>.description,body.v26-authenticated .v26-m2-record>.muted,body.v26-authenticated .v26-m2-record>details{grid-column:1}body.v26-authenticated .v26-m2-record>.v26-record-actions{grid-column:2;grid-row:1 / span 5}@media(max-width:980px){body.v26-authenticated .v26-m2-record>.v26-record-actions{grid-column:1;grid-row:auto}}

/* V26 PXVH premium compact design – isolated to authenticated screens. */
body.v26-authenticated{--px-navy:#17345d;--px-blue:#1f5aa5;--px-teal:#087d89;--px-amber:#d78a28;--px-border:#d7e2ef;--px-paper:#fff;--px-bg:#eef3f9;background:var(--px-bg);color:#203650;font-size:12px}
body.v26-authenticated #v26Sidebar{background:linear-gradient(175deg,#142d52,#1c457e 65%,#133661);box-shadow:2px 0 14px #16355818}
body.v26-authenticated .v26-sidebrand{background:#12294c}body.v26-authenticated .v26-navitem.selected{box-shadow:inset 3px 0 #14a4a7;background:#fff;color:#143c76}
body.v26-authenticated #v26Topbar{box-shadow:0 2px 9px #193a5a12}body.v26-authenticated #v26Main{padding-top:48px}
body.v26-authenticated #appArea,body.v26-authenticated .warning{max-width:1580px}
body.v26-authenticated .card{border:1px solid var(--px-border);border-radius:9px;padding:9px 12px;margin:5px 0;box-shadow:0 2px 8px #193a5a08}
body.v26-authenticated #filterCard{background:linear-gradient(180deg,#fff,#f9fbff)}body.v26-authenticated .card h2{font-size:16px;margin:0 0 6px}
body.v26-authenticated .filters{grid-template-columns:minmax(170px,1.1fr) minmax(230px,1.7fr) minmax(160px,1fr) auto 92px auto;gap:7px}
body.v26-authenticated .filters label{font-size:10px;font-weight:700;color:#4c6380}
body.v26-authenticated .filters input,body.v26-authenticated .filters select,body.v26-authenticated .v26-extra-filters select{min-height:31px;background:#fff}
body.v26-authenticated .v26-extra-filters{display:flex;align-items:end;gap:7px;flex-wrap:wrap;padding-top:7px;margin-top:7px;border-top:1px solid #ecf1f7}
body.v26-authenticated .v26-extra-filters>label{font-size:10px;color:#496381;display:grid;gap:2px;min-width:145px}
body.v26-authenticated .v26-data-tools{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:1;flex-wrap:wrap}
body.v26-authenticated .v26-data-tools button{min-height:31px;white-space:nowrap;padding:6px 10px;font-weight:700}
body.v26-authenticated #v26ExportXlsx{background:#087e76;border-color:#087e76;color:white}body.v26-authenticated #v26ExportXlsx:hover{background:#046962}
body.v26-authenticated #v26ExportCsv{background:#eff8f5;border:1px solid #b6dacf;color:#116953}
body.v26-authenticated #v26ImportFromList{background:#eaf1fc;border-color:#baccec;color:#1a4c91}
body.v26-authenticated #v26ResetFilters{background:#f6f8fb;border-color:#dce4ee;color:#536984}
body.v26-authenticated .rec{padding:7px 10px;min-height:66px;border-radius:7px;border-left:3px solid #5b92d4;background:#fff;box-shadow:0 1px 3px #142f4d0b}
body.v26-authenticated .rec:nth-child(even){background:#f9fbff}body.v26-authenticated .rec:hover{border-color:#8db0dc;box-shadow:0 3px 10px #1747791a}
body.v26-authenticated .rec>.description{font-size:12px;line-height:1.32}body.v26-authenticated .rec>.muted{font-size:10px;color:#60768d}
body.v26-authenticated .rec>.v26-record-actions button{min-width:80px;min-height:28px;padding:5px 7px}
body.v26-authenticated .v26-action-success{background:#0e8277;color:#fff;border-color:#0e8277}
body.v26-authenticated .status{background:#fff1dc;color:#92611d;border:1px solid #f0dcbd}
body.v26-authenticated .m2-summary-item{background:#fff;border:1px solid #dce7f3;box-shadow:0 1px 3px #123d5e0a}
body.v26-authenticated #m6Editor .editor-section{background:#fff;border-radius:8px;padding:9px;margin-bottom:7px;border:1px solid #dce6f3}
body.v26-authenticated #m6Editor .editor-section:nth-of-type(odd){border-left:4px solid #3d84cf}body.v26-authenticated #m6Editor .editor-section:nth-of-type(even){border-left:4px solid #dfa13c}
body.v26-authenticated #m6Editor .v26-m6-item{background:#f9fbfe;box-shadow:none}
body.v26-authenticated .v26-intake-layout{gap:15px}body.v26-authenticated .v26-intake{padding:12px}body.v26-authenticated .v26-pill{min-width:74px;padding:6px 9px}
body.v26-authenticated .v26-intake-top{background:#f2f7ff;border-color:#b2c9e9}
body.v26-authenticated button:focus-visible{outline:3px solid #32a1bb;outline-offset:2px}
@media(min-width:1100px){body.v26-authenticated .v26-intake .r14-form{max-width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}body.v26-authenticated .v26-intake .r14-form .v26-picker-panel{grid-column:1/-1}body.v26-authenticated .v26-intake .r14-form button[type=submit]{max-width:280px}}
@media(max-width:1050px){body.v26-authenticated .filters{grid-template-columns:repeat(3,minmax(0,1fr))}body.v26-authenticated .v26-data-tools{flex-basis:100%;justify-content:flex-start}}
@media(max-width:700px){body.v26-authenticated .filters{grid-template-columns:repeat(2,minmax(0,1fr))}body.v26-authenticated .filters label:nth-child(2){grid-column:1/-1}body.v26-authenticated .v26-extra-filters>label{flex:1;min-width:130px}body.v26-authenticated .v26-data-tools button{flex:1 1 42%}body.v26-authenticated .rec{padding:7px 8px}body.v26-authenticated #m6Editor .editor-section{padding:7px}body.v26-authenticated .v26-record-actions button{min-height:31px}}


/* PXVH V26 ultra-compact one-row ledger; alternate high-contrast backgrounds. */
body.v26-authenticated .results{gap:2px}
body.v26-authenticated .rec.v26-m1-record,body.v26-authenticated .rec.v26-m2-record{display:block;min-height:0;padding:0;margin:0;border:1px solid #b5cbe3;border-left:4px solid #2d68b3;border-radius:4px;background:#e2edfa;box-shadow:none;overflow:visible}
body.v26-authenticated .rec.v26-m1-record:nth-child(even),body.v26-authenticated .rec.v26-m2-record:nth-child(even){background:#c8dcee;border-color:#9ab8d6;border-left-color:#087b93}
body.v26-authenticated .rec.v26-m1-record:hover,body.v26-authenticated .rec.v26-m2-record:hover{background:#bbd5f2;box-shadow:inset 0 0 0 1px #88a8d1}
body.v26-authenticated .v26-row-main{min-height:35px;display:grid;grid-template-columns:120px minmax(150px,1fr) 130px 68px auto;gap:8px;align-items:center;padding:3px 7px}
body.v26-authenticated .v26-row-code{font-size:11px;font-weight:800;color:#113a77;white-space:nowrap}
body.v26-authenticated .v26-row-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:650;color:#1b3557}
body.v26-authenticated .v26-row-state{font-size:10px;padding:3px 6px;justify-self:start;white-space:nowrap;background:#fff5dc;color:#77500e}
body.v26-authenticated .v26-row-toggle{font-size:10px;min-height:25px;padding:4px 6px;white-space:nowrap}
body.v26-authenticated .v26-row-main>.v26-record-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:4px;margin:0;grid-column:auto;grid-row:auto}
body.v26-authenticated .v26-row-main>.v26-record-actions button{font-size:10px;min-width:0;min-height:25px;padding:4px 7px;white-space:nowrap}
body.v26-authenticated .v26-row-extra{display:none;padding:7px 12px 9px;border-top:1px solid #aac5e0;background:#f6faff;font-size:11px}
body.v26-authenticated .v26-row-open>.v26-row-extra{display:block}
body.v26-authenticated .v26-row-extra .recordtop,body.v26-authenticated .v26-row-extra>.description{display:none}
body.v26-authenticated .v26-row-extra>.muted{margin:0 0 6px}
body.v26-authenticated .v26-row-extra>details{padding:4px 0}
body.v26-authenticated .v26-row-extra>button{margin-top:4px}
/* Excel-like batch entry, with fixed functional columns and compact cells. */
body.v26-authenticated .v26-batch-row{display:grid!important;grid-template-columns:95px 115px minmax(220px,2.3fr) 95px 115px 95px 100px minmax(135px,1.3fr) 64px;align-items:end;gap:5px!important;padding:7px!important;margin:4px 0!important;background:#e6f0fc;border:1px solid #b0cbe9;border-left:4px solid #3573be;border-radius:6px}
body.v26-authenticated .v26-batch-row:nth-child(even){background:#cddff2;border-color:#9dbbd8;border-left-color:#0d8396}
body.v26-authenticated .v26-batch-row>b:first-child{grid-column:1/-1;font-size:11px;color:#1e4a81;margin:0}
body.v26-authenticated .v26-batch-row>label{min-width:0;font-size:10px;display:grid;gap:2px;font-weight:650;color:#2d506e;margin:0}
body.v26-authenticated .v26-batch-row input,body.v26-authenticated .v26-batch-row select,body.v26-authenticated .v26-batch-row textarea{width:100%;min-width:0;min-height:29px;height:29px;font-size:10px!important;padding:3px 5px!important;margin:0;line-height:1.3;resize:vertical}
body.v26-authenticated .v26-batch-row>button{min-height:29px;font-size:10px;padding:3px 5px}
/* Dashboard uses a single line of KPIs and controlled chart heights. */
body.v26-authenticated .v26-kpi{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
body.v26-authenticated .v26-kpi-box{min-height:46px;padding:5px 7px}
body.v26-authenticated .v26-kpi-box h3{font-size:10px}
body.v26-authenticated .v26-kpi-box strong{font-size:18px;display:inline}
body.v26-authenticated .v26-kpi-box small{font-size:9px;margin-left:6px}
body.v26-authenticated .v26-dash-panel{padding:7px 9px}
body.v26-authenticated .v26-dash-panel h3{margin:0 0 4px}
body.v26-authenticated .v26-dash-grid .v26-dash-panel{max-height:206px;overflow:auto}
body.v26-authenticated .v26-system-row{margin:3px 0;line-height:1.2}
body.v26-authenticated .v26-five>div{padding:4px}
body.v26-authenticated .v26-five strong{font-size:15px}
body.v26-authenticated .v26-hero{padding:6px 10px}
/* Login: artwork is a representative illustration, not a literal facility photograph. */
body:not(.v26-authenticated) #legacyHeader{display:none}
body:not(.v26-authenticated){background:#12365a}
body:not(.v26-authenticated) #v26Main{max-width:none;margin:0;padding:0}
body:not(.v26-authenticated) #v26Banner{display:none}
.v26-login-scene{min-height:100svh;padding:35px 24px;display:flex;justify-content:flex-end;align-items:center;background:linear-gradient(100deg,rgba(4,26,54,.23),rgba(8,35,71,.64)),url('/assets/pxvh-login-plant.webp') center / cover no-repeat}
.v26-login-shell{width:min(810px,100%);display:grid;grid-template-columns:1fr 1.06fr;border-radius:18px;box-shadow:0 20px 70px #00132d88;overflow:hidden;border:1px solid #e3f2ff99}
.v26-login-brand{background:linear-gradient(160deg,#0f376c 10%,#164e92 85%);color:white;padding:38px 30px;display:flex;flex-direction:column;justify-content:center;min-height:430px}
.v26-login-brand img{width:69px;height:69px;object-fit:contain;margin-bottom:16px;border-radius:13px;background:white;padding:5px}
.v26-login-overline{font-weight:800;font-size:12px;letter-spacing:.08em;color:#dbeaff;margin:0 0 9px}
.v26-login-brand h1{font-size:34px;color:white;line-height:1.15;margin:0 0 11px}
.v26-login-brand>p{font-size:13px;color:#e4f0ff}
.v26-login-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:22px}.v26-login-tags span{font-size:10px;padding:5px 8px;border:1px solid #afd7ff70;border-radius:14px;color:#effaff;background:#ffffff15}
.v26-login-formpanel{background:#fffffff5;display:flex;flex-direction:column;justify-content:center;padding:32px 38px;color:#163859}
.v26-login-formpanel .v26-login-ico{background:#deedfb;color:#176bb4;border-radius:10px;font-size:26px;width:43px;height:43px;display:grid;place-items:center;margin-bottom:12px}
.v26-login-formpanel h2{margin:0;font-size:24px;color:#123967}
.v26-login-note{font-size:12px;color:#647b95;margin:5px 0 19px}
.v26-login-formpanel form{display:grid;gap:14px;max-width:none;width:100%}
.v26-login-formpanel label{font-size:12px;font-weight:700;gap:5px}
.v26-login-formpanel input{width:100%;min-height:45px;border:1px solid #aec8e3;border-radius:8px;background:#fff;padding:10px;font-size:14px}
.v26-login-formpanel form button{font-size:14px;font-weight:750;min-height:46px;background:linear-gradient(95deg,#066ebd,#1c438e);border:none;border-radius:8px;display:flex;justify-content:center;gap:14px;align-items:center}
.v26-login-formpanel>small{margin-top:16px;font-size:11px;color:#6a839e;text-align:center}
@media(max-width:1350px){body.v26-authenticated .v26-batch-row{grid-template-columns:repeat(4,minmax(0,1fr))}body.v26-authenticated .v26-batch-row>label:nth-of-type(3),body.v26-authenticated .v26-batch-row>label:nth-of-type(8){grid-column:span 2}}
@media(max-width:1100px){body.v26-authenticated .v26-row-main{grid-template-columns:105px minmax(100px,1fr) 110px 64px}body.v26-authenticated .v26-row-main>.v26-record-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:730px){body.v26-authenticated .v26-row-main{display:grid;grid-template-columns:102px minmax(0,1fr) auto;gap:5px}body.v26-authenticated .v26-row-state{grid-column:1;grid-row:2}body.v26-authenticated .v26-row-toggle{grid-column:3;grid-row:1}body.v26-authenticated .v26-row-main>.v26-record-actions{grid-column:2/-1;grid-row:2;flex-wrap:wrap;justify-content:flex-end}body.v26-authenticated .v26-row-main>.v26-record-actions button{min-height:28px;font-size:10px}body.v26-authenticated .v26-batch-row{grid-template-columns:repeat(2,minmax(0,1fr))}body.v26-authenticated .v26-batch-row>label:nth-of-type(3),body.v26-authenticated .v26-batch-row>label:nth-of-type(8){grid-column:1/-1}body.v26-authenticated .v26-kpi{grid-template-columns:repeat(3,minmax(0,1fr))}.v26-login-scene{padding:16px;justify-content:center}.v26-login-shell{grid-template-columns:1fr;max-width:430px}.v26-login-brand{min-height:0;padding:15px 24px}.v26-login-brand img{width:44px;height:44px;margin:0 0 6px}.v26-login-brand h1{font-size:22px;margin:0}.v26-login-brand>p,.v26-login-tags{display:none}.v26-login-formpanel{padding:25px 23px}}

/* ===== PXVH DESIGN CHOT: presentation only, API authorization and data untouched ===== */
:root{--px-primary:#183e7a;--px-primary2:#155f9e;--px-canvas:#e5edf8;--px-line:#a9c2df;--px-zebra:#cbdff8;--px-text:#112d55}
body.v26-authenticated{background:var(--px-canvas);color:var(--px-text)}
body.v26-authenticated #v26Main{max-width:none;padding-left:13px;padding-right:13px}
body.v26-authenticated .card,body.v26-authenticated .v26-dash-panel{border:1px solid #c6d7ea;border-radius:6px;box-shadow:none}
body.v26-authenticated .v26-sidebar{background:#16396f}
body.v26-authenticated .v26-hero{min-height:47px;border-radius:6px}
body.v26-authenticated .v26-kpi{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}
body.v26-authenticated .v26-kpi-box{min-height:55px;padding:6px 8px}
body.v26-authenticated .v26-kpi-box h3{font-size:10px;min-height:12px}
body.v26-authenticated .v26-kpi-box strong{font-size:20px;display:block}
body.v26-authenticated .v26-kpi-box small{display:none}
body.v26-authenticated .v26-dash-grid{grid-template-columns:1fr 1fr;gap:5px}
body.v26-authenticated .v26-dash-panel{padding:8px 10px}
body.v26-authenticated .v26-dash-grid .v26-dash-panel{max-height:183px}
body.v26-authenticated .v26-five>div{padding:5px 3px}
body.v26-authenticated .v26-row-main{grid-template-columns:125px minmax(180px,1fr) 118px 56px minmax(200px,auto);min-height:39px;gap:7px;padding:3px 8px}
body.v26-authenticated .v26-row-code{font-size:11px}
body.v26-authenticated .v26-row-description{font-size:11px;font-weight:600}
body.v26-authenticated .rec.v26-m1-record,body.v26-authenticated .rec.v26-m2-record{background:#f9fcff;border-color:#adc5e0;border-left-color:#295f9f;border-radius:4px}
body.v26-authenticated .rec.v26-m1-record:nth-child(even),body.v26-authenticated .rec.v26-m2-record:nth-child(even){background:#cbdff8;border-color:#8badcf;border-left-color:#185e9f}
body.v26-authenticated .rec.v26-m1-record:hover,body.v26-authenticated .rec.v26-m2-record:hover{background:#b4d0f2}
body.v26-authenticated .v26-row-main>.v26-record-actions button{font-size:10px;min-height:28px;padding:4px 8px}
body.v26-authenticated #filterCard{padding:8px 10px}
body.v26-authenticated .filters,body.v26-authenticated .v26-extra-filters{row-gap:5px;column-gap:7px}
body.v26-authenticated #m2Counters{margin:3px 0 5px}
/* Multi-line entry uses a readable grid, with every input visible without vertical cards */
body.v26-authenticated .v26-batch-list{display:grid;gap:3px;overflow-x:auto}
body.v26-authenticated .v26-batch-row{display:grid!important;grid-template-columns:96px 120px minmax(200px,2.6fr) 96px 110px 100px 112px minmax(140px,1.2fr) 68px;align-items:end;gap:5px!important;margin:0!important;padding:7px 8px!important;border-radius:4px;background:#f9fcff}
body.v26-authenticated .v26-batch-row:nth-child(even){background:#cbdff8}
body.v26-authenticated .v26-batch-row>b:first-child{grid-column:1/-1;margin:0;font-size:10px}
body.v26-authenticated .v26-batch-row>label{font-size:10px;min-width:0}
body.v26-authenticated .v26-batch-row textarea{resize:vertical;height:32px!important;min-height:32px}
body.v26-authenticated .v26-batch-row input,body.v26-authenticated .v26-batch-row select{height:32px!important;min-height:32px}
body.v26-authenticated .v26-intake{padding:10px}
body.v26-authenticated .v26-intake-top{padding:7px 9px}
body.v26-authenticated #m6Editor{font-size:12px}
body.v26-authenticated #m6Editor .editor-section{padding:7px}
body.v26-authenticated #m6Editor .v26-m6-item{padding:4px 7px}
body.v26-authenticated #m6Editor .v26-m6-item:nth-child(even){background:#d8e8f8}
/* Original user-supplied photograph. CSS ONLY overlays; no regenerated buildings. */
body:not(.v26-authenticated) #legacyHeader,body:not(.v26-authenticated) #v26Banner{display:none!important}
body:not(.v26-authenticated){background:#d8e5f3}
body:not(.v26-authenticated) #v26Main{max-width:none;margin:0;padding:0}
.v26-login-scene{display:flex;align-items:center;justify-content:flex-start;min-height:100svh;padding:22px clamp(26px,18vw,350px);background-image:linear-gradient(90deg,rgba(7,29,53,.055),rgba(7,29,53,.055)),url('/assets/nghi-son-plant-original-20261107.jpg');background-position:center center;background-size:cover;background-repeat:no-repeat}
.v26-login-shell{display:block;width:clamp(370px,27vw,455px);max-width:95vw;border:1px solid #ffffffd9;border-radius:20px;background:rgba(255,255,255,.97);box-shadow:0 14px 42px rgba(14,35,70,.24);overflow:hidden;padding:20px 22px 24px}
.v26-login-brand{display:flex;align-items:center;justify-content:center;flex-direction:column;background:none;color:#123a75;padding:0;min-height:0;text-align:center}
.v26-login-brand img{display:block;object-fit:contain;width:min(278px,94%);height:auto;max-height:none;margin:0 auto 3px;border:0;border-radius:0;padding:0;background:transparent}
.v26-login-subtitle{margin:0 auto 14px!important;text-align:center;font-size:13px!important;font-weight:750;color:#163e80!important;line-height:1.25;white-space:nowrap}
.v26-login-formpanel{display:block;background:transparent;padding:12px 0 0;color:#16365d;border-top:1px solid #a5bddd}
.v26-login-formpanel h2{font-size:17px;color:#173e73;margin:0 0 13px;letter-spacing:.04em}
.v26-login-formpanel form{display:grid;gap:12px;width:100%}
.v26-login-formpanel label{display:grid;gap:5px;font-size:12px;font-weight:750;color:#294a70}
.v26-login-formpanel input{min-height:43px;font-size:13px;padding:10px 12px;border-radius:6px;background:#fff;border:1px solid #b5cee6}
.v26-login-formpanel form button{min-height:44px;font-size:15px;font-weight:750;border-radius:6px;background:#185ca9;color:#fff;margin-top:4px}
.v26-login-formpanel form button:hover{background:#124b92}
@media(max-width:1300px){body.v26-authenticated .v26-row-main{grid-template-columns:105px minmax(145px,1fr) 105px 55px minmax(180px,auto)}body.v26-authenticated .v26-batch-row{grid-template-columns:repeat(4,minmax(0,1fr))}body.v26-authenticated .v26-batch-row>label:nth-of-type(3),body.v26-authenticated .v26-batch-row>label:nth-of-type(8){grid-column:span 2}}
@media(max-width:840px){body.v26-authenticated .v26-kpi{grid-template-columns:repeat(4,minmax(0,1fr))}body.v26-authenticated .v26-dash-grid{grid-template-columns:1fr}body.v26-authenticated .v26-row-main{grid-template-columns:95px minmax(0,1fr) auto;gap:4px}body.v26-authenticated .v26-row-state{grid-column:1;grid-row:2}body.v26-authenticated .v26-row-toggle{grid-column:3;grid-row:1}body.v26-authenticated .v26-row-main>.v26-record-actions{grid-column:2/-1;grid-row:2;justify-content:flex-end;flex-wrap:wrap}body.v26-authenticated .v26-batch-row{grid-template-columns:repeat(2,minmax(0,1fr))}body.v26-authenticated .v26-batch-row>label:nth-of-type(3),body.v26-authenticated .v26-batch-row>label:nth-of-type(8){grid-column:1/-1}}
@media(max-width:700px){.v26-login-scene{align-items:center;justify-content:center;padding:12px;background-position:58% center}.v26-login-shell{width:min(370px,95vw);padding:16px 17px 20px;box-shadow:0 8px 35px #081f4360}.v26-login-brand img{width:min(248px,95%)}.v26-login-subtitle{font-size:11.5px!important;white-space:normal;margin-bottom:11px!important}.v26-login-formpanel{padding-top:11px}.v26-login-formpanel form{gap:11px}body.v26-authenticated #v26Main{padding-left:5px;padding-right:5px}body.v26-authenticated .v26-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}body.v26-authenticated .v26-kpi-box{min-height:48px}body.v26-authenticated .v26-row-main{grid-template-columns:88px minmax(0,1fr) auto}}

/* Login photo correction: exact original aerial photograph, never a mockup containing a second form. */
body:not(.v26-authenticated) .v26-login-scene{box-sizing:border-box;min-height:100svh;min-height:100dvh;background-image:linear-gradient(90deg,rgba(9,26,45,.08),rgba(9,26,45,.02)),url('/assets/nghi-son-plant-original-20261107.jpg');background-repeat:no-repeat;background-size:cover;background-position:center center}
body:not(.v26-authenticated) .v26-login-shell{position:relative;z-index:1}
body:not(.v26-authenticated) .v26-login-subtitle{width:100%;max-width:100%;box-sizing:border-box;text-align:center}
@media(max-width:700px){body:not(.v26-authenticated) .v26-login-scene{background-position:64% center;min-height:100dvh}}


/* APPROVED LOGIN 2026-11-07: real original factory photograph, centered form, top of chimney always visible.
   Do not embed a UI screenshot in the photograph. Do not modify authentication or post-login UI. */
body:not(.v26-authenticated){margin:0;overflow-x:hidden}
body:not(.v26-authenticated) #v26Main{width:100%;max-width:none;margin:0;padding:0}
body:not(.v26-authenticated) .v26-login-scene{
  position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;
  width:100%;min-height:100vh;min-height:100dvh;margin:0;padding:clamp(14px,2vh,26px);
  background-color:#b4ccdc;
  background-image:linear-gradient(90deg,rgba(7,29,48,.07),rgba(7,29,48,.04)),url('/assets/nghi-son-plant-original-20261107.jpg');
  background-position:center top;background-size:cover;background-repeat:no-repeat;
}
body:not(.v26-authenticated) .v26-login-shell{
  position:relative;z-index:1;flex:none;width:min(440px,calc(100vw - 32px));max-width:100%;
  margin:0;padding:18px 21px 20px;border:1px solid rgba(255,255,255,.92);
  border-radius:20px;background:rgba(255,255,255,.97);
  box-shadow:0 18px 54px rgba(4,28,58,.24);overflow:hidden;
}
body:not(.v26-authenticated) .v26-login-brand{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:0;margin:0;background:transparent;min-height:0}
body:not(.v26-authenticated) .v26-login-brand img{display:block;width:min(274px,94%);height:auto;object-fit:contain;margin:0 auto 3px;border:0;background:transparent;padding:0}
body:not(.v26-authenticated) .v26-login-subtitle{display:block;margin:0 auto 12px!important;width:100%;max-width:100%;font-size:12px!important;font-weight:750;white-space:normal;line-height:1.32;text-align:center;color:#123d7a!important}
body:not(.v26-authenticated) .v26-login-formpanel{padding:11px 0 0;border-top:1px solid #afc5df;background:transparent}
body:not(.v26-authenticated) .v26-login-formpanel h2{margin:0 0 10px;font-size:16px;letter-spacing:.035em;color:#143f7e}
body:not(.v26-authenticated) .v26-login-formpanel form{width:100%;max-width:none;gap:9px}
body:not(.v26-authenticated) .v26-login-formpanel label{font-size:12px;gap:4px}
body:not(.v26-authenticated) .v26-login-formpanel input{height:41px;min-height:41px;border-radius:7px;font-size:14px;padding:8px 11px}
body:not(.v26-authenticated) .v26-login-formpanel form button{height:43px;min-height:43px;margin-top:4px;font-size:15px;border-radius:7px}
@media(max-width:700px){
  body:not(.v26-authenticated) .v26-login-scene{
    align-items:center;justify-content:center;padding:12px;
    /* Keep top edge at y=0 and align the actual smokestack (x≈67%) within the viewport. */
    background-position:67% top;background-size:auto 100%;
  }
  body:not(.v26-authenticated) .v26-login-shell{width:min(360px,calc(100vw - 24px));padding:14px 16px 17px;border-radius:18px}
  body:not(.v26-authenticated) .v26-login-brand img{width:min(238px,94%)}
  body:not(.v26-authenticated) .v26-login-subtitle{font-size:11px!important;margin-bottom:9px!important}
  body:not(.v26-authenticated) .v26-login-formpanel{padding-top:9px}
  body:not(.v26-authenticated) .v26-login-formpanel form{gap:8px}
  body:not(.v26-authenticated) .v26-login-formpanel input{height:40px;min-height:40px}
  body:not(.v26-authenticated) .v26-login-formpanel form button{height:42px;min-height:42px}
}
@media(max-width:700px) and (max-height:620px){
  body:not(.v26-authenticated) .v26-login-scene{min-height:100dvh;align-items:flex-start;overflow-y:auto}
  body:not(.v26-authenticated) .v26-login-shell{margin:auto 0}
}

/* Source identifier + receiving team, without changing internal D1 record keys. */
body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(205px,260px) minmax(170px,1fr) minmax(66px,92px) 100px 55px auto}
body.v26-authenticated .v26-row-team{display:inline-flex;align-items:center;justify-content:center;background:#d4e8fc;border:1px solid #8daed6;color:#184c83;border-radius:5px;font-size:10px;font-weight:750;padding:4px 5px;white-space:nowrap}
body.v26-authenticated .v26-m1-record .v26-row-code{white-space:normal;line-height:1.3;font-size:10.5px}
@media(max-width:1100px){body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(130px,200px) minmax(140px,1fr) 80px 95px 55px}body.v26-authenticated .v26-m1-record .v26-record-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:700px){body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(105px,1fr) minmax(135px,2fr) auto}body.v26-authenticated .v26-row-team{grid-row:2;grid-column:1;justify-self:start}body.v26-authenticated .v26-m1-record .v26-row-state{grid-row:2;grid-column:2}body.v26-authenticated .v26-m1-record .v26-record-actions{grid-row:3;grid-column:1/-1;justify-content:flex-end}}

/* PXVH dashboard - compact hierarchy matching the approved operations overview. */
body.v26-authenticated .v26-overview{gap:5px}
body.v26-authenticated .v26-hero{padding:9px 12px;background:linear-gradient(95deg,#16396e,#275aa8);border-bottom:2px solid #ca4343}
body.v26-authenticated .v26-kpi{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
body.v26-authenticated .v26-kpi-box{min-height:61px;max-height:70px;padding:5px 8px;border-radius:5px;border:1px solid #ccd8eb;border-left:3px solid #9bb6dc}
body.v26-authenticated .v26-kpi-box.featured{background:#23498c;border-left-color:#f5d47b}
body.v26-authenticated .v26-kpi-box h3{font-size:10px}
body.v26-authenticated .v26-kpi-box strong{font-size:21px;line-height:1.12}
body.v26-authenticated .v26-kpi-box small{font-size:9px;display:block;margin:0;color:#7386a2}
body.v26-authenticated .v26-kpi-box.featured small{color:#eaf2ff}
body.v26-authenticated .v26-dash-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:6px}
body.v26-authenticated .v26-dash-grid .v26-dash-panel{max-height:290px;padding:8px 9px;overflow:hidden}
body.v26-authenticated .v26-dash-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
body.v26-authenticated .v26-dash-legend{display:flex;gap:5px;flex-wrap:wrap;font-size:9px}
body.v26-authenticated .v26-legend-chip{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
body.v26-authenticated .v26-legend-chip i{width:7px;height:7px;display:inline-block;border-radius:2px}
body.v26-authenticated .v26-chart-scroll{max-height:235px;overflow:auto;scrollbar-width:thin}
body.v26-authenticated .v26-equipment-row{border:0;background:transparent;display:grid;grid-template-columns:minmax(110px,150px) 1fr 30px;gap:7px;align-items:center;width:100%;padding:3px 2px;border-radius:3px;min-height:22px;text-align:left;color:#204576}
body.v26-authenticated .v26-equipment-row:nth-child(odd){background:#f0f5fd}
body.v26-authenticated .v26-equipment-row:hover{background:#dceafd}
body.v26-authenticated .v26-equipment-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
body.v26-authenticated .v26-status-stack{height:9px;display:flex;background:#e1e9f4;border-radius:4px;overflow:hidden}
body.v26-authenticated .v26-status-stack i{height:100%;display:block;flex-shrink:0}
body.v26-authenticated .v26-equipment-row strong{font-size:10px;text-align:right}
body.v26-authenticated .v26-team-summary,body.v26-authenticated .v26-categories{display:flex;gap:4px;flex-wrap:wrap}
body.v26-authenticated .v26-team-chip,body.v26-authenticated .v26-category-chip{font-size:9px;border:1px solid #bfd0e7;background:#f2f7fe;color:#1f4377;padding:3px 6px;min-height:21px}
body.v26-authenticated .v26-team-chip:hover,body.v26-authenticated .v26-category-chip:hover{background:#d9e8fc}
body.v26-authenticated .v26-subtitle{font-size:11px;margin:8px 0 3px!important;color:#274575}
body.v26-authenticated .v26-subtitle small{font-size:9px;color:#7083a0}
body.v26-authenticated .v26-month-chart{height:103px;display:flex;align-items:end;gap:4px;justify-content:space-around;border:1px solid #d9e4f0;border-radius:4px;padding:5px 4px 2px;background:#fafcff}
body.v26-authenticated .v26-month-col{flex:1;min-width:0;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;border:0;background:transparent;color:#334f7d;min-height:90px}
body.v26-authenticated .v26-month-col i{display:block;width:min(100%,28px);background:#2e5dba;border-radius:2px 2px 0 0}
body.v26-authenticated .v26-month-col:nth-child(2n) i{background:#d96650}
body.v26-authenticated .v26-month-col strong{font-size:9px}
body.v26-authenticated .v26-month-col span{font-size:8px;white-space:nowrap}
body.v26-authenticated .v26-m2-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:5px}
body.v26-authenticated .v26-metric{display:flex;flex-direction:column;align-items:center;gap:1px;justify-content:center;padding:5px;border:1px solid #cedcec;background:#fff;border-bottom:2px solid #5387c9;min-height:40px;font-size:9px}
body.v26-authenticated .v26-metric strong{font-size:15px;color:#1c467a}
body.v26-authenticated .v26-metric:hover{background:#e9f2ff}
body.v26-authenticated .v26-overview-m2 .v26-five{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
body.v26-authenticated .v26-overview-m2 .v26-five .v26-metric{background:#eef4fc}
body.v26-authenticated .v26-overview-m6{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.v26-authenticated .v26-overview-m6 h3{margin:0}
body.v26-authenticated .v26-overview-m6 p{margin:0;flex:1;color:#627a96}
body.v26-authenticated .v26-month-active{padding:7px;border-radius:5px;background:#fff1ce;color:#82560e;font-size:10px}
@media(max-width:900px){body.v26-authenticated .v26-kpi{grid-template-columns:repeat(3,minmax(0,1fr))}body.v26-authenticated .v26-dash-grid{grid-template-columns:1fr}body.v26-authenticated .v26-dash-grid .v26-dash-panel{max-height:none}body.v26-authenticated .v26-chart-scroll{max-height:200px}}
@media(max-width:560px){body.v26-authenticated .v26-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}body.v26-authenticated .v26-m2-overview{grid-template-columns:repeat(3,minmax(0,1fr))}body.v26-authenticated .v26-dash-heading{align-items:flex-start}body.v26-authenticated .v26-month-col span{font-size:7px}}
body.v26-authenticated .v26-dash-grid .v26-dash-panel:nth-child(2){overflow:auto;scrollbar-width:thin}

/* UAT 2026-11-07: explicit KKS, readable and differentiated unit metrics. */
body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(145px,220px) minmax(160px,1fr) minmax(100px,150px) minmax(68px,90px) minmax(92px,110px) 55px auto}
body.v26-authenticated .v26-row-kks{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:650;color:#23486c;padding:3px 6px;background:#eef4fc;border:1px solid #adc8e5;border-radius:4px}
body.v26-authenticated #m2Counters .m2-summary-item,body.v26-authenticated #v26M2Kpi .v26-metric{border-radius:6px;border:1px solid #a6bdd6;border-top:4px solid #3170b3;background:#eff6ff;color:#163756;min-height:53px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px}
body.v26-authenticated #m2Counters .m2-summary-item strong,body.v26-authenticated #v26M2Kpi .v26-metric strong{font-size:19px;line-height:1.15;color:#133b72}
body.v26-authenticated #m2Counters .m2-summary-item span,body.v26-authenticated #v26M2Kpi .v26-metric span{font-size:11px;font-weight:750;color:#24415c;opacity:1;visibility:visible;line-height:1.25;text-align:center}
body.v26-authenticated #m2Counters [data-unit="PX1"],body.v26-authenticated #v26M2Kpi [data-unit="PX1"]{border-top-color:#2563eb;background:#e9f2ff}
body.v26-authenticated #m2Counters [data-unit="PX2"],body.v26-authenticated #v26M2Kpi [data-unit="PX2"]{border-top-color:#0891b2;background:#e7f8fb}
body.v26-authenticated #m2Counters [data-unit="PX3"],body.v26-authenticated #v26M2Kpi [data-unit="PX3"]{border-top-color:#7c3aed;background:#f2edff}
body.v26-authenticated #m2Counters [data-unit="PX4"],body.v26-authenticated #v26M2Kpi [data-unit="PX4"]{border-top-color:#ca8a04;background:#fff7db}
body.v26-authenticated #m2Counters [data-unit="P4/Nhà thầu"],body.v26-authenticated #v26M2Kpi [data-unit="P4/Nhà thầu"]{border-top-color:#059669;background:#e8f9f2}
@media(max-width:1150px){body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(110px,185px) minmax(140px,1fr) minmax(90px,130px) 75px auto}body.v26-authenticated .v26-m1-record .v26-record-actions{grid-column:1/-1}}
@media(max-width:700px){body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(96px,1fr) minmax(130px,2fr) auto}body.v26-authenticated .v26-m1-record .v26-row-kks{grid-column:1;grid-row:2;justify-self:start}body.v26-authenticated .v26-m1-record .v26-row-team{grid-column:2;grid-row:2}body.v26-authenticated .v26-m1-record .v26-row-state{grid-column:3;grid-row:2}body.v26-authenticated .v26-m1-record .v26-record-actions{grid-column:1/-1;grid-row:3}}

/* R10 UI dashboard compact two-row reference, read-only KPI queries */
body.v26-authenticated #v26Banner{display:none!important}
body.v26-authenticated .v26-kpi{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
body.v26-authenticated .v26-kpi-box{min-width:0;min-height:53px;max-height:none;padding:5px 7px;border:1px solid #cad7e9;border-left:3px solid var(--kpi-accent,#4b79b8);border-radius:5px;background:#fff}
body.v26-authenticated .v26-kpi-box[data-kpi="0"]{grid-column:span 2;background:#23498c;color:#fff;border-left-color:#f0d46b}
body.v26-authenticated .v26-kpi-box h3{font-size:10px;line-height:1.1;min-height:0;color:#3c5780}
body.v26-authenticated .v26-kpi-box strong{font-size:20px;color:var(--kpi-accent,#184789);line-height:1.1;display:block}
body.v26-authenticated .v26-kpi-box small{display:block;font-size:9px;margin:1px 0 0;color:#7083a0;line-height:1.1}
body.v26-authenticated .v26-kpi-box[data-kpi="0"] h3,body.v26-authenticated .v26-kpi-box[data-kpi="0"] strong,body.v26-authenticated .v26-kpi-box[data-kpi="0"] small{color:#fff}
body.v26-authenticated .v26-kpi-box:disabled{opacity:.75;cursor:default}
body.v26-authenticated .v26-calendar-note{font-size:9px;color:#536a89;margin:1px 1px 2px}
body.v26-authenticated .v26-overview-m2 .v26-five .v26-metric:nth-child(1){background:#eaf2ff;border-top:3px solid #2e70d6}
body.v26-authenticated .v26-overview-m2 .v26-five .v26-metric:nth-child(2){background:#e8f9fc;border-top:3px solid #0799bd}
body.v26-authenticated .v26-overview-m2 .v26-five .v26-metric:nth-child(3){background:#f1ecff;border-top:3px solid #8748e5}
body.v26-authenticated .v26-overview-m2 .v26-five .v26-metric:nth-child(4){background:#fff5da;border-top:3px solid #d58a00}
body.v26-authenticated .v26-overview-m2 .v26-five .v26-metric:nth-child(5){background:#e6f7ef;border-top:3px solid #0b9b6a}
body.v26-authenticated .v26-m2-overview .v26-metric{min-height:46px}
body.v26-authenticated .v26-m2-overview .v26-metric span{font-weight:650;font-size:10px;color:#36557b}
body.v26-authenticated .v26-topactions #v26ChangePasswordTop{white-space:nowrap;font-size:11px;padding:5px 8px}
.v26-password-dialog{border:1px solid #bdd0e6;border-radius:12px;box-shadow:0 15px 45px #173c7080;max-width:min(420px,95vw);width:100%;padding:20px}
.v26-password-dialog::backdrop{background:#0f285880}
.v26-password-dialog form{display:grid;gap:12px}.v26-password-dialog label{display:grid;gap:4px}.v26-password-dialog input{width:100%;padding:9px;border:1px solid #b9cbe4;border-radius:6px}
.v26-dialog-buttons{display:flex;justify-content:flex-end;gap:8px}.v26-password-dialog #v26PasswordError{color:#a52626;margin:0}
body.v26-authenticated .v26-overview-m2 .v26-dash-heading{display:flex;flex-wrap:nowrap}
@media(max-width:900px){body.v26-authenticated .v26-kpi{grid-template-columns:repeat(3,minmax(0,1fr))}body.v26-authenticated .v26-kpi-box[data-kpi="0"]{grid-column:span 2}}
@media(max-width:560px){body.v26-authenticated .v26-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}body.v26-authenticated .v26-kpi-box[data-kpi="0"]{grid-column:span 2}body.v26-authenticated .v26-kpi-box strong{font-size:17px}body.v26-authenticated .v26-topactions #v26ChangePasswordTop{font-size:9px;padding:4px}}

/* R10 UAT M1 presentation: long descriptions wrap; KKS appears only when populated. */
body.v26-authenticated .v26-m1-record .v26-row-main{display:grid;grid-template-columns:minmax(175px,225px) minmax(230px,2.2fr) minmax(135px,1.25fr) minmax(90px,120px) minmax(70px,105px) minmax(82px,105px) 60px auto;align-items:center;gap:6px;min-height:44px}
body.v26-authenticated .v26-m1-record .v26-row-description{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-overflow:clip!important;line-height:1.32;max-height:none!important;display:block;font-weight:500}
body.v26-authenticated .v26-m1-record .v26-row-code{font-weight:400;white-space:normal;line-height:1.35}
body.v26-authenticated .v26-row-identifier{font-weight:750}
body.v26-authenticated .v26-row-opinion{font-size:10px;line-height:1.3;color:#39577b;white-space:normal;overflow-wrap:anywhere}
body.v26-authenticated .v26-m1-record .v26-row-kks{font-weight:500;text-align:center;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;background:transparent;border:0;padding:2px 4px;color:#23486c}
body.v26-authenticated .v26-m1-record .v26-row-kks:empty{min-height:16px}
body.v26-authenticated #v26UnitWrap,body.v26-authenticated #v26DatesWrap{min-width:0}
body.v26-authenticated .v26-date-pair{display:flex;gap:4px}
body.v26-authenticated .v26-date-pair input{min-width:0;width:50%;font-size:10px;padding:4px}
@media(max-width:1450px){body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(140px,190px) minmax(170px,2fr) minmax(110px,1fr) 100px 90px 65px;gap:5px}body.v26-authenticated .v26-m1-record .v26-record-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:900px){body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(110px,1fr) minmax(145px,2fr) minmax(100px,1fr);gap:5px}body.v26-authenticated .v26-m1-record .v26-row-kks{grid-column:1;grid-row:3}body.v26-authenticated .v26-m1-record .v26-row-opinion{grid-column:3;grid-row:1}body.v26-authenticated .v26-m1-record .v26-row-team{grid-column:2;grid-row:3}body.v26-authenticated .v26-m1-record .v26-row-state{grid-column:3;grid-row:3}body.v26-authenticated .v26-m1-record .v26-record-actions{grid-column:1/-1;grid-row:auto}}
@media(max-width:600px){body.v26-authenticated .v26-m1-record .v26-row-main{grid-template-columns:minmax(100px,1fr) minmax(120px,2fr);padding:6px}body.v26-authenticated .v26-m1-record .v26-row-description{grid-column:2;grid-row:1}body.v26-authenticated .v26-m1-record .v26-row-opinion{grid-column:1/-1;grid-row:2}body.v26-authenticated .v26-m1-record .v26-row-kks{grid-column:1;grid-row:3}body.v26-authenticated .v26-m1-record .v26-row-team{grid-column:2;grid-row:3}body.v26-authenticated .v26-m1-record .v26-row-state{grid-column:1;grid-row:4}body.v26-authenticated .v26-m1-record .v26-row-toggle{grid-column:2;grid-row:4}body.v26-authenticated .v26-m1-record .v26-record-actions{grid-column:1/-1;grid-row:5;flex-wrap:wrap}}

/* R10 UAT: one uninterrupted scrollable desktop filter row; M2 keeps original layout. */
body.v26-authenticated #filterCard.v26-m1-one-row{min-width:0;overflow:hidden}
body.v26-authenticated .v26-m1-filter-strip{display:flex;align-items:end;gap:6px;overflow-x:auto;overflow-y:hidden;padding:4px 0 9px;scrollbar-width:thin;scrollbar-color:#91afcf transparent;max-width:100%}
body.v26-authenticated .v26-m1-filter-strip[hidden]{display:none!important}
body.v26-authenticated .v26-m1-filter-strip>label{flex:0 0 auto;min-width:0;display:grid;gap:2px;font-size:10px;color:#405e7c;align-self:end}
body.v26-authenticated .v26-m1-filter-strip>label[hidden],body.v26-authenticated .v26-m1-filter-strip>[hidden]{display:none!important}
body.v26-authenticated .v26-m1-filter-strip>label select,body.v26-authenticated .v26-m1-filter-strip>label input{height:30px;min-height:30px;padding:3px 5px;font-size:11px;max-width:100%}
body.v26-authenticated .v26-m1-filter-strip #v26UnitWrap{width:125px}
body.v26-authenticated .v26-m1-filter-strip #scopeWrap{width:156px}
body.v26-authenticated .v26-m1-filter-strip #v26SystemWrap{width:133px}
body.v26-authenticated .v26-m1-filter-strip #v26DatesWrap{width:210px}
body.v26-authenticated .v26-m1-filter-strip #v26CategoryWrap{width:112px}
body.v26-authenticated .v26-m1-filter-strip #v26TeamWrap{width:115px}
body.v26-authenticated .v26-m1-filter-strip #v26PriorityWrap{width:101px}
body.v26-authenticated .v26-m1-filter-strip #v26SearchWrap{width:205px}
body.v26-authenticated .v26-m1-filter-strip #statusWrap{width:118px}
body.v26-authenticated .v26-m1-filter-strip #allWrap{width:95px;display:flex;gap:4px;align-items:center;font-size:9px;line-height:1.2}
body.v26-authenticated .v26-m1-filter-strip #allWrap input{width:15px;height:15px;flex-shrink:0}
body.v26-authenticated .v26-m1-filter-strip>label:has(#limit){width:65px}
body.v26-authenticated .v26-m1-filter-strip #search{flex:0 0 80px;height:30px;min-height:30px;padding:4px 7px;white-space:nowrap}
body.v26-authenticated .v26-m1-filter-strip .v26-data-tools{flex:0 0 auto;display:flex;align-items:center;gap:4px;padding:0;margin:0;border:0;flex-wrap:nowrap}
body.v26-authenticated .v26-m1-filter-strip .v26-data-tools button{flex:0 0 auto;min-height:30px;padding:4px 7px;white-space:nowrap}
body.v26-authenticated .v26-m1-record .v26-row-opinion:empty{visibility:hidden}

/* R10: same compact single-line control row for M2 as M1; contents wrap naturally. */
body.v26-authenticated .v26-m1-filter-strip #v26M2UnitWrap{width:130px}
body.v26-authenticated .v26-m1-filter-strip #v26M2OpenWrap{width:135px}
body.v26-authenticated .v26-m1-filter-strip #v26M2StatusWrap{width:152px}
body.v26-authenticated .v26-m2-record .v26-row-main{display:grid;grid-template-columns:minmax(115px,155px) minmax(240px,2fr) minmax(150px,1.25fr) minmax(100px,135px) 65px auto;align-items:center;gap:6px;min-height:42px}
body.v26-authenticated .v26-m2-record .v26-row-opinion{font-size:10px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;min-width:0}
body.v26-authenticated .v26-m2-record .v26-row-opinion:empty{visibility:hidden}
body.v26-authenticated .v26-m2-record .v26-row-description{white-space:normal;overflow-wrap:anywhere}
body.v26-authenticated .v26-m2-record .v26-row-main>.v26-row-toggle{justify-self:end}
@media(max-width:1050px){body.v26-authenticated .v26-m2-record .v26-row-main{grid-template-columns:minmax(110px,155px) minmax(180px,2fr) minmax(110px,1fr) auto}body.v26-authenticated .v26-m2-record .v26-row-state{grid-column:3}body.v26-authenticated .v26-m2-record .v26-row-toggle{grid-column:4}body.v26-authenticated .v26-m2-record .v26-record-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:650px){body.v26-authenticated .v26-m2-record .v26-row-main{grid-template-columns:minmax(98px,1fr) minmax(150px,2fr) auto}body.v26-authenticated .v26-m2-record .v26-row-opinion{grid-column:1/-1;grid-row:2}body.v26-authenticated .v26-m2-record .v26-row-state{grid-column:2;grid-row:3}body.v26-authenticated .v26-m2-record .v26-row-toggle{grid-column:3;grid-row:1}body.v26-authenticated .v26-m2-record .v26-record-actions{grid-column:1/-1;grid-row:4}}

/* R10 UAT: keep the M2 filters in a single horizontal strip, no vertical stacking. */
body.v26-authenticated #filterCard.v26-m2-one-row .v26-m1-filter-strip{display:flex;flex-wrap:nowrap;align-items:end;overflow-x:auto;overflow-y:hidden;max-width:100%;white-space:nowrap}
body.v26-authenticated #filterCard.v26-m2-one-row .v26-m1-filter-strip>label{flex-shrink:0}
body.v26-authenticated #filterCard.v26-m2-one-row .v26-m1-filter-strip #v26SearchWrap{width:245px}
body.v26-authenticated .v26-m2-record .v26-row-identifier{font-weight:700}

/* R10 UAT 08-11: Unified M1 card entry and explicit linked-M1 mode for M2. */
body.v26-authenticated .v26-unified-entry .v26-batch-row{display:grid!important;grid-template-columns:minmax(135px,1.35fr) minmax(230px,2.5fr) minmax(120px,1.1fr) minmax(105px,1fr)!important;align-items:end;gap:9px!important;background:#f8fbff;padding:12px!important;margin-bottom:8px!important;border:1px solid #b5cbe5;border-radius:7px}
body.v26-authenticated .v26-unified-entry .v26-batch-row>label:nth-of-type(3){grid-column:span 2}
body.v26-authenticated .v26-unified-entry .v26-batch-row textarea{min-height:34px!important;height:auto!important}
body.v26-authenticated .v26-unified-entry .v26-batch-row>label[hidden]{display:none!important}
body.v26-authenticated .v26-picker-selected{background:#0d7c68!important;color:white!important;border-color:#066b5b!important}
body.v26-authenticated .v26-picker-panel input[hidden],body.v26-authenticated .v26-picker-results[hidden]{display:none!important}
@media(max-width:900px){body.v26-authenticated .v26-unified-entry .v26-batch-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.v26-authenticated .v26-unified-entry .v26-batch-row>label:nth-of-type(3){grid-column:span 1}}
@media(max-width:560px){body.v26-authenticated .v26-unified-entry .v26-batch-row{grid-template-columns:1fr!important}}

/* 08/11 – compact intake; fields retain full source data and are scrollable on narrow screens. */
body.v26-authenticated .v26-unified-entry .v26-batch-list{overflow-x:auto;max-width:100%}
body.v26-authenticated .v26-unified-entry .v26-batch-row{display:grid!important;grid-template-columns:minmax(155px,1.15fr) minmax(165px,1.2fr) minmax(325px,3.6fr) minmax(100px,.85fr) minmax(125px,1fr) minmax(110px,.8fr) minmax(95px,.7fr) minmax(120px,1fr) minmax(110px,.8fr) auto!important;gap:5px!important;padding:5px 7px!important;margin-bottom:4px!important;min-width:1380px;align-items:end}
body.v26-authenticated .v26-unified-entry .v26-batch-row>b:first-child{grid-column:1/-1!important;font-size:10px}
body.v26-authenticated .v26-unified-entry .v26-batch-row>label:nth-of-type(3){grid-column:auto!important}
body.v26-authenticated .v26-unified-entry .v26-batch-row>label{min-width:0!important}
body.v26-authenticated .v26-unified-entry .v26-batch-row textarea{height:35px!important;min-height:35px!important;resize:vertical}
body.v26-authenticated .v26-unified-entry .v26-batch-row input,body.v26-authenticated .v26-unified-entry .v26-batch-row select{min-height:33px!important;height:33px!important}
body.v26-authenticated .v26-unified-entry .v26-batch-row>button{font-size:10px;white-space:nowrap;padding:7px}
body.v26-authenticated .v26-m2-intake-form .v26-m2-toolbar{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-bottom:8px}
body.v26-authenticated .v26-m2-intake-form .v26-m2-toolbar>.editor-field{flex:0 0 160px}
body.v26-authenticated .v26-m2-intake-form .v26-picker-panel{flex:1;min-width:220px}
body.v26-authenticated .v26-m2-intake-form .v26-picker-panel .editor-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
body.v26-authenticated .v26-m2-intake-form .v26-picker-toggle{display:inline-flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;background:transparent!important;color:inherit!important}
body.v26-authenticated .v26-m2-intake-form .v26-picker-toggle input{width:16px;height:16px}
body.v26-authenticated .v26-m2-intake-form .v26-picker-selected-panel{background:transparent!important;border-color:#adc5e0!important;color:inherit!important}
body.v26-authenticated .v26-m2-entries{overflow-x:auto;max-width:100%}
body.v26-authenticated .v26-m2-entry{display:grid;grid-template-columns:minmax(300px,3fr) minmax(120px,1fr) minmax(155px,1.4fr) 95px 125px 125px 125px 135px 80px 75px;gap:5px;min-width:1530px;align-items:end;background:#f7fbff;border:1px solid #b7cbe0;border-radius:5px;margin-bottom:4px;padding:5px 8px}
body.v26-authenticated .v26-m2-entry:nth-child(even){background:#e7f1ff}
body.v26-authenticated .v26-m2-entry>.v26-entry-number{grid-column:1/-1;font-size:10px}
body.v26-authenticated .v26-m2-entry>.editor-field{min-width:0;font-size:10px}
body.v26-authenticated .v26-m2-entry textarea{height:34px!important;min-height:34px!important;resize:vertical}
body.v26-authenticated .v26-m2-entry input{height:34px!important;min-height:34px!important}
body.v26-authenticated .v26-m2-entry>button{white-space:nowrap;padding:6px 4px;font-size:10px}
body.v26-authenticated .v26-m2-entry.v26-entry-saved{opacity:.72;border-color:#38a169}
body.v26-authenticated .v26-m2-intake-form .v26-picker-results{max-height:230px;overflow-y:auto;border:1px solid #c1d2e8;border-radius:5px;margin-top:5px;padding:5px;display:flex;flex-direction:column;gap:3px}
body.v26-authenticated .v26-m2-intake-form .v26-picker-choice{max-width:100%;white-space:normal;text-align:left;background:#f3f8ff;color:#163c6b;border:1px solid #d5e1ef;padding:5px 7px}

/* R10 M6: one-line editor fields, two distinct day sections and a unified M1/M2 proposal board. */
body.v26-authenticated #m6Editor .m6-day-D{border-left:4px solid #2c6bc3;background:#eaf3ff}
body.v26-authenticated #m6Editor .m6-day-D1{border-left:4px solid #d39228;background:#fff3da}
body.v26-authenticated #m6Editor .m6-day-D h3,body.v26-authenticated #m6Editor .m6-day-D1 h3{font-size:14px!important;letter-spacing:.01em}
body.v26-authenticated #m6Editor .v26-m6-item[open]{display:grid;grid-template-columns:minmax(220px,2fr) minmax(90px,.7fr) minmax(220px,1.7fr) minmax(90px,.75fr) minmax(130px,1fr) auto;align-items:end;gap:7px}
body.v26-authenticated #m6Editor .v26-m6-item[open]>summary{grid-column:1/-1}
body.v26-authenticated #m6Editor .v26-m6-item[open] .editor-field{min-width:0;font-size:11px}
body.v26-authenticated #m6Editor .v26-m6-item[open] .editor-field textarea{min-height:37px;resize:vertical}
body.v26-authenticated #m6Editor .v26-m6-item[open] .editor-field input{height:37px}
body.v26-authenticated #m6Editor .v26-m6-item[open]>button{white-space:nowrap}
body.v26-authenticated #m6Editor .m6-unified-picker{margin:8px 0;border:1px solid #bdd1e8;background:#f7fbff;border-radius:7px;padding:9px}
body.v26-authenticated #m6Editor .m6-unified-picker h3{font-size:13px!important;margin:0 0 3px}
body.v26-authenticated #m6Editor .m6-unified-picker>p{margin:1px 0 9px}
body.v26-authenticated #m6Editor .m6-pick-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.v26-authenticated #m6Editor .m6-pick-column{min-width:0;border:1px solid #c9d9ea;border-radius:6px;padding:7px;background:white}
body.v26-authenticated #m6Editor .m6-pick-column h4{margin:0 0 4px;font-size:12px}
body.v26-authenticated #m6Editor .m6-pick-column>input{width:100%;font-size:12px;padding:5px}
body.v26-authenticated #m6Editor .m6-pick-list{max-height:245px;overflow:auto;margin-top:5px}
body.v26-authenticated #m6Editor .m6-pick-item{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px;border-bottom:1px solid #e0e8f2;font-size:11px}
body.v26-authenticated #m6Editor .m6-pick-item:nth-child(even){background:#f0f6ff}
body.v26-authenticated #m6Editor .m6-pick-desc{min-width:0;overflow-wrap:anywhere}
body.v26-authenticated #m6Editor .m6-pick-actions{display:flex;gap:3px;flex-shrink:0}
body.v26-authenticated #m6Editor .m6-pick-actions button,body.v26-authenticated #m6Editor .m6-pick-pagination button{font-size:10px;padding:4px 6px}
body.v26-authenticated #m6Editor .m6-pick-pagination{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:5px}
body.v26-authenticated .v26-m6-picker{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px}
body.v26-authenticated .v26-m6-picker .editor-field{min-width:140px}
@media(max-width:1050px){body.v26-authenticated #m6Editor .v26-m6-item[open]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body.v26-authenticated #m6Editor .m6-pick-columns{grid-template-columns:1fr}body.v26-authenticated #m6Editor .v26-m6-item[open]{grid-template-columns:repeat(2,minmax(0,1fr))}body.v26-authenticated #m6Editor .v26-m6-item[open] .editor-field:first-of-type,body.v26-authenticated #m6Editor .v26-m6-item[open] .editor-field:nth-of-type(3){grid-column:1/-1}body.v26-authenticated #m6Editor .m6-pick-item{align-items:flex-start;flex-direction:column}}

/* R10 UAT M2 full-width intake fix: generic form max-width 450px was clipping all rows. */
body.v26-authenticated .v26-m2-multi-intake{width:100%;min-width:0;max-width:100%}
body.v26-authenticated .v26-m2-multi-intake form.v26-m2-intake-form{display:block;width:100%;max-width:none!important;min-width:0}
body.v26-authenticated .v26-m2-intake-form .v26-m2-entries{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible}
body.v26-authenticated .v26-m2-intake-form .v26-m2-entry{width:max(100%,1530px);max-width:none;min-width:1530px}
body.v26-authenticated .v26-m2-intake-form .v26-m2-toolbar{width:100%;display:flex;align-items:center;flex-wrap:nowrap;overflow-x:auto;gap:8px}
body.v26-authenticated .v26-m2-intake-form .v26-m2-toolbar>.editor-field{flex:0 0 155px}
body.v26-authenticated .v26-m2-intake-form .v26-picker-panel{flex:1 0 600px;min-width:0}
body.v26-authenticated .v26-m2-intake-form .v26-picker-panel .editor-buttons{flex-wrap:nowrap;gap:5px}
body.v26-authenticated .v26-m2-intake-form .v26-picker-toggle{white-space:nowrap}
body.v26-authenticated .v26-m2-intake-form>.editor-buttons{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}
/* M2 filter: move all controls into one scroller, hide stale filter rows. */
body.v26-authenticated #filterCard.v26-m2-one-row>.filters,body.v26-authenticated #filterCard.v26-m2-one-row>#v26ExtraFilters{display:none!important}
body.v26-authenticated #filterCard.v26-m2-one-row .v26-m1-filter-strip{display:flex!important;flex-wrap:nowrap;gap:6px;overflow-x:auto;max-width:100%;padding-bottom:7px}
body.v26-authenticated #filterCard.v26-m2-one-row #v26M2SystemWrap{width:155px;flex-shrink:0}
body.v26-authenticated #filterCard.v26-m2-one-row #v26M2UnitWrap{width:120px;flex-shrink:0}
body.v26-authenticated #filterCard.v26-m2-one-row #v26DatesWrap{width:210px;flex-shrink:0}
body.v26-authenticated #filterCard.v26-m2-one-row #v26SearchWrap{width:235px;flex-shrink:0}
@media(max-width:700px){body.v26-authenticated .v26-m2-multi-intake form.v26-m2-intake-form{width:100%}}

/* R10 UAT M2: compact dropdowns; optional "Khác" text field expands only on demand. */
body.v26-authenticated .v26-m2-intake-form .v26-m2-entry select{width:100%;height:34px;min-height:34px;font-size:11px}
body.v26-authenticated .v26-m2-intake-form .v26-m2-entry .editor-field input[hidden]{display:none!important}
body.v26-authenticated .v26-m2-intake-form .v26-m2-entry .editor-field input:not([hidden]) + input{margin-top:3px}

/* R10 M6 targeted regression fix: ONLY #m6Editor, never M1/M2 widgets. */
body.v26-authenticated #m6Editor .v26-m6-item[open]{display:block!important;padding:6px 8px!important}
body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid{display:grid!important;grid-template-columns:minmax(250px,2.6fr) minmax(95px,.8fr) minmax(230px,2.2fr) minmax(100px,.9fr) minmax(140px,1.2fr) 86px!important;gap:8px;align-items:end;width:100%;min-width:0}
body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid .editor-field{width:auto!important;max-width:none!important;min-width:0!important;display:flex;flex-direction:column;gap:3px;margin:0!important}
body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid :is(input,textarea,select){box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;height:37px!important;min-height:37px!important;padding:5px 7px!important;font-size:12px;line-height:1.25}
body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid textarea{resize:vertical;min-height:37px!important}
body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid>button{width:86px;padding:6px 4px;min-height:37px;font-size:11px;white-space:nowrap}
body.v26-authenticated #m6Editor .v26-m6-item>summary{display:list-item;margin-bottom:5px}
body.v26-authenticated #m6Editor .selected-lines{gap:5px}
body.v26-authenticated #m6Editor .m6-unified-picker .m6-pick-list{max-height:170px}
@media (max-width:1000px){body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid{grid-template-columns:minmax(180px,2fr) minmax(90px,1fr) minmax(180px,2fr)!important}body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid>button{width:auto}}
@media (max-width:650px){body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid>.editor-field:nth-child(1),body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid>.editor-field:nth-child(3){grid-column:1/-1}}

/* V26 R10 consolidated UAT - scoped control polish, no global button restyling */
body.v26-authenticated .v26-record-actions{display:flex;gap:5px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
body.v26-authenticated .v26-record-actions button{font-size:11px;padding:5px 8px;border-radius:5px;white-space:nowrap}
body.v26-authenticated .v26-action-transfer{background:#08768a!important;color:#fff!important;border-color:#08768a!important}
body.v26-authenticated .v26-action-reject{background:#fff4f4!important;color:#ae3037!important;border-color:#eab2b5!important}
body.v26-authenticated .v26-action-directive{background:#813cc3!important;color:white!important;border-color:#813cc3!important}
body.v26-authenticated .v26-action-success{background:#19804b!important;color:white!important;border-color:#19804b!important}
body.v26-authenticated .v26-directive-recipients{display:flex;flex-wrap:wrap;gap:5px 12px;border:1px solid #d3deed;padding:7px;border-radius:6px;min-width:0}
body.v26-authenticated .v26-directive-recipients[hidden]{display:none!important}
body.v26-authenticated .v26-directive-recipients legend{font-size:12px;font-weight:650;padding:0 4px}
body.v26-authenticated .v26-directive-choice{display:inline-flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap}
/* M6 compact applies only while report editor is open. */
body.v26-authenticated.m6-editor-open #filterCard,
body.v26-authenticated.m6-editor-open #v26CountBar,
body.v26-authenticated.m6-editor-open #results{display:none!important}
body.v26-authenticated.m6-editor-open #m6Editor{padding:8px 10px!important;margin:4px 0!important}
body.v26-authenticated #m6Editor .editor-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;padding:3px 0!important;margin:0 0 5px!important}
body.v26-authenticated #m6Editor .editor-top h2{font-size:14px!important;margin:0!important}
body.v26-authenticated #m6Editor .editor-top>p{font-size:10px;margin:0!important;max-width:650px}
body.v26-authenticated #m6Editor .editor-top .editor-buttons{display:flex;gap:5px;flex-wrap:wrap}
body.v26-authenticated #m6Editor .m6-catalog-collapsed{border:1px solid #c4d5e9;padding:5px 7px;border-radius:6px;background:#f6faff;margin:4px 0}
body.v26-authenticated #m6Editor .m6-catalog-collapsed>summary{font-size:12px;font-weight:650;cursor:pointer}
body.v26-authenticated #m6Editor .m6-days-grid{display:grid;grid-template-columns:1fr;gap:7px;min-width:0}
body.v26-authenticated #m6Editor .editor-section{min-width:0;padding:7px!important;margin:0!important}
body.v26-authenticated #m6Editor .editor-section h3{margin:0 0 4px!important;font-size:12px!important}
body.v26-authenticated #m6Editor .editor-section>button{padding:4px 7px;font-size:10px;margin:1px 0 4px}
body.v26-authenticated #m6Editor .v26-m6-item{padding:3px 6px!important;margin:2px 0!important}
body.v26-authenticated #m6Editor .v26-m6-item>summary{font-size:11px;margin-bottom:3px}
body.v26-authenticated #m6Editor .m6-line-grid{gap:4px!important;grid-template-columns:minmax(180px,2.6fr) 95px minmax(180px,2.1fr) 95px minmax(105px,1.1fr) 72px!important}
body.v26-authenticated #m6Editor .m6-line-grid :is(input,select,textarea){height:30px!important;min-height:30px!important;padding:3px 5px!important;font-size:11px!important}
body.v26-authenticated #m6Editor .m6-line-grid>button{width:72px!important;min-height:30px!important;padding:4px 2px!important}
body.v26-authenticated #m6Editor .editor-field>span{font-size:10px}
@media(min-width:1450px){body.v26-authenticated #m6Editor .m6-days-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.v26-authenticated #m6Editor .m6-days-grid .m6-line-grid{grid-template-columns:minmax(150px,2fr) 95px minmax(150px,1.8fr)!important}body.v26-authenticated #m6Editor .m6-days-grid .m6-line-grid>button{width:auto!important}}
@media(max-width:800px){body.v26-authenticated #m6Editor .m6-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.v26-authenticated #m6Editor .m6-line-grid>.editor-field:nth-child(1),body.v26-authenticated #m6Editor .m6-line-grid>.editor-field:nth-child(3){grid-column:1/-1}}


body.v26-authenticated .v26-inline-m1-link-picker{border:1px solid #bcd0e6;border-radius:6px;background:#f7fbff;padding:7px;margin:7px 0}
body.v26-authenticated .v26-inline-m1-link-results{max-height:230px;overflow:auto;display:grid;gap:3px}
body.v26-authenticated .v26-inline-m1-link-choice{display:flex;gap:6px;align-items:start;padding:5px;border-bottom:1px solid #dfe8f2;font-size:11px}
body.v26-authenticated .v26-inline-m1-link-choice input{width:15px;height:15px;flex-shrink:0}

body.v26-authenticated .v26-m6-picker{display:flex!important;align-items:end!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto;padding:3px 0}
body.v26-authenticated .v26-m6-picker .editor-field{flex:0 0 145px;min-width:0;margin:0!important}
body.v26-authenticated .v26-m6-picker button{font-size:11px;white-space:nowrap;padding:6px 8px}
body.v26-authenticated.m6-editor-open #opsPanel{padding:6px 8px!important;margin:0 0 4px!important}
body.v26-authenticated.m6-editor-open #opsPanel>h2{font-size:12px;margin:0 0 2px!important}
body.v26-authenticated.m6-editor-open #opsPanel>.muted{display:none}

body.v26-authenticated .v26-p4-specialist[hidden]{display:none!important}
body.v26-authenticated .v26-p4-specialist select{max-width:340px}

/* R10 M6: only M6 layout. Preserve all M1/M2 UI and business logic. */
body.v26-authenticated #m6Editor .m6-days-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
body.v26-authenticated #m6Editor .m6-catalog-visible{margin:9px 0 4px;padding:8px;border:1px solid #c5d8ed;border-radius:7px;background:#f4f8ff}
body.v26-authenticated #m6Editor .m6-catalog-visible .m6-unified-picker>h3{font-size:13px!important;margin:0 0 3px;color:#173d72}
body.v26-authenticated #m6Editor .m6-catalog-visible .m6-unified-picker>p{font-size:11px;margin:0 0 6px}
body.v26-authenticated #m6Editor .m6-catalog-visible .m6-pick-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body.v26-authenticated #m6Editor .m6-catalog-visible .m6-pick-list{max-height:200px;overflow:auto}
body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid{display:grid!important;grid-template-columns:minmax(220px,2.7fr) 105px minmax(220px,2.3fr) 105px minmax(120px,1.1fr) 76px!important;gap:6px!important;align-items:end}
body.v26-authenticated #m6Editor .m6-line-grid>button{width:76px!important;align-self:end}
body.v26-authenticated #m6Editor .v26-m6-item{padding:7px!important}
body.v26-authenticated #m6Editor .m6-day-D,body.v26-authenticated #m6Editor .m6-day-D1{width:100%;box-sizing:border-box}
@media(max-width:1100px){body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid{grid-template-columns:minmax(180px,2fr) 90px minmax(180px,2fr) 90px!important}body.v26-authenticated #m6Editor .m6-line-grid>button{width:auto!important}}
@media(max-width:700px){body.v26-authenticated #m6Editor .m6-catalog-visible .m6-pick-columns{grid-template-columns:1fr}body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid>.editor-field:first-child,body.v26-authenticated #m6Editor .v26-m6-item .m6-line-grid>.editor-field:nth-child(3){grid-column:1/-1}}

/* R10 V26 inline processing: ONLY M1/M2 records, never M6. */
body.v26-authenticated .rec.v26-m1-record>.v26-inline-operation,
body.v26-authenticated .rec.v26-m2-record>.v26-inline-operation{display:block;position:relative;margin:4px 7px 7px;padding:9px 11px;background:#f2f7ff;border:1px solid #a9c8ec;border-radius:6px;max-width:none;box-shadow:none}
body.v26-authenticated .v26-inline-operation .editor-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
body.v26-authenticated .v26-inline-operation .editor-top h3{font-size:12px;margin:0;color:#173d71}
body.v26-authenticated .v26-inline-operation .editor-field{display:grid;gap:3px;margin:5px 0;font-size:11px}
body.v26-authenticated .v26-inline-operation .editor-field[hidden],body.v26-authenticated .v26-inline-operation [hidden]{display:none!important}
body.v26-authenticated .v26-inline-operation textarea{width:100%;min-height:55px;resize:vertical}
body.v26-authenticated .v26-inline-operation .v26-action-list{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-top:7px}
body.v26-authenticated .v26-inline-operation .v26-action-list button{min-height:31px}
@media(min-width:850px){body.v26-authenticated .v26-inline-operation>.editor-field:has(select){max-width:420px}}

body.v26-authenticated .v26-inline-operation .v26-inline-status-choices{display:flex;flex-wrap:wrap;gap:5px;margin:3px 0}
body.v26-authenticated .v26-inline-operation .v26-inline-status-choices button{padding:5px 9px;border:1px solid #9bb7d8;background:#fff;color:#174877;border-radius:5px;font-size:11px;min-height:29px}
body.v26-authenticated .v26-inline-operation .v26-inline-status-choices button.is-active{background:#1e5098;color:#fff;border-color:#1e5098;font-weight:700}

/* M1/M2 inline editor: confirmation colors only; M6/other views unchanged. */
body.v26-authenticated .v26-inline-operation .v26-action-list button.v26-confirm-update{background:#1d5fb6!important;color:#fff!important;border:1px solid #1d5fb6!important;font-weight:700}
body.v26-authenticated .v26-inline-operation .v26-action-list button.v26-confirm-complete{background:#19804b!important;color:#fff!important;border:1px solid #19804b!important;font-weight:700}
body.v26-authenticated .v26-inline-operation .v26-action-list button.v26-confirm-update:disabled,body.v26-authenticated .v26-inline-operation .v26-action-list button.v26-confirm-complete:disabled{opacity:.6;cursor:wait}

/* R10 V26 visual-only refresh, scoped to M1/M2 row actions (no business or M6 changes). */
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-toggle,
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-record-actions button{
 border-radius:999px!important;min-height:30px;padding:5px 12px!important;
 font-weight:650;letter-spacing:0;white-space:nowrap;
 border:1px solid #9cc3f3;box-shadow:0 2px 4px rgba(22,73,129,.12);
 transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease,filter .15s ease;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-toggle,
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-record-actions button.secondary{
 color:#174785;background:linear-gradient(180deg,#f5f9ff,#dceafe);border-color:#9cc3f3;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-record-actions button.v26-polish-update{
 color:#fff!important;background:linear-gradient(180deg,#3488eb,#0951b7)!important;border-color:#0b59c8!important;
 box-shadow:0 2px 5px rgba(7,79,169,.24);
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-record-actions button.v26-action-success{
 color:#fff!important;background:linear-gradient(180deg,#35a965,#097640)!important;border-color:#11834a!important;
 box-shadow:0 2px 5px rgba(12,110,61,.2);
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-record-actions button.v26-action-transfer{
 color:#fff!important;background:linear-gradient(180deg,#1989a1,#05657a)!important;border-color:#08778c!important;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-record-actions button.v26-action-directive{
 color:#fff!important;background:linear-gradient(180deg,#a05be3,#7532b9)!important;border-color:#813cc3!important;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-record-actions button.v26-action-reject{
 color:#a62839!important;background:linear-gradient(180deg,#fff7f8,#ffe8ec)!important;border-color:#edaeb9!important;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) :is(.v26-row-toggle,.v26-record-actions button):hover:not(:disabled){
 transform:translateY(-1px);box-shadow:0 3px 7px rgba(18,76,136,.2);filter:brightness(1.04);
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) :is(.v26-row-toggle,.v26-record-actions button):focus-visible{
 outline:2px solid #276aca;outline-offset:2px;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) :is(.v26-row-toggle,.v26-record-actions button):disabled{
 opacity:.47;transform:none;box-shadow:none;
}
@media(max-width:700px){body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-record-actions button{padding:4px 8px!important;min-height:28px;font-size:10px}}
@media(prefers-reduced-motion:reduce){body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) :is(.v26-row-toggle,.v26-record-actions button){transition:none!important}}


/* V26 R10: ONLY M1/M2 LIST LEDGERS. No selectors for M6, workflow panels or filters. */
body.v26-authenticated #results:is(.v26-ledger-m1:has(.v26-m1-record),.v26-ledger-m2:has(.v26-m2-record)){
 display:block;overflow-x:auto;overflow-y:visible;border:1px solid #acc7e6;border-radius:6px;
 background:#fff;scrollbar-gutter:stable;
}
body.v26-authenticated #results .v26-ledger-head,
body.v26-authenticated #results .rec.v26-m1-record .v26-row-main,
body.v26-authenticated #results .rec.v26-m2-record .v26-row-main{
 display:grid!important;gap:0!important;align-items:stretch!important;padding:0!important;
 min-height:40px;border:0;background:transparent;
}
body.v26-authenticated #results.v26-ledger-m1 .v26-ledger-head,
body.v26-authenticated #results .rec.v26-m1-record .v26-row-main{
 grid-template-columns:42px 176px 104px minmax(260px,2.4fr) 110px minmax(205px,1.5fr) 105px 125px 310px!important;
 min-width:1450px;
}
body.v26-authenticated #results.v26-ledger-m2 .v26-ledger-head,
body.v26-authenticated #results .rec.v26-m2-record .v26-row-main{
 grid-template-columns:42px 170px 104px minmax(300px,2.6fr) minmax(220px,1.65fr) 115px 135px 310px!important;
 min-width:1450px;
}
body.v26-authenticated #results .v26-ledger-head{
 position:sticky;top:0;z-index:2;background:#e0edfc!important;color:#173b75;
 font-weight:750;font-size:11px;border-bottom:2px solid #91b5df;
}
body.v26-authenticated #results .v26-ledger-heading-cell{
 display:flex;align-items:center;justify-content:center;text-align:center;
 padding:8px 6px;border-right:1px solid #acc7e6;min-width:0;
}
body.v26-authenticated #results .v26-ledger-heading-cell:last-child{border-right:0}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record){
 border:0!important;border-bottom:1px solid #b9d0e8!important;border-radius:0!important;
 box-shadow:none!important;background:#fff!important;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record):nth-child(odd){background:#eef5ff!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-main>span{
 display:flex;align-items:center;min-width:0;padding:6px 7px;border-right:1px solid #bbd0e8;
 font-size:11px;line-height:1.35;overflow-wrap:anywhere;white-space:normal;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-main>span:last-child{border-right:0}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-stt,
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-day{justify-content:center;text-align:center;font-variant-numeric:tabular-nums}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-code{display:block!important;color:#123f79;font-weight:600}
body.v26-authenticated #results .rec .v26-system-detail{display:block;font-size:10px;color:#4b6480;font-weight:400;padding-top:2px}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-description{font-weight:500!important;display:block!important;align-content:center}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-opinion{display:block!important;align-content:center;color:#37587d}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-opinion:empty{visibility:visible}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-kks{display:block!important;align-content:center;text-align:center;background:transparent!important;border-top:0!important;border-bottom:0!important;border-left:0!important;border-radius:0!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-team{display:flex!important;justify-content:center;text-align:center;white-space:normal!important;background:transparent!important;border-top:0!important;border-bottom:0!important;border-left:0!important;border-radius:0!important;font-weight:650}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state{margin:auto 4px;justify-self:stretch;justify-content:center;border-right:0!important;white-space:normal!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;padding:4px 6px}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools .v26-record-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools button{font-size:10px!important;min-height:27px!important;padding:4px 8px!important}
/* Existing expandable history/inline action forms remain attached to their original records. */
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record)>.v26-inline-operation{min-width:0}
@media(max-width:700px){
 body.v26-authenticated #results.v26-ledger-m1 .v26-ledger-head,
 body.v26-authenticated #results.v26-ledger-m2 .v26-ledger-head{display:none!important}
 body.v26-authenticated #results:is(.v26-ledger-m1:has(.v26-m1-record),.v26-ledger-m2:has(.v26-m2-record)){overflow-x:visible;border:0;background:transparent}
 body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record){margin-bottom:4px!important;border:1px solid #b5cbe3!important;border-left:3px solid #2d68b3!important;border-radius:5px!important}
 body.v26-authenticated #results .rec.v26-m1-record .v26-row-main,
 body.v26-authenticated #results .rec.v26-m2-record .v26-row-main{display:grid!important;min-width:0!important;grid-template-columns:36px minmax(95px,1fr) minmax(140px,2fr)!important;gap:0!important}
 body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-main>span{padding:5px 6px!important;border-bottom:1px solid #c7d8ed}
 body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-code{grid-column:2!important;grid-row:1!important}
 body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-day{grid-column:1!important;grid-row:2!important}
 body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-description{grid-column:3!important;grid-row:1 / span 2!important}
 body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-opinion{grid-column:1 / -1!important;grid-row:3!important}
 body.v26-authenticated #results .rec.v26-m1-record .v26-row-kks{grid-column:1 / 3!important;grid-row:4!important}
 body.v26-authenticated #results .rec.v26-m1-record .v26-row-team{grid-column:3!important;grid-row:4!important}
 body.v26-authenticated #results .rec.v26-m2-record .v26-row-team{grid-column:1 / 3!important;grid-row:4!important}
 body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state{grid-column:3!important;grid-row:5!important}
 body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools{grid-column:1 / -1!important;grid-row:6!important;justify-content:flex-end!important}
}

/* R10 UAT - ONLY four approved column-width/alignment refinements.
   Scope: M1/M2 desktop ledger lists; mobile, action buttons, APIs and M6 untouched. */
@media (min-width:701px) {
  body.v26-authenticated #results.v26-ledger-m1 .v26-ledger-head,
  body.v26-authenticated #results .rec.v26-m1-record .v26-row-main {
    grid-template-columns:42px 120px 96px minmax(260px,2.4fr) 110px minmax(245px,1.75fr) 105px 125px 285px!important;
  }
  body.v26-authenticated #results.v26-ledger-m2 .v26-ledger-head,
  body.v26-authenticated #results .rec.v26-m2-record .v26-row-main {
    grid-template-columns:42px 126px 96px minmax(300px,2.6fr) minmax(220px,1.65fr) 115px 135px 265px!important;
  }
  body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-code {
    text-align:center!important;
    align-content:center;
  }
  body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-code .v26-system-detail {
    text-align:center;
  }
}

/* R10 UAT 2026-11-09: ONLY M1 ledger widths + M1/M2 visual status colors and vertical divider.
   Scope strictly limited to ledger records on desktop; M2 column widths, M6 and all actions untouched. */
@media (min-width:701px) {
  body.v26-authenticated #results.v26-ledger-m1 .rec.v26-m1-record .v26-ledger-tools,
  body.v26-authenticated #results.v26-ledger-m2 .rec.v26-m2-record .v26-ledger-tools {
    border-left:1px solid #9dbce0!important;
  }
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state {
  font-weight:650;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state.v26-state-pending {background:#fff1d1!important;color:#865000!important;border-color:#f1d59b!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state.v26-state-progress {background:#dceeff!important;color:#145c9f!important;border-color:#a4c9f2!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state.v26-state-material {background:#ffdfca!important;color:#9b4216!important;border-color:#eeb18b!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state.v26-state-shutdown {background:#eadbff!important;color:#6538a2!important;border-color:#c8aaf0!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state.v26-state-confirm {background:#fff2b8!important;color:#865a00!important;border-color:#e8c661!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state.v26-state-not-updated {background:#edf0f4!important;color:#536172!important;border-color:#d2d8e0!important}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-row-state.v26-state-complete {background:#d9f5e0!important;color:#176a36!important;border-color:#a5dfb7!important}

/* R10 UAT: only seven-item M2 counters and admin view/bell controls. */
body.v26-authenticated #m2Counters{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
body.v26-authenticated #m2Counters .m2-summary-item{cursor:pointer;min-width:0;padding:5px 2px;min-height:44px}
body.v26-authenticated #m2Counters .m2-summary-item.selected{outline:2px solid #1962c8;outline-offset:-2px;background:#dbeafe}
body.v26-authenticated #m2Counters .m2-summary-item[data-status="Hoàn thành"]{border-top-color:#159570;background:#ecfdf5}
body.v26-authenticated #m2Counters .m2-summary-item[data-status="Đang xử lý"]{border-top-color:#2563eb}
body.v26-authenticated #m2Counters .m2-summary-item strong{font-size:16px}
.v26-role-picker{display:flex;gap:5px;align-items:center;font-size:11px;font-weight:600;white-space:nowrap}
.v26-role-picker select{max-width:230px;padding:5px;border:1px solid #a7bbd6;border-radius:6px;font-size:12px;background:#fff}
#v26NotifTop{position:relative;min-width:36px;font-size:19px}
.v26-bell-count{position:absolute;top:-7px;right:-6px;background:#d52d3a;color:white;border-radius:50%;min-width:17px;height:17px;font-size:10px;display:grid;place-items:center;padding:1px}
@media(max-width:850px){body.v26-authenticated #m2Counters{grid-template-columns:repeat(4,minmax(0,1fr))}.v26-role-picker span{display:none}.v26-role-picker select{max-width:145px}}

/* R10 UAT role audit: compact PX2/P4/other-role action surfaces only; PX1 approved layout unchanged. */
body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools .v26-record-actions{gap:3px!important;flex-wrap:wrap;justify-content:flex-end}
body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools .v26-record-actions button{font-size:9px!important;min-height:24px!important;min-width:0!important;padding:3px 6px!important;border-radius:12px!important}
body.v26-authenticated .v26-role-picker select{max-width:245px;font-size:11px}

/* V26 role/workflow audit: real compact bar, not cosmetic button shrinking.
   Existing PX1 list and M2 column sizing are preserved. */
body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools{
 flex-wrap:nowrap!important;gap:4px!important;justify-content:flex-end;min-width:0!important;
}
body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools .v26-compact-action-bar{
 flex-wrap:nowrap!important;gap:4px!important;min-width:0!important;margin:0!important;
}
body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools :is(.v26-row-toggle,.v26-compact-action-bar button){
 font-size:10px!important;min-height:28px!important;padding:3px 7px!important;border-radius:14px!important;
 white-space:nowrap!important;flex:0 1 auto!important;
}
body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools .v26-more-operations{
 background:#f2f6fd!important;color:#1a4d82!important;border-color:#a9c3e5!important;
}
@media(max-width:700px){
 body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools{flex-wrap:wrap!important;}
 body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools .v26-compact-action-bar{flex-wrap:wrap!important;}
}

/* Final approved M1 inline layout: no Detail button; a compact metadata line under the defect. */
body.v26-authenticated .v26-m1-mini-detail{display:block;font-size:9px;line-height:1.2;font-weight:400;color:#5c7190;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.v26-authenticated .v26-m1-inline-more{cursor:pointer}
body.v26-authenticated .v26-m1-inline-more:focus-visible{outline:2px solid #2475d7;outline-offset:2px}
body.v26-authenticated .v26-m1-record>.v26-inline-operation{padding:6px 9px;margin:3px 5px 5px}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .editor-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:2px}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .editor-top h3{flex:1 1 260px;font-size:12px}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .editor-top .v26-m1-status-inline{display:flex;flex:0 1 auto;gap:5px;align-items:center;margin:0!important}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .editor-top .v26-m1-status-inline>span{font-size:10px;white-space:nowrap}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .v26-inline-status-choices{display:flex;gap:3px;flex-wrap:wrap;margin:0}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .v26-inline-status-choices button{padding:3px 6px;min-height:25px;font-size:10px}
body.v26-authenticated .v26-m1-record>.v26-inline-operation textarea{min-height:48px}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .editor-field{margin:3px 0}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .v26-action-list{margin-top:3px;gap:4px}
body.v26-authenticated .v26-m1-record>.v26-inline-operation .v26-action-list button{min-height:26px;padding:3px 7px;font-size:10px}
@media(max-width:900px){body.v26-authenticated .v26-m1-record>.v26-inline-operation .editor-top .v26-m1-status-inline{flex:1 1 100%}}

/* V28 — Presentation-only M1/M2 ledger optimization. The authorized editor still
   exposes all actions; server permissions, API and M6 are unchanged. */
@media(min-width:701px){
 body.v26-authenticated #results.v26-ledger-m1 .v26-ledger-head,
 body.v26-authenticated #results .rec.v26-m1-record .v26-row-main{
  grid-template-columns:42px 120px 96px minmax(330px,2.85fr) 110px minmax(295px,2.2fr) 105px 125px 190px!important;
  min-width:1350px!important;
 }
 body.v26-authenticated #results.v26-ledger-m2 .v26-ledger-head,
 body.v26-authenticated #results .rec.v26-m2-record .v26-row-main{
  grid-template-columns:42px 126px 96px minmax(360px,3fr) minmax(275px,2.1fr) 115px 135px 190px!important;
  min-width:1270px!important;
 }
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools,
body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools{
 justify-content:center!important;gap:4px!important;flex-wrap:wrap!important;padding:3px 4px!important;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools .v26-record-actions,
body.v26-authenticated.v26-compact-nonpx1-actions #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-ledger-tools .v26-compact-action-bar{
 display:flex;flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;
}
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-m1-mini-detail{
 display:block;font-size:9px;color:#5c7190;margin-top:2px;line-height:1.2;white-space:normal;
}


/* V29: presentation-only inline M1/M2 edit/finish forms. Rights and handlers unchanged. */
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29{padding:7px 9px!important;margin:3px 5px 5px!important;min-height:0!important}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .editor-top{display:flex;align-items:center;gap:7px;margin:0 0 3px!important;flex-wrap:wrap}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .editor-top h3{flex:1 1 190px;min-width:0;margin:0!important;font-size:12px}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29>.muted{margin:0 0 4px!important;font-size:10px;line-height:1.2}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29>.editor-field{margin:3px 0!important}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29>.editor-field textarea{min-height:48px!important;max-height:160px}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .v26-editor-compact-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:7px;flex-wrap:wrap;margin:3px 0 0}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .v26-editor-compact-foot>.editor-field{flex:0 1 290px;min-width:175px;margin:0!important}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .v26-editor-compact-foot>.editor-field[hidden]{display:none!important}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .v26-editor-compact-foot>.v26-action-list{flex:1 1 auto;margin:0!important;align-self:flex-end;gap:5px}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .v26-editor-compact-foot .v26-action-list button{min-height:27px;padding:4px 8px}
/* V29.1: never hide a server-authorized editor action solely via CSS. */
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout{background:#f7fff9;border-color:#91cfaa}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout .v26-editor-heading-actions{display:flex;gap:5px;align-items:center;justify-content:flex-end}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout .v26-editor-heading-actions button{background:#15834a!important;color:#fff!important;border-color:#15834a!important;padding:4px 9px;min-height:27px;font-size:11px}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout>.editor-field:not(.v26-editor-main-note),
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout>.v26-directive-recipients,
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout>.v26-inline-m1-link-picker,
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout>.v26-editor-supplementary-actions{display:none!important}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout>.editor-field.v26-editor-main-note>span{font-weight:650}
body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout>.editor-field.v26-editor-main-note textarea{min-height:58px!important}
@media(max-width:700px){body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .editor-top{gap:4px}body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .v26-editor-compact-foot>.editor-field{flex:1 1 100%}body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29 .v26-editor-compact-foot>.v26-action-list{justify-content:flex-end}}

body.v26-authenticated .v26-inline-operation.v26-editor-layout-v29.v26-editor-finish-layout .editor-top .v26-m1-status-inline{display:none!important}

/* V29.1: keep server-authorized M1/M2 row actions visible for every role.
   Scoped to the list (not editor); does not synthesize any permission. */
body.v26-authenticated #results .rec:is(.v26-m1-record,.v26-m2-record) .v26-compact-action-bar>.v26-m1m2-entry-action{
 display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto;
 align-items:center;justify-content:center;
}
