:root,
[data-theme="night"] {
  --navy-950: #020b14;
  --navy-900: #041525;
  --navy-800: #0a2a3d;
  --teal-500: #1aa6a1;
  --teal-300: #5ee4d8;
  --aqua: #7ef0ff;
  --shell: #1b854a;
  --shell-bright: #2db86a;
  --foam: #e8f7ff;
  --muted: #8fb4c4;
  --glass: rgba(8, 36, 52, 0.55);
  --glass-border: rgba(126, 240, 255, 0.14);
  --top-bg: rgba(2, 11, 20, 0.45);
  --top-border: rgba(126, 240, 255, 0.08);
  --chip-bg: rgba(8, 36, 52, 0.45);
  --chip-border: rgba(126, 240, 255, 0.16);
  --text-on-accent: #031018;
  --modal-scrim: rgba(2, 11, 20, 0.72);
  --dialog-bg: linear-gradient(180deg, rgba(8, 36, 52, 0.96), rgba(4, 21, 37, 0.98));
  --dialog-glow: rgba(26, 166, 161, 0.18);
  --input-bg: rgba(4, 21, 37, 0.72);
  --error: #ff8f8f;
  --error-soft: #ffb4a8;
  --shadow: rgba(0, 0, 0, 0.45);
  --brand-grad-from: #fff;
  --brand-grad-to: var(--teal-300);
  --sea-base: linear-gradient(180deg, #063248 0%, var(--navy-900) 42%, var(--navy-950) 100%);
  --sea-soft: linear-gradient(180deg, #052636 0%, var(--navy-950) 70%);
  --sea-glow-a: rgba(26, 166, 161, 0.35);
  --sea-glow-b: rgba(126, 240, 255, 0.12);
  --sea-glow-c: rgba(27, 133, 74, 0.18);
  --sea-glow-soft-a: rgba(26, 166, 161, 0.22);
  --sea-glow-soft-b: rgba(126, 240, 255, 0.08);
  --wave-a: linear-gradient(90deg, rgba(26, 166, 161, 0.45), rgba(27, 133, 74, 0.25));
  --wave-b: linear-gradient(90deg, rgba(7, 60, 80, 0.8), rgba(26, 166, 161, 0.3));
  --shell-stroke: rgba(126, 240, 255, 0.11);
  --shell-stroke-soft: rgba(94, 228, 216, 0.07);
  --shell-mark-opacity: 0.07;
  --shell-mark-filter: drop-shadow(0 0 40px rgba(26, 166, 161, 0.15));
  --font-brand: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  color-scheme: dark;
}

[data-theme="day"] {
  --navy-950: #eaf7f3;
  --navy-900: #d7efe8;
  --navy-800: #b9ddd2;
  --teal-500: #178f8a;
  --teal-300: #0f6f6a;
  --aqua: #0d6b5f;
  --shell: #1b854a;
  --shell-bright: #1b854a;
  --foam: #0c2f2a;
  --muted: #4a716a;
  --glass: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(27, 133, 74, 0.16);
  --top-bg: rgba(255, 255, 255, 0.72);
  --top-border: rgba(27, 133, 74, 0.12);
  --chip-bg: rgba(255, 255, 255, 0.7);
  --chip-border: rgba(27, 133, 74, 0.18);
  --text-on-accent: #ffffff;
  --modal-scrim: rgba(180, 220, 210, 0.55);
  --dialog-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 240, 0.98));
  --dialog-glow: rgba(27, 133, 74, 0.12);
  --input-bg: rgba(255, 255, 255, 0.88);
  --error: #c23b3b;
  --error-soft: #c23b3b;
  --shadow: rgba(20, 60, 50, 0.18);
  --brand-grad-from: #0c3d32;
  --brand-grad-to: #1b854a;
  --sea-base: linear-gradient(180deg, #c9ebe3 0%, #e3f5f0 48%, #eaf7f3 100%);
  --sea-soft: linear-gradient(180deg, #c5e8e0 0%, #eaf7f3 70%);
  --sea-glow-a: rgba(27, 133, 74, 0.22);
  --sea-glow-b: rgba(26, 166, 161, 0.16);
  --sea-glow-c: rgba(126, 240, 255, 0.2);
  --sea-glow-soft-a: rgba(27, 133, 74, 0.16);
  --sea-glow-soft-b: rgba(26, 166, 161, 0.12);
  --wave-a: linear-gradient(90deg, rgba(27, 133, 74, 0.22), rgba(26, 166, 161, 0.16));
  --wave-b: linear-gradient(90deg, rgba(180, 220, 210, 0.65), rgba(27, 133, 74, 0.18));
  --shell-stroke: rgba(27, 133, 74, 0.14);
  --shell-stroke-soft: rgba(15, 111, 106, 0.08);
  --shell-mark-opacity: 0.09;
  --shell-mark-filter: drop-shadow(0 8px 28px rgba(27, 133, 74, 0.12));
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--navy-950);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-size: 0.92em;
  color: var(--aqua);
}

/* —— Aquatic atmosphere —— */
.sea {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--sea-glow-a), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, var(--sea-glow-b), transparent 50%),
    radial-gradient(ellipse 50% 35% at 15% 70%, var(--sea-glow-c), transparent 55%),
    var(--sea-base);
}

.sea--soft {
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, var(--sea-glow-soft-a), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 10%, var(--sea-glow-soft-b), transparent 50%),
    var(--sea-soft);
}

/* Geometric carapace / scute motif */
.sea__shell {
  position: absolute;
  inset: -8%;
  opacity: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='146' viewBox='0 0 84 146'%3E%3Cg fill='none' stroke='%237ef0ff' stroke-opacity='0.55' stroke-width='1'%3E%3Cpath d='M42 0 L84 24 L84 73 L42 97 L0 73 L0 24 Z'/%3E%3Cpath d='M42 49 L84 73 L84 122 L42 146 L0 122 L0 73 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 84px 146px;
  mask-image:
    radial-gradient(ellipse 72% 62% at 50% 38%, #000 0%, #000 35%, transparent 78%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-image:
    radial-gradient(ellipse 72% 62% at 50% 38%, #000 0%, #000 35%, transparent 78%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  opacity: 0.55;
  mix-blend-mode: soft-light;
}

[data-theme="day"] .sea__shell {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='146' viewBox='0 0 84 146'%3E%3Cg fill='none' stroke='%231b854a' stroke-opacity='0.5' stroke-width='1'%3E%3Cpath d='M42 0 L84 24 L84 73 L42 97 L0 73 L0 24 Z'/%3E%3Cpath d='M42 49 L84 73 L84 122 L42 146 L0 122 L0 73 Z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.42;
  mix-blend-mode: multiply;
}

.sea__mark {
  display: none;
}

.sea__glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 45%;
  background: radial-gradient(circle, rgba(94, 228, 216, 0.2), transparent 70%);
  filter: blur(40px);
  animation: drift 12s ease-in-out infinite alternate;
}

[data-theme="day"] .sea__glow {
  background: radial-gradient(circle, rgba(27, 133, 74, 0.18), transparent 70%);
}

.sea__wave {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 40%;
  border-radius: 40% 60% 50% 50%;
  filter: blur(28px);
  opacity: 0.35;
  animation: swell 18s ease-in-out infinite alternate;
}

.sea__wave--1 {
  bottom: -8%;
  background: var(--wave-a);
}

.sea__wave--2 {
  bottom: -18%;
  background: var(--wave-b);
  animation-duration: 24s;
  animation-delay: -6s;
  opacity: 0.5;
}

.sea__bubbles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(126, 240, 255, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 20%, rgba(126, 240, 255, 0.25) 0 3px, transparent 4px),
    radial-gradient(circle at 40% 60%, rgba(94, 228, 216, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 55%, rgba(126, 240, 255, 0.18) 0 4px, transparent 5px),
    radial-gradient(circle at 12% 75%, rgba(94, 228, 216, 0.15) 0 2px, transparent 3px);
  animation: rise 20s linear infinite;
  opacity: 0.7;
}

@keyframes drift {
  from {
    transform: translateX(-4%) scale(1);
  }
  to {
    transform: translateX(4%) scale(1.08);
  }
}

@keyframes swell {
  from {
    transform: translateX(-3%) rotate(-2deg);
  }
  to {
    transform: translateX(4%) rotate(2deg);
  }
}

@keyframes rise {
  from {
    transform: translateY(8%);
  }
  to {
    transform: translateY(-8%);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shell-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

/* —— Login hero —— */
.page-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4.25rem 0 2.5rem;
}

.login-stack {
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.6rem;
  padding-inline: 1.25rem;
}

.hero {
  width: min(440px, 100%);
  margin-inline: auto;
  text-align: center;
  animation: float-in 0.9s ease both;
}

.hero__mark {
  display: block;
  margin: 0 auto 1.1rem;
  width: clamp(120px, 28vw, 152px);
  height: clamp(120px, 28vw, 152px);
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 12px 40px rgba(26, 166, 161, 0.35));
  animation: shell-float 4.5s ease-in-out infinite alternate;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2.55rem, 8vw, 3.55rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, var(--brand-grad-from) 20%, var(--brand-grad-to) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  margin: 0.95rem auto 1.55rem;
  max-width: 28ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__warn {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  border-radius: 14px;
  color: var(--muted);
  text-align: left;
  font-size: 0.95rem;
}

.btn--login {
  min-width: min(280px, 100%);
  box-shadow:
    0 10px 30px rgba(26, 166, 161, 0.35),
    0 0 0 1px rgba(126, 240, 255, 0.12);
}

.landing-hits,
.landing-merchants {
  position: relative;
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(8, 36, 52, 0.62), rgba(4, 21, 37, 0.42));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.landing-hits {
  padding: 1rem 0 1.15rem;
  animation: float-in 0.9s ease both;
  animation-delay: 0.12s;
}

.landing-hits__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.15rem 0.85rem;
}

.landing-hits__title,
.landing-merchants__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.landing-hits__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shell-bright);
  box-shadow: 0 0 0 0 rgba(45, 184, 106, 0.55);
  animation: landing-pulse 2.4s ease-out infinite;
}

.landing-hits__empty {
  margin: 0;
  padding: 0.35rem 1.15rem 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.landing-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.landing-marquee__fade {
  display: none;
}

.landing-marquee__track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  will-change: transform;
}

.landing-marquee__track--hits {
  animation: landing-marquee-ltr 42s linear infinite;
}

.landing-marquee__track--merchants {
  animation: landing-marquee-rtl 28s linear infinite;
}

