html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:#f6f7fb;color:#101828}
*{box-sizing:border-box}button,input,select{font:inherit}button{cursor:pointer}
#trailcore-v12-root{position:fixed;inset:0;width:100vw;height:100vh;overflow:hidden;background:#f6f7fb}
.tc12-app{display:grid;grid-template-columns:250px minmax(0,1fr);height:100vh}
.tc12-side{display:flex;flex-direction:column;background:linear-gradient(180deg,#111827,#09111f);color:#fff;overflow:auto}
.tc12-brand{display:flex;align-items:center;gap:11px;padding:19px;border-bottom:1px solid rgba(255,255,255,.08)}.tc12-logo{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#fff;color:#111827;font-size:11px;font-weight:900}.tc12-brand b,.tc12-brand span{display:block}.tc12-brand b{font-size:14px}.tc12-brand span{font-size:10px;color:#98a2b3;margin-top:2px}
.tc12-side nav{flex:1;padding:13px 9px}.tc12-side nav button{display:flex;gap:9px;align-items:center;width:100%;min-height:39px;margin:2px 0;padding:9px 11px;border:0;border-radius:9px;background:transparent;color:#cbd5e1;text-align:left;font-size:11px}.tc12-side nav button i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.6}.tc12-side nav button:hover{background:rgba(255,255,255,.06);color:#fff}.tc12-side nav button.active{background:#fff;color:#101828;font-weight:800}.tc12-foot{display:flex;justify-content:space-between;padding:14px 18px;border-top:1px solid rgba(255,255,255,.08);font-size:9px;color:#667085}
.tc12-main{min-width:0;height:100vh;overflow:auto}.tc12-top{position:sticky;top:0;z-index:20;min-height:72px;display:flex;justify-content:space-between;align-items:center;padding:10px 28px;background:rgba(255,255,255,.97);border-bottom:1px solid #e4e7ec}.tc12-top b,.tc12-top span{display:block}.tc12-top b{font-size:14px}.tc12-top span{font-size:10px;color:#667085}.tc12-live{padding:6px 9px;border-radius:999px;background:#ecfdf3;color:#027a48!important;font-size:9px!important;font-weight:900}
.tc12-content{max-width:1680px;margin:0 auto;padding:28px 32px 48px}.tc12-head,.tc12-ophead{position:relative;padding:21px 23px;margin-bottom:16px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.tc12-head small,.tc12-ophead small{font-size:9px;letter-spacing:.11em;font-weight:900;color:#667085}.tc12-head h1,.tc12-ophead h1{margin:6px 0 4px;font-size:27px;letter-spacing:-.03em}.tc12-head p,.tc12-ophead p{margin:0;color:#667085;font-size:11px}.tc12-head>span,.tc12-ophead>span{position:absolute;right:22px;top:20px;padding:6px 9px;border-radius:999px;background:#ecfdf3;color:#027a48;font-size:9px;font-weight:900}
.tc12-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:16px}.tc12-kpi{min-height:108px;padding:15px;border:1px solid #e4e7ec;border-radius:11px;background:#fff;text-align:left}.tc12-kpi:hover{box-shadow:0 7px 22px rgba(16,24,40,.07);transform:translateY(-1px)}.tc12-kpi span,.tc12-kpi strong,.tc12-kpi small{display:block}.tc12-kpi span{font-size:10px;color:#667085;min-height:25px}.tc12-kpi strong{font-size:27px;margin:8px 0}.tc12-kpi small{font-size:9px;color:#98a2b3}.tc12-kpi.danger{border-color:#fecdca;background:#fffbfa}.tc12-kpi.danger strong{color:#b42318}.tc12-kpi.warn{border-color:#fedf89;background:#fffcf5}.tc12-kpi.warn strong{color:#b54708}.tc12-kpi.good{border-color:#abefc6;background:#f6fef9}.tc12-kpi.good strong{color:#067647}
.tc12-card{overflow:hidden;margin-bottom:16px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.tc12-cardhead{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #f2f4f7}.tc12-cardhead h3{margin:0;font-size:12px}.tc12-cardhead span{font-size:9px;color:#98a2b3}
.tc12-flow{display:flex;align-items:center;gap:7px;overflow:auto;padding:17px}.tc12-flow button{min-width:124px;padding:13px 10px;border:1px solid #e4e7ec;border-radius:10px;background:#fafbfc}.tc12-flow button i{display:grid;place-items:center;width:25px;height:25px;margin:0 auto 7px;border-radius:50%;background:#101828;color:#fff;font-size:9px;font-style:normal}.tc12-flow button b{font-size:9px}.tc12-flow>span{color:#98a2b3}
.tc12-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tc12-agebox{padding:16px}.tc12-age{margin-bottom:12px}.tc12-age>div{display:flex;justify-content:space-between;font-size:9px;color:#475467;margin-bottom:5px}.tc12-age i{display:block;height:7px;border-radius:999px;background:#f2f4f7;overflow:hidden}.tc12-age em{display:block;height:100%;background:#344054;border-radius:inherit}
.tc12-actions{display:grid}.tc12-actions button{display:flex;justify-content:space-between;align-items:center;min-height:45px;padding:0 16px;border:0;border-bottom:1px solid #f2f4f7;background:#fff;color:#475467;font-size:10px}.tc12-actions button:hover{background:#f8fafc}.tc12-actions b{min-width:32px;padding:5px 7px;border-radius:7px;background:#f2f4f7}
.tc12-tablewrap{overflow:auto}.tc12-table{width:100%;border-collapse:collapse}.tc12-table th,.tc12-table td{padding:10px 12px;border-bottom:1px solid #f2f4f7;text-align:left;font-size:10px}.tc12-table th{background:#fafbfc;color:#667085;font-size:9px;text-transform:uppercase}.tc12-table tbody tr[data-name]{cursor:pointer}.tc12-table tbody tr:hover{background:#f8fafc}.tc12-table td span{display:inline-block;padding:4px 7px;border-radius:999px;background:#f2f4f7}.tc12-score{display:inline-grid;place-items:center;min-width:36px;padding:5px 7px;border-radius:8px;background:#ecfdf3;color:#027a48}
.tc12-oplayout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:18px}.tc12-opnav{position:sticky;top:88px;align-self:start;display:grid;gap:4px;padding:10px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.tc12-opnav button{border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:8px;font-size:10px;color:#475467}.tc12-opnav button.active{background:#101828;color:#fff;font-weight:800}
.tc12-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px;margin-bottom:12px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}.tc12-toolbar button,.tc12-toolbar input,.tc12-toolbar select{height:34px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;padding:0 10px;font-size:10px;color:#344054}.tc12-toolbar input{min-width:220px;flex:1}.tc12-toolbar [data-count]{padding:6px 8px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:9px;font-weight:800}
.tc12-appgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tc12-appcard,.tc12-listlink{display:grid;grid-template-columns:1fr auto;gap:5px;padding:16px;border:1px solid #e4e7ec;border-radius:11px;background:#fff;text-align:left}.tc12-appcard b,.tc12-listlink b{font-size:12px}.tc12-appcard span,.tc12-listlink span{font-size:9px;color:#98a2b3}.tc12-appcard i,.tc12-listlink i{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;color:#98a2b3}.tc12-modmetrics{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:16px}.tc12-modmetric{padding:15px;border:1px solid #e4e7ec;border-radius:11px;background:#fff;text-align:left}.tc12-modmetric span,.tc12-modmetric b{display:block}.tc12-modmetric span{font-size:10px;color:#667085}.tc12-modmetric b{font-size:24px;margin-top:7px}.tc12-listgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}.tc12-links{display:flex;gap:10px}.tc12-links a{padding:10px 12px;border-radius:8px;background:#101828;color:#fff;text-decoration:none;font-size:10px}
.tc12-empty{padding:28px;text-align:center;color:#98a2b3;font-size:10px}.tc12-error{padding:20px;border:1px solid #fecdca;border-radius:10px;background:#fffbfa;color:#b42318}.tc12-error pre{white-space:pre-wrap;font-size:10px}
@media(max-width:1250px){.tc12-kpis{grid-template-columns:repeat(4,1fr)}.tc12-appgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.tc12-app{grid-template-columns:1fr}.tc12-side{display:none}.tc12-kpis{grid-template-columns:repeat(2,1fr)}.tc12-two,.tc12-oplayout{grid-template-columns:1fr}.tc12-opnav{position:static;grid-template-columns:repeat(2,1fr)}.tc12-content{padding:18px}}


/* =========================================================
   TrailCore V12.1 — Hierarchical Enterprise Navigation
   ========================================================= */
.tc121-nav{padding:12px 9px!important;overflow-y:auto;overflow-x:hidden}
.tc121-navgroup{margin:2px 0}
.tc121-navrow{display:grid;grid-template-columns:minmax(0,1fr) 31px;align-items:center;gap:2px}
.tc121-navmain{display:flex!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:39px!important;padding:9px 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#cbd5e1!important;text-align:left!important;font-size:11px!important}
.tc121-navmain i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.6;flex:0 0 auto}
.tc121-navmain span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc121-navmain:hover{background:rgba(255,255,255,.06)!important;color:#fff!important}
.tc121-navmain.active{background:rgba(255,255,255,.10)!important;color:#fff!important;font-weight:800!important}
.tc121-toggle{width:31px!important;height:31px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#98a2b3!important;font-size:14px!important;transition:transform .15s ease}
.tc121-toggle:hover{background:rgba(255,255,255,.06)!important;color:#fff!important}
.tc121-navgroup.expanded .tc121-toggle{transform:rotate(180deg)}
.tc121-subnav{display:none;margin:3px 0 7px 14px;padding:2px 0 3px 11px;border-left:1px solid rgba(255,255,255,.10)}
.tc121-navgroup.expanded .tc121-subnav{display:grid;gap:1px}
.tc121-section{padding:10px 8px 4px;color:#667085;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.tc121-subitem{display:flex;align-items:center;width:100%;min-height:30px;padding:6px 8px;border:0;border-radius:7px;background:transparent;color:#98a2b3;text-decoration:none;text-align:left;font-size:10px;line-height:1.25}
.tc121-subitem:hover{background:rgba(255,255,255,.055);color:#fff}
.tc121-subitem.active{background:#fff;color:#101828;font-weight:800}
.tc121-subitem span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc12-side nav.tc121-nav button{margin:0}
@media(max-width:900px){.tc121-nav{display:none}}


/* =========================================================
   TrailCore V12.2 — Business Certification & Flow Detail
   ========================================================= */
.tc122-detailhead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:start;padding:20px 22px;margin-bottom:14px;border:1px solid #e4e7ec;border-radius:13px;background:#fff}
.tc122-detailhead>button{height:34px;padding:0 10px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font-size:10px}
.tc122-detailhead small{font-size:9px;font-weight:900;letter-spacing:.11em;color:#667085}
.tc122-detailhead h1{margin:5px 0 3px;font-size:23px}.tc122-detailhead p{margin:0;color:#667085;font-size:10px}
.tc122-detailhead>span,.tc122-closebox>strong{padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900}
.tc122-detailhead .ok,.tc122-closebox .ok{background:#ecfdf3;color:#027a48}.tc122-detailhead .hold,.tc122-closebox .hold{background:#fffaeb;color:#b54708}
.tc122-qtygrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
.tc122-qty{min-height:92px;padding:14px;border:1px solid #e4e7ec;border-radius:11px;background:#fff}.tc122-qty span,.tc122-qty b{display:block}.tc122-qty span{font-size:9px;color:#667085}.tc122-qty b{font-size:24px;margin-top:11px}.tc122-qty.warn{border-color:#fedf89;background:#fffcf5}.tc122-qty.danger{border-color:#fecdca;background:#fffbfa}.tc122-qty.good{border-color:#abefc6;background:#f6fef9}
.tc122-two{display:grid;grid-template-columns:1.3fr 1fr;gap:14px}.tc122-timeline{padding:16px}.tc122-timeitem{display:grid;grid-template-columns:28px 1fr;gap:10px;position:relative;padding-bottom:14px}.tc122-timeitem i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#101828;color:#fff;font-size:9px;font-style:normal;font-weight:800}.tc122-timeitem:not(:last-child):after{content:"";position:absolute;left:12px;top:27px;bottom:0;width:1px;background:#e4e7ec}.tc122-timeitem b,.tc122-timeitem span{display:block}.tc122-timeitem b{font-size:10px}.tc122-timeitem span{margin-top:2px;font-size:9px;color:#667085}
.tc122-closebox{padding:18px}.tc122-closebox ul{margin:14px 0 0;padding-left:18px}.tc122-closebox li,.tc122-closebox p{font-size:10px;color:#475467;line-height:1.6}
.tc122-historygrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tc122-history{overflow:hidden;border:1px solid #e4e7ec;border-radius:12px;background:#fff}
.tc122-rulegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.tc122-rule{display:flex;justify-content:space-between;align-items:center;padding:13px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}.tc122-rule span{font-size:10px;text-transform:capitalize}.tc122-rule b{padding:5px 7px;border-radius:999px;font-size:8px}.tc122-rule b.ok{background:#ecfdf3;color:#027a48}.tc122-rule b.hold{background:#fffaeb;color:#b54708}
@media(max-width:1100px){.tc122-qtygrid{grid-template-columns:repeat(3,1fr)}.tc122-historygrid,.tc122-two{grid-template-columns:1fr}}
@media(max-width:700px){.tc122-qtygrid,.tc122-rulegrid{grid-template-columns:1fr 1fr}.tc122-detailhead{grid-template-columns:1fr}}


/* =========================================================
   TrailCore V12.3E — HR Runtime Wiring
   ========================================================= */
.tc123e-hrkpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px}
.tc123e-hrkpi,.tc123e-processcard{padding:14px;border:1px solid #e4e7ec;border-radius:11px;background:#fff;text-align:left}
.tc123e-hrkpi span,.tc123e-hrkpi b,.tc123e-hrkpi small,.tc123e-processcard span,.tc123e-processcard b,.tc123e-processcard small{display:block}
.tc123e-hrkpi span,.tc123e-processcard span{font-size:9px;color:#667085}.tc123e-hrkpi b,.tc123e-processcard b{font-size:24px;margin:8px 0}.tc123e-hrkpi small,.tc123e-processcard small{font-size:8px;color:#98a2b3}
.tc123e-flow{display:flex;align-items:center;gap:7px;overflow:auto;padding:17px}.tc123e-flow div{min-width:100px;padding:12px;border:1px solid #e4e7ec;border-radius:10px;text-align:center}.tc123e-flow i{display:grid;place-items:center;width:24px;height:24px;margin:0 auto 7px;border-radius:50%;background:#101828;color:#fff;font-size:8px;font-style:normal}.tc123e-flow b{font-size:9px}.tc123e-flow>span{color:#98a2b3}
.tc123e-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px}.tc123e-links button{padding:11px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;text-align:left;font-size:10px}.tc123e-links button:hover{background:#f8fafc}
.tc123e-processgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.tc123e-notice{padding:18px;color:#475467;font-size:10px;line-height:1.6}
@media(max-width:1100px){.tc123e-hrkpis{grid-template-columns:repeat(3,1fr)}.tc123e-processgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.tc123e-hrkpis,.tc123e-processgrid,.tc123e-links{grid-template-columns:1fr}}

/* TrailCore Libra shared UI system. Styles only; preserves fields and actions. */
:root{--tc-bg:#f4f7fb;--tc-surface:#fff;--tc-text:#182c45;--tc-muted:#5c6f85;--tc-line:#dfe6ef;--tc-primary:#175da8;--tc-ring:#a8cff7;--tc-radius:10px}
#trailcore-v12-root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:14px;color:var(--tc-text);background:var(--tc-bg)}
#trailcore-v12-root button,#trailcore-v12-root input,#trailcore-v12-root select,#trailcore-v12-root textarea{font-family:inherit}
#trailcore-v12-root button:focus-visible,#trailcore-v12-root a:focus-visible,#trailcore-v12-root input:focus-visible,#trailcore-v12-root select:focus-visible,#trailcore-v12-root textarea:focus-visible{outline:3px solid var(--tc-ring)!important;outline-offset:2px}
#trailcore-v12-root button:disabled{cursor:not-allowed!important;opacity:.5}
.tc12-app{grid-template-columns:248px minmax(0,1fr)!important}
.tc12-brand{padding:22px 18px!important}.tc12-brand b{font-size:16px!important}.tc12-brand span{font-size:11px!important;line-height:1.5}
.tc12-side{background:#101d30!important;scrollbar-width:thin;scrollbar-color:#3a4b61 #101d30}
.tc12-side .tc121-nav{padding:12px 10px!important}.tc12-side nav button{font-size:13px!important;line-height:1.45;min-height:39px!important;border-radius:7px!important}
.tc12-side .tc121-navmain.active{background:#243c59!important;color:#fff!important}.tc12-side .tc121-subitem.active{background:#213c5b!important;color:#fff!important;border-left:3px solid #71b5ff}
.tc121-subnav{margin-left:15px!important;padding-left:10px!important;border-left:1px solid #ffffff1a}.tc121-section{font-size:10px!important;color:#9bb0c8!important;padding:17px 10px 7px!important;font-weight:650;letter-spacing:.08em}
.tc12-side .tc121-subitem{font-size:12px!important;min-height:35px!important}.tc12-foot{font-size:10px!important;letter-spacing:.03em;color:#a5b4c8!important}
.tc12-top{min-height:68px!important;padding:14px 28px!important;background:#fff!important}.tc12-top b{font-size:16px!important}.tc12-top span{font-size:12px!important;line-height:1.6;color:var(--tc-muted)!important}.tc12-live{font-size:10px!important}
.tc12-content{padding:24px 28px 40px!important;max-width:1520px!important}
.tc12-head,.tc12-ophead{padding:22px 24px!important;border-radius:12px!important;border-color:var(--tc-line)!important;box-shadow:none!important}
.tc12-head h1,.tc12-ophead h1{font-size:25px!important;line-height:1.25;letter-spacing:-.6px!important;color:var(--tc-text)}
.tc12-head p,.tc12-ophead p{font-size:13px!important;line-height:1.65;color:var(--tc-muted)!important}.tc12-head small,.tc12-ophead small{font-size:10px!important}
.tc12-card,.tc122-history{border-color:var(--tc-line)!important;border-radius:var(--tc-radius)!important;box-shadow:0 1px 3px #13283d04}
.tc12-cardhead{padding:16px 18px!important;background:#fff;border-bottom:1px solid #e8edf4!important}.tc12-cardhead h3{font-size:14px!important;font-weight:650}.tc12-cardhead span{font-size:11px!important;color:var(--tc-muted)!important}
.tc12-kpis{gap:12px!important}.tc12-kpi{padding:17px!important;min-height:118px!important;border-radius:10px!important}.tc12-kpi span{font-size:12px!important;color:#52657b!important}.tc12-kpi strong{font-size:28px!important;line-height:1.2}.tc12-kpi small{font-size:11px!important;color:#60748b!important}
.tc12-toolbar{padding:12px 14px!important;gap:9px!important;border:1px solid var(--tc-line)!important;border-radius:9px!important;background:#fff!important;align-items:center;flex-wrap:wrap}
.tc12-content button:not(.tc12-kpi):not(.tc12-listlink):not(.tc12-appcard){font-size:13px;line-height:1.4;min-height:38px;border-radius:7px}
.tc12-toolbar button,.tc12-opnav button,.tc12-links button{padding:9px 14px!important;border:1px solid #d5dfeb!important;background:#fff;color:#284766;font-weight:600}
.tc12-toolbar button:hover,.tc12-opnav button:hover{background:#f0f6ff!important;border-color:#abc6e7!important}.tc12-opnav button.active{background:#edf5ff!important;color:#145ba9!important}
.tc12-toolbar input,.tc12-toolbar select{height:39px!important;border:1px solid #ccd8e5!important;border-radius:6px!important;padding:8px 11px!important;font-size:13px!important;color:var(--tc-text);max-width:100%}
.tc12-table,.tc13-p3b-table{font-size:13px!important;border-collapse:separate!important;border-spacing:0;width:100%}
.tc12-table th,.tc13-p3b-table th{padding:12px 14px!important;background:#eff4f9!important;color:#47617b!important;font-size:11px!important;font-weight:650!important;line-height:1.45;text-transform:none!important;white-space:nowrap;border-bottom:1px solid #dce5ef!important}
.tc12-table td,.tc13-p3b-table td{padding:12px 14px!important;font-size:13px!important;line-height:1.5;border-bottom:1px solid #eaf0f5!important;color:#29415c}
.tc12-table tbody tr:nth-child(even),.tc13-p3b-table tbody tr:nth-child(even){background:#fafcfe}.tc12-table tbody tr:hover{background:#f0f6ff!important}.tc12-table td span{font-size:11px;padding:4px 8px!important}
.tc12-tablewrap,.tc13-p3b-grid-wrap{overflow:auto!important;max-width:100%;scrollbar-width:thin}
.tc12-empty,.tc12-error{padding:26px!important;font-size:14px!important;line-height:1.7}.tc12-error pre{white-space:pre-wrap;overflow-wrap:anywhere}
.tc12-actions button{font-size:13px!important;padding:12px 18px!important;min-height:46px!important}.tc12-age>div{font-size:12px!important}.tc12-flow button b,.tc123e-flow b{font-size:12px!important}.tc12-flow button{min-width:135px!important}.tc12-flow{gap:9px!important}
.tc12-listlink,.tc12-appcard{font-size:14px!important;padding:18px!important}.tc12-modmetric span,.tc12-appcard p,.tc12-listlink small{font-size:12px!important;color:var(--tc-muted)!important}
.tc122-qty span,.tc122-timeitem b,.tc122-rule span{font-size:12px!important}.tc122-timeitem span,.tc122-closebox p,.tc122-closebox li{font-size:12px!important;line-height:1.7}.tc122-qty b{font-size:26px!important}
.tc13-wrap{width:100%;max-width:1240px!important;margin:0 auto!important;padding:26px 30px 50px!important;background:var(--tc-bg);min-height:100%;overflow:auto}
.tc13-breadcrumb{font-size:12px!important;line-height:1.5;color:#60758c!important;margin-bottom:18px!important}.tc13-head{gap:18px!important;align-items:center!important;margin-bottom:22px!important;flex-wrap:wrap}.tc13-head h1{font-size:25px!important;line-height:1.3;letter-spacing:-.5px;color:var(--tc-text)!important}.tc13-sub{font-size:13px!important;color:var(--tc-muted)!important;margin-top:6px!important}
.tc13-card{border:1px solid var(--tc-line)!important;border-radius:12px!important;padding:24px!important;box-shadow:0 2px 8px #122b4304!important}
.tc13-section-title{font-size:15px!important;font-weight:650!important;padding-bottom:14px;margin-bottom:20px!important;border-bottom:1px solid #e7edf4;color:#203e5a!important}
.tc13-grid,.tc13-p3b3-section-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 24px!important;align-items:start}
.tc13-field{min-width:0}.tc13-field label{font-size:12px!important;font-weight:600!important;color:#415c76!important;line-height:1.5;margin-bottom:7px!important}.tc13-required{color:#bc3030!important}
.tc13-control,.tc13-field input:not([type="checkbox"]):not([type="radio"]),.tc13-field select,.tc13-field textarea{width:100%!important;max-width:100%!important;min-height:42px!important;box-sizing:border-box!important;border:1px solid #c9d6e4!important;border-radius:7px!important;background:#fff!important;color:#1b354f!important;padding:9px 12px!important;font:400 14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;box-shadow:0 1px 2px #183a5c04!important}
textarea.tc13-control,.tc13-field textarea{min-height:100px!important;resize:vertical!important}.tc13-control[readonly],.tc13-control:disabled,.tc13-field input[readonly]{background:#f3f6fa!important;color:#60758a!important;border-color:#dfe6ee!important}
.tc13-field input[type="checkbox"],.tc13-field input[type="radio"]{width:17px!important;height:17px!important;min-height:0!important;accent-color:var(--tc-primary)}
.tc13-field small{font-size:11px!important;line-height:1.5;color:#647b92!important}.tc13-p3b-wide{grid-column:1/-1!important}
.tc13-actions{display:flex!important;justify-content:flex-end!important;flex-wrap:wrap;gap:10px!important;margin-top:24px!important;padding-top:18px;border-top:1px solid #e8eef5}
.tc13-btn,.tc13-actions button,.tc13-p3b1-dialog footer button{min-height:40px!important;padding:9px 17px!important;border:1px solid #ccd8e5!important;border-radius:7px!important;background:#fff;color:#294963;font-size:13px!important;font-weight:600!important}
.tc13-btn-primary,.tc13-actions button.primary,.tc13-p3b1-save{background:var(--tc-primary)!important;border-color:var(--tc-primary)!important;color:white!important}.tc13-btn-danger{background:#fff5f4!important;color:#a93225!important;border-color:#efc7c2!important}
.tc13-note{font-size:13px!important;line-height:1.6!important;padding:12px 15px!important;border-radius:7px!important}.tc13-check{font-size:13px!important;line-height:1.6}.tc13-badge{font-size:10px!important;padding:6px 10px!important}
.tc13-p3b3-section{margin:22px 0!important;border:1px solid var(--tc-line)!important;border-radius:9px!important;overflow:hidden}.tc13-p3b3-section-head{padding:13px 16px!important;background:#f5f8fc!important;font-size:13px!important;font-weight:650!important}.tc13-p3b3-section-grid{padding:18px!important}
.tc13-p3b-table-head{padding:14px 16px!important;font-size:14px!important}.tc13-p3b-table input,.tc13-p3b-table select{min-height:36px!important;font-size:13px!important;border:1px solid #cedae7!important;border-radius:5px!important;padding:7px 9px!important;min-width:95px}
.tc13-p3b1-dialog{width:min(980px,94vw)!important;max-height:90dvh!important;border:1px solid #e0e7ef;border-radius:12px!important;box-shadow:0 24px 80px #10283e33!important}.tc13-p3b1-dialog header{padding:20px 24px!important;background:#f8fafd}.tc13-p3b1-dialog header h2{font-size:20px!important;color:#1a3652!important}.tc13-p3b1-dialog footer{padding:16px 24px!important;border-top:1px solid var(--tc-line);background:#fafcff}.tc13-p3b1-fields{padding:22px!important;gap:18px!important;overflow:auto}.tc13-p3b1-field input{min-height:40px!important;border-radius:6px!important}
.tc13-p3b-link-results,.tc13-p3b1-results{background:#fff!important;border:1px solid #dbe4ef!important;border-radius:8px!important;box-shadow:0 8px 24px #122b4314!important}.tc13-p3b-link-results button,.tc13-p3b1-results button{font-size:13px!important;padding:10px 13px!important;min-height:38px}
@media(min-width:1600px){.tc13-grid,.tc13-p3b3-section-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1100px){.tc12-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.tc12-app{grid-template-columns:215px minmax(0,1fr)!important}.tc12-content{padding:20px!important}.tc13-wrap{padding:20px!important}}
@media(max-width:760px){.tc12-app{grid-template-columns:174px minmax(0,1fr)!important}.tc12-content{padding:14px!important}.tc12-top{padding:12px 16px!important}.tc12-top span{font-size:11px!important}.tc12-two,.tc122-two,.tc122-historygrid,.tc12-oplayout{grid-template-columns:1fr!important}.tc12-opnav{position:static!important}.tc13-grid,.tc13-p3b3-section-grid{grid-template-columns:1fr!important}.tc13-card{padding:18px!important}.tc13-wrap{padding:16px!important}.tc13-head h1{font-size:22px!important}}
@media(max-width:520px){.tc12-app{grid-template-columns:132px minmax(0,1fr)!important}.tc12-brand{padding:16px 10px!important;gap:7px!important}.tc12-brand .tc12-logo{width:28px;height:28px}.tc12-brand b{font-size:12px!important}.tc12-brand span{font-size:9px!important}.tc12-side nav button{font-size:11px!important;min-height:44px!important;padding:8px!important}.tc121-subnav{margin-left:0!important;padding-left:4px!important}.tc12-top{padding:12px!important}.tc12-top b{font-size:13px!important}.tc12-top span{display:none}.tc12-kpis{grid-template-columns:1fr!important}.tc12-content button,.tc13-actions button{min-height:44px!important}.tc13-actions{justify-content:stretch!important}.tc13-actions button{flex:1 1 auto}.tc12-content{padding:10px!important}.tc13-wrap{padding:12px!important}}
@media(prefers-reduced-motion:reduce){#trailcore-v12-root *,#trailcore-v12-root *:before,#trailcore-v12-root *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.tc12-side,.tc12-top,.tc12-toolbar,.tc13-actions{display:none!important}#trailcore-v12-root{position:static!important;height:auto!important;overflow:visible!important}.tc12-app{display:block!important;height:auto!important}.tc12-main{height:auto!important;overflow:visible!important}.tc12-content,.tc13-wrap{padding:0!important;max-width:none!important}.tc12-card,.tc13-card{box-shadow:none!important;break-inside:avoid}}

/* Scoped to the Libra portal; existing enterprise screens keep their styles. */
.libra-portal{padding:26px!important;border:1px solid #e3e8ef!important;border-radius:14px!important;box-shadow:0 3px 14px #12243d05;color:#172b4d;font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.libra-portal>h2{font-size:23px!important;font-weight:700;margin:0 0 20px!important;letter-spacing:-.5px;color:#102a43}
.libra-portal>nav.tc12-toolbar{display:flex;gap:6px;padding:5px!important;margin:0 0 24px!important;background:#f1f5fa!important;border:0!important;border-radius:10px!important;width:fit-content;max-width:100%;flex-wrap:wrap}
.libra-portal button{font:600 13px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:39px;padding:9px 16px;border:1px solid #d8e1ec;border-radius:7px;background:white;color:#34465e;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.libra-portal button:hover{background:#f0f6ff;border-color:#9bbce5;color:#174f94}
.libra-portal button:focus-visible,.libra-portal input:focus-visible,.libra-portal select:focus-visible{outline:3px solid #a9d1ff;outline-offset:2px}
.libra-portal button:disabled{opacity:.5;cursor:wait}
.libra-portal>nav button{border:0;background:transparent;box-shadow:none;white-space:nowrap;padding:10px 18px}
.libra-portal>nav button[aria-current="page"]{background:#fff;color:#1455a0;box-shadow:0 1px 4px #18345122}
.libra-portal [data-panel]>h3{font-size:17px;font-weight:650;margin:0 0 15px;color:#203c5a}
.libra-portal label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#52657c;letter-spacing:.15px}
.libra-portal input,.libra-portal select{box-sizing:border-box;width:100%;min-width:0;height:42px;padding:9px 12px;font:400 14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18324d;background:#fff;border:1px solid #ccd7e4;border-radius:7px;box-shadow:0 1px 2px #16324f05}
.libra-portal input:hover,.libra-portal select:hover{border-color:#9eb3cc}
.libra-portal input[readonly]{background:#f3f6fa;color:#61758c;border-color:#e0e7ef}
.libra-portal input[type="checkbox"]{width:17px;height:17px;accent-color:#1b64b1;box-shadow:none}
.libra-portal [data-panel]>div:has(>label>[data-key="source"]){max-width:520px;margin:0 0 14px!important}
.libra-portal [data-panel]>.tc12-toolbar,.libra-portal [data-entry]>.tc12-toolbar{display:flex;gap:9px;flex-wrap:wrap;background:transparent!important;border:0!important;padding:0!important;margin:0 0 20px!important;box-shadow:none}
.libra-portal button[data-fetch],.libra-portal button[data-search],.libra-portal button[data-save="1"]{background:#175da8;color:white;border-color:#175da8}
.libra-portal button[data-fetch]:hover,.libra-portal button[data-search]:hover,.libra-portal button[data-save="1"]:hover{background:#114d8d;border-color:#114d8d}
.libra-portal [data-choices]:not(:empty){border-top:1px solid #e7edf4;padding-top:18px;margin-top:8px;display:flex;flex-wrap:wrap;gap:8px}
.libra-portal [data-choices]>p{flex:0 0 100%;font-size:12px;font-weight:400;color:#71839a;margin:0 0 5px}
.libra-portal [data-choices]>button{background:#f7faff;border-color:#dce7f4;font-size:12px;color:#315b87;padding:8px 12px;min-height:35px}
.libra-portal [data-entry]:not(:empty){margin-top:24px;padding-top:20px;border-top:1px solid #e7edf4}
.libra-portal [data-status]:empty{display:none}
.libra-portal [data-status]:not(:empty){background:#eff6ff;border-left:3px solid #2d78c5;color:#275d90;border-radius:5px;padding:10px 13px;font-size:13px;margin:0 0 18px}
.libra-portal [data-status][role="alert"]{background:#fff3f0;border-color:#d85c43;color:#9b3928}
.libra-portal table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;border:1px solid #e0e7ef;border-radius:8px;overflow:hidden;margin:12px 0 20px}
.libra-portal th{background:#edf3fa!important;color:#385675!important;font-size:11px!important;font-weight:650;text-align:left;white-space:nowrap;padding:12px!important;border-bottom:1px solid #dce5f0}
.libra-portal td{padding:10px 12px!important;border-bottom:1px solid #edf1f6;color:#28435e;white-space:nowrap}
.libra-portal tr:last-child td{border-bottom:0}.libra-portal tbody tr:nth-child(even){background:#fafcfe}
.libra-portal td input{min-width:100px;height:35px;font-size:13px}
.libra-portal [data-results] h3{font-size:15px;font-weight:650;margin:24px 0 10px}.libra-portal [data-results] p{font-size:12px;color:#6e8095}
@media(max-width:900px){.libra-portal{padding:18px!important}.libra-portal>nav.tc12-toolbar{width:100%}.libra-portal>nav button{padding:9px 12px}.libra-portal [data-entry]>div:first-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){.libra-portal{padding:14px!important}.libra-portal [data-entry]>div:first-child{grid-template-columns:1fr!important}.libra-portal>h2{font-size:20px!important}}

/* Libra sidebar correction: persistent navigation, accessible states. */
.tc12-side{display:flex!important;min-height:0;height:100dvh;overflow:hidden!important}
.tc12-brand,.tc12-foot{flex-shrink:0}
.tc12-side .tc121-nav{flex:1 1 auto;min-height:0;overflow-y:auto!important;overscroll-behavior:contain}
.tc12-side .tc121-toggle{min-height:36px!important;height:36px!important}
.tc12-side .tc121-subitem{line-height:1.45;overflow-wrap:anywhere}
.tc12-side .tc121-section{font-size:10px;letter-spacing:.08em;color:#a5b4c8}
.tc12-side :is(button,a):focus-visible{outline:3px solid #91c7ff!important;outline-offset:-3px}
.tc12-side .tc121-navmain.active{font-weight:700!important}
.tc12-side .tc121-subitem[aria-current="page"]{font-weight:650;color:#fff!important}
@media(max-width:900px){.tc12-side{display:flex!important}}
@media(max-width:520px){.tc12-side .tc121-navmain span{white-space:normal;overflow-wrap:anywhere}.tc12-side .tc121-navrow{grid-template-columns:minmax(0,1fr) 28px}.tc12-side .tc121-toggle{width:28px!important}.tc12-side .tc121-nav{padding:8px 5px!important}.tc12-side .tc121-subitem{font-size:11px!important;padding:8px 5px!important}}
@media print{.tc12-side{display:none!important}}


/* TC_ENTERPRISE_LAUNCHER_V1 — isolated launcher styles */
.tc-launcher{min-height:75vh;background:radial-gradient(ellipse at 80% 0%,#25335a 0%,transparent 45%),linear-gradient(145deg,#0b1020,#141b2d);color:#f7f8fc;border-radius:22px;padding:clamp(20px,4vw,54px);box-sizing:border-box}
.tc-launch-hero{margin-bottom:38px}.tc-launch-kicker{font-size:11px;letter-spacing:.2em;color:#f8a4af;font-weight:750}.tc-launch-hero h1{color:white;font-size:clamp(30px,4vw,52px);margin:14px 0 8px;line-height:1.12}.tc-launch-hero p,.tc-launch-note{color:#b7c2d6}.tc-launch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:20px 12px}.tc-launch-tile{border:0!important;background:transparent!important;color:#fff!important;display:flex!important;flex-direction:column;align-items:center;gap:12px;cursor:pointer;padding:12px!important;min-height:140px!important;transition:transform .18s ease}.tc-launch-tile:hover{transform:translateY(-5px)}.tc-launch-tile:focus-visible{outline:3px solid #fff;outline-offset:3px}.tc-launch-icon{width:78px;height:78px;border-radius:21px;background:linear-gradient(145deg,var(--tc-icon),#18263b);box-shadow:inset 0 1px 1px #ffffff50,0 13px 28px #0005;display:grid;place-items:center;font-size:40px;font-weight:750;color:#fff}.tc-launch-label{font-size:13px;text-align:center;line-height:1.35}.tc-launch-note{font-size:12px;margin-top:34px}.tc-launch-toplinks,.tc-launch-actions{display:flex;gap:8px;align-items:center}.tc-launch-toplinks button,.tc-launch-actions button{border:1px solid #66738b55;background:#1b273b;color:#f3f6ff;border-radius:9px;padding:8px 12px;cursor:pointer}.tc-launch-actions{margin-top:20px}@media(max-width:650px){.tc-launcher{padding:18px;border-radius:14px}.tc-launch-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 3px}.tc-launch-icon{width:57px;height:57px;border-radius:16px;font-size:29px}.tc-launch-tile{min-height:110px!important;padding:6px!important}.tc-launch-label{font-size:11px}.tc-launch-toplinks button{font-size:11px;padding:6px}.tc-launch-hero{margin-bottom:20px}}

/* TC_HOME_FULLWIDTH_V1 */
.tc12-app.tc12-home-layout{grid-template-columns:minmax(0,1fr)!important}
.tc12-home-layout .tc12-side{display:none!important}
.tc12-home-layout .tc12-main{width:100%!important;max-width:none!important;margin-left:0!important;min-width:0!important}

/* TC_LAUNCH_GRID_V2 */
@media(min-width:1101px){.tc-launch-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:24px 12px}.tc-launch-tile{min-width:0}.tc-launch-hero{margin-bottom:28px}}
@media(min-width:651px) and (max-width:1100px){.tc-launch-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.tc-launch-tile{transition:none}.tc-launch-tile:hover{transform:none}}

/* TC_HOME_HEADER_V1 */
.tc12-home-layout .tc-launch-toplinks{display:none!important}

/* TC_WORKSPACE_REDESIGN_V2 — module launchers only; Home and data screens untouched */
.tc-workspace{min-height:calc(100vh - 155px);padding:clamp(18px,3vw,38px)!important}
.tc-workspace .tc-launch-hero{margin-bottom:25px!important}
.tc-workspace .tc-launch-hero h1{font-size:clamp(27px,3vw,40px)!important;margin:8px 0!important}
.tc-workspace-sections{display:grid;gap:17px}
.tc-workspace-section{padding:18px;border:1px solid #ffffff24;border-radius:16px;background:#ffffff09}
.tc-workspace-sectionhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 15px}
.tc-workspace-sectionhead h2{font-size:15px;font-weight:700;color:#f5f7fc;margin:0}
.tc-workspace-sectionhead span{font-size:11px;color:#9aabc5;white-space:nowrap}
.tc-workspace-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tc-workspace-tile{display:flex!important;align-items:center;gap:12px;text-align:left;min-width:0;min-height:78px!important;padding:12px!important;border:1px solid #ffffff1b!important;border-radius:12px!important;background:#ffffff0d!important;color:#f5f8ff!important;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.tc-workspace-tile:hover{background:#ffffff1b!important;border-color:#ffffff4d!important;transform:translateY(-2px)}
.tc-workspace-tile:focus-visible{outline:3px solid #a9d1ff!important;outline-offset:2px}
.tc-workspace-icon{flex:0 0 49px;width:49px;height:49px;border-radius:12px;background:linear-gradient(145deg,var(--tc-icon),#1d2a42);color:white;display:grid;place-items:center;box-shadow:inset 0 1px #ffffff45}
.tc-workspace-label{flex:1 1 auto;min-width:0;font-size:12px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.tc-workspace-chevron{font-size:21px;color:#9aabc5}
@media(max-width:1250px){.tc-workspace-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.tc-workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tc-workspace{padding:14px!important}.tc-workspace-section{padding:12px}.tc-workspace-grid{grid-template-columns:1fr}.tc-workspace-tile{min-height:64px!important}.tc-workspace-icon{width:42px;height:42px;flex-basis:42px}}
@media(prefers-reduced-motion:reduce){.tc-workspace-tile{transition:none}.tc-workspace-tile:hover{transform:none}}

/* TC_FULLWIDTH_MODULE_LAUNCHERS_V1 */
.tc12-app:has(.tc-workspace){grid-template-columns:minmax(0,1fr)!important}
.tc12-app:has(.tc-workspace) .tc12-side{display:none!important}
.tc12-app:has(.tc-workspace) .tc12-main{width:100%!important;max-width:none!important;margin-left:0!important;min-width:0!important}
