.sales-notice {
  margin: 0 0 22px; padding: 14px 18px;
  border: 1px solid var(--hairline); border-left: 4px solid var(--gold); border-radius: var(--r);
  background: var(--surface-2); color: var(--ivory); font-size: 15px; font-weight: 600; line-height: 1.5;
}
.sales-notice[hidden] { display: none; }
:root[data-theme="light"] .sales-notice {
  background: linear-gradient(90deg, rgba(214,170,70,.16), rgba(214,170,70,.05) 55%, rgba(255,253,248,0)), #fffdf8;
  border-color: rgba(184,137,42,.30); border-left-color: #c8a951;
}

.sc-pill {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 4px 11px 4px 9px;
  border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); border-radius: 999px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--gold) 24%, transparent), color-mix(in srgb, var(--gold) 8%, transparent));
  color: var(--gold-bright); font-size: 12.5px; font-weight: 700; line-height: 1.3; letter-spacing: .01em;
  white-space: nowrap; vertical-align: middle; font-variant-numeric: tabular-nums;
}
.sc-dot {
  position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent);
}
.sc-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
:root[data-theme="light"] .sc-pill:not(.is-few, .band-night *, .night-card *) {
  border-color: rgba(184,137,42,.62); background: linear-gradient(100deg, rgba(214,170,70,.30), rgba(214,170,70,.10));
}
.pr-scarce .sc-pill:not(.is-few), :root[data-theme="light"] .pr-scarce .sc-pill:not(.is-few) { border-color: transparent; }
.sc-pill.is-few {
  border-color: rgba(138,107,35,.45); background: linear-gradient(135deg, #ecd593, #c8a951); color: #14110a;
  box-shadow: 0 2px 10px -3px rgba(200,150,40,.65);
}
.sc-pill.is-few .sc-dot { box-shadow: 0 0 0 3px rgba(20,17,10,.14); }
.sc-dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .sc-pill.is-few .sc-dot::after { animation: sc-ring 2s ease-out .4s 2; }
}
@keyframes sc-ring { from { opacity: .55; transform: scale(.6); } to { opacity: 0; transform: scale(1.9); } }

.wl-msg { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--stone); }
.wl-msg.ok { color: var(--ok); }
.wl-msg.bad { color: var(--bad); }

.wlj { margin: 0; }
.wlj.is-busy { cursor: progress; }
.wlj-plans { min-width: 0; margin: 0; padding: 0; border: 0; }
.wlj-legend { margin: 0 0 10px; padding: 0; font-size: 13px; font-weight: 600; color: var(--ivory); }
.wlj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wlj-opt {
  display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 12px 14px;
  border: 1px solid var(--hairline-2); border-radius: 12px; background: var(--surface-2);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.wlj-opt:hover { border-color: var(--hairline); }
.wlj-opt input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--gold); }
.wlj-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-glow); box-shadow: inset 0 0 0 1px var(--gold); }
.wlj-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.wlj-opt input:focus-visible { outline: none; }
.wlj-opt.is-off { cursor: not-allowed; background: transparent; }
.wlj-opt.is-off:hover { border-color: var(--hairline-2); }
.wlj-opt.is-off .wlj-name, .wlj-opt.is-off .wlj-sub { color: var(--stone-dim); }
.wlj-txt { display: grid; gap: 2px; min-width: 0; }
.wlj-name { font-size: 14px; font-weight: 700; color: var(--ivory); }
.wlj-sub { font-size: 12.5px; line-height: 1.45; color: var(--stone); }
.wlj-note { margin-top: 3px; font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--gold-bright); }
.wlj-note.is-full { color: var(--bad); }
.wlj-note.is-mine { color: var(--ok); }
.wlj-note.wlj-scarce { margin-top: 6px; }
.wlj-scarce .sc-pill { padding: 3px 10px 3px 8px; font-size: 12px; }
.wlj-consent { margin: 16px 0 0; }
.wlj-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wlj-choice {
  margin-top: 14px; padding: 14px 16px;
  border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface-2);
}
.wlj-choice-txt { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: var(--ivory); }
.wlj-choice-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.wl-ok-line { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 16px; line-height: 1.45; color: var(--ivory); }
.wl-ok-line:focus:not(:focus-visible) { outline: none; }
.wl-ico {
  flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ok);
  fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.wl-ok-sub, .wl-ok-rule { margin: 0 0 8px 34px; font-size: 13.5px; line-height: 1.6; color: var(--stone); }
.wl-ok-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

