.sealed-portfolio-page {
  background:
    radial-gradient(
      circle at 16% 8%,
      rgba(75, 23, 33, 0.62),
      transparent 34rem
    ),
    radial-gradient(
      circle at 86% 12%,
      rgba(45, 22, 50, 0.48),
      transparent 32rem
    ),
    radial-gradient(
      circle at 55% 92%,
      rgba(58, 23, 14, 0.42),
      transparent 40rem
    ),
    linear-gradient(180deg, #0d0610, #070a0f 42%, #09050a);
}

.sealed-shell {
  width: min(1440px, 100%);
  padding-inline: clamp(14px, 3vw, 32px);
}

.sealed-portfolio-page [hidden] {
  display: none !important;
}

.sp-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(248, 200, 107, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.96), rgba(9, 13, 20, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  padding: clamp(16px, 3vw, 24px);
}

.sp-hero,
.sp-dashboard-head,
.sp-product-head,
.sp-account-summary,
.sp-preview-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.sp-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
}

.sp-product-head {
  grid-template-columns: minmax(0, 1fr);
}

.sp-dashboard-head--collection {
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2fr);
}

.sp-dashboard-head--collection > .sp-actions {
  min-width: 0;
  justify-content: flex-end;
}

.sp-kicker,
.sp-metric-label {
  margin: 0;
  color: var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sp-panel h1,
.sp-panel h2,
.sp-panel h3,
.sp-auth-card h2 {
  margin: 0;
  text-align: left;
}

.sp-panel p {
  margin: 0;
  color: var(--muted);
}

.sp-affiliate-disclosure {
  max-width: 78ch;
  margin: 4px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(248, 200, 107, 0.28);
  border-radius: 8px;
  background: rgba(248, 200, 107, 0.09);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Product headers have room for a full-width disclosure strip below the actions. */
.sealed-product-page .sp-product-head .sp-affiliate-disclosure {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.sealed-portfolio-page .affiliate-disclosure {
  margin: 6px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(248, 200, 107, 0.28);
  border-radius: 8px;
  background: rgba(248, 200, 107, 0.09);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

.sp-actions,
.sp-workflow-nav,
.sp-workflow-steps,
.sp-section-head,
.sp-section-actions,
.sp-inline-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sp-section-head {
  justify-content: space-between;
}

.sp-section-head--search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: end;
  gap: 12px 24px;
}

.sp-section-head--search .sp-inline-search {
  width: 100%;
  margin-left: 0;
}

.sp-section-actions {
  justify-content: flex-end;
  margin-left: auto;
}

.sp-section-actions .sp-segmented-control {
  flex: 0 0 auto;
}

.sp-section-actions .button {
  flex: 0 0 auto;
}

.sp-section-actions .sp-table-search {
  width: min(260px, 100%);
}

.sp-inline-search {
  display: flex;
  flex-wrap: nowrap;
  flex: 0 1 520px;
  align-items: end;
  width: min(520px, 100%);
  margin-left: auto;
}

.sp-inline-search label {
  flex: 1 1 auto;
  min-width: 0;
}

.sp-inline-search input {
  flex: 1 1 auto;
  min-width: 0;
}

.sp-inline-search .button {
  flex: 0 0 auto;
  width: 144px;
  min-height: 42px;
  align-self: end;
  white-space: nowrap;
}

.sp-inline-search .button:hover,
.sp-inline-search .button:focus-visible {
  transform: none;
}

.sp-inline-search .button.is-loading {
  cursor: wait;
  filter: none;
  opacity: 0.84;
  pointer-events: none;
}

.sp-inline-search .button.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: sp-button-spin 700ms linear infinite;
}

.sp-inline-search .button.is-loading::after {
  display: none;
}

@keyframes sp-button-spin {
  to {
    transform: rotate(360deg);
  }
}

.sp-account-bar {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(122, 162, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px 16px;
}

.sp-account-bar__summary {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sp-account-bar__summary strong {
  color: #f4f7ff;
  font-size: 0.95rem;
}

.sp-account-bar__settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px 16px;
  margin: 0;
}

.sp-account-bar__settings div {
  min-width: 0;
  border-left: 1px solid rgba(122, 162, 255, 0.26);
  padding-left: 10px;
}

.sp-account-bar__settings dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sp-account-bar__settings dd {
  margin: 3px 0 0;
  color: #f4f7ff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sp-account-bar__edit {
  justify-self: end;
  white-space: nowrap;
}

.sp-workflow-nav {
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: space-between;
  border: 1px solid rgba(122, 162, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.74);
  padding: 10px;
}

.sp-workflow-nav__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  flex: 1 1 auto;
  gap: 8px 12px;
  min-width: 0;
}

.sp-workflow-steps {
  flex: 1 1 auto;
  gap: 4px;
}

.sp-workflow-primary {
  grid-column: 1;
  grid-row: 1;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(122, 162, 255, 0.12);
}

.sp-workflow-decisions {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(165px, 1fr));
  gap: 8px;
}

.sp-workflow-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid rgba(122, 162, 255, 0.1);
  border-radius: 7px;
  background: rgba(122, 162, 255, 0.035);
  padding: 8px;
}

.sp-workflow-group.is-current-group {
  border-color: rgba(248, 200, 107, 0.24);
  background: rgba(248, 200, 107, 0.045);
}

.sp-workflow-group > div {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.sp-workflow-group > span {
  color: #aebbd0;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.2;
  padding-inline: 4px;
  text-transform: uppercase;
}

.sp-workflow-decisions a {
  min-height: 34px;
  font-size: 0.79rem;
  padding: 6px 9px;
}

.sp-workflow-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #cdd7e7;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.1;
  padding: 7px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.sp-workflow-nav a:hover,
.sp-workflow-nav a:focus-visible {
  border-color: rgba(122, 162, 255, 0.24);
  background: rgba(122, 162, 255, 0.08);
  color: #f4f7ff;
}

.sp-workflow-nav a.is-active {
  border-color: rgba(248, 200, 107, 0.42);
  background: rgba(248, 200, 107, 0.12);
  color: #fff2cf;
}

.sp-portfolio-tape {
  overflow: hidden;
  border: 1px solid rgba(248, 200, 107, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 21, 29, 0.98), rgba(6, 9, 15, 0.98)),
    #070b12;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.sp-portfolio-tape__head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(248, 200, 107, 0.18);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 9px 14px;
}

.sp-portfolio-tape__label {
  color: var(--brand-gold);
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sp-portfolio-tape__date {
  flex: 1;
  min-width: 0;
}

.sp-portfolio-tape__head a {
  color: #ffe5a8;
  font-weight: 800;
  text-decoration: none;
}

.sp-portfolio-tape__head a:hover,
.sp-portfolio-tape__head a:focus-visible {
  text-decoration: underline;
}

.sp-portfolio-tape__window {
  overflow: hidden;
}

.sp-portfolio-tape__track {
  display: flex;
  width: max-content;
  animation: sp-portfolio-tape-scroll var(--sp-portfolio-tape-duration, 58s) linear infinite;
}

.sp-portfolio-tape:hover .sp-portfolio-tape__track,
.sp-portfolio-tape:focus-within .sp-portfolio-tape__track {
  animation-play-state: paused;
}

.sp-portfolio-tape__item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--ink);
  font-size: 0.86rem;
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.sp-portfolio-tape__symbol {
  color: #ffe5a8;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sp-portfolio-tape__name {
  max-width: 170px;
  overflow: hidden;
  color: #dce6f4;
  font-weight: 750;
  text-overflow: ellipsis;
}

.sp-portfolio-tape__meta {
  color: var(--muted);
  font-weight: 800;
}

.sp-portfolio-tape__price,
.sp-portfolio-tape__change {
  font-weight: 850;
}

.sp-portfolio-tape__item.is-up .sp-portfolio-tape__change {
  color: #9ee7b6;
}

.sp-portfolio-tape__item.is-down .sp-portfolio-tape__change {
  color: #ffb2bd;
}

.sp-portfolio-tape__item.is-flat .sp-portfolio-tape__change {
  color: var(--muted);
}

@keyframes sp-portfolio-tape-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.sp-access-pill,
.sp-status,
.sp-lock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.sp-access-pill,
.sp-status {
  color: #ffe5a8;
  background: rgba(248, 200, 107, 0.1);
}

.sp-value-basis {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sp-value-basis--actual {
  color: #9ee7b6;
}

.sp-value-basis--market {
  color: #ffe5a8;
}

.sp-access-pill {
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}

.sp-lock-badge {
  min-height: 24px;
  border-color: rgba(122, 162, 255, 0.32);
  background: rgba(122, 162, 255, 0.12);
  color: #dbe6ff;
  font-size: 0.72rem;
  padding: 3px 8px;
  text-transform: uppercase;
}

.sp-section-note,
.sp-help-text {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.sp-section-note {
  margin: -4px 0 6px;
}

.sp-readout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.sp-readout-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sp-readout-main h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.sp-readout-link,
.sp-metric-link {
  align-self: flex-start;
  color: var(--brand-gold);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.sp-readout-link {
  margin-top: 8px;
}

.sp-metric-link {
  display: inline-block;
  margin-top: 8px;
}

.sp-readout-link:hover,
.sp-metric-link:hover {
  text-decoration: underline;
}

.sp-action-readout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sp-action-readout-grid article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.sp-action-readout-grid article > span,
.sp-action-readout-grid p {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sp-action-readout-grid strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: 1.05rem;
}

.sp-portfolio-summary {
  display: grid;
  gap: 14px;
}

.sp-summary-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.sp-summary-head h2 {
  margin: 3px 0 0;
  color: #f4f7ff;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.12;
  text-align: left;
}

.sp-summary-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.3;
  text-align: right;
}

.sp-summary-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.16fr) minmax(230px, 0.92fr) minmax(230px, 0.92fr);
  gap: 12px;
  align-items: stretch;
}

.sp-summary-group {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 26, 35, 0.95), rgba(9, 13, 20, 0.98)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  padding: 16px;
}

.sp-summary-group--value {
  border-color: rgba(248, 200, 107, 0.3);
  background:
    linear-gradient(180deg, rgba(28, 24, 15, 0.7), rgba(10, 14, 21, 0.98)),
    rgba(255, 255, 255, 0.04);
}

.sp-summary-group h3 {
  margin: 0;
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.sp-summary-list {
  display: grid;
  align-content: start;
  margin: 0;
}

.sp-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.sp-summary-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.sp-summary-item:last-child {
  padding-bottom: 0;
}

.sp-summary-item dt {
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
}

.sp-summary-item dt span {
  display: block;
  margin-top: 2px;
  color: rgba(220, 230, 244, 0.62);
  font-size: 0.68rem;
  font-weight: 750;
}

.sp-summary-item dt .sp-fee-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 6px;
  border: 1px solid rgba(255, 229, 168, 0.72);
  border-radius: 999px;
  background: var(--brand-gold);
  color: #090d13;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 4px 8px;
  text-transform: uppercase;
}

