@layer tenderLegacy {:root{--tp-navy:#112d4e;--tp-gold:#c88930;--tp-bg:#f3f6fa;--tp-text:#172b45;--tp-border:#dce4ed}*{box-sizing:border-box}body.tender-portal{margin:0;background:var(--tp-bg);color:var(--tp-text);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}.portal-container{max-width:1440px;margin:auto;padding:0 24px}.portal-header{background:#fff;border-bottom:1px solid var(--tp-border);box-shadow:0 1px 8px #112d4e0a}.portal-header-inner{display:flex;align-items:center;gap:32px;min-height:76px}.portal-brand{display:flex;flex-direction:column;text-decoration:none;color:var(--tp-navy);line-height:1.1}.portal-brand-main{font-size:26px;font-weight:800}.portal-nav{display:flex;gap:24px;align-items:center;flex:1}.portal-nav a{color:var(--tp-navy);text-decoration:none;font-weight:600}.portal-login{border:1px solid var(--tp-navy);border-radius:6px;padding:8px 18px;color:var(--tp-navy);text-decoration:none;font-weight:600}#main{padding-top:28px;padding-bottom:56px;min-height:60vh}.portal-footer{background:var(--tp-navy);color:white;padding:28px 0}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;background:white;padding:8px;z-index:999}@media(max-width:760px){.portal-container{padding-left:16px;padding-right:16px}.portal-header-inner{flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}.portal-brand-main{font-size:22px}.portal-nav{order:3;width:100%;overflow-x:auto;white-space:nowrap}.portal-login{margin-left:auto}}

/* Tender Service listing only — scoped to portal template */
.tp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.tp-hero{background:linear-gradient(115deg,#0c2747,#17446b);color:#fff;border-radius:14px;padding:54px 48px;margin-bottom:28px}.tp-hero-inner{max-width:900px}.tp-eyebrow{color:#c88930;font-size:12px;letter-spacing:.12em;font-weight:800;margin:0 0 10px}.tp-hero h1{font-size:clamp(34px,4vw,56px);line-height:1.1;margin:0 0 12px;color:#fff}.tp-hero h1 em{font-style:normal;color:#e6a346}.tp-hero p:not(.tp-eyebrow){margin:0 0 25px;color:#e0eaf5}.tp-hero-search{display:flex;background:#fff;border-radius:8px;padding:5px;max-width:800px}.tp-hero-search input{flex:1;min-width:0;border:0;padding:14px;font:inherit}.tp-hero-search button,.tp-apply{background:#c88930;color:white;border:0;border-radius:6px;padding:12px 19px;font-weight:700;cursor:pointer}.tp-page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.tp-page-heading h2{margin:0;color:#112d4e;font-size:29px}.tp-page-heading p:last-child{margin:4px 0;color:#64748b}.tp-count{background:white;border:1px solid #dce4ed;border-radius:10px;padding:12px 22px;display:flex;flex-direction:column;text-align:center}.tp-count strong{font-size:24px;color:#112d4e}.tp-count span{font-size:12px;color:#64748b}.tp-listing-layout{display:grid;grid-template-columns:minmax(240px,290px) minmax(0,1fr);gap:22px;align-items:start}.tp-filter-form,.tp-tender-card,.tp-empty{background:#fff;border:1px solid #dce4ed;border-radius:10px;overflow:hidden}.tp-filter-heading{background:#112d4e;color:white;display:flex;justify-content:space-between;align-items:center;padding:16px 18px}.tp-filter-heading h3{color:white;font-size:16px;margin:0}.tp-filter-heading a{color:#f4cb88;font-size:12px}.tp-filter-body{padding:18px;display:flex;flex-direction:column;gap:9px}.tp-filter-body label{font-weight:700;font-size:13px;margin-top:9px}.tp-filter-body input,.tp-filter-body select{width:100%;min-width:0;border:1px solid #ccd7e5;border-radius:6px;padding:10px 11px;background:white;color:#243b53;font:inherit;font-size:13px}.tp-input-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tp-apply{margin-top:14px}.tp-results-top{margin-bottom:16px}.tp-results-top h3{color:#112d4e;font-size:22px;margin:0}.tp-results-top p{color:#64748b;font-size:13px;margin:4px 0}.tp-result-list{display:grid;gap:12px}.tp-tender-card{padding:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px}.tp-card-tags{display:flex;gap:8px;flex-wrap:wrap}.tp-tag{font-size:11px;font-weight:700;background:#eaf1f9;color:#214f79;border-radius:5px;padding:4px 8px}.tp-tag.tp-alert{background:#fff1e3;color:#a45b11}.tp-tender-card h4{font-size:17px;line-height:1.4;margin:12px 0;color:#112d4e}.tp-tender-card h4 a{color:inherit;text-decoration:none}.tp-tender-card h4 a:hover{text-decoration:underline}.tp-card-meta{display:flex;gap:15px;flex-wrap:wrap;color:#64748b;font-size:12px}.tp-card-side{min-width:175px;display:grid;gap:9px;align-content:center}.tp-card-stat{display:flex;flex-direction:column}.tp-card-stat small{color:#64748b;font-size:11px}.tp-card-stat strong{color:#112d4e;font-size:13px}.tp-view{display:inline-block;text-align:center;text-decoration:none;border:1px solid #9bb7d9;border-radius:6px;color:#164e84;font-weight:700;font-size:12px;padding:9px 13px}.tp-view:hover{background:#eaf1f9}.tp-pagination{padding:20px 0}.tp-empty{padding:36px;text-align:center}@media(max-width:950px){.tp-listing-layout{grid-template-columns:1fr}.tp-filter-body{display:grid;grid-template-columns:1fr 1fr}.tp-filter-body label{grid-column:span 2}.tp-filter-body .tp-apply{grid-column:span 2}}@media(max-width:650px){.tp-hero{padding:32px 20px}.tp-hero-search{flex-direction:column}.tp-page-heading{align-items:start}.tp-count{padding:10px}.tp-tender-card{grid-template-columns:1fr;gap:15px}.tp-card-side{grid-template-columns:1fr 1fr;min-width:0}.tp-view{grid-column:span 2}.tp-filter-body{display:flex}}

/* v0.4 — approved reference layout; all selectors scoped to Tender Portal */
body.tender-portal{background:#f8fafc}#main{max-width:1536px;padding-top:0}.portal-header-inner{min-height:64px}.portal-brand-main{font-size:23px}.portal-nav a{font-size:13px;font-weight:500}.tp-hero{margin:0 -0px 18px;border-radius:0;background:linear-gradient(90deg,rgba(5,37,73,.98) 0%,rgba(6,44,80,.9) 31%,rgba(6,44,80,.38) 66%,rgba(7,38,70,.35) 100%),url('construction-hero.jpg') center center/cover no-repeat;padding:35px 34px 20px;min-height:275px}.tp-hero-inner{max-width:none}.tp-hero h1{font-size:clamp(30px,3.4vw,47px);font-weight:700;letter-spacing:-.025em}.tp-hero p:not(.tp-eyebrow){max-width:610px;font-size:14px;margin-bottom:18px}.tp-eyebrow{font-size:10px;letter-spacing:.13em}.tp-hero-search{max-width:735px}.tp-hero-search input{font-size:13px;padding:11px}.tp-hero-search button{padding:10px 24px}.tp-hero-bottom{display:flex;justify-content:space-between;gap:14px;align-items:end;margin-top:18px}.tp-hero-stat{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap}.tp-hero-stat strong{font-size:20px}.tp-hero-stat span{font-size:10px;color:#dbe7f3}.tp-sector-strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin-bottom:18px}.tp-sector-strip a{min-height:56px;display:flex;align-items:center;gap:7px;border:1px solid #e0e7ef;background:white;border-radius:6px;padding:8px;color:#1a3e65;text-decoration:none;font-size:10px;font-weight:600;line-height:1.25}.tp-sector-strip a span:last-child{margin-left:auto}.tp-sector-icon{font-size:20px;color:#c47c19}.tp-listing-layout{grid-template-columns:minmax(205px,245px) minmax(0,1fr) minmax(215px,265px);gap:15px}.tp-filter-heading{padding:11px 13px}.tp-filter-heading h3{font-size:13px}.tp-filter-body{padding:12px;gap:5px}.tp-filter-body label{font-size:11px;margin-top:6px}.tp-filter-body input,.tp-filter-body select{font-size:11px;padding:8px}.tp-apply{font-size:12px;padding:10px}.tp-results-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.tp-results-top h3{font-size:18px}.tp-results-top p{font-size:11px}.tp-results-top>a{font-size:11px;color:#145ca0;text-decoration:none;white-space:nowrap}.tp-result-list{gap:8px}.tp-tender-card{padding:13px 14px;gap:10px;grid-template-columns:minmax(0,1fr) 140px}.tp-tender-card h4{font-size:12px;font-weight:650;line-height:1.4;margin:7px 0}.tp-tag{font-size:9px;padding:2px 5px}.tp-card-meta{font-size:10px;gap:8px}.tp-card-side{min-width:0;gap:5px}.tp-card-stat small{font-size:9px}.tp-card-stat strong{font-size:11px}.tp-view{font-size:10px;padding:6px}.tp-right-rail{display:flex;flex-direction:column;gap:12px}.tp-subscribe{background:linear-gradient(135deg,#082b50,#114875);border-radius:7px;padding:17px;color:white}.tp-subscribe h3{font-size:16px;line-height:1.3;margin:0 0 12px;color:white}.tp-subscribe ul{margin:0 0 15px;padding-left:18px;font-size:11px;line-height:1.9}.tp-subscribe li::marker{color:#f0a536}.tp-subscribe>a{display:block;text-align:center;background:#c88930;border-radius:5px;color:white;text-decoration:none;padding:10px;font-size:11px;font-weight:700}.tp-closing{border:1px solid #e0e7ef;border-radius:7px;background:white;overflow:hidden}.tp-closing-head{padding:12px;border-bottom:1px solid #e0e7ef}.tp-closing h3{font-size:14px;margin:0}.tp-closing-item{display:flex;flex-direction:column;gap:5px;padding:11px 12px;border-bottom:1px solid #edf1f6;color:#183c61;text-decoration:none}.tp-closing-item strong{font-size:11px;font-weight:650;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tp-closing-item span{font-size:10px;color:#64748b;display:flex;justify-content:space-between;gap:5px}.tp-closing-item b{background:#fee2e2;color:#b42318;border-radius:10px;padding:1px 7px;font-weight:600;white-space:nowrap}.tp-no-closing{font-size:11px;color:#64748b;padding:12px}@media(max-width:1150px){.tp-listing-layout{grid-template-columns:210px minmax(0,1fr)}.tp-right-rail{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.tp-sector-strip{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.tp-hero{padding:26px 18px}.tp-hero-bottom{align-items:flex-start;flex-direction:column}.tp-hero-stat{align-items:flex-start}.tp-sector-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.tp-listing-layout{grid-template-columns:1fr}.tp-right-rail{grid-column:auto;grid-template-columns:1fr}.tp-tender-card{grid-template-columns:1fr}.tp-card-side{display:grid;grid-template-columns:1fr 1fr}.tp-view{grid-column:1/-1}.tp-hero-search{flex-direction:row}.tp-hero-search button{padding:9px}}

/* v0.5 refinements: readable information density, sector links, three-column balance */
.tp-sector-strip a{font-size:11px;min-height:62px;font-weight:600;gap:9px}.tp-sector-icon{font-size:22px;min-width:22px;text-align:center}.tp-tender-card h4{font-weight:550;font-size:13px;line-height:1.5}.tp-tender-card{padding:15px 16px}.tp-card-meta{font-size:11px}.tp-card-stat strong{font-size:12px}.tp-results-top h3{font-weight:650}.tp-closing-item strong{font-weight:550;font-size:12px}.tp-pagination a,.tp-pagination span{min-width:32px;min-height:32px}.tp-hero{background-image:linear-gradient(90deg,rgba(5,37,73,.97) 0%,rgba(6,44,80,.84) 29%,rgba(6,44,80,.27) 67%,rgba(7,38,70,.26) 100%),url('construction-hero.jpg')}
@media(max-width:760px){.tp-tender-card h4{font-size:14px}.tp-sector-strip a{font-size:11px}}


/* Tender detail v0.6 — scoped to detail view */
.tpd-wrap{max-width:1220px;margin:20px auto 45px;color:#183657;font-size:14px}.tpd-wrap *{box-sizing:border-box}.tpd-breadcrumb{font-size:12px;color:#75869a;margin-bottom:16px}.tpd-breadcrumb a{color:#23649e;text-decoration:none}.tpd-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.tpd-heading{max-width:930px}.tpd-eyebrow{font-size:11px;letter-spacing:.11em;color:#c38325;font-weight:700;margin-bottom:8px}.tpd-heading h1{font-size:clamp(21px,2.2vw,30px);line-height:1.32;letter-spacing:-.02em;font-weight:650;color:#163759;margin:0 0 14px}.tpd-badges{display:flex;gap:8px;flex-wrap:wrap}.tpd-badges span{background:#eef4fa;color:#3e6386;border-radius:5px;padding:6px 9px;font-size:11px;overflow-wrap:anywhere}.tpd-badges .tpd-corrigendum{background:#fff2df;color:#a56510}.tpd-back,.tpd-back-bottom{color:#22649e;text-decoration:none;font-weight:600;white-space:nowrap;font-size:12px}.tpd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.tpd-metrics>div,.tpd-panel{background:white;border:1px solid #e0e8f0;border-radius:10px;box-shadow:0 3px 12px rgba(20,49,78,.025)}.tpd-metrics>div{padding:16px 18px}.tpd-metrics small,.tpd-facts small{display:block;color:#738397;font-size:12px;margin-bottom:7px}.tpd-metrics strong{font-size:17px;font-weight:650;color:#163759}.tpd-columns{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:18px;align-items:start}.tpd-main,.tpd-aside{display:grid;gap:16px}.tpd-panel{padding:22px}.tpd-panel h2{font-size:17px;font-weight:650;margin:0 0 17px;color:#183b60}.tpd-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.tpd-facts strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.tpd-description{color:#47586a;line-height:1.85;overflow-wrap:anywhere;white-space:normal}.tpd-dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tpd-dl>div{min-width:0}.tpd-dl dt{color:#718096;font-size:12px;margin-bottom:5px}.tpd-dl dd{margin:0;color:#223d59;overflow-wrap:anywhere}.tpd-aside .tpd-dl{grid-template-columns:1fr}.tpd-document{border-top:3px solid #c88930}.tpd-document p{line-height:1.65;color:#5b6b7d;font-size:13px}.tpd-primary,.tpd-secondary{display:block;text-align:center;text-decoration:none;border-radius:6px;padding:11px 12px;font-weight:600;margin-top:10px;font-size:13px}.tpd-primary{background:#c88930;color:white}.tpd-secondary{border:1px solid #9db7d1;color:#245b90}.tpd-back-bottom{display:block;padding:8px 2px}@media(max-width:850px){.tpd-columns{grid-template-columns:1fr}.tpd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.tpd-wrap{margin:15px auto 30px}.tpd-top{display:block}.tpd-back{display:inline-block;margin-top:14px}.tpd-metrics{gap:8px}.tpd-metrics>div{padding:12px}.tpd-metrics strong{font-size:14px}.tpd-panel{padding:17px}.tpd-facts,.tpd-dl{grid-template-columns:1fr}}

/* v0.7.0 — lighter detail-page hierarchy and more compact summary */
.tpd-heading h1{font-size:clamp(21px,1.85vw,27px);font-weight:600;line-height:1.38;letter-spacing:-.012em}
.tpd-top{margin-bottom:16px}.tpd-metrics{gap:10px;margin-bottom:14px}
.tpd-metrics>div{padding:13px 15px}.tpd-metrics strong{font-size:15px;font-weight:600}
.tpd-panel{padding:19px}.tpd-panel h2{font-size:16px;font-weight:600;margin-bottom:14px}
.tpd-facts strong{font-weight:500}.tpd-columns{gap:15px}.tpd-main,.tpd-aside{gap:13px}
@media(max-width:560px){.tpd-heading h1{font-size:21px}.tpd-panel{padding:16px}}

/* Stage B1: scoped portal refinements, no external framework. */
.portal-brand img{display:block;width:190px;height:auto;max-width:100%}.portal-main-site{font-size:13px;color:#374151;white-space:nowrap}.portal-header-inner{min-height:100px;gap:24px}.portal-nav{justify-content:flex-end}.portal-login{white-space:nowrap}.tp-hero{padding:36px 38px;background:linear-gradient(120deg,#153b5b,#245e7d);border-radius:12px}.tp-hero h1{font-family:Georgia,serif;font-size:clamp(30px,3.3vw,46px)}.tp-eyebrow{color:#ffd399}.tp-hero-search button,.tp-apply{background:#92521a;color:#fff}.tp-hero-search button:hover,.tp-apply:hover{background:#713c10}.tp-hero p:not(.tp-eyebrow){max-width:720px}.tp-sector-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tp-sector-strip a{min-width:0;overflow-wrap:anywhere;padding:12px;background:#fff;border:1px solid var(--tp-border);border-radius:7px;font-size:12px}.tp-filter-panel summary{padding:12px 16px;cursor:pointer;font-weight:700;background:#e6edf3;border-radius:8px}.tp-filter-heading{background:#e8eff5;color:#173b58}.tp-filter-heading h3{color:#173b58}.tp-filter-heading a{color:#71400f}.tp-filter-body{display:flex;gap:7px}.tp-filter-body label{margin-top:8px}.tp-filter-body input,.tp-filter-body select{font-size:13px;min-height:42px}.tp-status{display:inline-block;padding:4px 8px;border-radius:5px;background:#e5efe8;color:#235839;font-size:11px;font-weight:700}.tp-results-top p{color:#475569}.tp-tender-card{box-shadow:0 2px 7px #173b5805}.tp-tender-card h4{font-size:17px;overflow-wrap:anywhere}.tp-card-meta{color:#475569}.tp-results{min-width:0}.tp-portal-note{margin-top:18px;background:#e6edf3;border-radius:9px;padding:18px;font-size:13px}.tp-portal-note h3{margin:0}.portal-footer{background:#e5ebf0;color:#173b58;border-top:1px solid #cbd5df}.portal-footer p{font-size:13px}.portal-footer a{color:#173b58}.tender-portal :focus-visible{outline:3px solid #a34f11;outline-offset:3px}.tp-hero :focus-visible{outline-color:#ffd399}.tp-pagination ul{display:flex;list-style:none;gap:6px;flex-wrap:wrap;padding:0}.tp-pagination a,.tp-pagination .page-link{display:block;padding:7px 11px;border:1px solid #b8c7d5;background:#fff;border-radius:5px;color:#173b58}.tp-pagination .active .page-link{background:#173b58;color:#fff}.tp-right-rail,.tp-filter-panel{min-width:0}
@media(max-width:1100px){.portal-header-inner{flex-wrap:wrap;gap:15px;padding-top:16px;padding-bottom:16px}.portal-nav{justify-content:flex-start}.tp-sector-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.portal-main-site{font-size:12px}.portal-brand img{width:155px}.portal-login{padding:8px 10px;font-size:12px}.portal-header-inner{gap:12px}.tp-hero{padding:26px 18px}.tp-hero-bottom{flex-wrap:wrap;gap:16px}.tp-sector-strip{grid-template-columns:1fr 1fr}.tp-input-pair{grid-template-columns:1fr}.tp-card-side{min-width:0}.tp-hero-search button{min-height:44px}.tp-filter-body{display:flex}.tp-right-rail{display:block}.tp-filter-panel summary{min-height:44px}}

.tp-status[data-status="Expired"],.tp-status[data-status="Closed"]{background:#fff0dc;color:#75400d}.tp-status[data-status="Cancelled"],.tp-status[data-status="Archived"]{background:#eceef1;color:#394455}.tp-status[data-status="Date unavailable"]{background:#fff0dc;color:#75400d}
/* Shared NBM&CW top bar; dedicated Tender identity without image cropping. */
@font-face{font-family:TenderSocial;src:url('../../ezeelinktemplate/fonts/fa-brands-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
.tender-portal .portal-topbar{background:var(--portal-topbar-bg,#093868);color:#fff;font-size:12px}
.tender-portal .portal-topbar-inner{display:flex;align-items:center;gap:22px;min-height:40px}
.tender-portal .portal-social{display:flex;align-items:center;gap:16px}
.tender-portal .portal-social a{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:32px;color:#fff;text-decoration:none}
.tender-portal .portal-social-icon{font-family:TenderSocial!important;font-size:17px;font-weight:400;line-height:1}
.tender-portal .portal-utility{display:flex;align-items:center;gap:22px;margin-left:auto}
.tender-portal .portal-utility a{color:#fff;text-decoration:none;white-space:nowrap;line-height:1.4;padding:8px 0}
.tender-portal .portal-utility a:hover{text-decoration:underline;text-underline-offset:4px}
.tender-portal .portal-header-actions{display:flex;align-items:center;flex:0 0 auto;margin-left:0}
.tender-portal .portal-topbar .portal-login{display:inline-flex;align-items:center;justify-content:center;min-height:32px;margin:0;padding:5px 0 5px 20px;border:0;border-left:1px solid #ffffff55;border-radius:0;color:#fff;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none;white-space:nowrap}
.tender-portal .portal-topbar :focus-visible{outline:2px solid #ffda95;outline-offset:2px}
.tender-portal .portal-header-inner{min-height:70px;padding-top:5px;padding-bottom:5px;display:flex;align-items:center;flex-wrap:nowrap;gap:24px}
.tender-portal .portal-brand{flex:0 0 auto;display:block;line-height:1;text-decoration:none}
.tender-portal .portal-brand .portal-tender-logo{display:block;width:210px;max-width:100%;height:auto;margin:0}
.tender-portal .portal-header .portal-nav{flex:1 1 auto;min-width:0;width:auto;order:0;justify-content:flex-end;gap:20px}
@media(max-width:760px){.tender-portal .portal-topbar-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding-top:3px;padding-bottom:3px}.tender-portal .portal-social{grid-column:1;grid-row:1;gap:12px}.tender-portal .portal-header-actions{grid-column:2;grid-row:1}.tender-portal .portal-topbar .portal-login{padding-left:0;border-left:0;font-size:11px}.tender-portal .portal-utility{grid-column:1/-1;grid-row:2;justify-content:center;gap:28px;margin:0;font-size:11px}.tender-portal .portal-utility a{padding:5px 0;min-height:28px;display:inline-flex;align-items:center}.tender-portal .portal-header-inner{min-height:62px;gap:12px;flex-wrap:wrap}.tender-portal .portal-brand .portal-tender-logo{width:180px}.tender-portal .portal-header .portal-nav{order:3;flex-basis:100%;justify-content:flex-start}.tender-portal .portal-social-icon{font-size:16px}}
@media(max-width:360px){.tender-portal .portal-social{gap:8px}.tender-portal .portal-social a{min-width:20px}.tender-portal .portal-utility{gap:22px}}

/* Shared NBM&CW popup assets receive only local theme tokens, not the main site CSS. */
.tender-portal .el-login-popup{--surface-color:#fff;--text-color:#172b45;--muted-color:#5b6775;--page-background:#f3f6fa;--border-color:#cbd5df;--theme-color:#173b58;--link-color:#173b58;--link-hover-color:#92521a;--font-body:system-ui,-apple-system,"Segoe UI",sans-serif;--font-heading:Georgia,serif;--h2-size:28px;--h2-weight:600}
.tender-portal .el-login-dialog .el-login-submit{display:block;width:100%;border:1px solid #173b58;border-radius:6px;background:#173b58;color:#fff;font:inherit;font-weight:600;padding:12px;cursor:pointer}
.tender-portal .el-login-dialog .el-login-submit:disabled{opacity:.65;cursor:wait}
.tender-portal .el-login-dialog a{text-underline-offset:3px}
.tender-portal .el-login-message[hidden]{display:none}
/* The shared form's password toggle needs no site-wide icon font. */
.tender-portal .el-login-password-toggle::after{content:'Show';font:600 11px system-ui,sans-serif}
.tender-portal .el-login-password-toggle[aria-label="Hide password"]::after{content:'Hide'}
.tender-portal .el-login-password-toggle i{display:none}
}

/* Tender/Award inline enquiries only; shared Webforms and sidebar geometry stay intact. */
.tender-portal .tm-enquiry-panel .el-webforms {
  --surface-color: #fff;
  --page-background: #fff;
  --text-color: #183657;
  --muted-color: #5b6b7d;
  --border-color: #b7c5d3;
  --theme-color: #e98312;
  --theme-on-color: #fff;
  --theme-accent: #c96908;
  --link-color: #173b58;
  --link-hover-color: #92521a;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.tender-portal .tm-enquiry-panel .el-webforms__form-area {
  padding: 0;
  min-width: 0;
  background: #fff;
}
.tender-portal .tm-enquiry-panel .el-webforms__form {
  margin: 0;
}
.tender-portal .tm-enquiry-panel .el-webforms__form-header {
  margin: 0;
}
.tender-portal .tm-enquiry-panel .el-webforms__title {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.35;
}
.tender-portal .tm-enquiry-panel .el-webforms__intro {
  margin: 0 0 12px;
  font-size: 13px;
}
.tender-portal .tm-enquiry-panel .el-webforms__field {
  margin: 0 0 13px;
  min-width: 0;
}
.tender-portal .tm-enquiry-panel .el-webforms__field label {
  margin: 0 0 4px;
  color: #183657;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.tender-portal .tm-enquiry-panel .el-webforms__field :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #b7c5d3;
  border-radius: 5px;
  background: #fff;
  color: #183657;
  font: inherit;
  line-height: 1.4;
}
.tender-portal .tm-enquiry-panel .el-webforms__field textarea {
  height: 96px;
  min-height: 96px;
  resize: vertical;
}
.tender-portal .tm-enquiry-panel .el-webforms__field :is(input, textarea, select):focus {
  border-color: #173b58;
  outline: 2px solid #173b58;
  outline-offset: 1px;
  box-shadow: none;
}
.tender-portal .tm-enquiry-panel .el-webforms__field :is(input, textarea, select):is(:user-invalid, [aria-invalid="true"]) {
  border-color: #b42318;
}
.tender-portal .tm-enquiry-panel .el-webforms__consent {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.tender-portal .tm-enquiry-panel .el-webforms__consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-weight: 400;
}
.tender-portal .tm-enquiry-panel :is(.el-webforms__consent, .el-webforms__field) input:is([type="checkbox"], [type="radio"]) {
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #173b58;
}
.tender-portal .tm-enquiry-panel .el-form__actions {
  display: block;
  margin: 14px 0 0;
}
.tender-portal .tm-enquiry-panel .el-form__submit {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  gap: 10px;
  padding: 11px 14px;
  border: 0;
  border-radius: 5px;
  background: #e98312;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}
.tender-portal .tm-enquiry-panel .el-form__submit:hover {
  background: #c96908;
  box-shadow: none;
  transform: none;
}
.tender-portal .tm-enquiry-panel :is(.el-form__submit, .el-webforms__consent input):focus-visible {
  outline: 2px solid #173b58;
  outline-offset: 2px;
}
.tender-portal .tm-enquiry-panel .el-form__submit:disabled {
  opacity: .65;
  cursor: wait;
}
.tender-portal .tm-enquiry-panel .el-webforms__message {
  margin: 0 0 13px;
  padding: 10px;
  border: 1px solid #efb0a9;
  border-radius: 5px;
  background: #fff4f2;
  color: #922b21;
  font-size: 13px;
  line-height: 1.45;
}
.tender-portal .tm-enquiry-panel .el-webforms__success {
  padding: 12px;
  border: 1px solid #bbd9c4;
  border-radius: 5px;
  background: #f1f8f3;
  text-align: left;
}
.tender-portal .tm-enquiry-panel .el-webforms__success-title {
  margin: 0 0 6px;
  color: #235839;
  font-size: 17px;
  line-height: 1.35;
}
.tender-portal .tm-enquiry-panel .el-webforms__success-text {
  margin: 0;
  color: #235839;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .tender-portal .tm-enquiry-panel .el-webforms__field :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select) {
    font-size: 16px;
  }
}