.landing-marquee:hover .landing-marquee__track,
.landing-marquee:focus-within .landing-marquee__track {
  animation-play-state: paused;
}

.landing-hits__rail,
.landing-merchants__rail {
  list-style: none;
  margin: 0;
  padding: 0 0.35rem;
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex-shrink: 0;
}

.landing-card {
  flex: 0 0 auto;
  width: min(220px, 68vw);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0.75rem 0.65rem 0.65rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(126, 240, 255, 0.07), transparent 55%),
    rgba(2, 11, 20, 0.38);
  border: 1px solid rgba(126, 240, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.landing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 228, 216, 0.28);
}

.landing-card__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--navy-800);
  box-shadow: inset 0 0 0 1px rgba(126, 240, 255, 0.08);
}

.landing-card__thumb--empty {
  background:
    linear-gradient(135deg, rgba(27, 133, 74, 0.4), rgba(26, 166, 161, 0.22)),
    var(--navy-800);
}

.landing-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  align-items: flex-start;
}

.landing-card__site {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.landing-card__product {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--foam);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-card__price {
  margin-top: 0.15rem;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--shell-bright);
  white-space: nowrap;
}

.landing-merchants {
  padding: 0.9rem 0 1rem;
  animation: float-in 0.9s ease both;
  animation-delay: 0.2s;
}

.landing-merchants__title {
  padding: 0 1.15rem 0.75rem;
}

.landing-merchant {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: rgba(2, 11, 20, 0.32);
  border: 1px solid rgba(126, 240, 255, 0.12);
  white-space: nowrap;
}

.landing-merchant__name {
  font-family: var(--font-brand);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--foam);
}

.landing-merchant--soon {
  border-style: dashed;
  border-color: rgba(94, 228, 216, 0.35);
  background:
    linear-gradient(120deg, rgba(26, 166, 161, 0.12), transparent 70%),
    rgba(2, 11, 20, 0.28);
}

.landing-merchant__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-accent);
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.landing-security {
  margin: 0.15rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.9;
  max-width: 48ch;
  line-height: 1.45;
  animation: float-in 0.9s ease both;
  animation-delay: 0.26s;
}

@keyframes landing-marquee-ltr {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.375rem));
  }
}

@keyframes landing-marquee-rtl {
  from {
    transform: translateX(calc(-50% - 0.375rem));
  }
  to {
    transform: translateX(0);
  }
}

@keyframes landing-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 184, 106, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(45, 184, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 184, 106, 0);
  }
}

[data-theme="day"] .landing-hits,
[data-theme="day"] .landing-merchants {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(232, 246, 240, 0.62));
  box-shadow: 0 16px 40px rgba(20, 60, 50, 0.1);
}