.sp-summary-item dd {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.sp-summary-item--primary {
  grid-template-columns: 1fr;
  gap: 5px;
  border-top: 0;
  border-bottom: 1px solid rgba(248, 200, 107, 0.18);
  margin-bottom: 2px;
  padding: 2px 0 14px;
}

.sp-summary-item--primary dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-summary-item--primary dd {
  display: flex;
  justify-content: flex-start;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  text-align: left;
  white-space: normal;
}

.sp-summary-group--value .sp-summary-item--primary dd {
  color: #fff7dc;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  line-height: 1.05;
}

.sp-summary-item--primary + .sp-summary-item {
  border-top: 0;
}

.sp-summary-item--locked dd {
  white-space: normal;
}

.sp-summary-item .sp-metric-link {
  margin-top: 0;
  font-size: 0.76rem;
}

.sp-summary-item.is-up dd {
  color: #9ee7b6;
}

.sp-summary-item.is-down dd {
  color: #ffb2bd;
}

.sp-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.sp-metric {
  min-height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
}

.sp-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-metric strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.15rem;
}

.sp-metric small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.sp-action-center-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
}

.sp-action-center-decisions,
.sp-action-center-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sp-action-center-decisions a,
.sp-action-center-links a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 100%;
  border: 1px solid rgba(122, 162, 255, 0.3);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(122, 162, 255, 0.09), rgba(122, 162, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 5px 14px rgba(0, 0, 0, 0.12);
  color: #f4f7ff;
  cursor: pointer;
  padding: 15px;
  position: relative;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.sp-action-center-decisions a:hover,
.sp-action-center-decisions a:focus-visible,
.sp-action-center-links a:hover,
.sp-action-center-links a:focus-visible {
  border-color: rgba(248, 200, 107, 0.64);
  background: rgba(248, 200, 107, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 22px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.sp-action-center-decisions strong,
.sp-action-center-links strong {
  color: #fff2cf;
  font-size: 0.96rem;
  line-height: 1.25;
}

.sp-action-center-decisions span,
.sp-action-center-links span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.sp-action-center-decisions a > span:not(.sp-action-center-card__cta),
.sp-action-center-links a > span {
  flex: 1 1 auto;
}

.sp-action-center-decisions .sp-action-center-card__cta {
  align-items: center;
  align-self: flex-start;
  border: 1px solid rgba(248, 200, 107, 0.32);
  border-radius: 999px;
  background: rgba(248, 200, 107, 0.08);
  color: #ffe5a8;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  line-height: 1;
  margin-top: 6px;
  padding: 6px 9px;
  text-transform: uppercase;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.sp-action-center-decisions a:hover .sp-action-center-card__cta,
.sp-action-center-decisions a:focus-visible .sp-action-center-card__cta {
  border-color: rgba(248, 200, 107, 0.7);
  background: rgba(248, 200, 107, 0.16);
  color: #fff4d2;
}

.sp-action-center-decisions a:focus-visible,
.sp-action-center-links a:focus-visible {
  outline: 2px solid rgba(248, 200, 107, 0.28);
  outline-offset: 3px;
}

.sp-action-center-decisions a:active,
.sp-action-center-links a:active {
  transform: translateY(0);
}

.sp-deck-radar-shell {
  gap: 16px;
}

.sp-deck-radar-shell .deck-radar-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  border: 1px solid rgba(248, 200, 107, 0.24);
  border-radius: 10px;
  background: rgba(6, 9, 15, 0.46);
  padding: 10px 12px;
}

.sp-deck-radar-shell .deck-radar-navigation__label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-deck-radar-shell .deck-radar-navigation__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-deck-radar-shell .deck-radar-navigation__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(248, 200, 107, 0.4);
  border-radius: 8px;
  background: rgba(248, 200, 107, 0.08);
  color: #ffe7ad;
  font-weight: 850;
  padding: 8px 16px;
  text-decoration: none;
}

.sp-deck-radar-shell .deck-radar-navigation__link:hover,
.sp-deck-radar-shell .deck-radar-navigation__link:focus-visible {
  border-color: rgba(248, 200, 107, 0.72);
  background: rgba(248, 200, 107, 0.16);
  color: #fff4d2;
  outline: 2px solid rgba(248, 200, 107, 0.18);
  outline-offset: 2px;
}

.sp-action-center-search {
  gap: 14px;
}

.sp-action-center-picker {
  display: grid;
  gap: 9px;
}

.sp-action-center-picker article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 12px 14px;
}

.sp-action-center-picker article > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sp-action-center-picker strong {
  color: #f4f7ff;
}

.sp-action-center-picker span {
  color: var(--muted);
  font-size: 0.8rem;
}

.sp-action-center-context {
  align-items: stretch;
}

.sp-action-center-context > .sp-panel {
  height: 100%;
}

.sp-action-center-warnings {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: #ffe5a8;
}

.sp-action-center-search-panel--compact {
  padding-block: 12px;
}

.sp-action-center-product-switcher > summary,
.sp-action-center-tool-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(248, 200, 107, 0.42);
  border-radius: 8px;
  background: rgba(248, 200, 107, 0.08);
  color: #ffe5a8;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
  padding: 8px 13px;
}

.sp-action-center-product-switcher > summary::-webkit-details-marker,
.sp-action-center-tool-menu > summary::-webkit-details-marker {
  display: none;
}

.sp-action-center-product-switcher > summary::after,
.sp-action-center-tool-menu > summary::after {
  content: "+";
  margin-left: 9px;
  color: var(--muted);
}

.sp-action-center-product-switcher[open] > summary::after,
.sp-action-center-tool-menu[open] > summary::after {
  content: "-";
}

.sp-action-center-product-switcher > summary:hover,
.sp-action-center-product-switcher > summary:focus-visible,
.sp-action-center-tool-menu > summary:hover,
.sp-action-center-tool-menu > summary:focus-visible {
  border-color: rgba(248, 200, 107, 0.76);
  background: rgba(248, 200, 107, 0.15);
  outline: 2px solid rgba(248, 200, 107, 0.16);
  outline-offset: 2px;
}

.sp-action-center-product-switcher__body {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.sp-action-center-product-head {
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
}

.sp-action-center-product-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}

.sp-action-center-tool-menu {
  min-width: 0;
}

.sp-action-center-tool-menu > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 8px;
  width: min(520px, calc(100vw - 44px));
  margin-top: 8px;
}

.sp-action-center-tool-menu .button {
  min-width: 0;
  white-space: normal;
}

.sp-action-center-workspace-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  border-block: 1px solid rgba(248, 200, 107, 0.24);
  background: rgba(8, 12, 18, 0.72);
  padding: 7px;
  scrollbar-width: thin;
}

.sp-action-center-workspace-nav a {
  flex: 1 0 auto;
  min-width: 110px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 9px 12px;
  text-align: center;
  text-decoration: none;
}

.sp-action-center-workspace-nav a:hover,
.sp-action-center-workspace-nav a:focus-visible {
  background: rgba(248, 200, 107, 0.12);
  color: #fff0c8;
  outline: none;
}

.sp-action-center-record-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 34px);
}

.sp-action-center-record-grid > div {
  min-width: 0;
}

.sp-action-center-record-grid h3,
.sp-action-center-subhead h3 {
  color: #f4f7ff;
  font-size: 1rem;
}

.sp-action-center-coverage {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: clamp(18px, 3vw, 30px);
}

.sp-table.sp-table--compact {
  min-width: 720px;
}

.button.button--compact {
  min-height: 34px;
  border-radius: 6px;
  font-size: 0.78rem;
  padding: 6px 10px;
}

.sp-action-center-selected-row,
.sp-action-center-selected-row th:first-child {
  background: rgba(248, 200, 107, 0.1);
}

.sp-action-center-selected-row th:first-child {
  box-shadow: inset 3px 0 0 rgba(248, 200, 107, 0.78);
}

.sp-action-center-selected-row th span,
.sp-table th > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.sp-action-center-history-chart {
  margin-top: 4px;
}

.sp-action-center-history-table {
  max-height: 440px;
}

.sp-action-center-contribution-table {
  max-height: min(68vh, 720px);
}

.sp-action-center-contribution-table .sp-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: 0 1px 0 rgba(248, 200, 107, 0.28);
}

.sp-action-center-contribution-table .sp-table thead th:first-child {
  z-index: 5;
}

.sp-action-center-lots-table {
  max-height: min(62vh, 650px);
}

.sp-action-center-personal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(20px, 3vw, 34px);
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-action-center-personal-grid > section {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}

.sp-action-center-personal-grid > section + section {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: clamp(18px, 3vw, 30px);
}

.sp-action-center-subhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sp-action-center-subhead > div {
  display: grid;
  gap: 4px;
}

.sp-action-center-subhead > small {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: right;
}

.sp-action-center-watch-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(220px, 1.45fr);
  align-items: start;
}

.sp-action-center-watch-form .sp-actions {
  grid-column: 1 / -1;
}

.sp-action-center-watch-form textarea {
  min-height: 92px;
}

.sp-action-center-alert-actions {
  margin-top: auto;
  padding-top: 4px;
}

@media (max-width: 980px) {
  .sp-action-center-product-tools {
    justify-content: flex-start;
  }

  .sp-action-center-record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-action-center-coverage {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
    padding-top: 20px;
    padding-left: 0;
  }

  .sp-action-center-personal-grid {
    grid-template-columns: 1fr;
  }

  .sp-action-center-personal-grid > section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
    padding-top: 20px;
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .sp-action-center-product-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .sp-action-center-product-tools > .button,
  .sp-action-center-tool-menu,
  .sp-action-center-tool-menu > summary {
    width: 100%;
  }

  .sp-action-center-tool-menu > div,
  .sp-action-center-record-grid,
  .sp-action-center-watch-form {
    grid-template-columns: 1fr;
  }

  .sp-action-center-workspace-nav a {
    min-width: 100px;
  }

  .sp-action-center-coverage {
    grid-column: auto;
  }

  .sp-action-center-subhead {
    flex-direction: column;
  }

  .sp-action-center-subhead > small {
    text-align: left;
  }

  .sp-action-center-watch-form .sp-actions {
    grid-column: auto;
  }
}
.sp-metric--locked strong {
  margin-top: 8px;
}

.is-up {
  color: #9ee7b6;
}

.is-down {
  color: #ffb2bd;
}

.sp-grid {
  display: grid;
  gap: var(--gap);
}

.sp-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sp-grid--thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-account-preferences {
  grid-column: 1 / -1;
}

.sp-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.sp-auth-card,
.sp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-auth-card .sp-agreement-form {
  gap: 14px;
}

.sp-user-agreement-callout {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(122, 162, 255, 0.24);
  border-radius: 8px;
  background: rgba(122, 162, 255, 0.08);
  padding: 12px;
}

.sp-user-agreement-callout .sp-checkbox {
  align-items: flex-start;
  color: #dce6f4;
  font-size: 0.82rem;
  font-weight: 700;
}

.sp-user-agreement-callout .sp-checkbox input {
  margin-top: 3px;
}

.sp-form-grid,
.sp-lot-form .sp-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
}

.sp-ev-lab-form {
  --sp-ev-lab-action-offset: calc(0.86rem * 1.35 + 6px);
}

.sp-ev-lab-form .sp-checkbox,
.sp-ev-lab-form .button {
  align-self: start;
  margin-top: var(--sp-ev-lab-action-offset);
}

.sp-ev-lab-form .sp-checkbox {
  min-height: var(--ctrl-h);
}

