/* Enterprise AI for Insurance and its workflow pages. The shared context-first (cx-) styles are in construction.css,
   the multi-stage picture grid in financial-services.css and the shared surface parts (en-fig, en-card, en-draft,
   en-legend, en-map) in energy.css; these are the insurance surfaces (is-). Palette follows the shared re- surfaces:
   plum for the record, green for agrees, amber for a person’s call, rust for a gap. */

.re-solo-body>[class^="is-"],.re-main>[class^="is-"]{margin:0 clamp(14px,2vw,24px) 14px}
.is-row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;min-width:0}

/* SVG text and fills */
.is-t{font:11px Instrument,sans-serif;fill:#6b5866}
.is-tsm{font:9.5px Instrument,sans-serif;fill:#7a6676}
.is-tb{font:650 11px Instrument,sans-serif;fill:#2c2230}
.is-tw{font:700 11px Instrument,sans-serif;fill:#fff}
.is-tws{font:9.5px Instrument,sans-serif;fill:#f0dce6}
.is-tgap{font:650 11px Instrument,sans-serif;fill:#b0451f}
.is-big{font:700 26px Instrument,sans-serif;fill:#2c2230}
.is-pl{fill:#6a405e}.is-ok{fill:#2f6a3e}.is-ask{fill:#c27a2c}.is-gap{fill:#b0451f}.is-pale{fill:#c9b6c1}.is-soft{fill:#efe6ea}
.is-ln{stroke:#cbb9c4;stroke-width:1;fill:none}
.is-ln-d{stroke:#3a2438;stroke-width:1.3;fill:none}
.is-ln-gap{stroke:#b0451f;stroke-width:1.4;stroke-dasharray:4 3;fill:none}
.is-ln-today{stroke:#6a405e;stroke-width:1.4;stroke-dasharray:3 3}
.is-callbox{fill:#3a2438}
.is-node-pl{fill:#6a405e}.is-node-wh{fill:#fff;stroke:#cbb9c4}.is-node-gap{fill:#f8e6df;stroke:#b0451f}.is-node-ask{fill:#f7ead8;stroke:#c27a2c}.is-node-flag{fill:#b0451f}
.is-chip-gap{fill:#f8e6df;stroke:#b0451f}

/* 1. Gulf project map (small crop of the world map, so small type) */
.is-gulfmap svg{max-height:330px}
.is-award{fill:#6a405e;fill-opacity:.85;stroke:#fff;stroke-width:.25}
.is-award-ring{fill:none;stroke:#c27a2c;stroke-width:.45}
.is-mline{stroke:#c27a2c;stroke-width:.45;fill:none}.is-mline-jv{stroke-dasharray:1 .8}
.is-mt{font:700 2.2px Instrument,sans-serif;fill:#2c2230;paint-order:stroke;stroke:#e6dccb;stroke-width:.5px}
.is-mlab{font:700 2.4px Instrument,sans-serif;fill:#8a7482;letter-spacing:.2px}
.is-mcall{fill:#3a2438}.is-mct{font:700 1.9px Instrument,sans-serif;fill:#fff}.is-mcs{font:1.7px Instrument,sans-serif;fill:#f0dce6}
.is-proj,.is-sub,.is-parw,.is-sitew,.is-redw,.is-frdw,.is-subrow,.is-cmpw,.is-mgaw,.is-claimw,.is-agew{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.9fr);gap:12px;align-items:start}
.is-awards li{padding:6px 9px}

/* 2. Broker funnel and quadrant */
.is-brk{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(200px,.8fr);gap:12px;align-items:start}
.is-dot{fill:#6a405e;fill-opacity:.55}.is-dot-low{fill:#b0451f}

/* 3. Licence board */
.is-lic{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.8fr);gap:12px;align-items:start}

/* 4. Submission desk */
.is-mail{background:#fff;border:1px solid #e4d9e0;border-radius:8px;padding:12px 14px}
.is-mail header{display:grid;gap:2px;margin-bottom:8px}
.is-mail header small{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
.is-mail header b{font-size:14px;color:#2c2230}.is-mail header span{font-size:12.5px;color:#4d3a47}
.is-attach{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.is-attach li{display:flex;gap:6px;align-items:center;font-size:12px;line-height:1.3;padding:5px 7px;border:1px solid #efe6ea;border-radius:5px;background:#fbf7f4;min-width:0}
.is-attach code{flex:none;font:700 9px Instrument,sans-serif;color:#fff;background:#8c526f;border-radius:3px;padding:2px 4px}
.is-attach-flag{border-color:#c27a2c!important}
.is-gaps{margin:10px 0 0;padding:0 0 0 18px;font-size:12.5px;line-height:1.45;color:#b0451f}

/* 5. Parcel map */
.is-land{fill:#eef0e4}
.is-par{fill:#e3e6d2;stroke:#8a7482;stroke-width:1.2}
.is-par-ok{fill:#2f6a3e;fill-opacity:.35;stroke:#2f6a3e;stroke-width:2}
.is-par-ask{fill:#c27a2c;fill-opacity:.35;stroke:#c27a2c;stroke-width:2}
.is-par-gap{fill:#b0451f;fill-opacity:.35;stroke:#b0451f;stroke-width:2}
.is-plant rect{fill:#fff;stroke:#6a405e;stroke-width:1.2}

/* 6. Site plan */
.is-bld{fill:#fbf7f4;stroke:#3a2438;stroke-width:2}
.is-room,.is-aisle,.is-dock{fill:#fff;stroke:#b9a6b2}.is-aisle{fill:#eef3f6}.is-dock{fill:#f3ecef}

/* 7. Redline */
.is-doc{background:#fff;border:1px solid #e4d9e0;border-radius:8px;padding:12px 14px;display:grid;gap:8px}
.is-doc header{display:grid;gap:2px}.is-doc header small{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}.is-doc header b{font-size:14px}
.is-clause{border-left:3px solid #c9b6c1;padding:4px 0 4px 10px}
.is-clause h5{margin:0 0 2px;font-size:12px}.is-clause p{margin:0;font:12.5px/1.45 Georgia,serif;color:#2e2430}
.is-clause del{color:#9a5a49}.is-clause ins{text-decoration:none;background:#f7ead8}
.is-margin{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px!important;font:11px Instrument,sans-serif!important}
.is-margin span{color:var(--re-muted)}.is-margin b{color:#2c2230}
.is-eff-wider{border-color:#c27a2c}.is-eff-deleted{border-color:#b0451f}.is-eff-narrower{border-color:#8c3b6c}.is-eff-party{border-color:#6f8fb0}
.is-eff-wider-f{fill:#c27a2c}.is-eff-deleted-f{fill:#b0451f}.is-eff-narrower-f{fill:#8c3b6c}.is-eff-party-f{fill:#6f8fb0}

/* 8. Change timeline */
.is-renw{display:grid;gap:10px}

/* 9. Trade lanes and reconciliation */
.is-cargo{display:grid;gap:10px}
.is-lane{fill:none;stroke:#8c526f;stroke-width:.8;stroke-opacity:.6}
.is-port{fill:#3a2438}.is-port-us{fill:#6a405e}
.is-cont-cif{fill:#2f6a3e}.is-cont-open{fill:#c27a2c}.is-cont-aff{fill:#b0451f}

/* 10. Binder gauge and bordereau */
.is-bdxw{display:grid;gap:10px}
.is-g-track{fill:none;stroke:#efe6ea;stroke-width:22}
.is-g-used{fill:none;stroke:#6a405e;stroke-width:22}
.is-g-proj{fill:none;stroke:#b0451f;stroke-width:22;stroke-opacity:.55}
.is-cell{fill:#e4d9e0}
.is-br-limit,.is-lg-limit>i{fill:#b0451f;background:#b0451f!important}
.is-br-territory,.is-lg-territory>i{fill:#6f8fb0;background:#6f8fb0!important}
.is-br-authority,.is-lg-authority>i{fill:#c27a2c;background:#c27a2c!important}
.is-br-vacant,.is-lg-vacant>i{fill:#8c3b6c;background:#8c3b6c!important}
.is-bdx svg{background:#fff}

/* 12. Layer tower and claim timeline */
.is-deduct{fill:#efe6ea;stroke:#b9a6b2}
.is-share{fill:#6a405e}.is-co{fill:#e4d9e0}
.is-break{fill:none;stroke:#fbf7f4;stroke-width:5}
.is-xl{fill:#fff;fill-opacity:.9;stroke:#c27a2c;stroke-width:1.5;stroke-dasharray:4 2}
.is-lossline{stroke:#b0451f;stroke-width:2}
.is-lossbar{fill:#b0451f;fill-opacity:.85}
.is-ctl{list-style:none;margin:0;padding:0;display:grid;gap:4px;border-left:2px solid #e4d9e0}
.is-ctl li{display:grid;grid-template-columns:7em minmax(0,1fr);gap:8px;padding:4px 0 4px 10px;font-size:12.5px;line-height:1.35}
.is-ctl time{font-weight:650;color:#6a405e}

/* 13. Evidence timeline */
.is-gapbox{fill:#f8e6df;stroke:#b0451f}

/* 15. Helpdesk ticket */
.is-ticket{background:#fff;border:1px solid #e4d9e0;border-radius:8px;padding:12px 14px;display:grid;gap:10px}
.is-ticket header{display:grid;gap:2px}.is-ticket header span{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--re-muted)}
.is-ticket header b{font-size:14px;color:#2c2230}.is-ticket header small{font-size:12px;color:#4d3a47}

/* 16. Waterfall and panel ring */
.is-riw{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(220px,.9fr);gap:12px;align-items:start}
.is-seg-base{fill:none;stroke:#efe6ea;stroke-width:22}
.is-seg{fill:none;stroke-width:22}
.is-seg-paid{stroke:#2f6a3e}.is-seg-out{stroke:#b0451f}

/* 17. Ageing buckets */
.is-projbar{fill-opacity:.55;stroke-dasharray:3 2;stroke:#3a2438;stroke-width:1}

@media(max-width:899px),(max-height:699px),(prefers-reduced-motion:reduce){
  .is-proj,.is-sub,.is-parw,.is-sitew,.is-redw,.is-frdw,.is-subrow,.is-cmpw,.is-mgaw,.is-claimw,.is-agew,.is-brk,.is-lic,.is-riw{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:560px){
  .is-row2,.is-attach{grid-template-columns:minmax(0,1fr)}
  .is-ctl li{grid-template-columns:minmax(0,1fr);gap:0}
  .is-board,.is-tl,.is-evid,.is-plan{overflow-x:auto}
  .is-board svg,.is-tl svg,.is-evid svg,.is-plan svg{min-width:480px}
}

/* Small diagrams keep a readable size when the surfaces stack in one column */
.is-group svg,.is-gauge svg,.is-ring svg{max-width:420px;margin:0 auto}
.is-funnel svg,.is-quad svg,.is-tower svg,.is-wf svg,.is-strip svg{max-width:460px;margin:0 auto}
.is-recon svg,.is-split svg,.is-clock svg,.is-due svg,.is-rel svg,.is-party svg,.is-age svg,.is-parcels svg{max-width:640px}
.is-plan svg,.is-evid svg,.is-tl svg,.is-board svg{max-width:720px}
.is-bdx svg{max-width:760px}
