  
  .select-plate-link { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-inter); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; border: 1px solid transparent; border-radius: var(--radius-btn); cursor: pointer; text-decoration: none; transition: background 300ms var(--liquid-ease), color 300ms var(--liquid-ease), border-color 300ms var(--liquid-ease), box-shadow 500ms var(--liquid-ease); }
  .select-plate-link:focus-visible { outline: none; box-shadow: 0 0 0 2px rgb(var(--circuit-glow) / 0.5); }
  .select-plate-link--sm { padding: 0 0.9rem; height: 36px; font-size: 0.7rem; }
  .select-plate-link--default { padding: 0 1.35rem; height: 44px; font-size: 0.78rem; }
  .select-plate-link--lg { padding: 0 1.75rem; height: 52px; font-size: 0.85rem; }
  .select-plate-link--bedrock { background: rgb(var(--circuit-glow)); border-color: rgb(var(--circuit-glow)); color: rgb(var(--ink-on-fill)); }
  .select-plate-link--bedrock:hover { border-color: rgb(var(--circuit-glow) / 0.6); box-shadow: 0 0 20px var(--circuit-dim); }
  .select-plate-link--bedrock:active { box-shadow: -4px 4px 0 rgb(var(--accent-red)); }
  .select-plate-link--outline { background: transparent; border-color: rgb(var(--circuit-glow) / 0.3); color: rgb(var(--circuit-glow)); }
  .select-plate-link--outline:hover { background: rgb(var(--circuit-glow) / 0.1); border-color: rgb(var(--circuit-glow) / 0.6); color: rgb(var(--circuit-glow)); }
  .select-plate-link--outline:active { border-color: rgb(var(--accent-red)); color: rgb(var(--accent-red)); box-shadow: -4px 4px 0 rgb(var(--accent-red)); }
  .select-plate-link--ghost { background: transparent; border-color: transparent; color: var(--text-muted); }
  .select-plate-link--ghost:hover { color: rgb(var(--circuit-glow)); text-shadow: 0 0 12px rgb(var(--circuit-glow) / 0.6); }
  .select-plate-link--ghost:active { box-shadow: -4px 4px 0 rgb(var(--accent-red)); }
  .select-plate-link[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
  .select-plate-link[aria-disabled="true"]:active { box-shadow: none; }
  .select-plate-field { position: relative; }
  .select-plate-fieldlabel { display: block; margin-bottom: 0.5rem; color: var(--text-muted); }
  .select-plate-select, .select-plate-input { box-sizing: border-box; display: block; width: 100%; padding: 10px 14px; font-family: var(--font-inter); font-size: 14px; color: rgb(var(--text)); background: rgb(var(--basalt-surface) / 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.3s var(--liquid-ease); }
  .select-plate-input::placeholder { color: var(--text-muted); }
  .select-plate-select:hover, .select-plate-input:hover { border-color: rgb(var(--circuit-glow) / 0.3); }
  .select-plate-select:focus, .select-plate-input:focus { outline: none; border-color: rgb(var(--circuit-glow) / 0.5); box-shadow: 0 0 0 3px rgb(var(--circuit-glow) / 0.5); }
  .select-plate-select:disabled, .select-plate-input:disabled { opacity: 0.5; cursor: not-allowed; }
  .select-plate-stats, .select-plate-statvalue { margin: 0; }
  .select-plate-ctasub { margin: 0 0 1.5rem; color: var(--text-muted); }
  .select-plate-hint { display: block; margin-top: 0.375rem; font-size: 0.75rem; line-height: 1.4; color: var(--text-muted); }
  @media (prefers-reduced-motion: reduce) {
    .select-plate-link, .select-plate-select, .select-plate-input { transition-duration: 150ms; }
  }
/* The stored design’s own stylesheet (hifi-styles.css), rule-for-rule, scoped
   under #sel so the door-scoped names can never collide with the shell’s
   aaas-ui-* classes. html/body/:root bare rules dropped: the shell document
   owns those; the body’s tokens ride the wrapper. The design’s fixed nav
   renders FIXED, as the design has it — the shell chrome on this door page is
   neutralised below (door-local crop parity, charter fix2.1445 AC6), so the
   door owns the fixed chrome the way the stored design does. The keyframes
   stay global exactly as the design ships them. */
#sel { position: relative; z-index: 0; background: rgb(var(--basalt-deep)); color: rgb(var(--text)); overflow-x: hidden; }

/* Door-local shell-frame neutralisation (crop parity with the stored design,
   whose body is margin 0 and whose own fixed nav is the top chrome). This
   file is linked only by this door's page, so these page-scoped overrides
   touch no other door. The design document renders with body margin 0 and no
   shell header; the shell's 8px body margin and 6.5rem/1.5rem main padding
   shifted the design region's crop origin to (32,112) and the fixed shell
   header overlaid the design's own nav. */
body { margin: 0; }
.aaas-ui-header { display: none; }
.aaas-ui-heartbeat { display: none; }
main.aaas-ui-main { padding: 0; }
/* ============ Background system (hifi-styles.css) ============
   The design's body paints opaque over its negative layers, so they run but do not show. #sel is that
   opaque layer here, and it is a stacking context: the layers have to sit outside it to stay under it. */
#sel-under .bg-stage { position: fixed; inset: 0; z-index: -4;
  background: radial-gradient(ellipse at 50% 30%, rgb(30 30 34) 0%, rgb(8 8 9) 68%); }
#sel-under .bg-merge { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
#sel-under .merge-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.12; }
#sel-under .mb1 { width: 540px; height: 540px; background: rgb(var(--circuit-glow)); top: -12%; left: -8%; animation: drift 26s ease-in-out infinite; }
#sel-under .mb2 { width: 420px; height: 420px; background: rgb(var(--accent-red)); bottom: -10%; right: -6%; animation: drift 30s ease-in-out infinite reverse; }
#sel-under .mb3 { width: 360px; height: 360px; background: rgb(var(--accent-teal)); top: 46%; right: 32%; animation: drift 34s ease-in-out infinite; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(12vw, -8vh) scale(1.1); }
  66% { transform: translate(-8vw, 12vh) scale(0.9); }
}
#sel-under .bg-grain { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.015; mix-blend-mode: overlay; }
#sel .bg-sheen { position: fixed; inset: 0; z-index: 80; pointer-events: none;
  background: linear-gradient(135deg, transparent 42%, rgba(255,255,255,0.012) 50%, transparent 58%); }