[data-theme="day"] .landing-card {
  background:
    linear-gradient(145deg, rgba(27, 133, 74, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.72);
  border-color: rgba(27, 133, 74, 0.14);
  box-shadow: 0 8px 22px rgba(20, 60, 50, 0.08);
}

[data-theme="day"] .landing-card__product {
  color: var(--foam);
}

[data-theme="day"] .landing-merchant {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(27, 133, 74, 0.16);
}

[data-theme="day"] .landing-merchant--soon {
  background:
    linear-gradient(120deg, rgba(27, 133, 74, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.68);
  border-color: rgba(27, 133, 74, 0.32);
}

[data-theme="day"] .landing-hits__pulse {
  box-shadow: 0 0 0 0 rgba(27, 133, 74, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .landing-marquee__track--hits,
  .landing-marquee__track--merchants,
  .landing-hits__pulse,
  .hero__mark {
    animation: none !important;
  }

  .landing-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .landing-marquee__track {
    width: auto;
  }

  .landing-marquee__track .landing-hits__rail:last-child,
  .landing-marquee__track .landing-merchants__rail:last-child {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-login {
    padding-top: 3.75rem;
  }

  .login-stack {
    gap: 1.25rem;
  }

  .landing-card {
    width: min(200px, 74vw);
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .landing-card__thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
  }

  .landing-card__product {
    font-size: 0.84rem;
  }

  .landing-marquee__track--hits {
    animation-duration: 36s;
  }

  .landing-marquee__track--merchants {
    animation-duration: 22s;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
  color: var(--text-on-accent);
  box-shadow: 0 10px 30px rgba(26, 166, 161, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(94, 228, 216, 0.4);
}

.btn--edit {
  background: linear-gradient(135deg, #e8c547, #d4a017);
  color: #1a1404;
  box-shadow: 0 8px 22px rgba(212, 160, 23, 0.28);
}

.btn--edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(232, 197, 71, 0.38);
}

.btn--danger {
  background: linear-gradient(135deg, #e85d5d, #c0392b);
  color: #fff8f6;
  box-shadow: 0 8px 22px rgba(192, 57, 43, 0.28);
}

.btn--danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(232, 93, 93, 0.38);
}

.btn--danger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--small {
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
}

.btn__icon {
  display: grid;
  place-items: center;
}

/* —— Dashboard —— */
.page-dash {
  min-height: 100vh;
}

.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--top-border);
  backdrop-filter: blur(12px);
  background: var(--top-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.top__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  justify-self: center;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
}

.top__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.top__nav-link:hover {
  color: var(--foam);
}

.top__nav-link.is-active {
  color: var(--text-on-accent);
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

.top__nav-badge {
  min-width: 1.2rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(126, 240, 255, 0.12);
  color: var(--teal-300);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.25;
}

.top__nav-link.is-active .top__nav-badge {
  background: rgba(255, 255, 255, 0.22);
  color: var(--text-on-accent);
}

.top__nav-badge[hidden] {
  display: none;
}

.top__brand img {
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 8px rgba(26, 166, 161, 0.35));
}

.top__user {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.65rem;
}

.top__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.client-view-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.client-view-toggle:hover {
  color: var(--foam);
  border-color: rgba(26, 166, 161, 0.35);
  transform: translateY(-1px);
}

.client-view-toggle:focus-visible {
  outline: 2px solid rgba(26, 166, 161, 0.45);
  outline-offset: 2px;
}

.client-view-toggle.is-active {
  color: var(--text-on-accent);
  border-color: transparent;
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

.client-view-pick {
  display: inline-flex;
  align-items: center;
}

.client-view-picker {
  appearance: none;
  min-height: 2.35rem;
  max-width: 11rem;
  padding: 0.3rem 1.75rem 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237ef0ff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.7rem center;
  color: var(--foam);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.client-view-picker:hover,
.client-view-picker:focus-visible {
  border-color: rgba(26, 166, 161, 0.45);
  outline: none;
}

.client-view-picker.is-attention {
  border-color: rgba(255, 180, 80, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 180, 80, 0.2);
}

.client-view-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin: 0 0 1.1rem;
  padding: 0.7rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(26, 166, 161, 0.35);
  background: linear-gradient(
    120deg,
    rgba(26, 166, 161, 0.18),
    rgba(14, 90, 110, 0.28)
  );
  animation: float-in 0.55s ease both;
}

.client-view-banner__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--foam);
}

.client-view-banner__exit {
  appearance: none;
  min-height: 2.1rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: var(--foam);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.client-view-banner__exit:hover {
  background: rgba(0, 0, 0, 0.42);
  transform: translateY(-1px);
}

.client-view-pick--banner .client-view-picker {
  max-width: 12rem;
}

.clients__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: stretch;
}

.clients__row .clients__tab {
  min-width: 0;
}

.clients__view-as {
  appearance: none;
  align-self: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.clients__view-as:hover,
.clients__view-as:focus-visible {
  color: var(--foam);
  border-color: rgba(26, 166, 161, 0.4);
  background: rgba(26, 166, 161, 0.12);
  outline: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
}

.login-bar {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lang__btn {
  min-width: 2rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.lang__btn:hover {
  color: var(--foam);
}

.lang__btn.is-active {
  color: var(--text-on-accent);
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

.theme-toggle {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.theme-toggle:hover {
  color: var(--foam);
  border-color: rgba(26, 166, 161, 0.35);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(26, 166, 161, 0.45);
  outline-offset: 2px;
}

.theme-toggle__icon {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
}

[data-theme="night"] .theme-toggle__icon--sun,
[data-theme="day"] .theme-toggle__icon--moon {
  display: block;
}

.top__avatar {
  border-radius: 50%;
  border: 1px solid rgba(126, 240, 255, 0.25);
}

.top__name {
  font-weight: 500;
  font-size: 0.95rem;
}

.top__logout {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.top__logout:hover {
  color: var(--foam);
  background: rgba(126, 240, 255, 0.08);
}

.dash {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 1.5rem clamp(1rem, 2vw, 2rem) 4rem;
}

.dash--wide {
  width: 100%;
  max-width: none;
}

.dash--admin {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.dash--requests {
  width: 100%;
  max-width: none;
}

.dash-visits {
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--glass-border);
}

.dash-visits__intro {
  margin-bottom: 0.75rem;
}

.dash__title--sm {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.dash-visits__badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: rgba(126, 240, 255, 0.1);
  border: 1px solid rgba(126, 240, 255, 0.22);
  vertical-align: middle;
}

.dash-visits__badge--login {
  color: rgba(46, 196, 182, 0.95);
  background: rgba(46, 196, 182, 0.12);
  border-color: rgba(46, 196, 182, 0.35);
}

.dash-visits__main {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.dash-visits__avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 0.1rem;
}

.dash-visits__body {
  min-width: 0;
}

[data-theme="day"] .dash-visits__badge {
  background: rgba(15, 60, 70, 0.06);
  border-color: rgba(15, 60, 70, 0.12);
}

[data-theme="day"] .dash-visits__badge--login {
  color: #0f766e;
  background: rgba(46, 196, 182, 0.14);
  border-color: rgba(15, 118, 110, 0.28);
}

.dash__main {
  min-width: 0;
  width: 100%;
}

.clients {
  position: sticky;
  top: 4.5rem;
  animation: float-in 0.65s ease both;
}

.clients__label {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clients__hint {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.clients__empty {
  margin: 0.5rem 0.4rem;
  font-size: 0.88rem;
}

.clients--shopify .clients__tab {
  align-items: flex-start;
}

.clients__totals {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(126, 240, 255, 0.14);
  border-radius: 0.45rem;
  background: rgba(8, 28, 36, 0.35);
}

.clients__totals-label {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clients__stats--totals {
  width: 100%;
  font-size: 0.74rem;
  gap: 0.2rem 0.35rem;
}

[data-theme="day"] .clients__totals {
  background: rgba(15, 60, 70, 0.05);
  border-color: rgba(15, 60, 70, 0.12);
}

.clients__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: calc(100vh - 8rem);
  overflow: auto;
  padding-right: 0.25rem;
}

.clients__tab {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.45rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.clients__tab:hover {
  color: var(--foam);
}

.clients__tab.is-active {
  color: var(--teal-300);
  border-bottom-color: var(--teal-500);
}

.clients__avatar {
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(126, 240, 255, 0.2);
  margin-top: 0.15rem;
}

.clients__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.clients__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clients__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.28rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--aqua);
  line-height: 1.25;
}

.clients__stat-sep {
  color: var(--muted);
  opacity: 0.55;
  font-weight: 500;
}

.clients__stat--hits {
  color: var(--teal-300);
}

.clients__count {
  font-size: 0.78rem;
  color: var(--aqua);
  font-variant-numeric: tabular-nums;
}

.dash__intro {
  margin-bottom: 1.75rem;
  animation: float-in 0.7s ease both;
}

.dash__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.view-toggle {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
}

.view-toggle__btn {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.view-toggle__btn:hover {
  color: var(--foam);
}

.view-toggle__btn.is-active {
  color: var(--text-on-accent);
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

.dash__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--teal-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dash__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dash__count-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
}

.dash__count {
  margin: 0;
  color: var(--muted);
}

.dash__count strong {
  color: var(--aqua);
  font-size: 1.15em;
}

.linked {
  margin: 0 0 1.1rem;
  padding: 0.65rem 0 0.85rem;
  border-bottom: 1px solid rgba(126, 240, 255, 0.1);
  animation: float-in 0.7s ease both;
}

.linked__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  border-radius: 0.35rem;
}

.linked__toggle:hover .linked__label,
.linked__toggle:focus-visible .linked__label {
  color: var(--foam);
}

.linked__toggle:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

.linked__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.linked__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.linked__count {
  min-width: 1.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(126, 240, 255, 0.1);
  color: var(--teal-300);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.25;
}

.linked__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.22s ease, border-color 0.2s ease;
  margin-top: -0.15rem;
}

.linked.is-open .linked__chevron {
  transform: rotate(225deg);
  margin-top: 0.1rem;
  border-color: var(--teal-300);
}

.linked__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.linked__panel[hidden] {
  display: none;
}

.linked.is-expanded .linked__panel {
  grid-template-rows: 1fr;
}

.linked__panel-inner {
  overflow: hidden;
  min-height: 0;
  padding-top: 0.55rem;
}

.linked__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.linked__heading {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-300);
}

.linked__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.linked__list li {
  font-size: 0.9rem;
  color: var(--foam);
  word-break: break-word;
}

.linked__empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Owner inbox: unlinked profiles / emails → Discord */
.link-inbox {
  margin: 0 0 1.75rem;
  padding: 1rem 0 1.15rem;
  border-bottom: 1px solid rgba(126, 240, 255, 0.1);
  animation: float-in 0.75s ease both;
  animation-delay: 0.05s;
}

.link-inbox__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.link-inbox__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display, var(--font-body));
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--foam);
}

.link-inbox__hint {
  margin: 0;
  max-width: 36rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.link-inbox__badge {
  flex-shrink: 0;
  min-width: 1.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 176, 92, 0.14);
  color: #ffc98a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.3;
}

.link-inbox__filter {
  display: block;
  margin: 0 0 0.65rem;
}

.link-inbox__filter input {
  width: 100%;
  max-width: 20rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(126, 240, 255, 0.16);
  background: rgba(4, 28, 36, 0.45);
  color: var(--foam);
  font: inherit;
  font-size: 0.9rem;
}

.link-inbox__filter input::placeholder {
  color: rgba(180, 210, 220, 0.45);
}

.link-inbox__filter input:focus {
  outline: none;
  border-color: rgba(126, 240, 255, 0.45);
  box-shadow: 0 0 0 2px rgba(26, 166, 161, 0.18);
}

.link-inbox__status {
  min-height: 1.15rem;
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.link-inbox__status.is-ok {
  color: var(--teal-300);
}

.link-inbox__status.is-error {
  color: #ff8f8f;
}

.link-inbox__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
}

.link-inbox__heading {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.link-inbox__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 22rem;
  overflow: auto;
  padding-right: 0.15rem;
}

.link-inbox__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(126, 240, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(8, 42, 52, 0.55) 0%,
    rgba(4, 24, 32, 0.35) 100%
  );
}

.link-inbox__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--foam);
  word-break: break-word;
}

.link-inbox__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.link-inbox__select {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.4rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(126, 240, 255, 0.16);
  background: rgba(2, 18, 24, 0.65);
  color: var(--foam);
  font: inherit;
  font-size: 0.86rem;
}

.link-inbox__btn {
  flex: 0 0 auto;
  padding: 0.4rem 0.85rem;
  font-size: 0.84rem;
}

.link-inbox__empty {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .link-inbox__cols {
    grid-template-columns: 1fr;
  }
}

[data-theme="day"] .link-inbox__badge {
  background: rgba(196, 120, 40, 0.12);
  color: #a65f12;
}

[data-theme="day"] .link-inbox__filter input,
[data-theme="day"] .link-inbox__select {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 80, 90, 0.14);
  color: var(--ink, #0d2a32);
}

[data-theme="day"] .link-inbox__row {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(20, 80, 90, 0.1);
}

[data-theme="day"] .link-inbox__label {
  color: var(--ink, #0d2a32);
}

/* Client dashboard: account import notifications */
.client-notifications {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(8, 36, 52, 0.72), rgba(4, 21, 37, 0.88));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  animation: float-in 0.75s ease both;
}

.client-notifications__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.client-notifications__title {
  margin: 0 0 0.2rem;
  font-family: var(--font-display, var(--font-body));
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foam);
}

.client-notifications__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.client-notifications__badge {
  min-width: 1.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
  color: var(--text-on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.client-notifications__badge[hidden] {
  display: none;
}

.client-notifications__status {
  min-height: 1.1rem;
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.client-notifications__status.is-error {
  color: #ff8f8f;
}

.client-notifications__toolbar {
  margin-bottom: 0.55rem;
}

.client-notifications__toolbar .btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.client-notifications__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.client-notifications__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(126, 240, 255, 0.12);
  background: rgba(4, 18, 30, 0.45);
}

.client-notifications__item.is-unread {
  border-color: rgba(94, 228, 216, 0.35);
  box-shadow: inset 3px 0 0 var(--teal-500);
}

.client-notifications__item--imported {
  border-color: rgba(126, 200, 255, 0.32);
}

.client-notifications__item--running {
  border-color: rgba(126, 240, 180, 0.35);
}

.client-notifications__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.client-notifications__kind {
  display: inline-block;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.client-notifications__kind--imported {
  background: rgba(64, 140, 220, 0.22);
  color: #9fd0ff;
}

.client-notifications__kind--running {
  background: rgba(46, 196, 140, 0.22);
  color: #9ff0c8;
}

.client-notifications__kind--renewed {
  background: rgba(46, 140, 196, 0.28);
  color: #a8e0ff;
}

.client-notifications__main {
  min-width: 0;
  flex: 1;
}

.client-notifications__item-title {
  display: block;
  font-size: 0.95rem;
  color: var(--foam);
}

.client-notifications__body {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.35;
}

.client-notifications__meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.85;
}

.client-notifications__actions .btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.client-notifications__empty {
  margin: 0;
  padding: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(126, 240, 255, 0.16);
}

[data-theme="day"] .client-notifications {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(240, 248, 252, 0.92));
  border-color: rgba(15, 70, 90, 0.12);
}

[data-theme="day"] .client-notifications__item {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(15, 70, 90, 0.1);
}

[data-theme="day"] .client-notifications__item-title {
  color: var(--ink, #0d2a32);
}

[data-theme="day"] .client-notifications__badge {
  color: #062028;
}

.showoff-launch {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 240, 255, 0.22);
  background: rgba(26, 166, 161, 0.12);
  color: var(--teal-300);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.showoff-launch:hover {
  color: var(--text-on-accent);
  border-color: transparent;
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

body.showoff-open,
body.price-modal-open {
  overflow: hidden;
}

.showoff-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--modal-scrim);
  backdrop-filter: blur(8px);
}

.showoff-modal[hidden] {
  display: none;
}

.showoff-dialog {
  width: min(600px, 100%);
  max-height: min(92vh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, var(--dialog-glow), transparent 55%),
    var(--dialog-bg);
  box-shadow: 0 24px 64px var(--shadow);
  animation: float-in 0.35s ease both;
}

.showoff-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.showoff-dialog__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.showoff-dialog__hint {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.showoff-dialog__close {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(126, 240, 255, 0.08);
  color: var(--foam);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.showoff-dialog__close:hover {
  background: rgba(126, 240, 255, 0.16);
}

.showoff-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.showoff-bg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.showoff-bg__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 0.25rem;
}

.showoff-gif {
  margin: 0 0 1rem;
  padding: 0.75rem 0.8rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 255, 0.12);
  background: rgba(2, 18, 24, 0.35);
}

.showoff-gif[hidden] {
  display: none;
}

.showoff-gif__search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.showoff-gif__input {
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 240, 255, 0.18);
  background: rgba(2, 11, 20, 0.55);
  color: var(--foam);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.showoff-gif__input::placeholder {
  color: rgba(143, 180, 196, 0.7);
}

.showoff-gif__input:focus {
  outline: none;
  border-color: rgba(94, 228, 216, 0.55);
  box-shadow: 0 0 0 2px rgba(26, 166, 161, 0.18);
}

.showoff-gif__hint {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.showoff-gif__status {
  min-height: 1.1rem;
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.showoff-gif__status.is-error {
  color: var(--error);
}

.showoff-gif__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  max-height: 11.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.showoff-gif__item {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(2, 11, 20, 0.65);
}

.showoff-gif__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showoff-gif__item:hover {
  border-color: rgba(126, 240, 255, 0.35);
}

.showoff-gif__item.is-selected {
  border-color: var(--teal-300);
  box-shadow: 0 0 0 1px rgba(94, 228, 216, 0.35);
}

.showoff-gif__powered {
  margin: 0.5rem 0 0;
  color: rgba(143, 180, 196, 0.65);
  font-size: 0.72rem;
  text-align: right;
}

@media (max-width: 520px) {
  .showoff-gif__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.showoff-period {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.showoff-period:hover {
  color: var(--foam);
}

.showoff-period.is-active {
  color: var(--text-on-accent);
  border-color: transparent;
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

.showoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.showoff-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.showoff-download {
  background: rgba(126, 240, 255, 0.08);
  border-color: rgba(126, 240, 255, 0.2);
  color: var(--foam);
}

.showoff-download:hover:not(:disabled) {
  background: rgba(126, 240, 255, 0.14);
}

.showoff-download:disabled,
#showoff-generate:disabled,
#showoff-share:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.showoff-status {
  min-height: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.showoff-status.is-error {
  color: var(--error);
}

.showoff-preview-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(126, 240, 255, 0.12);
  background: rgba(2, 11, 20, 0.45);
  min-height: 120px;
  max-height: min(52vh, 520px);
}

.showoff-preview {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  aspect-ratio: 1;
  object-fit: contain;
  background: #020b14;
}

.hit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.hit {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.65rem 0.75rem;
  align-items: start;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  animation: float-in 0.55s ease both;
  animation-delay: calc(var(--i, 0) * 40ms);
}

.hit__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--navy-800);
  flex-shrink: 0;
}

.hit__thumb--empty {
  background:
    linear-gradient(135deg, rgba(27, 133, 74, 0.35), rgba(26, 166, 161, 0.2)),
    var(--navy-800);
}

.hit__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.05rem;
}

.hit__site {
  min-width: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-300);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.hit__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.08rem;
  text-align: right;
  min-width: 0;
  max-width: 11.5rem;
  justify-self: end;
  padding-top: 0.05rem;
}

.hit__price-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  max-width: 100%;
  min-width: 0;
}

.hit__price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--shell-bright);
  white-space: nowrap;
  line-height: 1.2;
}

