:root{
  --bg:#060806;
  --bg2:#0b0e0a;
  --panel:#11160f;
  --panel2:#171d12;
  --panel3:#211407;
  --text:#fff6dc;
  --muted:#cbbd91;
  --dim:#8f835f;
  --orange:#ff9f1c;
  --orange2:#ff6b00;
  --green:#d7ff69;
  --cyan:#66ffe1;
  --line:#533714;
  --shadow:0 22px 80px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,159,28,.22), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(215,255,105,.10), transparent 28%),
    linear-gradient(180deg,#080a07 0%,#050605 100%);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.55;
}
a{color:var(--orange);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1220px;margin:0 auto;padding:0 22px}
.rf-grid-glow{
  position:fixed;inset:0;pointer-events:none;opacity:.12;
  background-image:
    linear-gradient(rgba(255,159,28,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,159,28,.25) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom, #000 0%, transparent 70%);
}
.rf-scanlines{
  position:fixed;inset:0;pointer-events:none;opacity:.08;
  background:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:100% 4px;
}
.topbar{
  position:sticky;top:0;z-index:10;
  background:rgba(6,8,6,.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,159,28,.28);
}
.nav{
  min-height:82px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.brand{display:flex;align-items:center;gap:13px;color:var(--text)}
.brand:hover{text-decoration:none}
.brand-chip{
  width:54px;height:54px;border-radius:16px;
  display:grid;place-items:center;
  color:#160900;font-weight:950;font-size:22px;
  background:linear-gradient(145deg,var(--orange),#a84d00);
  box-shadow:0 0 24px rgba(255,159,28,.55), inset 0 1px 0 rgba(255,255,255,.35);
}
.brand-text b{display:block;font-size:21px;letter-spacing:.3px}
.brand-text small{display:block;color:var(--muted);font-size:12px;margin-top:1px}
.mainnav{display:flex;align-items:center;justify-content:flex-end;gap:13px;flex-wrap:wrap}
.mainnav a{color:var(--text);font-weight:800;font-size:14px;opacity:.92}
.mainnav a:hover{color:var(--orange);text-decoration:none}
.admin-link{border:1px solid rgba(255,159,28,.45);border-radius:999px;padding:7px 11px}
.pill{display:inline-block;background:var(--green);color:#172000;border-radius:999px;padding:1px 7px;font-size:11px;margin-left:4px}
.notice-strip{
  background:linear-gradient(90deg,rgba(255,159,28,.15),rgba(215,255,105,.08));
  border-bottom:1px solid rgba(255,159,28,.2);
  color:var(--muted);
  font-size:13px;
}
.notice-strip .wrap{padding-top:9px;padding-bottom:9px}
.notice-strip span{color:var(--green);font-weight:900;text-transform:uppercase;letter-spacing:1px;margin-right:8px}

/* Hero */
.hero{padding:64px 0 34px}
.hero-layout{display:grid;grid-template-columns:1.06fr .94fr;gap:30px;align-items:center}
.hero-card,.hero-copy{}
.kicker{color:var(--green);font-weight:950;text-transform:uppercase;letter-spacing:2.5px;font-size:12px}
h1{font-size:clamp(40px,6.2vw,74px);line-height:.96;margin:12px 0 16px;letter-spacing:-2px}
h2{font-size:clamp(28px,3vw,42px);line-height:1.05;margin:8px 0 12px}
h3{margin:8px 0 8px}
.lead{font-size:20px;color:#ead9aa;max-width:820px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
.btn,button{
  border:0;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(145deg,var(--orange),var(--orange2));
  color:#160900;
  font-weight:950;
  border-radius:15px;
  padding:13px 18px;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(255,107,0,.18);
}
.btn:hover,button:hover{text-decoration:none;filter:brightness(1.08)}
.btn.ghost{
  background:rgba(255,159,28,.06);
  color:var(--orange);
  border:1px solid rgba(255,159,28,.5);
  box-shadow:none;
}
.btn.small{padding:9px 12px;border-radius:12px;font-size:13px}
.btn.full{width:100%;margin-top:8px}
.hero-tags{display:flex;gap:9px;flex-wrap:wrap}
.hero-tags span{
  border:1px solid rgba(215,255,105,.25);
  color:#e9ffb4;
  background:rgba(215,255,105,.06);
  padding:7px 10px;border-radius:999px;font-size:13px;font-weight:800;
}
.hero-machine{min-height:360px;display:flex;align-items:center;justify-content:center}
.meter-card{
  width:100%;
  border:1px solid rgba(255,159,28,.38);
  border-radius:28px;
  background:
    linear-gradient(180deg,rgba(20,25,18,.92),rgba(12,14,10,.94)),
    radial-gradient(circle at top,rgba(255,159,28,.18),transparent 60%);
  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  overflow:hidden;
}
.meter-top{
  display:flex;justify-content:space-between;gap:12px;
  padding:16px 18px;
  color:var(--muted);
  border-bottom:1px solid rgba(255,159,28,.25);
  background:rgba(255,159,28,.06);
}
.meter-top b{color:var(--green)}
.scope{height:210px;color:var(--orange);padding:20px;background:
  linear-gradient(rgba(215,255,105,.08) 1px, transparent 1px),
  linear-gradient(90deg, rgba(215,255,105,.08) 1px, transparent 1px);
  background-size:24px 24px;
}
.scope svg{width:100%;height:100%;filter:drop-shadow(0 0 12px rgba(255,159,28,.75))}
.meter-readouts{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,159,28,.18)}
.meter-readouts div{padding:18px;background:#0b0e0a;text-align:center}
.meter-readouts strong{display:block;color:var(--green);font-size:22px}
.meter-readouts small{color:var(--muted)}

/* Sections */
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:38px 0 18px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.card{
  border:1px solid rgba(255,159,28,.25);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(18,23,16,.95),rgba(9,11,8,.96));
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.32);
}
.product-card{transition:transform .18s ease,border-color .18s ease}
.product-card:hover{transform:translateY(-4px);border-color:rgba(255,159,28,.65)}
.img-link{display:block;background:#0c0e0b}
.card img{width:100%;height:185px;display:block;object-fit:cover;background:#0c0e0b}
.fake-img{
  height:185px;display:grid;place-items:center;
  background:
    radial-gradient(circle,rgba(255,159,28,.25),transparent 45%),
    linear-gradient(135deg,#151a14,#251404);
}
.fake-img span{font-size:56px;font-weight:950;color:rgba(255,159,28,.6)}
.body{padding:18px}
.card-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;color:var(--dim);font-size:13px;margin-bottom:8px}
.badge{
  display:inline-block;border-radius:999px;padding:4px 10px;
  background:#1f7a38;color:#eaffef;font-weight:950;font-size:11px;text-transform:uppercase;
}
.badge.limited{background:#7d5609;color:#fff2c9}
.badge.sold{background:#522;color:#ffdada}
.badge.hidden{background:#555;color:#eee}
.price{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.price b{color:var(--green);font-size:18px}
.sku-line{color:var(--dim);font-size:12px;min-height:18px}
.panel,.filters,.feature-card,.lab-panel{
  border:1px solid rgba(255,159,28,.25);
  background:linear-gradient(180deg,rgba(17,22,15,.95),rgba(9,11,8,.98));
  border-radius:22px;
  padding:22px;
  box-shadow:0 14px 40px rgba(0,0,0,.24);
}
.feature-band{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:34px}
.icon{font-size:30px}
.lab-section{margin-top:36px}
.lab-panel{display:grid;grid-template-columns:1fr .9fr;gap:24px;align-items:center}
.drawer-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.drawer-list span{
  background:rgba(255,159,28,.08);
  border:1px solid rgba(255,159,28,.22);
  border-radius:14px;
  padding:14px;
  font-weight:900;
  color:#ffe6b8;
}

/* Catalog */
.page-title{padding:45px 22px 15px}
.catalog-layout{display:grid;grid-template-columns:285px 1fr;gap:24px}
label{display:block;color:var(--muted);font-weight:900;margin-top:10px}
input,select,textarea{
  width:100%;padding:12px 13px;
  color:var(--text);
  background:#070907;
  border:1px solid rgba(255,159,28,.34);
  border-radius:13px;
  margin:7px 0 14px;
}
.filter-note{margin-top:16px;color:var(--muted);font-size:13px}
.catalog-count{color:var(--muted);margin:0 0 14px}

/* Tables/admin inherited */
.table{width:100%;border-collapse:collapse}
.table th,.table td{border-bottom:1px solid rgba(255,159,28,.18);padding:12px;text-align:left}
.statgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.stat{background:#11160f;border:1px solid rgba(255,159,28,.24);border-radius:18px;padding:18px}
.stat b{font-size:32px;color:var(--green)}
.admin{display:grid;grid-template-columns:230px 1fr;min-height:100vh}
.side{background:#080908;border-right:1px solid rgba(255,159,28,.25);padding:20px}
.side a{display:block;padding:12px;border-radius:12px;color:var(--text)}
.side a:hover{background:#211407;text-decoration:none}
.main{padding:25px}

/* Footer */
.site-footer{margin-top:60px;border-top:1px solid rgba(255,159,28,.25);background:rgba(5,6,5,.96)}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;padding-top:34px;padding-bottom:28px}
.footer-panel h3{color:var(--orange);margin-top:0}
.footer-panel p{color:var(--muted)}
.copy{padding:15px 22px;color:var(--muted);border-top:1px solid rgba(255,159,28,.15);font-weight:900}

@media(max-width:800px){
  .nav{align-items:flex-start;flex-direction:column;padding:14px 22px}
  .mainnav{justify-content:flex-start}
  .hero-layout,.catalog-layout,.lab-panel,.admin{grid-template-columns:1fr}
  h1{letter-spacing:-1px}
  .section-head{align-items:flex-start;flex-direction:column}
}


/* Ham Shack subscription / member area */
.member-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:stretch;margin-top:18px}
.member-card{background:linear-gradient(135deg,rgba(43,220,255,.12),rgba(138,43,226,.10));border:1px solid rgba(43,220,255,.28);border-radius:18px;padding:22px;box-shadow:0 0 28px rgba(43,220,255,.08)}
.member-badge{display:inline-block;padding:7px 11px;border-radius:999px;border:1px solid rgba(43,220,255,.45);background:rgba(43,220,255,.08);color:#8ff3ff;font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:.78rem}
.ham-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:18px 0}
.ham-tool{padding:18px;border:1px solid rgba(43,220,255,.20);border-radius:16px;background:rgba(7,16,24,.72)}
.ham-tool h3{margin-top:0;color:#8ff3ff}.ham-tool p{margin-bottom:0}.locked{opacity:.78;filter:saturate(.7)}
.sub-status-active{color:#7CFFB2;font-weight:700}.sub-status-inactive{color:#ffdf7c;font-weight:700}
.small-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.terms-box{max-height:260px;overflow:auto;border:1px solid rgba(43,220,255,.22);padding:14px;border-radius:12px;background:rgba(0,0,0,.20);white-space:pre-wrap}
@media(max-width:800px){.member-hero,.small-form-row{grid-template-columns:1fr}}

/* RF Boneyard logo + legal/propagation additions restored */
.brand-logo{overflow:hidden;background:#050605;border:1px solid rgba(215,255,105,.28);box-shadow:0 0 28px rgba(215,255,105,.18),0 0 24px rgba(255,159,28,.18)}
.brand-logo img{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(1.08) saturate(1.08)}
.hero-badge-logo{width:min(260px,70vw);border-radius:28px;border:1px solid rgba(215,255,105,.26);box-shadow:0 20px 80px rgba(0,0,0,.45),0 0 45px rgba(215,255,105,.12);display:block;margin:0 auto 20px;opacity:.95}
.policy-check{display:flex;align-items:flex-start;gap:10px;margin:14px 0 18px;color:var(--muted);font-weight:800;line-height:1.35}
.policy-check input{width:auto;margin:3px 0 0;accent-color:var(--orange)}
.policy-check a{font-weight:950}.muted{color:var(--muted)}
.legal-document h2{margin-top:28px}.legal-document ul{color:#ead9aa}.legal-document li{margin:8px 0}
.propagation-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start}
.propagation-widget-box{min-height:160px;border:1px solid rgba(215,255,105,.25);border-radius:20px;padding:18px;background:rgba(5,7,5,.75);overflow:hidden;display:flex;justify-content:center;align-items:center;max-width:100%;box-sizing:border-box}
.propagation-widget-box center{display:block;width:100%;max-width:100%;margin:0 auto;text-align:center}
.propagation-widget-box a{display:inline-block;max-width:100%}
.propagation-widget-box img{display:block;max-width:100% !important;width:min(100%,560px) !important;height:auto !important;margin:0 auto;border-radius:14px;box-shadow:0 0 28px rgba(43,220,255,.10)}
.solar-readout{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:12px}.solar-readout div{border:1px solid rgba(255,159,28,.22);border-radius:16px;padding:14px;background:rgba(255,159,28,.06)}.solar-readout b{display:block;color:var(--green);font-size:24px}.solar-readout small{color:var(--muted);font-weight:900}
.footer-rf-logo{width:82px;height:82px;object-fit:cover;border-radius:18px;border:1px solid rgba(215,255,105,.22);float:left;margin:0 14px 8px 0;box-shadow:0 0 24px rgba(215,255,105,.10)}
@media(max-width:800px){.propagation-grid{grid-template-columns:1fr}.footer-rf-logo{float:none;display:block;margin-bottom:12px}.hero-badge-logo{width:190px}.propagation-widget-box{padding:10px}.propagation-widget-box img{width:100% !important}}


/* Membership plans + ham profile uploads */
.membership-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:18px 0}.membership-plan-card h3{font-size:1.8rem;margin:6px 0;color:#74f7ff}.compact-admin-form input,.compact-admin-form textarea,.compact-admin-form select{margin:4px 0}.checkline{display:flex;gap:8px;align-items:center;margin:10px 0}.checkline input{width:auto}.upload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:16px}.upload-card{background:rgba(4,18,28,.72);border:1px solid rgba(116,247,255,.25);border-radius:16px;padding:12px;box-shadow:0 0 18px rgba(43,220,255,.08)}.upload-card img{display:block;width:100%;max-height:210px;object-fit:cover;border-radius:12px;margin:10px 0;border:1px solid rgba(255,255,255,.12)}


/* RF Legends board */
.legend-hero-wrap{padding-bottom:0}
.legend-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:stretch}
.legend-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.legend-pills span{padding:8px 12px;border-radius:999px;background:linear-gradient(145deg,rgba(43,220,255,.14),rgba(138,43,226,.14));border:1px solid rgba(143,243,255,.25);color:#c6fbff;font-weight:800;font-size:12px}
.legend-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.legend-metric-card{padding:18px;border-radius:18px;background:linear-gradient(160deg,rgba(14,19,31,.96),rgba(16,10,24,.96));border:1px solid rgba(122,214,255,.25);box-shadow:0 0 28px rgba(77,189,255,.08)}
.legend-metric-card strong{display:block;font-size:34px;line-height:1;color:#8ff3ff}
.legend-metric-card small{display:block;color:#c9d7df;margin-top:8px;font-weight:700}
.legend-explainer{margin-top:22px;background:linear-gradient(145deg,rgba(18,25,19,.94),rgba(14,15,28,.96));border-color:rgba(143,243,255,.25)}
.legend-podium-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
.legend-podium-card{position:relative;overflow:hidden;padding:22px;border-radius:24px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(160deg,rgba(13,16,22,.97),rgba(20,10,30,.97));box-shadow:0 18px 50px rgba(0,0,0,.28)}
.legend-podium-card.rank-1{background:linear-gradient(160deg,rgba(55,32,2,.95),rgba(24,16,5,.98));border-color:rgba(255,196,71,.35);box-shadow:0 0 30px rgba(255,191,64,.18),0 18px 50px rgba(0,0,0,.28)}
.legend-podium-card.rank-2{background:linear-gradient(160deg,rgba(18,25,33,.95),rgba(13,17,24,.98));border-color:rgba(166,219,255,.35);box-shadow:0 0 30px rgba(139,214,255,.16),0 18px 50px rgba(0,0,0,.28)}
.legend-podium-card.rank-3{background:linear-gradient(160deg,rgba(34,19,10,.95),rgba(23,13,10,.98));border-color:rgba(255,149,92,.28);box-shadow:0 0 30px rgba(255,143,84,.12),0 18px 50px rgba(0,0,0,.28)}
.legend-crown{font-size:30px;margin-bottom:8px}
.legend-rank-number{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:#e0ecf4;font-weight:900;opacity:.85}
.legend-podium-card h3{font-size:28px;margin:8px 0 10px}
.legend-rank-chip{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;border:1px solid rgba(255,255,255,.16)}
.legend-rank-gold{background:rgba(255,199,77,.18);color:#ffe8a3;border-color:rgba(255,199,77,.42)}
.legend-rank-silver{background:rgba(143,243,255,.12);color:#b8f7ff;border-color:rgba(143,243,255,.4)}
.legend-rank-bronze{background:rgba(255,149,92,.13);color:#ffd0b4;border-color:rgba(255,149,92,.34)}
.legend-rank-legend{background:rgba(197,120,255,.18);color:#f0d4ff;border-color:rgba(197,120,255,.42)}
.legend-rank-new{background:rgba(124,255,178,.12);color:#bdffd8;border-color:rgba(124,255,178,.32)}
.legend-score{font-size:34px;font-weight:950;margin:18px 0 16px;color:#fff}
.legend-score span{display:block;font-size:13px;color:#c9d7df;font-weight:700;margin-top:4px}
.legend-mini-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.legend-mini-stats div{padding:12px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
.legend-mini-stats b{display:block;font-size:20px;color:#fff}
.legend-mini-stats small{display:block;color:#d4dde3;margin-top:3px}
.legend-table-panel{margin-top:26px}
.legend-table-wrap{overflow:auto}
.legend-table .table-mini{color:#b7c4cc;font-size:12px;margin-top:4px}
.legend-rank-pill{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:8px 12px;border-radius:999px;background:linear-gradient(145deg,var(--orange),#ff5e00);color:#170800;font-weight:900}
.legend-callout-band{margin-top:28px}
.legend-callout-card{background:linear-gradient(145deg,rgba(24,18,39,.92),rgba(9,14,21,.96));border-color:rgba(143,243,255,.22)}
@media(max-width:900px){
  .legend-hero,.legend-podium-grid{grid-template-columns:1fr}
  .legend-metrics{grid-template-columns:1fr}
}


/* Product datasheets + Q&A money-engine layer */
.product-detail-upgraded{display:grid;grid-template-columns:minmax(280px,.8fr) 1.2fr;gap:28px;align-items:start;margin-top:34px}
.product-main-img{width:100%;max-height:520px;object-fit:contain;background:#050705;border:1px solid rgba(255,159,28,.26);border-radius:22px;box-shadow:0 20px 55px rgba(0,0,0,.35)}
.product-meta-line{color:var(--muted);font-weight:800}.product-actions-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.datasheet-card{margin-top:18px;border-color:rgba(143,243,255,.28);background:linear-gradient(145deg,rgba(10,22,28,.94),rgba(12,13,10,.96))}.product-fact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.product-fact-grid div{padding:12px;border-radius:14px;background:rgba(255,159,28,.06);border:1px solid rgba(255,159,28,.16)}.product-fact-grid b{display:block;color:var(--orange);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.product-fact-grid span{display:block;margin-top:5px;color:#fff;font-weight:800}.bench-notes{border-color:rgba(215,255,105,.28);background:linear-gradient(145deg,rgba(19,29,12,.92),rgba(12,13,10,.96))}.product-qa-grid{grid-template-columns:1fr 1fr}.qa-item{padding:14px;border-radius:15px;background:rgba(255,255,255,.04);border:1px solid rgba(255,159,28,.16);margin-bottom:12px}.qa-item b{color:var(--green)}.qa-item small{display:block;color:var(--muted);margin-top:9px}.notice-panel{border-color:rgba(124,255,178,.35);background:rgba(124,255,178,.06)}.admin-product-editor textarea{min-height:92px}.admin-qa-card h3{color:#8ff3ff}.admin-qa-card form{margin-top:10px}
@media(max-width:900px){.product-detail-upgraded,.product-qa-grid{grid-template-columns:1fr}.product-fact-grid{grid-template-columns:1fr}}


/* Member directory restored */
.member-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:20px 0}
.member-card{text-decoration:none;color:inherit;display:block;min-height:210px}
.avatar-lg{width:96px;height:96px;border-radius:18px;object-fit:cover;display:block;margin-bottom:12px;border:1px solid rgba(43,220,255,.35);box-shadow:0 0 24px rgba(43,220,255,.12)}
.avatar-empty{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(43,220,255,.18),rgba(255,159,28,.14));font-weight:900;color:#8ff3ff}

/* RF Boneyard avatar size fix */
.member-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.member-grid .member-card{text-align:center}
.avatar-wrap{display:flex;align-items:center;justify-content:center;margin:0 0 14px}
.avatar-lg,.avatar-xl{display:block;object-fit:cover;object-position:center;overflow:hidden;border-radius:18px;border:1px solid rgba(43,220,255,.28);background:rgba(7,16,24,.72);box-shadow:0 0 18px rgba(43,220,255,.12)}
.avatar-lg{width:110px;height:110px;max-width:110px;max-height:110px;margin:0 auto 14px}
.avatar-xl{width:160px;height:160px;max-width:160px;max-height:160px}
.avatar-empty{display:flex;align-items:center;justify-content:center;font-weight:900;color:#8ff3ff;letter-spacing:.04em}
.member-grid .member-card h3{margin-top:6px}
.member-grid .member-card p{margin:8px 0}
@media(max-width:700px){.avatar-lg{width:92px;height:92px;max-width:92px;max-height:92px}.avatar-xl{width:132px;height:132px;max-width:132px;max-height:132px}}

/* RF Boneyard compact member directory avatars v2 */
body .member-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr)) !important;
  gap:14px !important;
  align-items:stretch !important;
}
body .member-grid .member-card{
  padding:14px !important;
  min-height:auto !important;
  text-align:center !important;
}
body .member-grid .member-card img.avatar-lg,
body .member-grid .member-card .avatar-lg{
  width:72px !important;
  height:72px !important;
  max-width:72px !important;
  max-height:72px !important;
  min-width:72px !important;
  min-height:72px !important;
  display:block !important;
  margin:0 auto 10px !important;
  object-fit:cover !important;
  object-position:center !important;
  border-radius:14px !important;
  overflow:hidden !important;
}
body .member-grid .member-card h3{
  font-size:1rem !important;
  line-height:1.15 !important;
  margin:6px 0 !important;
}
body .member-grid .member-card p{
  font-size:.88rem !important;
  line-height:1.3 !important;
  margin:5px 0 !important;
}
body .member-grid .member-card .btn.small{
  padding:7px 9px !important;
  font-size:.78rem !important;
  margin-top:6px !important;
}
@media(max-width:700px){
  body .member-grid{
    grid-template-columns:repeat(auto-fill,minmax(145px,1fr)) !important;
    gap:10px !important;
  }
  body .member-grid .member-card{
    padding:12px !important;
  }
  body .member-grid .member-card img.avatar-lg,
  body .member-grid .member-card .avatar-lg{
    width:60px !important;
    height:60px !important;
    max-width:60px !important;
    max-height:60px !important;
    min-width:60px !important;
    min-height:60px !important;
  }
}



/* RF Boneyard product question image sizing */
.question-img{max-width:220px;max-height:180px;object-fit:cover;border-radius:12px;border:1px solid rgba(43,220,255,.28);box-shadow:0 0 18px rgba(43,220,255,.10)}
.admin-question-img{max-width:220px;max-height:180px;object-fit:cover;border-radius:12px}


/* RFB_BONEYARD_PIPELINE_CSS_V1 */
.rfb-pipeline-box{
  border:1px solid rgba(0,255,210,.28);
  background:linear-gradient(135deg,rgba(0,30,34,.88),rgba(28,10,40,.72));
  box-shadow:0 0 28px rgba(0,255,210,.08), inset 0 0 18px rgba(255,255,255,.025);
}
.rfb-pipeline-head{
  display:flex;align-items:center;gap:10px;
  font-weight:900;letter-spacing:.08em;text-transform:uppercase;
  color:#bfffea;text-shadow:0 0 12px rgba(0,255,210,.42);
  margin-bottom:12px;
}
.rfb-pipeline-icon{filter:drop-shadow(0 0 8px rgba(0,255,210,.75));}
.rfb-pipeline-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;
}
.rfb-pipeline-grid div{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  border-radius:12px;padding:10px;
}
.rfb-pipeline-grid b{display:block;font-size:.78rem;opacity:.82;margin-bottom:5px;text-transform:uppercase;letter-spacing:.06em;}
.rfb-pipeline-grid span{font-weight:800;}
.rfb-pipeline-badge{
  display:inline-block;padding:5px 9px;border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
}
.rfb-pipeline-more_on_the_way{color:#6ee7ff;text-shadow:0 0 10px rgba(110,231,255,.55);}
.rfb-pipeline-ordered{color:#ffd166;text-shadow:0 0 10px rgba(255,209,102,.55);}
.rfb-pipeline-waiting_at_the_door{color:#ff9f43;text-shadow:0 0 10px rgba(255,159,67,.6);}
.rfb-pipeline-arrived{color:#47ff9a;text-shadow:0 0 10px rgba(71,255,154,.65);}
.rfb-pipeline-arrived_testing_next{color:#b7ff4a;text-shadow:0 0 10px rgba(183,255,74,.6);}
.rfb-pipeline-bench_testing{color:#d087ff;text-shadow:0 0 10px rgba(208,135,255,.58);}
.rfb-pipeline-backlog{color:#a9bdd3;text-shadow:0 0 10px rgba(169,189,211,.45);}
.rfb-pipeline-donor_rig_incoming{color:#ff7043;text-shadow:0 0 10px rgba(255,112,67,.58);}
.rfb-pipeline-reel_stock_incoming{color:#2df7c8;text-shadow:0 0 10px rgba(45,247,200,.6);}
.rfb-pipeline-limited_restock_expected{color:#ffee58;text-shadow:0 0 10px rgba(255,238,88,.55);}
.rfb-pipeline-gone_when_gone{color:#ff5252;text-shadow:0 0 10px rgba(255,82,82,.65);}
.rfb-pipeline-note{margin:12px 0 0;line-height:1.45;}
.rfb-pipeline-disclaimer{font-size:.82rem;opacity:.72;margin:10px 0 0;}
.rfb-pipeline-admin-card{
  border:1px solid rgba(0,255,210,.28);border-radius:14px;padding:14px;margin:14px 0;
  background:linear-gradient(135deg,rgba(0,30,34,.88),rgba(28,10,40,.72));
}
.rfb-pipeline-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;}
.rfb-pipeline-admin-grid input,.rfb-pipeline-admin-grid select,.rfb-pipeline-admin-card textarea{
  width:100%;box-sizing:border-box;
}
/* /RFB_BONEYARD_PIPELINE_CSS_V1 */


/* RFB_PRODUCT_HOVER_GLASS_V1 */
.product-fact-grid > div,
.rfb-pipeline-grid > div,
.rfb-pipeline-box,
[class*="rfb-passport"] .rfb-chip,
.rfb-passport-grid > div,
.rfb-passport-card,
.rfb-passport-box {
  transition:
    transform .20s ease,
    box-shadow .20s ease,
    border-color .20s ease,
    background .20s ease,
    backdrop-filter .20s ease,
    -webkit-backdrop-filter .20s ease;
  will-change: transform, box-shadow, backdrop-filter;
}

.product-fact-grid > div:hover,
.rfb-pipeline-grid > div:hover,
.rfb-pipeline-box:hover,
[class*="rfb-passport"] .rfb-chip:hover,
.rfb-passport-grid > div:hover,
.rfb-passport-card:hover,
.rfb-passport-box:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.05)) !important;
  border-color: rgba(120,255,240,.48) !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.24),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 18px rgba(60,245,230,.18);
  backdrop-filter: blur(8px) saturate(125%);
  -webkit-backdrop-filter: blur(8px) saturate(125%);
}

.product-fact-grid > div:hover b,
.rfb-pipeline-grid > div:hover b,
.rfb-pipeline-box:hover .rfb-pipeline-head {
  text-shadow: 0 0 10px rgba(110,240,255,.35);
}
/* /RFB_PRODUCT_HOVER_GLASS_V1 */


/* RFB_PIPELINE_WAREHOUSE_HOLD_STATUS_V1 */
.rfb-pipeline-warehouse_stock_on_hold{
  color:#ff7ad9;
  text-shadow:0 0 10px rgba(255,122,217,.62);
}
/* /RFB_PIPELINE_WAREHOUSE_HOLD_STATUS_V1 */


/* RFB_ORIGIN_STORY_CSS_V1 */
.rfb-origin-story-box{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(0,255,210,.28);
  background:
    radial-gradient(circle at 20% 0%, rgba(0,255,210,.10), transparent 34%),
    linear-gradient(135deg,rgba(0,30,34,.88),rgba(28,10,40,.72));
  box-shadow:0 0 28px rgba(0,255,210,.08), inset 0 0 18px rgba(255,255,255,.025);
}
.rfb-origin-story-box:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.08) 42%,transparent 70%);
  opacity:.5;
}
.rfb-origin-story-head{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
}
.rfb-origin-story-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:15px;
  border:1px solid rgba(120,255,240,.35);
  background:rgba(0,0,0,.28);
  color:#62fff0;
  font-weight:900;
  font-size:1.15rem;
  letter-spacing:.03em;
  text-shadow:0 0 11px rgba(98,255,240,.65);
  box-shadow:0 0 18px rgba(98,255,240,.16), inset 0 0 16px rgba(255,255,255,.04);
}
.rfb-origin-story-head b{
  display:block;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:#bfffea;
  text-shadow:0 0 12px rgba(0,255,210,.32);
  font-size:.82rem;
}
.rfb-origin-story-head em{
  display:block;
  font-style:normal;
  font-weight:900;
  font-size:1.1rem;
  margin-top:2px;
}
.rfb-origin-story-note{
  position:relative;
  margin:12px 0 0;
  line-height:1.45;
}
.rfb-origin-story-secondary{
  position:relative;
  margin:10px 0 0;
  font-size:.9rem;
  opacity:.86;
}
.rfb-origin-donor_pull .rfb-origin-story-icon{color:#35ffe1;text-shadow:0 0 11px rgba(53,255,225,.7);border-color:rgba(53,255,225,.4);}
.rfb-origin-nos .rfb-origin-story-icon{color:#7ee7ff;text-shadow:0 0 11px rgba(126,231,255,.7);border-color:rgba(126,231,255,.4);}
.rfb-origin-obsolete_stock .rfb-origin-story-icon{color:#c58cff;text-shadow:0 0 11px rgba(197,140,255,.7);border-color:rgba(197,140,255,.42);}
.rfb-origin-surplus_stock .rfb-origin-story-icon{color:#ff73cf;text-shadow:0 0 11px rgba(255,115,207,.7);border-color:rgba(255,115,207,.42);}
.rfb-origin-imported_stock .rfb-origin-story-icon{color:#5ee7ff;text-shadow:0 0 11px rgba(94,231,255,.7);border-color:rgba(94,231,255,.42);}
.rfb-origin-warehouse_stock_on_hold .rfb-origin-story-icon{color:#ffb347;text-shadow:0 0 11px rgba(255,179,71,.7);border-color:rgba(255,179,71,.42);}
.rfb-origin-reel_stock .rfb-origin-story-icon{color:#8dff62;text-shadow:0 0 11px rgba(141,255,98,.7);border-color:rgba(141,255,98,.42);}
.rfb-origin-bench_stock .rfb-origin-story-icon{color:#44c8ff;text-shadow:0 0 11px rgba(68,200,255,.7);border-color:rgba(68,200,255,.42);}
.rfb-origin-tested_pull .rfb-origin-story-icon{color:#70ff8a;text-shadow:0 0 11px rgba(112,255,138,.7);border-color:rgba(112,255,138,.42);}

.rfb-origin-admin-card{
  border:1px solid rgba(0,255,210,.28);
  border-radius:14px;
  padding:14px;
  margin:14px 0;
  background:linear-gradient(135deg,rgba(0,30,34,.88),rgba(28,10,40,.72));
}
.rfb-origin-admin-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px;
}
.rfb-origin-admin-grid input,
.rfb-origin-admin-grid select,
.rfb-origin-admin-card textarea{
  width:100%;
  box-sizing:border-box;
}
/* /RFB_ORIGIN_STORY_CSS_V1 */


/* RFB_ORIGIN_STORY_ICON_KEY_V2 */
.rfb-origin-key-panel{
  border:1px solid rgba(0,255,210,.28);
  background:
    radial-gradient(circle at top left,rgba(0,255,210,.12),transparent 30%),
    radial-gradient(circle at top right,rgba(255,80,220,.10),transparent 30%),
    linear-gradient(135deg,rgba(0,20,26,.90),rgba(26,10,36,.78));
  box-shadow:0 0 30px rgba(0,255,210,.08), inset 0 0 18px rgba(255,255,255,.025);
}
.rfb-origin-key-title{
  display:flex;align-items:center;gap:12px;margin-bottom:14px;
}
.rfb-origin-key-title>span{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(0,255,210,.35);
  color:#65fff0;text-shadow:0 0 12px rgba(101,255,240,.7);
  background:rgba(0,0,0,.28);
  font-weight:900;font-size:1.15rem;
}
.rfb-origin-key-title b{
  display:block;text-transform:uppercase;letter-spacing:.10em;color:#dff;
  text-shadow:0 0 12px rgba(0,255,210,.35);
}
.rfb-origin-key-title em{
  display:block;font-style:normal;opacity:.78;font-size:.9rem;margin-top:2px;
}
.rfb-origin-key-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:10px;
}
.rfb-origin-key-card{
  position:relative;overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-radius:14px;
  padding:12px;
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.rfb-origin-key-card:hover{
  transform:translateY(-3px);
  border-color:rgba(120,255,240,.45);
  background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.05));
  box-shadow:0 12px 28px rgba(0,0,0,.24),0 0 18px rgba(60,245,230,.18);
}
.rfb-origin-key-card span{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:12px;margin-bottom:8px;
  border:1px solid currentColor;
  color:#65fff0;
  background:rgba(0,0,0,.25);
  text-shadow:0 0 11px currentColor;
  box-shadow:0 0 14px rgba(101,255,240,.14), inset 0 0 14px rgba(255,255,255,.04);
  font-weight:900;
}
.rfb-origin-key-card b{display:block;font-size:.95rem;}
.rfb-origin-key-card em{display:block;font-size:.78rem;opacity:.72;font-style:normal;margin-top:2px;}
.rfb-origin-key-card.rfb-origin-donor_pull span{color:#35ffe1;}
.rfb-origin-key-card.rfb-origin-nos span{color:#7ee7ff;}
.rfb-origin-key-card.rfb-origin-obsolete_stock span{color:#c58cff;}
.rfb-origin-key-card.rfb-origin-surplus_stock span{color:#ff73cf;}
.rfb-origin-key-card.rfb-origin-imported_stock span{color:#5ee7ff;}
.rfb-origin-key-card.rfb-origin-warehouse_stock_on_hold span{color:#ffb347;}
.rfb-origin-key-card.rfb-origin-reel_stock span{color:#8dff62;}
.rfb-origin-key-card.rfb-origin-bench_stock span{color:#44c8ff;}
.rfb-origin-key-card.rfb-origin-tested_pull span{color:#70ff8a;}
/* /RFB_ORIGIN_STORY_ICON_KEY_V2 */


/* RFB_ORIGIN_TRACKER_V3 */
.rfb-origin-story-box{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(0,255,210,.28);
  background:
    radial-gradient(circle at 14% 18%, rgba(0,255,210,.12), transparent 28%),
    radial-gradient(circle at 88% 15%, rgba(255,80,220,.10), transparent 24%),
    linear-gradient(135deg,rgba(0,22,28,.92),rgba(27,10,39,.84));
  box-shadow:
    0 0 30px rgba(0,255,210,.10),
    inset 0 0 18px rgba(255,255,255,.025);
}
.rfb-origin-story-box:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.08) 42%,transparent 70%);
  opacity:.55;
}
.rfb-origin-story-box:after{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(120,255,240,.75),transparent);
  opacity:.7;
}
.rfb-origin-story-head{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
}
.rfb-origin-story-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  min-width:56px;
  border-radius:16px;
  border:1px solid rgba(120,255,240,.35);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.07), transparent 26%),
    rgba(0,0,0,.30);
  color:#62fff0;
  font-weight:900;
  font-size:1.25rem;
  letter-spacing:.03em;
  text-shadow:0 0 12px rgba(98,255,240,.70);
  box-shadow:
    0 0 22px rgba(98,255,240,.16),
    inset 0 0 16px rgba(255,255,255,.04);
}
.rfb-origin-story-head b{
  display:block;
  text-transform:uppercase;
  letter-spacing:.11em;
  color:#bfffea;
  text-shadow:0 0 12px rgba(0,255,210,.32);
  font-size:.78rem;
}
.rfb-origin-story-head em{
  display:block;
  font-style:normal;
  font-weight:900;
  font-size:1.14rem;
  margin-top:3px;
  letter-spacing:.01em;
}
.rfb-origin-story-note{
  position:relative;
  margin:12px 0 0;
  line-height:1.48;
}
.rfb-origin-story-secondary{
  position:relative;
  margin:10px 0 0;
  font-size:.9rem;
  opacity:.88;
}
.rfb-origin-story-secondary b{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
  opacity:.84;
}
.rfb-origin-donor_pull .rfb-origin-story-icon{color:#35ffe1;text-shadow:0 0 11px rgba(53,255,225,.7);border-color:rgba(53,255,225,.42);}
.rfb-origin-nos .rfb-origin-story-icon{color:#7ee7ff;text-shadow:0 0 11px rgba(126,231,255,.7);border-color:rgba(126,231,255,.42);}
.rfb-origin-obsolete_stock .rfb-origin-story-icon{color:#c58cff;text-shadow:0 0 11px rgba(197,140,255,.7);border-color:rgba(197,140,255,.42);}
.rfb-origin-surplus_stock .rfb-origin-story-icon{color:#ff73cf;text-shadow:0 0 11px rgba(255,115,207,.7);border-color:rgba(255,115,207,.42);}
.rfb-origin-imported_stock .rfb-origin-story-icon{color:#5ee7ff;text-shadow:0 0 11px rgba(94,231,255,.7);border-color:rgba(94,231,255,.42);}
.rfb-origin-warehouse_stock_on_hold .rfb-origin-story-icon{color:#ffb347;text-shadow:0 0 11px rgba(255,179,71,.7);border-color:rgba(255,179,71,.42);}
.rfb-origin-reel_stock .rfb-origin-story-icon{color:#8dff62;text-shadow:0 0 11px rgba(141,255,98,.7);border-color:rgba(141,255,98,.42);}
.rfb-origin-bench_stock .rfb-origin-story-icon{color:#44c8ff;text-shadow:0 0 11px rgba(68,200,255,.7);border-color:rgba(68,200,255,.42);}
.rfb-origin-tested_pull .rfb-origin-story-icon{color:#70ff8a;text-shadow:0 0 11px rgba(112,255,138,.7);border-color:rgba(112,255,138,.42);}
/* /RFB_ORIGIN_TRACKER_V3 */


/* RFB_ORIGIN_TRACKER_ICON_TILES_V4 */
.rfb-origin-story-icon{
  flex-direction:column;
  gap:1px;
  width:62px;
  height:62px;
  min-width:62px;
  border-radius:17px;
  padding-top:4px;
  line-height:1;
}
.rfb-origin-story-icon .rfb-origin-code{
  display:block;
  font-weight:900;
  font-size:1rem;
  letter-spacing:.08em;
}
.rfb-origin-story-icon .rfb-origin-mini{
  display:block;
  font-size:.55rem;
  letter-spacing:.12em;
  opacity:.82;
}

.rfb-origin-key-card span{
  width:50px;
  height:50px;
  border-radius:14px;
  flex-direction:column;
  gap:1px;
}
.rfb-origin-key-card span .rfb-origin-code{
  display:block;
  font-weight:900;
  font-size:.82rem;
  letter-spacing:.08em;
}
.rfb-origin-key-card span .rfb-origin-mini{
  display:block;
  font-size:.48rem;
  letter-spacing:.12em;
  opacity:.82;
}

/* optional tiny top glow strip */
.rfb-origin-story-icon:before,
.rfb-origin-key-card span:before{
  content:"";
  position:absolute;
  width:68%;
  height:1px;
  top:8px;
  left:16%;
  background:linear-gradient(90deg,transparent,currentColor,transparent);
  opacity:.65;
}

.rfb-origin-story-icon,
.rfb-origin-key-card span{
  position:relative;
}
/* /RFB_ORIGIN_TRACKER_ICON_TILES_V4 */




/* RFB_ORIGIN_TRACKER_PICTOGRAM_ICONS_V6 */
/* Hard-capped pictogram icon system. Prevents the old v5 growth bug. */
.rfb-origin-story-icon{
  width:62px !important;
  height:62px !important;
  min-width:62px !important;
  max-width:62px !important;
  max-height:62px !important;
  padding:0 !important;
  overflow:hidden !important;
}
.rfb-origin-story-icon .rfb-origin-picto{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  max-height:42px !important;
}

.rfb-origin-key-card > .rfb-origin-picto{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  max-height:42px !important;
  margin-bottom:8px;
}

.rfb-origin-picto{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:13px !important;
  border:1px solid currentColor !important;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.12), transparent 27%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.20)) !important;
  box-shadow:
    0 0 13px color-mix(in srgb, currentColor 38%, transparent),
    inset 0 0 12px rgba(255,255,255,.045) !important;
  line-height:1 !important;
  flex:0 0 auto !important;
  box-sizing:border-box !important;
}

.rfb-origin-picto svg{
  width:25px !important;
  height:25px !important;
  max-width:25px !important;
  max-height:25px !important;
  min-width:0 !important;
  min-height:0 !important;
  display:block !important;
  overflow:visible !important;
  flex:0 0 auto !important;
}

/* Hide old code-tile text if any old v4 spans survive in the icon container */
.rfb-origin-story-icon .rfb-origin-code,
.rfb-origin-story-icon .rfb-origin-mini{
  display:none !important;
}

/* Admin key: keep old v4 code spans readable only if a card was not upgraded to pictogram */
.rfb-origin-key-card > span:not(.rfb-origin-picto){
  width:50px;
  height:50px;
}

.rfb-origin-picto-donor{color:#35ffe1 !important;}
.rfb-origin-picto-nos{color:#7ee7ff !important;}
.rfb-origin-picto-obsolete{color:#c58cff !important;}
.rfb-origin-picto-surplus{color:#ff73cf !important;}
.rfb-origin-picto-imported{color:#5ee7ff !important;}
.rfb-origin-picto-hold{color:#ffb347 !important;}
.rfb-origin-picto-reel{color:#8dff62 !important;}
.rfb-origin-picto-bench{color:#44c8ff !important;}
.rfb-origin-picto-tested{color:#70ff8a !important;}
.rfb-origin-picto-default{color:#65fff0 !important;}
/* /RFB_ORIGIN_TRACKER_PICTOGRAM_ICONS_V6 */


/* RFB_ORIGIN_TRACKER_ADMIN_COMPACT_RESET_V7 */
.rfb-origin-key-panel-compact-v7{
  max-width:100% !important;
  overflow:hidden !important;
}
.rfb-origin-key-panel-compact-v7 .rfb-origin-key-title{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  margin-bottom:12px !important;
}
.rfb-origin-key-panel-compact-v7 .rfb-origin-key-main-dot{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  max-width:38px !important;
  max-height:38px !important;
  border-radius:12px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid rgba(0,255,210,.38) !important;
  color:#65fff0 !important;
  background:rgba(0,0,0,.28) !important;
  font-size:.82rem !important;
  font-weight:900 !important;
  letter-spacing:.06em !important;
  text-shadow:0 0 10px rgba(101,255,240,.65) !important;
  box-sizing:border-box !important;
  flex:0 0 auto !important;
}
.rfb-origin-key-list-v7{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr)) !important;
  gap:8px !important;
}
.rfb-origin-key-row{
  display:grid !important;
  grid-template-columns:18px 1fr !important;
  grid-template-rows:auto auto !important;
  column-gap:8px !important;
  align-items:center !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:12px !important;
  padding:9px 10px !important;
  background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.025)) !important;
  min-height:auto !important;
  max-height:none !important;
  overflow:hidden !important;
}
.rfb-origin-key-row .rfb-origin-dot{
  grid-row:1 / 3 !important;
  width:12px !important;
  height:12px !important;
  min-width:12px !important;
  max-width:12px !important;
  min-height:12px !important;
  max-height:12px !important;
  border-radius:999px !important;
  display:inline-block !important;
  background:currentColor !important;
  border:0 !important;
  margin:0 !important;
  box-shadow:0 0 10px currentColor !important;
}
.rfb-origin-key-row b{
  display:block !important;
  font-size:.9rem !important;
  line-height:1.15 !important;
}
.rfb-origin-key-row em{
  display:block !important;
  font-size:.74rem !important;
  line-height:1.2 !important;
  opacity:.72 !important;
  font-style:normal !important;
  margin-top:2px !important;
}

/* Hard emergency caps for anything accidentally left inside the admin key */
.rfb-origin-key-panel-compact-v7 svg,
.rfb-origin-key-panel-compact-v7 img{
  width:18px !important;
  height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
}
.rfb-origin-key-panel-compact-v7 span{
  box-sizing:border-box !important;
}
.rfb-origin-key-row.rfb-origin-donor_pull{color:#35ffe1 !important;}
.rfb-origin-key-row.rfb-origin-nos{color:#7ee7ff !important;}
.rfb-origin-key-row.rfb-origin-obsolete_stock{color:#c58cff !important;}
.rfb-origin-key-row.rfb-origin-surplus_stock{color:#ff73cf !important;}
.rfb-origin-key-row.rfb-origin-imported_stock{color:#5ee7ff !important;}
.rfb-origin-key-row.rfb-origin-warehouse_stock_on_hold{color:#ffb347 !important;}
.rfb-origin-key-row.rfb-origin-reel_stock{color:#8dff62 !important;}
.rfb-origin-key-row.rfb-origin-bench_stock{color:#44c8ff !important;}
.rfb-origin-key-row.rfb-origin-tested_pull{color:#70ff8a !important;}
/* /RFB_ORIGIN_TRACKER_ADMIN_COMPACT_RESET_V7 */


/* RFB_ORIGIN_TRACKER_BUYER_ICON_FIX_V8 */
.rfb-origin-story-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-direction:column !important;
  width:62px !important;
  height:62px !important;
  min-width:62px !important;
  max-width:62px !important;
  max-height:62px !important;
  border-radius:17px !important;
  padding:0 !important;
  line-height:1 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.rfb-origin-story-icon .rfb-origin-code{
  display:block !important;
  font-weight:900 !important;
  font-size:1rem !important;
  letter-spacing:.08em !important;
  line-height:1.05 !important;
}
.rfb-origin-story-icon .rfb-origin-mini{
  display:block !important;
  font-size:.55rem !important;
  letter-spacing:.12em !important;
  line-height:1.05 !important;
  opacity:.82 !important;
  margin-top:2px !important;
}
.rfb-origin-story-icon svg,
.rfb-origin-story-icon img{
  width:26px !important;
  height:26px !important;
  max-width:26px !important;
  max-height:26px !important;
}
/* /RFB_ORIGIN_TRACKER_BUYER_ICON_FIX_V8 */


/* RFB_ORIGIN_TRACKER_PNG_ICONS_BUYER_V9 */
.rfb-origin-story-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:66px !important;
  height:66px !important;
  min-width:66px !important;
  max-width:66px !important;
  max-height:66px !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:17px !important;
  box-sizing:border-box !important;
}
.rfb-origin-story-icon .rfb-origin-img{
  display:block !important;
  width:56px !important;
  height:56px !important;
  max-width:56px !important;
  max-height:56px !important;
  object-fit:contain !important;
  border-radius:12px !important;
  filter:drop-shadow(0 0 7px currentColor);
}
.rfb-origin-story-icon .rfb-origin-code,
.rfb-origin-story-icon .rfb-origin-mini{
  display:none !important;
}
/* /RFB_ORIGIN_TRACKER_PNG_ICONS_BUYER_V9 */


/* RFB_ORIGIN_TRACKER_PNG_HELPER_FIX_V10 */
.rfb-origin-story-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:70px !important;
  height:70px !important;
  min-width:70px !important;
  max-width:70px !important;
  max-height:70px !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:18px !important;
  box-sizing:border-box !important;
}
.rfb-origin-story-icon .rfb-origin-img{
  display:block !important;
  width:62px !important;
  height:62px !important;
  max-width:62px !important;
  max-height:62px !important;
  object-fit:contain !important;
  border-radius:13px !important;
}
.rfb-origin-story-icon .rfb-origin-code,
.rfb-origin-story-icon .rfb-origin-mini,
.rfb-origin-story-icon svg{
  display:none !important;
}
/* /RFB_ORIGIN_TRACKER_PNG_HELPER_FIX_V10 */


/* RFB_ORIGIN_TRACKER_BUYER_NEON_BOOST_V11 */
.rfb-origin-story-icon{
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(180deg, rgba(24,34,40,.40), rgba(6,10,14,.18)) !important;
  box-shadow:
    0 0 0 1px rgba(110,255,245,.18),
    0 0 14px rgba(58,255,235,.16),
    inset 0 0 16px rgba(255,255,255,.035) !important;
}

.rfb-origin-story-icon .rfb-origin-img{
  filter:
    brightness(1.12)
    saturate(1.18)
    contrast(1.05)
    drop-shadow(0 0 10px rgba(70,255,240,.58))
    drop-shadow(0 0 18px rgba(105,235,255,.34)) !important;
  transform: scale(1.05) !important;
}

.rfb-origin-story-icon:hover{
  box-shadow:
    0 0 0 1px rgba(120,255,248,.25),
    0 0 18px rgba(58,255,235,.23),
    0 0 30px rgba(118,195,255,.15),
    inset 0 0 18px rgba(255,255,255,.05) !important;
}

.rfb-origin-story-icon:hover .rfb-origin-img{
  filter:
    brightness(1.18)
    saturate(1.24)
    contrast(1.06)
    drop-shadow(0 0 12px rgba(70,255,240,.70))
    drop-shadow(0 0 22px rgba(105,235,255,.42)) !important;
}
/* /RFB_ORIGIN_TRACKER_BUYER_NEON_BOOST_V11 */

/* RFB_MOBILE_LESS_SCROLL_SAFE_CSS_V1_START */
/*
 RF Boneyard Mobile Less Scroll SAFE CSS v1
 Purpose: slightly reduce mobile vertical scrolling without changing homepage order,
 sponsor flow, product page logic, PHP, or desktop layout.
*/
@media (max-width: 800px) {
  html body .hero {
    padding-top: 42px !important;
    padding-bottom: 24px !important;
  }

  html body .hero-layout {
    gap: 20px !important;
  }

  html body .hero-actions {
    margin-top: 18px !important;
    margin-bottom: 16px !important;
  }

  html body .hero-machine {
    min-height: 285px !important;
  }

  html body .hero-badge-logo {
    width: min(215px, 62vw) !important;
  }
}

@media (max-width: 430px) {
  html body .hero {
    padding-top: 34px !important;
    padding-bottom: 20px !important;
  }

  html body .hero-layout {
    gap: 16px !important;
  }

  html body .hero-actions {
    margin-top: 15px !important;
    margin-bottom: 13px !important;
  }

  html body .hero-machine {
    min-height: 245px !important;
  }

  html body .hero-badge-logo {
    width: min(190px, 58vw) !important;
  }
}
/* RFB_MOBILE_LESS_SCROLL_SAFE_CSS_V1_END */
