/* Industry pages: the sector's own systems (lab/pages/industry_systems.py page_section), on every sector page since
   2026-10-26. The three rejected layouts (layers, table, map) were removed at rollout; the backup is in
   lab/backup-2026-10-26-sys-rollout/. */

/* the pick, 2026-10-26: hotspots on one sector photograph
   (Verkada "One integrated platform", screenshot public/systems-refs/img/verkada-*.jpg) and the buyer's own systems as tiles
   over a photograph (Ramp "Works with all your tools", ramp-05.jpg). Phones: Samsara's [+] list (samsara-s2.jpg). Ring
   colour is the status: violet = built for you, white = in TagFlow, dashed grey = your system. The card is light, as on
   Verkada and Samsara, so it reads as the one thing in focus. Amber stays the named person's turn. */
.erp .sp { --v: #9a6bff; --ink: #f4f3ef; --dim: #a39cba; margin-top: clamp(40px, 6vh, 72px); }
.erp .sp-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; isolation: isolate; }
.erp .sp-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: -1;
  filter: saturate(.9) brightness(.82); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.erp .sp-stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgb(8 6 18 / .55)), linear-gradient(180deg, rgb(8 6 18 / .15), rgb(8 6 18 / .35)); }
.erp .sp-dot { position: absolute; z-index: 2; left: var(--x); top: var(--y); translate: -50% -50%; display: grid; justify-items: center; gap: 8px;
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); transition: opacity .35s, scale .35s cubic-bezier(.16, 1, .3, 1); }
.erp .sp-dot__ring { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; border: 2px solid rgb(244 243 239 / .85);
  background: rgb(14 11 26 / .55); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / .7); transition: box-shadow .35s, border-color .35s; }
