/* Enterprise AI for Transport & Mobility and its workflow pages. The shared context-first (cx-) styles are in
   construction.css, the multi-stage picture grid in financial-services.css; these are the transport surfaces (tp-),
   adapted from the government set. Plum 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^="tp-"],.re-main>[class^="tp-"]{margin:0 clamp(14px,2vw,24px) 14px}
.re-solo-body>.re-activity{margin:0 clamp(14px,2vw,24px) 10px}
.tp-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.tp-col{display:grid;gap:10px;align-content:start;min-width:0}
.tp-rq,.tp-ap,.tp-ld,.tp-sc,.tp-bd,.tp-wt{display:grid;gap:10px;min-width:0}
.tp-fig{margin:0;min-width:0}
.tp-fig svg{display:block;width:100%;height:auto;background:#fbf7f4;border:1px solid #e4d9e0;border-radius:10px}
.tp-fig figcaption{font-size:11px;color:var(--re-muted);margin-top:4px}
.re-scrub .tp-fig svg{max-height:40svh}
.tp-t,.tp-axis-t{font:11px Instrument,sans-serif;fill:#6b5866}
.tp-bar-t{font:600 11.5px Instrument,sans-serif;fill:#2c2230}
.tp-axis{stroke:#cbb9c4;stroke-width:1;fill:none}
.tp-tick{stroke:#cbb9c4;stroke-width:1}
.tp-mark{stroke:#b0451f;stroke-width:1.5;stroke-dasharray:4 3;fill:none}
.tp-bar rect{fill:#6a405e}.tp-bar-hot rect{fill:#b0451f}.tp-bar-ok rect{fill:#2f6a3e}.tp-bar-warn rect{fill:#c27a2c}
.tp-draft{padding:12px 14px;background:#fff;border:1px solid #e4d9e0;border-left:3px solid #6a405e;border-radius:4px 8px 8px 4px;min-width:0}
.tp-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}
.tp-draft header b{text-transform:none;letter-spacing:0;font-size:13px;color:#2c2230}
.tp-draft p{margin:0 0 8px;font:13.5px/1.5 Georgia,serif;color:#2e2430}

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

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

/* 3. Aggregate heat grid */
.tp-cell-0{fill:#f1eaee}.tp-cell-1{fill:#dcc6d3}.tp-cell-2{fill:#c27a2c}.tp-cell-3{fill:#b0451f}
.tp-cell-t{font:600 11px Instrument,sans-serif;fill:#2c2230}

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

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

/* 6. Inspection week */
.tp-visit{fill:#8c7a88}.tp-visit-hot{fill:#b0451f}

/* 7, 16. Sheets */
.tp-sheet{display:grid;gap:0;background:#fff;border:1px solid #e4d9e0;border-radius:8px;overflow:hidden;min-width:0}
.tp-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 #efe7eb;font-size:12px;line-height:1.35}
.tp-sheet-row:first-child{border-top:0}
.tp-sheet-q{grid-template-columns:4.5em minmax(0,1.8fr) minmax(0,1fr)}
.tp-sheet-row em{font-style:normal;font-weight:600}
rect.tp-st-ok{fill:#2f6a3e}rect.tp-st-gap{fill:#b0451f}rect.tp-st-warn{fill:#c27a2c}
em.tp-st-ok{color:#2f6a3e}em.tp-st-gap{color:#b0451f}

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

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

/* 10. Tender document */
.tp-page{padding:12px 14px;background:#fff;border:1px solid #e4d9e0;border-radius:4px;box-shadow:0 1px 0 #e4d9e0,0 3px 0 -1px #f4eef1;display:grid;gap:6px;min-width:0}
.tp-page>small{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--re-muted)}
.tp-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}
.tp-issue-ask{border-left-color:#c27a2c;background:#fbf4ea}
.tp-issue span{color:var(--re-muted);font-size:11.5px}

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

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

/* 13. Calendar and variations */
.tp-ob-0{fill:#c27a2c}.tp-ob-1{fill:#b0451f}.tp-ob-2{fill:#6a405e}.tp-ob-3{fill:#8c7a88}.tp-ob-4{fill:#2f6a3e}
.tp-otb-track{fill:#ece3e8}

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

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

/* 17. Variance */
.tp-under{fill:#8c7a88}.tp-over{fill:#c27a2c}

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

/* Transport surfaces */
.tp-tt,.tp-rd,.tp-tw,.tp-cp,.tp-ps,.tp-cs,.tp-mk,.tp-ev,.tp-sf,.tp-ex,.tp-px,.tp-cl,.tp-pf,.tp-cr,.tp-rv,.tp-rb{display:grid;gap:10px;min-width:0}
.tp-ck-ask{color:#7a4a14}.tp-ck-ask i{background:#c27a2c!important}
.tp-cap-t{margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
/* Fleet-need chart */
.tp-need-old{fill:none;stroke:#8c7a88;stroke-width:2;stroke-dasharray:5 4}
.tp-need-new{fill:none;stroke:#6a405e;stroke-width:2.5}
.tp-cap{stroke:#2f6a3e;stroke-width:2}
/* Readiness squares */
.tp-sq-ok{fill:#7fa585}.tp-sq-plan{fill:#8c7a88}.tp-sq-hold{fill:#c27a2c}
.tp-legend .tp-lg-plan i{background:#8c7a88}.tp-legend .tp-lg-hold i{background:#c27a2c}
.tp-trains svg,.tp-buses svg{max-height:none}
/* Notice and shipments */
.tp-notice-t{margin:0;font-size:14px;line-height:1.35}.tp-notice-m{margin:0;font-size:12px;color:var(--re-muted)}
.tp-ship{fill:#cbb9c4}.tp-ship-hot{fill:#6a405e}.tp-ship-pick{stroke:#2f6a3e;stroke-width:3}
.tp-issue-ok{border-left-color:#2f6a3e;background:#eef5ef}
/* Land */
.tp-depot{stroke:#6a405e;stroke-width:3;stroke-dasharray:6 4;fill:none}
/* Door diagram */
.tp-carbody{fill:#f1eaee;stroke:#cbb9c4}
.tp-door{fill:#fff;stroke:#8c7a88}.tp-door-hot{fill:#f6e4cf;stroke:#b0451f;stroke-width:2}
/* Line diagram and options */
.tp-rail{stroke:#6a405e;stroke-width:5;stroke-linecap:round}
.tp-stn{fill:#fff;stroke:#6a405e;stroke-width:2}.tp-stn-lift{stroke:#c27a2c;stroke-width:3}
.tp-train{fill:#8c7a88}.tp-train-hold{fill:#b0451f}
.tp-opts{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tp-opt{display:grid;gap:2px;padding:9px 11px;background:#fff;border:1px solid #e4d9e0;border-radius:8px;font-size:12.5px;line-height:1.35}
.tp-opt small{color:var(--re-muted);font-size:11.5px}
.tp-opt-ok{border-left:3px solid #2f6a3e}.tp-opt-warn{border-left:3px solid #c27a2c}
@media (max-width:760px){.tp-lotcards{grid-template-columns:minmax(0,1fr)}}