.sp-wide {
  grid-column: 1 / -1;
}

.sp-form label,
.sp-form-field,
.sp-auth-card label,
.sp-inline-search label,
.sp-danger-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #dce6f4;
  font-size: 0.86rem;
  font-weight: 750;
}

.sp-form label.sp-form-label {
  display: block;
  color: inherit;
  font: inherit;
}

.sp-form fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.sp-form legend {
  margin-bottom: 6px;
  color: #f4f7ff;
  font-size: 1rem;
  font-weight: 850;
}

.sp-form-section,
.sp-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sp-segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  margin: 0;
  border: 1px solid rgba(248, 200, 107, 0.28);
  border-radius: 8px;
  background: rgba(6, 9, 15, 0.9);
  padding: 4px;
}

.sp-segmented-control__label {
  padding: 0 7px 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sp-segmented-control label {
  position: relative;
  min-width: 74px;
  margin: 0;
}

.sp-segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sp-segmented-control span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  border-radius: 6px;
  color: #dce6f4;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 6px 10px;
  white-space: nowrap;
}

.sp-segmented-control input:checked + span {
  background: rgba(248, 200, 107, 0.2);
  color: #fff3cf;
}

.sp-segmented-control input:focus-visible + span {
  outline: 2px solid rgba(248, 200, 107, 0.78);
  outline-offset: 2px;
}

.sp-form .sp-choice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid rgba(248, 200, 107, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  padding: 12px;
}

.sp-form .sp-choice-card:has(input:checked) {
  border-color: rgba(248, 200, 107, 0.72);
  background: rgba(248, 200, 107, 0.12);
}

.sp-form .sp-choice-card input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
}

.sp-form .sp-choice-card strong,
.sp-form .sp-choice-card small {
  display: block;
}

.sp-form .sp-choice-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.sp-settings-form {
  gap: 14px;
}

.sp-game-settings-list {
  display: grid;
  gap: 12px;
}

.sp-game-settings {
  overflow: hidden;
  border: 1px solid rgba(248, 200, 107, 0.18);
  border-radius: 8px;
  background: rgba(6, 9, 15, 0.42);
}

.sp-game-settings > summary {
  display: grid;
  grid-template-columns: minmax(140px, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 14px 44px 14px 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.sp-game-settings > summary::-webkit-details-marker {
  display: none;
}

.sp-game-settings > summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(248, 200, 107, 0.28);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 900;
  line-height: 22px;
  text-align: center;
  transform: translateY(-50%);
}

.sp-game-settings[open] > summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(248, 200, 107, 0.055);
}

.sp-game-settings[open] > summary::after {
  content: "-";
}

.sp-game-settings-title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.sp-game-settings-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.4;
}

.sp-game-settings-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.sp-settings-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 8px;
  margin: 0;
}

.sp-settings-summary div,
.sp-form .sp-setting-group {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.sp-settings-summary div {
  padding: 10px;
}

.sp-settings-summary dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sp-settings-summary dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.sp-form .sp-setting-group {
  padding: 14px;
}

.sp-rule-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.sp-rule-list strong {
  color: var(--ink);
}

.sp-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

.sp-settings-grid--compact {
  grid-template-columns: minmax(220px, 360px);
}

.sp-input-with-prefix,
.sp-input-with-suffix {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(248, 200, 107, 0.28);
  border-radius: 8px;
  background: rgba(6, 9, 15, 0.9);
  color: var(--muted);
}

.sp-input-with-suffix {
  grid-template-columns: minmax(0, 1fr) auto;
}

.sp-input-with-prefix span,
.sp-input-with-suffix span {
  padding-inline: 11px;
  font-weight: 850;
}

.sp-form .sp-input-with-prefix input,
.sp-form .sp-input-with-suffix input {
  min-height: 40px;
  border: 0;
  background: transparent;
}

.sp-settings-actions {
  display: flex;
  justify-content: flex-end;
}

.sp-form input,
.sp-form select,
.sp-form textarea,
.sp-auth-card input,
.sp-inline-search input,
.sp-table-search,
.sp-danger-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(248, 200, 107, 0.28);
  border-radius: 8px;
  background: rgba(6, 9, 15, 0.9);
  color: var(--ink);
  font: inherit;
  padding: 9px 11px;
}

.sp-form input[name="quantity"],
.sp-form input[name="transaction_total"],
.sp-form input[name="purchase_price_per_unit"],
.sp-form input[name="tax_total"],
.sp-form input[name="shipping_total"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.sealed-portfolio-page input[type="date"] {
  color-scheme: light;
}

.sealed-portfolio-page input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1);
  opacity: 0.95;
}

.sp-date-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.sp-date-today {
  width: auto;
  min-width: 76px;
  min-height: 42px;
  border: 1px solid rgba(248, 200, 107, 0.46);
  border-radius: 8px;
  background: rgba(248, 200, 107, 0.1);
  box-shadow: none;
  color: #ffe7aa;
  font-size: 0.82rem;
  font-weight: 850;
  padding-inline: 12px;
}

.sp-date-today::after {
  display: none;
}

.sp-date-today:hover,
.sp-date-today:focus-visible {
  border-color: rgba(248, 200, 107, 0.76);
  background: rgba(248, 200, 107, 0.18);
  box-shadow: 0 0 0 2px rgba(248, 200, 107, 0.16);
  color: #fff3cf;
}

.sp-form input[type="number"][name="target_buy_price"],
.sp-form input[type="number"][name="threshold_value"] {
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.sp-form input[name="quantity"]::-webkit-inner-spin-button,
.sp-form input[name="quantity"]::-webkit-outer-spin-button,
.sp-form input[name="transaction_total"]::-webkit-inner-spin-button,
.sp-form input[name="transaction_total"]::-webkit-outer-spin-button,
.sp-form input[name="purchase_price_per_unit"]::-webkit-inner-spin-button,
.sp-form input[name="purchase_price_per_unit"]::-webkit-outer-spin-button,
.sp-form input[name="tax_total"]::-webkit-inner-spin-button,
.sp-form input[name="tax_total"]::-webkit-outer-spin-button,
.sp-form input[name="shipping_total"]::-webkit-inner-spin-button,
.sp-form input[name="shipping_total"]::-webkit-outer-spin-button,
.sp-form input[type="number"][name="target_buy_price"]::-webkit-inner-spin-button,
.sp-form input[type="number"][name="target_buy_price"]::-webkit-outer-spin-button,
.sp-form input[type="number"][name="threshold_value"]::-webkit-inner-spin-button,
.sp-form input[type="number"][name="threshold_value"]::-webkit-outer-spin-button {
  display: none;
  margin: 0;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.sp-form textarea {
  min-height: 110px;
  resize: vertical;
}

.sp-checkbox {
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
  line-height: 1.35;
}

.sp-form label.sp-checkbox {
  flex-direction: row;
  justify-content: flex-start;
}

.sp-checkbox input {
  width: auto;
  min-height: 0;
}

.sp-checkbox-with-help {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 5px;
}

.sp-checkbox-with-help .sp-checkbox {
  min-height: 20px;
}

.sp-table-wrap {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
}

.sp-table-export-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 10px;
}

.sp-table-export-button {
  flex: 0 0 auto;
  min-width: 144px;
  min-height: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.sp-table-export-button:hover,
.sp-table-export-button:focus-visible {
  transform: translateY(-1px);
}

.sp-holdings-table-wrap {
  max-height: min(72vh, 760px);
}

.sp-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.sp-table th,
.sp-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  text-align: right;
  vertical-align: top;
}

.sp-table th:first-child,
.sp-table td:first-child {
  text-align: left;
}

.sp-table th.sp-table-actions,
.sp-table td.sp-table-actions {
  text-align: center;
}

.sp-table th:first-child,
.sp-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #11151d;
}

.sp-table thead th:first-child {
  z-index: 3;
}

.sp-table thead th {
  background: #211b12;
  color: #ffe5a8;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-holdings-table-wrap .sp-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: 0 1px 0 rgba(248, 200, 107, 0.28), 0 10px 18px rgba(0, 0, 0, 0.3);
}

.sp-holdings-table-wrap .sp-table thead th:first-child {
  left: 0;
  z-index: 5;
}

.sp-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.sp-table tbody tr.sp-holding-row {
  --sp-row-edge: rgba(255, 255, 255, 0.08);
  --sp-row-shade: transparent;
  background: var(--sp-row-shade);
}

.sp-table tbody tr.sp-holding-row[data-holding-chart-row="true"] {
  cursor: pointer;
}

.sp-table tbody tr.sp-holding-row[data-holding-chart-row="true"]:hover,
.sp-table tbody tr.sp-holding-row[data-holding-chart-row="true"]:focus-visible {
  --sp-row-shade: rgba(248, 200, 107, 0.12);
}

.sp-table tbody tr.sp-holding-row.is-selected {
  --sp-row-edge: rgba(248, 200, 107, 0.95);
  --sp-row-shade: rgba(248, 200, 107, 0.15);
}

.sp-table tbody tr.sp-holding-row[data-holding-chart-row="true"]:focus-visible {
  outline: 2px solid rgba(248, 200, 107, 0.78);
  outline-offset: -2px;
}

.sp-table tbody tr.sp-holding-row:nth-child(even) {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)),
    var(--sp-row-shade);
}

.sp-table tbody tr.sp-holding-row th:first-child,
.sp-table tbody tr.sp-holding-row td:first-child {
  background:
    linear-gradient(0deg, var(--sp-row-shade), var(--sp-row-shade)),
    #11151d;
  box-shadow: inset 3px 0 0 var(--sp-row-edge);
}

.sp-table tbody tr.sp-holding-row:nth-child(even) th:first-child,
.sp-table tbody tr.sp-holding-row:nth-child(even) td:first-child {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)),
    linear-gradient(0deg, var(--sp-row-shade), var(--sp-row-shade)),
    #11151d;
}

.sp-table tbody tr.sp-holding-chart-row td,
.sp-table tbody tr.sp-holding-chart-row td:first-child {
  position: static;
  border-bottom-color: rgba(248, 200, 107, 0.14);
  background: rgba(5, 8, 13, 0.78);
  box-shadow: inset 3px 0 0 rgba(248, 200, 107, 0.72);
  padding: 0 12px 14px;
  text-align: left;
}

.sp-table tbody tr.sp-set-group-row th {
  border-bottom-color: rgba(248, 200, 107, 0.22);
  background:
    linear-gradient(90deg, rgba(248, 200, 107, 0.18), rgba(248, 200, 107, 0.06)),
    #11151d;
  box-shadow: inset 3px 0 0 rgba(248, 200, 107, 0.72);
  color: #ffe5a8;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
}