.hit__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.05rem;
}

.hit__price-total {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--shell-muted, rgba(200, 230, 240, 0.75));
  white-space: nowrap;
  line-height: 1.2;
}

.hit__pc {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--aqua);
  white-space: nowrap;
  opacity: 0.92;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(126, 240, 255, 0.28);
  text-underline-offset: 0.18em;
  transition: opacity 0.15s ease, color 0.15s ease;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hit__pc:hover {
  opacity: 1;
  color: var(--teal-300);
}

.hit__pc--na {
  color: var(--muted);
}

.hit__pc--override {
  color: var(--shell-bright);
  text-decoration-color: rgba(255, 214, 140, 0.45);
}

.hit__override-badge {
  margin-left: 0.35rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--shell-bright);
  opacity: 0.85;
  text-decoration: none;
}

.hit__pc-link {
  flex: 0 0 auto;
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.75;
  line-height: 1;
}

.hit__pc-link:hover {
  color: var(--teal-300);
  opacity: 1;
}

.hit__pc-match {
  display: block;
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hit__profit {
  display: block;
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hit__profit--pos {
  color: var(--shell-bright);
}

.hit__profit--neg {
  color: var(--error-soft);
}

.hit__profit--na {
  color: var(--muted);
  font-weight: 500;
}

.price-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--modal-scrim);
  backdrop-filter: blur(8px);
}

.price-modal[hidden] {
  display: none;
}

.price-dialog {
  width: min(520px, 100%);
  max-height: min(92vh, 860px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, var(--dialog-glow), transparent 55%),
    var(--dialog-bg);
  box-shadow: 0 24px 64px var(--shadow);
  animation: float-in 0.35s ease both;
}

.price-modal__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.price-modal__current {
  margin: 0 0 0.85rem;
  min-height: 1.1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.price-modal__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-300);
}

.price-modal__row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.price-modal__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--input-bg);
  color: var(--foam);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.price-modal__input:focus {
  outline: 2px solid rgba(26, 166, 161, 0.45);
  outline-offset: 1px;
}

.price-modal__status {
  min-height: 1.25rem;
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.price-modal__status.is-error {
  color: var(--error-soft);
}

.price-modal__results {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 16rem;
  overflow-y: auto;
}

.price-modal__result-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--foam);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.price-modal__result-btn:hover {
  border-color: rgba(126, 240, 255, 0.32);
  background: rgba(26, 166, 161, 0.12);
}

.price-modal__result-btn.is-selected {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(255, 214, 140, 0.22), rgba(26, 166, 161, 0.28));
}

.price-modal__result-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
}

.price-modal__result-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.price-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.price-modal__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 240, 255, 0.2);
  background: rgba(126, 240, 255, 0.08);
  color: var(--foam);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.price-modal__actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.price-modal__actions .btn--primary {
  border-color: transparent;
  color: var(--text-on-accent);
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

.hit__product {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hit__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.1rem;
  line-height: 1.3;
}

.hit__meta-sep {
  opacity: 0.55;
}

.hit__attr {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hit__archive {
  margin: 0;
  display: inline-flex;
}

.hit__archive-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(126, 240, 255, 0.22);
  text-underline-offset: 0.16em;
  opacity: 0.8;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.hit__archive-btn:hover {
  color: var(--foam);
  opacity: 1;
  background: transparent;
  border-color: transparent;
}

.empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  animation: float-in 0.7s ease both;
}

.empty img {
  margin-bottom: 1rem;
  opacity: 0.85;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(26, 166, 161, 0.25));
}

