/* NEWG Contractor Center 4.9.3.67-rc1 | contained styling */
#newgContractorCenter[hidden],#newgContractorCenter [hidden]{display:none!important}
#newgContractorCenter{margin:10px 0;color:var(--text,#f5f7fa)}
#newgContractorCenter .ncc-head{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
#newgContractorCenter h2,#newgContractorCenter h3,#newgContractorCenter p{margin:0}
#newgContractorCenter h2{font-size:clamp(19px,2.2vw,26px);line-height:1.2}
#newgContractorCenter h3{font-size:17px}
#newgContractorCenter .ncc-eyebrow{font-size:11px;letter-spacing:.12em;color:#81caff;font-weight:750}
#newgContractorCenter .ncc-small{font-size:12px;color:#b2cce0;line-height:1.45}
#newgContractorCenter .ncc-status{font-size:12px;color:#b8d3e7}
#newgContractorCenter .ncc-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 14px}
#newgContractorCenter button{font-family:inherit}
#newgContractorCenter .ncc-tabs button,#newgContractorCenter .ncc-states button,#newgContractorCenter .ncc-button{border:1px solid #426889;background:#091e36;color:#eff8ff;border-radius:7px;padding:10px 11px;font-weight:700;cursor:pointer;min-height:38px}
#newgContractorCenter .ncc-tabs button[aria-selected=true],#newgContractorCenter .ncc-states button[aria-pressed=true]{background:#12548b;border-color:#54c3ff;color:white}
#newgContractorCenter button:hover{border-color:#73d2ff}
#newgContractorCenter button:focus-visible,#newgContractorCenter summary:focus-visible{outline:3px solid #9addff;outline-offset:2px}
#newgContractorCenter .ncc-surface{background:linear-gradient(160deg,#091f38,#061224);border:1px solid #466f94;border-radius:9px;padding:13px;min-width:0}
#newgContractorCenter .ncc-pane{display:grid;gap:10px}
#newgContractorCenter .ncc-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
#newgContractorCenter .ncc-section-head .ncc-small{max-width:600px}
#newgContractorCenter .ncc-snapshot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#newgContractorCenter .ncc-stat{background:#07182b;padding:11px 9px;border:1px solid #2a5579;border-radius:7px;min-width:0}
#newgContractorCenter .ncc-stat span{display:block;color:#b0cce0;font-size:11px}
#newgContractorCenter .ncc-stat strong{display:block;font-size:clamp(13px,1.5vw,19px);margin-top:5px;overflow-wrap:anywhere}
#newgContractorCenter .ncc-tablewrap{overflow-x:auto}
#newgContractorCenter table{width:100%;border-collapse:collapse;font-size:13px;min-width:490px}
#newgContractorCenter th{text-align:left;color:#a8c9e0;font-size:11px;letter-spacing:.06em;padding:8px;border-bottom:1px solid #335d80}
#newgContractorCenter td{padding:9px 8px;border-bottom:1px solid #244564;vertical-align:middle}
#newgContractorCenter td button{min-height:31px;border:1px solid #426889;background:#0c385a;color:white;border-radius:6px;padding:6px 9px;font-size:12px}
#newgContractorCenter .ncc-muted{color:#a9c2d8}
#newgContractorCenter .ncc-details{border:1px solid #436b8e;border-radius:8px;overflow:hidden;background:#06172b}
#newgContractorCenter .ncc-details>summary{cursor:pointer;padding:12px 14px;color:#e7f3ff;font-weight:700;list-style:revert}
#newgContractorCenter .ncc-details>.ncc-slot{padding:4px 10px 10px}
#newgContractorCenter .ncc-states{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:10px 0}
#newgContractorCenter .ncc-states button{padding:9px 4px}
#newgContractorCenter .ncc-states button:first-child{grid-column:span 1}
#newgContractorCenter .ncc-state-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#newgContractorCenter .ncc-state-card{border:1px solid #315b7d;background:#071b30;border-radius:7px;padding:11px;cursor:pointer;text-align:left;color:white}
#newgContractorCenter .ncc-state-card b{display:block;font-size:14px}
#newgContractorCenter .ncc-state-card small{display:block;color:#a9c6da;margin-top:4px}
#newgContractorCenter .ncc-favorite-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#newgContractorCenter .ncc-favorite{border:1px solid #4d7397;background:#071b30;border-radius:8px;display:flex;align-items:stretch;min-width:0}
#newgContractorCenter .ncc-favorite button:first-child{flex:1;min-width:0;color:white;text-align:left;background:transparent;border:0;padding:10px;cursor:pointer}
#newgContractorCenter .ncc-favorite button:first-child strong{display:block;font-size:12px;overflow-wrap:anywhere}
#newgContractorCenter .ncc-favorite button:first-child small{display:block;color:#b3cfe2;margin-top:3px}
#newgContractorCenter .ncc-favorite button:last-child{border:0;border-left:1px solid #2a4b67;color:#ffd376;background:transparent;cursor:pointer;padding:8px;font-size:18px}
#newgContractorCenter .ncc-regions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#newgContractorCenter .ncc-region-row{display:flex;gap:5px;align-items:stretch;background:#071b30;border:1px solid #315b7d;border-radius:7px;min-width:0}
#newgContractorCenter .ncc-region-open{background:transparent!important;border:0!important;color:white;cursor:pointer;flex:1;min-width:0;text-align:left;padding:10px!important}
#newgContractorCenter .ncc-region-open strong{display:block;font-size:12px;overflow-wrap:anywhere}
#newgContractorCenter .ncc-region-open small{display:block;margin-top:3px;color:#b0cede}
#newgContractorCenter .ncc-star{border:0!important;background:transparent!important;color:#ffce68;padding:8px 10px!important;cursor:pointer;font-size:19px}
#newgContractorCenter .ncc-risk{font-size:11px;font-weight:700;border-radius:5px;padding:3px 6px;display:inline-block;background:#18334e;color:#daebfc}
#newgContractorCenter .ncc-risk[data-risk=elevated]{background:#6d391d;color:#ffe3be}
#newgContractorCenter .ncc-risk[data-risk=moderate]{background:#614e22;color:#ffeac2}
#newgContractorCenter .ncc-risk[data-risk=low]{background:#204b49;color:#cbfff5}
#newgContractorCenter .ncc-change{border-left:3px solid #67bcf7;padding:8px 11px;background:#081c32;color:#d5e8f7}
#newgContractorCenter .ncc-error{color:#ffc1b6;font-size:12px}
#newgContractorCenter .ncc-source{font-size:11px;color:#a8c1d4;line-height:1.45}
#newgContractorCenter .ncc-slot>.panel{margin:8px 0}
#newgContractorCenter .ncc-slot .contractor-grid{margin:0}
#newgContractorCenter .ncc-empty{border:1px dashed #52728c;padding:14px;border-radius:7px;color:#c6d9e8}
@media(max-width:900px){
  #newgContractorCenter .ncc-states{grid-template-columns:repeat(4,minmax(0,1fr))}
  #newgContractorCenter .ncc-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}
  #newgContractorCenter .ncc-favorite-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  #newgContractorCenter .ncc-tabs{gap:5px}
  #newgContractorCenter .ncc-tabs button{font-size:11px;padding:9px 3px}
  #newgContractorCenter .ncc-states{grid-template-columns:repeat(4,minmax(0,1fr))}
  #newgContractorCenter .ncc-state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #newgContractorCenter .ncc-regions,#newgContractorCenter .ncc-favorite-list{grid-template-columns:1fr}
  #newgContractorCenter .ncc-surface{padding:10px}
}

