/* attribute-alerts.css — Scoped styles for /attribute-alerts */

.attribute-alerts-page {
  color: var(--parchment, #eee3cd);
  font-family: "EB Garamond", Baskerville, Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
}

.attribute-alerts-page [hidden] {
  display: none !important;
}

.attribute-alerts-page .site-shell {
  width: 100%;
  max-width: 1380px;
  margin: 24px auto;
  padding: 0 18px 56px;
  box-sizing: border-box;
}

.attribute-alerts-page h1,
.attribute-alerts-page h2,
.attribute-alerts-page h3 {
  font-family: "Almendra", Georgia, serif;
  color: var(--parchment, #eee3cd);
  line-height: 1.15;
  margin: 0;
}

.attribute-alerts-page :is(button, a, input, select, summary):focus-visible {
  outline: 2px solid var(--brass-light, #dfbd74);
  outline-offset: 3px;
}

/* Intro banner */
.attribute-alerts-page .attribute-alerts-intro {
  margin: 22px 0 18px;
  padding: 0;
}

.attribute-alerts-page .attribute-alerts-intro h1 {
  font-size: 30px;
  margin: 0 0 6px;
}

.attribute-alerts-page .attribute-alerts-intro p {
  margin: 0 0 6px;
  color: var(--parchment-soft, #d0c2a5);
  max-width: 72ch;
}

.attribute-alerts-page .attribute-alerts-intro p:last-child {
  margin-bottom: 0;
}

.attribute-alerts-page .attribute-alerts-intro__basis {
  font-size: 0.94rem;
  color: var(--parchment-dim, #a99b80);
}

/* Two equal-width desktop columns */
.attribute-alerts-page .attribute-alerts-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}

.attribute-alerts-page .attribute-alerts-column {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Left Column: Create Attribute Alert Form */
.attribute-alerts-page .attribute-alert-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 20px 20px 22px 26px;
  box-sizing: border-box;
}

.attribute-alerts-page .attribute-alert-form > .panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.24);
}

.attribute-alerts-page .attribute-alert-form > .panel-heading h2 {
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  margin-top: 2px;
}

.attribute-alerts-page .attribute-alert-form > .panel-heading p {
  margin: 6px 0 0;
  color: var(--parchment-soft, #d0c2a5);
  font-size: 0.96rem;
}

.attribute-alerts-page .attr-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(197, 160, 89, 0.24);
  background: rgba(12, 10, 9, 0.56);
}

.attribute-alerts-page .attr-stage__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.18);
}

.attribute-alerts-page .attr-stage__heading h3 {
  font-size: 1.3rem;
}

.attribute-alerts-page .attr-stage__heading p {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--parchment-dim, #a99b80);
}

.attribute-alerts-page .attr-stage__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.attribute-alerts-page .attr-row-count {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-light, #dfbd74);
}

/* Attribute rows */
.attribute-alerts-page .attribute-rows-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.attribute-alerts-page .attr-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(110px, 0.75fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  background: linear-gradient(180deg, rgba(28, 24, 20, 0.9), rgba(17, 14, 12, 0.92));
}

.attribute-alerts-page .attr-row__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.attribute-alerts-page .attr-row__field > label,
.attribute-alerts-page .attr-field > label,
.attribute-alerts-page .attr-delivery-fieldset > legend {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--parchment-soft, #d0c2a5);
}

.attribute-alerts-page input:not([type="checkbox"]):not([type="radio"]),
.attribute-alerts-page select {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  font-family: "EB Garamond", Baskerville, Georgia, serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--parchment, #eee3cd);
  background: #12100d;
  border: 1px solid rgba(197, 160, 89, 0.42);
  border-radius: 2px;
  box-sizing: border-box;
}

.attribute-alerts-page input:disabled,
.attribute-alerts-page select:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.attribute-alerts-page .attr-row__remove {
  min-height: 42px;
  padding: 8px 12px;
  font-size: 0.76rem;
  white-space: nowrap;
}

