/* PRISM Phase 2EI — focused Competitive Bidding workspace, 2026-11-17.
   Presentation only: existing RPCs, authorization checks, legal validation and audit
   gates remain authoritative. No alternate write operations are introduced. */
#biddingPage .cbWorkspaceNav{position:sticky;top:5px;z-index:15;max-width:100%;background:linear-gradient(115deg,#f6fcff 0%,#eef3ff 100%);border:1px solid #94bbd7;border-radius:16px;padding:12px 15px;margin:12px 0;box-shadow:0 4px 20px #15345b19;color:#143f60;scroll-margin-top:16px}
#biddingPage .cbWorkspaceNavTop{display:flex;gap:11px;align-items:center;flex-wrap:wrap;padding-bottom:9px}
#biddingPage .cbWorkspaceNavTop label{font-size:11px;font-weight:900;letter-spacing:.06em;color:#3e5f76}
#biddingPage .cbWorkspaceNavTop select{flex:1 1 340px;max-width:620px;min-width:0;padding:9px 12px;border:1px solid #aac8db;border-radius:9px;color:#153a56;background:#fff;font-weight:750}
#biddingPage .cbWorkspaceEnroll{background:#eaf5ff;border:1px solid #a5cbe6;color:#215879;border-radius:9px;font-size:12px;font-weight:850;cursor:pointer;padding:10px 13px}
#biddingPage .cbWorkspaceTabs{display:flex;flex-wrap:wrap;gap:7px;margin:0}
#biddingPage .cbWorkspaceTab{border:1px solid #b4d0e5;border-radius:10px;background:#fff;color:#1e4a68;cursor:pointer;padding:11px 14px;font-size:12.5px;font-weight:850;min-height:40px;flex:1 1 140px;transition:background .13s,border-color .13s}
#biddingPage .cbWorkspaceTab.isActive{background:linear-gradient(120deg,#047f95,#4938b3);border-color:#317bad;color:white;box-shadow:0 3px 9px #254e8e3b}
#biddingPage .cbWorkspaceTab:disabled{opacity:.45;cursor:not-allowed}
#biddingPage .cbWorkspaceContext{margin:9px 2px 0;font-size:12px;color:#436379;line-height:1.45}
#biddingPage .cbWorkspaceTab:focus-visible,#biddingPage .cbWorkspaceEnroll:focus-visible,#biddingPage .cbWorkspaceNavTop select:focus-visible{outline:3px solid #168dec;outline-offset:2px}
#biddingPage .cbGuideMain[hidden],#biddingPage .cbGuideSafety[hidden],#biddingPage .cbGuideAccordion[hidden]{display:none!important}
#biddingPage .cbGuideAccordion[data-section="calendar"]>summary{display:none}
#biddingPage .cbGuideAccordion[data-section="calendar"]{scroll-margin-top:180px}
#biddingPage .cbGuideAccordion[data-section="calendar"]>.cbPanel{padding:16px}
#biddingPage .cbWorkspaceManual{margin:4px 0 10px;width:auto;font-size:12px}
#biddingPage .cbGuideMilestone{font-size:12px}
/* One focused area per tab: no double rendering of Meetings, Amendment and Draft editors. */
#biddingPage:not([data-cb-workspace-view="calendar"]) .cbEstimator{display:none!important}
#biddingPage:not([data-cb-workspace-view="meetings"]):not([data-cb-workspace-view="manual"]) #cbAutoTeamsPanel{display:none!important}
#biddingPage:not([data-cb-workspace-view="amend"]):not([data-cb-workspace-view="history"]) #cbAmendmentPanel{display:none!important}
#biddingPage:not([data-cb-workspace-view="meetings"]):not([data-cb-workspace-view="manual"]) .cbWorkspaceManual{display:none!important}
#biddingPage:not([data-cb-workspace-view="history"]) .cbGuideAccordion[data-section="history"]{display:none!important}
#biddingPage:not([data-cb-workspace-view="manual"]) .cbGuideAccordion[data-section="meetings"]{display:none!important}
#biddingPage:not([data-cb-workspace-view="calendar"]) #cbFinalizePanel{display:none!important}
/* The meeting controls are part of the original calendar form; leave event handlers intact. */
#biddingPage[data-cb-workspace-view="meetings"] #cbAutoTeamsPanel{margin-top:8px}
#biddingPage[data-cb-workspace-view="manual"] #cbAutoTeamsPanel{margin-top:8px}
#biddingPage[data-cb-workspace-view="history"] #cbAmendmentPanel:not([hidden]){padding:12px 16px}
#biddingPage[data-cb-workspace-view="history"] #cbAmendmentPanel:not([hidden]) > :not(#cbAmendmentHistory){display:none!important}
#biddingPage[data-cb-workspace-view="history"] #cbAmendmentHistory:before{content:'Calendar amendments';display:block;font-weight:900;color:#153d60;font-size:16px;margin:6px 0 12px}
#biddingPage[data-cb-workspace-view="calendar"] .cbGuideAccordion[data-section="calendar"]>.cbPanel>h3{display:none}
#biddingPage .cbGuideAccordion[data-section="calendar"]>.cbPanel>p.cbNotice[hidden]{display:none!important}
/* Amendment: clear BEFORE→AFTER instead of misleading pre-filled proposed dates. */
#biddingPage .cbAmendmentInstruction{background:#e4f5fc;border:1px solid #b5d9e9;border-radius:10px;color:#244b68;margin:10px 0;padding:11px 13px;font-size:13px;line-height:1.5}
#biddingPage .cbAmendmentSelectRow{display:block;max-width:520px;margin-bottom:12px}
#biddingPage .cbAmendmentCompare{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1.35fr);gap:12px;align-items:stretch;margin:12px 0 9px}
#biddingPage .cbAmendmentCurrent,#biddingPage .cbAmendmentProposed{min-width:0;border-radius:12px;padding:16px;background:#fff;border:1px solid #b7d0e4;display:flex;flex-direction:column;gap:8px}
#biddingPage .cbAmendmentCurrent{background:#e9f1f9;border-color:#a8c6de}
#biddingPage .cbAmendmentProposed{background:#f1fcfb;border:1px solid #76bfb1}
#biddingPage .cbAmendmentCompareLabel{font-size:10.5px;letter-spacing:.05em;color:#42617a;font-weight:900}
#biddingPage .cbAmendmentCurrent strong{font-size:22px;font-weight:900;letter-spacing:-.025em;color:#164568}
#biddingPage .cbAmendmentCurrent span:last-child{font-size:12.5px;color:#4c6780}
#biddingPage .cbAmendmentArrow{align-self:center;justify-self:center;font-size:26px;font-weight:900;color:#2675a1}
#biddingPage .cbAmendmentProposed label{font-size:12px;font-weight:800;color:#184761;gap:6px}
#biddingPage .cbAmendmentProposed input{margin-top:5px}
#biddingPage .cbAmendmentDraftState{padding:10px 12px;background:#eaf5ff;color:#315b73;border-left:3px solid #3791bd;border-radius:8px;font-size:12px;line-height:1.45}
#biddingPage .cbAmendmentChangeSummary{border:1px solid #95c3dc;background:#e5f6fe;color:#173d5e;font-weight:800;padding:10px 13px;border-radius:10px;line-height:1.5}
#biddingPage .cbAmendmentActions button:disabled{opacity:.45;cursor:not-allowed}
#biddingPage[data-cb-workspace-view="amend"] #cbAmendmentPanel{margin-top:12px}
@media(max-width:880px){#biddingPage .cbAmendmentCompare{grid-template-columns:minmax(0,1fr)}#biddingPage .cbAmendmentArrow{transform:rotate(90deg)}#biddingPage .cbWorkspaceNav{position:relative;top:auto}}
@media(max-width:580px){#biddingPage .cbWorkspaceNav{padding:10px}#biddingPage .cbWorkspaceTab{flex:1 1 130px;padding:10px 9px}#biddingPage .cbWorkspaceNavTop select{flex-basis:100%}#biddingPage .cbAmendmentCurrent strong{font-size:19px}}

#biddingPage[data-cb-workspace-view="amend"] #cbAmendmentHistory .cbAmendmentCompleted{display:none!important}
#biddingPage[data-cb-workspace-view="amend"] #cbAmendmentHistory:before{content:'Amendments awaiting action';display:block;font-weight:850;color:#20516d;font-size:14px;margin:14px 0 8px}
#biddingPage[data-cb-workspace-view="history"] .cbAmendmentOpenEmpty{display:none!important}
#biddingPage .cbAmendmentOpenEmpty{font-size:12px;color:#53748b;margin:8px 0}
/* The top workspace selector is the single source of PR selection. Preserve the
   original select in the DOM for existing data bindings and callbacks. */
#biddingPage[data-cb-workspace-view] .cbGuideAccordion[data-section="calendar"] label[for="cbSelectedPr"],
#biddingPage[data-cb-workspace-view] .cbGuideAccordion[data-section="calendar"] #cbSelectedPr{display:none!important}
#biddingPage[data-cb-workspace-view] .cbGuideAccordion[data-section="calendar"]>.cbPanel>h3,
#biddingPage[data-cb-workspace-view] .cbGuideAccordion[data-section="calendar"] #cbProjectLabel{display:none!important}