.empty__hint {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .dash--admin {
    grid-template-columns: 1fr;
  }

  .linked__cols {
    grid-template-columns: 1fr;
  }

  .clients {
    position: static;
  }

  .clients__tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-height: none;
    gap: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .clients__tab {
    flex: 0 0 auto;
    padding: 0.45rem 0.55rem;
    border-bottom-width: 2px;
    align-items: center;
  }

  .clients__stats:not(.clients__stats--totals) {
    display: none;
  }

  .clients__count {
    display: none;
  }

  .clients__totals {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 560px) {
  .top {
    grid-template-columns: auto 1fr auto;
    gap: 0.55rem;
  }

  .top__nav-link {
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
  }

  .top__name {
    display: none;
  }

  .hit {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.45rem 0.55rem;
    padding: 0.5rem 0.55rem;
  }

  .hit__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
  }

  .hit__price-block {
    grid-column: 2;
    max-width: none;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .hit__price-wrap,
  .hit__price-line {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hit__archive {
    width: auto;
  }
}

/* —— Day theme polish for leftover hard-coded night tones —— */
[data-theme="day"] .linked {
  border-bottom-color: rgba(27, 133, 74, 0.14);
}

[data-theme="day"] .linked__count,
[data-theme="day"] .top__nav-badge {
  background: rgba(27, 133, 74, 0.1);
  color: var(--shell);
}

[data-theme="day"] .top__nav-link.is-active .top__nav-badge {
  background: rgba(255, 255, 255, 0.28);
  color: var(--text-on-accent);
}

[data-theme="day"] .linked__toggle:hover .linked__label,
[data-theme="day"] .linked__toggle:focus-visible .linked__label {
  color: var(--shell);
}

[data-theme="day"] .top__avatar,
[data-theme="day"] .clients__avatar {
  border-color: rgba(27, 133, 74, 0.22);
}

[data-theme="day"] .showoff-launch {
  border-color: rgba(27, 133, 74, 0.22);
  background: rgba(27, 133, 74, 0.08);
  color: var(--shell);
}

[data-theme="day"] .showoff-dialog__close,
[data-theme="day"] .showoff-download,
[data-theme="day"] .price-modal__actions .btn {
  background: rgba(27, 133, 74, 0.08);
  border-color: rgba(27, 133, 74, 0.18);
  color: var(--foam);
}

[data-theme="day"] .showoff-dialog__close:hover,
[data-theme="day"] .showoff-download:hover:not(:disabled) {
  background: rgba(27, 133, 74, 0.14);
}

[data-theme="day"] .showoff-preview-wrap {
  border-color: rgba(27, 133, 74, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

[data-theme="day"] .hit__archive-btn {
  text-decoration-color: rgba(27, 133, 74, 0.28);
}

[data-theme="day"] .hit__archive-btn:hover {
  color: var(--shell);
  background: transparent;
}

[data-theme="day"] .hit__pc {
  text-decoration-color: rgba(27, 133, 74, 0.28);
}

[data-theme="day"] .hit__profit--pos {
  color: var(--shell);
}

[data-theme="day"] .hit__profit--neg {
  color: #c45c4a;
}

[data-theme="day"] .price-modal__result-btn:hover {
  border-color: rgba(27, 133, 74, 0.32);
  background: rgba(27, 133, 74, 0.1);
}

[data-theme="day"] .price-modal__result-btn.is-selected {
  background: linear-gradient(135deg, rgba(255, 214, 140, 0.28), rgba(27, 133, 74, 0.18));
}

[data-theme="day"] .btn--primary {
  box-shadow: 0 10px 28px rgba(27, 133, 74, 0.28);
}

[data-theme="day"] .btn--primary:hover {
  box-shadow: 0 14px 34px rgba(27, 133, 74, 0.34);
}

[data-theme="day"] .hero__mark {
  filter: drop-shadow(0 12px 36px rgba(27, 133, 74, 0.28));
}

[data-theme="day"] .sea__bubbles {
  opacity: 0.35;
}

[data-theme="day"] .top__logout:hover {
  background: rgba(27, 133, 74, 0.08);
}

/* —— Store profiles / sessions —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-profiles,
.profile-requests {
  margin: 0 0 1.75rem;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid rgba(126, 240, 255, 0.1);
  animation: float-in 0.7s ease both;
}

.profile-requests--page {
  border-bottom: none;
  padding-top: 0;
}

.profile-requests__intro {
  margin-bottom: 0.85rem;
}

.store-profiles__head,
.profile-requests__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.store-profiles__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.store-profiles__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 42rem;
}

.store-profiles__note {
  margin: 0 0 0.65rem;
  color: var(--teal-300);
  font-size: 0.82rem;
}

.store-profiles__status,
.profile-requests .store-profiles__status {
  min-height: 1.2rem;
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--teal-300);
}

.store-profiles__status.is-error,
.profile-requests .store-profiles__status.is-error {
  color: var(--error);
}

.store-profiles__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.store-profiles__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.85rem;
}

.store-profiles__add {
  flex: 0 0 auto;
  margin-left: auto;
}

.store-profiles__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 240, 255, 0.16);
  background: rgba(8, 36, 52, 0.45);
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.store-profiles__tab:hover {
  color: var(--foam);
  border-color: rgba(126, 240, 255, 0.28);
}

.store-profiles__tab.is-active {
  color: var(--text-on-accent);
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
  border-color: transparent;
}

.store-profiles__tab-count {
  min-width: 1.2rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(2, 11, 20, 0.22);
  font-size: 0.72rem;
  text-align: center;
}

.store-profiles__tab.is-active .store-profiles__tab-count {
  background: rgba(255, 255, 255, 0.22);
}

.store-profiles__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.store-profiles__list,
.profile-requests__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.profile-requests__list {
  gap: 0.65rem;
}

.store-profiles__item,
.profile-requests__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--glass-border);
  background: var(--glass);
}

.profile-requests__item {
  width: 100%;
  gap: 1rem 1.35rem;
  padding: 0.95rem 1.15rem;
  border-radius: 0.9rem;
  align-items: flex-start;
}

.store-profiles__item--removal,
.profile-requests__item--removal {
  border-color: rgba(232, 93, 93, 0.35);
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.12), var(--glass));
}

.store-profiles__item--renewal,
.profile-requests__item--renewal {
  border-color: rgba(126, 200, 255, 0.4);
  background: linear-gradient(135deg, rgba(46, 140, 196, 0.14), var(--glass));
}

.store-profiles__item--expired {
  border-color: rgba(232, 93, 93, 0.28);
  opacity: 0.88;
}

.store-profiles__item--pending-run {
  border-color: rgba(232, 197, 71, 0.28);
}

.profile-requests__item--new {
  border-color: rgba(126, 240, 255, 0.28);
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.12), var(--glass));
}

.profile-requests__item--edit {
  border-color: rgba(232, 197, 71, 0.4);
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.14), var(--glass));
}

.profile-requests__item--imported {
  border-color: rgba(126, 200, 255, 0.34);
}

.profile-requests__item--running {
  border-color: rgba(126, 240, 180, 0.38);
}

.profile-requests__badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(192, 57, 43, 0.22);
  color: #ffb4a8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.profile-requests__title .profile-requests__badge {
  margin-left: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.profile-requests__badge--new {
  background: rgba(46, 196, 182, 0.22);
  color: #a8fff0;
}

.profile-requests__badge--edit {
  background: rgba(212, 160, 23, 0.28);
  color: #ffe7a0;
}

.profile-requests__badge--watch {
  background: rgba(88, 140, 255, 0.24);
  color: #c9d9ff;
}

.profile-requests__badge--removal {
  background: rgba(192, 57, 43, 0.22);
  color: #ffb4a8;
}

.profile-requests__badge--renewal {
  background: rgba(46, 140, 196, 0.28);
  color: #a8e0ff;
}

.store-profiles__item-main,
.profile-requests__main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 14rem;
  min-width: min(100%, 12rem);
}

.profile-requests__main {
  flex: 1 1 auto;
  gap: 0.35rem;
  min-width: 12rem;
}

.profile-requests__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.store-profiles__item-main strong,
.profile-requests__main strong {
  color: var(--foam);
  font-weight: 600;
}

.profile-requests__title strong {
  font-size: 1.02rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: normal;
}

.store-profiles__item-meta,
.profile-requests__meta {
  color: var(--muted);
  font-size: 0.82rem;
  word-break: normal;
  overflow-wrap: anywhere;
}

.store-profiles__item-meta {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-requests__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.45rem;
  line-height: 1.4;
  word-break: normal;
  overflow-wrap: anywhere;
}

.profile-requests__meta-sep {
  color: rgba(126, 240, 255, 0.35);
  user-select: none;
}

.profile-requests__meta-part {
  min-width: 0;
}

.store-profiles__item-actions,
.profile-requests__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1 1 18rem;
  max-width: 100%;
  justify-content: flex-end;
  align-items: center;
}

.profile-requests__actions {
  align-self: center;
  gap: 0.45rem;
}

.profile-requests__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-right: 0.15rem;
}
.profile-requests__duration-label {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}
.profile-requests__duration-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.profile-requests__duration-stepper .btn {
  min-width: 2rem;
  padding: 0.3rem 0.45rem;
  line-height: 1;
}
.profile-requests__add-days,
.store-profiles__add-days,
.store-profiles__set-days {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.profile-requests__add-days-input,
.store-profiles__add-days-input,
.store-profiles__set-days-input {
  width: 4.25rem;
  min-height: 2rem;
  padding: 0.25rem 0.4rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(126, 240, 255, 0.22);
  background: rgba(4, 20, 32, 0.55);
  color: inherit;
  font: inherit;
  font-size: 0.85rem;
}
.store-profiles__unlimited {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  opacity: 0.9;
  cursor: pointer;
  user-select: none;
}
.store-profiles__unlimited input {
  margin: 0;
}
.store-profiles__grant {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 1rem;
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(126, 240, 255, 0.16);
  border-radius: 0.55rem;
  background: rgba(4, 20, 32, 0.35);
}
.store-profiles__grant-title {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}
.store-profiles__grant-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
}
.store-profiles__grant-field input {
  width: 5.5rem;
  min-height: 2rem;
  padding: 0.25rem 0.4rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(126, 240, 255, 0.22);
  background: rgba(4, 20, 32, 0.55);
  color: inherit;
  font: inherit;
  font-size: 0.85rem;
}
.profile-requests__duration-value,
.profile-requests__duration-select {
  min-width: 5.5rem;
  font-size: 0.82rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.45rem;
  border: 1px solid var(--glass-border);
  background: rgba(4, 21, 37, 0.75);
  color: var(--foam);
}
[data-theme="day"] .profile-requests__duration-value,
[data-theme="day"] .profile-requests__duration-select {
  background: #fff;
  color: #123;
  border-color: rgba(20, 40, 60, 0.18);
}

.store-profiles__item-actions .btn,
.profile-requests__actions .btn,
.store-form__actions .btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
}

.store-profiles__empty,
.profile-requests__empty,
.store-profiles__placeholder {
  margin: 0;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(126, 240, 255, 0.16);
}

.store-form {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(8, 36, 52, 0.72), rgba(4, 21, 37, 0.88));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.store-form__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.store-form__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.2rem;
  color: var(--foam);
}

.store-form__close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.store-form__close:hover {
  color: var(--foam);
}

.store-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.store-form__section {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid rgba(126, 240, 255, 0.1);
  border-radius: 0.85rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.75rem;
  min-width: 0;
}

.store-form__section--flat {
  grid-template-columns: 1fr 1fr;
}

.store-form--session {
  max-width: 34rem;
}

.store-form__section--session {
  grid-template-columns: 1fr;
}

.store-secret {
  position: relative;
  display: flex;
  align-items: center;
}

.store-secret input {
  width: 100%;
  padding-right: 2.55rem;
}

.store-secret__toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.store-secret__toggle:hover,
.store-secret__toggle.is-revealed {
  color: var(--teal-300);
  background: rgba(126, 240, 255, 0.08);
}

.store-secret__icon {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.store-form__section legend {
  padding: 0 0.25rem;
  color: var(--teal-300);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-form__billing {
  display: contents;
}

.store-form__billing[hidden] {
  display: none;
}

.store-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.store-field--full {
  grid-column: 1 / -1;
}

.store-field--wide {
  grid-column: span 1;
}

.store-field--narrow,
.store-field--cvv {
  min-width: 0;
}

.store-field__label {
  color: var(--muted);
  font-size: 0.78rem;
}

.store-field__label abbr {
  color: var(--error-soft);
  text-decoration: none;
}

.store-field input,
.store-field select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(126, 240, 255, 0.14);
  background: var(--input-bg);
  color: var(--foam);
  font: inherit;
  font-size: 0.92rem;
}

.store-field input:focus,
.store-field select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px rgba(26, 166, 161, 0.2);
}

.store-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.8rem;
}

.store-switch {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.store-switch input {
  margin-top: 0.15rem;
  accent-color: var(--teal-500);
}

.store-form__hint {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.store-form__notice {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--teal-500) 35%, transparent);
  background: color-mix(in srgb, var(--teal-500) 12%, transparent);
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.35;
}

.store-profiles__notices,
.store-form__notices {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.store-profiles__notices .store-form__notice,
.store-form__notices .store-form__notice {
  margin: 0;
}

.shopify-watch {
  display: grid;
  gap: 0.75rem;
  margin: 0.5rem 0 0.75rem;
}

.shopify-watch-demande {
  margin: 0 0 1.25rem;
  padding: 0.25rem 0 1.15rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border, #334) 75%, transparent);
}

.shopify-watch-demande__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.shopify-watch-demande__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.shopify-watch__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem 4.5rem auto;
  gap: 0.55rem 0.65rem;
  align-items: end;
  padding: 0.65rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--border, #334) 80%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface, #111) 88%, transparent);
}

.shopify-watch__row.is-expired {
  opacity: 0.72;
}

.shopify-watch__row .store-field--full {
  grid-column: 1 / -1;
}

.shopify-watch__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
  min-width: 6.5rem;
}

.shopify-watch__status {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}

.shopify-watch__empty {
  margin: 0.25rem 0 0;
}

@media (max-width: 720px) {
  .shopify-watch__row {
    grid-template-columns: 1fr 1fr;
  }

  .shopify-watch__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.store-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.profile-requests__modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--modal-scrim);
}

.profile-requests__modal[hidden] {
  display: none;
}

.profile-requests__dialog {
  width: min(720px, 100%);
  max-height: min(85vh, 900px);
  overflow: auto;
  padding: 1.1rem 1.2rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  background: var(--dialog-bg);
  box-shadow: 0 20px 60px var(--shadow), 0 0 0 1px var(--dialog-glow);
}

.profile-requests__detail {
  margin: 0 0 1rem;
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(2, 11, 20, 0.45);
  color: var(--foam);
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 50vh;
  overflow: auto;
}

@media (max-width: 900px) {
  .store-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .store-profiles__item,
  .profile-requests__item {
    flex-direction: column;
    align-items: stretch;
  }

  .store-profiles__item-main,
  .store-profiles__item-actions,
  .profile-requests__main,
  .profile-requests__actions {
    flex: 1 1 100%;
    min-width: 0;
  }

  .store-profiles__item-actions,
  .profile-requests__actions {
    justify-content: flex-start;
  }

  .profile-requests__actions {
    align-self: stretch;
  }

  .profile-requests__actions .btn {
    flex: 1 1 auto;
  }

  .store-form__section,
  .store-form__section--flat,
  .store-form__section--session {
    grid-template-columns: 1fr;
  }

  .store-form--session {
    max-width: none;
  }

  .store-profiles__head,
  .profile-requests__head {
    flex-direction: column;
  }
}

[data-theme="day"] .store-profiles,
[data-theme="day"] .profile-requests {
  border-bottom-color: rgba(27, 133, 74, 0.14);
}

[data-theme="day"] .store-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 246, 240, 0.96));
}

[data-theme="day"] .store-profiles__tab {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(27, 133, 74, 0.16);
}

[data-theme="day"] .profile-requests__detail {
  background: rgba(27, 133, 74, 0.06);
}

[data-theme="day"] .btn--edit {
  color: #1a1404;
}

[data-theme="day"] .profile-requests__badge--removal {
  color: #8b1e14;
  background: rgba(192, 57, 43, 0.14);
}

[data-theme="day"] .profile-requests__badge--renewal {
  color: #0a4f7a;
  background: rgba(46, 140, 196, 0.16);
}

[data-theme="day"] .profile-requests__badge--new {
  color: #0b5f56;
  background: rgba(46, 196, 182, 0.16);
}

[data-theme="day"] .profile-requests__badge--edit {
  color: #6a4a05;
  background: rgba(212, 160, 23, 0.2);
}

[data-theme="day"] .profile-requests__badge--watch {
  color: #1f3f8a;
  background: rgba(60, 100, 200, 0.16);
}

[data-theme="day"] .store-profiles__item--removal,
[data-theme="day"] .profile-requests__item--removal {
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.08), rgba(255, 255, 255, 0.85));
}

[data-theme="day"] .store-profiles__item--renewal,
[data-theme="day"] .profile-requests__item--renewal {
  background: linear-gradient(135deg, rgba(46, 140, 196, 0.1), rgba(255, 255, 255, 0.85));
}

[data-theme="day"] .profile-requests__item--new {
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(255, 255, 255, 0.85));
}

[data-theme="day"] .profile-requests__item--edit {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12), rgba(255, 255, 255, 0.85));
}

/* Incoming Release tab — use full main column width on desktop */
.dash--incoming .dash__main {
  max-width: none;
}

.incoming-releases__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.incoming-releases__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  border: 1px solid var(--glass-border);
  background: var(--glass);
}

.incoming-releases__main {
  flex: 1 1 16rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.incoming-releases__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
}

.incoming-releases__title strong {
  color: var(--foam);
  font-family: var(--font-brand);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.incoming-releases__type {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(126, 240, 255, 0.28);
  background: rgba(8, 48, 68, 0.55);
  color: var(--teal-300);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  flex-shrink: 0;
}

.incoming-releases__type--set {
  border-color: rgba(255, 210, 120, 0.28);
  background: rgba(60, 42, 12, 0.4);
  color: #f0d59a;
}

[data-theme="day"] .incoming-releases__type {
  border-color: rgba(27, 133, 74, 0.28);
  background: rgba(27, 133, 74, 0.08);
  color: #176b3a;
}

[data-theme="day"] .incoming-releases__type--set {
  border-color: rgba(160, 110, 20, 0.3);
  background: rgba(180, 120, 20, 0.1);
  color: #8a5a10;
}

.incoming-releases__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  align-items: baseline;
}

.incoming-releases__meta-sep {
  color: rgba(126, 240, 255, 0.35);
  user-select: none;
}

.incoming-releases__vote {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  flex-shrink: 0;
}

.incoming-releases__opt {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.incoming-releases__opt:hover {
  color: var(--foam);
}

.incoming-releases__opt.is-active.is-yes {
  color: var(--text-on-accent);
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

.incoming-releases__opt.is-active.is-no {
  color: var(--text-on-accent);
  background: linear-gradient(135deg, #8a3a3a, #c23b3b);
}

.incoming-releases__opt:disabled {
  opacity: 0.65;
  cursor: wait;
}

.incoming-releases__stats {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
  --incoming-yes: var(--shell-bright);
  --incoming-no: #c23b3b;
  --incoming-unset: rgba(143, 180, 196, 0.45);
}

.incoming-releases__chart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.incoming-releases__chart-side {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 11rem;
}

.incoming-releases__based-on {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.incoming-releases__donut {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(126, 240, 255, 0.12);
}

.incoming-releases__donut--empty {
  opacity: 0.72;
}

.incoming-releases__donut-hole {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.incoming-releases__donut-hole strong {
  color: var(--foam);
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.incoming-releases__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 11rem;
}

.incoming-releases__legend-item {
  display: grid;
  grid-template-columns: 0.55rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.4rem 0.45rem;
  font-size: 0.78rem;
  line-height: 1.25;
}

.incoming-releases__swatch {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.incoming-releases__legend-item--yes .incoming-releases__swatch {
  background: var(--incoming-yes);
}

.incoming-releases__legend-item--no .incoming-releases__swatch {
  background: var(--incoming-no);
}

.incoming-releases__legend-item--unset .incoming-releases__swatch {
  background: var(--incoming-unset);
}

.incoming-releases__legend-label {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.incoming-releases__legend-item strong {
  color: var(--foam);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.incoming-releases__legend-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 1.25rem;
  text-align: right;
  opacity: 0.85;
}

.incoming-releases__details-btn {
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
}

[data-theme="day"] .incoming-releases__stats {
  --incoming-yes: var(--shell);
  --incoming-no: #b33a3a;
  --incoming-unset: rgba(74, 113, 106, 0.35);
}

[data-theme="day"] .incoming-releases__donut {
  box-shadow: inset 0 0 0 1px rgba(27, 133, 74, 0.14);
}

.incoming-releases__detail {
  margin-top: 0.45rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px dashed rgba(126, 240, 255, 0.16);
  background: rgba(4, 21, 37, 0.28);
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.incoming-releases__detail p {
  margin: 0;
  line-height: 1.4;
}

.incoming-releases__detail span {
  color: var(--teal-300);
  font-weight: 600;
}

.incoming-releases__empty {
  margin: 0;
  padding: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(126, 240, 255, 0.16);
  background: rgba(8, 36, 52, 0.25);
  list-style: none;
}

[data-theme="day"] .incoming-releases__detail {
  background: rgba(27, 133, 74, 0.06);
  border-color: rgba(27, 133, 74, 0.16);
}

[data-theme="day"] .incoming-releases__empty {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(27, 133, 74, 0.16);
}

[data-theme="day"] .incoming-releases__meta-sep {
  color: rgba(27, 133, 74, 0.35);
}

/* --- SHELL billing (Step 1) --- */
.shell-welcome,
.shell-pay,
.shell-payments {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 255, 0.18);
  background: linear-gradient(160deg, rgba(8, 36, 52, 0.55), rgba(4, 18, 28, 0.4));
}

.shell-welcome__title,
.shell-pay__title {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.shell-pay__head {
  margin-bottom: 0.35rem;
}

.shell-pay__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 600;
}

.shell-welcome__body,
.shell-welcome__paypal,
.shell-welcome__quota,
.shell-welcome__status,
.shell-pay__paypal,
.shell-pay__body,
.shell-pay__calc {
  margin: 0.35rem 0;
  color: rgba(214, 236, 245, 0.88);
  line-height: 1.45;
}

.shell-pay__calc {
  font-size: 0.92rem;
  color: rgba(126, 240, 255, 0.82);
}

.shell-banner {
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 255, 0.22);
  background: rgba(8, 48, 64, 0.45);
}

.shell-banner--warn {
  border-color: rgba(255, 96, 96, 0.45);
  background: rgba(80, 16, 20, 0.55);
}

.shell-banner__title {
  margin: 0;
  font-weight: 600;
}

.shell-banner--warn .shell-banner__title {
  color: #ffb4b4;
}

.store-profiles__tab.is-locked {
  opacity: 0.55;
}

.store-profiles__note--lock {
  color: #ffb4b4;
}

.shell-pay__form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
  max-width: 36rem;
}

.shell-pay__qty-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: end;
}

.shell-pay__plans {
  border: 0;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.shell-pay__plan {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(214, 236, 245, 0.9);
}

.pokecanada-owed {
  margin-bottom: 1.25rem;
}

.pokecanada-owed .pas-balance__value {
  font-size: 1.85rem;
}

@media (max-width: 640px) {
  .shell-pay__qty-row {
    grid-template-columns: 1fr;
  }
}

.shell-pay__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(214, 236, 245, 0.78);
}

.shell-pay__qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 255, 0.2);
  background: rgba(4, 18, 28, 0.45);
}

.shell-pay__qty-controls input[type="number"] {
  width: 3.25rem;
  text-align: center;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  -moz-appearance: textfield;
}

.shell-pay__qty-controls input[type="number"]::-webkit-outer-spin-button,
.shell-pay__qty-controls input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shell-pay__step {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  border: 1px solid rgba(126, 240, 255, 0.22);
  background: linear-gradient(135deg, rgba(27, 133, 74, 0.35), rgba(26, 166, 161, 0.28));
  color: #e8fbff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.shell-pay__step:hover {
  border-color: rgba(94, 228, 216, 0.45);
}

.shell-pay__total {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(45, 184, 106, 0.35);
  background: linear-gradient(135deg, rgba(27, 133, 74, 0.22), rgba(8, 48, 64, 0.4));
}

.shell-pay__total-value {
  display: block;
  font-family: var(--font-brand), Syne, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-300);
  letter-spacing: 0.01em;
}

.shell-pay__field {
  margin: 0;
}

.shell-pay__submit {
  justify-self: start;
  min-width: 10rem;
}

.store-profiles__item--slot {
  border-style: dashed;
  border-color: rgba(94, 228, 216, 0.55);
  background: rgba(26, 166, 161, 0.14);
  box-shadow: inset 0 0 0 1px rgba(126, 240, 255, 0.08);
}

.store-profiles__item--slot .store-profiles__item-main strong {
  color: var(--teal-300);
  font-size: 1.02rem;
}

.store-profiles__item--slot .store-profiles__item-meta {
  color: rgba(214, 236, 245, 0.92);
  font-weight: 600;
}

.client-notifications--profiles {
  margin-top: 1.75rem;
}

.shell-payments__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.shell-payments__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 255, 0.14);
  background: rgba(2, 11, 20, 0.28);
}

.shell-payments__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.shell-payments__meta,
.shell-payments__note {
  font-size: 0.85rem;
  color: rgba(214, 236, 245, 0.72);
}

.shell-payments__badge {
  display: inline-block;
  width: fit-content;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(126, 240, 255, 0.16);
}

.shell-payments__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.shell-payments__empty {
  padding: 0.85rem;
  color: rgba(214, 236, 245, 0.7);
}

[data-theme="day"] .shell-welcome,
[data-theme="day"] .shell-pay,
[data-theme="day"] .shell-payments {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(27, 133, 74, 0.18);
}

[data-theme="day"] .shell-welcome__body,
[data-theme="day"] .shell-welcome__paypal,
[data-theme="day"] .shell-welcome__quota,
[data-theme="day"] .shell-pay__paypal,
[data-theme="day"] .shell-pay__body,
[data-theme="day"] .shell-payments__meta,
[data-theme="day"] .shell-payments__note {
  color: rgba(20, 48, 36, 0.82);
}

[data-theme="day"] .shell-pay__calc {
  color: var(--teal-500);
}

[data-theme="day"] .shell-pay__label {
  color: rgba(20, 48, 44, 0.7);
}

[data-theme="day"] .shell-pay__qty-controls {
  border-color: rgba(27, 133, 74, 0.22);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="day"] .shell-pay__step {
  color: #14503c;
  border-color: rgba(27, 133, 74, 0.25);
  background: linear-gradient(135deg, rgba(45, 184, 106, 0.18), rgba(26, 166, 161, 0.14));
}

[data-theme="day"] .shell-pay__total {
  border-color: rgba(27, 133, 74, 0.28);
  background: linear-gradient(135deg, rgba(45, 184, 106, 0.12), rgba(255, 255, 255, 0.85));
}

[data-theme="day"] .shell-pay__total-value {
  color: var(--shell);
}

[data-theme="day"] .shell-banner {
  background: rgba(27, 133, 74, 0.08);
  border-color: rgba(27, 133, 74, 0.2);
}

[data-theme="day"] .shell-banner--warn {
  background: rgba(180, 40, 40, 0.08);
  border-color: rgba(180, 40, 40, 0.28);
}

[data-theme="day"] .shell-banner--warn .shell-banner__title,
[data-theme="day"] .store-profiles__note--lock {
  color: #a12828;
}

[data-theme="day"] .shell-payments__item {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(27, 133, 74, 0.14);
}

[data-theme="day"] .store-profiles__item--slot {
  border-color: rgba(27, 133, 74, 0.28);
  background: rgba(232, 246, 242, 0.55);
}

/* --- Presentation / welcome (non-activated) --- */
.page-present .top__nav {
  display: none;
}

.dash--present {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.present__hero {
  text-align: center;
  margin: 0.5rem 0 1.75rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(126, 240, 255, 0.2);
  background: linear-gradient(165deg, rgba(8, 42, 58, 0.72), rgba(4, 18, 28, 0.5));
  animation: present-fade 0.7s ease both;
}

.present__logo {
  display: block;
  margin: 0 auto 0.75rem;
  filter: drop-shadow(0 8px 24px rgba(0, 180, 200, 0.25));
}

.present__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 600;
}

.present__title {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
}

.present__lead,
.present__price-note {
  margin: 0.4rem auto;
  max-width: 36rem;
  color: rgba(214, 236, 245, 0.88);
  line-height: 1.5;
}

.present__price {
  margin: 1rem 0 0.35rem;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-300);
}

.present__cta-row {
  margin-top: 1.25rem;
}

.present__cta {
  min-width: 12rem;
}

.present__cta--block {
  margin-top: 1.25rem;
  display: inline-flex;
}

.present__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 820px) {
  .present__grid {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }
}

