/* UKBOX Sovereign Operations Console - component layer (step 60, 25 Nov 2026).
 * Loaded LAST, after ops.css and every inline page style. It replaces what the step 51 colour-mapper guessed
 * with explicit component styling. Two rules hold throughout:
 *   1. Every control has a locked contract for rest, :hover, :focus-visible and :active. The ink colour is set
 *      in every state with !important, behind a specificity booster (:not(#c0):not(#c1) adds two id weights
 *      without changing what matches), so no older :hover rule anywhere can change text colour again.
 *   2. Pass marks proven by qa_hover.py: 4.6:1 for every control, 7:1 for the emerald calls to action.
 * Verified copy only - this file adds no claims.
 */
:root{
  --con-bg:#060A08; --con-panel:#0C1410; --con-well:#0F1914; --con-line:rgba(47,191,113,.24); --con-line-soft:rgba(47,191,113,.14);
  --con-green:#2FBF71; --con-green-hi:#4ADE80; --con-teal:#4FD1C5; --con-gold:#F5B840; --con-gold-ink:#FDE68A;
  --con-ink:#EFF4F0; --con-soft:#C9D6CE; --con-mute:#A3B4AA; --con-dark-ink:#04120B;
  --con-grid:rgba(47,191,113,.042);
  --con-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --con-display:"Space Grotesk","Inter",system-ui,sans-serif;
  --con-ret:#2FBF71;
}

/* ============================================================== 1. BUTTON CONTRACTS ========= */