.sp-table tbody tr.sp-set-group-row small {
  margin-left: 10px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.sp-holding-row[data-product-type="collector-box"],
.sp-holding-row[data-product-type="collector-booster-display"],
.sp-holding-row[data-product-type="collector-booster-box"] {
  --sp-row-edge: rgba(248, 200, 107, 0.7);
  --sp-row-shade: rgba(248, 200, 107, 0.095);
}

.sp-holding-row[data-product-type="play-box"],
.sp-holding-row[data-product-type="play-booster-display"],
.sp-holding-row[data-product-type="play-booster-box"] {
  --sp-row-edge: rgba(91, 190, 255, 0.58);
  --sp-row-shade: rgba(91, 190, 255, 0.07);
}

.sp-holding-row[data-product-type="beyond-box"],
.sp-holding-row[data-product-type="beyond-booster-display"],
.sp-holding-row[data-product-type="beyond-booster-box"] {
  --sp-row-edge: rgba(84, 211, 187, 0.58);
  --sp-row-shade: rgba(84, 211, 187, 0.06);
}

.sp-holding-row[data-product-type="jumpstart-box"],
.sp-holding-row[data-product-type="jumpstart-booster-display"],
.sp-holding-row[data-product-type="jumpstart-booster-box"] {
  --sp-row-edge: rgba(147, 230, 135, 0.56);
  --sp-row-shade: rgba(147, 230, 135, 0.055);
}

.sp-holding-row[data-product-type="draft-box"],
.sp-holding-row[data-product-type="draft-booster-display"],
.sp-holding-row[data-product-type="draft-booster-box"] {
  --sp-row-edge: rgba(72, 220, 162, 0.58);
  --sp-row-shade: rgba(72, 220, 162, 0.065);
}

.sp-holding-row[data-product-type="set-box"],
.sp-holding-row[data-product-type="set-booster-display"],
.sp-holding-row[data-product-type="set-booster-box"] {
  --sp-row-edge: rgba(177, 149, 255, 0.58);
  --sp-row-shade: rgba(177, 149, 255, 0.07);
}

.sp-holding-row[data-product-type="bundle"],
.sp-holding-row[data-product-type="gift-bundle"],
.sp-holding-row[data-product-type="compleat-bundle"],
.sp-holding-row[data-product-type="nightmare-bundle"],
.sp-holding-row[data-product-type="finish-line-bundle"] {
  --sp-row-edge: rgba(255, 184, 108, 0.58);
  --sp-row-shade: rgba(255, 184, 108, 0.06);
}

.sp-holding-row[data-product-type="commander-deck"],
.sp-holding-row[data-product-type="commander-deck-set"],
.sp-holding-row[data-product-type="commander-deck-display"] {
  --sp-row-edge: rgba(255, 126, 150, 0.58);
  --sp-row-shade: rgba(255, 126, 150, 0.065);
}

.sp-holding-row[data-product-type="preconstructed-deck"] {
  --sp-row-edge: rgba(178, 204, 224, 0.52);
  --sp-row-shade: rgba(178, 204, 224, 0.055);
}

.sp-table th button {
  appearance: none;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1.25;
  overflow-wrap: break-word;
  padding: 0;
  text-align: inherit;
  text-transform: inherit;
  transform: none;
  white-space: normal;
}

.sp-table th button:hover,
.sp-table th button:focus-visible {
  color: inherit;
  filter: none;
  transform: none;
  box-shadow: none;
}

.sp-table th button:focus-visible {
  outline: 2px solid rgba(248, 200, 107, 0.75);
  outline-offset: 3px;
}

.sp-table th button::after {
  content: "Sort";
  display: block;
  margin-top: 3px;
  color: rgba(255, 229, 168, 0.58);
  font-size: 0.62rem;
  line-height: 1;
}

.sp-table th[aria-sort="ascending"] button::after {
  content: "Asc";
}

.sp-table th[aria-sort="descending"] button::after {
  content: "Desc";
}

/* Holdings inventory */
.sp-holdings-section {
  gap: 18px;
  overflow: hidden;
  border-color: rgba(248, 200, 107, 0.3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(248, 200, 107, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(18, 23, 31, 0.98), rgba(8, 12, 18, 0.99));
}

.sp-holdings-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.sp-holdings-heading {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.sp-holdings-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
}

.sp-holdings-title-row h2 {
  color: #f7f9ff;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.12;
}

.sp-holdings-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border: 1px solid rgba(122, 162, 255, 0.26);
  border-radius: 999px;
  background: rgba(122, 162, 255, 0.08);
  color: #cdd9ec;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  padding: 6px 10px;
  white-space: nowrap;
}

.sp-holdings-count span {
  color: rgba(248, 200, 107, 0.72);
}

.sp-panel .sp-holdings-description {
  max-width: 68ch;
  color: #9fadc2;
  font-size: 0.9rem;
  line-height: 1.45;
}

.sp-holdings-add-button {
  min-width: 150px;
  border-radius: 10px;
  white-space: nowrap;
}

.sp-holdings-add-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(28, 22, 11, 0.13);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.sp-holdings-toolbar {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(139, 157, 184, 0.16);
  border-radius: 12px;
  background: rgba(5, 9, 15, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  padding: 10px;
}

.sp-holdings-search {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
}

.sp-holdings-search svg {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  color: #8291a8;
  pointer-events: none;
  transform: translateY(-50%);
}

.sp-holdings-search input.sp-table-search {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border-color: rgba(139, 157, 184, 0.24);
  border-radius: 9px;
  background: rgba(11, 17, 27, 0.96);
  padding: 9px 36px 9px 41px;
}

.sp-holdings-search input.sp-table-search:hover {
  border-color: rgba(139, 157, 184, 0.4);
}

.sp-holdings-search input.sp-table-search:focus {
  border-color: rgba(248, 200, 107, 0.66);
  box-shadow: 0 0 0 3px rgba(248, 200, 107, 0.1);
  outline: none;
}

.sp-holdings-toolbar__views {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sp-holdings-toolbar .sp-segmented-control {
  min-height: 44px;
  border-color: rgba(139, 157, 184, 0.2);
  border-radius: 9px;
  background: rgba(11, 17, 27, 0.92);
  padding: 3px;
}

.sp-holdings-toolbar .sp-segmented-control__label {
  color: #8796ad;
  padding-inline: 7px;
}

.sp-holdings-toolbar .sp-segmented-control label {
  min-width: 68px;
}

.sp-holdings-toolbar .sp-segmented-control span {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 6px 9px;
}

.sp-holdings-toolbar .sp-segmented-control input:checked + span {
  border-color: rgba(248, 200, 107, 0.2);
  background: linear-gradient(180deg, rgba(248, 200, 107, 0.2), rgba(151, 103, 24, 0.16));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  color: #fff0c4;
}

.sp-holdings-export {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

body.magic-theme-page .sp-holdings-section .sp-table-export-button {
  min-width: 138px;
  min-height: 44px;
  height: 44px;
  border-color: rgba(248, 200, 107, 0.34);
  border-radius: 9px;
  background: rgba(248, 200, 107, 0.08);
  box-shadow: none;
  color: #f5d98e;
  font-size: 0.82rem;
  -webkit-text-fill-color: #f5d98e;
}

body.magic-theme-page .sp-holdings-section .sp-table-export-button::before {
  content: "\2193";
  font-size: 1rem;
  font-weight: 900;
}

body.magic-theme-page .sp-holdings-section .sp-table-export-button:hover,
body.magic-theme-page .sp-holdings-section .sp-table-export-button:focus-visible {
  border-color: rgba(248, 200, 107, 0.62);
  background: rgba(248, 200, 107, 0.14);
  box-shadow: 0 0 0 3px rgba(248, 200, 107, 0.09);
  color: #fff1c7;
  filter: none;
  transform: none;
  -webkit-text-fill-color: #fff1c7;
}

.sp-panel .sp-holdings-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: -7px 2px -9px;
  color: #718096;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.sp-holdings-scroll-hint span {
  color: rgba(248, 200, 107, 0.7);
}

.sp-holdings-section .sp-holdings-table-wrap {
  max-height: min(72vh, 760px);
  overflow: auto;
  border-color: rgba(139, 157, 184, 0.19);
  border-radius: 12px;
  background: #0b1018;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(0, 0, 0, 0.18);
  scrollbar-color: rgba(248, 200, 107, 0.42) #090d14;
  scrollbar-width: thin;
}

.sp-holdings-section .sp-holdings-table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.sp-holdings-section .sp-holdings-table-wrap::-webkit-scrollbar-track {
  background: #090d14;
}

.sp-holdings-section .sp-holdings-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid #090d14;
  border-radius: 999px;
  background: rgba(248, 200, 107, 0.42);
}

#sp-lots-table {
  min-width: 1568px;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

#sp-lots-table th:nth-child(1) { width: 270px; }
#sp-lots-table th:nth-child(2) { width: 108px; }
#sp-lots-table th:nth-child(3) { width: 62px; }
#sp-lots-table th:nth-child(4) { width: 104px; }
#sp-lots-table th:nth-child(5) { width: 108px; }
#sp-lots-table th:nth-child(6) { width: 128px; }
#sp-lots-table th:nth-child(7) { width: 122px; }
#sp-lots-table th:nth-child(8) { width: 96px; }
#sp-lots-table th:nth-child(9) { width: 142px; }
#sp-lots-table th:nth-child(10) { width: 112px; }
#sp-lots-table th:nth-child(11) { width: 106px; }
#sp-lots-table th:nth-child(12) { width: 112px; }
#sp-lots-table th:nth-child(13) { width: 96px; }

.sp-holdings-section #sp-lots-table thead th {
  border-bottom: 1px solid rgba(248, 200, 107, 0.26);
  background: #121822;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  color: #d6b96f;
  padding: 0;
}

.sp-holdings-section #sp-lots-table thead th.sp-table-actions {
  padding: 0 10px;
}

body.magic-theme-page .sp-holdings-section #sp-lots-table thead th button {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 46px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.18;
  padding: 8px 10px;
  text-align: right;
  text-shadow: none;
  text-transform: uppercase;
  transform: none;
  -webkit-text-fill-color: currentColor;
}

body.magic-theme-page .sp-holdings-section #sp-lots-table thead th:first-child button {
  justify-content: flex-start;
  text-align: left;
}

body.magic-theme-page .sp-holdings-section #sp-lots-table thead th button:hover,
body.magic-theme-page .sp-holdings-section #sp-lots-table thead th button:focus-visible {
  background: rgba(248, 200, 107, 0.07);
  box-shadow: none;
  color: #ffe7a8;
  filter: none;
  transform: none;
  -webkit-text-fill-color: #ffe7a8;
}

body.magic-theme-page .sp-holdings-section #sp-lots-table thead th button::after {
  content: "\2195";
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
  color: rgba(214, 185, 111, 0.52);
  font-size: 0.82rem;
  line-height: 1;
}

body.magic-theme-page .sp-holdings-section #sp-lots-table thead th[aria-sort="ascending"] button::after {
  content: "\2191";
  color: #ffe7a8;
}

body.magic-theme-page .sp-holdings-section #sp-lots-table thead th[aria-sort="descending"] button::after {
  content: "\2193";
  color: #ffe7a8;
}

.sp-holdings-section #sp-lots-table tbody th,
.sp-holdings-section #sp-lots-table tbody td {
  border-bottom-color: rgba(139, 157, 184, 0.11);
  color: #dfe6f1;
  font-size: 0.84rem;
  line-height: 1.4;
  padding: 13px 12px;
  vertical-align: middle;
}

.sp-holdings-section #sp-lots-table tbody td:not(:nth-child(12)) {
  white-space: nowrap;
}