.attribute-alerts-page .attr-row__meta {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
  color: var(--parchment-dim, #a99b80);
}

/* Rarity & Max Price Grid */
.attribute-alerts-page .attr-criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.attribute-alerts-page .attr-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.attribute-alerts-page .attr-field__hint {
  font-size: 0.84rem;
  color: var(--parchment-dim, #a99b80);
  line-height: 1.35;
}

.attribute-alerts-page .attr-price-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}


.attribute-alerts-page .attr-price-input-wrap input {
  padding-left: 11px;
}

/* Delivery mode fieldset */
.attribute-alerts-page .attr-delivery-fieldset {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.attribute-alerts-page .attr-delivery-fieldset > legend {
  margin-bottom: 8px;
  padding: 0;
}

.attribute-alerts-page .attr-delivery-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.attribute-alerts-page .attr-delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(197, 160, 89, 0.32);
  background: rgba(16, 14, 11, 0.78);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.attribute-alerts-page .attr-delivery-option:hover {
  border-color: var(--brass-light, #dfbd74);
  background: rgba(197, 160, 89, 0.1);
}

.attribute-alerts-page .attr-delivery-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--brass-light, #dfbd74);
  flex: none;
  cursor: pointer;
}

.attribute-alerts-page .attr-delivery-option__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.attribute-alerts-page .attr-delivery-option__body strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--parchment, #eee3cd);
}

.attribute-alerts-page .attr-delivery-option__body small {
  font-size: 0.84rem;
  color: var(--parchment-dim, #a99b80);
  line-height: 1.3;
}

/* Form Actions & Banners */
.attribute-alerts-page .attr-form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.attribute-alerts-page .attr-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.attribute-alerts-page .attr-guest-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--parchment-dim, #a99b80);
}

.attribute-alerts-page .attr-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  background: rgba(24, 20, 16, 0.9);
}

.attribute-alerts-page .attr-banner p {
  margin: 0;
}

.attribute-alerts-page .attr-banner--error {
  border-color: rgba(212, 90, 90, 0.65);
  background: rgba(74, 20, 20, 0.35);
  color: #f6dede;
}

.attribute-alerts-page .attr-feedback {
  padding: 11px 14px;
  border-radius: 2px;
  font-size: 0.95rem;
}

.attribute-alerts-page .attr-feedback--success {
  border: 1px solid rgba(146, 184, 137, 0.55);
  background: rgba(45, 72, 39, 0.34);
  color: #dff0d8;
}

.attribute-alerts-page .attr-feedback--error {
  border: 1px solid rgba(212, 90, 90, 0.65);
  background: rgba(74, 20, 20, 0.38);
  color: #f6dede;
}

/* Right Column: Price History Panel */
.attribute-alerts-page .attribute-alerts-column--history {
  padding: 20px 20px 22px 26px;
}

.attribute-alerts-page .attr-history {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.attribute-alerts-page .attr-history__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.24);
}

.attribute-alerts-page .attr-history__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.attribute-alerts-page .attr-history__heading {
  font-size: clamp(1.55rem, 2.3vw, 2rem);
}

.attribute-alerts-page .attr-history__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--parchment-soft, #d0c2a5);
}