/* ---- 1a. Primary emerald call to action ---------------------------------------------------- */
:is(.btn.on-dark, .btn-primary, .btn-success, a.primary, .nav-cta, .strip-btn-green, .con-primary,
    #ukboxPage .btn:not(.ghost):not(.alt), .lp .btn:not(.ghost):not(.btn-ghost):not(.alt), #ukboxPage .family a, .enx4 .go a.k,
    #btnCompleteProductConfig, #checkout, #btnCompleteOrder, .btn-checkout, #btnDomainContinue, #useOwnDomain,
    #btnTransfer, #btnRegister, .btn-order-now):not(#c0):not(#c1){
  background:linear-gradient(180deg,#34D399 0%,#22C55E 100%)!important;
  background-color:#22C55E!important;
  color:#04120B!important; -webkit-text-fill-color:#04120B!important;
  border:1px solid #16A34A!important;
  font-weight:700!important; text-shadow:none!important; filter:none!important; opacity:1!important;
  box-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 6px 18px rgba(34,197,94,.20)!important;
}
:is(.btn.on-dark, .btn-primary, .btn-success, a.primary, .nav-cta, .strip-btn-green, .con-primary,
    #ukboxPage .btn:not(.ghost):not(.alt), .lp .btn:not(.ghost):not(.btn-ghost):not(.alt), #ukboxPage .family a, .enx4 .go a.k,
    #btnCompleteProductConfig, #checkout, #btnCompleteOrder, .btn-checkout, #btnDomainContinue, #useOwnDomain,
    #btnTransfer, #btnRegister, .btn-order-now):not(#c0):not(#c1)
  :is(span, b, strong, i, em, small, svg, .uk3-ar):not(.badge):not([class*="badge"]){
  color:#04120B!important; -webkit-text-fill-color:#04120B!important; fill:currentColor; stroke:currentColor;
}
:is(.btn.on-dark, .btn-primary, .btn-success, a.primary, .nav-cta, .strip-btn-green, .con-primary,
    #ukboxPage .btn:not(.ghost):not(.alt), .lp .btn:not(.ghost):not(.btn-ghost):not(.alt), #ukboxPage .family a, .enx4 .go a.k,
    #btnCompleteProductConfig, #checkout, #btnCompleteOrder, .btn-checkout, #btnDomainContinue, #useOwnDomain,
    #btnTransfer, #btnRegister, .btn-order-now):not(#c0):not(#c1):is(:hover, :focus-visible, :active){
  background:linear-gradient(180deg,#4ADE80 0%,#2FBF71 100%)!important;
  background-color:#2FBF71!important;
  color:#04120B!important; -webkit-text-fill-color:#04120B!important;
  border-color:#4ADE80!important;
  box-shadow:0 1px 0 rgba(255,255,255,.32) inset,0 0 18px rgba(47,191,113,.38)!important;
  filter:none!important; opacity:1!important;
}
:is(.btn.on-dark, .btn-primary, .btn-success, a.primary, .nav-cta, .strip-btn-green, .con-primary,
    #ukboxPage .btn:not(.ghost):not(.alt), .lp .btn:not(.ghost):not(.btn-ghost):not(.alt), #ukboxPage .family a, .enx4 .go a.k,
    #btnCompleteProductConfig, #checkout, #btnCompleteOrder, .btn-checkout, #btnDomainContinue, #useOwnDomain):not(#c0):not(#c1):focus-visible{
  outline:2px solid #4ADE80!important; outline-offset:3px!important;
}

/* ---- 1b. Secondary / armoured ghost button ------------------------------------------------- */
:is(.btn.ghost, .btn-default, .btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary, .btn-outline-success,
    .btn-outline-light, .btn-outline-dark, .con-ghost, #header .hdr-util, .util, a.login, .ps-btn, .msc-btn,
    #ukboxPage .plan:not(.feat) .btn:not(.ghost), .lp .lp-plan:not(.featured) .btn,
    #ukboxPage .faq-more .btn, #ukboxPage .btn.alt, .lp .btn.ghost, .lp .btn-ghost, .strip-btn:not(.strip-btn-green):not(.strip-btn-gold)):not(#c0):not(#c1){
  background:#0F1914!important; background-image:none!important;
  color:#EFF4F0!important; -webkit-text-fill-color:#EFF4F0!important;
  border:1px solid rgba(47,191,113,.34)!important;
  text-shadow:none!important; filter:none!important; opacity:1!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
:is(.btn.ghost, .btn-default, .btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary, .btn-outline-success,
    .btn-outline-light, .btn-outline-dark, .con-ghost, #header .hdr-util, .util, a.login, .ps-btn, .msc-btn,
    #ukboxPage .plan:not(.feat) .btn:not(.ghost), .lp .lp-plan:not(.featured) .btn,
    #ukboxPage .faq-more .btn, #ukboxPage .btn.alt, .lp .btn.ghost, .lp .btn-ghost, .strip-btn:not(.strip-btn-green):not(.strip-btn-gold)):not(#c0):not(#c1)
  :is(span, b, strong, i, em, small, svg, .uk3-ar):not(.badge):not([class*="badge"]){
  color:inherit!important; -webkit-text-fill-color:currentColor!important;
}
:is(.btn.ghost, .btn-default, .btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary, .btn-outline-success,
    .btn-outline-light, .btn-outline-dark, .con-ghost, #header .hdr-util, .util, a.login, .ps-btn, .msc-btn,
    #ukboxPage .plan:not(.feat) .btn:not(.ghost), .lp .lp-plan:not(.featured) .btn,
    #ukboxPage .faq-more .btn, #ukboxPage .btn.alt, .lp .btn.ghost, .lp .btn-ghost, .strip-btn:not(.strip-btn-green):not(.strip-btn-gold)):not(#c0):not(#c1):is(:hover, :focus-visible, :active){
  background:#16281F!important; background-image:none!important;
  color:#FFFFFF!important; -webkit-text-fill-color:#FFFFFF!important;
  border-color:#2FBF71!important;
  box-shadow:0 0 0 1px rgba(47,191,113,.18),0 8px 20px rgba(0,0,0,.35)!important;
  filter:none!important; opacity:1!important;
}
:is(.btn.ghost, .btn-default, .btn-secondary, .con-ghost, #header .hdr-util, .util, a.login,
    #ukboxPage .plan:not(.feat) .btn:not(.ghost), .lp .lp-plan:not(.featured) .btn):not(#c0):not(#c1):focus-visible{
  outline:2px solid #2FBF71!important; outline-offset:3px!important;
}

/* ---- 1c. Gold offer controls (the 2-months-free pill and footer strip) --------------------- */
:is(.offer-pill, .strip-btn-gold, .con-gold):not(#c0):not(#c1){
  background:#F5B840!important; background-image:none!important;
  color:#1A1203!important; -webkit-text-fill-color:#1A1203!important;
  border:1px solid #E0A12A!important; text-shadow:none!important; filter:none!important; opacity:1!important;
}
:is(.offer-pill, .strip-btn-gold, .con-gold):not(#c0):not(#c1) :is(span, b, strong, i, em, small, svg, .uk3-ar){
  color:#1A1203!important; -webkit-text-fill-color:#1A1203!important;
}
:is(.offer-pill, .strip-btn-gold, .con-gold):not(#c0):not(#c1):is(:hover, :focus-visible, :active){
  background:#FFC95A!important; color:#1A1203!important; -webkit-text-fill-color:#1A1203!important;
  border-color:#FDE68A!important; box-shadow:0 0 18px rgba(245,184,64,.40)!important;
}
:is(.offer-pill, .strip-btn-gold, .con-gold):not(#c0):not(#c1):focus-visible{ outline:2px solid #FDE68A!important; outline-offset:3px!important; }

/* ---- 1d. Shape: every button is a crisp 10px command key --------------------------------- */
:is(.btn, .offer-pill, .strip-btn, a.primary, .nav-cta, #header .hdr-util, a.login):not(.input-group .btn):not(.btn-group > .btn):not(#c0):not(#c1){ border-radius:10px!important; }
.offer-pill:not(#c0){ animation:none!important; }
/* labels always fit their key: plan-card keys get tighter sides and may wrap; long keys wrap on phones */
:is(#ukboxPage .plan, .lp-plan) .btn:not(#c0):not(#c1){
  padding-left:14px!important; padding-right:14px!important; white-space:normal!important; text-align:center!important; line-height:1.25!important;
}
@media (max-width:560px){
  :is(#ukboxPage section .btn, .lp section .btn):not(#c0):not(#c1){
    white-space:normal!important; padding-left:18px!important; padding-right:18px!important; text-align:center!important; line-height:1.25!important; max-width:100%;
  }
}

/* ---- 1e. Text links, nav links and tabs keep their ink when hovered ----------------------- */
:is(#header, .ops-nav, nav, .navbar, #ukboxPage .nav, .lp-nav) a:not(.btn):not(.primary):not(.nav-cta):not(.login):not(.hdr-util):not(.util):not(.dropdown-item):not(#c0):not(#c1):is(:hover, :focus-visible, :active){
  color:#FFFFFF!important; -webkit-text-fill-color:#FFFFFF!important; background-color:transparent!important;
}
.dropdown-menu .dropdown-item:not(#c0):not(#c1){ color:#E8EFEA!important; background:transparent!important; }
.dropdown-menu .dropdown-item:not(#c0):not(#c1):is(:hover, :focus-visible, :active, .active){
  color:#FFFFFF!important; -webkit-text-fill-color:#FFFFFF!important; background:#16281F!important;
}

/* ============================================================== 2. CONSOLE CANVAS ========== */

/* ---- 2a. 44px coordinate grid on the #060A08 base ----------------------------------------- */
html{background-color:#060A08}
body.ops-console:not(#c0){
  background-color:#060A08!important;
  background-image:linear-gradient(rgba(47,191,113,.042) 1px,transparent 1px),linear-gradient(90deg,rgba(47,191,113,.042) 1px,transparent 1px)!important;
  background-size:44px 44px,44px 44px!important; background-position:center top,center top!important; background-repeat:repeat!important;
}
/* ---- 2b. Emerald and teal ambient light behind the heroes and the pricing ----------------- */
:is(#ukboxPage header.hero, #lpRoot #lpHero):not(#c0){
  background-color:transparent!important;
  background-image:
    radial-gradient(900px 520px at 80% -4%,rgba(47,191,113,.17),transparent 62%),
    radial-gradient(760px 460px at 4% 104%,rgba(79,209,197,.09),transparent 60%),
    linear-gradient(180deg,rgba(6,10,8,0) 70%,rgba(6,10,8,.55) 100%)!important;
}
:is(#ukboxPage section#plans, #lpRoot section#plans):not(#c0){
  background-image:
    radial-gradient(1000px 560px at 50% 10%,rgba(47,191,113,.10),transparent 64%),
    radial-gradient(640px 420px at 96% 72%,rgba(79,209,197,.06),transparent 62%)!important;
}
.enx2-hero:not(#c0){
  background-color:#0A100D!important;
  background-image:
    radial-gradient(800px 480px at 86% -6%,rgba(47,191,113,.16),transparent 62%),
    radial-gradient(620px 400px at 0% 104%,rgba(79,209,197,.09),transparent 60%),
    linear-gradient(rgba(47,191,113,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(47,191,113,.05) 1px,transparent 1px)!important;
  background-size:auto,auto,44px 44px,44px 44px!important;
  border:1px solid rgba(47,191,113,.24)!important;
}
/* the olive "honest pricing" band and the solid bands become console panels over the grid */
#ukboxPage section.honest:not(#c0){
  background-color:transparent!important;
  background-image:linear-gradient(180deg,rgba(12,20,16,.92),rgba(8,14,11,.9))!important;
  border-top:1px solid rgba(47,191,113,.16)!important; border-bottom:1px solid rgba(47,191,113,.16)!important;
}
#ukboxPage section.infra:not(#c0){
  background-color:transparent!important;
  background-image:radial-gradient(900px 560px at 88% 30%,rgba(79,209,197,.07),transparent 62%),linear-gradient(180deg,rgba(12,20,16,.82),rgba(12,20,16,.82))!important;
  border-top:1px solid rgba(47,191,113,.14)!important; border-bottom:1px solid rgba(47,191,113,.14)!important;
}
#lpRoot .lp-sec.dark:not(#c0){
  background-image:radial-gradient(900px 520px at 85% 0%,rgba(47,191,113,.12),transparent 62%),linear-gradient(160deg,rgba(13,20,17,.88) 0%,rgba(18,48,36,.80) 100%)!important;
  border-top:1px solid rgba(47,191,113,.16)!important; border-bottom:1px solid rgba(47,191,113,.16)!important;
}

/* ---- 2c. Reticle command cards ------------------------------------------------------------ */
:is(.lp-plan, #ukboxPage .plan, .lp-hero .lp-panel, #ukboxPage .receipt, #ukboxPage .billcard, .enx2-card, #lpRoot .rg-card):not(#c0):not(#c1){
  background-color:#0C1410!important; background-image:none!important;
  border:1px solid rgba(47,191,113,.24)!important; border-radius:10px!important;
}
:is(#ukboxPage .tablewrap, .lp-tablewrap .lp-table, table.lp-cmp):not(#c0):not(#c1){
  background-color:#0C1410!important; border:1px solid rgba(47,191,113,.24)!important; border-radius:10px!important;
}
:is(.lp-plan.featured, #ukboxPage .plan.feat, .enx2-card.on):not(#c0):not(#c1){
  border-color:rgba(47,191,113,.62)!important;
  box-shadow:0 0 0 1px rgba(47,191,113,.22),0 22px 54px -24px rgba(47,191,113,.55),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.con-card:not(#c0){ position:relative; }
#ukboxPage .tablewrap.con-card, .lp-tablewrap.con-card{ position:relative; }
.con-ret{
  position:absolute; inset:-1px; border-radius:10px; pointer-events:none; z-index:3;
  border:2px solid #2FBF71; box-shadow:0 0 10px rgba(47,191,113,.35);
  -webkit-mask:linear-gradient(#000 0 0) left top/12px 12px no-repeat,linear-gradient(#000 0 0) right top/12px 12px no-repeat,
               linear-gradient(#000 0 0) left bottom/12px 12px no-repeat,linear-gradient(#000 0 0) right bottom/12px 12px no-repeat;
          mask:linear-gradient(#000 0 0) left top/12px 12px no-repeat,linear-gradient(#000 0 0) right top/12px 12px no-repeat,
               linear-gradient(#000 0 0) left bottom/12px 12px no-repeat,linear-gradient(#000 0 0) right bottom/12px 12px no-repeat;
}
/* tables cannot hold the reticle element, so they carry it themselves */
table.lp-cmp:not(#c0){ position:relative; }
table.lp-cmp:not(#c0)::before{
  content:""; position:absolute; inset:-1px; border-radius:10px; pointer-events:none; z-index:3; border:2px solid #2FBF71;
  -webkit-mask:linear-gradient(#000 0 0) left top/12px 12px no-repeat,linear-gradient(#000 0 0) right top/12px 12px no-repeat,
               linear-gradient(#000 0 0) left bottom/12px 12px no-repeat,linear-gradient(#000 0 0) right bottom/12px 12px no-repeat;
          mask:linear-gradient(#000 0 0) left top/12px 12px no-repeat,linear-gradient(#000 0 0) right top/12px 12px no-repeat,
               linear-gradient(#000 0 0) left bottom/12px 12px no-repeat,linear-gradient(#000 0 0) right bottom/12px 12px no-repeat;
}
@media (max-width:760px){ :is(#ukboxPage .tablewrap, .lp-tablewrap) > .con-ret{ display:none; } }

/* ruler ticks along the top of the hero frames: 00 · 08 · 16 · 24 ... */
.con-ruler{
  position:absolute; left:14px; right:14px; top:-19px; height:14px; pointer-events:none; z-index:2;
  background:
    repeating-linear-gradient(90deg,rgba(79,209,197,.75) 0 1px,transparent 1px 48px) left bottom/100% 7px no-repeat,
    repeating-linear-gradient(90deg,rgba(79,209,197,.38) 0 1px,transparent 1px 12px) left bottom/100% 4px no-repeat;
}
.con-ruler::before{
  content:"00        08        16        24        32        40        48        56        64        72";
  position:absolute; left:2px; top:-2px; font:600 8px/1 "IBM Plex Mono",ui-monospace,monospace; letter-spacing:0; color:rgba(79,209,197,.85);
  white-space:pre; overflow:hidden; max-width:100%;
}
.lp-hero .lp-panel:not(#c0), #ukboxPage .receipt:not(#c0){ margin-top:22px; }

/* ---- 2d. Recessed price wells: Space Grotesk figures, IBM Plex Mono units ------------------ */
:is(.lp-plan .lp-price, #ukboxPage .plan .price):not(#c0):not(#c1){
  display:block!important; background:#0F1914!important; border:1px solid rgba(47,191,113,.16)!important; border-radius:8px!important;
  box-shadow:inset 0 2px 10px rgba(0,0,0,.55),inset 0 0 0 1px rgba(0,0,0,.28)!important;
  padding:12px 14px 11px!important; margin:14px 0 8px!important;
  font-family:"Space Grotesk","Inter",system-ui,sans-serif!important; font-variant-numeric:tabular-nums lining-nums!important;
}
:is(.lp-plan .lp-price small, #ukboxPage .plan .price .per):not(#c0):not(#c1){
  font-family:"IBM Plex Mono",ui-monospace,monospace!important; font-weight:600!important; font-size:11px!important;
  letter-spacing:.04em!important; color:#A3B4AA!important; -webkit-text-fill-color:#A3B4AA!important;
}
:is(.lp-plan .mo, #ukboxPage .plan .bill):not(#c0){ font-variant-numeric:tabular-nums!important; color:#B5C4BB!important; }

/* ---- 2e. Eyebrows: a glowing gold bullet and a tracked mono label ------------------------- */
:is(body.ops-console .eyebrow, body.ops-console .lp-eyebrow):not(#c0){
  font-family:"IBM Plex Mono",ui-monospace,monospace!important; font-weight:600!important; font-size:11.5px!important;
  letter-spacing:.16em!important; text-transform:uppercase!important; color:#8FE0B0!important; -webkit-text-fill-color:#8FE0B0!important;
}
:is(body.ops-console .eyebrow, body.ops-console .lp-eyebrow):not(#c0)::before{
  background:#F5B840!important; width:7px!important; height:7px!important; border-radius:50%!important;
  box-shadow:0 0 0 3px rgba(245,184,64,.14),0 0 9px 2px rgba(245,184,64,.55)!important;
  animation:con-glow 2.6s ease-in-out infinite!important;
}
@keyframes con-glow{0%,100%{box-shadow:0 0 0 3px rgba(245,184,64,.12),0 0 7px 1px rgba(245,184,64,.42)}50%{box-shadow:0 0 0 4px rgba(245,184,64,.22),0 0 14px 3px rgba(245,184,64,.72)}}

/* ---- 2f. Tactical plan badges (the olive ones are gone) ----------------------------------- */
:is(.lp-offer, #ukboxPage li.hot b, #ukboxPage .cycle .save):not(#c0):not(#c1){
  background:#13221A!important; background-image:none!important; border:1px solid rgba(245,184,64,.45)!important;
  color:#FDE68A!important; -webkit-text-fill-color:#FDE68A!important; border-radius:6px!important;
  font-family:"IBM Plex Mono",ui-monospace,monospace!important; font-weight:600!important; font-size:11px!important;
  letter-spacing:.06em!important; text-transform:uppercase!important; box-shadow:none!important;
}
:is(.lp-offer, #ukboxPage li.hot b):not(#c0):not(#c1){ display:inline-block!important; padding:5px 9px!important; line-height:1.3!important; }
:is(.lp-flag, #ukboxPage .plan .badge):not(#c0):not(#c1){
  background:#2FBF71!important; color:#04120B!important; -webkit-text-fill-color:#04120B!important; border-radius:6px!important;
  font-family:"IBM Plex Mono",ui-monospace,monospace!important; font-weight:600!important; font-size:10.5px!important;
  letter-spacing:.1em!important; text-transform:uppercase!important; box-shadow:0 0 14px rgba(47,191,113,.45)!important;
}

/* ---- 2g. Companies House strip: four mono columns, no orphan ------------------------------ */
:is(.ukbox-trustbar, #ukboxPage .ukbox-tbar):not(#c0):not(#c1){
  background:#0C1410!important; border:1px solid rgba(47,191,113,.24)!important; border-radius:10px!important;
}
:is(.ukbox-trustbar .tb-item, #ukboxPage .ukbox-tbar .ti):not(#c0){ font-family:"IBM Plex Mono",ui-monospace,monospace!important; font-weight:600!important; }
:is(.ukbox-trustbar .tb-item span, #ukboxPage .ukbox-tbar .ti span):not(#c0){ font-size:12px!important; line-height:1.55!important; color:#C9D6CE!important; letter-spacing:.01em!important; }
:is(.ukbox-trustbar .tb-item b, #ukboxPage .ukbox-tbar .ti b):not(#c0){ font-size:10.5px!important; letter-spacing:.12em!important; text-transform:uppercase!important; color:#8FE0B0!important; }
:is(.ukbox-trustbar .tb-item svg, #ukboxPage .ukbox-tbar .ti svg):not(#c0){ stroke:#F5B840!important; }
@media (min-width:980px){
  .ukbox-trustbar:not(#c0):not(#c1){ display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:0!important; padding:0!important; }
  #ukboxPage .ukbox-tbar:not(#c0):not(#c1){ display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:0!important; padding:0!important; }
  :is(.ukbox-trustbar .tb-sep, #ukboxPage .ukbox-tbar .tsep):not(#c0){ display:none!important; }
  :is(.ukbox-trustbar .tb-item, #ukboxPage .ukbox-tbar .ti):not(#c0){ padding:18px 20px!important; border-left:1px solid rgba(47,191,113,.14)!important; margin:0!important; justify-content:flex-start!important; }
  :is(.ukbox-trustbar .tb-item, #ukboxPage .ukbox-tbar .ti):not(#c0):first-child{ border-left:0!important; }
}
@media (max-width:979px){
  .ukbox-trustbar:not(#c0):not(#c1){ display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:14px 18px!important; padding:18px!important; }
  .ukbox-trustbar .tb-sep:not(#c0){ display:none!important; }
}
@media (max-width:430px){ .ukbox-trustbar:not(#c0):not(#c1){ grid-template-columns:1fr!important; } }

/* ---- 2h. Feature tiles and the rest of the cards: console panels (no reticles) ------------ */
:is(#ukboxPage .feat-tile, #ukboxPage .why-card, #ukboxPage .gd-card, #ukboxPage .scard, #ukboxPage .step, #lpRoot .ps-card, #lpRoot .lp-step):not(#c0){
  background-color:#0C1410!important; border:1px solid rgba(47,191,113,.16)!important; border-radius:10px!important;
}

/* ============================================================== 3. STATUS RAIL ============== */
.con-rail{ position:relative; z-index:60; background:#040705; border-bottom:1px solid rgba(47,191,113,.20);
  font:600 10.5px/1 "IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; text-transform:uppercase; color:#A3B4AA; }
.con-rail-in{ box-sizing:border-box; max-width:1200px; height:28px; margin:0 auto; padding:0 18px; display:flex; align-items:center; justify-content:center; white-space:nowrap; overflow:hidden; }
/* the phone menu key sits a fixed distance from the top of the page: move it down by the rail's height (28px + 1px line) */
body:has(.con-rail):not(:has(#ukboxPage)) #ukbox-mnav-btn:not(#c0){ top:48px!important; }
.con-rail-in > * + *::before{ content:"\00b7"; margin:0 11px; color:rgba(143,224,176,.55); }
.con-rail a.con-rail-live:not(#c0){ color:#8FE0B0!important; text-decoration:none!important; display:inline-flex; align-items:center; border-radius:4px; }
.con-rail a.con-rail-live:not(#c0):is(:hover,:focus-visible,:active){ color:#FFFFFF!important; -webkit-text-fill-color:#FFFFFF!important; text-decoration:underline!important; text-underline-offset:3px; }
.con-rail a.con-rail-live:not(#c0):focus-visible{ outline:2px solid #2FBF71; outline-offset:3px; }
.con-rail-dot{ display:inline-block; width:7px; height:7px; margin-right:9px; border-radius:50%; background:#2FBF71; box-shadow:0 0 0 3px rgba(47,191,113,.16),0 0 9px rgba(47,191,113,.9); animation:con-pulse 2.2s ease-in-out infinite; }
@keyframes con-pulse{0%,100%{opacity:1}50%{opacity:.45}}
.con-rail-stack{ color:#C9D6CE; }
.con-rail-desk{ color:#FDE68A; }
@media (max-width:860px){ .con-rail-city{ display:none; } }
@media (max-width:560px){ .con-rail-stack{ display:none; } .con-rail-in{ justify-content:space-between; } .con-rail-in > * + *::before{ display:none; } .con-rail{ font-size:9.5px; letter-spacing:.11em; } }

/* ============================================================== 5. SCHEMATICS ============== */
:is(.ops-art-fig, .con-hud):not(#c0):not(#c1){
  position:relative; background:#0A110D!important; background-image:radial-gradient(520px 260px at 50% 40%,rgba(47,191,113,.07),transparent 70%)!important;
  border:1px solid rgba(47,191,113,.24)!important; border-radius:10px!important; padding:14px 14px 12px!important; margin:0!important; box-shadow:0 26px 60px -34px rgba(0,0,0,.9)!important;
}
.con-hud:not(#c0){ margin:34px 0 6px!important; }
:is(.ops-art-fig, .con-hud):not(#c0) figcaption{
  font:600 10.5px/1.5 "IBM Plex Mono",ui-monospace,monospace!important; letter-spacing:.1em!important; text-transform:uppercase!important;
  color:#A3B4AA!important; margin:10px 2px 0!important; text-align:left!important;
}
.con-svg{ display:block; width:100%; height:auto; overflow:visible; }
.con-svg .c-grid{ stroke:rgba(47,191,113,.075); stroke-width:1; fill:none; }
.con-svg .c-mono{ font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace; font-weight:600; }
.con-svg .c-hud{ font-size:9.5px; letter-spacing:.14em; }
.con-svg .c-cap{ font-size:10.5px; letter-spacing:.12em; }
.con-svg .c-tag{ font-size:9.5px; letter-spacing:.1em; }
.con-svg .c-pk{ font-size:7.5px; letter-spacing:.06em; fill:#04120B; }
.con-svg .c-slotl{ font-size:10px; letter-spacing:.1em; }
.con-svg .c-rl{ font-size:8px; letter-spacing:.04em; fill:rgba(79,209,197,.85); }
.con-svg .c-ink{ fill:#EFF4F0; } .con-svg .c-soft{ fill:#C9D6CE; } .con-svg .c-mute{ fill:#A3B4AA; }
.con-svg .c-green{ fill:#8FE0B0; } .con-svg .c-teal{ fill:#4FD1C5; } .con-svg .c-gold{ fill:#F5B840; } .con-svg .c-red{ fill:#FF8A7A; }
.con-svg .c-ret{ fill:none; stroke:rgba(163,180,170,.55); stroke-width:1.6; }
.con-svg .c-ret.g{ stroke:#2FBF71; }
.con-svg .c-box{ fill:#0C1410; stroke:rgba(47,191,113,.26); stroke-width:1.2; }
.con-svg .c-rack.hot .c-box, .con-svg .c-box.hot{ fill:#0E1A14; stroke:rgba(47,191,113,.62); }
.con-svg .c-slot{ fill:#0F1914; stroke:rgba(255,255,255,.08); }
.con-svg .c-vent{ stroke:rgba(163,180,170,.45); stroke-width:1.2; }
.con-svg .c-tick, .con-svg .c-gold-tick{ fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.con-svg .c-tick{ stroke:#2FBF71; } .con-svg .c-gold-tick{ stroke:#F5B840; stroke-width:2.6; }
.con-svg .c-led{ fill:#2FBF71; } .con-svg .c-rack:not(.hot) .c-led{ fill:#A3B4AA; }
.con-svg .c-chip{ fill:#13221A; stroke:rgba(79,209,197,.38); } .con-svg .c-chip.g{ fill:#10251A; stroke:rgba(47,191,113,.55); }
.con-svg .c-pipe{ fill:#0A1410; stroke:rgba(79,209,197,.34); }
.con-svg .c-track{ fill:none; stroke:rgba(79,209,197,.55); stroke-width:1.4; stroke-dasharray:4 8; }
.con-svg .c-pkt rect{ fill:#4FD1C5; }
.con-svg .c-disc{ fill:#0A1612; stroke:rgba(79,209,197,.55); stroke-width:1.2; }
.con-svg .c-ring{ fill:none; stroke:rgba(79,209,197,.28); }
.con-svg .c-cross{ stroke:rgba(79,209,197,.22); }
.con-svg .c-bez{ stroke:rgba(79,209,197,.6); stroke-width:1.2; }
.con-svg .c-beam{ stroke:#4FD1C5; stroke-width:1.6; }
.con-svg .c-blip{ fill:#4FD1C5; }
.con-svg .c-gate{ fill:#0C1410; stroke:#F5B840; stroke-width:1.6; }
.con-svg .c-vis-line{ stroke:rgba(201,214,206,.35); stroke-dasharray:2 4; }
.con-svg .c-rule{ stroke:rgba(79,209,197,.45); fill:none; }
.con-svg .c-pad{ fill:rgba(47,191,113,.07); stroke:rgba(47,191,113,.28); stroke-dasharray:3 4; }
.con-svg .c-face-t{ fill:#1B3127; stroke:rgba(143,224,176,.55); stroke-width:1; }
.con-svg .c-face-l{ fill:#0E1A14; stroke:rgba(47,191,113,.45); stroke-width:1; }
.con-svg .c-face-r{ fill:#0A130F; stroke:rgba(47,191,113,.32); stroke-width:1; }
.con-svg .c-bay{ stroke:rgba(143,224,176,.35); } .con-svg .c-bay.r{ stroke:rgba(143,224,176,.18); }
.con-svg .c-link{ fill:none; stroke:rgba(47,191,113,.28); stroke-width:1.4; stroke-dasharray:3 5; }
.con-svg .c-flow{ fill:none; stroke:#4FD1C5; stroke-width:2; stroke-linecap:round; stroke-dasharray:10 190; }
.con-svg .c-hex{ fill:none; stroke-width:1.4; }
.con-svg .c-hex.outer{ fill:rgba(12,20,16,.9); stroke:rgba(143,224,176,.5); stroke-width:1.8; }
.con-svg .c-hex.l3{ stroke:rgba(47,191,113,.55); fill:rgba(47,191,113,.04); }
.con-svg .c-hex.l2{ stroke:rgba(47,191,113,.7); fill:rgba(47,191,113,.05); }
.con-svg .c-hex.l1{ stroke:#2FBF71; fill:rgba(47,191,113,.08); }
.con-svg .c-scan{ fill:none; stroke:#4FD1C5; stroke-width:2.2; stroke-dasharray:60 800; stroke-linecap:round; }
.con-svg .c-env{ fill:#15201B; stroke:#8FE0B0; stroke-width:1.6; } .con-svg .c-env-f{ fill:none; stroke:#8FE0B0; stroke-width:1.6; }
.con-svg .c-threat{ stroke:rgba(255,138,122,.75); stroke-width:1.6; stroke-dasharray:4 4; fill:none; }
.con-svg .c-x{ stroke:#FF8A7A; stroke-width:2; stroke-linecap:round; }
.con-svg .c-coin{ fill:#2A2310; stroke:#F5B840; } .con-svg .c-pound{ font-size:10px; fill:#F5B840; }
.con-svg .c-tank{ fill:#0A1410; stroke:rgba(163,180,170,.4); } .con-svg .c-tank.big{ stroke:rgba(47,191,113,.55); }
.con-svg .c-gauge{ stroke:rgba(163,180,170,.5); }
.con-svg .c-lvl{ fill:rgba(47,191,113,.55); } .con-svg .c-lvl.bad{ fill:rgba(255,138,122,.75); }
.con-svg .c-warn{ stroke:#FF8A7A; stroke-width:2; }
.con-svg .c-mbox{ fill:#0F1914; stroke:rgba(163,180,170,.5); } .con-svg .c-mflap{ fill:none; stroke:#A3B4AA; stroke-width:1.3; }
.con-svg .c-feed{ stroke:#4FD1C5; stroke-width:2; stroke-dasharray:5 7; fill:none; }

/* motion: packets in flight, the radar sweeping, LEDs alive - all off for reduced motion */
.con-svg .c-pkt{ opacity:0; animation:con-pkt 4.5s cubic-bezier(.45,.05,.55,.95) infinite; }
.con-svg .c-pkt.p2{ animation-delay:1.5s; } .con-svg .c-pkt.p3{ animation-delay:3s; }
@keyframes con-pkt{ 0%{transform:translateX(0);opacity:0} 8%{opacity:1} 88%{opacity:1} 100%{transform:translateX(var(--run,200px));opacity:0} }
.con-svg .c-sweep{ animation:con-spin 3.4s linear infinite; }
@keyframes con-spin{ to{ transform:rotate(360deg); } }
.con-svg .c-track, .con-svg .c-feed{ animation:con-dash 1.1s linear infinite; }
@keyframes con-dash{ to{ stroke-dashoffset:-24; } }
.con-svg .c-flow{ animation:con-flow 3.2s linear infinite; } .con-svg .c-flow.f1{ animation-delay:1.05s; } .con-svg .c-flow.f2{ animation-delay:2.1s; }
@keyframes con-flow{ from{ stroke-dashoffset:200; } to{ stroke-dashoffset:0; } }
.con-svg .c-scan{ animation:con-dash2 6s linear infinite; }
@keyframes con-dash2{ to{ stroke-dashoffset:-860; } }
.con-svg .c-led{ animation:con-led 2.4s steps(1) infinite; } .con-svg .c-led.l1{ animation-delay:.6s; } .con-svg .c-led.l2{ animation-delay:1.2s; } .con-svg .c-led.l3{ animation-delay:1.8s; }
@keyframes con-led{ 0%,70%{ opacity:1; } 71%,100%{ opacity:.35; } }
.con-svg .c-blip{ animation:con-blip 3.4s ease-out infinite; }
@keyframes con-blip{ 0%,30%{ opacity:0; } 34%{ opacity:1; } 100%{ opacity:0; } }
.con-svg .c-wave{ animation:con-wave 4s ease-in-out infinite alternate; }
@keyframes con-wave{ to{ transform:translateY(-6px); } }
.con-hud .con-svg .c-pkt{ animation-duration:6s; } .con-hud .con-svg .c-pkt.p2{ animation-delay:2s; } .con-hud .con-svg .c-pkt.p3{ animation-delay:4s; }
@media (prefers-reduced-motion:reduce){
  .con-svg *{ animation:none!important; }
  .con-svg .c-pkt{ opacity:0!important; }
  .con-svg .c-sweep{ transform:rotate(38deg); }
  .con-svg .c-flow{ stroke-dasharray:none; stroke-opacity:.55; }
  .con-svg .c-blip{ opacity:1; }
}
/* the home page migration HUD replaces the old box diagram; the step cards stay */
#ukboxPage #switch .con-hud + .steps{ margin-top:22px!important; }
@media (max-width:760px){ .con-hud .c-hud{ display:none; } }

/* ============================================================== 4. MOTION =================== */
@media (prefers-reduced-motion:reduce){
  :is(body.ops-console .eyebrow, body.ops-console .lp-eyebrow)::before, .con-rail-dot{ animation:none!important; }
}