#sel /* ============================================================
   AaaS Select — Hi-Fi Homepage
   Built on the Basalt + Circuit design system.
   Extends the canonical token sheet
   (../../../_ds/aaas-design-system-2216a8d1-f354-4115-9de4-7172d50864b1/colors_and_type.css;
   do not redefine tokens here).
   ============================================================ */

* { box-sizing: border-box; }
#sel /* ============ Navbar ============ */
.nav-root { position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgb(26 26 28 / 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
#sel .nav-inner { max-width: 1500px; margin: 0 auto; height: 72px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#sel .brand { display: flex; align-items: center; gap: 10px; padding-left: 14px;
  border-left: 2px solid rgb(var(--circuit-glow)); text-decoration: none; }
#sel .brand-pulse { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--circuit-glow));
  box-shadow: 0 0 8px rgb(var(--circuit-glow)); animation: brand-dual 3s ease-in-out infinite; flex-shrink: 0; }

@keyframes brand-dual {
  0%,49% { background: rgb(var(--circuit-glow)); box-shadow: 0 0 8px rgb(var(--circuit-glow)); }
  50%,100% { background: rgb(var(--accent-red)); box-shadow: 0 0 8px rgb(var(--accent-red)); }
}
#sel .brand-text { font-family: var(--font-jetbrains); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.28rem; color: rgb(var(--text)); font-weight: 500; }
#sel .nav-links { display: flex; align-items: center; gap: 30px; }
#sel .nav-link { font-family: var(--font-jetbrains); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(224,224,222,0.62); background: none; border: none; cursor: pointer;
  padding: 0; transition: color 0.3s var(--liquid-ease); text-decoration: none; }
#sel .nav-link:hover { color: rgb(var(--circuit-glow)); text-shadow: 0 0 10px rgb(var(--circuit-glow)); }
#sel .nav-actions { display: flex; align-items: center; gap: 12px; }
#sel .nav-search { display: flex; align-items: center; gap: 10px; padding: 7px 12px;
  background: rgb(8 8 9 / 0.5); border: 1px solid rgba(255,255,255,0.08); border-radius: 0.6rem;
  color: rgba(224,224,222,0.62); cursor: pointer; transition: all 0.3s var(--liquid-ease); min-width: 180px; }
#sel .nav-search:hover { border-color: rgb(var(--circuit-glow) / 0.3); }
#sel .nav-search .kbd { margin-left: auto; }
#sel .kbd { font-family: var(--font-jetbrains); font-size: 10px; padding: 2px 6px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; color: rgba(224,224,222,0.62);
  background: rgba(255,255,255,0.02); }