.attribute-alerts-page .attr-history__basis-note {
  margin: 0;
  padding: 8px 11px;
  border-left: 3px solid var(--brass, #c5a059);
  background: rgba(197, 160, 89, 0.08);
  font-size: 0.88rem;
  color: var(--parchment-soft, #d0c2a5);
}

.attribute-alerts-page .attr-history__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.attribute-alerts-page .attr-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid rgba(197, 160, 89, 0.38);
  background: rgba(15, 13, 10, 0.82);
  font-size: 0.84rem;
  color: var(--parchment, #eee3cd);
}

.attribute-alerts-page .attr-filter-pill--rarity {
  border-color: var(--brass-light, #dfbd74);
  color: var(--brass-light, #dfbd74);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* History state boxes (empty, loading, error, unavailable, no-matches) */
.attribute-alerts-page .attr-history__state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  padding: 26px 18px;
  gap: 12px;
  border: 1px dashed rgba(197, 160, 89, 0.28);
  background: rgba(10, 9, 8, 0.44);
}

.attribute-alerts-page .attr-history__state-title {
  font-size: 1.25rem;
  color: var(--parchment, #eee3cd);
}

.attribute-alerts-page .attr-history__state-desc {
  margin: 0;
  max-width: 44ch;
  font-size: 0.95rem;
  color: var(--parchment-dim, #a99b80);
}

/* Chart Card & SVG */
.attribute-alerts-page .attr-chart-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(197, 160, 89, 0.24);
  background: rgba(8, 7, 6, 0.62);
}

.attribute-alerts-page .attr-chart-wrapper {
  width: 100%;
  overflow: hidden;
}

.attribute-alerts-page .attr-chart__svg {
  display: block;
  width: 100%;
  height: 260px;
}

.attribute-alerts-page .attr-chart__grid-line {
  stroke: rgba(197, 160, 89, 0.14);
  stroke-dasharray: 2 4;
}

.attribute-alerts-page .attr-chart__axis-text {
  fill: var(--parchment-dim, #a99b80);
  font-size: 11.5px;
  font-family: "EB Garamond", Georgia, serif;
  font-variant-numeric: tabular-nums;
}

.attribute-alerts-page .attr-chart__line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.attribute-alerts-page .attr-chart__dot {
  stroke: #12100d;
  stroke-width: 1.8;
}

/* Rarity palette for lines, dots, and swatches */
.attribute-alerts-page .attr-chart__line--uncommon { stroke: color-mix(in srgb, var(--rarity-uncommon) 80%, var(--parchment)); }
.attribute-alerts-page .attr-chart__dot--uncommon { fill: color-mix(in srgb, var(--rarity-uncommon) 80%, var(--parchment)); }
.attribute-alerts-page .attr-swatch--uncommon { background: color-mix(in srgb, var(--rarity-uncommon) 80%, var(--parchment)); }

.attribute-alerts-page .attr-chart__line--rare { stroke: color-mix(in srgb, var(--rarity-rare) 80%, var(--parchment)); }
.attribute-alerts-page .attr-chart__dot--rare { fill: color-mix(in srgb, var(--rarity-rare) 80%, var(--parchment)); }
.attribute-alerts-page .attr-swatch--rare { background: color-mix(in srgb, var(--rarity-rare) 80%, var(--parchment)); }

.attribute-alerts-page .attr-chart__line--epic { stroke: color-mix(in srgb, var(--rarity-epic) 80%, var(--parchment)); }
.attribute-alerts-page .attr-chart__dot--epic { fill: color-mix(in srgb, var(--rarity-epic) 80%, var(--parchment)); }
.attribute-alerts-page .attr-swatch--epic { background: color-mix(in srgb, var(--rarity-epic) 80%, var(--parchment)); }

.attribute-alerts-page .attr-chart__line--legendary { stroke: color-mix(in srgb, var(--rarity-legendary) 80%, var(--parchment)); }
.attribute-alerts-page .attr-chart__dot--legendary { fill: color-mix(in srgb, var(--rarity-legendary) 80%, var(--parchment)); }
.attribute-alerts-page .attr-swatch--legendary { background: color-mix(in srgb, var(--rarity-legendary) 80%, var(--parchment)); }

.attribute-alerts-page .attr-chart__line--unique { stroke: color-mix(in srgb, var(--rarity-unique) 80%, var(--parchment)); }
.attribute-alerts-page .attr-chart__dot--unique { fill: color-mix(in srgb, var(--rarity-unique) 80%, var(--parchment)); }
.attribute-alerts-page .attr-swatch--unique { background: color-mix(in srgb, var(--rarity-unique) 80%, var(--parchment)); }

/* Thin max-price reference line */
.attribute-alerts-page .attr-chart__max-price-line {
  stroke: #e8a838;
  stroke-width: 1.25;
  stroke-dasharray: 5 4;
}

.attribute-alerts-page .attr-chart__max-price-label {
  fill: #f3cf7a;
  font-size: 11px;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Labeled Legend */
.attribute-alerts-page .attr-chart__legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 8px;
  padding-top: 4px;
}

.attribute-alerts-page .attr-chart__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  background: rgba(18, 15, 12, 0.78);
  font-size: 0.84rem;
}

.attribute-alerts-page .attr-chart__legend-item[data-has-data="false"] {
  opacity: 0.72;
}

.attribute-alerts-page .attr-swatch {
  display: inline-block;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  flex: none;
}

.attribute-alerts-page .attr-swatch--max-price {
  height: 2px;
  background: repeating-linear-gradient(90deg, #e8a838 0 4px, transparent 4px 7px);
}

.attribute-alerts-page .attr-chart__legend-label {
  font-weight: 700;
  color: var(--parchment, #eee3cd);
}

.attribute-alerts-page .attr-chart__legend-meta {
  margin-left: auto;
  color: var(--parchment-dim, #a99b80);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.attribute-alerts-page .attr-history__meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--parchment-dim, #a99b80);
}

/* Accessible daily-data details table */
.attribute-alerts-page .attr-history__details {
  border: 1px solid rgba(197, 160, 89, 0.22);
  background: rgba(12, 10, 8, 0.55);
}

.attribute-alerts-page .attr-history__summary {
  padding: 10px 14px;
  cursor: pointer;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brass-light, #dfbd74);
}

.attribute-alerts-page .attr-history__table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(197, 160, 89, 0.16);
}

.attribute-alerts-page .attr-history__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  color: var(--parchment-soft, #d0c2a5);
}

.attribute-alerts-page .attr-history__table th,
.attribute-alerts-page .attr-history__table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
  text-align: left;
  white-space: nowrap;
}

.attribute-alerts-page .attr-history__table thead th {
  background: rgba(18, 15, 12, 0.92);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--parchment-dim, #a99b80);
}

.attribute-alerts-page .attr-history__col-num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

/* Saved Attribute Alerts Section */
.attribute-alerts-page .attribute-saved-section {
  margin-top: 10px;
}

.attribute-alerts-page .attribute-saved-section__sub {
  margin: 4px 0 0;
  color: var(--parchment-dim, #a99b80);
  font-size: 0.95rem;
}

.attribute-alerts-page .attribute-saved-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.attribute-alerts-page .attr-saved-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(240px, 1.4fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px 14px 20px;
}

.attribute-alerts-page .attr-saved-card__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.attribute-alerts-page .attr-saved-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.attribute-alerts-page .attr-saved-card__title {
  font-family: "Almendra", Georgia, serif;
  font-size: 1.3rem;
  color: var(--parchment, #eee3cd);
}

.attribute-alerts-page .attr-saved-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--parchment-dim, #a99b80);
}

.attribute-alerts-page .attr-saved-card__price {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brass-light, #dfbd74);
}

.attribute-alerts-page .attr-saved-card__rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.attribute-alerts-page .attr-saved-card__rule {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  background: rgba(197, 160, 89, 0.07);
  font-size: 0.84rem;
  color: var(--parchment, #eee3cd);
}

.attribute-alerts-page .attr-saved-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.attribute-alerts-page .attr-saved-card__btn {
  min-height: 38px;
  padding: 6px 11px;
  font-size: 0.74rem;
}

.attribute-alerts-page .attr-saved-card__btn.is-fast-active {
  border-color: var(--brass-light, #dfbd74);
  background: rgba(197, 160, 89, 0.2);
  color: #fff2cf;
}

.attribute-alerts-page .attr-saved-card__btn--delete {
  border-color: rgba(196, 84, 84, 0.55);
  color: #f3c4c4;
}

.attribute-alerts-page .attr-saved-card__btn--delete:hover:not(:disabled) {
  border-color: #ef7777;
  background: rgba(150, 39, 39, 0.35);
  color: #fff;
}

.attribute-alerts-page .attr-empty-saved {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(197, 160, 89, 0.26);
  background: rgba(12, 10, 8, 0.45);
  color: var(--parchment-dim, #a99b80);
}

/* Responsive layout stacking */
@media (max-width: 980px) {
  .attribute-alerts-page .attribute-alerts-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .attribute-alerts-page .attr-saved-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .attribute-alerts-page .attr-saved-card__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .attribute-alerts-page .site-shell {
    padding: 0 10px 40px;
    margin: 12px auto;
  }

  .attribute-alerts-page .attribute-alert-form,
  .attribute-alerts-page .attribute-alerts-column--history {
    padding: 16px 14px 18px 18px;
  }

  .attribute-alerts-page .attr-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .attribute-alerts-page .attr-criteria-grid,
  .attribute-alerts-page .attr-delivery-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Artifact retains the site's blood-red identity; its dash pattern is also
   distinct when rarity colours cannot be differentiated. */
.attribute-alerts-page .attr-chart__line--artifact { stroke: color-mix(in srgb, var(--rarity-artifact) 70%, var(--parchment)); stroke-dasharray: 6 3; }
.attribute-alerts-page .attr-chart__dot--artifact { fill: color-mix(in srgb, var(--rarity-artifact) 70%, var(--parchment)); }
.attribute-alerts-page .attr-swatch--artifact { background: color-mix(in srgb, var(--rarity-artifact) 70%, var(--parchment)); }
.attribute-alerts-page .attribute-alerts-workspace { align-items: stretch; }
.attribute-alerts-page .attribute-alerts-column--builder { display: flex; }
.attribute-alerts-page .attribute-alert-form { width: 100%; }

.attribute-alerts-page .attr-wearable-field { margin-block-end: 14px; }
.attribute-alerts-page .attr-history__listing-link { display: inline-block; padding-block: 4px; color: var(--brass-light); text-decoration: underline; text-underline-offset: 3px; }
.attribute-alerts-page .attr-history__listing-link:hover { color: var(--parchment); }
.attribute-alerts-page .attr-history__listing-link:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 3px; }
.attribute-alerts-page .attr-chart__line--poor { stroke: var(--rarity-poor, #8c8c8c); stroke-dasharray: 2 3; }
.attribute-alerts-page .attr-chart__dot--poor { fill: var(--rarity-poor, #8c8c8c); }
.attribute-alerts-page .attr-swatch--poor { background: var(--rarity-poor, #8c8c8c); }
.attribute-alerts-page .attr-chart__line--common { stroke: var(--rarity-common, #ddd); stroke-dasharray: 8 3; }
.attribute-alerts-page .attr-chart__dot--common { fill: var(--rarity-common, #ddd); }
.attribute-alerts-page .attr-swatch--common { background: var(--rarity-common, #ddd); }
