/* Enterprise AI for Telecommunications 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 telecom surfaces (tc-).
   Palette follows the shared re- surfaces: plum for the record, green for agrees, amber for a person’s call, rust for a gap. */

/* The architecture diagram carries six data products in its bottom row */
.cx-a-data+.cx-a-text{font-size:13px}

/* Shared bits */
.re-solo-body>[class^="tc-"],.re-main>[class^="tc-"]{margin:0 clamp(14px,2vw,24px) 14px}
.re-solo-body>.re-activity{margin:0 clamp(14px,2vw,24px) 10px}
.tc-col,.tc-stack{display:grid;gap:10px;align-content:start;min-width:0}
.tc-two{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:12px;align-items:start}
.tc-fig{margin:0;min-width:0}
.tc-fig svg{display:block;width:100%;height:auto;background:#fbf7f4;border:1px solid #e4d9e0;border-radius:10px}
.tc-fig figcaption{font-size:11px;color:var(--re-muted);margin-top:4px}
.re-scrub .tc-fig svg{max-height:40svh}
.tc-t,.tc-axis-t{font:11px Instrument,sans-serif;fill:#6b5866}
.tc-strong{font:700 11.5px Instrument,sans-serif;fill:#2c2230}
.tc-warn-t{font:700 11px Instrument,sans-serif;fill:#b0451f}
.tc-ok-t{font:700 11px Instrument,sans-serif;fill:#2f6a3e}
.tc-axis{stroke:#cbb9c4;stroke-width:1.5;fill:none}
.tc-tick{stroke:#cbb9c4;stroke-width:1}
.tc-ok-f{fill:#2f6a3e}.tc-gap-f{fill:#b0451f}.tc-ask-f{fill:#c27a2c}.tc-full{fill:#6a405e}
.tc-draft{padding:12px 14px;background:#fff;border:1px solid #e4d9e0;border-left:3px solid #6a405e;border-radius:4px 8px 8px 4px}
.tc-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}
.tc-draft header b{text-transform:none;letter-spacing:0;font-size:13px;color:#2c2230}
.tc-draft p{margin:0 0 8px;font:13.5px/1.5 Georgia,serif;color:#2e2430}
.tc-card,.tc-ticket{padding:12px 14px;background:#fff;border:1px solid #e4d9e0;border-radius:8px;font-size:13px;min-width:0}
.tc-card p{margin:0 0 8px;line-height:1.45}
.tc-card-ok{border-left:3px solid #2f6a3e}
.tc-card header,.tc-ticket header{display:grid;gap:2px;margin-bottom:8px}
.tc-card header small,.tc-ticket header small{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
.tc-card header b,.tc-ticket header b{font-size:14px;line-height:1.3;color:#2c2230}
.tc-ticket{border-left:3px solid #c27a2c}
.tc-kv{margin:0 0 8px;display:grid;gap:6px}
.tc-kv div{display:grid;grid-template-columns:6.5em minmax(0,1fr);gap:8px;font-size:12.5px;line-height:1.4}
.tc-kv dt{color:#8c526f;font-weight:600}.tc-kv dd{margin:0}

/* Sheets: the team’s spreadsheet, drawn as rows of cells */
.tc-sheet{display:grid;border:1px solid #e4d9e0;border-radius:8px;overflow:hidden;background:#fff;font-size:12.5px}
.tc-sheet-h,.tc-sheet-r{display:grid;grid-template-columns:repeat(var(--tc-cols),minmax(0,1fr));gap:8px;padding:7px 10px;border-bottom:1px solid #efe7ec}
.tc-sheet-h{background:#f6f1ee;font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--re-muted)}
.tc-sheet-r span{min-width:0;overflow-wrap:anywhere}
.tc-sheet-r span:first-child{font-weight:600}
.tc-flag-gap{background:#fbeee8;box-shadow:inset 3px 0 #b0451f}
.tc-flag-ask{background:#fbf3e6;box-shadow:inset 3px 0 #c27a2c}

/* Boards and document compares */
.tc-board{display:grid;gap:8px}
.tc-board-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tc-board-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.tc-lane{display:grid;gap:8px;align-content:start;padding:8px;background:#f6f1ee;border-radius:8px;min-width:0}
.tc-lane h4{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
.tc-lane .tc-card b{display:block;margin-bottom:4px}
.tc-doc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tc-doc-1{grid-template-columns:minmax(0,1fr)}
.tc-doc section{display:grid;gap:6px;align-content:start;padding:10px;background:#fff;border:1px solid #e4d9e0;border-radius:8px;min-width:0}
.tc-doc h4{margin:0 0 2px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
.tc-clause,.tc-ev{margin:0;padding:7px 9px;border-radius:5px;font-size:12.5px;line-height:1.4;background:#f8f4f6}
.tc-clause{font-family:Georgia,serif}
.tc-ev-ok{background:#eaf3ec}.tc-ev-gap{background:#fbeee8;color:#7a2f14}.tc-ev-stale{background:#fbf3e6}
.tc-ev b{display:block}

/* 1. Plot map */
.tc-ground{fill:#ece6da}
.tc-road{stroke:#fff;stroke-width:12;fill:none}.tc-road-thin{stroke-width:7}
.tc-plot polygon,.tc-plot-base polygon{stroke:#7d6a74;stroke-width:1.5}
.tc-plot-base polygon{fill:#f3eee6}
.tc-plot-short polygon{fill:#cfe3d3}.tc-plot-counsel polygon,.tc-plot-ask polygon{fill:#f2d3c6}.tc-plot-survey polygon{fill:#f3e2c5}
.tc-plot-id{font:700 14px Instrument,sans-serif;fill:#2c2230}.tc-plot-s{font:10px Instrument,sans-serif;fill:#4a3a44}
.tc-site circle{fill:#6a405e}.tc-site path{stroke:#6a405e;stroke-width:2.5;fill:none}
.tc-site-t{font:700 11px Instrument,sans-serif;fill:#2c2230;paint-order:stroke;stroke:#ece6da;stroke-width:3px}
.tc-roof rect{fill:#a58d9b}.tc-map-t{font:700 9px Instrument,sans-serif;fill:#2c2230}

/* 2. Route strip */
.tc-seg-nh{fill:#6a405e}.tc-seg-sh{fill:#8c6a82}.tc-seg-mu{fill:#c27a2c}.tc-seg-pl{fill:#2f6a3e}.tc-seg-rl{fill:#b0451f}
.tc-seg-t{font:700 11px Instrument,sans-serif;fill:#fff}
.tc-seg-unknown{fill:#efe7ec;stroke:#b0451f;stroke-dasharray:4 3}

/* 4. Quotes */
.tc-q rect,rect.tc-q{fill:#a58d9b}.tc-q-hold rect{fill:#b0451f}.tc-q-pick rect{fill:#2f6a3e}

/* 6. Calendar */
.tc-day{fill:#fff;stroke:#e4d9e0}
.tc-due{fill:#6a405e}.tc-due-owner{fill:#c27a2c}.tc-due-evidence,.tc-due-dep{fill:#b0451f}

/* 8. Requirements grid */
.tc-rq rect{stroke:#e4d9e0}.tc-rq-met rect{fill:#eaf3ec;stroke:#2f6a3e}.tc-rq-partner rect{fill:#fbf3e6;stroke:#c27a2c}.tc-rq-clarify rect{fill:#fbeee8;stroke:#b0451f}
.tc-rq-t{font:600 11px Instrument,sans-serif;fill:#2c2230}

/* 9. Funnel */
.tc-fn{fill:#6a405e}.tc-fn-1{fill:#7d5571}.tc-fn-2{fill:#8f6a84}.tc-fn-3{fill:#a27f97}.tc-fn-4{fill:#2f6a3e}
.tc-fn-t{font:700 11px Instrument,sans-serif;fill:#2c2230;paint-order:stroke;stroke:#fbf7f4;stroke-width:3px}

/* 11. Dates, 12. visit plan */
.tc-dot{fill:#6a405e}.tc-dot-ask{fill:#c27a2c}.tc-dot-ok{fill:#2f6a3e}
.tc-window{fill:#eaf3ec;stroke:#2f6a3e}.tc-job{fill:#6a405e}

/* 13. Ring, 15. route cut */
.tc-ring-l{fill:none;stroke:#cbb9c4;stroke-width:6}
.tc-cct{fill:#6a405e}.tc-cct-u{fill:#b0451f}
.tc-route{stroke:#6a405e;stroke-width:6;fill:none}.tc-route-p{stroke:#a58d9b;stroke-width:4;stroke-dasharray:6 4;fill:none}
.tc-cut-x{stroke:#b0451f;stroke-width:4}.tc-reroute{stroke:#2f6a3e;stroke-width:3;fill:none;stroke-dasharray:4 3}

@media(max-width:899px),(max-height:699px),(prefers-reduced-motion:reduce){
  .tc-two{grid-template-columns:minmax(0,1fr)}
  .tc-board-5{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .tc-board-2,.tc-board-5,.tc-doc{grid-template-columns:minmax(0,1fr)}
  .tc-kv div{grid-template-columns:minmax(0,1fr);gap:0}
  .tc-sheet-h{display:none}
  .tc-sheet-r{grid-template-columns:repeat(2,minmax(0,1fr))}
}