#sel .nav-cta { padding: 0.45rem 1.1rem; font-family: var(--font-inter); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: rgb(var(--basalt-deep)); background: rgb(var(--text));
  border: none; border-radius: 0.6rem; cursor: pointer; transition: all 0.4s var(--liquid-ease); text-decoration: none; }
#sel .nav-cta:hover { transform: translate(2px,-2px); box-shadow: -3px 3px 0 rgb(var(--circuit-glow)); }
@media (max-width: 880px) {#sel .nav-links, #sel .nav-search { display: none; }}
#sel /* ============ Page shell ============ */
.page { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) {#sel .page { padding: 0 18px; }}
#sel .sec-eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-inter);
  font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18rem;
  color: rgb(var(--accent-red)); margin-bottom: 18px; }
#sel .sec-eyebrow::before { content: ""; width: 22px; height: 2px; background: rgb(var(--accent-red));
  box-shadow: 0 0 8px rgba(244,63,108,0.4); }
#sel .sec-eyebrow .num { font-family: var(--font-jetbrains); color: rgba(224,224,222,0.62); }
#sel /* ============ §1 HERO ============ */
.hero { padding: 124px 0 64px; position: relative; }
#sel .hero-inner { max-width: 920px; margin: 0 auto; text-align: center; }
#sel .hero-eyebrow { justify-content: center; }
#sel .hero-h1 { font-family: var(--font-inter); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.05em; line-height: 0.84; font-size: clamp(3rem, 8vw, 6.5rem); margin: 0 0 26px;
  background: linear-gradient(180deg, #fff 0%, rgba(224,224,222,0.5) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#sel .hero-h1 .dot { color: rgb(var(--accent-red)); -webkit-text-fill-color: rgb(var(--accent-red)); }
#sel /* Command palette */
.cmd { max-width: 820px; margin: 0 auto; text-align: left;
  background: rgb(8 8 9 / 0.72); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 0.9rem; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 70px rgba(0,0,0,0.5), 0 0 50px rgb(var(--circuit-glow) / 0.06); }
#sel .cmd-head { display: flex; align-items: center; gap: 10px; padding: 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06); background: rgb(8 8 9 / 0.5); }
#sel .t-dots { display: flex; gap: 6px; }
#sel .td { width: 10px; height: 10px; border-radius: 50%; display: block; }
#sel .td-r { background: rgba(244,63,108,0.5); }
#sel .td-c { background: rgba(0,243,255,0.35); }
#sel .td-t { background: rgba(0,212,184,0.5); }
#sel .cmd-title { font-family: var(--font-jetbrains); font-size: 9.5px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.15rem; margin-left: 4px; }
#sel .cmd-live { margin-left: auto; display: flex; align-items: center; gap: 7px; font-family: var(--font-jetbrains);
  font-size: 9.5px; color: rgb(var(--circuit-glow)); text-transform: uppercase; letter-spacing: 0.1em; }
#sel .cmd-body { padding: 30px 30px 26px; }
#sel .cmd-prompt-label { font-family: var(--font-jetbrains); font-size: 11px; color: rgb(var(--circuit-glow) / 0.8);
  margin-bottom: 14px; }
#sel .cmd-prompt { display: flex; align-items: flex-start; gap: 16px; }
#sel .cmd-caret { font-family: var(--font-inter); font-weight: 900; font-size: clamp(2rem,5vw,3rem);
  color: rgb(var(--circuit-glow)); line-height: 0.9; flex-shrink: 0;
  text-shadow: 0 0 16px rgb(var(--circuit-glow) / 0.5); }
#sel .cmd-text { flex: 1; font-family: var(--font-inter); font-weight: 600; font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.18; color: #fff; min-height: 2.4em; }
#sel .cmd-typed { border-bottom: 2px dashed rgb(var(--circuit-glow) / 0.55); padding-bottom: 2px; }
#sel .cmd-cursor { display: inline-block; width: 12px; height: 1.05em; background: rgb(var(--circuit-glow));
  margin-left: 4px; transform: translateY(3px); animation: cursor-blink 1.05s steps(2) infinite;
  box-shadow: 0 0 12px rgb(var(--circuit-glow) / 0.6); }

@keyframes cursor-blink { 50% { opacity: 0.25; } }
#sel .cmd-hint { font-family: var(--font-jetbrains); font-size: 11px; color: rgba(224,224,222,0.62);
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#sel .cmd-hint .key { font-family: var(--font-jetbrains); font-size: 10px; padding: 2px 7px;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 4px; color: rgba(224,224,222,0.7); }
#sel /* match chips */
.matches { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 820px;
  margin: 22px auto 0; }