.present__card {
  padding: 1.15rem 1.2rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(126, 240, 255, 0.16);
  background: linear-gradient(160deg, rgba(8, 36, 52, 0.55), rgba(4, 18, 28, 0.4));
  animation: present-rise 0.75s ease both;
}

.present__card:nth-child(2) {
  animation-delay: 0.08s;
}

.present__card-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.present__list,
.present__bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(214, 236, 245, 0.9);
  line-height: 1.5;
}

.present__list li,
.present__bullets li {
  margin: 0.45rem 0;
}

@keyframes present-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes present-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

[data-theme="day"] .present__hero,
[data-theme="day"] .present__card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(232, 246, 242, 0.85));
  border-color: rgba(27, 133, 74, 0.18);
}

[data-theme="day"] .present__lead,
[data-theme="day"] .present__price-note,
[data-theme="day"] .present__list,
[data-theme="day"] .present__bullets {
  color: rgba(20, 50, 40, 0.88);
}

[data-theme="day"] .present__price,
[data-theme="day"] .present__eyebrow {
  color: var(--shell);
}

/* --- PAS billing --- */
.pas-panel,
.pas-owner {
  margin: 0 0 1.5rem;
}

.pas-balance {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 255, 0.2);
  background: linear-gradient(160deg, rgba(8, 36, 52, 0.55), rgba(4, 18, 28, 0.4));
}