.sp-holdings-section #sp-lots-table tbody tr.sp-holding-row th:first-child {
  background:
    linear-gradient(0deg, var(--sp-row-shade), var(--sp-row-shade)),
    #101620;
}

.sp-holdings-section #sp-lots-table tbody tr.sp-holding-row:nth-child(even) th:first-child {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)),
    linear-gradient(0deg, var(--sp-row-shade), var(--sp-row-shade)),
    #101620;
}

body.magic-theme-page .sp-holdings-section #sp-lots-table tbody th a {
  display: inline-block;
  color: #f4f7ff;
  font-size: 0.91rem;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
  -webkit-text-fill-color: #f4f7ff;
}

body.magic-theme-page .sp-holdings-section #sp-lots-table tbody th a:hover,
body.magic-theme-page .sp-holdings-section #sp-lots-table tbody th a:focus-visible {
  color: #ffe19a;
  text-decoration: underline;
  text-decoration-color: rgba(248, 200, 107, 0.5);
  text-underline-offset: 3px;
  -webkit-text-fill-color: #ffe19a;
}

.sp-holdings-section #sp-lots-table tbody th [data-holding-product-meta] {
  margin-top: 5px;
  color: #8291a8;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.sp-holdings-section #sp-lots-table tbody tr.sp-set-group-row th {
  border-bottom-color: rgba(248, 200, 107, 0.2);
  background:
    linear-gradient(90deg, rgba(248, 200, 107, 0.15), rgba(122, 162, 255, 0.045) 38%, transparent),
    #0f151e;
  color: #e8cb83;
  padding-block: 10px;
}

.sp-holdings-section #sp-lots-table tbody tr.sp-set-group-row small {
  color: #8492a7;
}

.sp-holdings-section #sp-lots-table thead th:last-child,
.sp-holdings-section #sp-lots-table tbody tr.sp-holding-row td:last-child {
  position: sticky;
  right: 0;
  box-shadow: -10px 0 18px rgba(4, 7, 12, 0.72);
}

.sp-holdings-section #sp-lots-table thead th:last-child {
  z-index: 6;
  background: #121822;
}

.sp-holdings-section #sp-lots-table tbody tr.sp-holding-row td:last-child {
  z-index: 3;
  background: #101620;
}

.sp-holdings-section #sp-lots-table tbody tr.sp-holding-row:nth-child(even) td:last-child {
  background: #131923;
}

body.magic-theme-page .sp-holdings-section .sp-holdings-table-wrap .sp-icon-button {
  width: auto;
  min-width: 72px;
  height: auto;
  min-height: 34px;
  border-color: rgba(248, 200, 107, 0.34);
  border-radius: 8px;
  background: rgba(248, 200, 107, 0.08);
  box-shadow: none;
  color: #efd288;
  font-size: 0.76rem;
  padding: 6px 10px;
  -webkit-text-fill-color: #efd288;
}

body.magic-theme-page .sp-holdings-section .sp-holdings-table-wrap .sp-icon-button:hover,
body.magic-theme-page .sp-holdings-section .sp-holdings-table-wrap .sp-icon-button:focus-visible {
  border-color: rgba(248, 200, 107, 0.64);
  background: rgba(248, 200, 107, 0.15);
  box-shadow: 0 0 0 3px rgba(248, 200, 107, 0.09);
  color: #fff0bf;
  filter: none;
  transform: none;
  -webkit-text-fill-color: #fff0bf;
}

.sp-picker-wrap {
  max-height: 460px;
}

.sp-picker-table {
  min-width: 980px;
}

.sp-picker-table th:first-child,
.sp-picker-table td:first-child {
  width: 74px;
  text-align: center;
}

.sp-picker-table input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 0;
}

.sp-picker-table tr.is-selected {
  background: rgba(248, 200, 107, 0.12);
  box-shadow: inset 3px 0 0 rgba(248, 200, 107, 0.88);
}

.sp-alert-row.is-disabled {
  opacity: 0.68;
}

.sp-table th.sp-alert-enabled-heading,
.sp-table td.sp-alert-enabled-cell {
  width: 88px;
  text-align: center;
}

.sp-table-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sp-row-action,
.product-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #f1f5fb;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  padding: 5px 10px;
  text-decoration: none;
}

.sp-row-action--edit {
  border-color: rgba(248, 200, 107, 0.34);
  background: rgba(248, 200, 107, 0.075);
  color: #ffe7ad;
}

.sp-row-action:hover,
.sp-row-action:focus-visible,
.product-action-link:hover,
.product-action-link:focus-visible {
  border-color: rgba(248, 200, 107, 0.68);
  background: rgba(248, 200, 107, 0.14);
  box-shadow: 0 0 0 2px rgba(248, 200, 107, 0.12);
  color: #fff4d2;
  outline: 0;
}

.product-action-cell {
  min-width: 116px;
}

.product-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sp-alert-enabled-form {
  display: flex;
  justify-content: center;
  margin: 0;
}

.sp-alert-enabled-control {
  justify-content: center;
  margin: 0;
}

.sp-alert-enabled-control input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-gold);
}

.sp-sift-ok {
  box-shadow: inset 3px 0 0 rgba(54, 220, 162, 0.78);
}

.sp-sift-bad {
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.1);
}

.sp-table tbody th span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.sp-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(255, 178, 189, 0.38);
  border-radius: 999px;
  background: rgba(255, 178, 189, 0.08);
  color: #ffd8dd;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 9px;
  text-decoration: none;
}

.sp-lot-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.sp-lot-actions--inline {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.sp-lot-actions form {
  margin: 0;
}

.sp-icon-button--edit {
  border-color: rgba(248, 200, 107, 0.46);
  background: rgba(248, 200, 107, 0.1);
  color: #ffe7aa;
}

.sp-icon-button--table-edit {
  width: 48px;
  min-width: 48px;
  padding-inline: 0;
}

.sp-icon-button--compact {
  width: 30px;
  min-width: 30px;
  padding-inline: 0;
}

.sp-icon-button--menu {
  min-width: 78px;
  border-color: rgba(248, 200, 107, 0.5);
  background: rgba(248, 200, 107, 0.12);
  color: #ffe7aa;
}

.sp-icon-button--add {
  border-color: rgba(118, 215, 255, 0.48);
  background: rgba(118, 215, 255, 0.11);
  color: #d9f6ff;
}

.sp-icon-button--sell {
  border-color: rgba(158, 231, 182, 0.42);
  background: rgba(54, 220, 162, 0.1);
  color: #c9f7d7;
}

.sp-icon-button--rip {
  border-color: rgba(122, 162, 255, 0.44);
  background: rgba(122, 162, 255, 0.12);
  color: #dbe6ff;
}

.sp-icon-button:hover,
.sp-icon-button:focus-visible {
  border-color: rgba(255, 178, 189, 0.68);
  background: rgba(255, 106, 130, 0.16);
  box-shadow: 0 0 0 2px rgba(255, 106, 130, 0.18);
  color: #fff3f5;
  filter: none;
}

.sp-icon-button--sell:hover,
.sp-icon-button--sell:focus-visible {
  border-color: rgba(158, 231, 182, 0.72);
  background: rgba(54, 220, 162, 0.18);
  box-shadow: 0 0 0 2px rgba(54, 220, 162, 0.16);
  color: #effff4;
}

.sp-icon-button--edit:hover,
.sp-icon-button--edit:focus-visible,
.sp-icon-button--menu:hover,
.sp-icon-button--menu:focus-visible {
  border-color: rgba(248, 200, 107, 0.76);
  background: rgba(248, 200, 107, 0.18);
  box-shadow: 0 0 0 2px rgba(248, 200, 107, 0.16);
  color: #fff3cf;
}

.sp-icon-button--add:hover,
.sp-icon-button--add:focus-visible {
  border-color: rgba(118, 215, 255, 0.74);
  background: rgba(118, 215, 255, 0.19);
  box-shadow: 0 0 0 2px rgba(118, 215, 255, 0.16);
  color: #f5fdff;
}

.sp-icon-button--rip:hover,
.sp-icon-button--rip:focus-visible {
  border-color: rgba(122, 162, 255, 0.74);
  background: rgba(122, 162, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(122, 162, 255, 0.17);
  color: #f4f8ff;
}

.sp-mover-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding-left: 1.2rem;
}

.sp-mover-list li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
}

.sp-mover-quantity {
  min-width: 2ch;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.sp-history-chart {
  width: 100%;
  max-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.sp-holding-chart-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(122, 162, 255, 0.24);
  border-radius: 8px;
  background: rgba(122, 162, 255, 0.06);
  padding: 14px;
}

.sp-holding-chart-panel .sp-section-note {
  margin: -4px 0 0;
}

.sp-holding-card-list {
  display: none;
}

@media (max-width: 640px) {
  .sp-holdings-mobile-host > .mobile-table-card-list {
    display: none !important;
  }

  .sp-holdings-mobile-host[data-mobile-table-mode="cards"] > .sp-holding-card-list {
    display: grid;
  }

  .sp-holdings-mobile-host[data-mobile-table-mode="table"] > .sp-holding-card-list {
    display: none;
  }

  .sp-holding-card-list {
    gap: 12px;
    min-width: 0;
  }

  .sp-holding-card-list:empty {
    display: none;
  }

  .sp-holding-card-group {
    min-width: 0;
    border: 1px solid rgba(248, 200, 107, 0.24);
    border-radius: 8px;
    background:
      linear-gradient(90deg, rgba(248, 200, 107, 0.16), rgba(122, 162, 255, 0.06)),
      rgba(12, 16, 29, 0.94);
    color: #ffe5a8;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.35;
    padding: 9px 11px;
    overflow-wrap: anywhere;
  }

  .sp-holding-card-group[hidden],
  .sp-holding-card[hidden] {
    display: none !important;
  }

  .sp-holding-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(189, 147, 74, 0.36);
    border-left-color: rgba(248, 200, 107, 0.72);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(248, 200, 107, 0.1), rgba(122, 162, 255, 0.07)),
      rgba(12, 16, 29, 0.96);
    box-shadow: inset 3px 0 0 rgba(248, 200, 107, 0.32);
    color: var(--ink);
    padding: 14px;
    overflow-wrap: anywhere;
  }

  .sp-holding-card.is-selected {
    border-color: rgba(248, 200, 107, 0.66);
    box-shadow:
      inset 3px 0 0 rgba(248, 200, 107, 0.82),
      0 0 0 1px rgba(248, 200, 107, 0.14);
  }

  .sp-holding-card:focus-visible {
    outline: 2px solid rgba(248, 200, 107, 0.82);
    outline-offset: 3px;
  }

  .sp-holding-card__head {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .sp-holding-card__title {
    min-width: 0;
    color: #f4f7ff;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
  }

  .sp-holding-card__title a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
  }

  .sp-holding-card__title a:hover,
  .sp-holding-card__title a:focus-visible {
    color: var(--brand-gold);
  }

  .sp-holding-card__meta {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.35;
  }

  .sp-holding-card-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    margin: 0;
  }

  .sp-holding-card-stat {
    display: grid;
    gap: 3px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    padding: 9px 10px;
  }

  .sp-holding-card-stat--status {
    grid-column: 1 / -1;
  }

  .sp-holding-card-stat__label {
    color: rgba(214, 224, 241, 0.72);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .sp-holding-card-stat__value {
    min-width: 0;
    margin: 0;
    color: #f4f7ff;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.3;
  }

  .sp-holding-card-stat__value.is-up {
    color: #9ee7b6;
  }

  .sp-holding-card-stat__value.is-down {
    color: #ffb2bd;
  }

  .sp-holding-card-stat__value .sp-locked-badge {
    white-space: normal;
  }

  .sp-holding-card-chart-panel {
    display: grid;
    gap: 10px;
    min-width: 0;
    border: 1px solid rgba(122, 162, 255, 0.24);
    border-radius: 8px;
    background: rgba(122, 162, 255, 0.06);
    padding: 12px;
  }

  .sp-holding-card-chart-panel[hidden] {
    display: none;
  }

  .sp-holding-card-chart-panel h3 {
    margin: 0;
    color: #f4f7ff;
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .sp-holding-card-chart-panel .sp-history-chart {
    max-height: 260px;
  }

  .sp-holding-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
  }

  .sp-holding-card-actions[hidden] {
    display: none;
  }

  .sp-holding-card-actions .sp-icon-button {
    min-height: 44px;
    border-radius: 8px;
    padding: 8px 12px;
  }

  .sp-holding-card-chart-toggle {
    border-color: rgba(122, 162, 255, 0.48);
    background: rgba(122, 162, 255, 0.12);
    color: #dbe6ff;
  }
}