#sel .matches-label { font-family: var(--font-jetbrains); font-size: 10px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.12em; }
#sel .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.12); background: rgb(26 26 28 / 0.5); cursor: pointer;
  font-family: var(--font-jetbrains); font-size: 11px; color: rgba(224,224,222,0.7);
  transition: all 0.3s var(--liquid-ease); }
#sel .chip:hover { border-color: rgb(var(--circuit-glow) / 0.4); color: rgb(var(--text)); }
#sel .chip.is-top { border-color: rgb(var(--circuit-glow)); background: rgb(var(--circuit-glow) / 0.1);
  color: rgb(var(--circuit-glow)); box-shadow: 0 0 18px rgb(var(--circuit-glow) / 0.15); }
#sel .chip .pct { color: rgba(224,224,222,0.62); }
#sel .chip.is-top .pct { color: rgb(var(--circuit-glow) / 0.7); }
#sel .matches-live { margin-left: auto; font-family: var(--font-jetbrains); font-size: 10px;
  color: rgba(224,224,222,0.62); display: flex; align-items: center; gap: 7px; }
#sel /* ============ Section heading ============ */
.section { padding: 56px 0; }
#sel .section-head { margin-bottom: 30px; }
#sel .section-h2 { font-family: var(--font-inter); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.025em; line-height: 1.0; font-size: clamp(1.8rem, 4vw, 3rem); margin: 0; max-width: 820px;
  background: linear-gradient(180deg, #fff 0%, rgba(224,224,222,0.5) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#sel .section-h2 .dot { color: rgb(var(--circuit-glow)); -webkit-text-fill-color: rgb(var(--circuit-glow)); }
#sel .section-sub { font-size: 0.98rem; line-height: 1.6; color: rgba(224,224,222,0.62); max-width: 560px; margin: 14px 0 0; }
#sel /* ============ §2 INBOX ============ */
.inbox { display: grid; grid-template-columns: 220px 360px 1fr; height: 600px;
  background: rgb(26 26 28 / 0.55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 0.9rem; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 50px rgba(0,0,0,0.35); }
@media (max-width: 980px) {#sel .inbox { grid-template-columns: 1fr; height: auto; }
#sel .inbox-folders, #sel .inbox-list { display: none; }}
#sel /* folders */
.inbox-folders { border-right: 1px solid rgba(255,255,255,0.06); padding: 18px 14px; overflow-y: auto; }
#sel .fld-group { font-family: var(--font-jetbrains); font-size: 9.5px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.12em; margin: 4px 6px 10px; }
#sel .fld { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px;
  border-radius: 0.5rem; cursor: pointer; border-left: 2px solid transparent;
  transition: all 0.2s var(--liquid-ease); }
#sel .fld:hover { background: rgba(255,255,255,0.03); }
#sel .fld.is-active { background: rgb(var(--circuit-glow) / 0.08); border-left-color: rgb(var(--circuit-glow)); }
#sel .fld-name { font-family: var(--font-inter); font-size: 13px; color: rgba(224,224,222,0.75); font-weight: 500; }
#sel .fld.is-active .fld-name { color: rgb(var(--circuit-glow)); }
#sel .fld-count { font-family: var(--font-jetbrains); font-size: 10px; color: rgba(224,224,222,0.62); }
#sel .cat { display: flex; align-items: center; gap: 9px; padding: 6px 8px; cursor: pointer; border-radius: 0.4rem;
  transition: background 0.2s; }
#sel .cat:hover { background: rgba(255,255,255,0.02); }
#sel .cat-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
#sel .cat-name { font-family: var(--font-inter); font-size: 12.5px; color: rgba(224,224,222,0.62); }
#sel /* list */
.inbox-list { border-right: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; overflow: hidden; }
#sel .list-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
#sel .list-head .lh-label { font-family: var(--font-jetbrains); font-size: 10px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.1em; }
#sel .list-head .lh-filter { font-family: var(--font-jetbrains); font-size: 10px; color: rgb(var(--circuit-glow));
  text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; }