html.wl-dlg-open { overflow: hidden; }
.wl-dlg {
  width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--ivory); overflow: visible;
}
.wl-dlg::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.wl-dlg-card {
  max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: 24px 26px 24px;
  border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.55; text-align: left;
}
.wl-dlg-head { display: flex; align-items: flex-start; gap: 12px; }
.wl-dlg-head h2 { flex: 1; margin: 0; font-family: var(--sans); font-size: 21px; font-weight: 750; line-height: 1.25; letter-spacing: -.01em; color: var(--ivory); }
.wl-dlg-x {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin: -6px -10px 0 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--stone); font: inherit; font-size: 24px; line-height: 1; cursor: pointer;
}
.wl-dlg-x:hover { background: var(--surface-2); color: var(--ivory); }
.wl-dlg-lede { margin: 6px 0 18px; font-size: 14px; line-height: 1.6; color: var(--stone); }
.wl-dlg-load { margin: 0; color: var(--stone); }
.wl-dlg-note {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 12px;
  background: var(--gold-glow); color: var(--ivory); font-size: 13.5px; line-height: 1.55;
}

.wl-dash { margin: 0 0 20px; border-color: var(--hairline); background: radial-gradient(60% 140% at 0% 0%, var(--gold-glow), transparent 70%), var(--surface); }
.wl-dash .card-head { align-items: center; }
.wl-dash .card-head h2:focus:not(:focus-visible) { outline: none; }
.wl-dash-lede { max-width: 72ch; margin: -4px 0 16px; font-size: 13.5px; line-height: 1.6; color: var(--stone); }
.wl-dash .wlj-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.wl-dash-body { display: flex; align-items: center; gap: 20px; }
.wl-place {
  flex: none; display: grid; justify-items: center; align-content: center; gap: 2px; width: 112px; min-height: 112px; padding: 10px;
  border: 1px solid var(--hairline); border-radius: 16px; background: var(--surface-2); text-align: center;
}
.wl-place-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.wl-place-n { font-size: 44px; line-height: 1.05; font-weight: 750; letter-spacing: -.02em; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.wl-place-of { font-size: 12.5px; color: var(--stone); }
.wl-dash-txt { min-width: 0; }
.wl-dash-line { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--ivory); }
.wl-dash-rule { max-width: 72ch; margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; color: var(--stone); }
.wl-dash-since { margin: 0; font-size: 12.5px; color: var(--stone-dim); }
.wl-dash-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.wl-account { display: flex; flex-direction: column; align-items: stretch; }
.wl-count { align-self: flex-start; max-width: 100%; margin: 0 0 14px; line-height: 1; }
.wl-count .sc-pill { padding: 5px 12px 5px 10px; font-size: 13px; }
.wl-acct-h { margin: 0 0 8px; font-family: var(--sans); font-size: 19px; font-weight: 750; line-height: 1.3; color: var(--ivory); }
.wl-acct-p { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--stone); }
.wl-acct-line { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; line-height: 1.45; color: var(--ivory); }
.wl-account .btn { width: 100%; }
.wl-acct-alt { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: var(--stone); }
.wl-acct-alt a { margin-left: 4px; color: var(--gold-bright); font-weight: 600; }
.wl-acct-old { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline-2); text-align: center; font-size: 13px; line-height: 1.55; color: var(--stone); }

.wl-handoff {
  margin: 0 0 22px; padding: 14px 16px;
  border: 1px solid var(--hairline); border-left: 4px solid var(--gold); border-radius: var(--r); background: var(--gold-glow);
}
.wl-handoff-line { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ivory); }
.auth-form .wl-handoff .consent { margin: 10px 0 0; }

@media (max-width: 560px) {
  .wlj-grid, .wl-dash .wlj-grid { grid-template-columns: minmax(0, 1fr); }
  .wlj-grid { gap: 8px; }
  .wlj-opt { padding: 10px 12px; }
  .wlj-txt { flex: 1; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: baseline; }
  .wlj-sub { text-align: right; }
  .wlj-note, .wlj-opt-founding .wlj-sub { grid-column: 1 / -1; text-align: left; }
  .wl-dlg-card { padding: 20px 18px; }
  .wl-dlg-head h2 { font-size: 19px; }
  .wl-ok-sub, .wl-ok-rule { margin-left: 0; }
  .wl-dash-body { align-items: flex-start; gap: 14px; }
  .wl-place { width: 84px; min-height: 84px; border-radius: 14px; }
  .wl-place-n { font-size: 34px; }
  .sales-notice { font-size: 14px; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wlj-opt { transition: none; }
  .sc-dot::after { animation: none; }
}
@media (forced-colors: active) {
  .wlj-opt:has(input:checked) { outline: 2px solid Highlight; }
  .wl-ico { forced-color-adjust: auto; }
  .sc-pill { border-color: CanvasText; }
  .sc-dot { forced-color-adjust: none; background: CanvasText; box-shadow: none; }
}