.erp .sp-dot__ring svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.erp .sp-dot--built .sp-dot__ring { border-color: var(--v); color: #d9ccff; box-shadow: 0 0 0 5px rgb(154 107 255 / .16), 0 10px 24px -8px rgb(0 0 0 / .7); }
.erp .sp-dot--run .sp-dot__ring { border: 2px dashed rgb(200 194 216 / .8); color: #c8c2d8; }
.erp .sp-dot__n { position: absolute; top: calc(100% + 8px); padding: 6px 10px; border-radius: 8px; background: rgb(10 8 20 / .82); white-space: nowrap;
  font: 500 13px/1 var(--sc-font-text); opacity: 0; translate: 0 -4px; transition: opacity .25s, translate .25s; pointer-events: none; }
.erp .sp-dot:hover .sp-dot__n, .erp .sp-dot:focus-visible .sp-dot__n, .erp .sp-dot.is-on .sp-dot__n { opacity: 1; translate: 0 0; }
.erp .sp-dot:hover { scale: 1.06; }
.erp .sp-dot:focus-visible { outline: none; }
.erp .sp-dot:focus-visible .sp-dot__ring { outline: 2px solid #c9b6ff; outline-offset: 4px; }
.erp .sp-dot.is-on .sp-dot__ring { box-shadow: 0 0 0 6px rgb(244 243 239 / .2), 0 0 28px rgb(154 107 255 / .55); }
.erp .sp.has-on .sp-dot:not(.is-on) { opacity: .5; }
.erp .sp-dot.is-hint .sp-dot__ring { animation: sp-hint 1.4s cubic-bezier(.16, 1, .3, 1); }
@keyframes sp-hint { 40% { box-shadow: 0 0 0 12px rgb(244 243 239 / .18), 0 10px 24px -8px rgb(0 0 0 / .7); } }
.erp .sp-prompt { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; margin: 0; padding: 9px 16px; border-radius: 10px;
  background: rgb(10 8 20 / .7); color: #d6d0e6; font: 500 14px/1 var(--sc-font-text); transition: opacity .3s; pointer-events: none; }
.erp .sp.has-on .sp-prompt { opacity: 0; }
.erp .sp-card { position: absolute; z-index: 5; width: min(360px, 42%); padding: 22px 24px 20px; border-radius: 14px; background: #f6f4ef; color: #1a1033;
  box-shadow: 0 2px 4px rgb(0 0 0 / .2), 0 30px 60px -20px rgb(0 0 0 / .65); }
.erp .sp-card:not([hidden]) { animation: sp-card .4s cubic-bezier(.16, 1, .3, 1); }
@keyframes sp-card { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.erp .sp-card__x { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #ddd8e8; background: #fff;
  color: #4b4466; font: 400 18px/1 var(--sc-font-text); cursor: pointer; }
.erp .sp-card h3 { margin: 0 0 8px; padding-right: 30px; font: 600 21px/1.2 var(--sc-font-display); letter-spacing: -.015em; }
.erp .sp-card p { margin: 0; font: 400 15px/1.5 var(--sc-font-text); color: #3d3656; }
.erp .sp-card__st { margin-bottom: 8px !important; font: 600 11.5px/1 var(--sc-font-mono) !important; letter-spacing: .07em; text-transform: uppercase; }
.erp .sp-card .sp-st--built { color: #6a3fd1; } .erp .sp-card .sp-st--tf { color: #1a1033; } .erp .sp-card .sp-st--run { color: #6b6485; }
.erp .sp-card__does { color: #1a1033 !important; }
.erp .sp-card__sq { margin-top: 10px !important; }
.erp .sp-card__sq b { color: #a8530a; font-weight: 600; }
.erp .sp-card__v { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #e4dfee; font-size: 14px !important; color: #4b4466 !important; }
.erp .sp-key { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--dim); font: 400 14px/1 var(--sc-font-text); }
.erp .sp-key li { display: inline-flex; align-items: center; gap: 9px; }
.erp .sp-key li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.erp .sp-key .sp-st--built::before { border-color: var(--v); box-shadow: 0 0 0 3px rgb(154 107 255 / .2); }
.erp .sp-key .sp-st--run::before { border: 2px dashed #c8c2d8; }
.erp .sp-list { display: none; }

/* Ramp's close: your own systems as tiles over a photograph */
.erp .sp-tiles { position: relative; isolation: isolate; aspect-ratio: 21 / 9; margin-top: clamp(56px, 8vh, 96px); border-radius: 18px; overflow: hidden; }
.erp .sp-tiles .sp-photo { filter: saturate(.85) brightness(.7); }
.erp .sp-tiles::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 6 18 / .92) 0%, rgb(8 6 18 / .6) 38%, rgb(8 6 18 / .05) 70%); }
.erp .sp-tiles__t { position: absolute; left: clamp(24px, 4vw, 48px); bottom: clamp(24px, 4vw, 48px); max-width: 420px; }
.erp .sp-tiles__t h3 { margin: 0 0 10px; color: var(--ink); font: 500 clamp(24px, 2.6vw, 34px)/1.15 var(--sc-font-display); letter-spacing: -.02em; }
.erp .sp-tiles__t p { margin: 0; color: #cfc9de; font: 400 16px/1.55 var(--sc-font-text); }
.erp .sp-tiles__l { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.erp .sp-tiles__l li { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; scale: var(--s);
  display: grid; place-items: center; min-width: 108px; height: 76px; padding: 0 18px; border-radius: 16px; background: rgb(246 244 239 / .95);
  color: #1a1033; font: 600 16px/1.1 var(--sc-font-display); letter-spacing: -.01em; text-align: center;
  box-shadow: 0 2px 4px rgb(0 0 0 / .2), 0 24px 40px -18px rgb(0 0 0 / .7); animation: sp-float 7s ease-in-out var(--d) infinite; }
.erp .sp-tiles__l li.is-alt { gap: 5px; align-content: center; height: 84px; }
.erp .sp-tiles__l li b { font-weight: 600; }
.erp .sp-tiles__l li.is-build small { color: #8a5a12; }
.erp .sp-tiles__l li small { color: #5b3fd1; font: 500 12px/1.2 var(--sc-font-text); letter-spacing: 0; white-space: nowrap; }
@keyframes sp-float { 50% { transform: translateY(-7px); } }

@media (max-width: 760px) {
  .erp .sp-stage { aspect-ratio: 4 / 3; }
  .erp .sp-dot, .erp .sp-card, .erp .sp-prompt { display: none !important; }
  .erp .sp-key { display: none; }
  .erp .sp-list { display: block; margin-top: 8px; }
  .erp .sp-row { border-bottom: 1px solid rgb(255 255 255 / .1); }
  .erp .sp-row > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; list-style: none; cursor: pointer; }
  .erp .sp-row > summary::-webkit-details-marker { display: none; }
  .erp .sp-row > summary span { display: grid; gap: 6px; color: var(--ink); font: 500 18px/1.2 var(--sc-font-display); }
  .erp .sp-row > summary small { font: 600 11px/1 var(--sc-font-mono); letter-spacing: .07em; text-transform: uppercase; }
  .erp .sp-row .sp-st--built { color: #c9b6ff; } .erp .sp-row .sp-st--tf { color: var(--ink); } .erp .sp-row .sp-st--run { color: #a39cba; }
  .erp .sp-row > summary i { flex: none; font: 400 18px/1 var(--sc-font-mono); color: #c9b6ff; }
  .erp .sp-row > summary i::before { content: "[+]"; } .erp .sp-row[open] > summary i::before { content: "[-]"; }
  .erp .sp-row__b { padding: 0 2px 20px; }
  .erp .sp-row__b .sp-card__st, .erp .sp-row__b h3 { display: none; }
  .erp .sp-row__b p { margin: 0 0 8px; color: #d6d0e6; font: 400 15.5px/1.55 var(--sc-font-text); }
  .erp .sp-row__b .sp-card__sq b { color: var(--amber, #e88122); font-weight: 500; }
  .erp .sp-row__b .sp-card__does { color: #f4f3ef !important; }
  .erp .sp-row__b .sp-card__v { color: #a39cba !important; font-size: 14px !important; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 10px; margin-top: 10px !important; }
  .erp .sp-tiles { aspect-ratio: auto; display: grid; gap: 20px; padding: 26px 20px; }
  .erp .sp-tiles::before { background: linear-gradient(180deg, rgb(8 6 18 / .88), rgb(8 6 18 / .7)); }
  .erp .sp-tiles__t { position: static; }
  .erp .sp-tiles__l { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .erp .sp-tiles__l li { position: static; translate: none; scale: none; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; font-size: 14px; animation: none; }
  .erp .sp-tiles__l li.is-alt { height: auto; padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .erp .sp-tiles__l li, .erp .sp-card:not([hidden]), .erp .sp-dot.is-hint .sp-dot__ring { animation: none; }
}