.sp-empty,
.sp-note,
.sp-note-panel p {
  color: var(--muted);
}

.sp-market-pulse-head .sp-market-pulse-filters,
.sp-market-pulse-head .sp-market-pulse-note {
  grid-column: 1 / -1;
}

.sp-market-pulse-mobile-feed,
.sp-market-pulse-mobile-back {
  display: none;
}

.sp-market-pulse-meta {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.sp-market-pulse-meta .sp-market-pulse-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(248, 200, 107, 0.3);
  border-radius: 8px;
  background: rgba(248, 200, 107, 0.09);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.sp-market-pulse-meta-label {
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sp-market-pulse-meta-secondary {
  color: var(--muted);
  font-weight: 600;
}

.sp-market-pulse-head .sp-market-pulse-filters {
  align-items: start;
}

.sp-market-pulse-filter-actions {
  grid-column: 1 / -1;
  align-self: end;
  justify-self: end;
  justify-content: flex-end;
  margin-top: 2px;
}

.sp-market-pulse-filter-actions .button {
  min-width: 108px;
}

.sp-market-pulse-line-grid,
.sp-market-pulse-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.sp-market-pulse-line-grid article,
.sp-market-pulse-link-grid a {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.sp-market-pulse-line-grid article > span,
.sp-market-pulse-link-grid a span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-market-pulse-line-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.2rem;
}

.sp-market-pulse-line-grid p {
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.sp-market-pulse-link-grid a {
  color: var(--ink);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.sp-market-pulse-link-grid a:hover,
.sp-market-pulse-link-grid a:focus-visible {
  border-color: rgba(248, 200, 107, 0.62);
  background: rgba(248, 200, 107, 0.1);
  color: #fff4d2;
}

.sp-market-pulse-link-grid strong {
  display: block;
  color: var(--brand-gold);
}

.sp-market-pulse-link-grid a span {
  margin-top: 4px;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.sealed-market-pulse-page .sp-table caption {
  caption-side: top;
  padding: 0 0 10px;
  color: var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.sealed-market-pulse-page .sp-table td a {
  overflow-wrap: anywhere;
}

.sealed-market-pulse-page .sp-market-pulse-source-item {
  display: block;
  max-width: 240px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sp-table tbody th .sp-market-pulse-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.sp-table tbody th .sp-market-pulse-flags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(122, 162, 255, 0.34);
  border-radius: 999px;
  background: rgba(122, 162, 255, 0.12);
  color: #dbe6ff;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 4px 7px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .sp-market-pulse-mobile-feed {
    display: flex;
  }

  .sp-market-pulse-market-line-section {
    display: none;
  }

  .sealed-market-pulse-page .sp-market-pulse-table-section {
    display: none;
    scroll-margin-top: 16px;
  }

  .sealed-market-pulse-page .sp-market-pulse-table-section:target {
    display: flex;
  }

  .sp-market-pulse-mobile-back,
  .sp-market-pulse-mobile-table-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    border: 1px solid rgba(248, 200, 107, 0.42);
    border-radius: 8px;
    background: rgba(248, 200, 107, 0.1);
    color: #ffe7aa;
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1.2;
    padding: 8px 12px;
    text-decoration: none;
  }

  .sp-market-pulse-mobile-back:hover,
  .sp-market-pulse-mobile-back:focus-visible,
  .sp-market-pulse-mobile-table-link:hover,
  .sp-market-pulse-mobile-table-link:focus-visible {
    border-color: rgba(248, 200, 107, 0.76);
    background: rgba(248, 200, 107, 0.17);
    box-shadow: 0 0 0 2px rgba(248, 200, 107, 0.14);
    color: #fff3cf;
    outline: 0;
  }

  .sp-market-pulse-mobile-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }

  .sp-market-pulse-mobile-line article {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px;
    overflow-wrap: anywhere;
  }

  .sp-market-pulse-mobile-line article > span {
    display: block;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .sp-market-pulse-mobile-line strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.2;
  }

  .sp-market-pulse-mobile-line p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .sp-market-pulse-mobile-tabs {
    display: flex;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    margin-inline: -2px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
  }

  .sp-market-pulse-mobile-tabs button {
    appearance: none;
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 156px;
    max-width: 220px;
    min-height: 44px;
    border: 1px solid rgba(122, 162, 255, 0.28);
    border-radius: 8px;
    background: rgba(122, 162, 255, 0.09);
    color: #dbe6ff;
    cursor: pointer;
    font: inherit;
    padding: 8px 10px;
    text-align: left;
  }

  .sp-market-pulse-mobile-tabs button[aria-selected="true"] {
    border-color: rgba(248, 200, 107, 0.66);
    background: rgba(248, 200, 107, 0.16);
    color: #fff3cf;
  }

  .sp-market-pulse-mobile-tabs button:focus-visible {
    outline: 2px solid rgba(248, 200, 107, 0.82);
    outline-offset: 2px;
  }

  .sp-market-pulse-mobile-tabs span {
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.2;
  }

  .sp-market-pulse-mobile-tabs strong {
    color: var(--brand-gold);
    font-size: 0.86rem;
    line-height: 1;
  }

  .sp-market-pulse-mobile-panels,
  .sp-market-pulse-mobile-panel {
    display: grid;
    gap: 12px;
    min-width: 0;
  }

  .sp-market-pulse-mobile-panel[hidden] {
    display: none !important;
  }

  .sp-market-pulse-mobile-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
  }

  .sp-market-pulse-mobile-panel__head h3 {
    margin: 0;
    color: #f4f7ff;
    font-size: 1rem;
    line-height: 1.25;
  }

  .sp-market-pulse-signal-list {
    display: grid;
    gap: 12px;
    min-width: 0;
  }

  .sp-market-pulse-signal-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(189, 147, 74, 0.36);
    border-left-color: rgba(248, 200, 107, 0.72);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(248, 200, 107, 0.1), rgba(122, 162, 255, 0.07)),
      rgba(12, 16, 29, 0.96);
    box-shadow: inset 3px 0 0 rgba(248, 200, 107, 0.32);
    color: var(--ink);
    padding: 14px;
    overflow-wrap: anywhere;
  }

  .sp-market-pulse-signal-card__head {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .sp-market-pulse-signal-card__head .sp-kicker {
    margin: 0;
  }

  .sp-market-pulse-signal-card__head h3 {
    display: grid;
    gap: 5px;
    min-width: 0;
    margin: 0;
    color: #f4f7ff;
    font-size: 1rem;
    line-height: 1.25;
  }

  .sp-market-pulse-signal-card__head h3 > a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
  }

  .sp-market-pulse-signal-card__head h3 > a:hover,
  .sp-market-pulse-signal-card__head h3 > a:focus-visible {
    color: var(--brand-gold);
  }

  .sp-market-pulse-signal-card__head h3 > span:not(.sp-market-pulse-flags),
  .sp-market-pulse-signal-card__metric strong span,
  .sp-market-pulse-signal-card__signal strong span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 750;
    line-height: 1.35;
  }

  .sp-market-pulse-signal-card .sp-market-pulse-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
  }

  .sp-market-pulse-signal-card__signal {
    display: grid;
    gap: 4px;
    min-width: 0;
    border: 1px solid rgba(248, 200, 107, 0.2);
    border-radius: 8px;
    background: rgba(248, 200, 107, 0.08);
    padding: 10px;
  }

  .sp-market-pulse-signal-card__signal > span,
  .sp-market-pulse-signal-card__metric > span {
    color: rgba(214, 224, 241, 0.72);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .sp-market-pulse-signal-card__signal strong {
    color: #f4f7ff;
    font-size: 1.16rem;
    line-height: 1.22;
  }

  .sp-market-pulse-signal-card__signal.is-up strong,
  .sp-market-pulse-signal-card__metric strong.is-up {
    color: #9ee7b6;
  }

  .sp-market-pulse-signal-card__signal.is-down strong,
  .sp-market-pulse-signal-card__metric strong.is-down {
    color: #ffb2bd;
  }

  .sp-market-pulse-signal-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }

  .sp-market-pulse-signal-card__metric {
    display: grid;
    gap: 3px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    padding: 9px 10px;
  }

  .sp-market-pulse-signal-card__metric strong {
    min-width: 0;
    color: #f4f7ff;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .sp-market-pulse-signal-card__metric a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
  }

  .sp-market-pulse-signal-card__metric a:hover,
  .sp-market-pulse-signal-card__metric a:focus-visible {
    color: var(--brand-gold);
  }

  .sp-market-pulse-signal-card__actions .sp-table-actions-group {
    justify-content: flex-start;
  }

  .sp-market-pulse-signal-card__actions .sp-row-action {
    min-height: 44px;
    border-radius: 8px;
    padding: 8px 12px;
  }

  .sp-market-pulse-mobile-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}

.sp-alert {
  border: 1px solid rgba(122, 162, 255, 0.35);
  border-radius: 8px;
  background: rgba(122, 162, 255, 0.12);
  padding: 12px 14px;
}

.sp-alert--success {
  border-color: rgba(54, 220, 162, 0.45);
  background: rgba(54, 220, 162, 0.12);
}

.sp-alert--danger {
  border-color: rgba(255, 106, 130, 0.45);
  background: rgba(255, 106, 130, 0.12);
}

.sp-form-feedback {
  width: 100%;
  margin-top: 12px;
}

.sp-confirm-open,
.sp-action-open,
.sp-page-loading {
  overflow: hidden;
}

.sp-confirm-overlay {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 7, 12, 0.76);
  backdrop-filter: blur(8px);
  padding: 18px;
}

.sp-page-loading-overlay {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 7, 12, 0.8);
  backdrop-filter: blur(8px);
  cursor: wait;
  padding: 18px;
}

.sp-action-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 7, 12, 0.72);
  backdrop-filter: blur(8px);
  padding: 18px;
}