#sel .list-scroll { overflow-y: auto; flex: 1; }
#sel .msg { display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer; border-left: 3px solid transparent; transition: all 0.2s var(--liquid-ease); }
#sel .msg:hover { background: rgba(255,255,255,0.025); }
#sel .msg.is-sel { background: rgb(var(--circuit-glow) / 0.07); border-left-color: rgb(var(--circuit-glow)); }
#sel .msg-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-jetbrains);
  font-weight: 500; font-size: 14px; background: rgb(var(--circuit-glow) / 0.12);
  border: 1px solid rgb(var(--circuit-glow) / 0.3); color: rgb(var(--circuit-glow)); }
#sel .msg-avatar.is-red { background: rgb(var(--accent-red) / 0.12); border-color: rgb(var(--accent-red) / 0.3); color: rgb(var(--accent-red)); }
#sel .msg-avatar.is-teal { background: rgb(var(--accent-teal) / 0.12); border-color: rgb(var(--accent-teal) / 0.3); color: rgb(var(--accent-teal)); }
#sel .msg-avatar.is-lav { background: rgb(var(--pastel-lavender) / 0.14); border-color: rgb(var(--pastel-lavender) / 0.35); color: rgb(var(--pastel-lavender)); }
#sel .msg-body { flex: 1; min-width: 0; }
#sel .msg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
#sel .msg-name { font-family: var(--font-inter); font-size: 14px; font-weight: 600; color: rgb(var(--text));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sel .msg-time { font-family: var(--font-jetbrains); font-size: 9px; color: rgba(224,224,222,0.62); flex-shrink: 0; }
#sel .msg-handle { font-family: var(--font-jetbrains); font-size: 9.5px; color: rgba(224,224,222,0.62); margin-top: 2px; }
#sel .msg-snippet { font-size: 12px; line-height: 1.35; margin-top: 5px; color: rgba(224,224,222,0.62); }
#sel .msg-snippet.is-circuit { color: rgb(var(--circuit-glow) / 0.85); }
#sel .msg-snippet.is-red { color: rgb(var(--accent-red)); }
#sel .msg-unread { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--circuit-glow));
  box-shadow: 0 0 6px rgb(var(--circuit-glow)); margin-top: 6px; flex-shrink: 0; }
#sel /* preview pane */
.inbox-preview { padding: 24px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
#sel .pv-head { display: flex; align-items: center; gap: 14px; }
#sel .pv-avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-jetbrains);
  font-weight: 600; font-size: 20px; }
#sel .pv-name { font-family: var(--font-inter); font-size: 1.35rem; font-weight: 600; color: rgb(var(--text)); line-height: 1.1; }
#sel .pv-handle { font-family: var(--font-jetbrains); font-size: 11px; color: rgb(var(--circuit-glow)); margin-top: 3px; }
#sel .pv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05); border-radius: 0.6rem; overflow: hidden; }
#sel .pv-stat { background: rgb(8 8 9 / 0.4); padding: 12px 10px; }
#sel .pv-stat .k { font-family: var(--font-jetbrains); font-size: 8.5px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.08em; }
#sel .pv-stat .v { font-family: var(--font-inter); font-weight: 700; font-size: 1.1rem; color: rgb(var(--text)); margin-top: 4px; }
#sel .compose { background: rgb(8 8 9 / 0.4); border: 1px solid rgba(255,255,255,0.07); border-radius: 0.7rem; padding: 16px; }
#sel .compose-label { font-family: var(--font-jetbrains); font-size: 9.5px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
#sel .compose-row { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: start; margin-bottom: 9px; }
#sel .compose-row .cr-k { font-family: var(--font-jetbrains); font-size: 10px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; padding-top: 2px; }
#sel .compose-row .cr-v { font-family: var(--font-inter); font-size: 13px; color: rgba(224,224,222,0.85); line-height: 1.4; }
#sel .compose-row .cr-v.is-circuit { color: rgb(var(--circuit-glow)); font-family: var(--font-jetbrains); font-size: 12px; }
#sel .compose-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px;
  padding-top: 13px; border-top: 1px solid rgba(255,255,255,0.06); }
#sel .compose-est { font-family: var(--font-jetbrains); font-size: 11px; color: rgb(var(--accent-red)); }
#sel /* small button used in panes */
.btn-cyan-sm { padding: 0.5rem 0.95rem; background: rgb(var(--circuit-glow)); color: #00181c;
  font-family: var(--font-inter); font-weight: 700; text-transform: uppercase; font-size: 0.68rem;
  letter-spacing: 0.03em; border: none; border-radius: 0.55rem; cursor: pointer;
  transition: all 0.3s var(--liquid-ease); white-space: nowrap; }