.pas-balance__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 600;
}

.pas-balance__value {
  margin: 0.35rem 0;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal-300);
}

.pas-balance__hint,
.pas-balance__zero,
.pas-empty {
  margin: 0.25rem 0 0;
  color: rgba(214, 236, 245, 0.78);
  line-height: 1.45;
}

.pas-section__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pas-section__subtitle {
  margin: 1rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(214, 236, 245, 0.9);
}

.pas-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 255, 0.14);
}

.pas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pas-table th,
.pas-table td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid rgba(126, 240, 255, 0.1);
}

.pas-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 600;
}

.pas-table tr:last-child td {
  border-bottom: none;
}

.pas-history__list,
.pas-owner__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pas-history__item,
.pas-owner__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 255, 0.14);
  background: rgba(8, 36, 52, 0.35);
}

.pas-history__date {
  color: rgba(214, 236, 245, 0.65);
  font-size: 0.85rem;
}

.pas-owner__block {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 255, 0.16);
  background: linear-gradient(160deg, rgba(8, 36, 52, 0.45), rgba(4, 18, 28, 0.35));
}

.pas-owner__item strong {
  display: block;
}

.pas-owner__item span {
  color: rgba(214, 236, 245, 0.78);
  font-size: 0.92rem;
}

.pas-balance--saved {
  border-color: rgba(126, 240, 255, 0.28);
}

.pas-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.pas-badge--saved {
  color: #0b3d2e;
  background: rgba(110, 231, 183, 0.85);
}

.pas-badge--due {
  color: #3b1d08;
  background: rgba(251, 191, 36, 0.9);
}

.pas-badge--pending {
  color: #1e293b;
  background: rgba(148, 163, 184, 0.9);
}

.pas-badge--archived {
  color: #e8f4f8;
  background: rgba(71, 85, 105, 0.85);
}

.pas-badge--manual {
  color: #042018;
  background: rgba(94, 228, 216, 0.85);
}

.pas-table__note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.pas-col-check {
  width: 2.4rem;
  text-align: center;
}

.pas-col-check input,
.pas-check {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #1aa6a1;
  cursor: pointer;
}

.pas-owner-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 0.75rem;
}

.pas-owner-tools .pas-section__title {
  margin: 0;
  margin-right: auto;
}

.pas-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(214, 236, 245, 0.88);
  cursor: pointer;
}

.pas-store {
  margin: 0 0 1.1rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 255, 0.16);
  background: linear-gradient(160deg, rgba(8, 36, 52, 0.45), rgba(4, 18, 28, 0.32));
}

.pas-store__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin: 0 0 0.7rem;
}