/* Public 4.9.3.68: always-visible NEWG briefing above all forecast selectors */
#newgContractorCenter .ncc-top-briefing {display:grid;gap:10px;margin:12px 0 14px}
#newgContractorCenter .ncc-top-briefing .contractor-hero {margin:0;min-height:0}
#newgContractorCenter .ncc-top-briefing .contractor-newg-operations {margin:0}
#newgContractorCenter .ncc-top-briefing #contractorBriefing {white-space:pre-line;overflow-wrap:anywhere}
#newgContractorCenter .ncc-select-heading {display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:15px}
#newgContractorCenter .ncc-select-heading h3 {font-size:17px}
#newgContractorCenter .ncc-tabs {margin-top:8px}
@media(max-width:620px){
 #newgContractorCenter .ncc-top-briefing{gap:8px;margin:8px 0 12px}
 #newgContractorCenter .ncc-select-heading{gap:4px}
}

/* 4.9.3.69: Only two forecast tabs. Chat is permanently at page bottom. */
#newgContractorCenter .ncc-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
#view-contractor .ncc-bottom-chat{display:block;margin:14px 0 8px;min-width:0}
#view-contractor .ncc-bottom-chat>.contractor-chat-panel{display:block;margin:0}
#view-contractor .ncc-bottom-chat .contractor-chat-messages{min-height:160px}
#view-contractor.public-preview>#newgContractorCenter{display:none!important}
#view-contractor.public-preview>.contractor-hero,
#view-contractor.public-preview>.contractor-newg-operations,
#view-contractor.public-preview>.contractor-locations-panel,
#view-contractor.public-preview>.contractor-grid,
#view-contractor.public-preview>.ncc-bottom-chat{display:none!important}