#sel .btn-cyan-sm:hover { box-shadow: 0 0 20px rgb(var(--circuit-glow) / 0.4); transform: translateY(-1px); }
#sel .btn-ghost-sm { padding: 0.5rem 0.95rem; background: transparent; color: rgb(var(--circuit-glow));
  font-family: var(--font-inter); font-weight: 600; text-transform: uppercase; font-size: 0.68rem;
  letter-spacing: 0.03em; border: 1px solid rgb(var(--circuit-glow) / 0.3); border-radius: 0.55rem; cursor: pointer;
  transition: all 0.3s var(--liquid-ease); white-space: nowrap; }
#sel .btn-ghost-sm:hover { background: rgb(var(--circuit-glow) / 0.1); border-color: rgb(var(--circuit-glow) / 0.6); }
#sel /* ============ §3 RECEIPT ============ */
.receipt-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
@media (max-width: 980px) {#sel .receipt-grid { grid-template-columns: 1fr; }}
#sel .panel { background: rgb(26 26 28 / 0.55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 0.8rem; padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
#sel .panel + .panel { margin-top: 20px; }
#sel .rc-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
#sel .rc-avatar { width: 76px; height: 76px; border-radius: 1rem; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; font-family: var(--font-jetbrains); font-weight: 600; font-size: 30px; }
#sel .rc-handle { font-family: var(--font-jetbrains); font-size: 12px; color: rgb(var(--circuit-glow)); }
#sel .rc-name { font-family: var(--font-inter); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 0.95; margin: 4px 0 8px;
  background: linear-gradient(180deg, #fff 0%, rgba(224,224,222,0.55) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#sel .rc-name .dot { color: rgb(var(--circuit-glow)); -webkit-text-fill-color: rgb(var(--circuit-glow)); }
#sel .rc-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-jetbrains);
  font-size: 11px; color: rgba(224,224,222,0.62); }
#sel .rc-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 9999px;
  border: 1px solid rgb(var(--circuit-glow) / 0.3); background: rgb(var(--circuit-glow) / 0.08);
  color: rgb(var(--circuit-glow)); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; }
#sel /* the anatomy bar */
.anat-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
#sel .anat-tag { font-family: var(--font-jetbrains); font-size: 10px; color: rgb(var(--accent-red));
  text-transform: uppercase; letter-spacing: 0.12em; }
#sel .anat-title { font-family: var(--font-inter); font-weight: 600; font-size: 1.15rem; color: rgb(var(--text)); margin-top: 6px; }
#sel .anat-aside { font-family: var(--font-jetbrains); font-size: 10px; color: rgba(224,224,222,0.62); }
#sel .anat-bar { display: flex; height: 46px; border-radius: 0.5rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
#sel .anat-seg { display: flex; align-items: center; justify-content: center; font-family: var(--font-jetbrains);
  font-size: 11px; position: relative; transition: all 0.4s var(--liquid-ease); }
#sel .anat-seg.s-inf { background: rgb(var(--circuit-glow) / 0.25); color: rgb(var(--circuit-glow)); }
#sel .anat-seg.s-com { background: rgb(var(--accent-red) / 0.12); color: rgb(var(--accent-red)); }
#sel .anat-seg.s-fee { background: rgba(255,255,255,0.12); }
#sel .anat-seg.s-bld { background: rgb(var(--pastel-gold) / 0.28); color: rgb(var(--pastel-gold));
  font-family: var(--font-inter); font-weight: 700; font-size: 13px; }
#sel .anat-lines { margin-top: 18px; display: flex; flex-direction: column; gap: 0; }
#sel .anat-line { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
#sel .anat-line:last-child { border-bottom: none; }
#sel .anat-swatch { width: 11px; height: 11px; border-radius: 3px; }
#sel .anat-label { font-family: var(--font-inter); font-size: 13px; color: rgba(224,224,222,0.8); }
#sel .anat-dollar { font-family: var(--font-inter); font-weight: 700; font-size: 15px; color: rgb(var(--text)); text-align: right; }
#sel .anat-pct { font-family: var(--font-jetbrains); font-size: 11px; color: rgba(224,224,222,0.62); text-align: right; width: 36px; }
#sel .anat-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
#sel .anat-total .lab { font-family: var(--font-inter); font-weight: 600; font-size: 1.05rem; color: rgb(var(--text)); }
#sel .anat-total .val { font-family: var(--font-inter); font-weight: 900; font-size: 2.2rem; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#sel /* sample run */
.run-tag { font-family: var(--font-jetbrains); font-size: 9.5px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
#sel .run-q { font-family: var(--font-inter); font-weight: 600; font-size: 1.05rem; color: rgb(var(--text)); margin-bottom: 14px; }
#sel .run-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
#sel .run-stat .k { font-family: var(--font-jetbrains); font-size: 8.5px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.08em; }
#sel .run-stat .v { font-family: var(--font-inter); font-weight: 700; font-size: 1.3rem; color: rgb(var(--text)); margin-top: 4px; }
#sel .run-stat .v.is-circuit { color: rgb(var(--circuit-glow)); }
#sel .run-link { font-family: var(--font-jetbrains); font-size: 10px; color: rgb(var(--circuit-glow));
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 16px; cursor: pointer; display: inline-block; }
#sel /* tabs */
.rc-tabs { display: flex; gap: 22px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
#sel .rc-tab { font-family: var(--font-jetbrains); font-size: 11px; color: rgba(224,224,222,0.62); cursor: pointer;
  padding-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid transparent;
  background: none; border-top: none; border-left: none; border-right: none; transition: all 0.2s; }
