/* Enterprise AI for Cross-Industry Enterprise and its workflow pages. Shared context-first (cx-) styles are in
   construction.css; these are the enterprise surfaces (eg-), derived from the hospitality set with a slate palette:
   slate for the record, green for agrees, amber for a person’s call, rust for a gap. */
.cx-a-data+.cx-a-text{font-size:13px}

/* Shared bits */
.re-solo-body>[class^="eg-"],.re-main>[class^="eg-"]{margin:0 clamp(14px,2vw,24px) 14px}
.re-solo-body>.re-activity{margin:0 clamp(14px,2vw,24px) 10px}
.eg-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.eg-col{display:grid;gap:10px;align-content:start;min-width:0}
.eg-rq,.eg-ap,.eg-ld,.eg-sc,.eg-bd,.eg-wt{display:grid;gap:10px;min-width:0}
.eg-fig{margin:0;min-width:0}
.eg-fig svg{display:block;width:100%;height:auto;background:#f5f7fa;border:1px solid #d8e0e8;border-radius:10px}
.eg-fig figcaption{font-size:11px;color:var(--re-muted);margin-top:4px}
.re-scrub .eg-fig svg{max-height:40svh}
.eg-t,.eg-axis-t{font:11px Instrument,sans-serif;fill:#56657a}
.eg-bar-t{font:600 11.5px Instrument,sans-serif;fill:#1b2733}
.eg-axis{stroke:#a8b6c5;stroke-width:1;fill:none}
.eg-tick{stroke:#a8b6c5;stroke-width:1}
.eg-mark{stroke:#b0451f;stroke-width:1.5;stroke-dasharray:4 3;fill:none}
.eg-bar rect{fill:#34506b}.eg-bar-hot rect{fill:#b0451f}.eg-bar-ok rect{fill:#2f6a3e}.eg-bar-warn rect{fill:#c27a2c}
.eg-draft{padding:12px 14px;background:#fff;border:1px solid #d8e0e8;border-left:3px solid #34506b;border-radius:4px 8px 8px 4px;min-width:0}
.eg-draft header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted);margin-bottom:6px}
.eg-draft header b{text-transform:none;letter-spacing:0;font-size:13px;color:#1b2733}
.eg-draft p{margin:0 0 8px;font:13.5px/1.5 Georgia,serif;color:#22303e}

/* 1. Shared mailbox */
.eg-inbox{list-style:none;margin:0;padding:0;display:grid;gap:6px;min-width:0}
.eg-mail{display:grid;gap:2px;padding:9px 11px;background:#fff;border:1px solid #d8e0e8;border-radius:8px;font-size:12.5px;line-height:1.35}
.eg-mail-hot{border-left:3px solid #b0451f}.eg-mail-warn{border-left:3px solid #c27a2c}
.eg-mail-ch{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--re-muted)}
.eg-mail small{color:var(--re-muted);font-size:11px}
.eg-mail em{font-style:normal;color:#34506b;font-size:11.5px}

/* 2. Response clock and redaction */
.eg-clock-track{fill:#e1eaf0}.eg-clock-done{fill:#7b8f9e}.eg-clock-now{fill:#b0451f}
.eg-clock-t{font:600 11px Instrument,sans-serif;fill:#b0451f}
.eg-doc{padding:10px 12px;background:#fff;border:1px solid #d8e0e8;border-radius:6px;font:13px/1.5 Georgia,serif}
.eg-doc small{display:block;font:10.5px Instrument,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
.eg-doc p{margin:4px 0 8px}
.eg-redact{background:#1b2733;color:#1b2733;border-radius:2px}

/* 3. Aggregate heat grid */
.eg-cell-0{fill:#eaf1f5}.eg-cell-1{fill:#b9c6d3}.eg-cell-2{fill:#c27a2c}.eg-cell-3{fill:#b0451f}
.eg-cell-t{font:600 11px Instrument,sans-serif;fill:#1b2733}

/* 4. Guidance compare and checklist */
.eg-dot{fill:#34506b}
.eg-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.eg-compare article{padding:10px 12px;background:#fff;border:1px solid #d8e0e8;border-radius:8px;font-size:12.5px;line-height:1.4}
.eg-compare-new{border-style:dashed!important;opacity:.85}
.eg-compare small{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--re-muted)}
.eg-compare ul{margin:6px 0 0;padding-left:16px}
.eg-compare mark{background:#f6e4cf}
.eg-checks{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.eg-checks li{display:flex;gap:8px;align-items:center;padding:7px 10px;background:#fff;border:1px solid #d8e0e8;border-radius:6px;font-size:12.5px}
.eg-checks li i{flex:none;width:11px;height:11px;border-radius:50%;background:#2f6a3e}
.eg-checks small{margin-left:auto;color:var(--re-muted);font-size:11.5px}
.eg-ck-gap{color:#7a2f14}.eg-ck-gap i{background:#b0451f!important}

/* 5. Scheme map */
.eg-land{fill:#eef0e6}
.eg-channel{fill:none;stroke:#9fc0cc;stroke-width:14;stroke-linecap:round}
.eg-widen{fill:none;stroke:#5f93a8;stroke-width:4;stroke-dasharray:8 5}
.eg-parcel{stroke:#fff;stroke-width:1}
.eg-parcel-ok{fill:#7fa585}.eg-parcel-ask{fill:#c27a2c}.eg-parcel-counsel{fill:#b0451f}.eg-parcel-gov{fill:#34506b}
.eg-legend{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:6px}
.eg-legend li{display:flex;gap:8px;align-items:center;padding:7px 10px;background:#fff;border:1px solid #d8e0e8;border-radius:6px;font-size:12.5px;line-height:1.3}
.eg-legend li i{flex:none;width:11px;height:11px;border-radius:3px;background:#7fa585}
.eg-legend li b{margin-left:auto;font-size:16px}
.eg-legend .eg-lg-ask i{background:#c27a2c}.eg-legend .eg-lg-counsel i{background:#b0451f}.eg-legend .eg-lg-gov i{background:#34506b}

/* 6. Inspection week */
.eg-visit{fill:#7b8f9e}.eg-visit-hot{fill:#b0451f}

/* 7, 16. Sheets */
.eg-sheet{display:grid;gap:0;background:#fff;border:1px solid #d8e0e8;border-radius:8px;overflow:hidden;min-width:0}
.eg-sheet-row{display:grid;grid-template-columns:5.5em minmax(0,1.6fr) 5.5em minmax(0,1.2fr);gap:8px;padding:7px 10px;border-top:1px solid #e6ebf1;font-size:12px;line-height:1.35}
.eg-sheet-row:first-child{border-top:0}
.eg-sheet-q{grid-template-columns:4.5em minmax(0,1.8fr) minmax(0,1fr)}
.eg-sheet-row em{font-style:normal;font-weight:600}
rect.eg-st-ok{fill:#2f6a3e}rect.eg-st-gap{fill:#b0451f}rect.eg-st-warn{fill:#c27a2c}
em.eg-st-ok{color:#2f6a3e}em.eg-st-gap{color:#b0451f}

/* 8. Claims timeline */
.eg-cost{fill:#7b8f9e}.eg-cost-early{fill:#b0451f}
.eg-twice{fill:none;stroke:#c27a2c;stroke-width:2;stroke-dasharray:4 3}

/* 9. Award board */
.eg-award{fill:#7b8f9e;opacity:.8}.eg-award-single{fill:#16384f}
.eg-est{stroke:#b0451f;stroke-width:2}.eg-est-t{font:600 11px Instrument,sans-serif;fill:#b0451f}
.eg-med{stroke:#2f6a3e;stroke-width:1.5;stroke-dasharray:3 3}
.eg-lotcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.eg-lotcards p{margin:0;padding:10px 12px;background:#fff;border:1px solid #d8e0e8;border-left:3px solid #2f6a3e;border-radius:8px;display:grid;gap:2px}
.eg-lotcards small{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--re-muted)}
.eg-lotcards b{font-size:14px}.eg-lotcards span{font-size:20px;letter-spacing:-.02em}

/* 10. Tender document */
.eg-page{padding:12px 14px;background:#fff;border:1px solid #d8e0e8;border-radius:4px;box-shadow:0 1px 0 #d8e0e8,0 3px 0 -1px #eef4f7;display:grid;gap:6px;min-width:0}
.eg-page>small{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--re-muted)}
.eg-issue{margin:0;padding:7px 9px;border-left:3px solid #b0451f;background:#fbf1ec;display:grid;gap:1px;font-size:12.5px;line-height:1.35}
.eg-issue-ask{border-left-color:#c27a2c;background:#fbf4ea}
.eg-issue span{color:var(--re-muted);font-size:11.5px}

/* 11. Company graph and bids */
.eg-node rect{fill:#fff;stroke:#a8b6c5}.eg-node-pref rect{stroke:#2f6a3e;stroke-width:2}.eg-node-flag rect{stroke:#c27a2c;stroke-width:2}
.eg-node-person circle{fill:#f6e4cf;stroke:#c27a2c;stroke-width:2}
.eg-node-t{font:600 11px Instrument,sans-serif;fill:#1b2733}.eg-node-s{font:10px Instrument,sans-serif;fill:#56657a}
.eg-link{stroke:#a8b6c5;stroke-width:1.5;fill:none}.eg-link-flag{stroke:#c27a2c;stroke-width:2;stroke-dasharray:5 3}
.eg-bids{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:5px}
.eg-bids li{padding:6px 9px;background:#fff;border:1px solid #d8e0e8;border-radius:6px;display:grid;font-size:12px}
.eg-bids li span{color:var(--re-muted);font-size:11px}
.eg-bid-pref{border-left:3px solid #2f6a3e!important}.eg-bid-flag{border-left:3px solid #c27a2c!important}
.eg-decl{margin:0;padding:10px 12px;background:#fff;border:1px solid #d8e0e8;border-radius:8px;font-size:12.5px}
.eg-decl b{font-size:18px;color:#b0451f}

/* 12. Command bar and price strip */
.eg-cmd{display:flex;gap:10px;align-items:center;padding:10px 12px;background:#1b2733;color:#fff;border-radius:8px;font-size:13px}
.eg-cmd span{padding:2px 6px;border:1px solid #56657a;border-radius:4px;font-size:11px}
.eg-band{fill:#c4d7e3;opacity:.7}
.eg-bidp{fill:#34506b}.eg-bidp-c{fill:#b0451f}

/* 13. Calendar and variations */
.eg-ob-0{fill:#c27a2c}.eg-ob-1{fill:#b0451f}.eg-ob-2{fill:#34506b}.eg-ob-3{fill:#7b8f9e}.eg-ob-4{fill:#2f6a3e}
.eg-otb-track{fill:#e1eaf0}

/* 14. Supplier watch */
.eg-alerts{display:grid;gap:8px}
.eg-spark-line{fill:none;stroke:#b0451f;stroke-width:2.5}
.eg-miles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.eg-miles li{padding:6px 8px;background:#fff;border:1px solid #d8e0e8;border-radius:6px;display:grid;font-size:12px}
.eg-miles small{color:var(--re-muted);font-size:10.5px}
.eg-ms-ok{border-left:3px solid #2f6a3e!important}.eg-ms-late{border-left:3px solid #c27a2c!important}.eg-ms-cert{border-left:3px solid #b0451f!important}

/* 15. Audit tracker */
.eg-tracker{display:grid;gap:6px;min-width:0}
.eg-tk{padding:9px 11px;background:#fff;border:1px solid #d8e0e8;border-radius:8px;font-size:12.5px;line-height:1.35}
.eg-tk header{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}
.eg-tk header small{color:var(--re-muted);font-size:11px}
.eg-tk p{margin:3px 0}
.eg-tk em{font-style:normal;font-size:11.5px;font-weight:600}
.eg-tk-gap{border-left:3px solid #b0451f}.eg-tk-gap em{color:#b0451f}
.eg-tk-ok{border-left:3px solid #2f6a3e}.eg-tk-ok em{color:#2f6a3e}
.eg-tk-warn{border-left:3px solid #c27a2c}.eg-tk-warn em{color:#9a5a18}

/* 17. Variance */
.eg-under{fill:#7b8f9e}.eg-over{fill:#c27a2c}

/* Maritime surfaces */
.eg-dc,.eg-svb,.eg-crb,.eg-inb,.eg-pub,.eg-twb,.eg-cpb,.eg-cgb,.eg-ptb,.eg-pcb,.eg-btb,.eg-stb,.eg-fxb,.eg-ltb,.eg-dab,.eg-emb,.eg-df{display:grid;gap:10px;min-width:0}
.eg-hot-t{font:600 11px Instrument,sans-serif;fill:#b0451f}
.eg-window{fill:#e1eaf0;stroke:#a8b6c5;stroke-dasharray:3 3}
.eg-pin{stroke:#fff;stroke-width:1.5}.eg-pin-ok{fill:#2f6a3e}.eg-pin-warn{fill:#c27a2c}.eg-pin-gap{fill:#b0451f}
.eg-register{list-style:none;margin:0;padding:0;display:grid;gap:6px;min-width:0}
.eg-register li{display:grid;gap:2px;padding:8px 11px;background:#fff;border:1px solid #d8e0e8;border-left:3px solid #2f6a3e;border-radius:6px;font-size:12.5px;line-height:1.35}
.eg-register li span{color:#34506b;font-size:12px}.eg-register li small{color:var(--re-muted);font-size:11px}
.eg-register .eg-reg-warn{border-left-color:#c27a2c}.eg-register .eg-reg-gap{border-left-color:#b0451f}
.eg-wo{fill:#7b8f9e}.eg-wo-hot{fill:#c27a2c}.eg-wo-now{fill:#b0451f}
.eg-pack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.eg-card{padding:9px 11px;background:#fff;border:1px solid #d8e0e8;border-radius:8px;font-size:12.5px;line-height:1.4}
.eg-card small{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--re-muted)}
.eg-card p{margin:3px 0 0}.eg-card-warn{border-left:3px solid #c27a2c}
.eg-month{fill:#f5f7fa;stroke:#d8e0e8}.eg-month-90{fill:#e9f0f5}
.eg-sv{fill:#34506b}.eg-sv-1{fill:#7b8f9e}.eg-sv-2{fill:#b0451f}.eg-sv-3{fill:#c27a2c}
.eg-sv-flag{fill:none;stroke:#b0451f;stroke-width:2}
.eg-ck-warn{color:#7a4a14}.eg-ck-warn i{background:#c27a2c!important}
.eg-change{stroke:#34506b;stroke-width:2.5}
.eg-evlane{fill:#f5f7fa;stroke:#d8e0e8}
.eg-ticket-ok{fill:#2f6a3e}.eg-ticket-warn{fill:#c27a2c}.eg-ticket-gap{fill:#b0451f}
.eg-sheet-head{font-weight:600;background:#f5f7fa}
.eg-sheet-row.eg-sheet-3{grid-template-columns:minmax(0,1.4fr) 6em minmax(0,1.6fr)}
.eg-sheet-row.eg-sheet-4{grid-template-columns:repeat(4,minmax(0,1fr))}
em.eg-st-warn{color:#9a5a18}
.eg-clock-track{fill:#e1eaf0}.eg-clock-left{fill:#c27a2c}
.eg-sea{fill:#e6f0f6}.eg-coast{fill:#eef0e6;stroke:#cfd6c4}
.eg-flow{fill:none;stroke:#a8b6c5;stroke-width:1.5}.eg-flow-fit{stroke:#34506b;stroke-width:2.5}
.eg-port{fill:#34506b}.eg-port-new{fill:#2f6a3e}
.eg-cand{fill:#fff;stroke:#a8b6c5}.eg-cand-short{stroke:#2f6a3e;stroke-width:2}
.eg-sig-hire{fill:#c27a2c}.eg-sig-sys{fill:#34506b}.eg-sig-role{fill:#2f6a3e}
.eg-grid{stroke:#e1eaf0;stroke-width:1}
.eg-call{fill:#c4d7e3}.eg-call-ours{fill:#34506b}.eg-call-draft{stroke:#b0451f;stroke-width:2.5}.eg-call-overlap{fill:#c27a2c}
.eg-call-t{font:600 10.5px Instrument,sans-serif;fill:#1b2733}.eg-call-ours+.eg-call-t{fill:#fff}
.eg-overlap{fill:#b0451f;opacity:.35}
.eg-land{fill:#eef0e6}.eg-water{fill:#cfe0ea}.eg-road{stroke:#cfd6c4;stroke-width:10}
.eg-parcel{stroke:#fff;stroke-width:1}
.eg-parcel-ok{fill:#7fa585}.eg-parcel-ask{fill:#c27a2c}.eg-parcel-counsel{fill:#b0451f}.eg-parcel-agri{fill:#34506b}
.eg-site-line{fill:none;stroke:#1b2733;stroke-width:1.5;stroke-dasharray:6 4}
.eg-legend .eg-lg-agri i{background:#34506b}
.eg-clause-ok{fill:#c4d7e3}.eg-clause-warn{fill:#c27a2c}.eg-clause-gap{fill:#b0451f}
.eg-compare .eg-cmp p{margin:4px 0}.eg-cmp-gap{border-left:3px solid #b0451f!important}.eg-cmp-warn{border-left:3px solid #c27a2c!important}.eg-cmp-ok{border-left:3px solid #2f6a3e!important}
.eg-ev{fill:#7b8f9e}.eg-ev-hot{fill:#b0451f}
.eg-gapband{fill:#b0451f;opacity:.45}.eg-allowed{fill:#2f6a3e}.eg-over{fill:#c27a2c}

@media (max-width:760px){
  .eg-row,.eg-compare,.eg-pack{grid-template-columns:minmax(0,1fr)}
  .eg-sheet-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .eg-sheet-row.eg-sheet-3,.eg-sheet-row.eg-sheet-4{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .eg-sheet-row>:nth-child(n+3){grid-column:auto}
  .eg-miles{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Chemicals surfaces */
.eg-wrap{display:grid;gap:10px;min-width:0}
.eg-cmp-ok,.eg-cmp-warn,.eg-cmp-gap{padding-left:8px}
.eg-stops ul{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px}
.eg-stops li{display:grid;gap:4px;padding:12px 14px;background:#fff;border:1px solid #d8e0e8;border-left:3px solid #b0451f;border-radius:6px;font-size:14px;line-height:1.45}
.eg-stops li span{color:var(--re-muted);font-size:13px}
.eg-stops{margin-top:clamp(40px,6vw,72px)}

/* Water balance waterfall */
.eg-wf-base{fill:#34506b}.eg-wf-ok{fill:#2f6a3e}.eg-wf-warn{fill:#c27a2c}.eg-wf-hot{fill:#b0451f}
.eg-wf-gap{fill:#f6e4cf;stroke:#b0451f;stroke-width:1.5;stroke-dasharray:4 3}

/* Hospitality additions */
.eg-gp .eg-gapband{fill:#e6ebf1;opacity:1}
.eg-cand-flag{stroke:#b0451f!important;stroke-width:1.5}
.eg-sheet-row span,.eg-sheet-row em{min-width:0;overflow-wrap:anywhere}

/* How it is built: the eleven platform pages, one line each, in the three older chapter groups */
.eg-built{margin-top:clamp(40px,6vw,72px);margin-bottom:clamp(40px,6vw,72px)}
.eg-built-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px;margin-top:18px}
.eg-built-group{padding:16px 18px;background:#f5f7fa;border:1px solid #d8e0e8;border-radius:10px;min-width:0;scroll-margin-top:90px}
.eg-built-group h3{margin:0 0 10px;font-size:15px}
.eg-built-group ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.eg-built-group li{display:grid;gap:2px;font-size:13.5px;line-height:1.4}
.eg-built-group li a{font-weight:600;color:#1b2733;text-decoration:underline;text-decoration-color:#a8b6c5;text-underline-offset:3px}
.eg-built-group li span{color:var(--re-muted,#56657a)}
.eg-built-link{margin-top:18px;margin-bottom:18px;font-size:14px}
.eg-built-link p{margin:0;padding:12px 16px;border:1px solid #d8e0e8;border-radius:8px;background:#f5f7fa}
.eg-built-link a{color:#1b2733;text-decoration:underline;text-underline-offset:3px}