.pas-store__title {
  margin: 0;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.pas-store__meta {
  margin: 0;
  color: rgba(214, 236, 245, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
}

.pas-profile {
  --pas-accent: #5eead4;
}

.pas-profile[data-accent="0"] { --pas-accent: #5eead4; }
.pas-profile[data-accent="1"] { --pas-accent: #fbbf24; }
.pas-profile[data-accent="2"] { --pas-accent: #7dd3fc; }
.pas-profile[data-accent="3"] { --pas-accent: #86efac; }
.pas-profile[data-accent="4"] { --pas-accent: #c4b5fd; }
.pas-profile[data-accent="5"] { --pas-accent: #67e8f9; }

.pas-profile__row td {
  padding-top: 0.7rem;
  padding-bottom: 0.45rem;
  background: color-mix(in srgb, var(--pas-accent) 14%, transparent);
  border-bottom-color: transparent;
  font-weight: 700;
}

.pas-profile tr:not(.pas-group-row) td:first-child {
  box-shadow: inset 3px 0 0 var(--pas-accent);
}

.pas-profile__bar {
  display: inline-block;
  width: 0.28rem;
  height: 0.95rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: var(--pas-accent);
  vertical-align: -0.12em;
}

.pas-profile__name {
  font-size: 0.92rem;
}

.pas-profile__name--muted {
  font-weight: 600;
  color: rgba(214, 236, 245, 0.62);
}

.pas-profile__email {
  margin-left: 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(214, 236, 245, 0.72);
}

.pas-archive {
  margin: 1.25rem 0 1.35rem;
  padding-top: 0.35rem;
}

.pas-archive__hint,
.pas-manual__hint,
.pas-manual__rate {
  margin: 0 0 0.7rem;
  font-size: 0.84rem;
  color: rgba(214, 236, 245, 0.75);
  line-height: 1.45;
}

.pas-manual {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(126, 240, 255, 0.16);
  border-radius: 14px;
  background: rgba(4, 18, 28, 0.35);
}

.pas-manual__summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal-300);
}

.pas-manual__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.pas-manual__form .btn {
  min-height: 40px;
}

.pas-table__actions {
  min-width: 10rem;
}

.pas-cancel {
  margin: 0;
}

.pas-cancel__summary {
  cursor: pointer;
  color: var(--teal-300);
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
}

.pas-cancel__summary::-webkit-details-marker {
  display: none;
}

.pas-cancel__form {
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 16rem;
}

.pas-cancel__hint {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(214, 236, 245, 0.75);
  line-height: 1.4;
}

.pas-lines,
.pas-history,
.pas-pay {
  margin-bottom: 1.35rem;
}

[data-theme="day"] .pas-balance,
[data-theme="day"] .pas-owner__block,
[data-theme="day"] .pas-history__item,
[data-theme="day"] .pas-owner__item,
[data-theme="day"] .pas-manual,
[data-theme="day"] .pas-store {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(27, 133, 74, 0.16);
}

[data-theme="day"] .pas-store__meta,
[data-theme="day"] .pas-profile__email,
[data-theme="day"] .pas-select-all {
  color: rgba(15, 60, 48, 0.72);
}

[data-theme="day"] .pas-archive__hint,
[data-theme="day"] .pas-manual__hint,
[data-theme="day"] .pas-manual__rate {
  color: rgba(15, 60, 48, 0.72);
}

[data-theme="day"] .pas-balance__value,
[data-theme="day"] .pas-balance__label,
[data-theme="day"] .pas-table th {
  color: var(--shell);
}

[data-theme="day"] .pas-balance__hint,
[data-theme="day"] .pas-empty,
[data-theme="day"] .pas-owner__item span,
[data-theme="day"] .pas-cancel__hint {
  color: rgba(20, 50, 40, 0.75);
}

[data-theme="day"] .pas-cancel__summary {
  color: var(--shell);
}

/* --- Shopify accounts (read-only) --- */
.shopify-panel {
  margin: 0 0 1.5rem;
}

.shopify-panel__actions {
  margin: 0.75rem 0 0;
}

.shopify-accounts {
  display: grid;
  gap: 1rem;
}

.shopify-accounts[hidden],
.shopify-accounts.is-fact-filtered-out,
#pas-panel[hidden],
#pas-panel.is-fact-filtered-out,
.pas-history[hidden],
.pas-history.is-fact-filtered-out,
.pas-store[hidden],
.pas-store.is-fact-filtered-out,
.pas-table tr[hidden],
.pas-table tr.is-fact-filtered-out,
.pas-table tbody[hidden],
.pas-table tbody.is-fact-filtered-out,
[data-fact-site-row][hidden],
[data-fact-site-row].is-fact-filtered-out {
  display: none !important;
}

.shopify-accounts__table {
  width: 100%;
}

.pas-table--rows {
  width: 100%;
  table-layout: auto;
}

.pas-table__sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.shopify-account {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 255, 0.18);
  background: linear-gradient(160deg, rgba(8, 36, 52, 0.45), rgba(4, 18, 28, 0.32));
}

.shopify-account__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.shopify-account__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.shopify-account__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  color: rgba(214, 236, 245, 0.78);
  font-size: 0.9rem;
}

.shopify-account__fees {
  margin: 0;
  text-align: right;
  color: rgba(214, 236, 245, 0.85);
}

.shopify-account__fees p {
  margin: 0.15rem 0;
}

.shopify-account__hits {
  margin-top: 0.75rem;
}

.shopify-account__hits summary {
  cursor: pointer;
  color: var(--teal-300);
  font-weight: 600;
}

.shopify-account__hit-list {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  color: rgba(214, 236, 245, 0.82);
}

.shopify-account__hit-list li {
  margin: 0.3rem 0;
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 0.55rem;
}

@media (max-width: 720px) {
  .shopify-account__hit-list li {
    grid-template-columns: 1fr;
  }
}

[data-theme="day"] .shopify-account {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(27, 133, 74, 0.16);
}

[data-theme="day"] .shopify-account__meta,
[data-theme="day"] .shopify-account__fees,
[data-theme="day"] .shopify-account__hit-list {
  color: rgba(20, 50, 40, 0.78);
}

[data-theme="day"] .shopify-account__hits summary {
  color: var(--shell);
}


/* --- UX widen / Facturation / Abonnement --- */
.status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0.55rem clamp(1rem, 2vw, 2rem);
  color: var(--foam);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(126, 240, 255, 0.14);
  background: linear-gradient(
    90deg,
    rgba(8, 40, 56, 0.72),
    rgba(6, 28, 42, 0.45) 55%,
    rgba(4, 18, 30, 0.2)
  );
}

.status-strip__k {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-300);
  font-weight: 800;
  font-size: 0.72rem;
  margin-right: 0.25rem;
}

.status-strip__v--muted {
  opacity: 0.72;
}

.status-strip__sep {
  opacity: 0.45;
}

.status-strip__link {
  color: var(--teal-300);
  text-decoration: none;
  font-weight: 600;
}

.status-strip__link:hover {
  text-decoration: underline;
}

.status-strip__pay {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.btn--strip {
  min-height: 1.85rem;
  padding: 0.25rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.lifecycle-line {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.requests-pipeline-note {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 240, 255, 0.16);
  background: rgba(8, 36, 52, 0.4);
  color: rgba(214, 236, 245, 0.88);
  font-size: 0.88rem;
}

.notif-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.bell {
  appearance: none;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--foam);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bell:hover,
.notif-bell.is-open .bell {
  border-color: rgba(94, 228, 216, 0.35);
  background: rgba(26, 166, 161, 0.16);
}

.bell:focus-visible {
  outline: 2px solid rgba(26, 166, 161, 0.45);
  outline-offset: 2px;
}

.bell svg {
  width: 1.15rem;
  height: 1.15rem;
}

.bell__badge {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #e85d5d;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(2, 11, 20, 0.85);
}

.bell__badge[hidden] {
  display: none;
}

.notif-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 80;
  width: min(22rem, calc(100vw - 1.5rem));
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(165deg, rgba(6, 32, 50, 0.97), rgba(4, 21, 37, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.client-notifications--panel {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dash-visits--secondary {
  margin: 1.5rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(126, 240, 255, 0.18);
  background: rgba(4, 21, 37, 0.35);
}

.dash-visits__summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
}

.dash-visits__summary::-webkit-details-marker {
  display: none;
}

.dash-visits--secondary[open] .dash-visits__summary {
  color: var(--teal-300);
  margin-bottom: 0.75rem;
}

.dash-visits__body-wrap {
  margin: 0;
}

.top__nav {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}

.clients__mobile-pick {
  display: none;
  margin: 0 0 0.75rem;
}

.clients__mobile-select {
  width: 100%;
  appearance: none;
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--foam);
  font: inherit;
}

.abonnement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 240, 255, 0.2);
  background: linear-gradient(145deg, rgba(8, 42, 48, 0.55), rgba(4, 18, 28, 0.42));
}

.abonnement__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 700;
}

.abonnement__title {
  margin: 0.2rem 0;
  font-family: var(--font-brand), Syne, Outfit, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.abonnement__status,
.abonnement__slots {
  margin: 0.15rem 0 0;
  color: rgba(214, 236, 245, 0.82);
  font-size: 0.92rem;
}

.abonnement__status--warn {
  color: #ffb4a8;
}

.shell-pay-modal {
  width: min(32rem, calc(100vw - 1.5rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(126, 240, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(165deg, #062032, #041525 60%);
  color: var(--foam);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: auto;
}

.shell-pay-modal::backdrop {
  background: rgba(2, 8, 14, 0.72);
  backdrop-filter: blur(4px);
}

.shell-pay-modal__chrome {
  display: flex;
  justify-content: flex-end;
  padding: 0.55rem 0.65rem 0;
  margin: 0;
}

.shell-pay-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
}

.shell-pay-modal .shell-pay {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.25rem 1.15rem 1.25rem;
}

.pas-balance-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.pas-balance-row .pas-balance {
  margin: 0;
}

.facturation-filters,
.facturation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.facturation-pane[hidden] {
  display: none !important;
}

.facturation-filters__btn,
.facturation-tabs__btn {
  appearance: none;
  border: 1px solid rgba(126, 240, 255, 0.18);
  background: rgba(8, 28, 40, 0.45);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.facturation-filters__btn.is-active,
.facturation-tabs__btn.is-active {
  color: var(--text-on-accent);
  border-color: transparent;
  background: linear-gradient(135deg, var(--shell-bright), var(--teal-500));
}

.facturation-shopify {
  margin: 1.5rem 0;
}

.shopify-accounts__context {
  margin: -0.35rem 0 0.85rem;
  color: var(--teal-300);
  font-size: 0.92rem;
  font-weight: 600;
}

.shopify-clients-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.shopify-clients-list__link {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(126, 240, 255, 0.16);
  background: rgba(8, 36, 52, 0.4);
  color: inherit;
  text-decoration: none;
}

.shopify-clients-list__link:hover {
  border-color: rgba(126, 240, 255, 0.35);
}

.shopify-clients-list__link span {
  color: rgba(214, 236, 245, 0.78);
  font-size: 0.88rem;
}

.facturation-pick {
  margin-bottom: 0.85rem;
}

.shopify-accounts__grid {
  display: none;
}

@media (min-width: 980px) {
  .store-profiles__panel:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
    gap: 1.25rem;
    align-items: start;
  }

  .store-profiles__panel[hidden] {
    display: none !important;
  }

  .store-profiles__panel > .store-profiles__list {
    grid-column: 1;
  }

  .store-profiles__panel > .store-form:not([hidden]) {
    grid-column: 2;
    position: sticky;
    top: 5rem;
  }

  .store-profiles__panel > .store-form[hidden] {
    display: none;
  }
}

@media (max-width: 860px) {
  .clients__mobile-pick {
    display: block;
  }

  .clients__tabs {
    display: none;
  }

  .dash {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .status-strip {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .shell-pay-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  .pas-table thead {
    display: none;
  }

  .pas-table tr.pas-group-row {
    display: block;
    margin: 0.35rem 0 0.45rem;
    padding: 0.55rem 0.7rem;
    border: 0;
    border-left: 3px solid var(--pas-accent, #5eead4);
    border-radius: 10px;
    background: color-mix(in srgb, var(--pas-accent, #5eead4) 14%, transparent);
  }

  .pas-table tr.pas-group-row td {
    display: block;
    padding: 0;
    border: 0;
  }

  .pas-table tr.pas-group-row td::before {
    content: none;
  }

  .pas-table tr:not(.pas-group-row) {
    display: block;
    margin: 0 0 0.75rem;
    padding: 0.75rem 0.75rem 0.75rem 0.85rem;
    border: 1px solid rgba(126, 240, 255, 0.14);
    border-left: 3px solid var(--pas-accent, rgba(126, 240, 255, 0.35));
    border-radius: 12px;
    background: rgba(4, 18, 28, 0.35);
  }

  .pas-table td {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border: 0;
  }

  .pas-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex: 0 0 38%;
  }

  .pas-table__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shopify-account__head {
    flex-direction: column;
  }
}

[data-theme="day"] .abonnement,
[data-theme="day"] .shell-pay-modal {
  background: linear-gradient(165deg, #f3faf7, #e8f4ef);
  border-color: rgba(27, 133, 74, 0.18);
  color: inherit;
}

[data-theme="day"] .notif-panel {
  background: linear-gradient(165deg, #f7fcfa, #eef7f3);
  border-color: rgba(27, 133, 74, 0.18);
  box-shadow: 0 18px 40px rgba(15, 40, 30, 0.12);
}

[data-theme="day"] .bell {
  color: inherit;
}

[data-theme="day"] .requests-pipeline-note,
[data-theme="day"] .dash-visits--secondary {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(27, 133, 74, 0.16);
  color: inherit;
}

[data-theme="day"] .clients__mobile-select {
  background: rgba(255, 255, 255, 0.85);
  color: inherit;
}

[data-theme="day"] .facturation-filters__btn,
[data-theme="day"] .facturation-tabs__btn {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(27, 133, 74, 0.16);
}