#sel .rc-tab:hover { color: rgba(224,224,222,0.8); }
#sel .rc-tab.is-active { color: rgb(var(--text)); border-bottom-color: rgb(var(--circuit-glow)); }
#sel /* right rail */
.rail-tag { font-family: var(--font-jetbrains); font-size: 9.5px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
#sel .builder-row { display: flex; align-items: center; gap: 12px; }
#sel .builder-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; font-family: var(--font-jetbrains); font-weight: 600; font-size: 18px;
  background: rgb(var(--pastel-gold) / 0.18); border: 1px solid rgb(var(--pastel-gold) / 0.35); color: rgb(var(--pastel-gold)); }
#sel .builder-name { font-family: var(--font-inter); font-weight: 600; font-size: 1.05rem; color: rgb(var(--text)); }
#sel .builder-handle { font-family: var(--font-jetbrains); font-size: 10.5px; color: rgba(224,224,222,0.62); margin-top: 2px; }
#sel .builder-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
#sel .builder-stat { background: rgb(8 8 9 / 0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 0.5rem;
  padding: 10px 8px; text-align: center; }
#sel .builder-stat .k { font-family: var(--font-jetbrains); font-size: 8px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.06em; }
#sel .builder-stat .v { font-family: var(--font-inter); font-weight: 700; font-size: 0.95rem; color: rgb(var(--text)); margin-top: 3px; }
#sel .run-panel { border: 1px solid rgb(var(--circuit-glow) / 0.35); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 30px rgb(var(--circuit-glow) / 0.06); }
#sel .run-panel-tag { font-family: var(--font-jetbrains); font-size: 9.5px; color: rgb(var(--circuit-glow));
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
#sel .run-panel-title { font-family: var(--font-inter); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: 1.3rem; color: rgb(var(--text)); margin-bottom: 14px; }
#sel .run-input { background: rgb(8 8 9 / 0.5); border: 1px solid rgba(255,255,255,0.08); border-radius: 0.5rem;
  padding: 11px 13px; font-family: var(--font-inter); font-size: 13px; color: rgba(224,224,222,0.62); margin-bottom: 12px; }
#sel .run-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,0.06); }
#sel .run-cost .k { font-family: var(--font-jetbrains); font-size: 8.5px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.06em; }
#sel .run-cost .v { font-family: var(--font-inter); font-weight: 800; font-size: 1.3rem; color: rgb(var(--text)); margin-top: 2px; }
#sel .run-note { font-family: var(--font-inter); font-size: 10.5px; color: rgba(224,224,222,0.62); margin-top: 10px; line-height: 1.4; }
#sel .email-box { display: flex; align-items: center; gap: 8px; padding: 11px 13px; background: rgb(8 8 9 / 0.5);
  border: 1px dashed rgba(255,255,255,0.14); border-radius: 0.5rem; }
#sel .email-addr { font-family: var(--font-jetbrains); font-size: 12px; color: rgb(var(--circuit-glow)); }
#sel .email-copy { margin-left: auto; width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1);
  background: none; color: rgba(224,224,222,0.62); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; }
#sel .email-copy:hover { color: rgb(var(--circuit-glow)); border-color: rgb(var(--circuit-glow) / 0.3); }
#sel .integ-chips { display: flex; gap: 8px; margin-top: 12px; }
#sel .integ-chip { font-family: var(--font-jetbrains); font-size: 10px; padding: 4px 10px; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1); color: rgba(224,224,222,0.62); text-transform: uppercase; letter-spacing: 0.05em; }
#sel .fair { background: rgb(var(--pastel-gold) / 0.08); border: 1px solid rgb(var(--pastel-gold) / 0.25);
  border-radius: 0.7rem; padding: 16px; }