.sp-confirm-overlay[hidden],
.sp-action-overlay[hidden],
.sp-page-loading-overlay[hidden] {
  display: none !important;
}

.sp-confirm-dialog {
  width: min(440px, 100%);
  border: 1px solid rgba(255, 178, 189, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(22, 27, 36, 0.98), rgba(8, 12, 20, 0.98)),
    #080c14;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56);
  color: var(--ink);
  padding: clamp(18px, 4vw, 24px);
}

.sp-action-dialog {
  width: min(420px, 100%);
  border: 1px solid rgba(248, 200, 107, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 22, 30, 0.98), rgba(7, 10, 16, 0.98)),
    #080b11;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.54);
  color: var(--ink);
  padding: clamp(18px, 4vw, 24px);
}

.sp-page-loading-dialog {
  width: min(340px, 100%);
  border: 1px solid rgba(122, 162, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 22, 30, 0.98), rgba(7, 10, 16, 0.98)),
    #080b11;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  color: var(--ink);
  outline: none;
  padding: clamp(20px, 4vw, 26px);
  text-align: center;
}

.sp-page-loading-spinner {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border: 4px solid rgba(122, 162, 255, 0.24);
  border-top-color: #f8c86b;
  border-radius: 50%;
  animation: sp-button-spin 720ms linear infinite;
}

.sp-confirm-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.sp-action-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sp-confirm-heading h2 {
  margin: 2px 0 0;
  color: #f4f7ff;
  font-size: 1.2rem;
  line-height: 1.2;
}

.sp-action-heading h2 {
  margin: 2px 0 0;
  color: #f4f7ff;
  font-size: 1.2rem;
  line-height: 1.2;
}

.sp-page-loading-dialog h2 {
  margin: 0;
  color: #f4f7ff;
  font-size: 1.1rem;
  line-height: 1.2;
  text-align: center;
}

.sp-page-loading-dialog p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.sp-action-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.sp-confirm-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 178, 189, 0.48);
  border-radius: 50%;
  background: rgba(255, 106, 130, 0.13);
  color: #ffd8dd;
  font-size: 1.1rem;
  font-weight: 900;
}

