/* ==== security page (src/p/security.js) — prefix sc- — design language v4: the home page is the template ====
   dark hero + dark showcase use the shared CLIX OS dark skin (.ds-*, untouched); the cream 2×2 runs on the home's
   vignette engine (.vg); the cool split feature carries light UI cards with colour; numbers, trust and CTA are the kit's. */

/* ---------- shared atoms (light by default; the dark CLIX OS views restyle them below) ---------- */
.sc-ic{flex:none;display:block}
.sc-dim{color:var(--mut)}
.sc-ok{color:#1FB58F}
.sc-lbl{font-size:9.5px;color:#9AA0B4;letter-spacing:.02em}
.sc-tile{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;background:rgba(46,91,255,.1);color:#2E5BFF}
.sc-app{width:var(--sc-s);height:var(--sc-s);border-radius:calc(var(--sc-s) * .3);display:grid;place-items:center;flex:none;background:#fff;border:1px solid #E7E9EF;color:#6B7085;box-shadow:0 2px 6px -3px rgba(18,20,42,.25)}
.sc-app svg{display:block}
.sc-chip{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 7px;border-radius:6px;font-size:9.5px;font-weight:480;white-space:nowrap;background:#F1F2F6;color:#5D6384}
.sc-chip>i{width:5px;height:5px;border-radius:50%;background:currentColor}
.sc-chip.sc-mint{background:rgba(31,181,143,.14);color:#0E8F6E}
.sc-chip.sc-amber{background:rgba(242,179,75,.2);color:#94640C}
.sc-chip.sc-red{background:rgba(229,72,77,.12);color:#C93A3F}
.sc-chip.sc-blue{background:rgba(46,91,255,.11);color:#2E5BFF}
.sc-sw{position:relative;flex:none;width:28px;height:16px;border-radius:9px;background:#D9DCE4;transition:background-color .35s ease}
.sc-sw::after{content:"";position:absolute;top:2px;right:2px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.25);transition:transform .35s cubic-bezier(.22,.61,.36,1)}
.sc-sw.on{background:#2E5BFF}
.sc-sw.on::after{transform:translateX(-12px)}

/* ---------- CLIX OS views (dark, shared skin) ---------- */
.sc-v{position:absolute;inset:0}
.sc-v-hero .ds-bg{background-size:150% auto;background-position:46% 100%}
.sc-v .sc-chip{background:rgba(255,255,255,.11);color:#D7DAEA}
.sc-v .sc-chip.sc-mint{background:rgba(31,181,143,.22);color:#7FE6C8}
.sc-v .sc-chip.sc-amber{background:rgba(242,179,75,.22);color:#F7CF8A}
.sc-v .sc-chip.sc-red{background:rgba(242,107,107,.22);color:#FFB4B4}
.sc-v .sc-tile{background:rgba(84,121,255,.24);color:#C5D1FF}
.sc-v .sc-lbl{color:var(--dim)}
.sc-v .sc-ok{color:#6FE0C0}

/* ============================================================
   1 · hero — the owner's "Flux" reference (ref/ig5/DdzNIb4G6bo) in ITS palette: a light UI of white glass cards over a soft yellow / blue
   glow, a yellow call to action, the orange → green → blue compliance arc, green / red / yellow sparklines; CLIX accents in brand cobalt.
   Canvas 1020 × 650 px; base = composed frame; .ds.run / .ds-s1 / .ds-s2 animate.
   ============================================================ */
.sc-fx .ds.sc-fxd{background:linear-gradient(180deg,#EEF1F6,#E6EAF0);color:#15171C}
.sc-fx-in{position:absolute;inset:0}
.k-hero::after{height:64px}   /* the hero window is light now (the reference's own UI): a shorter fade into the page */
.sc-fx-glow{position:absolute;inset:0;pointer-events:none;background:
  radial-gradient(24% 36% at 52% 30%,rgba(255,212,59,.82),rgba(255,212,59,0) 70%),
  radial-gradient(12% 20% at 47% 22%,rgba(255,255,255,.95),rgba(255,255,255,0) 70%),
  radial-gradient(30% 42% at 60% 40%,rgba(255,232,150,.5),rgba(255,232,150,0) 70%),
  radial-gradient(40% 50% at 100% 0%,rgba(120,166,255,.5),rgba(120,166,255,0) 70%),
  radial-gradient(45% 55% at 0% 100%,rgba(120,166,255,.42),rgba(120,166,255,0) 70%),
  radial-gradient(40% 40% at 0% 0%,rgba(255,255,255,.7),rgba(255,255,255,0) 70%)}
/* top nav: brand · tab pills · tools */
.sc-fx-nav{position:absolute;top:14px;right:20px;left:20px;height:38px;display:flex;align-items:center;justify-content:space-between}
.sc-fx-brand{display:flex;align-items:center;gap:7px}
.sc-fx-brand svg{color:#2E5BFF}
.sc-fx-brand b{font-size:15px;font-weight:600;letter-spacing:.02em}
.sc-fx-tabs{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:4px;border-radius:20px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.9);box-shadow:0 6px 18px -12px rgba(20,30,60,.3)}
.sc-fx-tabs>span{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 13px;border-radius:15px;background:#fff;color:#15171C;font-size:11.5px;font-weight:600;box-shadow:0 2px 8px -2px rgba(20,30,60,.18)}
.sc-fx-tabs>i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#3A4152;background:rgba(255,255,255,.55)}
.sc-fx-tools{display:flex;align-items:center;gap:8px}
.sc-fx-tools>i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#2A2F3A;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.95)}
.sc-fx-lang{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:16px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.95);font-size:11px;color:#2A2F3A}
.sc-fx-tools .ds-av{width:32px;height:32px;font-size:10.5px;border:2px solid #fff}
/* the signed-in user's face (src/people.js) over the initials, same grid cell inside the white ring; the initials stay underneath as the fallback */
.sc-pp-t,.sc-pp{grid-area:1/1}
.sc-pp{width:100%;height:100%;border-radius:50%;object-fit:cover}
/* greeting, action pills, the yellow call to action */
.sc-fx-hi{position:absolute;top:66px;right:22px}
.sc-fx-hi b{display:block;font-size:31px;font-weight:400;letter-spacing:-.01em;line-height:1.15}
.sc-fx-hi small{display:block;margin-top:4px;font-size:10.5px;color:#5E6575}
.sc-fx-acts{position:absolute;top:74px;left:22px;display:flex;align-items:center;gap:7px}
.sc-fx-acts>span{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:15px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.95);font-size:11px;color:#2A2F3A;box-shadow:0 4px 14px -10px rgba(20,30,60,.35)}
.sc-fx-acts>.sc-fx-cta{margin-inline-start:14px;height:34px;padding:0 16px;border-radius:17px;background:#FFE14D;border-color:transparent;color:#15171C;font-weight:600;box-shadow:0 8px 20px -10px rgba(230,190,20,.8)}
/* white glass cards */
.sc-fx-card{position:absolute;border-radius:18px;padding:14px 16px;background:rgba(255,255,255,.66);border:1px solid rgba(255,255,255,.95);box-shadow:inset 0 1px 0 #fff,0 14px 34px -22px rgba(20,30,60,.4)}
/* security settings checklist (Getting started) */
.sc-fx-set{right:22px;top:134px;width:282px;height:194px}
.sc-fx-set>b{display:block;font-size:14px;font-weight:600}
.sc-fx-set>small{display:block;margin-top:3px;font-size:10px;color:#6B7282}
.sc-fx-pr{display:flex;align-items:center;gap:10px;margin-top:10px}
.sc-fx-pr>span{flex:1;height:6px;border-radius:3px;background:rgba(20,30,60,.08);overflow:hidden}
.sc-fx-pr>span i{display:block;height:100%;width:75%;border-radius:3px;background:linear-gradient(270deg,#4CC97C,#22A45D);transition:width .8s cubic-bezier(.22,.61,.36,1)}
.ds.run:not(.ds-s1) .sc-fx-pr>span i{width:50%}
.sc-fx-pr>b{font-size:11px;font-weight:600;color:#1E9A55}
.sc-fx-set ul{list-style:none;margin:10px 0 0;padding:6px 10px;border-radius:12px;background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.95)}
.sc-fx-set li{display:flex;align-items:center;gap:8px;height:24px;font-size:11px;color:#15171C;font-weight:500}
.sc-fx-set li .sc-ic{width:16px;height:16px;padding:3px;border-radius:50%;background:#DDF4E6;color:#1E9A55;flex:none;transition:background-color .4s,color .4s,box-shadow .4s}
.sc-fx-set li>i{width:16px;height:16px;border-radius:50%;border:1.5px solid rgba(20,30,60,.3);flex:none}
.sc-fx-ok>span{color:#8A90A0;font-weight:400;transition:color .4s}
.ds.run:not(.ds-s1) .sc-fx-3 .sc-ic{background:transparent;color:transparent;box-shadow:inset 0 0 0 1.5px rgba(20,30,60,.3)}
.ds.run:not(.ds-s1) .sc-fx-3>span{color:#15171C;font-weight:500}
/* compliance gauge (Compliance pulse) */
.sc-fx-cmp{left:22px;top:118px;width:282px;height:212px;padding:12px 16px}
.sc-fx-cmp header{display:flex;justify-content:space-between;align-items:center}
.sc-fx-cmp header b{font-size:14px;font-weight:600}
.sc-fx-cmp header i{font-style:normal;letter-spacing:1px;color:#6B7282}
.sc-fx-gauge{position:relative;width:170px;height:96px;margin:4px auto 0}
.sc-fx-gauge svg{width:100%;height:100%;overflow:visible}
.sc-fx-gt{fill:none;stroke:rgba(20,30,60,.05);stroke-width:15}
.sc-fx-g{fill:none;stroke-width:15;stroke-linecap:round}
.sc-fx-g1{stroke:#FF7A1A}
.sc-fx-g2{stroke:#22A45D}
.sc-fx-g3{stroke:#2F7BFF}
.ds.run .sc-fx-g{animation:sc-fx-gin .9s cubic-bezier(.22,.61,.36,1) backwards}
.ds.run .sc-fx-g2{animation-delay:.2s}
.ds.run .sc-fx-g3{animation-delay:.4s}
.sc-fx-gauge>span{position:absolute;left:0;right:0;top:40px;text-align:center}
.sc-fx-gauge small{display:block;font-size:9.5px;color:#6B7282}
.sc-fx-gauge b{display:block;font-size:27px;font-weight:500;line-height:1.1}
.sc-fx-pol{list-style:none;margin:6px 0 0;padding:5px 10px;border-radius:12px;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.95)}
.sc-fx-pol li{display:flex;align-items:center;justify-content:space-between;height:20px;font-size:10px;color:#3A4152}
.sc-fx-pol em{font-style:normal;padding:1px 7px;border-radius:6px;font-size:9px;color:#1E9A55;background:#E3F6EA;border:1px solid #BFE7CF}
.sc-fx-pol .sc-fx-dr{color:#D9480F;background:#FFF0E5;border-color:#FDD3B5}
/* KPI cards with sparklines */
.sc-fx-kpis{position:absolute;top:338px;right:22px;left:22px;height:112px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sc-fx-k{position:relative;border-radius:16px;padding:10px 14px;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.95);box-shadow:inset 0 1px 0 #fff,0 12px 28px -22px rgba(20,30,60,.45);overflow:hidden}
.sc-fx-k header{display:flex;justify-content:space-between;font-size:11px;color:#5E6575}
.sc-fx-k header i{font-style:normal;letter-spacing:1px;color:#8A90A0}
.sc-fx-k p{display:flex;align-items:center;gap:8px;margin:2px 0 0}
.sc-fx-k p b{font-size:21px;font-weight:500;line-height:1.1}
.sc-fx-ch{font-style:normal;display:inline-flex;align-items:center;height:17px;padding:0 6px;border-radius:6px;font-size:9px;color:#1E9A55;background:#E3F6EA}
.sc-fx-ch.sc-fx-am{color:#D9473F;background:#FDECEC}
.sc-fx-k>small{display:block;font-size:9px;color:#8A90A0}
.sc-fx-sp{position:absolute;left:14px;bottom:8px;width:calc(100% - 28px);height:28px;overflow:visible;transform-origin:50% 100%}
.sc-fx-pk{position:absolute;bottom:38px;line-height:1;transform:translateX(-50%);font-size:8.5px;color:#6B7282}
.ds.run .sc-fx-sp{animation:sc-fx-up 1s cubic-bezier(.22,.61,.36,1) .25s backwards}
.sc-fx-tk path{stroke:#2EAD5B;stroke-width:1.6}
.sc-fx-tk .sc-fx-a{stroke:#E5484D}
.sc-fx-tk .sc-fx-o{stroke:rgba(20,30,60,.14)}
.sc-fx-wv rect{fill:#2EAD5B}
.sc-fx-wv .sc-fx-o{fill:rgba(20,30,60,.14)}
.sc-fx-br rect{fill:rgba(20,30,60,.14)}
.sc-fx-br .sc-fx-m{fill:#2EAD5B}
.sc-fx-br .sc-fx-a{fill:#E5484D}
.sc-fx-dt circle{fill:rgba(20,30,60,.12)}
.sc-fx-dt .sc-fx-m{fill:#2EAD5B}
.sc-fx-dt .sc-fx-a{fill:#F5B800}
.sc-fx-dt .sc-fx-o{fill:rgba(20,30,60,.12)}
/* permission scope: segmented bar (cost forecast) */
.sc-fx-scope{right:22px;top:460px;width:432px;height:176px;padding:13px 16px;background:linear-gradient(160deg,rgba(255,250,214,.82),rgba(255,255,255,.7) 60%)}
.sc-fx-scope>small{display:block;font-size:11px;color:#5E6575}
.sc-fx-scope>p{display:flex;align-items:center;gap:9px;margin:2px 0 0}
.sc-fx-scope>p b{font-size:26px;font-weight:500;line-height:1.1}
.sc-fx-scope>p>span{font-size:10px;color:#8A90A0}
.sc-fx-seg{margin-top:6px}
.sc-fx-sl{display:flex;height:16px}
.sc-fx-sl span{position:relative;font-size:10px;color:#3A4152}
.sc-fx-sl span::after{content:"";position:absolute;right:0;top:15px;width:1px;height:9px;background:rgba(20,30,60,.3)}
.sc-fx-sl b{font-weight:600;margin-inline-start:4px}
.sc-fx-sb{display:flex;align-items:stretch;gap:4px;height:22px;margin-top:6px}
.sc-fx-s1{border-radius:3px;background:repeating-linear-gradient(90deg,#5AA9FF 0 2px,transparent 2px 5px)}
.sc-fx-s2{border-radius:6px;background:#FF7A1A}
.sc-fx-s3{display:flex;gap:4px}
.sc-fx-s3 i{flex:1;border-radius:5px;background:#22A45D}
.ds.run .sc-fx-sb>span{transform-origin:100% 50%;animation:sc-fx-wide .9s cubic-bezier(.22,.61,.36,1) backwards}
.ds.run .sc-fx-s2{animation-delay:.15s}
.ds.run .sc-fx-s3{animation-delay:.3s}
.sc-fx-lg{display:flex;gap:16px;margin-top:7px;font-size:10px;color:#3A4152}
.sc-fx-lg span{display:inline-flex;align-items:center;gap:6px}
.sc-fx-lg i{width:7px;height:7px;border-radius:50%}
.sc-fx-l1{background:#5AA9FF}
.sc-fx-l2{background:#FF7A1A}
.sc-fx-l3{background:#22A45D}
.sc-fx-warn{display:flex;align-items:center;gap:8px;margin-top:8px;height:28px;padding:0 12px;border-radius:10px;background:rgba(255,255,255,.75);border:1px solid rgba(20,30,60,.08);font-size:10.5px;color:#3A4152}
.sc-fx-warn .sc-ic{color:#F08C00;flex:none}
.sc-fx-warn b{margin-inline-start:auto;font-weight:600;color:#15171C}
/* live actions log (live runs stream) */
.sc-fx-log{left:22px;top:460px;width:522px;height:176px;padding:12px 14px;overflow:hidden}
.sc-fx-log header{display:flex;align-items:center;justify-content:space-between}
.sc-fx-log header b{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600}
.sc-fx-log header b i{width:7px;height:7px;border-radius:50%;background:#22A45D;box-shadow:0 0 0 3px rgba(34,164,93,.2)}
.ds.run .sc-fx-log header b i{animation:sc-fx-live 1.6s ease-in-out infinite}
.sc-fx-log header em{font-style:normal;padding:2px 8px;border-radius:8px;background:rgba(20,30,60,.07);font-size:9.5px;color:#5E6575}
.sc-fx-th,.sc-fx-tr{display:grid;grid-template-columns:2.2fr 1fr .7fr .8fr;align-items:center;gap:8px;padding:0 10px}
.sc-fx-th{margin-top:9px;height:24px;border-radius:8px;background:rgba(255,255,255,.75);font-size:9.5px;color:#6B7282}
.sc-fx-tr{height:26px;border-bottom:1px solid rgba(20,30,60,.07);font-size:10.5px;color:#5E6575;overflow:hidden}
.sc-fx-tr>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-fx-tr b{font-weight:600;color:#15171C}
.sc-fx-st{font-style:normal;display:inline-flex;align-items:center;height:18px;padding:0 8px;border-radius:6px;font-size:9.5px;border:1px solid}
.sc-fx-st-ok{color:#1E9A55;background:#E7F7EE;border-color:#BFE7CF}
.sc-fx-st-blk{color:#D9473F;background:#FDECEC;border-color:#F6C7C5}
.sc-fx-new{transition:height .5s cubic-bezier(.22,.61,.36,1),opacity .4s,background-color .8s}
.ds.run:not(.ds-s2) .sc-fx-new{height:0;opacity:0;border-bottom-width:0}
.ds.ds-s2 .sc-fx-new{background:rgba(46,91,255,.06)}
@keyframes sc-fx-gin{from{opacity:.15}}
@keyframes sc-fx-up{from{transform:scaleY(.3);opacity:.4}}
@keyframes sc-fx-wide{from{transform:scaleX(.4)}}
@keyframes sc-fx-live{50%{box-shadow:0 0 0 6px rgba(34,164,93,0)}}

/* ============================================================
   2 · audit terminal (dark showcase)
   ============================================================ */
.sc-term{position:absolute;left:334px;top:16px;width:670px;height:618px;border-radius:16px;display:flex;flex-direction:column;overflow:hidden}
.sc-term>header{display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border-bottom:1px solid rgba(255,255,255,.08);flex:none}
.sc-term>header b{flex:1;font-size:12px;font-weight:500}
.sc-term>header b small{font-size:11px}
.sc-tdots{display:flex;gap:6px;direction:ltr}
.sc-tdots i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.18)}
.sc-tdots i:nth-child(1){background:#F26B6B}
.sc-tdots i:nth-child(2){background:#F2B34B}
.sc-tdots i:nth-child(3){background:#1FB58F}
.sc-tbody{flex:1;min-height:0;padding:22px 24px 14px;display:flex;flex-direction:column;gap:12px;font-size:14px;line-height:1.45;overflow:hidden}
.sc-tl{display:flex;align-items:center;gap:10px;transition:opacity .3s ease,transform .35s cubic-bezier(.22,.61,.36,1)}
.sc-tl.sc-h{opacity:0;transform:translateY(5px)}
.sc-tl code{font-family:"Fragment Mono",ui-monospace,monospace;font-size:13px}
.sc-tw{color:#7C819B;font-size:12px;padding-bottom:12px;border-bottom:1px dashed rgba(255,255,255,.1)}
.sc-tq{font-size:18px;font-weight:500;color:#fff}
.sc-tp{color:#6FE0C0;font-family:"Fragment Mono",ui-monospace,monospace;font-size:17px}
.sc-tk code{color:#C5D1FF}
.sc-td{width:8px;height:8px;border-radius:50%;background:#7C9BFF;flex:none;box-shadow:0 0 0 3px rgba(124,155,255,.18)}
.sc-tk.sc-busy .sc-td{background:#F2B34B;box-shadow:0 0 0 3px rgba(242,179,75,.2);animation:dsBlink .5s infinite}
.sc-trs{padding-inline-start:4px;color:#A6ABC6;font-size:13.5px;margin-top:-6px}
.sc-tj{color:#5C6283;font-family:"Fragment Mono",ui-monospace,monospace}
.sc-tkv{padding-inline-start:20px;font-size:13.5px;color:#7FE6C8;margin-top:-4px}
.sc-tkv code{width:96px;color:#7C819B;text-align:left;flex:none}
.sc-tok{margin-top:4px;padding:12px 14px;border-radius:12px;background:rgba(31,181,143,.13);border:1px solid rgba(111,224,192,.35);color:#E8FFF7;font-size:14.5px}
.sc-tok .sc-ic{width:22px;height:22px;padding:4px;border-radius:50%;background:#1FB58F;color:#fff}
.sc-tsrc{flex-wrap:wrap;gap:7px;font-size:11px;color:#7C819B;margin-top:auto}
.sc-tsrc em{font-style:normal;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:13px;background:rgba(124,155,255,.12);border:1px solid rgba(124,155,255,.28);color:#C5D1FF}
.sc-tsrc em code{font-size:11px}
.sc-tcar{margin-top:-4px}
.sc-tcar i{width:8px;height:17px;background:#EEF0F8;animation:dsBlink 1s step-end infinite}
.sc-term>footer{display:flex;align-items:center;gap:8px;margin:0 14px 14px;height:40px;padding-inline:14px 5px;border-radius:20px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);color:var(--dim);font-size:11.5px;flex:none}
.sc-term>footer span{flex:1}
.sc-term>footer b{width:30px;height:30px;border-radius:50%;background:#2E5BFF;color:#fff;display:grid;place-items:center}
.sc-ev{gap:10px}
.sc-ev-zone{position:relative;border:1.5px dashed rgba(111,224,192,.45);border-radius:14px;padding:20px 8px 8px;display:flex;flex-direction:column;gap:4px;margin-top:8px;background:rgba(31,181,143,.05)}
.sc-ev-zl{position:absolute;top:-11px;right:10px;display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:11px;background:#0F1B2F;border:1px solid rgba(111,224,192,.5);font-size:9.5px;color:#BFF3E2}
.sc-ev-run,.sc-ev-dst{display:flex;align-items:center;gap:9px;height:44px;padding:0 6px;border-radius:10px}
.sc-ev-run{background:linear-gradient(135deg,rgba(84,121,255,.28),rgba(155,107,255,.16));border:1px solid rgba(169,188,255,.35)}
.sc-ev-dst{background:rgba(255,255,255,.055)}
.sc-ev-run>span:nth-child(2),.sc-ev-dst>span:nth-child(2){flex:1;min-width:0}
.sc-ev-run b{display:block;font-size:11px;font-family:"Fragment Mono",ui-monospace,monospace;font-weight:400}
.sc-ev-dst b{display:block;font-size:11px;font-weight:500}
.sc-ev-dst small,.sc-ev-run small{display:block;font-size:9.5px}
.sc-ev-blk{border:1px dashed rgba(242,107,107,.5);background:rgba(242,107,107,.07);color:#FFB4B4}
.sc-ev-mk{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#2E5BFF;color:#fff}
.sc-ev-blk b{color:#EEF0F8}
.sc-ev-foot{margin-top:auto;display:flex;align-items:center;gap:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.sc-ev-foot b{font-size:40px;font-weight:300;line-height:.9;color:#fff}
.sc-ev-foot span{font-size:10.5px;color:#C3C8E0;line-height:1.35}
.sc-ev-own{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border-radius:12px;background:rgba(31,181,143,.12);border:1px solid rgba(111,224,192,.38);font-size:10.5px;color:#A6ABC6}
.sc-ev-own b{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:#E8FFF7}
.sc-ev-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.sc-ev-stats span{padding:9px 8px;text-align:center;border-radius:10px;background:rgba(255,255,255,.06)}
.sc-ev-stats b{display:block;font-size:22px;font-weight:300;line-height:1.15}
.sc-ev-cm{display:flex;align-items:center;gap:9px;padding:8px 9px;border-radius:10px;background:rgba(255,255,255,.05)}
.sc-ev-cm code{font-family:"Fragment Mono",ui-monospace,monospace;font-size:10px;color:#C5D1FF;padding:2px 6px;border-radius:6px;background:rgba(124,155,255,.16)}
.sc-ev-cm b{display:block;font-size:10.5px;font-weight:480}
.sc-ev-cm small{display:block;font-size:9px}
.sc-ev-btn{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:7px;height:38px;border-radius:19px;background:#EEF0F8;color:#0C1128;font-size:11.5px;font-weight:540}
.sc-ev-sec{display:flex;align-items:center;gap:10px;padding:9px;border-radius:11px;background:rgba(255,255,255,.055)}
.sc-v .sc-ev-sec .sc-tile{background:rgba(242,179,75,.22);color:#F7CF8A}
.sc-ev-sec>span:nth-child(2){flex:1;min-width:0}
.sc-ev-sec code{display:block;font-family:"Fragment Mono",ui-monospace,monospace;font-size:10.5px;color:#EEF0F8}
.sc-ev-sec small{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-ev-sec em{font-style:normal;font-size:9.5px;padding:3px 9px;border-radius:9px;border:1px solid rgba(242,107,107,.5);color:#FFB4B4;white-space:nowrap}
.sc-ev-tr{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column}
.sc-ev-tr li{display:flex;gap:10px;align-items:flex-start;padding-bottom:20px;position:relative}
.sc-ev-tr li::before{content:"";position:absolute;right:10.5px;top:22px;bottom:0;width:1px;background:rgba(255,255,255,.16)}
.sc-ev-tr li:last-child::before{display:none}
.sc-ev-tr li>i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:none;position:relative;z-index:1;background:rgba(124,155,255,.24);color:#C5D1FF}
.sc-ev-tr .sc-ev-w>i{background:rgba(31,181,143,.26);color:#7FE6C8}
.sc-ev-tr b{display:block;font-size:11.5px;font-weight:480}
.sc-ev-tr small{display:block}
.sc-ev-mix{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;background:rgba(255,255,255,.055)}
.sc-ev-mix .sc-ev-r i::after{background:linear-gradient(to left,#5479FF,#A9BCFF)}
.sc-ev-mix .sc-ev-x b{color:#7C819B}

/* ============================================================
   3 · control — four vignettes on the home's .vg engine (stage 49.6×33.1em, 1em = 10px at 496px)
   ============================================================ */
.sc-vg{color:#12142A}
.sc-vg .vg-st *{box-sizing:border-box}
.sc-vg-perms{--vg-d:-8.6s;background:#E6E5EE}
.sc-vg-perms .vg-bg{background:radial-gradient(30em 26em at 70% 58%,rgba(84,121,255,.22),rgba(84,121,255,0) 74%),radial-gradient(40em 28em at 4% -10%,rgba(255,255,255,.95),rgba(255,255,255,0) 72%),linear-gradient(200deg,#DCDCEA 0%,#E9E7E3 55%,#E2E1E5 100%)}
.sc-vg-revoke{--vg-d:-9.2s;background:#ECE6E3}
.sc-vg-revoke .vg-bg{background:radial-gradient(28em 24em at 30% 60%,rgba(242,107,107,.16),rgba(242,107,107,0) 74%),radial-gradient(36em 26em at 96% -8%,rgba(255,255,255,.95),rgba(255,255,255,0) 72%),linear-gradient(170deg,#EFE9E4 0%,#E8E4E4 100%)}
.sc-vg-audit{--vg-d:-8.9s;background:#E3E9E6}
.sc-vg-audit .vg-bg{background:radial-gradient(32em 24em at 62% 70%,rgba(31,181,143,.18),rgba(31,181,143,0) 74%),radial-gradient(40em 26em at 10% -10%,rgba(255,255,255,.95),rgba(255,255,255,0) 72%),linear-gradient(190deg,#E2E9E5 0%,#EAE8E3 100%)}
.sc-vg-keys{--vg-d:-9s;background:#E8E4EE}
.sc-vg-keys .vg-bg{background:radial-gradient(30em 24em at 40% 62%,rgba(124,92,255,.2),rgba(124,92,255,0) 74%),radial-gradient(38em 26em at 92% -10%,rgba(255,255,255,.95),rgba(255,255,255,0) 72%),linear-gradient(200deg,#E3E0EE 0%,#ECE9E6 100%)}

.sc-vc{position:absolute;background:#fff;border-radius:1.8em;box-shadow:var(--vg-sh);padding:1.6em 1.8em}
.sc-vhead{display:flex;align-items:center;justify-content:space-between;gap:1em;padding-bottom:1em}
.sc-vhead b{font-size:1.45em;font-weight:560}
.sc-vrow{display:flex;align-items:center;gap:1.1em;height:4.8em;border-top:1px solid #EEF0F4}
.sc-vrow>span:nth-child(2){flex:1;min-width:0}
.sc-vrow b{display:block;font-size:1.3em;font-weight:520;white-space:nowrap}
.sc-vrow small{display:block;font-size:1.05em;color:#6B7085;white-space:nowrap}
.sc-vt{width:3.2em;height:3.2em;border-radius:1em;display:grid;place-items:center;flex:none}
.sc-vt svg{width:1.6em;height:1.6em}
.sc-vt-blue{background:rgba(46,91,255,.12);color:#2E5BFF}
.sc-vt-mint{background:rgba(31,181,143,.15);color:#0E8F6E}
.sc-vt-amber{background:rgba(242,179,75,.22);color:#9A6408}
.sc-vt-violet{background:rgba(124,92,255,.14);color:#6A4CF0}
.sc-vav{width:3.4em;height:3.4em;border-radius:50%;display:grid;place-items:center;flex:none}
.sc-vav b{font-size:1.25em;font-weight:600}
.sc-vchip{display:inline-flex;align-items:center;gap:.45em;height:2.2em;padding:0 .85em;border-radius:1.1em;font-size:1.05em;font-weight:520;white-space:nowrap;background:#F1F2F6;color:#5D6384}
.sc-vchip>i{width:.55em;height:.55em;border-radius:50%;background:currentColor}
.sc-vchip-mint{background:rgba(31,181,143,.14);color:#0E8F6E}
.sc-vchip-blue{background:rgba(46,91,255,.11);color:#2E5BFF}
.sc-vchip-red{background:rgba(229,72,77,.12);color:#C93A3F}
.sc-vlbl{margin:0;padding:.2em 0 .7em;font-size:1.1em;color:#9AA0B4}
.sc-vsw{position:relative;flex:none;width:3.4em;height:1.9em;border-radius:1em;background:#2E5BFF}
.sc-vsw>i{position:absolute;top:.25em;left:.25em;width:1.4em;height:1.4em;border-radius:50%;background:#fff;box-shadow:0 .1em .3em rgba(18,20,42,.3)}
.sc-vlock{display:inline-flex;align-items:center;gap:.4em;font-size:1.05em;padding:.35em .8em;border-radius:1em;background:#F1F2F6;color:#9AA0B4}
.sc-vlock svg{width:1.1em;height:1.1em}
.sc-vbtn{display:inline-flex;align-items:center;height:2.6em;padding:0 1.1em;border-radius:1.3em;border:1px solid #E1E3EA;font-size:1.1em;font-weight:520;color:#12142A;background:#fff;white-space:nowrap}
.sc-vfoot{margin:0;display:flex;align-items:center;gap:.5em;padding-top:1em;border-top:1px solid #EEF0F4;font-size:1.05em;color:#6B7085}
.sc-vfoot svg{width:1.1em;height:1.1em}
.sc-vok{color:#1FB58F}
.sc-vg .vg-chip svg{width:1.1em;height:1.1em}
.sc-vnum{font-size:1.25em;font-weight:600;color:#2E5BFF}

/* a · approval (Command style) */
.sc-vp-card{left:11.2em;top:2em;width:27.2em}
.sc-vp-top{position:relative;display:flex;align-items:center;gap:.8em}
.sc-vp-top small{font-size:1.05em;color:#9AA0B4}
.sc-vp-need{background:rgba(242,179,75,.2);color:#94640C;--vg-k:sc-vg-need}
.sc-vp-ok{position:absolute;top:0;inset-inline-start:0;--vg-k:sc-vg-okc}
.sc-vp-t{margin:.8em 0 1em;font-size:1.6em;line-height:1.25;font-weight:560}
.sc-vp-tb{display:grid;grid-template-columns:5.2em 1fr 1fr;border:1px solid #EEF0F4;border-radius:1.2em;overflow:hidden;font-size:1.12em}
.sc-vp-tb>span{padding:.62em .9em;border-top:1px solid #EEF0F4;white-space:nowrap}
.sc-vp-tb>span:nth-child(-n+3){border-top:0;font-size:.88em;color:#9AA0B4;padding-block:.55em}
.sc-vp-tb>span:nth-child(3n+1){color:#6B7085}
.sc-vp-pr{background:rgba(46,91,255,.06);color:#2E5BFF;font-weight:520}
.sc-vp-tb>span.sc-vp-pr:nth-child(3){color:#2E5BFF}
.sc-vp-btns{display:flex;justify-content:flex-end;align-items:center;gap:.7em;margin-top:1.3em}
.sc-vp-rej{font-size:1.15em;color:#6B7085;padding:0 .5em}
.sc-vp-ed{height:2.9em;padding:0 1.2em;border:1px solid #E1E3EA;border-radius:1em;font-size:1.15em;display:inline-flex;align-items:center;background:#fff}
.sc-vp-go{height:2.9em;padding:0 1.3em;border-radius:1em;background:#1FB58F;color:#fff;font-size:1.15em;font-weight:540;display:inline-flex;align-items:center;gap:.5em;--vg-k:sc-vg-go}
.sc-vp-go svg{width:1.1em;height:1.1em}
.sc-vp-cur{left:15.6em;top:23.8em}
.sc-vg-perms .sc-vg-c2{left:31.4em;top:26.6em;--vg-k:sc-vg-pop2;--vg-ez:var(--vg-pop)}
@keyframes sc-vg-need{0%,34%{opacity:1}38%,95%{opacity:0}100%{opacity:1}}
@keyframes sc-vg-okc{0%,34%{opacity:0;transform:scale(.8)}40%,95%{opacity:1;transform:none}100%{opacity:0}}
@keyframes sc-vg-go{0%,30%{background:#0E1120}32%{background:#0E1120;transform:scale(.95)}35%{transform:none}38%,95%{background:#1FB58F}100%{background:#0E1120}}

/* b · revoke */
.sc-vr-card{left:12em;top:3.4em;width:25.8em}
.sc-vr-card .sc-app{--sc-s:3.2em;border-radius:1em}
.sc-vr-st{display:grid;justify-items:end}
.sc-vr-st>*{grid-area:1/1}
.sc-vr-b{opacity:0;--vg-k:sc-vg-btn}
.sc-vr-off{--vg-k:sc-vg-pop3;--vg-ez:var(--vg-pop)}
.sc-vr-g{border-radius:1em;background:rgba(229,72,77,.05);margin-inline:-.8em;padding-inline:.8em;--vg-k:sc-vg-rowx}
.sc-vcur{position:absolute;left:15.4em;top:10.6em;width:2.4em;height:2.4em;opacity:0;--vg-k:sc-vg-cur}
.sc-vcur svg{width:100%;height:100%;fill:#12142A;stroke:#fff;stroke-width:1.300;stroke-linejoin:round;filter:drop-shadow(0 .2em .4em rgba(18,20,42,.3))}
.sc-vg-revoke .sc-vg-c1{left:1.4em;top:7em;--vg-k:sc-vg-pop;--vg-ez:var(--vg-pop)}
.sc-vg-revoke .sc-vg-c1 svg{color:#F2B34B}
.sc-vg-revoke .sc-vg-c2{left:31em;top:26.6em;--vg-k:sc-vg-pop2;--vg-ez:var(--vg-pop)}

/* c · audit timeline */
.sc-va-card{left:8.4em;top:2.2em;width:32.8em;height:28.6em;overflow:hidden}
.sc-va-t b{display:block;font-size:1.45em;font-weight:560}
.sc-va-t small{display:block;font-size:1.05em;color:#6B7085}
.sc-vtl{list-style:none;margin:.4em 0 0;padding:0;display:flex;flex-direction:column}
.sc-vtl li{position:relative;display:flex;align-items:center;gap:1.1em;height:4.7em;flex:none}
.sc-vtl li::before{content:"";position:absolute;right:1.55em;top:3.9em;height:1.6em;width:1px;background:#E1E3EA}
.sc-vtl li:last-child::before{display:none}
.sc-vtl li>span:nth-child(2){flex:1;min-width:0}
.sc-vtl li>i{width:3.2em;height:3.2em;border-radius:50%;display:grid;place-items:center;flex:none;background:#EEF1F8;color:#5D6384}
.sc-vtl li>i svg{width:1.4em;height:1.4em}
.sc-vtl .sc-vtl-w>i,.sc-vtl .sc-vtl-new>i{background:rgba(46,91,255,.11);color:#2E5BFF}
.sc-vtl b{display:block;font-size:1.28em;font-weight:520;white-space:nowrap}
.sc-vtl small{display:block;font-size:1.02em;color:#9AA0B4}
.sc-vtl .sc-app{--sc-s:2.6em;border-radius:.8em}
.sc-vtl-new{background:rgba(46,91,255,.05);border-radius:1.1em;margin-inline:-.8em;padding-inline:.8em;overflow:hidden;max-height:4.7em;--vg-k:sc-vg-slide2}
.sc-vtl-new::before{right:2.35em}
.sc-vg-audit .sc-vg-c1{left:2.2em;top:26.6em;--vg-k:sc-vg-pop;--vg-ez:var(--vg-pop)}
@keyframes sc-vg-slide2{0%,30%{max-height:0;opacity:0}38%,95%{max-height:4.7em;opacity:1}100%{max-height:0;opacity:0}}

/* d · keys */
.sc-vk-card{left:13em;top:3.2em;width:24em}
.sc-vk-t{display:flex;align-items:center;gap:.9em}
.sc-vk-key{display:flex;align-items:center;gap:1.4em;padding:1.2em 0;border-top:1px solid #EEF0F4}
.sc-vk-ring{position:relative;width:7.6em;height:7.6em;flex:none;display:grid;place-items:center;color:#6A4CF0}
.sc-vk-ring>svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.sc-vk-tr{stroke:#EEEAFB;stroke-width:7}
.sc-vk-arc{stroke:#7C5CFF;stroke-width:7;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:0;--vg-k:sc-vg-arc}
.sc-vk-ring>span svg{width:2.2em;height:2.2em}
.sc-vk-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.3em}
.sc-vk-info code{font-family:"Fragment Mono",ui-monospace,monospace;font-size:1.25em;color:#12142A}
.sc-vk-info small{font-size:1.05em;color:#6B7085}
.sc-vk-v{display:grid;justify-items:start;margin-top:.2em}
.sc-vk-v>span{grid-area:1/1;font-size:2.6em;font-weight:300;line-height:1}
.sc-vk-v1{opacity:0;--vg-k:sc-vg-v1}
.sc-vk-v2{--vg-k:sc-vg-v2}
.sc-vk-d{font-family:"Fragment Mono",ui-monospace,monospace;font-size:1.2em;color:#12142A}
.sc-vg-keys .sc-vg-c1{left:1.6em;top:8.6em;--vg-k:sc-vg-pop;--vg-ez:var(--vg-pop)}
.sc-vg-keys .sc-vg-c2{left:31.6em;top:25.4em;--vg-k:sc-vg-pop2;--vg-ez:var(--vg-pop)}

/* the loop (10s, shared engine): each keyframe ends on the composed frame that the base style shows */
@keyframes sc-vg-pop{0%,40%{opacity:0;transform:translateY(.6em) scale(.9)}47%,95%{opacity:1;transform:none}100%{opacity:0;transform:none}}
@keyframes sc-vg-pop2{0%,52%{opacity:0;transform:translateY(.6em) scale(.9)}59%,95%{opacity:1;transform:none}100%{opacity:0;transform:none}}
@keyframes sc-vg-pop3{0%,34%{opacity:0;transform:scale(.7)}40%,95%{opacity:1;transform:none}100%{opacity:0}}
@keyframes sc-vg-btn{0%,33%{opacity:1}34%{opacity:1;background:#E5484D;color:#fff;border-color:#E5484D}38%,100%{opacity:0}}
@keyframes sc-vg-rowx{0%,34%{background:rgba(229,72,77,0)}40%,95%{background:rgba(229,72,77,.05)}100%{background:rgba(229,72,77,0)}}
@keyframes sc-vg-cur{0%,8%{opacity:0;transform:translate(9em,9em)}14%{opacity:1}28%,31%{opacity:1;transform:none}33%{transform:scale(.88)}35%{transform:none;opacity:1}46%,100%{opacity:0;transform:none}}
@keyframes sc-vg-arc{0%,14%{stroke-dashoffset:100}40%,95%{stroke-dashoffset:0}100%{stroke-dashoffset:100}}
@keyframes sc-vg-v1{0%,40%{opacity:1}44%,100%{opacity:0}}
@keyframes sc-vg-v2{0%,40%{opacity:0}44%,95%{opacity:1}100%{opacity:0}}

/* ============================================================
   4 · principles — split feature arts (4:5): one light UI card on a tinted canvas
   ============================================================ */
.sc-fa{position:absolute;inset:0;display:grid;place-items:center;padding:clamp(18px,7%,44px);color:#12142A;font-size:12px;direction:rtl;container-type:inline-size;
  background:radial-gradient(70% 55% at 70% 30%,rgba(84,121,255,.16),rgba(84,121,255,0) 70%),radial-gradient(60% 50% at 20% 85%,rgba(31,181,143,.12),rgba(31,181,143,0) 70%),linear-gradient(180deg,#EDEFF7,#E7E9F2)}
.sc-fa small{font-size:10.5px;color:#6B7085}
.sc-fa>div{width:100%;max-width:380px;border-radius:18px;background:#fff;box-shadow:0 1px 3px rgba(18,20,42,.06),0 20px 40px -18px rgba(18,20,42,.32)}
.sc-fa .sc-chip{height:22px}

/* training opt-out (settings card) */
.sc-tr{padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.sc-tr header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px}
.sc-tr header>span{display:flex;align-items:center;gap:10px}
.sc-tr header b{font-size:13.5px;font-weight:560}
.sc-tr ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.sc-tr li{display:flex;align-items:center;gap:10px;height:54px;border-top:1px solid #EEF0F4}
.sc-tr li>span:nth-child(2){flex:1;min-width:0}
.sc-tr li b{display:block;font-size:12.5px;font-weight:520}
.sc-tr li small{display:block}
.sc-tr-l{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#0E1120;color:#fff;flex:none}
.sc-tr li:nth-child(4) .sc-tr-l{background:#2E5BFF}
.sc-tr-n{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0 10px;border-top:1px solid #EEF0F4;font-size:12px;color:#6B7085}
.sc-tr-n b{font-size:40px;line-height:1;font-weight:300;color:#12142A}
.sc-tr footer{display:flex;align-items:center;gap:6px;font-size:11px;color:#0E8F6E}
.sc-arm:not(.sc-on) .sc-tr .sc-sw{background:#2E5BFF}
.sc-arm:not(.sc-on) .sc-tr .sc-sw::after{transform:translateX(-12px)}
.sc-arm .sc-tr .sc-sw,.sc-arm .sc-tr .sc-sw::after{transition-delay:calc(.5s + var(--sc-i,0) * .2s)}

/* scope narrowing */
.sc-sc{padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.sc-sc header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sc-sc header>span{display:flex;align-items:center;gap:9px;min-width:0}
.sc-sc header b{font-size:13.5px;font-weight:560;white-space:nowrap}
.sc-sc header em{font-style:normal;font-family:"Fragment Mono",ui-monospace,monospace;font-size:10.5px;padding:2px 8px;border-radius:6px;background:rgba(46,91,255,.1);color:#2E5BFF;white-space:nowrap}
.sc-sc ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.sc-sc li{display:grid;grid-template-columns:18px auto minmax(0,1fr) auto;align-items:center;gap:9px;height:40px;padding:0 9px;border-radius:9px;transition:opacity .4s ease,background-color .4s ease}
.sc-sc li i{width:18px;height:18px;border-radius:5px;display:grid;place-items:center;border:1.5px solid #C9CDD8;color:transparent;transition:background-color .35s ease,border-color .35s ease,color .35s ease}
.sc-sc li code{font-family:"Fragment Mono",ui-monospace,monospace;font-size:11.5px;color:#6B7085;text-decoration:line-through;text-decoration-color:#E5484D}
.sc-sc li span{font-size:10.5px;color:#9AA0B4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-sc li:not(.sc-keep){opacity:.55}
.sc-sc li.sc-keep{background:rgba(31,181,143,.08)}
.sc-sc li.sc-keep i{background:#1FB58F;border-color:#1FB58F;color:#fff}
.sc-sc li.sc-keep code{text-decoration:none;color:#12142A}
.sc-sc li b{font-size:10px;padding:2px 8px;border-radius:6px;background:rgba(31,181,143,.16);color:#0E8F6E;font-weight:520}
.sc-sc-m{display:flex;align-items:center;gap:10px;font-size:10.5px;color:#6B7085;padding-top:10px;border-top:1px solid #EEF0F4}
.sc-sc-m i{flex:1;height:5px;border-radius:3px;background:#EEF0F4;position:relative;overflow:hidden}
.sc-sc-m i b{position:absolute;inset-block:0;right:0;width:20%;border-radius:3px;background:linear-gradient(to left,#1FB58F,#6FE0C0);transition:width .9s cubic-bezier(.4,0,.2,1) 1.1s}
.sc-sc-m small{font-family:"Fragment Mono",ui-monospace,monospace;color:#0E8F6E}
.sc-arm:not(.sc-on) .sc-sc li:not(.sc-keep){opacity:1}
.sc-arm:not(.sc-on) .sc-sc li:not(.sc-keep) i{background:#2E5BFF;border-color:#2E5BFF;color:#fff}
.sc-arm:not(.sc-on) .sc-sc li:not(.sc-keep) code{text-decoration-color:transparent;color:#12142A}
.sc-arm:not(.sc-on) .sc-sc-m i b{width:100%}
.sc-arm .sc-sc li,.sc-arm .sc-sc li i{transition-delay:calc(.5s + var(--sc-i,0) * .12s)}

/* repo handed over */
.sc-rp{display:flex;flex-direction:column;overflow:hidden}
.sc-rp header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 14px;border-bottom:1px solid #EEF0F4;background:#F7F8FA}
.sc-rp header>span:first-child{display:flex;align-items:center;gap:8px;min-width:0}
.sc-rp-gh{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#fff;border:1px solid #E7E9EF}
.sc-rp header b{font-family:"Fragment Mono",ui-monospace,monospace;font-size:11.5px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-rp-own{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #EEF0F4}
.sc-rp-l{font-size:11px;color:#6B7085}
.sc-rp-sw{position:relative;display:grid;min-width:0}
.sc-rp-o{grid-area:1/1;display:inline-flex;align-items:center;gap:6px;height:28px;padding-inline:9px 11px;border-radius:14px;font-size:11.5px;white-space:nowrap;border:1px solid #E7E9EF;background:#fff;transition:opacity .4s ease,transform .45s cubic-bezier(.22,.61,.36,1)}
.sc-rp-o b{font-weight:520}
.sc-rp-o1{opacity:0;transform:translateX(-16px);border-color:rgba(46,91,255,.35);color:#2E5BFF}
.sc-rp-o1 b{font-family:"Fragment Mono",ui-monospace,monospace;font-weight:400}
.sc-rp-o2{border-color:rgba(31,181,143,.45);background:rgba(31,181,143,.08)}
.sc-rp-ok{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#1FB58F;color:#fff;margin-inline-start:auto;transition:transform .4s cubic-bezier(.22,.61,.36,1) 1.3s}
.sc-rp-tree{list-style:none;margin:0;padding:10px 14px;display:flex;flex-direction:column;gap:3px;font-family:"Fragment Mono",ui-monospace,monospace;font-size:11.5px;color:#12142A}
.sc-rp-tree li{display:flex;align-items:center;gap:8px;height:24px}
.sc-rp-tree li svg{color:#9AA0B4}
.sc-rp-tree li:first-child svg,.sc-rp-tree li:nth-child(4) svg{color:#2E5BFF}
.sc-rp-tree li.sc-in{padding-left:20px}
.sc-rp-cmd{display:flex;align-items:center;gap:8px;padding:11px 14px;border-top:1px solid #EEF0F4;background:#0E1120;color:#fff;font-family:"Fragment Mono",ui-monospace,monospace;font-size:11px}
.sc-rp-cmd span{color:#6FE0C0}
.sc-rp-cmd code{white-space:nowrap;overflow:hidden;max-width:30ch;transition:max-width 1.1s steps(30) 1.6s}
.sc-arm:not(.sc-on) .sc-rp-o1{opacity:1;transform:none}
.sc-arm:not(.sc-on) .sc-rp-o2{opacity:0;transform:translateX(16px)}
.sc-arm:not(.sc-on) .sc-rp-ok{transform:scale(0)}
.sc-arm:not(.sc-on) .sc-rp-cmd code{max-width:0}
.sc-arm .sc-rp-o{transition-delay:.7s}
/* the kit's split feature stacks on phones with flex-basis 0, which collapses the 4:5 art; give it its own height here */
@media (max-width:767px){.sc-psec .m-split > .m-art{flex:none;width:100%}}

/* ============================================================
   reduced motion: final state everywhere
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  .sc-tcar i,.sc-tk.sc-busy .sc-td{animation:none}
}

/* CLIX Code — the audit terminal in the Claude Code idiom (owner, 21.11) */
.sc-v-term .ds-bg{background:#07080F}
.sc-v-term .ds-tint{background:radial-gradient(70% 60% at 50% 0%,rgba(46,91,255,.10),transparent 70%)}
.sc-term.sc-cc{left:16px;top:16px;width:988px;height:618px;border-radius:14px;background:#0B0C16;border:1px solid rgba(255,255,255,.09);box-shadow:0 30px 60px -30px rgba(0,0,0,.9);display:flex;flex-direction:column;overflow:hidden;
  font-family:"Fragment Mono","Discovery",ui-monospace,monospace;color:#E6E8F2}
.sc-cc-bar{display:flex;align-items:center;gap:12px;height:40px;padding:0 16px;background:#11131F;border-bottom:1px solid rgba(255,255,255,.07);flex:none}
.sc-cc-bar b{flex:1;text-align:center;font-size:12px;font-weight:400;color:#8B90A8}
.sc-cc-ro{display:inline-flex;align-items:center;gap:6px;font-family:"Discovery",system-ui,sans-serif;font-size:11px;color:#8B90A8}
.sc-cc-body{flex:1;min-height:0;padding:20px 26px 6px;display:flex;flex-direction:column;gap:9px;font-size:14px;line-height:1.5;overflow:hidden}
.sc-cc .sc-tl{display:flex;align-items:baseline;gap:10px}
.sc-cc .sc-tl.sc-h{opacity:0;transform:translateY(4px)}
.sc-cc code{font-family:"Fragment Mono",ui-monospace,monospace;font-size:13.5px}
.sc-cc-welcome{margin-bottom:8px}
.sc-cc-wbox{width:100%;padding:12px 16px;border:1px solid #5B7BFF;border-radius:10px;display:flex;flex-direction:column;gap:4px}
.sc-cc-wbox p{margin:0}
.sc-cc-hi{display:flex;align-items:center;gap:9px;font-family:"Discovery",system-ui,sans-serif;font-size:15px;color:#fff}
.sc-cc-hi b{font-weight:600}
.sc-cc-mk{color:#7C95FF;display:inline-flex}
.sc-cc-dim{font-size:12.5px;color:#7D8299}
.sc-cc-dim .ltr{color:#A9B6FF}
.sc-cc-user{font-family:"Discovery",system-ui,sans-serif;font-size:16px;color:#C9CDDE;padding:6px 0 4px}
.sc-cc-gt{font-family:"Fragment Mono",ui-monospace,monospace;color:#7D8299}
.sc-cc-dot{font-size:11px;line-height:1;color:#3DDC97;flex:none;transform:translateY(-1px)}
.sc-cc-w{color:#fff}
.sc-cc-tool code{color:#E6E8F2}
.sc-cc-tool code b{font-weight:600;color:#fff}
.sc-cc-run{display:none;font-family:"Discovery",system-ui,sans-serif;font-size:12px;color:#7C95FF}
.sc-cc-tool.sc-busy .sc-cc-dot{color:#F2B34B;animation:dsBlink .6s infinite}
.sc-cc-tool.sc-busy .sc-cc-run{display:inline;animation:dsBlink 1.2s infinite}
.sc-cc-res{padding-inline-start:4px;color:#8B90A8;font-size:13px;margin-top:-5px;font-family:"Discovery",system-ui,sans-serif}
.sc-cc-j{font-family:"Fragment Mono",ui-monospace,monospace;color:#4E5370}
.sc-cc-kv{padding-inline-start:26px;gap:22px;margin-top:-3px;font-family:"Discovery",system-ui,sans-serif;font-size:13px}
.sc-cc-kv span{display:inline-flex;gap:8px;align-items:baseline}
.sc-cc-kv code{color:#6E7390;font-size:12.5px}
.sc-cc-kv b{font-weight:500;color:#9CF0CC}
.sc-cc-ans{margin-top:8px;font-family:"Discovery",system-ui,sans-serif;font-size:15.5px;color:#fff;line-height:1.45}
.sc-cc-ok{margin-inline-start:auto;flex:none;display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:11px;font-style:normal;font-size:11px;color:#9CF0CC;background:rgba(61,220,151,.1);border:1px solid rgba(61,220,151,.3)}
.sc-cc-src{margin-top:auto;padding-inline-start:4px;flex-wrap:wrap;gap:8px;font-family:"Discovery",system-ui,sans-serif;font-size:12px;color:#6E7390}
.sc-cc-src code{font-size:12px;color:#A9B6FF;text-decoration:underline;text-decoration-color:rgba(169,182,255,.35);text-underline-offset:3px}
.sc-cc-src i{font-style:normal;color:#4E5370}
.sc-cc-input{flex-direction:column;align-items:stretch;gap:6px;padding:8px 22px 16px;flex:none}
.sc-cc-ibox{display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#0E1020}
.sc-cc-caret{width:8px;height:17px;background:#E6E8F2;animation:dsBlink 1s step-end infinite;flex:none}
.sc-cc-ph{font-family:"Discovery",system-ui,sans-serif;font-size:13px;color:#5D627B}
.sc-cc-hints{display:flex;justify-content:space-between;padding:0 4px;font-family:"Discovery",system-ui,sans-serif;font-size:11px;color:#5D627B}
.sc-cc-live{color:#3DDC97;font-size:9px}
@media (prefers-reduced-motion:reduce){.sc-cc-caret,.sc-cc-tool.sc-busy .sc-cc-dot,.sc-cc-run{animation:none}}

/* ── hero: five glass cubes (owner 22.11 — instead of the horizon arc) ── */
.sc-vault{--gs:clamp(50px,5vw,70px);list-style:none;position:relative;display:flex;justify-content:center;gap:clamp(20px,3.6vw,56px);
  width:min(880px,calc(100% - 32px));margin:clamp(30px,4.4vw,56px) auto clamp(8px,1.6vw,20px);padding:0}
.sc-vault::before{content:"";position:absolute;top:calc(var(--gs) / 2);left:8%;right:8%;height:1px;z-index:0;
  background:repeating-linear-gradient(90deg,rgba(134,160,255,.6) 0 6px,transparent 6px 12px);-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
.sc-vault li{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:12px;animation:scVault 5.4s ease-in-out calc(var(--i) * -.9s) infinite}
.sc-vault .tk-gi{--s:var(--gs)}
.sc-vault span{font-size:14px;line-height:1.25;color:#B9BFDA;white-space:nowrap}
@keyframes scVault{0%,100%{transform:none}50%{transform:translateY(-7px)}}
@media (prefers-reduced-motion:reduce){.sc-vault li{animation:none}}
html.a11y-still .sc-vault li{animation:none!important}
@media (max-width:640px){
  .sc-vault{--gs:46px;gap:10px;width:calc(100% - 20px)}
  .sc-vault span{font-size:11px;white-space:normal;text-align:center;max-width:68px}
}
/* ── "שאלו את המערכת": four light data-flow diagrams (owner 22.11, Cyberhaven-style reference) — 1020 × 650 panes ── */
.sc-fl{position:absolute;inset:0;overflow:hidden;direction:rtl;font-family:inherit;color:#13204F;
  background:radial-gradient(60% 70% at 80% 10%,#FFFFFF 0,rgba(255,255,255,0) 70%),
    radial-gradient(circle at 1px 1px,rgba(46,91,255,.13) 1.2px,transparent 1.6px) 0 0/26px 26px,linear-gradient(180deg,#F5F8FF,#EAF0FD)}
.sc-fl-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.sc-fl-ln{fill:none;stroke:#C7D6FF;stroke-width:7;stroke-linecap:round}
.sc-fl-run{fill:none;stroke:#2E5BFF;stroke-width:7;stroke-linecap:round;stroke-dasharray:140 860;stroke-dashoffset:1000;filter:drop-shadow(0 0 6px rgba(46,91,255,.55))}
.pane.on .sc-fl-run{animation:scFlRun 2.8s cubic-bezier(.45,.05,.55,.95) infinite}
.pane.on .sc-fl-run:nth-of-type(4){animation-delay:.5s}
.pane.on .sc-fl-run:nth-of-type(6){animation-delay:1s}
@keyframes scFlRun{to{stroke-dashoffset:0}}
.sc-fl-zone{fill:rgba(46,91,255,.035);stroke:#8FAAFF;stroke-width:2;stroke-dasharray:10 9}
.sc-fl-cut{fill:none;stroke:#B9C2D8;stroke-width:4;stroke-dasharray:3 11;stroke-linecap:round}
.sc-fl-zl{position:absolute;right:342px;top:38px;display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:20px;background:#fff;
  font-size:19px;font-weight:560;color:#2E5BFF;box-shadow:0 0 0 1px #D5E0FF}
.sc-fl-ring{position:absolute;display:flex;flex-direction:column;align-items:center;gap:14px;transform:translate(-50%,-62px)}
.sc-fl-rc{display:grid;place-items:center;width:124px;height:124px;border-radius:50%;background:#fff;color:#2E5BFF;
  box-shadow:0 0 0 3px #2E5BFF,0 0 0 12px #fff,0 0 0 14px #8FAAFF,0 0 0 24px #fff,0 0 0 26px #C7D6FF,0 18px 40px -10px rgba(30,50,140,.35)}
.sc-fl-big .sc-fl-rc{width:140px;height:140px}
.sc-fl-ring b{margin-top:22px;font-size:22px;font-weight:600;white-space:nowrap}
.sc-fl-tile{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:128px;padding:16px 14px;border-radius:24px;
  background:linear-gradient(180deg,#DCE6FF,#C9D8FF);color:#13204F;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 14px 30px -16px rgba(30,50,140,.45)}
.sc-fl-ti{display:grid;place-items:center;color:#2E5BFF}
.sc-fl-mk{color:#2E5BFF;display:grid}
.sc-fl-tile b{font-size:22px;font-weight:620;line-height:1.15}
.sc-fl-tile small{font-size:16px;color:#4A5A8A;line-height:1.2}
.sc-fl-off{background:linear-gradient(180deg,#EEF1F7,#E3E8F1);color:#7A849E;box-shadow:inset 0 0 0 2px #D6DCE8}
.sc-fl-off .sc-fl-mk,.sc-fl-mk-off{color:#9AA4BD}
.sc-fl-x{position:absolute;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;color:#E5484D;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #FAD4D5}
.sc-fl-pill{position:absolute;display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:12px;background:#fff;color:#2E5BFF;font-size:16px;font-weight:520;
  white-space:nowrap;box-shadow:0 0 0 1px #D5E0FF,0 8px 18px -12px rgba(30,50,140,.4)}
.sc-fl-pill b{font-weight:700}
.sc-fl-ok{color:#0F7A4D;box-shadow:0 0 0 1px #BDE8D2,0 8px 18px -12px rgba(15,122,77,.4);font-family:inherit;font-size:18px}
.sc-fl-act{background:#2E5BFF;color:#fff;box-shadow:0 10px 22px -10px rgba(46,91,255,.8);font-family:inherit}
.sc-fl-lead{position:absolute;width:0;border-inline-start:2px dotted #8FAAFF}
@media (prefers-reduced-motion:reduce){.sc-fl-run{animation:none;stroke-dashoffset:0;stroke-dasharray:none}}
html.a11y-still .sc-fl-run{animation:none}

.sc-fl-code{font-family:ui-monospace,"SF Mono",Menlo,monospace}

/* ── phones (iPhone pass): the four data-flow diagrams stay whole instead of the kit's right-side crop, so every node of the
   story is in view (CRM, CLIX servers, the other team, the keys…); the node labels and the bottom notes grow in canvas px so
   they still read at the smaller scale. Positions are untouched (05-kit.js reads --k-min). ── */
@media (max-width:767px){
  .sc-ssec .k-os{--k-min:0}
  .sc-fl-ring b{font-size:30px}
  .sc-fl-tile b{font-size:28px}
  .sc-fl-tile small{font-size:20px}
  .sc-fl-zl{font-size:24px}
  .sc-fl-ok{font-size:24px}
  /* the proof pills grow 1.3× toward their free side, never over a node */
  .sc-fl-pill{transform:scale(1.3);transform-origin:100% 50%}
  .sc-fl-ok{transform:none}
  .sc-fl-1 .sc-fl-pill:not(.sc-fl-code){transform:none}
  .sc-fl-1 .sc-fl-code{transform:scale(1.15);transform-origin:0 50%}
  .sc-fl-2 .sc-fl-code,.sc-fl-act{transform-origin:50% 50%}
  .sc-fl-2 .sc-fl-code[style*="left:632px"]{transform:scale(1.2);transform-origin:0 50%}
}
