/* Enterprise AI for Automotive 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 automotive surfaces (au-), with a workshop
   palette: graphite for the record, green for agrees, amber for a person’s call, red for a gap. */
.cx-a-data+.cx-a-text{font-size:13px}

.re-solo-body>[class^="au-"],.re-main>[class^="au-"]{margin:0 clamp(14px,2vw,24px) 14px}
.re-solo-body>.re-activity{margin:0 clamp(14px,2vw,24px) 10px}
.au-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.au-col{display:grid;gap:10px;align-content:start;min-width:0}
.au-alb,.au-heb,.au-sqb,.au-rqb,.au-evb,.au-ppb,.au-tsb,.au-chb,.au-ctb,.au-fqb,.au-wab,.au-sbb,.au-rpb,.au-hob,.au-ogb,.au-pab,.au-twb{display:grid;gap:10px;min-width:0}
.au-fig{margin:0;min-width:0}
.au-fig svg{display:block;width:100%;height:auto;background:#f6f6f4;border:1px solid #dcdcd6;border-radius:10px}
.au-fig figcaption{font-size:11px;color:var(--re-muted);margin-top:4px}
.re-scrub .au-fig svg{max-height:40svh}
.au-t,.au-axis-t{font:11px Instrument,sans-serif;fill:#5c6066}
.au-bar-t{font:600 11.5px Instrument,sans-serif;fill:#1e2228}
.au-hot-t{font:600 11px Instrument,sans-serif;fill:#b23a26}
.au-axis{stroke:#b4b6b0;stroke-width:1;fill:none}
.au-tick{stroke:#b4b6b0;stroke-width:1}
.au-mark{stroke:#b23a26;stroke-width:1.5;stroke-dasharray:4 3;fill:none}
.au-bar rect{fill:#3b4450}.au-bar-hot rect{fill:#b23a26}.au-bar-ok rect{fill:#2f6a3e}.au-bar-warn rect{fill:#c27a2c}
.au-draft{padding:12px 14px;background:#fff;border:1px solid #dcdcd6;border-left:3px solid #3b4450;border-radius:4px 8px 8px 4px;min-width:0}
.au-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}
.au-draft header b{text-transform:none;letter-spacing:0;font-size:13px;color:#1e2228}
.au-draft p{margin:0 0 8px;font:13.5px/1.5 Georgia,serif;color:#23272d}
.au-cmd{display:flex;gap:10px;align-items:center;padding:10px 12px;background:#1e2228;color:#fff;border-radius:8px;font-size:13px;min-width:0;overflow-wrap:anywhere}
.au-cmd span{flex:none;padding:2px 6px;border:1px solid #5c6066;border-radius:4px;font-size:11px}
.au-checks{list-style:none;margin:0;padding:0;display:grid;gap:5px;min-width:0}
.au-checks li{display:flex;gap:8px;align-items:center;padding:7px 10px;background:#fff;border:1px solid #dcdcd6;border-radius:6px;font-size:12.5px;line-height:1.3;min-width:0}
.au-checks li i{flex:none;width:11px;height:11px;border-radius:50%;background:#2f6a3e}
.au-checks small{margin-left:auto;color:var(--re-muted);font-size:11.5px;text-align:right}
.au-ck-gap{color:#7a2414}.au-ck-gap i{background:#b23a26!important}
.au-ck-warn{color:#7a4a14}.au-ck-warn i{background:#c27a2c!important}

/* Sheets */
.au-sheet{display:grid;background:#fff;border:1px solid #dcdcd6;border-radius:8px;overflow:hidden;min-width:0}
.au-sh-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;padding:7px 10px;border-top:1px solid #ececea;font-size:12px;line-height:1.35}
.au-sh-row:first-child{border-top:0}
.au-sh-head{font-weight:600;background:#f6f6f4;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--re-muted)}
.au-sh-row>span{min-width:0;overflow-wrap:anywhere}
.au-sh-row>span:first-child{font-weight:600}
.au-sh-ok{box-shadow:inset 3px 0 #2f6a3e}.au-sh-warn{box-shadow:inset 3px 0 #c27a2c}.au-sh-gap{box-shadow:inset 3px 0 #b23a26;background:#fbf1ee}
.au-st-ok{fill:#2f6a3e}.au-st-warn{fill:#c27a2c}.au-st-gap{fill:#b23a26}

/* Map */
.au-sea{fill:#eef1f3}.au-land{fill:#e7e6df;stroke:#d4d2c8}
.au-flow{fill:none;stroke:#b4b6b0;stroke-width:1.5}.au-flow-fit{stroke:#3b4450;stroke-width:2.5}
.au-pt{fill:#7b8088}.au-pt-fit{fill:#2f6a3e}.au-pt-own{fill:#b23a26}
.au-buyer{fill:#3b4450}

/* Alerts, events and clocks */
.au-alerts{display:grid;gap:8px;min-width:0}
.au-ev{fill:#7b8088}.au-ev-hot{fill:#b23a26}.au-ev-warn{fill:#c27a2c}
.au-clock-track{fill:#e6e6e2}.au-clock-left{fill:#c27a2c}

/* Board */
.au-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
.au-col-b{padding:10px;background:#f6f6f4;border:1px solid #dcdcd6;border-radius:8px;display:grid;gap:6px;align-content:start;min-width:0}
.au-col-b header{display:flex;justify-content:space-between;gap:6px;font-size:12px}
.au-col-b header span{font-size:20px;letter-spacing:-.02em}
.au-col-b p{margin:0;padding:7px 9px;background:#fff;border:1px solid #dcdcd6;border-radius:6px;font-size:12px;line-height:1.35}
.au-col-ok{border-color:#2f6a3e}.au-col-ok p{border-left:3px solid #2f6a3e}

/* Package grid and compare */
.au-el{fill:#c9d6cc;stroke:#2f6a3e}.au-el-gap{fill:#f3d2c9;stroke:#b23a26}
.au-el-t{font:600 11px Instrument,sans-serif;fill:#1e2228}
.au-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.au-doc{padding:10px 12px;background:#fff;border:1px solid #dcdcd6;border-radius:4px;box-shadow:0 2px 0 -1px #ececea;font:13px/1.45 Georgia,serif;min-width:0}
.au-doc small{display:block;font:10.5px Instrument,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
.au-doc p{margin:4px 0}
.au-doc mark{background:#f6dcd3;color:#7a2414}

/* Drawing, tree, genealogy */
.au-part{fill:#e7e9ec;stroke:#3b4450;stroke-width:1.5}
.au-hole{fill:#fff;stroke:#3b4450;stroke-width:1.5}.au-hole-new{stroke:#b23a26;stroke-width:2.5}
.au-hole-old{fill:none;stroke:#7b8088;stroke-dasharray:3 3}
.au-node rect{fill:#fff;stroke:#b4b6b0}.au-node-warn rect{stroke:#c27a2c;stroke-width:2}
.au-node-t{font:600 11px Instrument,sans-serif;fill:#1e2228}.au-node-s{font:10px Instrument,sans-serif;fill:#5c6066}
.au-link{stroke:#b4b6b0;stroke-width:1.5;fill:none}.au-link-flag{stroke:#c27a2c;stroke-width:2;stroke-dasharray:5 3}
.au-lot{fill:#fff;stroke:#3b4450;stroke-width:1.5}.au-lot-prod{stroke:#7b8088}
.au-thin{stroke:#d4d2c8;stroke-width:1}
.au-ship-cust{fill:#3b4450}.au-ship-transit{fill:#c27a2c}.au-ship-mixed{fill:#b23a26}

/* Feed */
.au-feed-wrap{display:grid;align-content:start;gap:8px;padding:12px;background:#f6f6f4;border-left:1px solid #dcdcd6;min-width:0}
.au-feed-wrap header{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
.au-feed{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.au-msg{padding:8px 10px;background:#fff;border:1px solid #dcdcd6;border-radius:8px;font-size:12.5px;line-height:1.4}
.au-msg span{font-size:10.5px;color:var(--re-muted)}.au-msg p{margin:2px 0 0}
.au-msg-warn{border-left:3px solid #c27a2c}.au-msg-hot{border-left:3px solid #b23a26}

/* Weeks, index, certificates, BOM, parts */
.au-wk{fill:#9aa0a8}.au-wk-hot{fill:#b23a26}
.au-index{display:grid;gap:4px;padding:10px 12px;background:#fff;border:1px solid #dcdcd6;border-radius:8px;min-width:0}
.au-index header{display:flex;justify-content:space-between;font-size:12px;margin-bottom:4px}
.au-index p{margin:0;display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:4px 0;border-top:1px solid #ececea}
.au-index small{color:#2f6a3e;font-size:11px;flex:none}
.au-index .au-miss{color:#7a2414}.au-index .au-miss small{color:#b23a26;font-weight:600}
.au-certs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;min-width:0}
.au-cert{padding:10px 12px;background:#fff;border:1px solid #dcdcd6;border-left:3px solid #2f6a3e;border-radius:8px;display:grid;gap:2px;font-size:12.5px}
.au-cert small{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--re-muted)}
.au-cert span{color:var(--re-muted);font-size:11.5px}
.au-cert-warn{border-left-color:#c27a2c}.au-cert-change{border-left-color:#3b4450;border-style:dashed}
.au-line-ok{fill:#2f6a3e}.au-line-gap{fill:#b23a26}.au-line-none{fill:#fff;stroke:#b23a26;stroke-dasharray:3 2}.au-line-own{fill:#9aa0a8}
.au-pn{fill:#fff;stroke:#b4b6b0}.au-pn-new{stroke:#2f6a3e;stroke-width:2}
.au-ticket{padding:10px 12px;background:#fff;border:1px solid #dcdcd6;border-left:3px solid #c27a2c;border-radius:8px;font-size:13px;min-width:0}
.au-ticket header{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:var(--re-muted)}
.au-ticket p{margin:6px 0 0}

@media (max-width:760px){
  .au-row,.au-compare,.au-board{grid-template-columns:minmax(0,1fr)}
  .au-sh-row{grid-auto-flow:row;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .au-sh-head{display:none}
  .au-feed-wrap{border-left:0;border-top:1px solid #dcdcd6}
}
