/* CEIG premium UI. Tokens and presentation; business rules stay in R23. */
html.ceig-premium{color-scheme:light;--bg:#f5f7f9;--panel:#fff;--panel-2:#eef2f5;--text:#172e42;--muted:#4e6172;--quiet:#536879;--line:#d8e1e8;--line-soft:#e4eaf0;--gold:#8a631f;--gold-2:#795414;--green:#176448;--red:#a43228;--blue:#254f7c;--max:1280px;--shadow:0 12px 32px rgb(18 43 63 / .07);font-family:'Segoe UI',system-ui,sans-serif;scroll-padding-top:108px;scroll-behavior:auto!important}
html.ceig-premium body{margin:0;background:var(--bg);color:var(--text);font-family:inherit;line-height:1.6}
html.ceig-premium *,html.ceig-premium *::before,html.ceig-premium *::after{box-sizing:border-box}
html.ceig-premium [hidden]{display:none!important}
html.ceig-premium :is(h1,h2,h3,h4,h5,.button,.small-button,.status-pill){text-transform:none;letter-spacing:-.015em;font-family:inherit}
html.ceig-premium :is(h1,h2,h3,h4){color:var(--text);line-height:1.2;text-wrap:balance}
html.ceig-premium :is(button,input,select,textarea){font:inherit}
html.ceig-premium :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #1765ab!important;outline-offset:3px!important}
html.ceig-premium .premium-skip{position:fixed;left:20px;top:-80px;z-index:10001;padding:12px 20px;background:white;color:var(--text);border-radius:8px}
html.ceig-premium .premium-skip:focus{top:10px}
html.ceig-premium .site-header{max-width:none;min-height:88px;padding:20px max(28px,calc((100vw - 1280px)/2));gap:26px;border:0;background:#142b3e;box-shadow:none}
html.ceig-premium .brand img{width:225px;height:auto}
html.ceig-premium .primary-nav{gap:22px}
html.ceig-premium .primary-nav a{color:#e4eaf0;font-size:13px;font-weight:600;text-transform:none;white-space:nowrap}
html.ceig-premium .primary-nav a:hover{color:#f6d394}
html.ceig-premium .header-actions{gap:16px}
html.ceig-premium .language-switcher{border-color:#496073;background:transparent;padding:3px}
html.ceig-premium .language-switcher button{background:transparent;color:#e4eaf0;font-weight:600;padding:6px 8px;font-size:11px}
html.ceig-premium .language-switcher button.active{background:#e8c484;color:#142b3e}
html.ceig-premium :is(.button,.small-button,.public-file-button){border-radius:8px;min-height:46px;padding:12px 20px;font-weight:650;font-size:14px;line-height:1.4;box-shadow:none;cursor:pointer;text-decoration:none}
html.ceig-premium :is(.button-primary,.small-button.primary){background:#142b3e;color:#fff;border:1px solid #142b3e}
html.ceig-premium :is(.button-primary,.small-button.primary):hover{background:#24465f;color:#fff}
html.ceig-premium .site-header .partner-entry{background:transparent;border-color:#6e8291;color:white;min-height:40px;padding:10px 14px}
html.ceig-premium .button-ghost{color:var(--text);border-color:#aebecb;background:transparent}
html.ceig-premium .hero{padding:72px 28px 48px;max-width:1336px;margin:auto;background:none}
html.ceig-premium .hero-grid{width:100%;min-height:460px;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
html.ceig-premium .hero-copy h1{max-width:650px;margin:14px 0 24px;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(40px,4.2vw,62px);line-height:1.08;letter-spacing:-.045em;text-transform:none}
html.ceig-premium .eyebrow{color:#795414;font-size:11px;letter-spacing:.15em;font-weight:700;text-transform:uppercase}
html.ceig-premium .hero .lead{color:var(--muted);max-width:535px;font-size:17px;line-height:1.7}
html.ceig-premium .hero-actions{gap:12px;margin-top:30px}
html.ceig-premium .hero-actions .button{min-height:50px;padding:14px 22px}
html.ceig-premium .premium-hero-note{margin-top:20px;color:#526577;font-size:12px}
html.ceig-premium .hero-media{height:440px;min-height:0;grid-template-columns:1.6fr 1fr;gap:10px}
html.ceig-premium .hero-media img{border:0;border-radius:12px;box-shadow:none}
html.ceig-premium .premium-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1280px;margin:0 auto 30px;padding:24px 0;border-block:1px solid #d8e1e8;gap:28px}
html.ceig-premium .premium-process article{display:flex;gap:18px;align-items:start;min-width:0;padding:0 16px}
html.ceig-premium .premium-process article>span{color:#8a631f;font:400 24px Georgia,serif;line-height:1.4}
html.ceig-premium .premium-process strong{display:block;font-size:15px;color:var(--text)}
html.ceig-premium .premium-process p{margin:4px 0 0;font-size:13px;color:var(--muted)}
html.ceig-premium .section{max-width:1336px;padding:64px 28px;margin:0 auto}
html.ceig-premium .section-heading{gap:12px;margin-bottom:30px}
html.ceig-premium :is(.section h2,.split-section h2,.contact-section h2){font-size:clamp(28px,3vw,40px);font-weight:500;line-height:1.18;max-width:850px;text-transform:none;letter-spacing:-.035em}
html.ceig-premium .section-heading p{color:var(--muted);max-width:800px;font-size:16px}
html.ceig-premium .sector-tabs{gap:8px;border:0;padding:0 0 22px;flex-wrap:wrap}
html.ceig-premium .sector-tabs button{min-height:44px;padding:10px 16px;border-radius:50px;background:#fff;border:1px solid #ccd7e0;color:var(--muted);font-size:14px;font-weight:600}
html.ceig-premium .sector-tabs button.active{background:#142b3e;color:#fff;border-color:#142b3e}
html.ceig-premium .sector-workspace{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);align-items:start;gap:28px}
html.ceig-premium :is(.sector-panel,.system-form,.login-card,.market-card,.ops-card,.capability-card,.micro-b2b-benefits){background:white;border:1px solid #d8e1e8;border-radius:14px;box-shadow:none}
html.ceig-premium .sector-hero{min-height:290px;border-radius:12px 12px 0 0;overflow:hidden}
html.ceig-premium .sector-hero-content :is(h3,p,span){color:#fff;text-transform:none}
html.ceig-premium .sector-hero-content h3{font-size:26px}
html.ceig-premium .sector-details{grid-template-columns:1fr;padding:20px;gap:12px}
html.ceig-premium .sector-card{min-height:0;padding:18px;background:#f6f8fa;border-color:#e0e7ec}
html.ceig-premium .sector-card :is(h4,p,li){color:var(--text)}
html.ceig-premium .sector-operating-layer{padding:20px;background:white}
html.ceig-premium .sector-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html.ceig-premium .system-form{padding:28px;gap:20px}
html.ceig-premium .form-head span{color:#795414;font-size:11px;letter-spacing:.1em}
html.ceig-premium .form-head h3{color:var(--text);font-size:24px}
html.ceig-premium :is(input,select,textarea){color:var(--text);background:#fff;border:1px solid #b4c3cf;border-radius:7px;min-height:46px;padding:11px 12px;font-size:15px;max-width:100%}
html.ceig-premium textarea{resize:vertical}
html.ceig-premium :is(input,textarea)::placeholder{color:#657887;opacity:1}
html.ceig-premium input:is([type=checkbox],[type=radio]){min-height:0;width:18px;height:18px;accent-color:#254f7c}
html.ceig-premium .form-grid{gap:16px}
html.ceig-premium :is(.system-form label,.login-card label){color:var(--text);font-size:13px;font-weight:600;gap:7px}
html.ceig-premium .public-file-button{color:#172e42;background:#edf2f6;border:1px solid #ccd7e0}
html.ceig-premium .form-status{font-size:14px;color:#254f7c;overflow-wrap:anywhere}
html.ceig-premium .premium-form-help{color:var(--muted);font-size:13px;margin:0 0 12px;font-weight:400}
/* Clear legacy dark gradients on public cards with the light theme text. */
html.ceig-premium body:not(.ceig-panel-active) :is(.system-form,.micro-b2b-benefits,.micro-b2b-info-card,.capability-item,.market-map-caption article,.market-cluster-card,.market-card,.market-route-card,.factory-partner-intro,.factory-partner-application,.operating-section .system-card){background:#fff!important}
@media(max-width:600px){
 html.ceig-premium #inquiry-wizard{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px}
 html.ceig-premium #inquiry-wizard article{display:block;padding:10px;min-height:0;border-color:#d8e1e8;background:#f5f7f9}
 html.ceig-premium #inquiry-wizard strong{display:block;min-width:0;width:auto;height:auto;padding:0;margin:0 0 4px;border:0;background:transparent;border-radius:0;font-size:11px;color:#795414}
 html.ceig-premium #inquiry-wizard span{font-size:12px;line-height:1.3;color:#172e42}
 html.ceig-premium #inquiry-wizard p{font-size:11px;line-height:1.4;margin:4px 0 0;color:#4e6172}
}
html.ceig-premium .contact-section{background:#eaf0f5;border-radius:16px;margin-block:32px;padding:48px}
html.ceig-premium .site-footer{max-width:1336px;padding:32px 28px;margin:auto;gap:24px;color:var(--muted);border-color:#d8e1e8}
html.ceig-premium .site-footer img{background:#142b3e;padding:10px 14px;border-radius:8px;width:224px;height:auto}
/* Current navigation concentrates the application in its own workspace. */
html.ceig-premium body.ceig-panel-active main#top>section:not(#portal),html.ceig-premium body.ceig-panel-active :is(.site-footer,.primary-nav){display:none}
html.ceig-premium body.ceig-panel-active .site-header{padding:14px 28px;min-height:70px;justify-content:space-between}
html.ceig-premium body.ceig-panel-active :is(.partner-entry,.nav-toggle){display:none}
html.ceig-premium body.ceig-panel-active #portal{padding:24px;max-width:1600px;scroll-margin:0}
html.ceig-premium #portal[data-premium-unlocked=true]>.section-heading{display:none}
html.ceig-premium #portal .portal-grid[data-locked=true]{display:block;max-width:520px;margin:0 auto}
html.ceig-premium #portal .portal-grid[data-locked=true] .portal-board{display:none}
html.ceig-premium #portal .login-card{padding:32px}
html.ceig-premium #portal .login-card h3{color:var(--text);font-size:27px}
html.ceig-premium #portal .login-card :is(p,label){color:var(--muted)}
html.ceig-premium #portal .login-card .button-primary{width:100%}
/* The legacy panel palette uses white text; the sign-in fields have a white surface. */
html.ceig-premium #portal #login-fields{--ceig-panel-text:#172e42;--ceig-panel-quiet:#657887;--ceig-panel-muted:#4e6172}
html.ceig-premium #portal #login-fields input:focus{outline:2px solid #254f7c!important;outline-offset:2px}
html.ceig-premium #portal .portal-grid[data-locked=false]{display:block}
html.ceig-premium #portal .portal-board{padding:0;min-width:0;border:0;background:transparent}
html.ceig-premium #portal .sandbox-safety-strip{border:1px solid #dfcba4;background:#fff7e8;border-radius:8px;gap:18px;padding:12px 18px;margin-bottom:16px;font-size:13px;color:#594323}
html.ceig-premium #portal .sandbox-safety-strip small{color:#594323;font-size:12px;text-transform:none}
html.ceig-premium #portal .a1-shell{grid-template-columns:224px minmax(0,1fr);background:#f2f5f8;border:1px solid #d8e1e8;border-radius:16px;min-height:760px;overflow:clip;color:var(--text)}
html.ceig-premium #portal .a1-rail{background:#142b3e;border:0;color:#e4eaf0;padding:28px 18px;top:88px;height:calc(100dvh - 108px)}
html.ceig-premium #portal .a1-brand{padding:0 10px 26px;border-color:#385165;gap:6px}
html.ceig-premium #portal .a1-brand strong{font-size:30px;color:#edcf98;font-weight:600;letter-spacing:.03em}
html.ceig-premium #portal .a1-brand span{color:#fff;font-size:14px}
html.ceig-premium #portal .a1-brand small{color:#c0d0dd;font-size:12px}
html.ceig-premium #portal .a1-rail nav{margin-top:24px;gap:8px}
html.ceig-premium #portal .a1-rail nav button{display:flex;align-items:center;gap:12px;background:transparent;color:#d8e5ee;min-height:48px;border-radius:8px;border:1px solid transparent;padding:12px;font-weight:500;font-size:14px}
html.ceig-premium #portal .a1-rail nav button:is(.active,:hover){background:#29475e;color:#fff;border-color:#557083}
html.ceig-premium #portal .premium-nav-icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;fill:none;flex-shrink:0}
html.ceig-premium #portal .a1-account{padding:24px 6px 0;border-color:#385165;gap:14px}
html.ceig-premium #portal .a1-account span{color:#c0d0dd;font-size:12px}
html.ceig-premium #portal .a1-account button{border-color:#557083;background:transparent;color:#e4eaf0;border-radius:7px;font-size:13px;font-weight:500}
html.ceig-premium #portal .a1-main{background:#f2f5f8;min-width:0}
html.ceig-premium #portal .a1-page-head{background:#fff;padding:26px 32px;border-bottom:1px solid #d8e1e8}
html.ceig-premium #portal .a1-page-head span{color:#795414;text-transform:none;font-size:12px;letter-spacing:.03em}
html.ceig-premium #portal .a1-page-head h2{color:#172e42;font-size:30px;font-weight:600;text-transform:none;margin:6px 0}
html.ceig-premium #portal .a1-page-head p{color:#526577;font-size:14px;max-width:800px}
html.ceig-premium #portal .a1-content{padding:28px 32px 40px}
html.ceig-premium #portal .a1-content :is(h3,h4){text-transform:none;letter-spacing:-.02em;font-weight:600}
html.ceig-premium #portal .a1-content h3{font-size:22px}
html.ceig-premium #portal .a1-content :is(p,small,span,li){text-transform:none}
html.ceig-premium #portal .a1-content :is([class*='-next-step'],.a3f-work-next,.a6-next){background:#fff6e5;border:1px solid #dfcba4;border-left:4px solid #b58a3c;border-radius:12px;padding:24px}
html.ceig-premium #portal .a1-content :is([class*='-metrics'],[class*='-process-band'],[class*='-content-band'],[class*='-work-detail'],[class*='-work-list'],[class*='-deadline-list'],[class*='-activity-list']){background:white;border-color:#d8e1e8;border-radius:12px;box-shadow:none}
html.ceig-premium #portal .a1-content :is([class*='-today-head'],[class*='-section-head']) button{background:transparent;color:#254f7c;border:1px solid #b9cbd9;border-radius:7px;font-weight:500;min-height:44px}
html.ceig-premium #portal .a1-content [class*='-metrics'] strong{color:#172e42;font-size:30px;font-weight:600}
html.ceig-premium #portal .a1-content [class*='-metrics'] button{color:#172e42}
html.ceig-premium #portal .a1-content [class*='-metrics'] :is(span,small){color:#526577}
html.ceig-premium #portal .a1-content button[data-premium-primary]{background:#142b3e!important;color:#fff!important;border-color:#142b3e!important;border-radius:8px;min-height:46px;padding:12px 18px;font-weight:650}
html.ceig-premium #portal .a1-content button[data-premium-primary]:hover{background:#24465f!important}
html.ceig-premium #portal .a1-content button:disabled{cursor:not-allowed;opacity:.65}
html.ceig-premium #portal :is(.a1-channel,.a1-more-list>button,.a2d-module-card,.a3f-work-list button){min-height:58px;border-radius:10px;border:1px solid #d8e1e8;background:white;padding:18px;color:#172e42}
html.ceig-premium #portal :is(.a1-channel,.a1-more-list>button,.a2d-module-card,.a3f-work-list button):hover{background:#edf4fb;border-color:#9fb7c9}
html.ceig-premium #portal .a1-more-list{gap:12px}
html.ceig-premium #portal .premium-tool-search{background:white;border:1px solid #d8e1e8;border-radius:12px;padding:20px;margin-bottom:20px}
html.ceig-premium #portal .premium-tool-search label{display:grid;gap:8px;font-size:13px;font-weight:600}
html.ceig-premium #portal .premium-tool-count{margin:8px 0 0;color:#526577;font-size:13px}
html.ceig-premium #portal .premium-supervision{padding:16px 20px;margin-bottom:20px;border:1px solid #ccdce8;border-radius:10px;background:#edf4fb;color:#254f7c;font-size:13px}
html.ceig-premium #portal .premium-supervision strong{color:#172e42;display:block;margin-bottom:3px}
html.ceig-premium #portal .premium-supervision p{margin:0;color:#375569}
html.ceig-premium #portal .a1-legacy-notice{background:white;border-color:#ccd7e0;border-radius:10px;margin-bottom:20px;padding:18px}
html.ceig-premium #portal :is(.portal-shell,.a1-legacy-panel){min-width:0;background:transparent;padding:0}
html.ceig-premium #portal .portal-tabs{gap:8px;flex-wrap:wrap}
html.ceig-premium #portal .portal-tabs button{min-height:44px;border-radius:7px;padding:10px 14px;text-transform:none}
html.ceig-premium #portal .portal-tabs button.active{background:#142b3e;color:white;border-color:#142b3e}
html.ceig-premium #portal :is(.r20-client-decision,.r21-split-offer,.r22-plan,.r23-documents){border-color:#d8e1e8;border-radius:12px;background:#fff;color:#172e42}
html.ceig-premium #portal .r23-preview{background:#f6f8fa;color:#172e42;border-color:#d8e1e8;padding:18px;white-space:pre-wrap;overflow-wrap:anywhere}
html.ceig-premium :is(.premium-table-region,.table-wrap,.table-wrapper,.system-table-wrap){max-width:100%;overflow-x:auto;border-radius:8px}
html.ceig-premium table{border-collapse:collapse}
html.ceig-premium th{background:#edf2f6;color:#40596e;text-transform:none;font-size:12px;letter-spacing:0}
html.ceig-premium :is(th,td){border-color:#d8e1e8;padding:14px}
html.ceig-premium .page-bar{background:#142b3e;color:#e4eaf0;padding:20px 28px}
html.ceig-premium .page-bar strong{color:#edcf98;font-size:26px}
html.ceig-premium body:has(.page-bar) main{max-width:1100px;padding:32px 24px;margin:auto}
html.ceig-premium body:has(.page-bar) :is(#login-panel,.ps-case){border:1px solid #d8e1e8;border-radius:12px;padding:24px;background:white}
html.ceig-premium body:has(.page-bar) button{min-height:44px;border-radius:7px;background:#142b3e;color:white;border-color:#142b3e;padding:10px 16px}
html.ceig-premium body:has(.page-bar) .ps-case :is(p,small,span,h3){color:#172e42}
/* Earlier releases contain important dark-theme text declarations. */
html.ceig-premium #portal #portal-board .a1-content [class*='-next']{background:#fff6e5;border:1px solid #dfcba4;border-left:4px solid #b58a3c;border-radius:12px;padding:24px}
html.ceig-premium #portal #portal-board .a1-main :is(h1,h2,h3,h4,h5,strong,b,label,legend,td,th,pre,summary,a){color:#172e42!important}
html.ceig-premium #portal #portal-board .a1-main :is(p,small,span,li){color:#4e6172!important}
html.ceig-premium #portal #portal-board .a1-main :is(button,input,select,textarea){color:#172e42!important;background:#fff!important;border-color:#b4c3cf!important}
html.ceig-premium #portal #portal-board .a1-main button :is(span,strong,small){color:inherit!important}
html.ceig-premium #portal #portal-board .a1-main .portal-tabs button.active{background:#142b3e!important;color:#fff!important;border-color:#142b3e!important}
html.ceig-premium #portal #portal-board .a1-main :is(button,a.button)[data-premium-primary],html.ceig-premium #portal #portal-board .a1-main :is(.small-button.primary,.button-primary){color:#fff!important;background:#142b3e!important}
html.ceig-premium #portal #portal-board .a1-main button[data-premium-primary] :is(span,strong,small),html.ceig-premium #portal #portal-board .a1-main .small-button.primary :is(span,strong,small){color:#fff!important}
html.ceig-premium #portal #portal-board .sandbox-safety-strip{background:#fff7e8!important;color:#594323!important;border-color:#dfcba4!important}
html.ceig-premium #portal #portal-board .sandbox-safety-strip :is(span,small){background:transparent!important;color:#594323!important}
@media(max-width:1150px){html.ceig-premium .site-header{padding:18px 24px;gap:20px;flex-wrap:wrap}html.ceig-premium .primary-nav{gap:16px}html.ceig-premium .hero-grid{gap:32px}html.ceig-premium .hero-media{height:380px}html.ceig-premium #portal .a1-content{padding:24px}html.ceig-premium #portal .a1-content [class*='-metrics']{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){html.ceig-premium .site-header{min-height:72px;padding:16px 20px}html.ceig-premium .brand img{width:185px}html.ceig-premium .nav-toggle{display:grid;color:white;border-color:#71899c;min-height:44px;min-width:44px}html.ceig-premium .nav-toggle span{background:#fff}html.ceig-premium .primary-nav{background:#142b3e;padding:18px;border-radius:8px}html.ceig-premium .header-actions{gap:8px}html.ceig-premium .site-header .partner-entry{font-size:12px}html.ceig-premium .hero{padding:40px 20px}html.ceig-premium .hero-grid{grid-template-columns:1fr;gap:32px}html.ceig-premium .hero-copy h1{font-size:44px;max-width:620px}html.ceig-premium .hero-media{height:300px}html.ceig-premium .premium-process{margin:0 20px;grid-template-columns:1fr;gap:20px;padding:24px 0}html.ceig-premium .premium-process article{padding:0}html.ceig-premium .section{padding:48px 20px}html.ceig-premium .sector-workspace{grid-template-columns:minmax(0,1fr)}html.ceig-premium .system-form{padding:22px}html.ceig-premium .contact-section{margin:20px;padding:28px}html.ceig-premium body.ceig-panel-active #portal{padding:16px 12px}html.ceig-premium body.ceig-panel-active .site-header{padding:14px 18px}html.ceig-premium #portal .a1-shell{display:block;border-radius:12px;min-height:calc(100dvh - 160px);overflow:visible;padding-bottom:calc(74px + env(safe-area-inset-bottom))}html.ceig-premium #portal .a1-rail{display:none}html.ceig-premium #portal .a1-page-head{padding:22px 20px;border-radius:12px 12px 0 0}html.ceig-premium #portal .a1-page-head h2{font-size:25px}html.ceig-premium #portal .a1-content{padding:20px 16px}html.ceig-premium #portal .a1-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:90;gap:2px;padding:8px 6px calc(8px + env(safe-area-inset-bottom));background:#142b3e;border-top:1px solid #476477}html.ceig-premium #portal .a1-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#d8e5ee;font-size:11px;font-weight:500;min-height:50px;border-radius:8px;border:1px solid transparent;padding:6px 2px}html.ceig-premium #portal .a1-bottom-nav button.active{background:#29475e;color:#fff;border-color:#557083}html.ceig-premium #portal .a1-content :is([class*='-next-step'],.a3f-work-next,.a6-next){display:grid;padding:20px;gap:14px}html.ceig-premium #portal .a1-content button[data-premium-primary]{max-width:100%;width:100%}html.ceig-premium #portal .a1-content :is([class*='-today-head'],[class*='-section-head']){flex-wrap:wrap;align-items:start;gap:12px}html.ceig-premium #portal .a1-content [class*='-metrics'] button{padding:16px;min-height:106px;border-bottom:1px solid #d8e1e8}html.ceig-premium #portal :is(.a3f-work-layout,.a2a-lower-grid,.a3f-department-layout,.dashboard-grid){grid-template-columns:minmax(0,1fr)}html.ceig-premium #portal .a3f-work-list{max-height:340px;overflow-y:auto}html.ceig-premium #portal .portal-tabs{max-height:220px;overflow-y:auto}html.ceig-premium #portal .sandbox-safety-strip{display:grid;gap:6px}html.ceig-premium #portal .a1-main :is(pre,.r23-preview){max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}}
@media(max-width:480px){html.ceig-premium .site-header{gap:12px}html.ceig-premium .header-actions{width:100%;justify-content:space-between}html.ceig-premium .hero-copy h1{font-size:39px}html.ceig-premium .hero .lead{font-size:16px}html.ceig-premium .hero-actions{display:grid;grid-template-columns:minmax(0,1fr)}html.ceig-premium .hero-actions a{width:100%;text-align:center}html.ceig-premium .hero-media{height:250px}html.ceig-premium .form-grid{grid-template-columns:minmax(0,1fr)}html.ceig-premium .sector-process-grid{grid-template-columns:minmax(0,1fr)}html.ceig-premium .section :is(.ops-grid,.market-grid,.capabilities-grid){grid-template-columns:minmax(0,1fr)}html.ceig-premium .site-footer{flex-wrap:wrap}html.ceig-premium #portal .system-form{padding:18px}html.ceig-premium #portal .a1-content :is([class*='-lower-grid'],[class*='-facts'],.form-grid){grid-template-columns:minmax(0,1fr)}html.ceig-premium #portal .a1-content .a2a-process-flow{grid-template-columns:minmax(0,1fr)}html.ceig-premium #portal .premium-supervision{padding:14px}}
html.ceig-premium #portal .premium-create-entry{margin-bottom:20px;min-height:44px;border-radius:8px}
@media(max-width:480px){
html.ceig-premium #portal #portal-board .document-workbench:has([data-operator-decision]){padding:0!important}
html.ceig-premium #portal #portal-board .board-column:has(> .document-item [data-operator-decision]){padding:10px!important}
html.ceig-premium #portal #portal-board .document-item:has([data-operator-decision]){padding:10px!important;min-width:0}
html.ceig-premium #portal [data-operator-decision] textarea{width:100%;min-width:0;box-sizing:border-box}
html.ceig-premium #portal [data-operator-decision] button{min-height:44px;word-break:normal;overflow-wrap:normal;white-space:normal}
}
/* Designer handoff: compact file list and usable controls on narrow screens. */
html.ceig-premium #portal #role-designer-update [data-designer-material-upload]{display:grid;gap:12px;min-width:0;margin:20px 0;padding:18px;border:1px solid #b4c3cf;border-radius:8px}
html.ceig-premium #portal #role-designer-update [data-designer-material-upload] legend{padding:0 6px;font-weight:600}
html.ceig-premium #portal #role-designer-update [data-designer-materials] details{border-bottom:1px solid #d8e1e8;padding:12px 0}
html.ceig-premium #portal #role-designer-update [data-designer-materials] summary{cursor:pointer;min-height:44px;color:#172e42;overflow-wrap:anywhere}
html.ceig-premium #portal #role-designer-update :is(input,select,textarea){min-width:0;width:100%;box-sizing:border-box}
html.ceig-premium #portal #role-designer-update input[type=file]{padding:0!important;font-size:13px}
html.ceig-premium #portal #role-designer-update input[type=file]::file-selector-button{background:#eaf0f5!important;color:#172e42!important;border:0;border-right:1px solid #b4c3cf;padding:8px;min-height:44px;font:inherit}
html.ceig-premium #portal #role-designer-update [data-designer-material-upload] button{white-space:normal;word-break:normal;overflow-wrap:normal;min-height:46px}
@media(max-width:480px){
html.ceig-premium #portal #portal-board .role-workflow-panel:has(#role-designer-update){padding:10px}
html.ceig-premium #portal #portal-board #role-designer-update{padding:0;border:0;box-shadow:none;background:transparent!important}
html.ceig-premium #portal #role-designer-update [data-designer-material-upload]{padding:8px;margin:14px 0}
}
/* Older public section rules also used !important cream text on dark panels. */
html.ceig-premium body main#top>section:not(#portal):not(:is(.v2-hero,.v2-offer-preview,.premium-process)) :is(h1,h2,h3,h4,strong){color:#172e42!important}
html.ceig-premium body main#top>section:not(#portal):not(:is(.v2-hero,.v2-offer-preview,.premium-process)) :is(p,small,span,li){color:#4e6172!important}
html.ceig-premium body main#top>section:not(#portal):not(:is(.v2-hero,.v2-offer-preview,.premium-process)) em{color:#795414!important}
html.ceig-premium body main#top>section:not(#portal):not(:is(.v2-hero,.v2-offer-preview,.premium-process)) :is(.button-primary,button.primary,.sector-tab.active){color:#fff!important;background:#142b3e!important}
html.ceig-premium body main#top>section:not(#portal):not(:is(.v2-hero,.v2-offer-preview,.premium-process)) :is(button,a.button) :is(span,strong,small){color:inherit!important}
html.ceig-premium body main#top>section:not(#portal):not(:is(.v2-hero,.v2-offer-preview,.premium-process)) :is(.hero-media,.sector-hero) :is(h3,h4,p,span){color:#fff!important}
html.ceig-premium body #portal .section-heading :is(h2,p,span){color:#172e42!important}
html.ceig-premium body #portal #portal-grid .login-card :is(h3,p,span,label){color:#172e42!important}
html.ceig-premium body #portal #portal-grid .login-card .button-primary{background:#142b3e!important;color:#fff!important}
html.ceig-premium #portal .a1-legacy-notice{padding:12px 16px;display:flex;justify-content:flex-end;margin-bottom:16px;min-height:0}
html.ceig-premium #portal .a1-legacy-notice>div{display:none}
html.ceig-premium #portal :is(.premium-legacy-tools,.premium-form-guide){border:1px solid #d8e1e8;background:#fff;border-radius:8px;padding:0 16px;margin:0 0 16px;max-width:100%;min-width:0}
html.ceig-premium #portal :is(.premium-legacy-tools,.premium-form-guide)>summary{cursor:pointer;padding:13px 0;min-height:46px;font-size:14px;font-weight:600}
html.ceig-premium #portal .premium-legacy-tools .portal-tabs{margin-bottom:16px}
html.ceig-premium #portal .premium-form-guide .admin-guide{border:0;box-shadow:none;margin:0;padding:0 0 16px}
html.ceig-premium #portal .premium-form-guide .admin-guide :is(h3,h4){display:none}
html.ceig-premium #portal #portal-board .missing-checklist article span{background:#fff6e5!important;color:#795414!important}
html.ceig-premium #portal #portal-board .missing-checklist article.done span{background:#edf7f1!important;color:#176448!important}
html.ceig-premium #portal #portal-board :is(.distributor-flow-steps,.distributor-command-grid) strong{background:#fff6e5!important;color:#795414!important}
/* Shared visual treatment also covers the isolated R24 merge trial. */
html.ceig-premium #portal #portal-board .r24-image figcaption{color:#4e6172!important}
html.ceig-premium .r24-image-dialog{background:#fff;color:#172e42;border-color:#d8e1e8;border-radius:12px}
html.ceig-premium .r24-image-dialog button{color:#172e42;background:#edf2f6;border-color:#b4c3cf;min-height:44px}
@media(prefers-reduced-motion:reduce){html.ceig-premium{scroll-behavior:auto}html.ceig-premium *,html.ceig-premium *::before,html.ceig-premium *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Native role forms and saved protocol history use the same light surfaces. */
html.ceig-premium #portal #portal-board .role-workflow-panel{background:#fff!important;color:#172e42!important;border:1px solid #d8e1e8;border-radius:12px;padding:24px;margin-top:20px;min-width:0;max-width:100%;overflow-wrap:anywhere}
html.ceig-premium #portal #portal-board .role-workflow-panel :is(h3,h4,strong,label,legend){color:#172e42!important}
html.ceig-premium #portal #portal-board .role-workflow-panel :is(p,span,li,small){color:#4e6172!important}
html.ceig-premium #portal #portal-board .role-workflow-panel :is(input,select,textarea){color:#172e42!important;background:#fff!important;border-color:#b4c3cf!important;min-height:44px;max-width:100%}
html.ceig-premium #portal #portal-board .role-workflow-panel .system-form{background:#f5f7f9!important;border-color:#d8e1e8!important}
html.ceig-premium #portal #portal-board .role-workflow-panel button.primary{background:#142b3e!important;color:#fff!important;min-height:46px}
html.ceig-premium #portal #portal-board .role-workflow-panel a{color:#254f7c!important;text-decoration:underline;overflow-wrap:anywhere}
html.ceig-premium #portal #portal-board .role-workflow-panel :focus-visible{outline:3px solid #1765ab;outline-offset:3px}
@media(max-width:480px){html.ceig-premium #portal #portal-board .role-workflow-panel{padding:18px}html.ceig-premium #portal #portal-board .role-workflow-panel .system-form{padding:16px}}
@media(max-width:480px){
html.ceig-premium #portal #portal-board .assembly-schedule .workbench-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px}
html.ceig-premium #portal #portal-board .assembly-schedule .workbench-grid>.board-column{padding:12px!important;min-width:0}
html.ceig-premium #portal #portal-board #assembly-schedule-form{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;min-width:0}
html.ceig-premium #portal #portal-board #assembly-schedule-form .form-grid{grid-template-columns:minmax(0,1fr)!important}
html.ceig-premium #portal #portal-board #assembly-schedule-form :is(input,select,textarea){width:100%;min-width:0;box-sizing:border-box}
html.ceig-premium #portal #portal-board #assembly-schedule-form button{width:100%;word-break:normal!important;overflow-wrap:normal!important;white-space:normal;min-height:46px}
}