.sp-confirm-message {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.sp-action-body {
  margin-top: 16px;
}

.sp-lot-actions--dialog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sp-lot-actions--dialog form {
  margin: 0;
}

.sp-lot-actions--dialog .sp-icon-button {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.sp-lot-actions--dialog form:last-child {
  grid-column: 1 / -1;
}

.sp-confirm-quantity,
.sp-confirm-money {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  color: #dce6f4;
  font-size: 0.86rem;
  font-weight: 750;
}

.sp-confirm-quantity input,
.sp-confirm-money input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(248, 200, 107, 0.28);
  border-radius: 8px;
  background: rgba(6, 9, 15, 0.9);
  color: var(--ink);
  font: inherit;
  padding: 9px 11px;
}

.sp-confirm-quantity-control {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
}

.sp-confirm-quantity-step {
  min-width: 44px;
  min-height: 42px;
  border: 1px solid rgba(248, 200, 107, 0.5);
  border-radius: 8px;
  background: rgba(248, 200, 107, 0.12);
  color: #ffe7aa;
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

.sp-confirm-quantity-step:hover,
.sp-confirm-quantity-step:focus-visible {
  border-color: rgba(248, 200, 107, 0.82);
  background: rgba(248, 200, 107, 0.2);
  color: #fff4d2;
  outline: 2px solid rgba(248, 200, 107, 0.2);
  outline-offset: 2px;
}

.sp-confirm-quantity-step:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.sp-confirm-quantity input[type="number"],
.sp-confirm-money input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.sp-confirm-quantity input[type="number"]::-webkit-inner-spin-button,
.sp-confirm-quantity input[type="number"]::-webkit-outer-spin-button,
.sp-confirm-money input[type="number"]::-webkit-inner-spin-button,
.sp-confirm-money input[type="number"]::-webkit-outer-spin-button {
  display: none;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.sp-confirm-quantity-help,
.sp-confirm-money-help {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.sp-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.sp-confirm-actions .button {
  min-height: 40px;
  border-radius: 8px;
  padding-inline: 16px;
}

.sp-confirm-actions .button::after {
  display: none;
}

.sp-action-close {
  min-height: 34px;
  border: 1px solid rgba(248, 200, 107, 0.28);
  border-radius: 999px;
  background: rgba(248, 200, 107, 0.08);
  color: #ffe7aa;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 5px 10px;
}

.sp-action-close:hover,
.sp-action-close:focus-visible {
  border-color: rgba(248, 200, 107, 0.7);
  background: rgba(248, 200, 107, 0.16);
  color: #fff3cf;
}

.sp-confirm-submit {
  border-color: rgba(255, 178, 189, 0.62);
  background: linear-gradient(125deg, #ffb2bd 0%, #ff6a82 100%);
  box-shadow:
    0 12px 26px rgba(255, 106, 130, 0.24),
    inset 0 0 0 1px rgba(255, 232, 236, 0.36);
  color: #22070c;
}

.sp-definition-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.sp-definition-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
}

.sp-definition-list dt {
  color: var(--muted);
  font-weight: 800;
}

.sp-definition-list dd {
  margin: 0;
}

.sp-danger-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.sp-legal {
  max-width: 900px;
  margin-inline: auto;
}

.sp-legal h2 {
  margin-top: 10px;
  color: #f4f7ff;
  font-size: 1.05rem;
}

.sp-import-upload,
.sp-import-preview,
.sp-import-confirm,
.sp-import-section {
  display: grid;
  gap: 18px;
}

.sp-import-upload__form {
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
}

.sp-import-upload__form > .button {
  min-height: 44px;
}

.sp-import-summary {
  margin-top: 2px;
}

.sp-import-section {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-import-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1;
}

.sp-import-table {
  min-width: 1120px;
}

.sp-import-table th:first-child,
.sp-import-table td:first-child {
  width: 76px;
}

.sp-import-table td {
  vertical-align: top;
}

.sp-import-table td:nth-child(2) {
  min-width: 250px;
}

.sp-import-table td:nth-child(8) {
  min-width: 180px;
}

.sp-import-table td strong,
.sp-import-table td small,
.sp-import-table td:nth-child(8) span {
  display: block;
}

.sp-import-table td small,
.sp-import-table label {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.sp-import-table select {
  width: 100%;
  min-width: 220px;
  min-height: 44px;
  margin-top: 8px;
}

.sp-import-messages {
  display: grid;
  gap: 3px;
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.sp-import-messages.is-error {
  color: #ffb2bd;
}

.sp-import-messages.is-warning {
  color: #ffe7aa;
}

.sp-import-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.sp-import-status--valid {
  border-color: rgba(158, 231, 182, 0.48);
}

.sp-import-status--ambiguous {
  border-color: rgba(248, 200, 107, 0.56);
}

.sp-import-status--invalid {
  border-color: rgba(255, 178, 189, 0.5);
}

.sp-import-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-import-confirm__actions p {
  flex: 1 1 420px;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .sp-holdings-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sp-holdings-toolbar__views {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .sp-holdings-export {
    grid-column: 2;
    grid-row: 1;
  }

  .sp-workflow-decisions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-hero,
  .sp-dashboard-head,
  .sp-product-head,
  .sp-account-summary,
  .sp-preview-gate,
  .sp-readout,
  .sp-grid--two,
  .sp-grid--thirds,
  .sp-auth-grid,
  .sp-action-center-hero {
    grid-template-columns: 1fr;
  }

  .sp-import-upload__form {
    grid-template-columns: 1fr;
  }

  .sp-account-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sp-account-bar__settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-summary-grid {
    grid-template-columns: 1fr;
  }

  .sp-account-bar__edit {
    justify-self: start;
  }

  .sp-form-grid,
  .sp-lot-form .sp-form-grid,
  .sp-settings-summary,
  .sp-settings-grid,
  .sp-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-ev-lab-form .sp-checkbox,
  .sp-ev-lab-form .button {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .sp-holdings-section {
    gap: 16px;
    border-radius: 12px;
  }

  .sp-holdings-head,
  .sp-holdings-toolbar {
    grid-template-columns: 1fr;
  }

  .sp-holdings-head {
    align-items: stretch;
  }

  .sp-holdings-add-button {
    width: 100%;
  }

  .sp-holdings-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .sp-holdings-toolbar__views,
  .sp-holdings-export {
    grid-column: 1;
  }

  .sp-holdings-toolbar__views {
    display: grid;
    grid-row: 2;
    grid-template-columns: 1fr;
  }

  .sp-holdings-export {
    grid-row: 3;
  }

  .sp-holdings-toolbar .sp-segmented-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .sp-holdings-toolbar .sp-segmented-control__label {
    grid-column: 1 / -1;
    padding: 5px 7px 2px;
  }

  .sp-holdings-toolbar .sp-segmented-control label {
    min-width: 0;
  }

  body.magic-theme-page .sp-holdings-section .sp-table-export-button {
    width: 100%;
  }

  .sp-panel .sp-holdings-scroll-hint {
    display: none;
  }

  .sp-holdings-section .sp-holding-card-group,
  .sp-holdings-section .sp-holding-card {
    border-radius: 11px;
  }

  body.magic-theme-page #portfolio-holdings .sp-holding-card__title a {
    color: #f4f7ff;
    -webkit-text-fill-color: #f4f7ff;
  }

  body.magic-theme-page #portfolio-holdings .sp-holding-card__title a:hover,
  body.magic-theme-page #portfolio-holdings .sp-holding-card__title a:focus-visible {
    color: #ffe19a;
    -webkit-text-fill-color: #ffe19a;
  }

  body.magic-theme-page .sp-holdings-section .sp-holding-card-actions .sp-icon-button {
    width: auto;
    min-height: 44px;
    border-color: rgba(248, 200, 107, 0.36);
    border-radius: 8px;
    background: rgba(248, 200, 107, 0.09);
    box-shadow: none;
    color: #efd288;
    padding: 8px 12px;
    -webkit-text-fill-color: #efd288;
  }

  .sp-workflow-nav__body {
    grid-template-columns: 1fr;
  }

  .sp-workflow-primary,
  .sp-workflow-decisions,
  .sp-workflow-nav .sp-access-pill {
    grid-column: 1;
  }

  .sp-workflow-primary {
    grid-row: 1;
  }

  .sp-workflow-decisions {
    grid-row: 2;
  }

  .sp-workflow-nav .sp-access-pill {
    grid-row: 3;
  }

  .sp-deck-radar-shell .deck-radar-navigation {
    align-items: stretch;
    flex-direction: column;
  }

  .sp-deck-radar-shell .deck-radar-navigation__links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sp-deck-radar-shell .deck-radar-navigation__link {
    width: 100%;
  }

  .sp-form-grid,
  .sp-lot-form .sp-form-grid,
  .sp-settings-summary,
  .sp-settings-grid,
  .sp-settings-grid--compact,
  .sp-choice-grid {
    grid-template-columns: 1fr;
  }

  .sp-game-settings > summary {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-right: 42px;
  }

  .sp-actions,
  .sp-workflow-nav,
  .sp-workflow-steps,
  .sp-section-actions,
  .sp-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .sp-workflow-nav,
  .sp-workflow-nav__body,
  .sp-workflow-primary,
  .sp-workflow-decisions,
  .sp-workflow-group,
  .sp-workflow-group > div,
  .sp-workflow-nav .sp-access-pill {
    width: 100%;
  }

  .sp-workflow-group {
    align-items: stretch;
  }

  .sp-workflow-group > div {
    align-items: stretch;
    flex-direction: column;
  }

  .sp-workflow-nav a,
  .sp-workflow-decisions a {
    justify-content: flex-start;
    min-height: 44px;
  }

  .sp-action-center-decisions,
  .sp-action-center-links {
    grid-template-columns: 1fr;
  }

  .sp-action-center-picker article {
    align-items: stretch;
    flex-direction: column;
  }

  .sp-action-center-picker .button {
    width: 100%;
  }

  .sp-inline-search {
    flex-wrap: nowrap;
    align-items: end;
    width: 100%;
    margin-left: 0;
  }

  .sp-section-head--search {
    grid-template-columns: 1fr;
  }

  .sp-section-actions {
    margin-left: 0;
  }

  .sp-section-actions .sp-table-search {
    width: 100%;
  }

  .sp-table-export-actions {
    justify-content: stretch;
  }

  .sp-table-export-button {
    width: 100%;
  }

  .sp-table-search,
  .sp-inline-search input,
  .sp-inline-search .button,
  .sp-segmented-control,
  .sp-segmented-control span,
  .sp-confirm-actions .button,
  .sp-action-close,
  .sp-action-dialog .sp-icon-button {
    min-height: 44px;
  }

  .sp-action-dialog .sp-icon-button {
    border-radius: 8px;
    padding: 8px 12px;
  }

  .sp-action-readout-grid {
    grid-template-columns: 1fr;
  }

  .sp-account-bar__settings {
    grid-template-columns: 1fr;
  }

  .sp-account-bar__edit {
    justify-self: stretch;
  }

  .sp-summary-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .sp-summary-count {
    text-align: left;
  }

  .sp-summary-group {
    padding: 14px;
  }

  .sp-summary-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sp-summary-item dd {
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }

  .sp-portfolio-tape__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .sp-portfolio-tape__item {
    padding-inline: 14px;
  }

  .sp-portfolio-tape__name {
    max-width: 128px;
  }

  .sp-settings-actions {
    justify-content: stretch;
  }

  .sp-definition-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .sp-confirm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sp-market-pulse-filter-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: row;
    justify-content: stretch;
    justify-self: stretch;
  }

  .sp-market-pulse-filter-actions .button {
    flex: 1 1 140px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-action-center-decisions a,
  .sp-action-center-links a,
  .sp-action-center-decisions .sp-action-center-card__cta {
    transition: none;
  }

  .sp-action-center-decisions a:hover,
  .sp-action-center-decisions a:focus-visible,
  .sp-action-center-links a:hover,
  .sp-action-center-links a:focus-visible {
    transform: none;
  }

  .sp-portfolio-tape__window {
    overflow-x: auto;
  }

  .sp-portfolio-tape__track {
    animation: none;
    transform: none;
  }
}

@media (max-width: 640px) {
  .sp-table th button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Manafolio compact data-table treatment */
.sealed-portfolio-page {
  --sp-table-border: rgba(122, 162, 255, 0.2);
  --sp-table-divider: rgba(255, 255, 255, 0.085);
  --sp-table-head: #101722;
  --sp-table-surface: #0d131c;
  --sp-table-sticky-surface: #0f151e;
}

.sealed-portfolio-page .sp-table-wrap {
  border-color: var(--sp-table-border);
  border-radius: 12px;
  background: var(--sp-table-surface);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  scrollbar-color: rgba(248, 200, 107, 0.42) rgba(8, 12, 19, 0.86);
}

.sealed-portfolio-page .sp-table {
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  font-variant-numeric: tabular-nums;
}

.sealed-portfolio-page .sp-table th,
.sealed-portfolio-page .sp-table td {
  border-bottom-color: var(--sp-table-divider);
  padding: 14px 12px;
  vertical-align: middle;
}

.sealed-portfolio-page .sp-table thead th {
  border-bottom: 1px solid rgba(122, 162, 255, 0.2);
  background: var(--sp-table-head);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  color: #ecd79f;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

body.magic-theme-page.sealed-portfolio-page .sp-table thead th > button {
  min-height: 0;
  height: auto;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-shadow: none;
  transform: none;
  -webkit-text-fill-color: currentColor;
}

body.magic-theme-page.sealed-portfolio-page .sp-table thead th > button:hover,
body.magic-theme-page.sealed-portfolio-page .sp-table thead th > button:focus-visible {
  border: 0;
  background: rgba(248, 200, 107, 0.07);
  box-shadow: none;
  color: #ffe7ad;
  filter: none;
  transform: none;
  -webkit-text-fill-color: currentColor;
}

.sealed-portfolio-page .sp-table thead th:first-child {
  border-top-left-radius: 11px;
  background: var(--sp-table-head);
}

.sealed-portfolio-page .sp-table thead th:last-child {
  border-top-right-radius: 11px;
}

.sealed-portfolio-page .sp-table tbody tr:last-child > th,
.sealed-portfolio-page .sp-table tbody tr:last-child > td {
  border-bottom: 0;
}

.sealed-portfolio-page .sp-table tbody tr:not(.sp-holding-row):hover {
  background: rgba(248, 200, 107, 0.055);
}

.sealed-portfolio-page
  .sp-table
  tbody
  tr:not(.sp-holding-row)
  > :first-child {
  background: var(--sp-table-sticky-surface);
  box-shadow: 1px 0 0 rgba(122, 162, 255, 0.12);
}

.sealed-portfolio-page
  .sp-table
  tbody
  tr:not(.sp-holding-row):nth-child(even)
  > :first-child {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)),
    var(--sp-table-sticky-surface);
}

.sealed-portfolio-page
  .sp-table
  tbody
  tr:not(.sp-holding-row):hover
  > :first-child {
  background:
    linear-gradient(rgba(248, 200, 107, 0.055), rgba(248, 200, 107, 0.055)),
    var(--sp-table-sticky-surface);
}

.sealed-portfolio-page .sp-table tbody th > a {
  color: #f5cb70;
  font-weight: 850;
  text-decoration-color: rgba(245, 203, 112, 0.52);
  text-underline-offset: 3px;
}

.sealed-portfolio-page .sp-table tbody th > span {
  margin-top: 5px;
  color: #aebbd0;
  font-size: 0.74rem;
  line-height: 1.35;
}

.sealed-portfolio-page .sp-table td.is-up,
.sealed-portfolio-page .sp-table td.is-down {
  font-weight: 850;
  white-space: nowrap;
}

.sealed-portfolio-page .sp-table td.is-up {
  color: #69dfa2;
}

.sealed-portfolio-page .sp-table td.is-down {
  color: #ff7e85;
}

.sealed-portfolio-page .sp-table td.is-up::before,
.sealed-portfolio-page .sp-table td.is-down::before {
  display: inline-block;
  margin-right: 0.28rem;
  font-size: 0.9em;
  line-height: 1;
}

.sealed-portfolio-page .sp-table td.is-up::before {
  content: "\2191";
}

.sealed-portfolio-page .sp-table td.is-down::before {
  content: "\2193";
}

body.magic-theme-page.sealed-portfolio-page .sp-table-export-button,
body.magic-theme-page.sealed-portfolio-page
  .sp-section-head
  .button.button-secondary,
body.magic-theme-page.sealed-portfolio-page
  a.sp-row-action.sp-row-action--primary {
  --button-foreground: #f8d788;
  border-color: rgba(248, 200, 107, 0.58);
  border-radius: 7px;
  background: rgba(248, 200, 107, 0.055);
  box-shadow: none;
  color: var(--button-foreground);
  text-shadow: none;
  -webkit-text-fill-color: currentColor;
}

body.magic-theme-page.sealed-portfolio-page .sp-table-export-button:hover,
body.magic-theme-page.sealed-portfolio-page .sp-table-export-button:focus-visible,
body.magic-theme-page.sealed-portfolio-page
  .sp-section-head
  .button.button-secondary:hover,
body.magic-theme-page.sealed-portfolio-page
  .sp-section-head
  .button.button-secondary:focus-visible,
body.magic-theme-page.sealed-portfolio-page
  a.sp-row-action.sp-row-action--primary:hover,
body.magic-theme-page.sealed-portfolio-page
  a.sp-row-action.sp-row-action--primary:focus-visible {
  border-color: rgba(248, 200, 107, 0.9);
  background: rgba(248, 200, 107, 0.12);
  box-shadow: 0 0 0 2px rgba(248, 200, 107, 0.12);
  color: #fff0c7;
  filter: none;
  transform: translateY(-1px);
  -webkit-text-fill-color: currentColor;
}

.sealed-portfolio-page .sp-table-actions-group--menu {
  position: relative;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.sealed-portfolio-page
  .sp-table-actions-group--menu:has(.sp-row-action-menu[open]) {
  align-items: flex-start;
}

.sealed-portfolio-page .sp-row-action--primary {
  min-width: 72px;
}

.sp-row-action-menu {
  position: relative;
}

.sp-row-action-menu[open] {
  min-width: 190px;
}

.sp-row-action-menu > summary {
  display: inline-flex;
  width: 36px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: #e8edf5;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  list-style: none;
}

.sp-row-action-menu > summary::-webkit-details-marker {
  display: none;
}

.sp-row-action-menu > summary:hover,
.sp-row-action-menu > summary:focus-visible,
.sp-row-action-menu[open] > summary {
  margin-left: auto;
  border-color: rgba(248, 200, 107, 0.72);
  background: rgba(248, 200, 107, 0.11);
  color: #ffe7ad;
  outline: 0;
}

.sp-row-action-menu__panel {
  display: grid;
  min-width: 190px;
  margin-top: 7px;
  gap: 3px;
  border: 1px solid rgba(248, 200, 107, 0.34);
  border-radius: 9px;
  background: #151b25;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.48);
  padding: 7px;
  text-align: left;
}

body.magic-theme-page.sealed-portfolio-page
  .sp-row-action-menu__panel
  a.sp-row-action {
  min-width: 0;
  justify-content: flex-start;
  border-color: transparent;
  background: transparent;
  color: #eef2f8;
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
}

body.magic-theme-page.sealed-portfolio-page
  .sp-row-action-menu__panel
  a.sp-row-action:hover,
body.magic-theme-page.sealed-portfolio-page
  .sp-row-action-menu__panel
  a.sp-row-action:focus-visible {
  border-color: rgba(248, 200, 107, 0.22);
  background: rgba(248, 200, 107, 0.1);
  box-shadow: none;
  color: #ffe7ad;
}

.sealed-portfolio-page .sp-table td.sp-table-snapshot {
  min-width: 170px;
  color: #edf2f8;
  line-height: 1.4;
  text-align: left;
}

.sp-table-snapshot span {
  display: block;
}

.sp-table-snapshot span + span {
  margin-top: 5px;
  color: #9facbf;
}

.sp-table-snapshot strong {
  color: #d8e1ee;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .sealed-portfolio-page .sp-table th,
  .sealed-portfolio-page .sp-table td {
    padding: 12px 10px;
  }
}
