/* /security/ (lab/pages/p_security.py), variety pass 2026-10-25. Sources are in the module docstring: Vercel Security
   (https://vercel.com/security) live audit log, Cloudflare Trust Hub stack (hosting-stack.css), Vercel partners lockup
   (https://vercel.com/partners). The controls table at the end is kept as it was. */
.erp .sx-sec { padding-block: clamp(96px, 14vh, 160px); }
.erp .sx-h { margin: 0; max-width: 20ch; text-wrap: balance; }
.erp .sx-lede { margin: 20px 0 0; max-width: 52ch; }
.erp .sx-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(40px, 6vw, 96px); }
.erp .sx-more { margin: 28px 0 0; font-size: 15px; }
.erp .sx-more .ulink { color: #f4f3ef; }
.erp .sx-hs { margin-top: clamp(56px, 8vh, 96px); }

/* ------------------------------------------------ audit log stream (Vercel Security) */
.erp .sx-log { margin-top: clamp(48px, 7vh, 88px); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgb(36 29 62 / .94), rgb(14 11 26 / .97));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 1px 0 rgb(255 255 255 / .1), 0 30px 60px -30px rgb(0 0 0 / .95); }
.erp .sx-log__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; color: #f4f3ef; font: 600 15px/1 var(--sc-font-text); }
.erp .sx-log__bar span { display: inline-flex; align-items: center; gap: 10px; }
.erp .sx-log__bar i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px rgb(74 222 128 / .8); animation: sx-pulse 2.4s ease-in-out infinite; }
.erp .sx-log__bar small { color: #8f88a6; font: 400 13.5px/1 var(--sc-font-text); }
@keyframes sx-pulse { 50% { opacity: .35; } }
.erp .sx-log__rows { display: grid; align-content: start; min-height: calc(6 * 62px); margin: 0; padding: 0 12px 6px; list-style: none; }
.erp .sx-r { display: grid; grid-template-columns: 96px minmax(150px, 230px) minmax(0, 1fr) 112px; align-items: center; gap: clamp(12px, 2vw, 28px); min-height: 62px; padding: 0 14px; border-radius: 12px;
  animation: sx-in .55s cubic-bezier(.16, 1, .3, 1); transition: background .5s; }
@keyframes sx-in { from { opacity: 0; transform: translateY(-14px); } }
.erp .sx-r time { color: #8f88a6; font: 500 14px/1 var(--sc-font-mono); font-variant-numeric: tabular-nums; }
.erp .sx-r b { color: #f4f3ef; font: 600 15.5px/1.3 var(--sc-font-text); }
.erp .sx-r span { color: #bdb6d0; font: 400 15.5px/1.4 var(--sc-font-text); }
.erp .sx-r em { justify-self: end; font: 600 14px/1 var(--sc-font-text); font-style: normal; color: #6fcf97; }
.erp .sx-r[data-o="Held"] { background: rgb(232 129 34 / .12); box-shadow: inset 0 0 0 1px rgb(232 129 34 / .45); }
.erp .sx-r[data-o="Held"] em { color: #e88122; }
.erp .sx-r[data-o="Approved"] em { color: #4ade80; }
.erp .sx-log__rule { margin: 0; padding: 16px 26px 22px; color: #8f88a6; font: 400 14.5px/1.4 var(--sc-font-text); }

/* ------------------------------------------------ lockup roll (Vercel partners) */
.erp .sx-lock { display: grid; justify-items: center; gap: 26px; padding: 20px 0; }
.erp .sx-lock__row { display: flex; align-items: center; gap: 22px; }
.erp .sx-tile { position: relative; display: grid; place-items: center; width: clamp(150px, 14vw, 200px); aspect-ratio: 1; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgb(38 30 66 / .92), rgb(14 11 26 / .96));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 1px 0 rgb(255 255 255 / .1), 0 24px 50px -24px rgb(0 0 0 / .9); }
.erp .sx-tile--k { color: #f4f3ef; font: 600 clamp(26px, 2.6vw, 34px)/1 var(--sc-font-display); letter-spacing: -.03em; }
.erp .sx-lock__plus { position: relative; width: 22px; height: 22px; }
.erp .sx-lock__plus::before, .erp .sx-lock__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; margin: -1px 0 0 -11px; border-radius: 2px; background: #c9b6ff; }
.erp .sx-lock__plus::after { transform: rotate(90deg); }
.erp .sx-roll { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transition: transform .8s cubic-bezier(.16, 1, .3, 1); transform: translateY(calc(var(--i, 0) * -100%)); }
.erp .sx-roll li { display: grid; place-items: center; height: 100%; padding: 0 12px; text-align: center; color: #f4f3ef; font: 600 clamp(20px, 1.9vw, 26px)/1.15 var(--sc-font-display); letter-spacing: -.02em; }
.erp .sx-lock__role { position: relative; display: grid; width: 100%; min-height: 56px; margin: 0; padding: 0; list-style: none; text-align: center; }
.erp .sx-lock__role li { grid-area: 1 / 1; display: grid; gap: 4px; opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .5s, transform .6s cubic-bezier(.16, 1, .3, 1), filter .5s; }
.erp .sx-lock__role li.on { opacity: 1; transform: none; filter: none; }
.erp .sx-lock__role b { color: #f4f3ef; font: 600 19px/1.2 var(--sc-font-display); letter-spacing: -.01em; }
.erp .sx-lock__role span { color: #c9b6ff; font: 500 14px/1.3 var(--sc-font-text); }

/* ------------------------------------------------ the controls table */
.erp .sx-spec { margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; }
.erp .sx-spec__r { display: grid; grid-template-columns: minmax(150px, 22%) 1fr; gap: 8px clamp(20px, 4vw, 56px); padding: 18px 0; }
.erp .sx-spec dt { font: 600 16px/1.4 var(--sc-font-display); letter-spacing: -.01em; color: #f4f3ef; }
.erp .sx-spec dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgb(233 228 247 / .78); max-width: 70ch; text-wrap: pretty; }
.erp .sx-spec dd a { color: #f4f3ef; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .erp .sx-split { grid-template-columns: 1fr; }
  .erp .sx-r { grid-template-columns: 1fr auto; row-gap: 4px; padding: 12px 12px; }
  .erp .sx-r time { grid-column: 1; grid-row: 1; } .erp .sx-r em { grid-column: 2; grid-row: 1; }
  .erp .sx-r b { grid-column: 1 / -1; grid-row: 2; } .erp .sx-r span { grid-column: 1 / -1; grid-row: 3; }
  .erp .sx-log__rows { min-height: 0; } .erp .sx-log__bar small { display: none; } .erp .sx-log__bar { padding: 16px 18px; } .erp .sx-log__rule { padding: 14px 18px 18px; }
  .erp .sx-tile { width: 128px; border-radius: 22px; } .erp .sx-lock__row { gap: 14px; }
  .erp .sx-spec__r { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .erp .sx-r { animation: none; } .erp .sx-log__bar i { animation: none; }
  .erp .sx-roll, .erp .sx-lock__role li { transition: none; }
}