#sel .fair-text { font-family: var(--font-inter); font-size: 12.5px; line-height: 1.55; color: rgba(224,224,222,0.75); }
#sel .fair-text strong { color: rgb(var(--pastel-gold)); font-weight: 700; }
#sel /* ============ Footer ============ */
.footer { margin-top: 60px; padding: 48px 0 36px; border-top: 1px solid var(--border); }
#sel .footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
#sel .footer-logo { height: 24px; opacity: 0.9; margin-bottom: 12px; }
#sel .footer-tag { font-size: 0.82rem; line-height: 1.55; color: rgba(224,224,222,0.62); max-width: 280px; margin: 0; }
#sel .footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
#sel .footer-h { font-family: var(--font-jetbrains); font-size: 10px; color: rgb(var(--circuit-glow));
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
#sel .footer-col a { display: block; font-family: var(--font-jetbrains); font-size: 0.72rem; color: rgba(224,224,222,0.62);
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 9px; transition: color 0.2s; }
#sel .footer-col a:hover { color: rgb(var(--circuit-glow)); }
#sel .footer-base { display: flex; justify-content: space-between; align-items: center; margin-top: 40px;
  padding-top: 22px; border-top: 1px solid var(--border); font-family: var(--font-jetbrains);
  font-size: 10px; color: rgba(224,224,222,0.62); text-transform: uppercase; letter-spacing: 0.08em; }
#sel /* seam connector */
.seam { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 8px 0 0; }
#sel .seam-line { width: 1px; height: 36px; background: linear-gradient(180deg, transparent, rgb(var(--circuit-glow) / 0.4)); }
#sel .seam-label { font-family: var(--font-jetbrains); font-size: 10px; color: rgba(224,224,222,0.62);
  text-transform: uppercase; letter-spacing: 0.1em; }
#sel .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
#sel .status-dot.dual { background: rgb(var(--circuit-glow)); animation: dual 3s ease-in-out infinite; }

@keyframes dual { 0%,49% { background: rgb(var(--circuit-glow)); box-shadow: 0 0 6px rgb(var(--circuit-glow)); }
  50%,100% { background: rgb(var(--accent-red)); box-shadow: 0 0 6px rgb(var(--accent-red)); } }
#sel .status-dot.is-circuit { background: rgb(var(--circuit-glow)); box-shadow: 0 0 6px rgb(var(--circuit-glow)); animation: pulse 1.5s ease-in-out infinite; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

#sel /* controls that became links (nd19): keep the buttons' box and look */
a.chip, #sel a.btn-cyan-sm, #sel a.btn-ghost-sm, #sel a.run-link, #sel a.seam-label { text-decoration: none; }
#sel a.btn-cyan-sm, #sel a.btn-ghost-sm { display: inline-block; }
#sel a.btn-cyan-sm { color: #00181c; }
#sel /* receipt tabs without script: one radio per tab, the label is the tab */
.rc-panel { position: relative; }
#sel .rc-radio { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
#sel label.rc-tab { display: inline-block; }
#sel .rc-pane { display: none; }
#sel #rc-t-sample:checked ~ .rc-pane-sample, #sel #rc-t-reviews:checked ~ .rc-pane-reviews,
#sel #rc-t-how:checked ~ .rc-pane-how, #sel #rc-t-api:checked ~ .rc-pane-api { display: block; }
#sel #rc-t-sample:checked ~ .rc-tabs [for="rc-t-sample"], #sel #rc-t-reviews:checked ~ .rc-tabs [for="rc-t-reviews"],
#sel #rc-t-how:checked ~ .rc-tabs [for="rc-t-how"], #sel #rc-t-api:checked ~ .rc-tabs [for="rc-t-api"] {
  color: rgb(var(--text)); border-bottom-color: rgb(var(--circuit-glow)); }
#sel .rc-radio:focus-visible ~ .rc-tabs .rc-tab { outline: none; }
#sel #rc-t-sample:focus-visible ~ .rc-tabs [for="rc-t-sample"], #sel #rc-t-reviews:focus-visible ~ .rc-tabs [for="rc-t-reviews"],
#sel #rc-t-how:focus-visible ~ .rc-tabs [for="rc-t-how"], #sel #rc-t-api:focus-visible ~ .rc-tabs [for="rc-t-api"] {
  text-shadow: 0 0 10px rgb(var(--circuit-glow)); }
