:root {
  --bg-1: #0f1424;
  --bg-2: #111b2d;
  --bg-3: #15243b;
  --text: #e9f1ff;
  --text-dim: #a8b8d5;
  --line: rgba(137, 171, 231, 0.11);
  --glass: rgba(14, 22, 36, 0.6);
  --accent: #4d9ef2;
  --accent-2: #5cc8ff;
  --success: #5fd08a;
  --danger: #f25a5a;
  --shadow: 0 20px 60px rgba(3, 8, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(1200px 700px at 15% -10%, #1f3760 0%, transparent 60%),
              radial-gradient(1100px 800px at 95% 10%, #1f2f49 0%, transparent 60%),
              linear-gradient(145deg, var(--bg-1) 0%, var(--bg-2) 45%, #0b111e 100%);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.1;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.24;
  z-index: 0;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}

.orb-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  left: -70px;
  background: #2f7ad7;
}

.hero-cta-panel-buggy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-inline: 16px;
  margin: 12px auto 6px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 15%;
  background: #1e4f99;
  animation-delay: -5s;
}

.orb-3 {
  width: 360px;
  height: 360px;
  left: 25%;
  bottom: -150px;
  background: #2f4a87;
  animation-delay: -10s;
}

@keyframes drift {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 26px, 0); }
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 78px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid rgba(132, 160, 225, 0.1);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(130, 170, 250, 0.25);
  box-shadow: 0 10px 25px rgba(15, 45, 90, 0.4);
}

.brand strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-nav .nav-dropdown {
  position: relative;
}

.header-nav .nav-dropdown > summary {
  list-style: none;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.header-nav .nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.header-nav .nav-dropdown > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.header-nav .nav-dropdown[open] > summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(146, 174, 231, 0.35);
  background: rgba(20, 32, 52, 0.75);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #dce8ff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-nav a:hover {
  color: var(--text);
}

.header-nav .nav-dropdown > summary:hover,
.header-nav .nav-dropdown[open] > summary {
  color: var(--text);
}

.header-nav .nav-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(112, 144, 201, 0.35);
  background: rgba(13, 21, 35, 0.96);
  box-shadow: 0 20px 35px rgba(5, 9, 18, 0.45);
  display: grid;
  gap: 4px;
  z-index: 40;
}

.header-nav .nav-dropdown-menu a {
  padding: 8px 10px;
  border-radius: 10px;
}

.header-nav .nav-dropdown-menu a:hover {
  background: rgba(45, 74, 122, 0.28);
}

.lang-switcher {
  margin-left: 6px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(126, 159, 222, 0.36);
  background: rgba(15, 25, 42, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.lang-link {
  min-width: 34px;
  height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: transparent;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.lang-link:hover {
  color: var(--text);
}

.lang-link.is-active {
  color: #eaf4ff;
  background: linear-gradient(160deg, rgba(82, 155, 245, 0.9), rgba(53, 118, 220, 0.95));
  box-shadow: inset 0 0 0 1px rgba(182, 212, 255, 0.35), 0 8px 18px rgba(24, 72, 160, 0.38);
}

.nav-ico {
  font-size: 0.82rem;
  line-height: 1;
  opacity: 0.9;
}

.nav-ico.has-icon8,
.title-icon.has-icon8,
.btn-mini-icon.has-icon8 {
  font-size: 0;
  line-height: 1;
  opacity: 1;
  margin-right:10px;
}

.icon8-inline {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.btn {
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

@keyframes uiButtonSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

button.is-loading,
.btn.is-loading {
  position: relative;
  pointer-events: none;
  cursor: progress;
  color: transparent !important;
}

button.is-loading i,
button.is-loading span,
button.is-loading svg,
.btn.is-loading i,
.btn.is-loading span,
.btn.is-loading svg {
  opacity: 0 !important;
}

button.is-loading::after,
.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(226, 238, 255, 0.45);
  border-top-color: #eef5ff;
  animation: uiButtonSpin 0.72s linear infinite;
  pointer-events: none;
}

.btn-apple-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.btn-mini-icon {
  font-size: 0.92rem;
  line-height: 1;
}

.heart-pulse {
  color: #ff4b57;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
  animation: heartBeat 1.35s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 75, 87, 0.45));
}

@keyframes heartBeat {
  0%,
  100% { transform: scale(1); }
  25% { transform: scale(1.14); }
  40% { transform: scale(1.04); }
  60% { transform: scale(1.16); }
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #eefdff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: rgba(177, 225, 255, 0.5);
  box-shadow: 0 10px 24px rgba(35, 108, 196, 0.42);
  padding: 11px 17px;
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(35, 108, 196, 0.55);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(146, 174, 231, 0.35);
  background: rgba(30, 48, 80, 0.25);
  padding: 11px 17px;
}

.btn-ghost:hover {
  border-color: rgba(166, 198, 255, 0.55);
  background: rgba(33, 56, 93, 0.36);
}

.btn-lg {
  padding: 14px 20px;
  font-size: 1rem;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8dbdf8;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.3vw, 3.7rem);
  letter-spacing: -0.01em;
}

h1 span {
  display: block;
  background: linear-gradient(90deg, #84d0ff 0%, #5f9df4 45%, #90f6c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  font-size: clamp(2rem, 4.3vw, 2.7rem);
  letter-spacing: -0.01em;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, #84d0ff 0%, #5f9df4 45%, #90f6c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
}

p {
  margin: 0;
  color: var(--text-dim);
}

.hero {
  padding-top: 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 4.8vw, 84px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 20px;
  padding-right: 6px;
}

.hero-mini-logo {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(14, 34, 70, 0.38);
}

.hero-text {
  max-width: 62ch;
}

.hero-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 58ch;
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d6e7ff;
  font-weight: 600;
}

.hero-trust-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(83, 154, 255, 0.18);
  color: #9fd0ff;
  font-size: 0.82rem;
  flex: 0 0 auto;
}

.hero-cta-panel {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(44, 64, 98, 0.35), rgba(26, 43, 67, 0.15));
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  width: min(920px, 100%);
}

.hero-cta-row {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.compat-banner {
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
}

.compat-banner p {
  margin-bottom: 9px;
  color: #d5e7ff;
  font-weight: 700;
  text-align: center;
}

.compat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.compat-chips span {
  border: 1px solid rgba(141, 182, 255, 0.2);
  color: #d5e7ff;
  background: rgba(43, 65, 106, 0.34);
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 25px 0 25px 0px;
}

.download-platform-note {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: #b6cef5;
  text-align: center;
}

.download-platform-note.is-warning {
  color: #ffd48f;
}

.hero-commercial-note {
  margin: 0;
  color: #d8e8ff;
  font-size: 0.92rem;
  text-align: center;
}

.hero-commercial-note strong {
  color: #ffffff;
}

.btn-bug-jump {
  min-width: 220px;
  background: darkred;
  border:transparent;
}

.btn-doc-jump {
  min-width: 220px;
}

.btn-blog-jump,
.btn-contact-jump {
  min-width: 220px;
}

section.hero.section {
    padding-bottom: 30px !important;
}

article.value-card.premium-comparison-card.reveal-up.delay-1 {
    margin-top: 70px;
}

.release-version {
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: #bdd4f9;
  text-align: center;
}

.release-version strong {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.release-version-inline {
  margin-top: 10px;
}

.download-counter {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  font-size: 0.9rem;
  color: #c9dcff;
  text-align: center;
}

.download-metrics-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.download-metrics-row .download-counter,
.download-metrics-row .download-rating {
  margin: 0;
}

.download-counter-label {
  color: #c9dcff;
  font-weight: 600;
}

.download-counter-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(151, 191, 255, 0.18);
  background: rgba(33, 50, 82, 0.55);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  line-height: 1.1;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.download-counter-value.is-split-flap {
  gap: 2px;
  padding: 3px 8px;
}

.counter-slot {
  position: relative;
  width: 14px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(76, 83, 96, 0.9), rgba(20, 23, 30, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.counter-slot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.45);
}

.counter-glyph {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.86rem;
  line-height: 20px;
  font-weight: 700;
  color: #f3f7ff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55);
}

.counter-sep {
  align-self: flex-end;
  margin: 0 1px 1px;
  font-size: 0.86rem;
  line-height: 1;
  color: #d0ddf2;
}

.hero-visual {
  position: relative;
  width: 108%;
  margin-left: -8%;
}

.hero-card {
  border: 1px solid rgba(137, 174, 245, 0.16);
  border-radius: 24px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(22, 34, 56, 0.85), rgba(13, 19, 32, 0.72));
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  aspect-ratio: 2912 / 1952;
}

.hero-card img,
.hero-card .hero-marketing-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.hero-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  z-index: 2;
  color: #f2f8ff;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(78, 154, 249, 0.96), rgba(45, 106, 212, 0.96));
  box-shadow: 0 12px 24px rgba(9, 24, 55, 0.48);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-video-play:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.hero-video-play:focus-visible {
  outline: 2px solid #dcecff;
  outline-offset: 3px;
}

.hero-media.is-playing .hero-video-play {
  opacity: 0;
  pointer-events: none;
}

.hero-card .hero-marketing-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #05080f url("/assets/videos/marketing/macoptimizers-presentation-thumbnail-1600.jpg") center / cover no-repeat;
}

.zoomable-shot {
  cursor: zoom-in;
}

.value-strip {
  padding-top: 28px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.value-card {
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(23, 35, 58, 0.58), rgba(12, 18, 31, 0.54));
  padding: 18px;
  box-shadow: 0 16px 35px rgba(3, 8, 20, 0.28);
}

.value-card h2 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 5px;
}

.value-card h2 .title-icon {
    transform: none;
    align-self: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 0.88rem;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(-1px);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  max-width: 76ch;
}

.seo-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #a9c4ea;
}

.seo-breadcrumb a {
  color: #b9d3f5;
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  color: #e1eeff;
  text-decoration: underline;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.guide-card {
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(22, 35, 58, 0.58), rgba(12, 19, 31, 0.52));
  border: 1px solid rgba(132, 164, 226, 0.14);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.guide-card h3 {
  margin: 0;
  font-size: 0.96rem;
}

.guide-card p {
  margin: 0;
  font-size: 0.86rem;
  color: #c3d7f6;
  text-align: left;
}

.guide-card a {
  font-weight: 700;
  color: #bfe0ff;
  text-decoration: none;
}

.guide-card a:hover {
  color: #ebf4ff;
  text-decoration: underline;
}

.feature-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-item {
  display: grid;
  gap: 6px;
  text-align: left;
  border: 1px solid rgba(132, 164, 226, 0.12);
  background: linear-gradient(150deg, rgba(22, 34, 58, 0.62), rgba(12, 19, 33, 0.56));
  border-radius: 14px;
  color: var(--text-dim);
  padding: 14px;
  cursor: pointer;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.feature-item strong {
  color: #e7f2ff;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.feature-item-new {
  border-color: rgba(103, 197, 168, 0.3);
  background: linear-gradient(150deg, rgba(16, 48, 58, 0.62), rgba(11, 33, 42, 0.54));
}

.feature-badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(49, 201, 150, 0.2);
  border: 1px solid rgba(111, 236, 190, 0.48);
  color: #b7ffe3;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-badge-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 188, 61, 0.2);
  border: 1px solid rgba(255, 220, 140, 0.52);
  color: #ffe6ad;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-item span {
  font-size: 0.89rem;
}

.feature-item:hover,
.feature-item.is-active {
  border-color: rgba(130, 186, 255, 0.34);
  background: linear-gradient(150deg, rgba(43, 66, 110, 0.56), rgba(16, 26, 44, 0.58));
  transform: translateY(-1px);
}

.feature-preview {
  display: grid;
  gap: 14px;
}

.feature-preview-frame {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(130, 167, 230, 0.15);
  background: linear-gradient(145deg, rgba(19, 30, 50, 0.88), rgba(10, 16, 29, 0.72));
  box-shadow: var(--shadow);
}

.feature-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  opacity: 1;
  transition: opacity 220ms ease;
}

.feature-preview-frame img.is-changing {
  opacity: 0.2;
}

.feature-preview-copy {
  padding: 12px 4px;
}

.feature-preview-copy h3 {
  margin-bottom: 8px;
}

.smartsort-highlight {
  margin-top: 20px;
  border: 1px solid rgba(120, 196, 170, 0.28);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 34, 41, 0.7), rgba(11, 24, 34, 0.62));
  padding: 16px;
  display: grid;
  gap: 12px;
}

.media-highlight {
  border-color: rgba(108, 169, 255, 0.28);
  background: linear-gradient(145deg, rgba(12, 28, 48, 0.72), rgba(10, 20, 36, 0.62));
}

.smartsort-head {
  display: grid;
  gap: 8px;
}

.smartsort-head h3 {
  margin: 0;
}

.smartsort-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.smartsort-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(132, 188, 229, 0.18);
  background: rgba(10, 17, 27, 0.75);
}

.smartsort-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.smartsort-shot figcaption {
  padding: 8px 10px;
  font-size: 0.8rem;
  color: #b7cced;
  line-height: 1.45;
}

.smartsort-check-list {
  margin-top: 2px;
}

.free-highlight {
  border: 1px solid rgba(132, 188, 229, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(19, 31, 53, 0.72), rgba(11, 20, 34, 0.64));
  padding: 16px;
  display: grid;
  gap: 12px;
}

.free-head {
  display: grid;
  gap: 8px;
}

.free-head h2 {
  margin: 0;
}

.free-check-list {
  margin-top: 2px;
}

.offer-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.offer-card {
  border: 1px solid rgba(140, 175, 235, 0.16);
  border-radius: 16px;
  background: rgba(17, 28, 47, 0.58);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.offer-card h3,
.offer-card p,
.offer-label {
  margin: 0;
}

.offer-card h3 {
  font-size: 1.05rem;
}

.offer-card-premium {
  border-color: rgba(240, 196, 105, 0.28);
  background: linear-gradient(145deg, rgba(55, 40, 15, 0.28), rgba(18, 27, 45, 0.62));
}

.offer-label {
  color: #9cc7ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.free-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.free-page-hero .container {
  max-width: 900px;
  display: grid;
  gap: 12px;
  text-align: center;
}

.free-page-hero p {
  max-width: 74ch;
  margin: 0 auto;
}

.free-page-actions {
  justify-content: center;
}

.free-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.free-page-grid .check-list {
  margin-top: 10px;
}

.seo-page-hero .container {
  max-width: 980px;
  display: grid;
  gap: 12px;
}

.seo-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.seo-page-grid .value-card,
.free-page-grid .value-card {
  overflow: hidden;
}

.seo-page-grid .value-card img,
.free-page-grid .value-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.premium-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.premium-checkout-actions .btn {
  flex: 0 0 auto;
}

.premium-checkout-actions .btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.premium-btn-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.premium-btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.premium-btn-icon-card svg rect:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.premium-btn-icon-card .premium-btn-icon-cut {
  fill: currentColor;
}

.premium-btn-icon-paypal svg circle {
  fill: none;
  stroke: #8ac8ff;
  stroke-width: 1.8;
}

.premium-btn-icon-paypal .premium-btn-icon-cut {
  fill: #8ac8ff;
}

.premium-checkout-shell {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 14px;
  max-width: 980px;
  margin: 40px 19px 9px 20px;
}

.premium-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 15px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(125, 166, 237, 0.34);
  background: rgba(34, 50, 79, 0.56);
  color: #cfe0fa;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.premium-offer-card,
.premium-pay-card {
  height: 100%;
}

/* ── Rotating neon border on the offer card ── */
.premium-offer-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.18), 0 16px 35px rgba(3, 8, 20, 0.28);
}

.premium-offer-card::before {
  content: '';
  position: absolute;
  /* Beaucoup plus grand que la carte + centré : la rotation reste toujours couverte */
  width: 200%;
  height: 200%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 55deg,
    #00d4ff 80deg,
    #7b5ea7 130deg,
    #a78bfa 160deg,
    #00d4ff 185deg,
    transparent 210deg,
    transparent 360deg
  );
  animation: neon-rotate 3s linear infinite;
  z-index: -1;
}

.premium-offer-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(23, 35, 58, 1.98), rgba(12, 18, 31, 1.96));
  z-index: -1;
}

@keyframes neon-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.premium-offer-head {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  text-align: left;
  padding:10px;
}

.premium-offer-head img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(130, 170, 250, 0.34);
  box-shadow: 0 10px 25px rgba(15, 45, 90, 0.32);
}

.premium-offer-head .eyebrow {
  margin: 0 0 4px;
}

.premium-offer-head h2 {
  margin: 0;
  text-align: left;
}

.premium-offer-title {
  text-align: left !important;
}

.premium-cancel-banner {
  background: #fff3cd;
  border-bottom: 1px solid #ffc107;
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: #856404;
}

.premium-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  margin: 6px 0 10px;
  padding:5px;
}

.premium-price strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.85rem, 3.3vw, 2.45rem);
  line-height: 1;
  color: #ecf5ff;
  letter-spacing: -0.01em;
}

.premium-price span {
  color: #b6cdf1;
  font-size: 0.86rem;
}

.premium-loyalty-banner {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #34c759;
  font-weight: 600;
}

.premium-loyalty-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
}

.premium-general-loyalty-banner {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #4a7fc1;
  background: #f0f5ff;
  border: 1px solid #c7d8f5;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.premium-order-discount-value {
  color: #34c759;
  font-weight: 600;
}

.premium-meta-list {
  list-style: none;
  margin: 15px 0 0;
  padding: 5px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.premium-meta-list li {
  position: relative;
  padding-left: 22px;
  color: #d7e7ff;
  padding-top: 2px;
}

hr {
    border: 0.5px dotted lightblue;
    opacity: 50%;
}

.premium-meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ce7bb, #3eaa8f);
  box-shadow: 0 0 0 4px rgba(92, 212, 165, 0.18);
}

.premium-checkout-form {
  display: grid;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto;
}

article.value-card.premium-pay-card {
    border: 1px solid var(--line);
}

.premium-order-box {
  margin: 0.75rem auto 0.9rem;
  width: 100%;
  max-width: 560px;
  border-radius: 14px;
  border: 1px solid rgba(128, 164, 230, 0.25);
  background: linear-gradient(170deg, rgba(20, 30, 49, 0.78), rgba(14, 20, 34, 0.74));
  padding: 12px 14px;
}

.premium-order-line,
.premium-order-total {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #d4e6ff;
}

.premium-order-line + .premium-order-line {
  margin-top: 8px;
}

.premium-order-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(130, 170, 245, 0.2);
  color: #ecf5ff;
}

.premium-order-total strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.15rem;
}

.premium-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.premium-form-note,
.premium-safe-note {
  margin: 0;
  color: #b6cdf1;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 10px;
  margin-top: 10px;
}

.premium-safe-note {
  text-align: center;
}

.premium-consent-box {
  display: grid;
  gap: 0.8rem;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(131, 170, 236, 0.22);
  background: linear-gradient(170deg, rgba(17, 27, 45, 0.74), rgba(10, 17, 29, 0.78));
}

.premium-consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: flex-start;
  gap: 10px;
  color: #d8e9ff;
  font-size: 0.86rem;
  line-height: 1.55;
}

.premium-consent-check input {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  accent-color: #5caeff;
}

.premium-consent-check a {
  color: #9acbff;
}

.premium-consent-check a:hover {
  color: #dcedff;
}

.premium-consent-help {
  margin: 0;
  color: #9fb8dd;
  font-size: 0.78rem;
  line-height: 1.45;
}

.premium-conversion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.premium-conversion-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(137, 175, 236, 0.24);
  background: rgba(18, 29, 47, 0.52);
  color: #d8eaff;
  font-size: 0.86rem;
  font-weight: 600;
}

.premium-conversion-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ce7bb, #59b7ff);
  box-shadow: 0 0 0 4px rgba(92, 200, 255, 0.12);
  flex: 0 0 auto;
}

.premium-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 50px;
}

.premium-proof-card {
  border: 1px solid rgba(138, 170, 228, 0.18);
  background: linear-gradient(150deg, rgba(23, 36, 59, 0.62), rgba(11, 17, 29, 0.54));
}

.premium-proof-card h3 {
  margin: 0 0 8px;
  color: #edf5ff;
  font-size: 1.02rem;
  line-height: 1.3;
}

.premium-proof-card p {
  text-align: left;
}

.premium-proof-card p.eyebrow {
  text-align: center;
}

.premium-faq-section .faq-item p,
.premium-faq-section .faq-item li {
  color: #c6daf7;
}

.premium-faq-section .faq-item h3 {
  display: block;
  margin-bottom: 10px;
}

.premium-faq-section .faq-item p {
  text-align: left;
}

.premium-final-copy {
  max-width: 66ch;
  margin-inline: auto;
}

.seo-steps {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #d4e4ff;
}

.seo-steps li {
  line-height: 1.55;
}

.diagnostics-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #d4e4ff;
  padding-top: 4px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ce7bb, #3eaa8f);
  box-shadow: 0 0 0 4px rgba(92, 212, 165, 0.18);
}

.diag-cards {
  display: grid;
  gap: 12px;
}

.diag-card {
  border: 1px solid rgba(136, 169, 228, 0.13);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(22, 33, 55, 0.62), rgba(14, 20, 33, 0.56));
  padding: 16px;
}

.diag-card h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(136, 170, 226, 0.14);
  background: linear-gradient(145deg, rgba(14, 22, 36, 0.86), rgba(9, 14, 24, 0.66));
  box-shadow: var(--shadow);
}

.slider-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.slider-slide {
  position: relative;
  margin: 0;
  width: 100%;
  flex: 0 0 100%;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-new-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(129, 243, 202, 0.72);
  background: rgba(33, 176, 128, 0.86);
  color: #ecfffa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(145, 182, 243, 0.52);
  background: rgba(8, 13, 24, 0.72);
  color: #d7e8ff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:hover {
  background: rgba(20, 31, 54, 0.86);
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.press-section {
  padding-top: 10px;
}

.press-slider {
  position: relative;
}

.press-slider-viewport {
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.press-slider-track {
  display: flex;
  gap: 14px;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.press-slide {
  flex: 0 0 calc((100% - 28px) / 3);
  border: 1px solid rgba(129, 166, 231, 0.2);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(28, 46, 76, 0.46), rgba(15, 24, 40, 0.5));
  padding: 14px;
  display: grid;
  gap: 12px;
  align-items: center;
}

.press-logo-link {
  display: grid;
  place-items: center;
  min-height: 80px;
  border: 1px solid rgba(144, 181, 243, 0.25);
  border-radius: 12px;
  background: rgba(12, 19, 31, 0.7);
  padding: 12px;
  text-decoration: none;
}

.press-logo-link img {
  display: block;
  width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.press-article-btn {
  width: 100%;
  justify-content: center;
  min-height: 40px;
}

.press-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(145, 182, 243, 0.52);
  background: rgba(8, 13, 24, 0.8);
  color: #d7e8ff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.press-slider-btn:hover:not(:disabled) {
  background: rgba(20, 31, 54, 0.92);
}

.press-slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.press-slider-btn.prev { left: -12px; }
.press-slider-btn.next { right: -12px; }

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(7px);
  transition: opacity 240ms ease;
}

.shot-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shot-lightbox-figure {
  margin: 0;
  max-width: min(94vw, 1700px);
}

.shot-lightbox-image {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(160, 196, 255, 0.32);
  box-shadow: 0 32px 70px rgba(1, 6, 14, 0.6);
}

.shot-lightbox-caption {
  margin-top: 8px;
  text-align: center;
  color: #c6dbff;
  font-size: 0.9rem;
}

.shot-lightbox-close,
.shot-lightbox-nav {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(159, 191, 248, 0.45);
  background: rgba(10, 16, 28, 0.85);
  color: #dce9ff;
  cursor: pointer;
}

.shot-lightbox-close {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  font-size: 1.65rem;
  line-height: 1;
}

.shot-lightbox-nav {
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  font-size: 1.7rem;
  line-height: 1;
}

.shot-lightbox-nav.prev { left: 16px; }
.shot-lightbox-nav.next { right: 16px; }

.cta-final {
  text-align: center;
  padding-top: 28px;
}

.cta-final .container {
  border: 1px solid rgba(140, 173, 232, 0.18);
  border-radius: 22px;
  padding: 34px;
  background: linear-gradient(150deg, rgba(26, 40, 67, 0.54), rgba(12, 19, 33, 0.6));
}

.cta-final h2 {
  margin-bottom: 8px;
}

.cta-final p {
  margin-bottom: 18px;
}

.cta-trust-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cta-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 181, 238, 0.22);
  background: rgba(17, 29, 47, 0.5);
  color: #d3e6ff;
  font-size: 0.88rem;
  font-weight: 600;
}

.cta-trust-list strong {
  color: #ffffff;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bug-section {
  padding-top: 18px;
}

.bug-wizard {
  border: 1px solid rgba(141, 180, 245, 0.2);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(20, 32, 54, 0.66), rgba(12, 18, 31, 0.62));
  box-shadow: var(--shadow);
  padding: clamp(16px, 2.2vw, 28px);
  display: grid;
  gap: 16px;
}

.bug-wizard-progress {
  display: grid;
  gap: 10px;
}

.bug-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(130, 164, 225, 0.18);
  overflow: hidden;
}

.bug-progress-track span {
  display: block;
  height: 100%;
  width: 33.333%;
  background: linear-gradient(90deg, #57a3f3, #5cc8ff);
  transition: width 260ms ease;
}

.bug-step-label {
  margin: 0;
  color: #bdd4f9;
  font-size: 0.9rem;
  font-weight: 700;
}

.bug-form {
  display: grid;
  gap: 14px;
}

.bug-step {
  display: none;
  gap: 12px;
}

.bug-step.is-active {
  display: grid;
  animation: bugStepFade 220ms ease;
}

@keyframes bugStepFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bug-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bug-field {
  display: grid;
  gap: 6px;
}

.bug-field[hidden],
.bug-field.is-hidden {
  display: none !important;
}

[data-bug-wizard][data-report-type="improvement"] [data-tech-context-field],
[data-bug-wizard][data-report-type="improvement"] [data-macos-other-field] {
  display: none !important;
}

/* Self-service flows (Licence oubliée / Réinitialiser) */
/* Masquer steps 2 et 3 entiers */
[data-bug-wizard][data-report-type="forgotten_license"] [data-bug-step="2"],
[data-bug-wizard][data-report-type="reset_license"] [data-bug-step="2"],
[data-bug-wizard][data-report-type="forgotten_license"] [data-bug-step="3"],
[data-bug-wizard][data-report-type="reset_license"] [data-bug-step="3"] {
  display: none !important;
}
/* Masquer les champs inutiles du step 1 (catégorie, sévérité, contexte technique) */
[data-bug-wizard][data-report-type="forgotten_license"] .bug-field:has(#bug_category),
[data-bug-wizard][data-report-type="reset_license"] .bug-field:has(#bug_category),
[data-bug-wizard][data-report-type="forgotten_license"] .bug-field:has(#bug_severity),
[data-bug-wizard][data-report-type="reset_license"] .bug-field:has(#bug_severity),
[data-bug-wizard][data-report-type="forgotten_license"] [data-category-other-field],
[data-bug-wizard][data-report-type="reset_license"] [data-category-other-field],
[data-bug-wizard][data-report-type="forgotten_license"] [data-tech-context-field],
[data-bug-wizard][data-report-type="reset_license"] [data-tech-context-field],
[data-bug-wizard][data-report-type="forgotten_license"] [data-macos-other-field],
[data-bug-wizard][data-report-type="reset_license"] [data-macos-other-field] {
  display: none !important;
}

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

.bug-field label {
  color: #d6e6ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.bug-field-help {
  margin: 2px 0 0;
  color: #9db3d7;
  font-size: 0.78rem;
}

.bug-field input,
.bug-field select,
.bug-field textarea {
  width: 100%;
  border: 1px solid rgba(143, 176, 236, 0.28);
  border-radius: 12px;
  background: rgba(9, 15, 27, 0.6);
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bug-field textarea {
  resize: vertical;
  min-height: 104px;
}

.bug-upload-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.bug-upload-meta {
  margin: 2px 0 0;
  color: #9db3d7;
  font-size: 0.8rem;
}

.bug-upload-shell {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(122, 163, 233, 0.24);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(15, 24, 40, 0.65), rgba(9, 14, 24, 0.58));
}

.bug-upload-shell.is-disabled {
  opacity: 0.65;
}

.bug-upload-trigger {
  width: fit-content;
  border: 1px solid rgba(115, 169, 255, 0.35);
  background: rgba(30, 62, 108, 0.35);
  color: #d9e9ff;
  border-radius: 999px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}

.bug-upload-trigger:hover {
  border-color: rgba(115, 169, 255, 0.65);
  background: rgba(42, 84, 146, 0.45);
}

.bug-upload-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bug-upload-trigger-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(90, 169, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}

.bug-upload-dropzone {
  width: 100%;
  border: 1px dashed rgba(119, 174, 255, 0.4);
  border-radius: 12px;
  background: rgba(14, 25, 43, 0.46);
  color: #b5c9eb;
  font-size: 0.84rem;
  text-align: center;
  padding: 12px 14px;
  cursor: pointer;
}

.bug-upload-dropzone.is-disabled {
  cursor: not-allowed;
}

.bug-upload-dropzone:hover {
  border-color: rgba(131, 190, 255, 0.7);
  color: #d7e9ff;
}

.bug-upload-dropzone.is-dragging {
  border-color: #79bdff;
  background: rgba(27, 52, 91, 0.42);
  color: #eaf4ff;
}

.bug-upload-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.bug-upload-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(123, 158, 219, 0.26);
  background: rgba(9, 14, 23, 0.9);
  min-height: 96px;
}

.bug-upload-item img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
}

.bug-upload-item-caption {
  padding: 6px 8px;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #bad0f1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bug-upload-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  background: rgba(212, 31, 58, 0.92);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bug-upload-remove:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.bug-upload-progress {
  display: none;
  gap: 8px;
  margin-top: 4px;
}

.bug-upload-progress.is-visible {
  display: grid;
}

.bug-upload-progress-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfe2ff;
  font-size: 0.8rem;
}

.bug-upload-progress-head strong {
  margin-left: auto;
  color: #ffffff;
  font-weight: 800;
}

.bug-upload-spinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(138, 184, 247, 0.34);
  border-top-color: #8ec8ff;
  animation: bugUploadSpin 800ms linear infinite;
}

@keyframes bugUploadSpin {
  to {
    transform: rotate(360deg);
  }
}

.bug-upload-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(119, 154, 214, 0.25);
  overflow: hidden;
}

.bug-upload-progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #5baaff, #84d2ff);
  transition: width 150ms linear;
}

.bug-field input::placeholder,
.bug-field textarea::placeholder {
  color: #95add4;
}

.bug-field input:focus,
.bug-field select:focus,
.bug-field textarea:focus {
  border-color: rgba(104, 172, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(87, 163, 243, 0.2);
  background: rgba(10, 17, 31, 0.78);
}

.bug-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #c7dbff;
  font-size: 0.9rem;
}

.bug-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #58a8ff;
}

.bug-step-footnote {
  margin: 0;
  color: #8ea8cf;
  font-size: 0.82rem;
}

.bug-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.bug-form-actions .btn[hidden] {
  display: none !important;
}

.bug-form-actions .btn[disabled] {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
}

.bug-form-status {
  margin: 0;
  min-height: 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #9ab5de;
}

.bug-form-status.is-success {
  color: #ffffff;
  background: #0f6a3a;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.bug-form-status.is-success::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.bug-form-status.is-error {
  color: #ff7f8f;
}

.bug-form-status.is-pending {
  color: #c7dbff;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.cookie-consent-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1300;
  max-width: 920px;
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid rgba(127, 164, 222, 0.3);
  background:
    radial-gradient(circle at 15% 20%, rgba(92, 200, 255, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(14, 24, 39, 0.97), rgba(8, 14, 24, 0.96));
  box-shadow: 0 24px 56px rgba(5, 10, 21, 0.5);
  padding: 14px 14px 12px;
  display: grid;
  gap: 12px;
  backdrop-filter: blur(8px);
}

.cookie-consent-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cookie-consent-badge {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8fd7ff;
  background: linear-gradient(150deg, rgba(38, 95, 141, 0.45), rgba(20, 42, 68, 0.65));
  border: 1px solid rgba(130, 200, 242, 0.38);
}

.cookie-consent-badge svg {
  width: 20px;
  height: 20px;
}

.cookie-consent-head-copy {
  min-width: 0;
}

.cookie-consent-title {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.1;
  color: #eef6ff;
}

.cookie-consent-subtitle {
  margin: 4px 0 0;
  color: #bad0ef;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cookie-consent-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cookie-consent-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #d5e4fb;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cookie-consent-point-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-top: 1px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a6d7ff;
  background: rgba(34, 69, 105, 0.42);
  border: 1px solid rgba(122, 183, 234, 0.25);
}

.cookie-consent-point-icon svg {
  width: 14px;
  height: 14px;
}

.cookie-consent-text {
  margin: 0;
  color: #b8d0f0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.cookie-consent-text a {
  color: #95d0ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(149, 208, 255, 0.35);
}

.cookie-consent-text a:hover {
  color: #def0ff;
  border-bottom-color: rgba(222, 240, 255, 0.6);
}

.cookie-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-consent-btn {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(142, 174, 229, 0.32);
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: #e8f3ff;
  background: rgba(13, 23, 38, 0.8);
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.cookie-consent-btn.is-primary {
  border-color: rgba(124, 222, 179, 0.55);
  background: linear-gradient(135deg, rgba(34, 86, 62, 0.9), rgba(28, 69, 53, 0.9));
  color: #ddffe9;
}

.cookie-consent-btn.is-ghost {
  border-color: rgba(145, 174, 225, 0.3);
  background: rgba(15, 24, 39, 0.62);
  color: #d7e8ff;
}

.cookie-consent-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.site-footer {
  border-top: 1px solid rgba(130, 163, 225, 0.1);
  padding: 26px 0 34px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(20, 31, 51, 0.58), rgba(11, 17, 29, 0.52));
  padding: 16px;
  box-shadow: 0 12px 26px rgba(3, 8, 20, 0.24);
}

.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.faq-item a {
  color: #b5d6ff;
  text-decoration: none;
}

.faq-item a:hover {
  color: #e6f2ff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.footer-company {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(18, 30, 50, 0.45), rgba(11, 17, 28, 0.4));
  padding: 14px 16px;
}

.footer-company img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.footer-company p {
  margin: 0;
  font-size: 0.86rem;
  color: #bdd2f5;
}

.footer-company p + p {
  margin-top: 2px;
}

.footer-company strong {
  color: #e9f2ff;
}

.footer-meta {
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(18, 30, 50, 0.38), rgba(11, 17, 28, 0.34));
  padding: 14px 16px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.footer-meta p {
  margin: 0;
  color: #c0d6fb;
  font-size: 0.87rem;
}

.footer-download {
  margin-top: 6px;
  justify-self: start;
}

.footer-socials {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(136, 173, 236, 0.32);
  background: rgba(15, 27, 44, 0.72);
  color: #c8dcff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.footer-social-link:hover {
  color: #eef5ff;
  border-color: rgba(163, 196, 250, 0.62);
  background: rgba(30, 55, 90, 0.9);
  transform: translateY(-1px);
}

.footer-social-link.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-company a,
.footer-legal-links a {
  color: #a9c8fb;
  text-decoration: none;
}

.footer-company a:hover,
.footer-legal-links a:hover {
  color: #d7e8ff;
  text-decoration: underline;
}

.footer-legal-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-links a {
  font-size: 0.84rem;
}

.footer-note {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-note p {
  margin: 0;
  color: #8ea4ca;
  font-size: 0.82rem;
}

.footer-note a {
  color: #a9c8fb;
  text-decoration: none;
}

.footer-note a:hover {
  text-decoration: underline;
}

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: transform 580ms ease, opacity 580ms ease;
}

.reveal-up.delay-1 {
  transition-delay: 120ms;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.premium-page .reveal-up,
.premium-page .reveal-up.delay-1 {
  opacity: 1;
  transform: none;
  transition: none;
}

.gpl-page .reveal-up,
.gpl-page .reveal-up.delay-1 {
  opacity: 1;
  transform: none;
  transition: none;
}

.premium-page .section .container {
  max-width: 1020px;
}

.premium-page .section {
  padding-top: 46px;
}

.premium-page .section-head {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}

.premium-page .value-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.premium-page .value-card {
  text-align: center;
}

.premium-page .value-grid > .value-card {
  height: 100%;
}

.premium-page .value-card h2 {
  width: 100%;
  text-align: center;
  align-items: center;
}

.premium-page .check-list {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.premium-page #premium-checkout-form {
  margin-left: auto;
  margin-right: auto;
}

.premium-page #premium-checkout-form .bug-field {
  text-align: left;
}

.premium-success-card {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.premium-page .premium-success-card h1,
.premium-page .premium-success-card p,
.premium-page .premium-success-card .eyebrow {
  text-align: center;
}

.premium-success-state {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(145, 174, 225, 0.36);
  background: rgba(19, 31, 50, 0.56);
  color: #c8daf6;
}

.premium-success-state-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(95, 208, 138, 0.2);
  border: 1px solid rgba(95, 208, 138, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-success-state-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #71dfa2;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-success-state[data-state="success"] {
  border-color: rgba(113, 223, 162, 0.48);
  background: rgba(22, 57, 43, 0.56);
  color: #c6f5da;
}

.premium-success-state[data-state="pending"] {
  border-color: rgba(145, 174, 225, 0.42);
  background: rgba(19, 31, 50, 0.56);
  color: #c8daf6;
}

.premium-success-state[data-state="pending"] .premium-success-state-icon {
  background: rgba(130, 161, 217, 0.22);
  border-color: rgba(145, 174, 225, 0.44);
}

.premium-success-state[data-state="pending"] .premium-success-state-icon svg {
  stroke: #b9cff0;
}

.premium-success-state[data-state="error"],
.premium-success-state[data-state="cancelled"] {
  border-color: rgba(239, 127, 127, 0.52);
  background: rgba(88, 24, 34, 0.52);
  color: #ffd2d2;
}

.premium-success-state[data-state="error"] .premium-success-state-icon,
.premium-success-state[data-state="cancelled"] .premium-success-state-icon {
  background: rgba(239, 127, 127, 0.24);
  border-color: rgba(239, 127, 127, 0.52);
}

.premium-success-state[data-state="error"] .premium-success-state-icon svg,
.premium-success-state[data-state="cancelled"] .premium-success-state-icon svg {
  stroke: #ffb3b3;
}

.premium-success-table-wrap {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(145, 174, 225, 0.28);
  background: rgba(16, 26, 42, 0.44);
  overflow: hidden;
}

.premium-success-table {
  width: 100%;
  border-collapse: collapse;
}

.premium-success-table th,
.premium-success-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(137, 171, 231, 0.16);
  font-size: 0.89rem;
}

.premium-success-table tr:last-child th,
.premium-success-table tr:last-child td {
  border-bottom: 0;
}

.premium-success-table th {
  width: 38%;
  color: #bdd2f5;
  text-align: left;
  font-weight: 700;
}

.premium-success-table td {
  color: #e5f0ff;
  text-align: right;
  font-weight: 600;
}

.premium-comparison-card {
  display: grid;
  gap: 8px;
  max-width: 100%;
  margin: 0 auto;
}

.premium-comparison-head {
  display: grid;
  gap: 4px;
}

.premium-comparison-head h2 {
  margin: 0;
  font-size: clamp(1.12rem, 1.65vw, 1.5rem);
}

.premium-comparison-head p:not(.eyebrow) {
  margin: 0;
  color: #c4d9f9;
  font-size: 0.78rem;
  line-height: 1.35;
}

.premium-comparison-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.premium-comparison-table-modern {
  min-width: 600px;
  table-layout: fixed;
}

.premium-comparison-table-modern th,
.premium-comparison-table-modern td {
  padding: 6px 8px;
}

.premium-comparison-table-modern thead th {
  color: #beddff;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.premium-comparison-table-modern thead th:first-child {
  text-align: left;
  width: 48%;
}

.premium-comparison-table-modern thead th:nth-child(2),
.premium-comparison-table-modern thead th:nth-child(3) {
  width: 26%;
}

.premium-comparison-table-modern thead th.matrix-col-free-head {
  background: rgba(47, 71, 110, 0.25);
}

.premium-comparison-table-modern thead th.matrix-col-premium-head {
  background: rgba(97, 70, 26, 0.36);
  color: #ffe8bc;
}

.premium-comparison-table-modern tbody th {
  text-align: left;
  vertical-align: top;
  width: 45%;
}

.premium-comparison-table-modern tbody td {
  text-align: center;
  width: 27.5%;
}

.premium-comparison-table-modern tbody td:nth-child(2),
.premium-comparison-table-modern tfoot td:nth-child(2) {
  background: rgba(31, 49, 80, 0.22);
}

.premium-comparison-table-modern tbody td:nth-child(3),
.premium-comparison-table-modern tfoot td:nth-child(3) {
  background: rgba(93, 65, 20, 0.28);
}

.matrix-feature-label {
  display: block;
  color: #e8f2ff;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.28;
}

.matrix-feature-sub {
  display: block;
  margin-top: 3px;
  color: #9fb7dc;
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.33;
}

.matrix-status {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  margin-right: 4px;
  vertical-align: middle;
}

.matrix-status.is-yes {
  color: #bbffd4;
  border: 1px solid rgba(103, 228, 162, 0.52);
  background: rgba(27, 91, 63, 0.4);
}

.matrix-status.is-yes.is-premium {
  color: #ffe7b3;
  border-color: rgba(255, 210, 123, 0.6);
  background: rgba(95, 67, 20, 0.45);
}

.matrix-status.is-no {
  color: #ffd0d0;
  border: 1px solid rgba(237, 131, 131, 0.52);
  background: rgba(104, 30, 41, 0.42);
}

.matrix-text {
  color: #d7e8ff;
  font-size: 0.71rem;
  font-weight: 630;
  vertical-align: middle;
  line-height: 1.26;
}

.matrix-chip-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 123, 0.58);
  background: rgba(95, 67, 20, 0.4);
  color: #ffe8bc;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Sécurité visuelle: si un ancien HTML avec footer CTA est en cache, on le masque. */
.premium-comparison-table-modern tfoot {
  display: none;
}

.premium-comparison-table-modern .btn {
  font-size: 0.79rem;
  padding: 7px 10px;
  border-radius: 11px;
}

.premium-success-help {
  border-radius: 14px;
  border: 1px solid rgba(145, 174, 225, 0.28);
  background: rgba(16, 26, 42, 0.42);
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.premium-success-help h2 {
  margin: 0;
  font-size: 1.01rem;
  text-align: center;
}

.premium-success-help p {
  margin: 0;
  color: #c4d9f9;
  text-align: center;
  font-size: 0.86rem;
}

.premium-success-help a {
  color: #b4d5ff;
  text-decoration: none;
}

.premium-success-help a:hover {
  color: #e2efff;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1320px) {
  .hero-visual {
    width: 104%;
    margin-left: -4%;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .feature-shell,
  .diagnostics-grid,
  .premium-checkout-shell,
  .premium-proof-grid,
  .value-grid,
  .guides-grid,
  .seo-page-grid,
  .free-page-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .smartsort-shot-grid {
    grid-template-columns: 1fr;
  }

  .header-download {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    z-index: 35;
    background: rgba(13, 21, 35, 0.96);
    border: 1px solid rgba(112, 144, 201, 0.35);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 20px 35px rgba(5, 9, 18, 0.45);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav a {
    padding: 9px 10px;
    border-radius: 10px;
  }

  .header-nav a:hover {
    background: rgba(45, 74, 122, 0.28);
  }

  .header-nav .nav-dropdown {
    width: 100%;
  }

  .header-nav .nav-dropdown > summary {
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    justify-content: space-between;
  }

  .header-nav .nav-dropdown > summary:hover,
  .header-nav .nav-dropdown[open] > summary {
    background: rgba(45, 74, 122, 0.28);
  }

  .header-nav .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-left: 8px;
    padding: 4px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .header-nav .nav-dropdown-menu a {
    padding: 8px 10px 8px 16px;
  }

  .lang-switcher {
    width: 100%;
    margin: 6px 0 0;
    padding: 4px;
  }

  .lang-link {
    flex: 1;
    min-width: 0;
    height: 30px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-cta-row {
    margin-top: 16px;
  }

  .hero-visual {
    width: 100%;
    margin-left: 0;
  }

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

  .press-slide {
    flex-basis: calc((100% - 14px) / 2);
  }

  .press-slider-btn.prev {
    left: 8px;
  }

  .press-slider-btn.next {
    right: 8px;
  }

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

  .footer-company {
    grid-template-columns: 1fr;
  }

  .footer-company img {
    width: 170px;
  }

  .footer-download {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 66px;
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .site-header .btn {
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 60px;
  }

  .section {
    padding: 66px 0;
  }

  .premium-success-table th,
  .premium-success-table td {
    padding: 9px 10px;
    font-size: 0.84rem;
  }

  .premium-comparison-table-modern {
    min-width: 540px;
  }

  .matrix-feature-sub {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100% - 32px));
  }

  h1 {
    font-size: clamp(1.72rem, 7.4vw, 2.25rem);
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-cta-panel-buggy {
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    gap: 10px;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2rem, 4.3vw, 2.7rem);
    letter-spacing: -0.01em;
    text-align: center;
}

  .section {
    padding: 60px 0;
  }

  .premium-success-table th,
  .premium-success-table td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .premium-success-table th {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .premium-success-table td {
    padding-top: 0;
  }

  .premium-comparison-table-modern {
    min-width: 470px;
  }

  .premium-comparison-table-modern th,
  .premium-comparison-table-modern td {
    display: table-cell;
    width: auto;
    text-align: left;
    padding: 12px 10px;
  }

  .premium-comparison-table-modern thead {
    display: table-header-group;
  }

  .premium-comparison-table-modern tbody tr {
    display: table-row;
    border-bottom: 0;
  }

  .premium-comparison-table-modern thead th:first-child,
  .premium-comparison-table-modern tbody th {
    width: 40%;
  }

  .premium-comparison-table-modern thead th:nth-child(2),
  .premium-comparison-table-modern thead th:nth-child(3),
  .premium-comparison-table-modern tbody td {
    width: 30%;
  }

  .premium-comparison-table-modern tbody th {
    padding-right: 4px;
  }

  .premium-comparison-table-modern tbody td {
    padding-left: 6px;
  }

  .premium-comparison-table-modern tbody td::before {
    content: none;
    display: none;
  }

  .matrix-feature-label {
    font-size: 0.72rem;
  }

  .matrix-status {
    width: 14px;
    height: 14px;
    font-size: 0.55rem;
  }

  .matrix-text {
    font-size: 0.66rem;
  }

  .matrix-chip-new {
    font-size: 0.56rem;
    padding: 1px 4px;
  }

  h2 {
    text-align: center;
}

  .value-card h2,
  .diag-card h3,
  .faq-item h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .value-card h2 .title-icon,
  .diag-card h3 .title-icon,
  .faq-item h3 .title-icon {
    margin: 0;
    transform: none;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  p.eyebrow {
    text-align: center;
}

  .hero-cta-panel {
    width: 100%;
    padding: 12px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .download-platform-note {
    padding: 0 4px;
  }

  .hero-trust-list {
    justify-self: center;
  }

  .hero-trust-list li {
    justify-content: center;
  }

  .premium-conversion-points {
    justify-content: center;
  }

  .btn-bug-jump,
  .btn-doc-jump,
  .btn-blog-jump,
  .btn-contact-jump {
    width: calc(50% - 6px);
    min-width: 150px;
    max-width: 260px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .offer-split {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .press-slider-viewport {
    padding: 12px;
  }

  .press-slide {
    flex-basis: 100%;
  }

  .smartsort-highlight {
    padding: 12px;
  }

  .smartsort-shot {
    max-width: 100%;
  }

  .smartsort-shot img {
    max-height: 230px;
    object-fit: cover;
  }

  .smartsort-shot figcaption {
    font-size: 0.76rem;
  }

  .press-logo-link {
    min-height: 72px;
  }

  .press-logo-link img {
    max-height: 40px;
  }

  .press-slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .compat-chips {
    gap: 6px;
  }

  .compat-chips span {
    font-size: 0.75rem;
    padding: 5px 8px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .feature-item {
    padding: 12px;
  }

  .feature-badge-new {
    height: 18px;
    padding: 0 7px;
    font-size: 0.66rem;
  }

  .feature-badge-premium {
    height: 18px;
    padding: 0 7px;
    font-size: 0.66rem;
  }

  .feature-item span {
    font-size: 0.84rem;
  }

  .cta-final .container {
    padding: 24px 16px;
  }

  .bug-wizard {
    padding: 14px;
    border-radius: 16px;
  }

  .bug-form-actions .btn {
    width: 100%;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .slider-new-badge {
    top: 8px;
    left: 8px;
    height: 20px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  .shot-lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .shot-lightbox-nav.prev {
    left: 8px;
  }

  .shot-lightbox-nav.next {
    right: 8px;
  }

  .diag-card h3 {
    margin-bottom: 6px;
    font-size: 1.08rem;
    text-align: center;
}

    .footer-company img {
        width: 170px;
        justify-self: center;
    }

.faq-item h3 {
    font-size: 1.02rem;
    margin-bottom: 7px;
    text-align: center;
    justify-content: center;
}

  .cta-trust-list {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-trust-list span {
    justify-content: center;
  }

  .shot-lightbox-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1160px, calc(100% - 24px));
  }

  .header-inner {
    min-height: 60px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .hero-cta-panel-buggy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    gap: 10px;
    margin: 12px auto 10px;
  }

  .btn-bug-jump,
  .btn-doc-jump,
  .btn-blog-jump,
  .btn-contact-jump {
    width: 100%;
    max-width: 280px;
    min-width: 0;
  }

  .hero-title {
    font-size: clamp(2rem, 4.3vw, 2.7rem);
    letter-spacing: -0.01em;
    text-align: center;
}

  p {
    margin: 0;
    color: var(--text-dim);
    text-align: center;
}

.faq-item h3 {
    font-size: 1.02rem;
    margin-bottom: 7px;
    text-align: center;
    justify-content: center;
}

    .footer-company img {
        width: 170px;
        justify-self: center;
    }

.feature-preview-copy h3 {
    margin-bottom: 8px;
    text-align: center;
}

  .brand img {
    width: 38px;
    height: 38px;
  }

  h2 {
    text-align: center;
}

  .hero-mini-logo {
    width: 76px;
    height: 76px;
    justify-self: center;
  }

  .diag-card h3 {
    margin-bottom: 6px;
    font-size: 1.08rem;
    text-align: center;
}



  .site-header .btn {
    padding: 8px 10px;
    font-size: 0.8rem;
    border-radius: 10px;
  }

  .feature-preview-copy h3 {
    margin-bottom: 8px;
    text-align: center;
}

  .hero {
    padding-top: 54px;
  }

  p.eyebrow {
    text-align: center;
  }

  .section {
    padding: 48px 0;
  }

  .hero-card {
    padding: 9px;
    border-radius: 16px;
  }

  .hero-card img {
    border-radius: 12px;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }

  .slider-btn.prev {
    left: 6px;
  }

  .slider-btn.next {
    right: 6px;
  }

  .footer-company,
  .faq-item,
  .value-card,
  .diag-card {
    padding: 12px;
  }

  .footer-meta {
    padding: 12px;
  }

  .footer-legal-links {
    gap: 10px;
  }

  p {
    margin: 0;
    color: var(--text-dim);
    text-align: center;
}

  .footer-legal-links a {
    font-size: 0.8rem;
  }
}

/* ── Carte remise fidélité — index.html ───────────────────────────── */
.index-loyalty-card {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(52, 199, 89, 0.35);
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.12), rgba(11, 20, 34, 0.68));
  padding: 16px 20px;
  overflow: hidden;
}

.index-loyalty-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.index-loyalty-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  line-height: 1;
}

.index-loyalty-content {
  flex: 1 1 180px;
}

.index-loyalty-title {
  display: block;
  font-size: 0.8rem;
  color: #34c759;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.index-loyalty-text {
  font-size: 0.88rem;
  color: #c5d8f5;
  margin: 0;
  line-height: 1.45;
}

.index-loyalty-discount {
  color: #4dffd8;
  font-weight: 700;
}

.index-loyalty-cta {
  flex-shrink: 0;
  font-size: 0.82rem;
  padding: 8px 18px;
}

/* Admin dashboard */
.admin-page {
  min-height: 100vh;
}

.admin-shell {
  display: grid;
  gap: 14px;
}

.admin-view-panels {
  display: grid;
  gap: 14px;
}

.admin-view-panel {
  display: grid;
  gap: 14px;
}

.admin-view-panel[hidden] {
  display: none !important;
}

/* ── Tab bar collée sous le header ── */
.site-header.has-admin-tabs {
  border-bottom: none;
}

.admin-tab-bar {
  border-top: 1px solid rgba(77, 120, 180, 0.12);
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
}

section.value-card.admin-toolbar.reveal-up {
    border: 1px solid rgba(150, 183, 236, 0.26);
}

section.value-card.admin-license-heading.reveal-up {
    border: 1px solid rgba(150, 183, 236, 0.26);
}

article.value-card.reveal-up {
    border: 1px solid rgba(150, 183, 236, 0.26);
}

.admin-tab-bar-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-tab-bar-inner::-webkit-scrollbar { display: none; }

.admin-tab-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(140, 170, 220, 0.65);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
  outline: none;
  flex-shrink: 0;
}
.admin-tab-item i {
  font-size: 0.78rem;
  transition: color 0.18s;
}

.admin-tab-badge {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff5e7a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.admin-tab-badge[hidden],
.admin-tab-badge.is-hidden {
  display: none !important;
}

.admin-tab-item:hover {
  color: #c8dff5;
  background: rgba(30, 50, 85, 0.35);
  border-color: rgba(77, 120, 180, 0.22);
}

.admin-tab-item.is-active {
  color: #eefdff;
  background: linear-gradient(135deg, var(--accent, #4d9ef2) 0%, var(--accent-2, #5cc8ff) 100%);
  border-color: rgba(177, 225, 255, 0.45);
  box-shadow: 0 6px 20px rgba(35, 108, 196, 0.38), 0 1px 4px rgba(0,0,0,0.3);
  font-weight: 600;
}
.admin-tab-item.is-active i {
  color: #eefdff;
}

.admin-tab-item.is-active .admin-tab-badge {
  background: rgba(8, 20, 41, 0.88);
  color: #f8fbff;
}

/* Anciens styles masqués */
.admin-view-tabs-row { display: none; }
.admin-view-tabs { display: none; }

.admin-license-heading {
  display: grid;
  gap: 8px;
}

.admin-license-heading .eyebrow,
.admin-license-heading h1,
.admin-license-heading p {
  text-align: center;
}

.admin-page .reveal-up {
  opacity: 1;
  transform: none;
  transition: none;
}

.admin-page h1 {
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  letter-spacing: 0;
  line-height: 1.2;
}

.admin-page h2 {
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  line-height: 1.25;
}

.admin-login-card {
  max-width: 540px;
  margin: 10px auto 0;
  display: grid;
  gap: 12px;
}

.admin-login-card > .eyebrow,
.admin-login-card > h1,
.admin-login-card > p {
  text-align: center;
}

.admin-panel-logo {
  width: 54px;
  height: 54px;
  justify-self: center;
  border-radius: 14px;
  border: 1px solid rgba(130, 170, 250, 0.32);
  box-shadow: 0 10px 25px rgba(15, 45, 90, 0.34);
}

.admin-toolbar-title {
  display: grid;
  gap: 8px;
}

.admin-alert {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(240, 122, 122, 0.42);
  background: rgba(125, 27, 44, 0.28);
  color: #ffd3d3;
  font-size: 0.88rem;
}

.admin-alert.is-error code {
  color: #ffe9e9;
}

.admin-login-form {
  display: grid;
  gap: 10px;
}

.admin-field {
  display: grid;
  gap: 6px;
  margin-top: 15px;
}

.admin-field span {
  font-size: 0.84rem;
  color: #c6daf8;
  font-weight: 700;
}

.admin-field input,
.admin-field select,
.admin-field textarea,
.admin-days select {
  width: 100%;
  border: 1px solid rgba(142, 174, 229, 0.3);
  background: rgba(15, 24, 39, 0.7);
  color: #e7f2ff;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.admin-field textarea {
  min-height: 120px;
  padding: 10px 12px;
  resize: vertical;
  cursor: text;
  line-height: 1.45;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
.admin-days select:focus {
  outline: 0;
  border-color: rgba(126, 186, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(100, 156, 230, 0.2);
}

.admin-toolbar {
  display: grid;
  gap: 8px;
}

.admin-toolbar-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(139, 172, 230, 0.22);
}

.admin-toolbar-kpi-grid .admin-kpi {
  border-radius: 12px;
  padding: 10px 12px;
}

.admin-toolbar-kpi-grid .admin-kpi .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto;
}

.admin-toolbar-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
}

.admin-toolbar-head h1 {
  margin: 0;
}

.admin-toolbar-strip {
  margin-bottom: 10px;
}

.admin-toolbar-mobile-accordion > summary {
  display: none;
}

.admin-toolbar-mobile-accordion > summary::-webkit-details-marker {
  display: none;
}

.admin-toolbar-actions {
  display: flex;
  align-items: end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.admin-days {
  display: grid;
  gap: 7px;
  min-width: 130px;
  flex: 1 1 165px;
  max-width: 215px;
}

.admin-days span {
  font-size: 0.78rem;
  color: #d3e4ff;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.admin-days select {
  min-height: 40px;
  min-width: 0;
  border-radius: 12px;
  background: rgba(11, 19, 31, 0.86);
}

.admin-refresh-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.admin-refresh-btn .admin-btn-icon {
  width: 16px;
  height: 16px;
  margin-right: 0;
}

.admin-status {
  margin: 0;
  font-size: 0.9rem;
  color: #b8d2f7;
}

.admin-status.is-error {
  color: #ffb7b7;
}

.admin-disclaimer {
  margin: 0;
  font-size: 0.81rem;
  color: #a8c1e7;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-kpi {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.admin-kpi-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 14px;
}

.admin-kpi-value {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1;
  color: #f0f6ff;
}

.admin-kpi-meta {
  margin: 0;
  font-size: 0.88rem;
  color: #b5cdf2;
}

.admin-kpi-delta {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.15rem, 3.8vw, 1.8rem);
  line-height: 1;
  color: #71dfa2;
  font-weight: 700;
}

.admin-kpi-delta.is-positive {
  color: #71dfa2;
}

.admin-kpi-delta.is-negative {
  color: #ffb2b2;
}

.admin-toolbar-kpi-grid--compact .admin-kpi-main {
  gap: 10px;
}

.admin-toolbar-kpi-grid--compact .admin-kpi-value {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
}

.admin-toolbar-kpi-grid--compact .admin-kpi-delta {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
}

.admin-kpi-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.admin-kpi-counter.is-split-flap {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.admin-kpi-counter .counter-slot,
.admin-kpi-counter .counter-sep {
  flex: 0 0 auto;
}

.admin-kpi .counter-slot {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.admin-kpi .counter-glyph {
  font-size: 2.04rem;
  line-height: 38px;
}

.admin-kpi .counter-sep {
  margin: 0 2px 2px;
  font-size: 1.04rem;
}

.admin-kpi-meta strong {
  color: #ffffff;
}

.admin-release-section {
  display: grid;
}

.admin-release-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(150, 183, 236, 0.26);
}

.admin-release-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-release-open-btn {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.admin-release-list {
  display: grid;
  gap: 9px;
}

.admin-release-empty {
  margin: 0;
  font-size: 0.88rem;
  color: #b2caee;
}

.admin-release-item {
  border-radius: 12px;
  border: 1px solid rgba(137, 171, 231, 0.2);
  background: linear-gradient(150deg, rgba(22, 35, 58, 0.45), rgba(11, 19, 31, 0.48));
  padding: 10px 11px;
  display: grid;
  gap: 8px;
}

.admin-release-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-release-title {
  color: #e7f3ff;
  font-size: 0.9rem;
}

.admin-release-period {
  color: #a8c1e7;
  font-size: 0.79rem;
}

.admin-release-metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-release-metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(145, 174, 225, 0.24);
  background: rgba(18, 28, 46, 0.54);
  color: #c8daf6;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-release-metric.is-positive {
  color: #71dfa2;
  border-color: rgba(113, 223, 162, 0.4);
  background: rgba(22, 57, 43, 0.5);
}

.admin-charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-chart-card {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(150, 183, 236, 0.26);
}

.admin-chart-card h2,
.admin-table-card h2 {
  margin: 0;
  font-size: 1.06rem;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: rgba(20, 32, 52, 0.58);
  border-bottom: 1px solid rgba(137, 171, 231, 0.3);
  text-align: center;
}

.admin-card-head h2 {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.admin-release-card > h2 {
  width: 100%;
  text-align: center;
}

.admin-release-card-head > h2 {
  margin: 0;
  text-align: left;
}

.admin-card-body {
  padding: 12px 16px 16px;
}

.admin-card-head--between {
  justify-content: space-between;
  text-align: left;
}

.admin-card-head--between h2 {
  width: auto;
  margin: 0;
  text-align: left;
}

.admin-visits-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c6daf8;
  font-size: 0.8rem;
}

.admin-visits-group select {
  min-height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(142, 174, 229, 0.35);
  background: rgba(15, 24, 39, 0.7);
  color: #e7f2ff;
  padding: 0 10px;
  font-size: 0.82rem;
}

.admin-toolbar-kpi-grid--compact {
  margin-bottom: 12px;
}

.admin-card-note {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(145, 174, 225, 0.28);
  background: rgba(19, 31, 50, 0.52);
  color: #c6dbfa;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.admin-chart-wrap {
  position: relative;
  min-height: 300px;
}

.admin-chart-wrap-small {
  min-height: 300px;
}

.admin-tables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-table-card {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: clip;
  border: 1px solid rgba(150, 183, 236, 0.26);
}

.admin-licenses-section {
  display: grid;
}

.admin-license-card {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: clip;
}

.admin-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin-right: 8px;
  vertical-align: -2px;
  color: #8bd4ff;
}

.admin-heading-icon i,
.admin-btn-icon i {
  font-size: 100%;
  line-height: 1;
  display: inline-block;
}

.admin-btn-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  color: currentColor;
}

.admin-btn-icon-right {
  margin-right: 0;
  margin-left: 6px;
}

.admin-license-card-head {
  justify-content: space-between;
  text-align: left;
}

.admin-license-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-license-card-head h2 {
  width: auto;
  margin-inline: 0;
  text-align: left;
}

.admin-license-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.admin-license-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-license-status-row .admin-card-note {
  margin: 0;
  flex: 1 1 auto;
}

.admin-license-status-spinner {
  flex: 0 0 auto;
}

.admin-license-actions {
  display: grid;
  gap: 8px;
}

.admin-license-actions {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.admin-license-actions .admin-field {
  width: 100%;
}

.admin-license-actions .btn {
  justify-self: end;
}

.admin-license-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.84rem;
  color: #c3d9f8;
  margin-top: 10px;
}

.admin-license-summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(137, 171, 231, 0.24);
  background: rgba(16, 26, 42, 0.48);
}

.admin-license-summary span[data-license-filter],
.admin-license-summary span[data-review-filter] {
  cursor: pointer;
  user-select: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  outline: none;
}

.admin-license-summary span[data-license-filter]:hover,
.admin-license-summary span[data-review-filter]:hover {
  border-color: rgba(161, 193, 244, 0.42);
  background: rgba(26, 39, 61, 0.62);
}

.admin-license-summary span[data-license-filter]:focus-visible,
.admin-license-summary span[data-review-filter]:focus-visible {
  border-color: rgba(166, 228, 255, 0.62);
  box-shadow: 0 0 0 2px rgba(110, 193, 248, 0.22);
}

.admin-license-summary span[data-license-filter].is-active-filter,
.admin-license-summary span[data-review-filter].is-active-filter {
  border-color: rgba(124, 222, 179, 0.58);
  background: rgba(24, 58, 45, 0.72);
  color: #ddffe9;
  box-shadow: 0 6px 14px rgba(7, 32, 24, 0.25);
}

.admin-license-summary span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7ec6ff;
  box-shadow: 0 0 0 4px rgba(98, 178, 244, 0.18);
}

.admin-license-summary span:nth-child(2)::before {
  background: #ff8e8e;
  box-shadow: 0 0 0 4px rgba(255, 130, 130, 0.17);
}

.admin-license-summary span:nth-child(3)::before {
  background: #9ba3b2;
  box-shadow: 0 0 0 4px rgba(155, 163, 178, 0.2);
}

.admin-license-summary span:nth-child(4)::before {
  background: #73de9d;
  box-shadow: 0 0 0 4px rgba(115, 222, 157, 0.16);
}

.admin-license-summary strong {
  color: #ffffff;
}

.admin-license-key {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.admin-license-key-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 0;
}

.admin-license-key-wrap .admin-license-expand {
  flex-shrink: 0;
}

.admin-license-email-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.admin-license-email-text {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-license-email-edit {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(148, 177, 229, 0.34);
  background: rgba(18, 31, 49, 0.55);
  color: #c5daf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.admin-license-email-edit i {
  font-size: 12px;
  line-height: 1;
  display: inline-block;
}

.admin-license-email-edit:hover {
  border-color: rgba(174, 201, 245, 0.52);
  background: rgba(27, 41, 64, 0.72);
}

.admin-license-expand {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(148, 177, 229, 0.34);
  background: rgba(18, 31, 49, 0.55);
  color: #c5daf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.admin-license-expand:hover {
  border-color: rgba(174, 201, 245, 0.52);
  background: rgba(27, 41, 64, 0.72);
}

.admin-license-expand-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 180ms ease;
}

.admin-license-expand.is-open .admin-license-expand-chevron {
  transform: rotate(45deg);
}

.admin-license-status-active {
  color: #7be6ab;
  font-weight: 700;
}

.admin-license-status-pending {
  color: #ffd58d;
  font-weight: 700;
}

.admin-license-status-inactive {
  color: #ffb1b1;
  font-weight: 700;
}

.admin-license-activations-head,
.admin-license-activations-cell {
  text-align: center !important;
}

.admin-license-activations-cell {
  white-space: nowrap;
}

.admin-license-activations-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.admin-license-activations-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff8e8e;
  box-shadow: 0 0 0 4px rgba(255, 130, 130, 0.17);
}

.admin-license-activations-badge.is-on .admin-license-activations-dot {
  background: #73de9d;
  box-shadow: 0 0 0 4px rgba(115, 222, 157, 0.16);
}

.admin-license-actions-cell {
  white-space: nowrap;
  width: 1%;
}

.admin-license-actions-cell .btn {
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.admin-license-actions-cell .admin-license-icon-btn {
  min-width: 30px;
  width: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin:2px;
}

.admin-license-action-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
}

.admin-license-action-icon i {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
}

.admin-license-delete {
  border-color: rgba(235, 126, 126, 0.5);
  color: #ffcbcb;
}

.admin-license-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(8px);
}

.admin-license-modal[hidden] {
  display: none !important;
}

.admin-license-modal-surface {
  width: min(520px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(141, 173, 230, 0.34);
  background: linear-gradient(150deg, rgba(22, 35, 58, 0.95), rgba(12, 18, 31, 0.94));
  box-shadow: 0 26px 54px rgba(2, 8, 20, 0.56);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.admin-license-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-license-modal-head h3 {
  margin: 0;
  font-size: 1.04rem;
  color: #eff6ff;
}

.admin-license-modal-close {
  min-height: 30px;
  padding: 6px 10px;
}

.admin-license-modal-text {
  margin: 0;
  color: #bcd2f3;
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-license-email-key {
  margin: 0;
  color: #c7dcfa;
  font-size: 0.82rem;
}

.admin-license-create-form {
  display: grid;
  gap: 8px;
}

.admin-license-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}

.admin-license-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.admin-license-paid-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

#admin-license-paid-fields {
  margin-top: 4px;
}

.admin-inline-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(235, 244, 255, 0.45);
  border-top-color: #f8fbff;
  animation: admin-spin 0.7s linear infinite;
}

.admin-license-submit-btn[aria-busy="true"] {
  cursor: wait;
}

@keyframes admin-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-license-pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-license-page-btn {
  min-width: 32px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid rgba(141, 173, 230, 0.28);
  background: rgba(15, 24, 39, 0.58);
  color: #d7e8ff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-license-page-btn:hover:not(:disabled) {
  border-color: rgba(164, 191, 240, 0.42);
  background: rgba(21, 33, 52, 0.7);
}

.admin-license-page-btn:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.admin-license-page-btn.is-active {
  border-color: rgba(124, 222, 179, 0.58);
  background: rgba(24, 58, 45, 0.7);
  color: #ddffe9;
}

.admin-license-page-ellipsis {
  min-width: 20px;
  text-align: center;
  color: #a8bfdf;
  font-size: 0.86rem;
}

.admin-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(137, 171, 231, 0.3) transparent;
  /* Contient le débordement sans propager à la page */
  contain: inline-size;
}

.admin-table-wrap::-webkit-scrollbar {
  height: 4px;
}

.admin-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.admin-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(137, 171, 231, 0.3);
  border-radius: 2px;
}

.admin-table-wrap table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
}

.admin-dashboard-table {
  min-width: 620px;
}

.admin-dashboard-table--origins {
  min-width: 700px;
}

.admin-dashboard-table--crawlers {
  min-width: 780px;
}

/* Tableau licences : 8 colonnes, force le scroll sur petit écran */
.admin-license-card .admin-table-wrap table {
  min-width: 820px;
}

.admin-reviews-table {
  min-width: 980px;
}

.admin-table-wrap th,
.admin-table-wrap td {
  text-align: left;
  padding: 8px 9px;
  border-bottom: 1px solid rgba(137, 171, 231, 0.16);
  font-size: 0.86rem;
  color: #d9e8ff;
}

.admin-table-wrap th {
  color: #bed4f5;
  font-weight: 700;
}

.admin-table-wrap td:last-child,
.admin-table-wrap th:last-child {
  text-align: center;
}

.admin-activation-row > td {
  padding: 0;
  border-bottom: 1px solid rgba(137, 171, 231, 0.16);
}

.admin-activation-wrap {
  margin-top: 0;
  border: 1px solid rgba(136, 171, 229, 0.2);
  border-radius: 0;
  background: rgba(9, 15, 26, 0.52);
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  box-sizing: border-box;
}

.admin-activation-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-activation-wrap th,
.admin-activation-wrap td {
  text-align: left;
  padding: 8px 9px;
  border-bottom: 1px solid rgba(137, 171, 231, 0.14);
  font-size: 0.82rem;
  color: #d6e7ff;
  white-space: nowrap;
}

.admin-activation-wrap th:last-child,
.admin-activation-wrap td:last-child {
  text-align: right;
}

.admin-activation-section-head {
  margin-top: 8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c6dbfa;
  font-size: 0.82rem;
}

.admin-activation-section-head strong {
  color: #e3eeff;
  font-size: 0.84rem;
}

.admin-activation-section-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(145, 174, 225, 0.28);
  background: rgba(16, 26, 42, 0.52);
  color: #d4e6ff;
  font-weight: 700;
}

.admin-payment-wrap {
  margin-top: 0;
}

.admin-payment-wrap table {
  min-width: 980px;
}

.admin-payment-wrap th:last-child,
.admin-payment-wrap td:last-child {
  text-align: left;
}

.admin-payment-wrap th:nth-child(3),
.admin-payment-wrap td:nth-child(3) {
  text-align: right;
}

.admin-payment-wrap td:nth-child(6) {
  max-width: 140px;
}
.admin-checkout-ref-truncate {
  display: block;
  max-width: 140px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-activation-loading,
.admin-activation-empty {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px dashed rgba(136, 171, 229, 0.25);
  border-radius: 10px;
  color: #c1d8f8;
  font-size: 0.82rem;
  margin-bottom: 8px;
  justify-self: center;
}

.admin-activation-inactive {
  color: #ffbe9e;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-channel-cell {
  font-weight: 700;
  color: #bfe0ff;
}

.admin-table-truncate {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table-delta {
  text-align: center !important;
  white-space: nowrap;
  min-width: 58px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
}

.admin-table-delta.is-positive {
  color: #71dfa2;
}

.admin-table-delta.is-negative {
  color: #ffb2b2;
}

.admin-table-delta.is-neutral {
  color: #c6dbfa;
}

.admin-view-panel[data-admin-view="licenses"] .admin-license-heading {
  border: 1px solid rgba(150, 183, 236, 0.26);
  background: linear-gradient(150deg, rgba(23, 36, 58, 0.82), rgba(12, 18, 31, 0.74));
}

.admin-view-panel[data-admin-view="licenses"] .admin-license-heading h1 {
  font-size: clamp(1.55rem, 2.35vw, 1.95rem);
}

.admin-view-panel[data-admin-view="licenses"] .admin-license-card {
  border: 1px solid rgba(139, 174, 232, 0.24);
  background: linear-gradient(150deg, rgba(20, 31, 51, 0.8), rgba(11, 17, 30, 0.76));
  box-shadow: 0 24px 48px rgba(4, 10, 24, 0.32);
}

.admin-view-panel[data-admin-view="licenses"] .admin-card-head {
  min-height: 50px;
  padding: 12px 16px;
}

.admin-view-panel[data-admin-view="licenses"] .admin-card-head h2 {
  font-size: 1.13rem;
}

.admin-view-panel[data-admin-view="licenses"] .admin-card-body {
  padding: 14px 16px 18px;
}

/* Finance : mêmes styles visuels que Licences */
.admin-view-panel[data-admin-view="finance"] .admin-license-heading {
  border: 1px solid rgba(150, 183, 236, 0.26);
  background: linear-gradient(150deg, rgba(23, 36, 58, 0.82), rgba(12, 18, 31, 0.74));
}

.admin-view-panel[data-admin-view="finance"] .admin-license-heading h1 {
  font-size: clamp(1.55rem, 2.35vw, 1.95rem);
}

.admin-view-panel[data-admin-view="finance"] .admin-license-card {
  border: 1px solid rgba(139, 174, 232, 0.24);
  background: linear-gradient(150deg, rgba(20, 31, 51, 0.8), rgba(11, 17, 30, 0.76));
  box-shadow: 0 24px 48px rgba(4, 10, 24, 0.32);
}

.admin-view-panel[data-admin-view="finance"] .admin-card-head {
  min-height: 50px;
  padding: 12px 16px;
}

.admin-view-panel[data-admin-view="finance"] .admin-card-head h2 {
  font-size: 1.13rem;
}

.admin-view-panel[data-admin-view="finance"] .admin-card-body {
  padding: 14px 16px 18px;
}

/* ── Settings panel ──────────────────────────────────────────────────────── */
.admin-settings-fields-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 10px;
}

.admin-settings-fields-row + .admin-settings-fields-row {
  margin-top: 14px;
}

/* Hint text below an input */
.admin-field-hint {
  font-size: 0.78rem;
  color: rgba(174, 200, 244, 0.6);
  margin: 0;
}

/* Currency input narrower */
.admin-settings-currency-input {
  text-transform: uppercase;
  max-width: 100px;
}

/* Preview box (right-aligned value) */
.admin-settings-preview-box {
  display: grid;
  gap: 6px;
  align-self: end;
  padding-bottom: 2px;
}

.admin-settings-preview-label {
  font-size: 0.8rem;
  color: rgba(174, 200, 244, 0.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-settings-preview-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent, #4d9ef2);
  line-height: 1;
}

.admin-settings-preview-value--green {
  color: #34c759;
}

/* iOS-style toggle switch */
.admin-settings-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin-top: 2px;
}

.admin-settings-toggle input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-settings-toggle-track {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(100, 130, 180, 0.25);
  border: 1px solid rgba(130, 165, 220, 0.3);
  transition: background 0.22s, border-color 0.22s;
  flex-shrink: 0;
}

.admin-settings-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8aa8d8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), background 0.22s;
}

.admin-settings-toggle input:checked ~ .admin-settings-toggle-track {
  background: linear-gradient(135deg, var(--accent, #4d9ef2), #5cc8ff);
  border-color: rgba(100, 190, 255, 0.5);
}

.admin-settings-toggle input:checked ~ .admin-settings-toggle-track::after {
  transform: translateX(18px);
  background: #fff;
}

.admin-settings-toggle-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #c6daf8;
  min-width: 58px;
}

.admin-settings-toggle-label::before {
  content: attr(data-off);
}

.admin-settings-toggle input:checked ~ .admin-settings-toggle-label::before {
  content: attr(data-on);
}

/* Select styled to match admin-field input */
.admin-settings-select {
  width: 100%;
  border: 1px solid rgba(142, 174, 229, 0.3);
  background: rgba(15, 24, 39, 0.7);
  color: #e7f2ff;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  appearance: auto;
}

.admin-settings-select:focus {
  outline: 0;
  border-color: rgba(126, 186, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(100, 156, 230, 0.2);
}

/* Save row */
.admin-settings-save-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
/* ── /Settings panel ─────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .admin-charts-grid,
  .admin-tables-grid {
    grid-template-columns: 1fr;
  }

  .admin-chart-wrap,
  .admin-chart-wrap-small {
    min-height: 280px;
  }
}

@media (max-width: 860px) {
  .admin-toolbar-title {
    justify-items: center;
    text-align: center;
  }

  .admin-toolbar-title .eyebrow {
    text-align: center;
  }

  .admin-toolbar-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-toolbar-actions {
    width: 100%;
    gap: 10px;
    justify-self: stretch;
  }

  .admin-days {
    flex: 1 1 calc(50% - 10px);
    max-width: none;
    min-width: 145px;
  }

  .admin-refresh-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    margin-left: auto;
  }

  .admin-license-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-license-actions .btn {
    width: 100%;
    justify-self: stretch;
  }

  .admin-license-card-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .admin-license-card-head h2 {
    width: 100%;
  }

  .admin-license-head-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
  }

  .admin-license-head-actions .btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 6px 8px;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
  }

  .admin-license-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .admin-license-summary span {
    font-size: 0.76rem;
    padding: 5px 8px;
    gap: 6px;
    justify-content: center;
  }

  .admin-license-pagination {
    justify-content: center;
  }

  .admin-tab-item {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .admin-card-head--between {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-visits-group {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-dashboard-table {
    min-width: 620px;
  }

  .admin-dashboard-table--origins {
    min-width: 700px;
  }

  .admin-dashboard-table--crawlers {
    min-width: 780px;
  }

  .admin-dashboard-table th,
  .admin-dashboard-table td {
    font-size: 0.8rem;
    padding: 7px 8px;
  }

  .admin-table-truncate {
    max-width: 220px;
  }
}

@media (min-width: 861px) {
  .admin-toolbar-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .admin-panel-logo {
    width: 46px;
    height: 46px;
  }

  .admin-chart-wrap,
  .admin-chart-wrap-small {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px 10px 10px;
    border-radius: 14px;
    gap: 10px;
  }

  .cookie-consent-head {
    gap: 10px;
  }

  .cookie-consent-badge {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .cookie-consent-title {
    font-size: 0.94rem;
  }

  .cookie-consent-subtitle {
    font-size: 0.77rem;
  }

  .cookie-consent-points li {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .cookie-consent-point-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .cookie-consent-point-icon svg {
    width: 13px;
    height: 13px;
  }

  .cookie-consent-actions {
    justify-content: stretch;
    gap: 8px;
  }

  .cookie-consent-btn {
    flex: 1;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.77rem;
  }

  .admin-toolbar-actions {
    gap: 8px;
  }

  .admin-toolbar-mobile-accordion {
    border: 1px solid rgba(126, 168, 232, 0.24);
    border-radius: 12px;
    background: rgba(11, 19, 31, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .admin-toolbar-mobile-accordion > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    list-style: none;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #b9d6ff;
  }

  .admin-toolbar-mobile-chevron {
    display: inline-flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
  }

  .admin-toolbar-mobile-accordion[open] .admin-toolbar-mobile-chevron {
    transform: rotate(180deg);
  }

  .admin-toolbar-mobile-accordion > .admin-toolbar-actions {
    padding: 0 10px 10px;
  }

  .admin-days {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .admin-release-metric {
    width: 100%;
  }

  .admin-kpi-main {
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .admin-kpi-main::-webkit-scrollbar {
    display: none;
  }

  .admin-kpi .counter-slot {
    width: 35px;
    height: 35px;
  }

  .admin-kpi .counter-glyph {
    font-size: 1.88rem;
    line-height: 35px;
  }

  .free-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

  .admin-kpi-delta {
    font-size: clamp(1.75rem, 5.4vw, 1.7rem);
  }

  .admin-toolbar-kpi-grid--compact .admin-kpi-delta {
    font-size: clamp(1.98rem, 3.9vw, 1.1rem);
  }

  .admin-table-delta {
    min-width: 46px;
    font-size: 0.78rem;
  }

  .admin-card-head {
    min-height: 38px;
    padding: 8px 12px;
  }

  .admin-card-body {
    padding: 10px 12px 12px;
  }

  .admin-card-note {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .admin-dashboard-table {
    min-width: 560px;
  }

  .admin-dashboard-table--origins {
    min-width: 620px;
  }

  .admin-dashboard-table--crawlers {
    min-width: 700px;
  }

  .admin-dashboard-table th,
  .admin-dashboard-table td {
    font-size: 0.75rem;
    padding: 6px 7px;
  }

  .admin-table-truncate {
    max-width: 170px;
  }

  .admin-license-actions-cell {
    text-align: right;
  }

  .admin-review-actions-cell {
    text-align: right;
  }

  .admin-review-actions {
    justify-content: flex-end;
    gap: 6px;
  }


  .admin-license-modal {
    padding: 10px;
  }

  .admin-license-modal-surface {
    padding: 12px;
  }

  .admin-license-modal-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-license-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-tab-item {
    padding: 8px 12px;
    font-size: 0.76rem;
    gap: 6px;
  }

  .admin-visits-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .admin-visits-group select {
    width: 100%;
  }

  .premium-name-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 420px) {
  .admin-days {
    flex-basis: 100%;
  }

  .admin-refresh-btn {
    margin-left: 0;
  }
}

@media (min-width: 561px) {
  .admin-toolbar-mobile-accordion > summary {
    display: none;
  }

  .admin-toolbar-mobile-accordion > .admin-toolbar-actions {
    display: flex !important;
    padding: 0;
  }
}

/* ─── Toast notifications ─────────────────────────────────────────── */

.admin-toast-container {
  position: fixed;
  bottom: 22px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.admin-toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e9f1ff;
  background: rgba(20, 32, 52, 0.97);
  border: 1px solid rgba(137, 171, 231, 0.22);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  max-width: 460px;
  animation: admin-toast-in 0.22s ease forwards;
}

.admin-toast.is-success {
  color: #124225;
  border-color: rgba(114, 214, 156, 0.72);
  background: rgba(225, 249, 236, 0.96);
}

.admin-toast.is-success .admin-toast-icon { color: #1e9f54; }

.admin-toast.is-error {
  color: #5a1515;
  border-color: rgba(255, 128, 128, 0.75);
  background: rgba(255, 233, 233, 0.96);
}

.admin-toast.is-error .admin-toast-icon { color: #de3c3c; }

.admin-toast.is-info {
  color: #173454;
  border-color: rgba(121, 198, 255, 0.76);
  background: rgba(225, 243, 255, 0.96);
}

.admin-toast.is-info .admin-toast-icon { color: #2d83c9; }

.admin-toast-icon {
  flex-shrink: 0;
  font-size: 17px;
  line-height: 1.1;
  margin-top: 1px;
}

.admin-toast-icon i {
  font-size: 17px;
}

.admin-toast-message {
  flex: 1;
  line-height: 1.5;
}

.admin-toast.is-leaving {
  animation: admin-toast-out 0.2s ease forwards;
}

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

@keyframes admin-toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(8px) scale(0.97); }
}

/* ─── Spinner inline dans les boutons d'action du tableau ─────────── */

.admin-license-icon-btn {
  position: relative;
}

.admin-btn-spinner {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(235, 244, 255, 0.3);
  border-top-color: #c5daf8;
  animation: admin-spin 0.65s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   ONGLET FINANCE
═══════════════════════════════════════════════════════════════════ */

/* ── KPIs dans le heading ────────────────────────────────────────── */
.admin-finance-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-finance-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.admin-finance-kpi {
  flex: 1 1 160px;
  background: rgba(12, 20, 36, 0.55);
  border: 1px solid rgba(100, 140, 200, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.admin-finance-kpi--accent {
  border-color: rgba(0, 200, 180, 0.32);
  background: rgba(0, 160, 145, 0.09);
}

.admin-finance-kpi-value {
  font-size: 1.65rem;
  font-weight: 700;
  color: #e2eeff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.admin-finance-kpi--accent .admin-finance-kpi-value {
  color: #4dffd8;
}

.admin-finance-kpi-label {
  font-size: 0.72rem;
  color: #7a9cc8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── Card-head Finance (titre + selects + boutons) ───────────────── */
.admin-finance-card-head {
  flex-wrap: wrap;
  gap: 8px;
  row-gap: 8px;
  min-height: auto;
  padding: 10px 16px;
}

.admin-finance-head-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

.admin-finance-period-selects {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.admin-finance-select {
  appearance: none;
  background: rgba(15, 25, 44, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238aabdb'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid rgba(100, 140, 200, 0.25);
  border-radius: 8px;
  color: #c5d8f5;
  font-size: 0.8rem;
  padding: 5px 26px 5px 9px;
  cursor: pointer;
  transition: border-color 0.18s;
  height: 32px;
  max-width: 120px;
}
.admin-finance-select:focus {
  outline: none;
  border-color: rgba(100, 160, 240, 0.55);
}

.admin-finance-head-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.admin-finance-head-btns .btn {
  font-size: 0.8rem;
  padding: 5px 10px;
  height: 32px;
  white-space: nowrap;
}

/* ── Finance table ───────────────────────────────────────────────── */
#finance-table {
  width: 100%;
  min-width: 680px;
}

#finance-table td:last-child,
#finance-table th:last-child {
  text-align: right;
}

.admin-finance-date {
  white-space: nowrap;
  font-size: 0.8rem;
  color: #8aabdb;
}

.admin-finance-email {
  font-size: 0.82rem;
  color: #a8c4e8;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-finance-amount-col {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: #4dffd8;
  padding-right: 18px !important;
}

.admin-finance-amount-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-finance-delete {
  min-width: 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(235, 126, 126, 0.52);
  color: #ffcbcb;
}

.admin-finance-empty {
  text-align: center;
  padding: 32px 0;
  color: #5a7ca8;
  font-size: 0.9rem;
}
.admin-finance-empty.is-error { color: #f25a5a; }

.admin-finance-key {
  font-family: "Space Grotesk", monospace;
  font-size: 0.75rem;
  color: #a8c4e8;
  background: rgba(15, 25, 44, 0.5);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Badges prestataire */
.admin-finance-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(100, 140, 200, 0.15);
  color: #a8c4e8;
  border: 1px solid rgba(100, 140, 200, 0.2);
}
.admin-finance-badge--stripe {
  background: rgba(99, 91, 255, 0.18);
  color: #b3adff;
  border-color: rgba(99, 91, 255, 0.3);
}
.admin-finance-badge--paypal {
  background: rgba(0, 112, 186, 0.18);
  color: #7ec8f5;
  border-color: rgba(0, 112, 186, 0.3);
}
.admin-finance-badge--paid {
  background: rgba(77, 255, 216, 0.10);
  color: #4dffd8;
  border-color: rgba(77, 255, 216, 0.22);
}

/* Pagination Finance */
.admin-finance-pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  flex-wrap: wrap;
}

/* Responsive Finance */
@media (max-width: 860px) {
  /* KPIs : 2 par ligne */
  .admin-finance-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .admin-finance-kpi {
    padding: 10px 12px;
  }
  .admin-finance-kpi-value {
    font-size: 1.25rem;
  }

  /* Card-head : titre pleine largeur, contrôles en dessous */
  .admin-finance-card-head {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
  }
  .admin-finance-card-head h2 {
    width: 100%;
  }
  .admin-finance-head-controls {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .admin-finance-period-selects {
    width: 100%;
    flex-wrap: wrap;
  }
  .admin-finance-select {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
  }
  .admin-finance-head-btns {
    width: 100%;
    gap: 6px;
  }
  .admin-finance-head-btns .btn {
    flex: 1;
    justify-content: center;
  }

  .admin-finance-email {
    max-width: 110px;
  }
}

/* ============================================================
   MODULE REMBOURSEMENT — bouton + modal
   ============================================================ */

/* Bouton rembourser dans le tableau des paiements */
.admin-refund-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 66, 0.45);
  background: rgba(245, 158, 66, 0.12);
  color: #f5a544;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.admin-refund-btn:hover {
  background: rgba(245, 158, 66, 0.22);
  border-color: rgba(245, 158, 66, 0.7);
  color: #ffbe6e;
}

/* Badge "Remboursé" dans le tableau */
.admin-refund-done {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(245, 158, 66, 0.12);
  color: #f5a544;
  border: 1px solid rgba(245, 158, 66, 0.25);
  white-space: nowrap;
}

/* Montant négatif (remboursement) dans Finance */
.admin-finance-amount--negative {
  color: #f25a5a;
  font-weight: 600;
}
/* Montant positif dans Finance */
.admin-finance-amount--positive {
  color: #4dffd8;
  font-weight: 600;
}

.admin-finance-amount--zero {
  color: #a8c4e8;
  font-weight: 600;
}

/* === Overlay générique modal admin (refund, etc.) === */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(7, 11, 20, 0.75);
  backdrop-filter: blur(8px);
}

.admin-modal-overlay[hidden] {
  display: none !important;
}

/* Surface interne : même apparence que admin-license-modal-surface */
.admin-modal {
  width: min(720px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(141, 173, 230, 0.34);
  background: linear-gradient(150deg, rgba(22, 35, 58, 0.98), rgba(12, 18, 31, 0.97));
  box-shadow: 0 26px 54px rgba(2, 8, 20, 0.6);
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-modal-title {
  font-size: 1.04rem;
  font-weight: 600;
  color: #eff6ff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-modal-close {
  flex-shrink: 0;
  min-height: 30px;
  padding: 6px 10px;
  opacity: 0.7;
}

.admin-modal-close:hover {
  opacity: 1;
}

.admin-release-modal-box {
  max-width: 760px;
}

.admin-release-modal-list {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 4px;
  display: grid;
  gap: 10px;
}

.admin-release-modal-list::-webkit-scrollbar {
  width: 6px;
}

.admin-release-modal-list::-webkit-scrollbar-thumb {
  background: rgba(137, 171, 231, 0.35);
  border-radius: 999px;
}

/* Helpers CSP-safe : remplacent les style.* inline bloqués par la CSP */
.hidden-by-js {
  display: none !important;
}

.settings-preview-muted {
  opacity: 0.45;
}

.is-shimmer-loading {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  user-select: none;
}

.is-shimmer-loading > * {
  opacity: 0 !important;
}

.is-shimmer-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: rgba(12, 20, 34, 0.92);
  background-image:
    linear-gradient(rgba(142, 174, 229, 0.24), rgba(142, 174, 229, 0.24)),
    linear-gradient(rgba(142, 174, 229, 0.16), rgba(142, 174, 229, 0.16)),
    linear-gradient(rgba(142, 174, 229, 0.12), rgba(142, 174, 229, 0.12)),
    linear-gradient(rgba(142, 174, 229, 0.12), rgba(142, 174, 229, 0.12)),
    linear-gradient(rgba(142, 174, 229, 0.12), rgba(142, 174, 229, 0.12)),
    linear-gradient(rgba(142, 174, 229, 0.12), rgba(142, 174, 229, 0.12)),
    linear-gradient(rgba(142, 174, 229, 0.18), rgba(142, 174, 229, 0.18)),
    linear-gradient(rgba(142, 174, 229, 0.1), rgba(142, 174, 229, 0.1));
  background-repeat: no-repeat;
  background-size:
    34% 14px,
    22% 10px,
    calc(100% - 32px) 10px,
    calc(88% - 32px) 10px,
    calc(100% - 32px) 10px,
    calc(84% - 32px) 10px,
    110px 30px,
    calc(100% - 32px) calc(100% - 190px);
  background-position:
    16px 14px,
    16px 36px,
    16px 70px,
    16px 88px,
    16px 122px,
    16px 140px,
    calc(100% - 126px) 14px,
    16px 176px;
  z-index: 1;
  pointer-events: none;
}

.admin-table-card.is-shimmer-loading::before,
.admin-license-card.is-shimmer-loading::before {
  background-image:
    linear-gradient(rgba(142, 174, 229, 0.24), rgba(142, 174, 229, 0.24)),
    linear-gradient(rgba(142, 174, 229, 0.16), rgba(142, 174, 229, 0.16)),
    linear-gradient(rgba(142, 174, 229, 0.14), rgba(142, 174, 229, 0.14)),
    linear-gradient(rgba(142, 174, 229, 0.14), rgba(142, 174, 229, 0.14)),
    linear-gradient(rgba(142, 174, 229, 0.1), rgba(142, 174, 229, 0.1)),
    repeating-linear-gradient(
      180deg,
      rgba(142, 174, 229, 0.12) 0 10px,
      rgba(142, 174, 229, 0) 10px 30px
    );
  background-size:
    36% 14px,
    24% 10px,
    calc(100% - 32px) 10px,
    calc(92% - 32px) 10px,
    calc(100% - 32px) 1px,
    calc(100% - 32px) calc(100% - 120px);
  background-position:
    16px 14px,
    16px 36px,
    16px 72px,
    16px 90px,
    16px 116px,
    16px 132px;
}

.is-shimmer-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    110deg,
    rgba(18, 28, 46, 0) 12%,
    rgba(142, 174, 229, 0.32) 48%,
    rgba(18, 28, 46, 0) 84%
  );
  transform: translateX(-100%);
  animation: admin-shimmer-move 1.15s linear infinite;
  pointer-events: none;
}

@keyframes admin-shimmer-move {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 560px) {
  .is-shimmer-loading::before {
    background-size:
      48% 12px,
      34% 9px,
      calc(100% - 24px) 9px,
      calc(92% - 24px) 9px,
      calc(100% - 24px) 9px,
      calc(88% - 24px) 9px,
      92px 26px,
      calc(100% - 24px) calc(100% - 170px);
    background-position:
      12px 12px,
      12px 31px,
      12px 62px,
      12px 78px,
      12px 108px,
      12px 124px,
      calc(100% - 104px) 12px,
      12px 158px;
  }
}

.status-success { color: #34c759; }
.status-error   { color: #ff453a; }
.status-muted   { color: var(--text-muted, #6b82a8); }

/* === Modal remboursement (complète .admin-modal) === */
.admin-refund-modal-box {
  max-width: 640px;
}

/* Bloc avertissement ambre */
.admin-refund-warning {
  display: block;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245, 158, 66, 0.10);
  border: 1px solid rgba(245, 158, 66, 0.30);
  border-left: 3px solid #f5a544;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #f5c070;
  line-height: 1.5;
}
.admin-refund-warning i {
  color: #f5a544;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Grille des infos de paiement */
.admin-refund-info-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 0.82rem;
}
.admin-refund-info-label {
  color: #5a7ca8;
  white-space: nowrap;
  font-weight: 500;
}
.admin-refund-info-value {
  color: #c8dff5;
  font-weight: 500;
  word-break: break-all;
}
.admin-refund-amount {
  color: #f5a544;
  font-weight: 700;
  font-size: 0.9rem;
}
.admin-refund-ref {
  font-family: "Space Grotesk", monospace;
  font-size: 0.75rem;
  background: rgba(15, 25, 44, 0.5);
  padding: 2px 6px;
  border-radius: 4px;
  color: #7ec8f5;
  word-break: break-all;
}

/* Form interne — empilage vertical */
#admin-refund-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Label "Note interne" */
.admin-refund-note-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #c6daf8;
}

.admin-refund-optional {
  font-weight: 400;
  color: #5a7ca8;
}

/* Champ note */
.admin-refund-note-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10, 18, 35, 0.7);
  border: 1px solid rgba(77, 120, 180, 0.35);
  border-radius: 8px;
  color: #c8dff5;
  font-size: 0.82rem;
  padding: 9px 12px;
  resize: vertical;
  min-height: 64px;
  font-family: inherit;
  transition: border-color 0.15s;
}
.admin-refund-note-input:focus {
  outline: none;
  border-color: rgba(245, 158, 66, 0.55);
}
.admin-refund-note-input::placeholder {
  color: #3d5a7a;
}

/* Bouton confirmer le remboursement */
.admin-refund-confirm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 66, 0.5);
  background: rgba(245, 158, 66, 0.15);
  color: #f5a544;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.admin-refund-confirm-btn:hover:not(:disabled) {
  background: rgba(245, 158, 66, 0.28);
  border-color: rgba(245, 158, 66, 0.75);
  color: #ffbe6e;
}
.admin-refund-confirm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Actions row modal */
.admin-refund-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 520px) {
  .admin-refund-modal-box {
    padding: 20px 16px 18px;
    gap: 14px;
  }
  .admin-refund-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .admin-refund-confirm-btn {
    justify-content: center;
  }
}

.visit-tracking-pixel {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.premium-success-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.u-mt-1 {
  margin-top: 1rem;
}

/* ── Reviews module ─────────────────────────────────────────────────────── */
.download-rating {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #d6e4fd;
  font-weight: 600;
}

.download-rating-stars {
  color: #ffcf66;
  letter-spacing: 1px;
  margin-right: 8px;
}

.download-rating-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(214, 228, 253, 0.45);
  text-underline-offset: 2px;
}

.download-rating-link:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.75);
}

.btn-review-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reviews-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reviews-page-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 860px;
}

/* Reviews pages (FR + EN): tighter vertical rhythm + wider blocks + centered heading */
.avis-page .section,
.reviews-page .section {
  padding: 20px 0;
}

.avis-page .section-head,
.reviews-page .section-head {
  margin-inline: auto;
  text-align: center;
}

.avis-page .reviews-page-stack,
.reviews-page .reviews-page-stack {
  max-width: 1020px;
  margin-inline: auto;
}

.reviews-summary-card {
  background: linear-gradient(150deg, rgba(17, 27, 45, 0.95), rgba(23, 42, 72, 0.95));
  border: 1px solid rgba(150, 179, 230, 0.28);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}

.reviews-summary-title {
  margin: 0 0 6px 0;
  color: #afc6ea;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reviews-summary-score {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
}

.reviews-summary-score span {
  font-size: 20px;
  color: #afc6ea;
  margin-left: 2px;
}

.reviews-summary-stars {
  margin: 8px 0 6px 0;
  color: #ffcf66;
  letter-spacing: 2px;
  font-size: 22px;
}

.reviews-summary-count {
  margin: 0;
  color: #d6e4fd;
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form .admin-field input,
.review-form .admin-field textarea {
  width: 100%;
}

.review-rating-fieldset {
  border: 1px solid rgba(150, 179, 230, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
}

.review-rating-fieldset legend {
  padding: 0 8px;
  color: #d6e4fd;
  font-size: 13px;
  font-weight: 600;
}

.review-rating-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.review-rating-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-rating-stars label {
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  color: rgba(187, 208, 240, 0.48);
  transition: color 0.18s ease;
}

.review-rating-stars label:hover,
.review-rating-stars label:hover ~ label,
.review-rating-stars input:checked ~ label {
  color: #ffcf66;
}

.review-form-status {
  margin: 2px 0 0 0;
  font-size: 14px;
  color: #d6e4fd;
}

.review-form-status.is-error {
  color: #ff9e9e;
}

.review-form-status.is-success {
  color: #8be2ad;
}

.reviews-list {
  display: grid;
  gap: 12px;
}

.reviews-empty {
  margin: 0;
  color: #afc6ea;
}

.reviews-empty.is-error {
  color: #ff9e9e;
}

.review-item {
  border: 1px solid rgba(150, 179, 230, 0.26);
  border-radius: 12px;
  padding: 14px;
  background: rgba(14, 24, 39, 0.5);
}

.review-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.review-item-author {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.review-item-head strong {
  display: block;
  color: #f5f9ff;
}

.review-item-meta {
  display: grid;
  gap: 4px;
  color: #afc6ea;
  font-size: 12px;
}

.review-item-stars {
  color: #ffcf66;
  letter-spacing: 1.2px;
  font-size: 14px;
  line-height: 1;
}

.review-item-comment {
  margin: 0;
  color: #d6e4fd;
  line-height: 1.6;
}

.review-premium-badge,
.admin-premium-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 207, 102, 0.2);
  border: 1px solid rgba(255, 207, 102, 0.5);
  color: #ffcf66;
}

.admin-review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-review-average-note {
  color: #d6e4fd;
  align-self: center;
}

.admin-review-stars-cell {
  color: #ffcf66;
  letter-spacing: 1px;
  white-space: nowrap;
}

.admin-review-status {
  font-weight: 700;
}

.admin-review-status-pending {
  color: #ffcf66;
}

.admin-review-status-approved {
  color: #8be2ad;
}

.admin-review-status-rejected {
  color: #ff9e9e;
}

.admin-review-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 112px;
}

.admin-review-actions-cell {
  width: 120px;
  white-space: nowrap;
}

.admin-review-actions-cell .admin-review-action-btn {
  flex: 0 0 30px;
}

.admin-review-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(137, 171, 231, 0.3);
  background: rgba(15, 24, 39, 0.56);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-review-action-btn i {
  font-size: 12px;
}

.admin-review-action-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.admin-review-action-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.admin-review-action-btn[aria-busy="true"] {
  cursor: wait;
}

.admin-review-action-btn-approve {
  color: #8be2ad;
  border-color: rgba(139, 226, 173, 0.45);
  background: rgba(16, 51, 36, 0.6);
}

.admin-review-action-btn-approve:hover:not(:disabled) {
  background: rgba(23, 67, 47, 0.7);
  border-color: rgba(139, 226, 173, 0.7);
}

.admin-review-action-btn-reject {
  color: #ffcf66;
  border-color: rgba(255, 207, 102, 0.5);
  background: rgba(69, 49, 15, 0.58);
}

.admin-review-action-btn-reject:hover:not(:disabled) {
  background: rgba(88, 61, 15, 0.68);
  border-color: rgba(255, 207, 102, 0.74);
}

.admin-review-action-btn-delete {
  color: #ff9e9e;
  border-color: rgba(255, 158, 158, 0.5);
  background: rgba(71, 26, 33, 0.56);
}

.admin-review-action-btn-delete:hover:not(:disabled) {
  background: rgba(86, 29, 38, 0.7);
  border-color: rgba(255, 158, 158, 0.72);
}

@media (max-width: 980px) {
  .download-metrics-row {
    flex-direction: column;
    gap: 8px;
  }

  .reviews-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .review-item-meta {
    gap: 3px;
  }

  .review-item-stars {
    font-size: 17px;
  }

  .review-premium-badge {
    margin-left: auto;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1.1;
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   Bug Tracker (public)
   ─────────────────────────────────────────────────────────────────────────── */
.bugs-page .section {
  padding: 12px 0;
}

.bugs-hero-section {
  padding-top: 14px !important;
}

.bugs-main-section {
  padding-top: 10px !important;
}

.bugs-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}

.bugs-header-cta {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
}

.bugs-header-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(148, 178, 233, 0.24);
}

.bugs-header-actions .btn + .btn {
  position: relative;
}

.bugs-header-actions .btn + .btn::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(148, 178, 233, 0.24);
}

.bugs-login-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
}

.bugs-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.bugs-side-stack {
  display: grid;
  gap: 18px;
}

.bugs-list-card,
.bugs-detail-card-wrap {
  min-height: 0;
}

.bugs-filters {
  display: grid;
  gap: 10px;
}

.bugs-toolbar-sticky {
  position: static;
  top: auto;
  z-index: 8;
  margin: -6px -6px 8px;
  padding: 8px 6px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 23, 40, 0.95) 0%, rgba(13, 23, 40, 0.82) 100%);
  border: 0;
  backdrop-filter: blur(8px);
}

.bugs-summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.bugs-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #cfe3ff;
  border: 0;
  background: rgba(16, 31, 53, 0.68);
}

.bugs-summary-pill strong {
  color: #ffffff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.bugs-filter-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(210px, 290px) minmax(280px, 1fr) minmax(140px, 170px);
  gap: 10px;
  align-items: end;
}

.bugs-filter-row .admin-field {
  margin-top: 0;
  gap: 7px;
}

.bugs-filter-row .admin-field span {
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.bugs-filter-row .admin-field input,
.bugs-filter-row .admin-field select {
  min-height: 44px;
}

.bugs-filter-row > .btn[data-bugs-refresh] {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.bugs-filters-mobile {
  display: block;
}

.bugs-filters-mobile-toggle {
  display: none;
}

.bugs-filters-mobile-body {
  display: block;
}

.bugs-filters-mobile-toggle-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bugs-filters-mobile-chevron {
  transition: transform 0.16s ease;
}

.bugs-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.bugs-status-tab {
  border: 1px solid rgba(148, 178, 233, 0.3);
  border-radius: 999px;
  background: rgba(17, 31, 53, 0.62);
  color: #d6e8ff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.bugs-status-tab:hover {
  border-color: rgba(118, 196, 255, 0.6);
  background: rgba(24, 45, 76, 0.84);
  transform: translateY(-1px);
}

.bugs-status-tab.is-active {
  border-color: rgba(87, 172, 255, 0.75);
  background: rgba(31, 69, 117, 0.88);
  box-shadow: 0 0 0 1px rgba(87, 172, 255, 0.22) inset;
}

.bugs-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.bugs-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: rgba(16, 31, 53, 0.48);
  padding: 11px;
  color: #eaf2ff;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.bugs-item:hover {
  transform: translateY(-1px);
  background: rgba(18, 36, 61, 0.62);
}

.bugs-item.is-active {
  background: rgba(20, 43, 73, 0.74);
  box-shadow: inset 2px 0 0 rgba(87, 172, 255, 0.78);
}

.bugs-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bugs-item-id {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 12px;
  color: #8eb4ea;
}

.bugs-item-status,
.admin-bug-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(177, 206, 247, 0.45);
  background: rgba(30, 53, 84, 0.6);
  color: #d5e8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bugs-item-status-new,
.admin-bug-status-new {
  color: #dff2ff;
  border-color: rgba(120, 201, 255, 0.78);
  background: rgba(36, 90, 146, 0.82);
}

.bugs-item-status-open,
.admin-bug-status-open {
  color: #e7f7ff;
  border-color: rgba(111, 210, 255, 0.8);
  background: rgba(28, 108, 156, 0.82);
}

.bugs-item-status-investigation,
.admin-bug-status-investigation {
  color: #f1e7ff;
  border-color: rgba(182, 139, 255, 0.78);
  background: rgba(93, 60, 152, 0.82);
}

.bugs-item-status-confirmed,
.admin-bug-status-confirmed {
  color: #fff2df;
  border-color: rgba(255, 187, 99, 0.8);
  background: rgba(149, 88, 24, 0.84);
}

.bugs-item-status-in_progress,
.admin-bug-status-in_progress {
  color: #fff4da;
  border-color: rgba(255, 205, 110, 0.8);
  background: rgba(150, 107, 30, 0.84);
}

.bugs-item-status-awaiting_votes,
.admin-bug-status-awaiting_votes {
  color: #e5f7ff;
  border-color: rgba(127, 210, 255, 0.82);
  background: rgba(30, 103, 150, 0.84);
}

.bugs-item-status-pending_resolution,
.admin-bug-status-pending_resolution {
  color: #ffe7ef;
  border-color: rgba(255, 173, 209, 0.82);
  background: rgba(146, 44, 95, 0.84);
}

.bugs-item-status-needs_info,
.admin-bug-status-needs_info {
  color: #ffe1e7;
  border-color: rgba(255, 137, 157, 0.84);
  background: rgba(146, 34, 55, 0.84);
}

.bugs-item-status-resolved,
.admin-bug-status-resolved {
  color: #e3ffee;
  border-color: rgba(123, 227, 166, 0.84);
  background: rgba(32, 116, 69, 0.84);
}

.bugs-item-status-implemented,
.admin-bug-status-implemented {
  color: #e3fff8;
  border-color: rgba(114, 232, 192, 0.84);
  background: rgba(26, 120, 94, 0.84);
}

.bugs-item-status-planned,
.admin-bug-status-planned {
  color: #e7ffe9;
  border-color: rgba(132, 232, 147, 0.84);
  background: rgba(39, 124, 53, 0.84);
}

.bugs-item-status-not_retained,
.admin-bug-status-not_retained {
  color: #ffe9ee;
  border-color: rgba(255, 152, 169, 0.8);
  background: rgba(122, 48, 64, 0.84);
}

.bugs-item-status-closed,
.admin-bug-status-closed {
  color: #ecf3ff;
  border-color: rgba(182, 201, 232, 0.74);
  background: rgba(62, 83, 120, 0.84);
}

.issue-label-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.issue-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 0;
  background: rgba(44, 62, 91, 0.95);
  color: #dcecff;
}

.issue-label-dynamic {
  background: rgba(44, 62, 91, 0.95);
  color: #dcecff;
  border: 1px solid rgba(177, 206, 247, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-bugs-labels-cell .issue-label-dynamic {
  background: rgba(44, 62, 91, 0.95);
  color: #dcecff;
  border-color: rgba(177, 206, 247, 0.45);
  background-clip: padding-box;
}

.issue-label-fixed-bug {
  background: hsl(356deg 62% 34%) !important;
  color: hsl(356deg 100% 94%) !important;
  border-color: hsl(356deg 72% 68%) !important;
}

.issue-label-fixed-feature {
  background: hsl(138deg 52% 30%) !important;
  color: hsl(138deg 100% 93%) !important;
  border-color: hsl(138deg 62% 62%) !important;
}

.issue-label-fixed-security {
  background: hsl(31deg 72% 36%) !important;
  color: hsl(31deg 100% 94%) !important;
  border-color: hsl(31deg 82% 68%) !important;
}

.issue-label-palette-0 { background: #423088 !important; color: #ece7ff !important; border-color: #9886ef !important; }
.issue-label-palette-1 { background: #1f5f6f !important; color: #ddf9ff !important; border-color: #71c3db !important; }
.issue-label-palette-2 { background: #7a3e1f !important; color: #ffebde !important; border-color: #d89b79 !important; }
.issue-label-palette-3 { background: #2f6c37 !important; color: #defbe2 !important; border-color: #8dd89b !important; }
.issue-label-palette-4 { background: #7a2d57 !important; color: #ffe3f2 !important; border-color: #df8ebc !important; }
.issue-label-palette-5 { background: #5b3d1f !important; color: #fcebd7 !important; border-color: #d8ac73 !important; }
.issue-label-palette-6 { background: #214f83 !important; color: #e2eeff !important; border-color: #7cb0ec !important; }
.issue-label-palette-7 { background: #6f2f2f !important; color: #ffe5e5 !important; border-color: #e09a9a !important; }
.issue-label-palette-8 { background: #2b674e !important; color: #dcfff0 !important; border-color: #85d8b5 !important; }
.issue-label-palette-9 { background: #574489 !important; color: #eee7ff !important; border-color: #ae9ae8 !important; }
.issue-label-palette-10 { background: #1f6b77 !important; color: #def8ff !important; border-color: #82cfdd !important; }
.issue-label-palette-11 { background: #7a5a1d !important; color: #fff1d7 !important; border-color: #e3c379 !important; }
.issue-label-palette-12 { background: #344889 !important; color: #e5ecff !important; border-color: #90a8f0 !important; }
.issue-label-palette-13 { background: #6e284b !important; color: #ffe1f1 !important; border-color: #df91b9 !important; }
.issue-label-palette-14 { background: #3f6a20 !important; color: #eaffdb !important; border-color: #a4db7f !important; }
.issue-label-palette-15 { background: #6a354e !important; color: #ffe4f0 !important; border-color: #d79ab9 !important; }
.issue-label-palette-16 { background: #2a5a79 !important; color: #e1f2ff !important; border-color: #83bde6 !important; }
.issue-label-palette-17 { background: #65411f !important; color: #ffeddd !important; border-color: #dcb07f !important; }
.issue-label-palette-18 { background: #324a2e !important; color: #e7f9df !important; border-color: #96ce88 !important; }
.issue-label-palette-19 { background: #70402a !important; color: #ffe9de !important; border-color: #daab94 !important; }
.issue-label-palette-20 { background: #2d4e70 !important; color: #e0eeff !important; border-color: #89b4e5 !important; }
.issue-label-palette-21 { background: #6b253b !important; color: #ffe0ea !important; border-color: #d98fa5 !important; }
.issue-label-palette-22 { background: #3d5f22 !important; color: #ebffd9 !important; border-color: #a8d67c !important; }
.issue-label-palette-23 { background: #5f324f !important; color: #fbe3f3 !important; border-color: #cc95ba !important; }

.issue-label-empty {
  background: rgba(34, 48, 72, 0.7);
  color: #9fb6d8;
}

.issue-label-bug {
  background: rgba(120, 40, 53, 0.96);
  color: #ffdbe2;
}

.issue-label-feature {
  background: rgba(37, 106, 63, 0.96);
  color: #d9ffea;
}

.issue-label-improvement {
  background: rgba(45, 75, 138, 0.96);
  color: #dbeeff;
}

.issue-label-crash {
  background: rgba(125, 48, 30, 0.96);
  color: #ffe2d5;
}

.issue-label-security {
  background: rgba(117, 84, 20, 0.96);
  color: #ffeec8;
}

.issue-label-performance {
  background: rgba(33, 97, 87, 0.96);
  color: #d4fff2;
}

.issue-label-regression {
  background: rgba(111, 46, 118, 0.96);
  color: #f5d8ff;
}

.issue-label-compatibility {
  background: rgba(71, 53, 130, 0.96);
  color: #e5ddff;
}

.issue-label-ui,
.issue-label-ux {
  background: rgba(29, 86, 117, 0.96);
  color: #d7f2ff;
}

.issue-label-cleanup {
  background: rgba(39, 88, 64, 0.96);
  color: #dfffe9;
}

.bugs-labels-cell,
.admin-bugs-labels-cell {
  min-width: 150px;
}

.bugs-detail-labels,
.admin-bugs-detail-labels {
  margin-top: 8px;
}

.bugs-item-summary {
  margin: 8px 0 7px;
  font-size: 14px;
  line-height: 1.4;
  color: #eaf2ff;
}

.bugs-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 11px;
  font-size: 12px;
  color: #96b0d8;
}

.bugs-detail-card {
  display: grid;
  gap: 12px;
}

.bugs-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.bugs-detail-head h2 {
  margin: 4px 0 0;
  line-height: 1.25;
}

.bugs-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #8da7cf;
  font-size: 12px;
}

.bugs-detail-description {
  border: 0;
  border-radius: 12px;
  background: rgba(16, 30, 52, 0.36);
  padding: 12px;
  color: #dceaff;
  line-height: 1.55;
  font-size: 14px;
}

.bugs-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bugs-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bugs-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.bugs-video-card {
  display: grid;
  gap: 8px;
}

.bugs-inline-video {
  width: 100%;
  max-height: 260px;
  border-radius: 10px;
  border: 1px solid rgba(137, 171, 231, 0.28);
  background: rgba(8, 14, 24, 0.82);
}

.bugs-video-filename {
  margin: 0;
  font-size: 12px;
  color: #cfe3ff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bugs-comments-block {
  display: grid;
  gap: 10px;
}

.bugs-timeline-block {
  display: grid;
  gap: 10px;
}

.bugs-comments-list {
  display: grid;
  gap: 8px;
}

.bugs-timeline-list {
  display: grid;
  gap: 8px;
}

.bugs-comment {
  position: relative;
  border: 0;
  border-radius: 10px;
  background: #0a1222a8;
  padding: 10px 12px 10px 44px;
}

.bugs-comment::before {
  content: none;
}

.bugs-comment-leading-icon {
  position: absolute;
  left: 12px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(133, 167, 227, 0.45);
  background: rgba(30, 60, 100, 0.56);
  color: #d7e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.bugs-timeline-item {
  border: 0;
  border-radius: 10px;
  background: rgba(12, 22, 39, 0.46);
  padding: 10px 12px;
}

.bugs-page .value-card {
  border-color: rgba(148, 178, 233, 0.1);
}

.bugs-timeline-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #9db9e2;
  font-size: 12px;
}

.bugs-timeline-item p {
  margin: 6px 0 0;
  color: #b7cae8;
  line-height: 1.45;
  font-size: 12px;
  text-transform: capitalize;
}

.bugs-comment header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #9db9e2;
  font-size: 12px;
}

.bugs-comment-icon-btn {
  margin-left: auto;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.bugs-comment p {
  margin: 6px 0 0;
  color: #e6f1ff;
  line-height: 1.5;
  font-size: 14px;
  text-align: left;
}

.bugs-comment-form {
  display: grid;
  gap: 8px;
}

.bugs-inline-status {
  min-height: 18px;
  font-size: 12px;
  margin: 0;
  color: #8ea9d2;
}

.bugs-inline-status.is-error {
  color: #ff9090;
}

.bugs-inline-status.is-success {
  color: #8ce0a9;
}

.bugs-upload-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.bugs-upload-progress[hidden],
.bugs-queue-progress[hidden] {
  display: none !important;
}

.bugs-upload-progress-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(122, 163, 226, 0.42);
  background: rgba(16, 29, 48, 0.7);
  overflow: hidden;
}

.bugs-upload-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #58b9ff, #3f7bff);
  transition: width 0.2s ease;
}

.bugs-upload-progress.is-complete .bugs-upload-progress-fill {
  background: linear-gradient(90deg, #4bd07a, #2fbf66);
}

.bugs-upload-progress.is-complete .bugs-upload-progress-text {
  color: #98ecb5;
}

.bugs-upload-progress-text {
  font-size: 12px;
  font-weight: 700;
  color: #cae1ff;
  min-width: 40px;
  text-align: right;
}

.bugs-empty {
  color: #9db4d9;
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.bugs-empty.is-error {
  color: #ff8f98;
  text-align: center;
}

[data-bugs-list-status].is-error,
[data-bugs-detail-status].is-error {
  color: #ff8f98;
}

.bugs-page .admin-license-page-btn.is-active {
  background: rgba(67, 130, 255, 0.52);
}

.bugs-lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(143, 175, 233, 0.32);
  background: rgba(22, 37, 61, 0.62);
  color: #dcecff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.bugs-lang-switch:hover {
  border-color: rgba(113, 196, 255, 0.62);
  background: rgba(29, 51, 83, 0.82);
  transform: translateY(-1px);
}

.bugs-modal-open {
  overflow: hidden;
}

.bugs-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(6, 11, 19, 0.72);
  backdrop-filter: blur(6px);
}

.bugs-modal-backdrop[hidden] {
  display: none !important;
}

.bugs-modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  position: relative;
}

.bugs-modal-report {
  width: min(700px, 100%);
  max-height: calc(100vh - 56px);
}

.bugs-modal-report .bug-wizard {
  margin-top: 10px;
}

.bugs-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 178, 233, 0.38);
  background: rgba(16, 31, 53, 0.78);
  color: #d9ebff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.bugs-modal-close:hover {
  border-color: rgba(113, 196, 255, 0.62);
  background: rgba(23, 44, 74, 0.9);
}

/* ───────────────────────────────────────────────────────────────────────────
   Bug Tracker (admin)
   ─────────────────────────────────────────────────────────────────────────── */
.admin-bug-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.admin-bugs-workspace {
  display: grid;
  gap: 14px;
}

.admin-bugs-screen {
  display: block;
}

.admin-bugs-screen[hidden] {
  display: none !important;
}

.admin-bugs-table-row {
  cursor: pointer;
}

.admin-bugs-table-row.is-active {
  background: rgba(40, 74, 121, 0.42);
}

.admin-bugs-table-row td {
  vertical-align: top;
}

.admin-bugs-summary {
  margin-top: 10px;
}

.admin-bugs-create-box {
  margin-top: 14px;
  border: 1px solid rgba(147, 179, 231, 0.24);
  border-radius: 12px;
  background: rgba(13, 24, 41, 0.56);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.admin-bugs-create-box h3 {
  margin: 0;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-bugs-create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
}

.admin-bugs-create-modal .admin-license-modal-surface {
  width: min(840px, 100%);
}

.admin-bugs-create-modal {
  z-index: 1600;
}

.admin-bugs-edit-comment-modal .admin-license-modal-surface {
  width: min(760px, 100%);
}

.admin-bugs-edit-comment-form {
  display: grid;
  gap: 10px;
}

.admin-bugs-edit-comment-form textarea {
  min-height: 180px;
}

.admin-bugs-create-field-wide {
  grid-column: 1 / -1;
}

.admin-bug-count-strong {
  color: #ecf4ff;
}

.admin-bugs-detail {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-bugs-detail-topbar {
  display: grid;
  gap: 12px;
}

.admin-bugs-toolbar-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.admin-bugs-status-row,
.admin-bugs-tags-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
}

.admin-bugs-tags-row {
  justify-content: flex-start;
  flex: 1 1 auto;
}

.admin-bugs-status-row {
  justify-content: flex-end;
  margin-left: auto;
  flex: 0 0 auto;
}

.admin-bugs-tags-row .btn,
.admin-bugs-status-row .btn {
  min-height: 44px;
  white-space: nowrap;
}

.admin-bugs-status-row .admin-bugs-status-field select {
  min-height: 44px;
}

.admin-bugs-status-field {
  min-width: 240px;
}

.admin-bugs-labels-field {
  min-width: 280px;
}

.admin-bugs-detail-empty {
  color: #9ab3d7;
  font-size: 13px;
  margin: 0;
}

.admin-bugs-detail-grid {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-bugs-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 8px;
  min-width: 0;
}

.admin-bugs-meta-item {
  border: 1px solid rgba(147, 179, 231, 0.2);
  border-radius: 8px;
  background: rgba(16, 29, 50, 0.45);
  padding: 8px 10px;
  min-width: 0;
}

.admin-bugs-meta-item span {
  display: block;
  font-size: 11px;
  color: #8eaad2;
}

.admin-bugs-meta-item strong {
  display: block;
  margin-top: 2px;
  color: #ecf3ff;
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-bugs-detail-headline {
  align-items: flex-start;
}

.admin-bugs-detail-head-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-bugs-people-btn {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 12px;
  gap: 8px;
}

.admin-bugs-people-btn span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-bugs-user-box {
  background: linear-gradient(145deg, rgba(18, 33, 54, 0.58), rgba(13, 24, 41, 0.5));
}

.admin-bugs-user-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px 14px;
  min-width: 0;
}

.admin-bugs-user-grid div {
  min-width: 0;
}

.admin-bugs-user-grid span {
  display: block;
  font-size: 11px;
  color: #8eaad2;
}

.admin-bugs-user-grid strong {
  display: block;
  margin-top: 2px;
  color: #ecf3ff;
  font-size: 13px;
  word-break: break-word;
}

.admin-bugs-user-grid .admin-bugs-detail-labels {
  margin-top: 4px;
}

.admin-bugs-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.admin-bugs-box {
  border: 1px solid rgba(147, 179, 231, 0.2);
  border-radius: 10px;
  background: rgba(13, 24, 41, 0.52);
  padding: 10px 12px;
  min-width: 0;
}

.admin-bugs-box h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 14px;
}

.admin-bugs-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9dc4ff;
  font-size: 13px;
  line-height: 1;
}

.admin-bugs-box p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #d9e8ff;
  font-size: 13px;
  line-height: 1.45;
}

.admin-tags-editor {
  display: grid;
  gap: 8px;
}

.admin-tags-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
}

.admin-tags-empty {
  font-size: 12px;
  color: #90add7;
}

.admin-tags-chip {
  gap: 6px;
  padding-right: 5px;
}

.admin-tags-chip-remove {
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.9;
}

.admin-tags-chip-remove:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.admin-tags-entry {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-tags-entry input {
  flex: 1;
}

.admin-bugs-list {
  display: grid;
  gap: 8px;
}

.admin-bugs-item {
  border: 1px solid rgba(145, 177, 227, 0.2);
  border-radius: 8px;
  background: rgba(14, 25, 42, 0.6);
  padding: 8px 10px;
  min-width: 0;
}

.admin-bugs-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin-top: 20px;
}

.admin-bugs-item-head > div {
  min-width: 0;
}

.admin-bugs-table-actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}

.admin-bugs-view-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-bugs-item-head h3,
.admin-bugs-item-head .eyebrow {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-bugs-item p {
  margin: 6px 0 0;
  color: #dbe9ff;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-bugs-item-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #8faad3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-bugs-thumb-btn {
  padding: 0;
  border: 1px solid rgba(147, 179, 231, 0.32);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 18, 34, 0.68);
  cursor: pointer;
}

.admin-bugs-thumb-btn img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.admin-bugs-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.admin-bugs-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.admin-bugs-video-card {
  display: grid;
  gap: 8px;
}

.admin-bugs-inline-video {
  width: 100%;
  max-height: 260px;
  border-radius: 10px;
  border: 1px solid rgba(147, 179, 231, 0.34);
  background: rgba(9, 16, 28, 0.84);
}

.admin-bugs-video-filename {
  margin: 0;
  font-size: 12px;
  color: #d0e3ff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-bugs-image-lightbox[hidden] {
  display: none !important;
}

.admin-bugs-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
}

.admin-bugs-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.8);
  backdrop-filter: blur(4px);
}

.admin-bugs-image-lightbox-dialog {
  position: absolute;
  inset: 20px;
  display: grid;
  place-items: center;
}

.admin-bugs-image-lightbox-img {
  max-width: min(1200px, 96vw);
  max-height: calc(100vh - 56px);
  border-radius: 12px;
  border: 1px solid rgba(147, 179, 231, 0.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  background: #0a1222;
}

.admin-bugs-image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(147, 179, 231, 0.46);
  background: rgba(12, 22, 38, 0.82);
  color: #eaf4ff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.admin-bugs-people-modal[hidden] {
  display: none !important;
}

.admin-bugs-people-modal {
  position: fixed;
  inset: 0;
  z-index: 265;
}

.admin-bugs-people-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.8);
  backdrop-filter: blur(4px);
}

.admin-bugs-people-modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, calc(100vw - 24px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(147, 179, 231, 0.34);
  background: linear-gradient(145deg, rgba(17, 30, 50, 0.98), rgba(10, 17, 30, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.56);
  padding: 18px 18px 16px;
}

.admin-bugs-people-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(147, 179, 231, 0.46);
  background: rgba(12, 22, 38, 0.82);
  color: #eaf4ff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.admin-bugs-people-content {
  margin-top: 10px;
}

.admin-bugs-people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-bugs-people-box {
  border: 1px solid rgba(147, 179, 231, 0.2);
  border-radius: 10px;
  background: rgba(13, 24, 41, 0.52);
  padding: 10px 12px;
}

.admin-bugs-people-box h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #e9f3ff;
}

.admin-bugs-people-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.admin-bugs-people-list li {
  border: 1px solid rgba(147, 179, 231, 0.2);
  border-radius: 8px;
  background: rgba(11, 20, 35, 0.62);
  padding: 8px 10px;
  display: grid;
  gap: 3px;
}

.admin-bugs-people-list strong {
  color: #eaf4ff;
  font-size: 13px;
}

.admin-bugs-people-list span {
  color: #a9c2e7;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-bugs-people-list time {
  color: #89a7d3;
  font-size: 11px;
}

.admin-bugs-plain-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #d8e8ff;
  font-size: 12px;
  min-width: 0;
}

.admin-bugs-plain-list li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-bugs-fixed-scroll-card {
  min-height: 230px;
  max-height: 230px;
  display: flex;
  flex-direction: column;
}

.admin-bugs-fixed-scroll-card h4 {
  flex: 0 0 auto;
}

.admin-bugs-fixed-scroll-list {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  padding-right: 6px;
}

.admin-bugs-fixed-scroll-list::-webkit-scrollbar {
  width: 8px;
}

.admin-bugs-fixed-scroll-list::-webkit-scrollbar-track {
  background: rgba(16, 28, 46, 0.38);
  border-radius: 999px;
}

.admin-bugs-fixed-scroll-list::-webkit-scrollbar-thumb {
  background: rgba(122, 164, 227, 0.55);
  border-radius: 999px;
}

.admin-bugs-fixed-scroll-list::-webkit-scrollbar-thumb:hover {
  background: rgba(146, 186, 242, 0.74);
}

.admin-bugs-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-bugs-action-row-main {
  justify-content: flex-end;
  align-items: center;
}

.admin-bugs-comments-slot {
  margin-top: 12px;
}

.admin-bugs-comments-full {
  width: 100%;
}

.admin-bugs-comments-full .admin-bugs-item {
  position: relative;
  padding-left: 40px;
}

.admin-bugs-comments-full .admin-bugs-item::before {
  content: none;
}

.admin-bugs-comment-leading-icon {
  position: absolute;
  left: 10px;
  top: 9px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(145, 177, 227, 0.42);
  background: rgba(26, 52, 87, 0.62);
  color: #d7e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.admin-bugs-comment-head {
  align-items: center;
}

.admin-bugs-comment-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-bugs-comment-icon-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-bugs-comment-head-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-bugs-comment-author {
  font-size: 13px;
  color: #e8f2ff;
  font-weight: 700;
}

.admin-bugs-comment-date {
  font-size: 12px;
  color: #9ab6df;
  font-weight: 600;
}

.admin-bugs-comment-meta {
  font-size: 12px;
  color: #8faad3;
}

.admin-bugs-comment-visibility-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-bugs-comment-visibility-btn.is-public {
  color: #75df9f;
  border-color: rgba(96, 203, 138, 0.45);
  background: rgba(25, 78, 48, 0.22);
}

.admin-bugs-comment-visibility-btn.is-public:hover {
  color: #9ff0bf;
  border-color: rgba(121, 226, 165, 0.62);
  background: rgba(31, 94, 58, 0.32);
}

.admin-bugs-comment-visibility-btn.is-private {
  color: #ff9aa1;
  border-color: rgba(230, 99, 114, 0.45);
  background: rgba(108, 28, 37, 0.24);
}

.admin-bugs-comment-visibility-btn.is-private:hover {
  color: #ffbcc1;
  border-color: rgba(244, 131, 145, 0.62);
  background: rgba(126, 34, 45, 0.34);
}

.admin-bugs-comment-delete-btn {
  color: #ffadb4;
}

.admin-bugs-comment-delete-btn:hover {
  color: #ffd6da;
}

.admin-bugs-comment-attachments {
  margin-top: 8px;
}

.admin-bugs-attachments-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-bugs-attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(127, 167, 230, 0.32);
  background: rgba(14, 26, 43, 0.58);
  color: #d6e8ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.admin-bugs-attachment-link:hover {
  border-color: rgba(146, 184, 242, 0.5);
  background: rgba(25, 43, 69, 0.72);
  color: #eaf4ff;
}

.admin-bugs-attachment-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-field-note {
  margin-top: 6px;
  display: block;
  font-size: 12px;
  color: #98b5de;
}

.admin-file-input-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.admin-file-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px dashed rgba(126, 165, 229, 0.35);
  border-radius: 12px;
  background: rgba(10, 17, 29, 0.55);
}

.admin-file-picker-selected {
  font-size: 12px;
  color: #b1caeb;
  overflow-wrap: anywhere;
}

.admin-file-picker-list {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.admin-file-chip {
  border: 1px solid rgba(126, 165, 229, 0.34);
  border-radius: 10px;
  background: rgba(10, 18, 31, 0.64);
  padding: 8px;
  display: inline-grid;
  width: min(240px, 100%);
  flex: 0 1 min(240px, 100%);
  gap: 7px;
}

.admin-file-chip-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-file-chip-name {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #daebff;
}

.admin-file-chip-remove {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  border: 1px solid rgba(232, 120, 135, 0.5);
  background: rgba(98, 28, 39, 0.48);
  color: #ffdbe0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
}

.admin-file-chip-remove:hover {
  border-color: rgba(247, 145, 158, 0.65);
  background: rgba(121, 37, 50, 0.62);
}

.admin-file-chip-preview {
  width: min(150px, 100%);
  max-width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(127, 167, 230, 0.35);
  background: rgba(9, 15, 26, 0.72);
  display: block;
  justify-self: start;
}

.admin-file-chip-preview-video {
  object-fit: cover;
}

.admin-file-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(127, 167, 230, 0.35);
  background: rgba(20, 36, 59, 0.64);
  color: #cfe3ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.admin-file-chip-meta {
  margin: 0;
  font-size: 11px;
  color: #9fbee8;
  overflow-wrap: anywhere;
}

.admin-file-chip-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.admin-file-chip-progress-track {
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(127, 167, 230, 0.46);
  background: rgba(14, 25, 40, 0.68);
  overflow: hidden;
}

.admin-file-chip-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #57bcff, #4b83ff);
  transition: width 0.2s ease;
}

.admin-file-chip-progress-text {
  min-width: 40px;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  color: #cde2ff;
}

.admin-file-chip-progress.is-complete .admin-file-chip-progress-fill {
  background: linear-gradient(90deg, #4bd07a, #2fbf66);
}

.admin-file-chip-progress.is-complete .admin-file-chip-progress-text {
  color: #98ecb5;
}

.admin-file-queue-progress {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.admin-file-queue-progress[hidden],
.admin-upload-progress[hidden] {
  display: none !important;
}

.admin-file-queue-progress-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(127, 167, 230, 0.46);
  background: rgba(14, 25, 40, 0.68);
  overflow: hidden;
}

.admin-file-queue-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #71c3ff, #5fa9ff);
  transition: width 0.16s linear;
}

.admin-file-queue-progress-text {
  min-width: 40px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #cde2ff;
}

.admin-upload-progress {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.admin-upload-progress-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(127, 167, 230, 0.46);
  background: rgba(14, 25, 40, 0.68);
  overflow: hidden;
}

.admin-upload-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #57bcff, #4b83ff);
  transition: width 0.2s ease;
}

.admin-upload-progress-text {
  min-width: 40px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #cde2ff;
}

.admin-bugs-action-grid {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-bugs-resolution-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.admin-bugs-resolution-row .admin-field {
  flex: 1 1 auto;
}

.admin-bugs-resolution-row .btn {
  min-height: 44px;
  white-space: nowrap;
}

.admin-bugs-action-grid textarea {
  min-height: 100px;
}

.admin-bugs-comment-toggle {
  margin-top: 0;
}

.admin-bugs-comment-toggle-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #c6daf8;
}

.admin-bugs-detail-status {
  min-height: 18px;
  margin: 0;
  font-size: 12px;
  color: #93afd8;
}

.admin-bugs-detail-status.is-error {
  color: #ff969e;
}

.admin-bugs-detail-status.is-success {
  color: #8fdead;
}

.admin-tab-badge[data-admin-bugs-open-badge] {
  background: linear-gradient(135deg, #60b9ff, #3678ff);
}

.admin-bugs-issue-label {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 13px;
  color: #cfe3ff;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-view-panel[data-admin-view="bugs"] .admin-table-wrap {
  max-width: 100%;
}

.admin-bugs-delete-btn {
  border-color: rgba(241, 114, 130, 0.45) !important;
  color: #ffd6dc !important;
  background: rgba(86, 30, 42, 0.42) !important;
}

.admin-bugs-delete-btn:hover {
  border-color: rgba(255, 139, 152, 0.62) !important;
  background: rgba(110, 36, 52, 0.56) !important;
}

@media (max-width: 1160px) {
  .bugs-toolbar-sticky {
    top: 66px;
  }

  .bugs-filter-row {
    grid-template-columns: 1fr;
  }

  .admin-bugs-workspace {
    grid-template-columns: 1fr;
  }

  .admin-bugs-create-grid {
    grid-template-columns: 1fr;
  }

  .admin-bugs-user-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .admin-bugs-sections-grid {
    grid-template-columns: 1fr;
  }

  .admin-bugs-fixed-scroll-card {
    min-height: 200px;
    max-height: 200px;
  }
  .admin-bugs-people-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .bugs-header-actions {
    width: 100%;
    margin-left: 0;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(148, 178, 233, 0.24);
  }

  .bugs-header-actions .btn {
    flex: 1;
  }

  .bugs-header-actions .bugs-lang-switch {
    min-width: 52px;
    justify-content: center;
  }

  .bugs-actions-bar .btn {
    width: 100%;
  }

  .bugs-modal-backdrop {
    padding: 10px;
  }

  .bugs-modal,
  .bugs-modal-report {
    width: 100%;
    max-height: calc(100vh - 20px);
  }

  .bugs-modal-report .bug-wizard {
    padding: 12px;
    border-radius: 14px;
  }

  .admin-bugs-toolbar-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .admin-bugs-status-row,
  .admin-bugs-tags-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
  }

  .admin-bugs-status-field {
    min-width: 0;
  }

  .admin-bugs-user-grid {
    grid-template-columns: 1fr;
  }

  .admin-view-panel[data-admin-view="bugs"] .admin-license-head-actions {
    flex-wrap: wrap;
  }

  .admin-view-panel[data-admin-view="bugs"] .admin-license-head-actions .btn {
    flex: 1 1 180px;
    min-width: 0;
  }

  .admin-view-panel[data-admin-view="bugs"] .admin-card-body {
    padding-inline: 10px;
  }

  .admin-bugs-thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-bugs-thumb-btn img {
    height: 90px;
  }

  .admin-bugs-video-grid {
    grid-template-columns: 1fr;
  }

  .admin-bugs-action-row .btn {
    max-width: 100%;
    min-width: 0;
  }

  .admin-bugs-resolution-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .admin-view-panel[data-admin-view="bugs"] .admin-license-summary {
    grid-template-columns: 1fr;
  }

  .admin-view-panel[data-admin-view="bugs"] .admin-license-summary span {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-view-panel[data-admin-view="bugs"] .admin-dashboard-table {
    min-width: 700px;
  }

  .admin-bugs-action-row .btn {
    width: 100%;
  }

  .admin-bugs-action-row-main {
    justify-content: stretch;
  }

  .admin-bugs-image-lightbox-dialog {
    inset: 10px;
  }

  .admin-bugs-image-lightbox-img {
    max-width: 94vw;
    max-height: calc(100vh - 38px);
  }
}

/* BUGS PAGE INLINE STYLES MIGRATED FROM bugs.html + en/bugs.html */
  .bugs-item-status {
    padding: 4px 11px;
    font-size: 12px;
    line-height: 1;
    border-width: 1px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  td.bugs-empty {
    text-align: center !important;
}
  .bugs-item-status-new { color: #dff2ff; border-color: rgba(120, 201, 255, 0.78); background: rgba(36, 90, 146, 0.82); }
  .bugs-item-status-open { color: #e7f7ff; border-color: rgba(111, 210, 255, 0.8); background: rgba(28, 108, 156, 0.82); }
  .bugs-item-status-investigation { color: #f1e7ff; border-color: rgba(182, 139, 255, 0.78); background: rgba(93, 60, 152, 0.82); }
  .bugs-item-status-confirmed { color: #fff2df; border-color: rgba(255, 187, 99, 0.8); background: rgba(149, 88, 24, 0.84); }
  .bugs-item-status-in_progress { color: #fff4da; border-color: rgba(255, 205, 110, 0.8); background: rgba(150, 107, 30, 0.84); }
  .bugs-item-status-pending_resolution { color: #ffe7ef; border-color: rgba(255, 173, 209, 0.82); background: rgba(146, 44, 95, 0.84); }
  .bugs-item-status-needs_info { color: #ffe1e7; border-color: rgba(255, 137, 157, 0.84); background: rgba(146, 34, 55, 0.84); }
  .bugs-item-status-resolved { color: #e3ffee; border-color: rgba(123, 227, 166, 0.84); background: rgba(32, 116, 69, 0.84); }
  .bugs-item-status-implemented { color: #e3fff8; border-color: rgba(114, 232, 192, 0.84); background: rgba(26, 120, 94, 0.84); }
  .bugs-item-status-closed { color: #ecf3ff; border-color: rgba(182, 201, 232, 0.74); background: rgba(62, 83, 120, 0.84); }
  .bugs-table-wrap {
    margin-top: 8px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .bugs-list-table { min-width: 920px; width: 100%; }
  .bugs-list-table th {
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.01em;
  }
  .bugs-list-table th:nth-child(1),
  .bugs-list-table td:nth-child(1) { min-width: 180px; }
  .bugs-list-table th:nth-child(2),
  .bugs-list-table td:nth-child(2) { min-width: 320px; }
  .bugs-list-table th:nth-child(3),
  .bugs-list-table td:nth-child(3) { min-width: 120px; }
  .bugs-list-table th:nth-child(4),
  .bugs-list-table td:nth-child(4) { min-width: 170px; }
  .bugs-list-table th:nth-child(5),
  .bugs-list-table td:nth-child(5) { min-width: 170px; }
  .bugs-list-table th:nth-child(6),
  .bugs-list-table td:nth-child(6) { min-width: 95px; }
  .bugs-list-table tbody tr:hover { background: rgba(17, 34, 58, 0.55); }
  .bugs-list-table th:last-child,
  .bugs-list-table td:last-child {
    text-align: right;
    position: sticky;
    right: 0;
    background: rgba(10, 18, 34, 0.96);
    box-shadow: -10px 0 14px rgba(3, 8, 18, 0.45);
  }
  .bugs-list-table th:last-child {
    z-index: 3;
  }
  .bugs-list-table td:last-child {
    z-index: 2;
  }
  .bugs-list-table tbody tr:hover td:last-child {
    background: rgba(17, 34, 58, 0.94);
  }
  .bugs-list-table td { vertical-align: middle; }
  .bugs-summary-cell {
    line-height: 1.35;
  }
  .bugs-summary-title {
    font-size: 13px;
    font-weight: 700;
    color: #ebf4ff;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .bugs-summary-meta {
    margin-top: 3px;
    font-size: 11px;
    color: #9ab4da;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
.bugs-issue-pill {
    display: table;
    min-width: 37px;
    height: 15px;
    padding: 0px 7px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #eaf4ff;
    background: linear-gradient(135deg, #4b97f1, #2f6ee7);
    box-shadow: 0 4px 12px rgba(38, 95, 186, 0.35);
    margin-right: 3px;
    text-align: center;
}

  .bugs-issue-code {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 12px;
    color: #b9d3f7;
  }
  .bugs-issue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
  }
  .bugs-issue-link:hover .bugs-issue-code,
  .bugs-issue-link:focus-visible .bugs-issue-code {
    color: #e8f4ff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }
  .bugs-view-btn {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 12px;
  }
  .bugs-table-actions-cell { white-space: nowrap; width: 1%; }
  .bugs-detail-topbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
  }
  .bugs-detail-head-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .bugs-detail-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

.bugs-head-action-group {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(150, 183, 236, 0.26);
    padding: 8px 10px 8px 10px;
    border-radius: 8px;
}

.bugs-head-action-label {
  font-size: 12px;
  font-weight: 700;
  color: #dceaff;
  line-height: 1;
}

.bugs-head-action-plus {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 1px solid rgba(114, 170, 255, 0.45);
  background: rgba(28, 63, 112, 0.42);
  color: #eaf4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.bugs-head-action-plus:hover {
  border-color: rgba(130, 190, 255, 0.72);
  background: rgba(45, 89, 151, 0.62);
  transform: translateY(-1px);
}

.bugs-head-action-plus:active {
  transform: translateY(0);
}

.bugs-head-action-plus i {
  font-size: 9px;
}

.bugs-head-action-group.is-active .bugs-head-action-label {
  color: #f2f8ff;
}

.bugs-head-action-group.is-active .bugs-head-action-plus {
  border-color: rgba(144, 206, 255, 0.82);
  background: rgba(52, 105, 181, 0.72);
}

  .bugs-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #eaf4ff;
    background: rgba(74, 120, 188, 0.72);
    border: 1px solid rgba(122, 168, 234, 0.42);
    margin-left: 0;
    line-height: 1;
  }
  .bugs-summary-pill {
    border: 0;
    cursor: pointer;
    font: inherit;
    color: #cfe3ff;
    font-size: 14px;
  }
  .bugs-summary-pill.is-active {
    background: rgba(42, 83, 137, 0.8);
    box-shadow: inset 0 0 0 1px rgba(118, 178, 255, 0.45);
    color: #eaf4ff;
  }
  .bugs-detail-meta strong {
    color: #eaf4ff;
    font-weight: 800;
  }
  .bugs-list-card,
  .bugs-detail-card-wrap,
  .bugs-detail,
  .bugs-detail-card,
  .bugs-detail-head,
  .bugs-detail-head > div,
  .bugs-detail-head-right,
  .bugs-detail-head-actions,
  .bugs-detail-meta,
  .bugs-detail-meta span,
  .bugs-detail-description,
  .bugs-detail-section,
  .bugs-detail-subcard,
  .bugs-comments-block,
  .bugs-comments-list,
  .bugs-comment,
  .bugs-comment p,
  .bugs-timeline-block,
  .bugs-timeline-list,
  .bugs-timeline-item,
  .bugs-timeline-item p,
  .bugs-tech-grid div {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .bugs-comment-form .btn {
    width: auto;
    justify-self: end;
    min-width: 160px;
  }
.bugs-comment-icon-btn {
    margin-left: auto;
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  font-size: 14px;
}

.bugs-comment-icon-btn i {
  font-size: 13px;
}
  .bugs-comments-separator {
    border: 0;
    border-top: 1px solid rgba(137, 171, 231, 0.22);
    margin: 6px 0 4px;
  }
.bugs-comments-closed-note {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgb(127 45 45 / 40%);
    background: rgb(136 52 52);
    color: white;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    max-width: 700px;
    justify-self: center;
}
.bugs-comments-auth-required {
    margin: 8px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px dashed #e1c091;
    background: rgb(255 200 112 / 47%);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    justify-self: center;
}
  .bugs-comment-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(136, 172, 232, 0.32);
    background: rgba(10, 18, 34, 0.66);
    color: #e7f2ff;
    padding: 10px 12px;
    resize: vertical;
    min-height: 112px;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
  }
  .bugs-edit-comment-form {
    display: grid;
    gap: 10px;
    margin-top: 8px;
  }
  .bugs-edit-comment-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(136, 172, 232, 0.32);
    background: rgba(10, 18, 34, 0.66);
    color: #e7f2ff;
    padding: 10px 12px;
    resize: vertical;
    min-height: 130px;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
  }
  .bugs-edit-comment-form textarea:focus {
    border-color: rgba(106, 181, 255, 0.7);
    box-shadow: 0 0 0 2px rgba(62, 127, 206, 0.22);
  }
  .bugs-edit-comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }
  .bugs-comment-form textarea::placeholder { color: #8eaad2; }
  .bugs-comment-form textarea:focus {
    border-color: rgba(106, 181, 255, 0.7);
    box-shadow: 0 0 0 2px rgba(62, 127, 206, 0.22);
  }
  .bugs-comment-files-label {
    margin-top: 2px;
    font-size: 12px;
    color: #cfe2ff;
    font-weight: 700;
  }
  .bugs-comment-files-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    border: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
  .bugs-comment-files-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px dashed rgba(136, 172, 232, 0.34);
    border-radius: 12px;
    background: rgba(10, 18, 34, 0.52);
  }
  .bugs-comment-files-trigger {
    width: fit-content;
    border: 1px solid rgba(115, 169, 255, 0.35);
    background: rgba(30, 62, 108, 0.35);
    color: #d9e9ff;
    border-radius: 999px;
    height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
  }
  .bugs-comment-files-trigger:hover {
    border-color: rgba(115, 169, 255, 0.65);
    background: rgba(42, 84, 146, 0.45);
  }
  .bugs-comment-files-trigger:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  .bugs-comment-files-trigger-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(90, 169, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    line-height: 1;
  }
  .bugs-comment-files-selected {
    margin: 0;
    font-size: 12px;
    color: #b8cff0;
  }
  .bugs-comment-files-help {
    margin: 0;
    font-size: 12px;
    color: #9ab5dd;
  }
  .bugs-comment-files-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  .bugs-file-chip {
    border: 1px solid rgba(125, 164, 224, 0.3);
    border-radius: 10px;
    background: rgba(9, 16, 28, 0.66);
    padding: 8px;
    display: inline-grid;
    width: min(190px, 100%);
    flex: 0 1 min(190px, 100%);
    gap: 7px;
  }
  .bugs-file-chip-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .bugs-file-chip-name {
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #d8e8ff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bugs-file-chip-remove {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 999px;
    border: 1px solid rgba(228, 122, 136, 0.45);
    background: rgba(96, 25, 36, 0.45);
    color: #ffd9de;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
  }
  .bugs-file-chip-remove:hover {
    border-color: rgba(245, 143, 156, 0.62);
    background: rgba(119, 34, 47, 0.58);
  }
  .bugs-file-chip-preview {
    width: min(150px, 100%);
    max-width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(134, 168, 224, 0.32);
    background: rgba(8, 14, 25, 0.74);
    display: block;
    justify-self: center;
  }
  .bugs-file-chip-preview-video {
    object-fit: cover;
  }
  .bugs-file-chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(130, 169, 228, 0.3);
    background: rgba(22, 38, 62, 0.6);
    color: #cfe4ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }
  .bugs-file-chip-meta {
    margin: 0;
    font-size: 11px;
    color: #99b8e3;
    overflow-wrap: anywhere;
  }
  .bugs-file-chip-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }
  .bugs-file-chip-progress-track {
    height: 6px;
    border-radius: 999px;
    border: 1px solid rgba(122, 163, 226, 0.42);
    background: rgba(16, 29, 48, 0.7);
    overflow: hidden;
  }
  .bugs-file-chip-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #58b9ff, #3f7bff);
    transition: width 0.2s ease;
  }
  .bugs-file-chip-progress-text {
    min-width: 40px;
    text-align: right;
    font-size: 11px;
    font-weight: 700;
    color: #cae1ff;
  }
  .bugs-file-chip-progress.is-complete .bugs-file-chip-progress-fill {
    background: linear-gradient(90deg, #4bd07a, #2fbf66);
  }
  .bugs-file-chip-progress.is-complete .bugs-file-chip-progress-text {
    color: #98ecb5;
  }
  .bugs-queue-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }
  .bugs-queue-progress[hidden],
  .bugs-upload-progress[hidden] {
    display: none !important;
  }
  .bugs-queue-progress-track {
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(124, 164, 226, 0.42);
    background: rgba(14, 27, 44, 0.66);
    overflow: hidden;
  }
  .bugs-queue-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6bc4ff, #58a7ff);
    transition: width 0.16s linear;
  }
  .bugs-queue-progress-text {
    min-width: 40px;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: #cbe1ff;
  }
  .bugs-comment-attachments {
    margin-top: 8px;
  }
  .bugs-detail-section {
    border: 1px solid rgba(137, 171, 231, 0.18);
    border-radius: 12px;
    background: rgba(13, 24, 41, 0.46);
    padding: 12px;
  }
  .bugs-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 15px;
    color: #eaf4ff;
  }
.bugs-section-icon { font-size: 14px; line-height: 1; color: #9dc4ff; }

.bugs-section-icon i {
  font-size: 14px;
}
  .bugs-detail-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .bugs-detail-subcard {
    border: 1px solid rgba(137, 171, 231, 0.16);
    border-radius: 12px;
    background: rgba(13, 24, 41, 0.38);
    padding: 12px;
  }
  .bugs-detail-subcard h4 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 13px;
    color: #dcecff;
  }
  .bugs-subcard-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9dc4ff;
    font-size: 12px;
    line-height: 1;
  }
  .bugs-detail-subcard p {
    margin: 0;
    color: #cfe2ff;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.5;
    font-size: 13px;
  }
  .bugs-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
    color: #cfe2ff;
    font-size: 13px;
  }
  .bugs-tech-grid div {
    border: 1px solid rgba(137, 171, 231, 0.16);
    border-radius: 10px;
    background: rgba(17, 31, 53, 0.5);
    padding: 8px 10px;
  }
  .bugs-fixed-version-banner {
    margin-top: 2px;
    border-radius: 12px;
    background: rgba(29, 100, 65, 0.2);
    color: #dfffea;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.45;
  }
  .bugs-fixed-version-icon {
    color: #9ef2bd;
    font-size: 14px;
    line-height: 1;
  }
  .bugs-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
  }
  .bugs-thumb-btn {
    padding: 0;
    border: 1px solid rgba(137, 171, 231, 0.3);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(10, 18, 34, 0.7);
    cursor: pointer;
  }
  .bugs-thumb-btn img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    display: block;
  }
  .bugs-image-lightbox[hidden] { display: none !important; }
  .bugs-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 220;
  }
  .bugs-image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 9, 18, 0.78);
    backdrop-filter: blur(4px);
  }
  .bugs-image-lightbox-dialog {
    position: absolute;
    inset: 20px;
    display: grid;
    place-items: center;
  }
  .bugs-image-lightbox-img {
    max-width: min(1200px, 96vw);
    max-height: calc(100vh - 56px);
    border-radius: 12px;
    border: 1px solid rgba(137, 171, 231, 0.35);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    background: #0a1222;
  }
  .bugs-image-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(137, 171, 231, 0.4);
    background: rgba(12, 22, 38, 0.82);
    color: #eaf4ff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
  }
  .bugs-people-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
  }
  .bugs-people-box {
    border: 1px solid rgba(137, 171, 231, 0.2);
    border-radius: 12px;
    background: rgba(13, 24, 41, 0.52);
    padding: 10px 12px;
  }
  .bugs-people-box h3 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #e9f3ff;
  }
  .bugs-people-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
  }
  .bugs-people-list li {
    border: 1px solid rgba(137, 171, 231, 0.2);
    border-radius: 8px;
    background: rgba(12, 22, 38, 0.62);
    padding: 8px 10px;
    display: grid;
    gap: 2px;
  }
  .bugs-people-list strong {
    font-size: 13px;
    color: #e8f2ff;
  }
  .bugs-people-list time {
    font-size: 11px;
    color: #93afd8;
  }
  .bugs-people-btn {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 12px;
  }
  .bugs-modal-auth {
    width: min(520px, 100%);
  }
  .bugs-auth-submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  .bugs-auth-submit-btn {
    min-width: 260px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .bugs-auth-submit-btn .bugs-login-icon {
    width: 14px;
    height: 14px;
  }
  .bugs-auth-hidden {
    display: none !important;
  }
  .bugs-auth-sent {
    margin-top: 6px;
    padding: 14px 14px 12px;
    border-radius: 12px;
    border: 1px solid rgba(112, 221, 156, 0.5);
    background: rgba(24, 77, 49, 0.22);
    display: grid;
    gap: 8px;
    text-align: center;
  }
  .bugs-auth-sent-icon {
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(126, 232, 168, 0.56);
    background: rgba(39, 116, 72, 0.35);
    color: #b9ffd2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
  }
  .bugs-auth-sent-icon i {
    font-size: 18px;
  }
  .bugs-auth-sent h3 {
    margin: 0;
    font-size: 18px;
    color: #e9fff2;
  }
  .bugs-auth-sent p {
    margin: 0;
    color: #c9f4d8;
    font-size: 13px;
    line-height: 1.45;
  }
  .bugs-auth-sent-actions {
    display: flex;
    justify-content: center;
    margin-top: 2px;
  }
  .bugs-auth-sent-actions .btn {
    min-width: 160px;
  }
  .bugs-toast-container {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 260;
    display: grid;
    gap: 11px;
    width: min(460px, calc(100vw - 28px));
  }
  .bugs-toast {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid rgba(133, 167, 227, 0.3);
    background: rgba(10, 17, 30, 0.94);
    color: #e7f2ff;
    padding: 13px 16px;
    box-shadow: 0 16px 36px rgba(2, 7, 16, 0.4);
    animation: bugs-toast-in .2s ease forwards;
  }
  .bugs-toast.is-success {
    color: #124225;
    border-color: rgba(114, 214, 156, 0.72);
    background: rgba(225, 249, 236, 0.96);
  }
  .bugs-toast.is-success .bugs-toast-icon { color: #1e9f54; }
  .bugs-toast.is-error {
    color: #5a1515;
    border-color: rgba(255, 128, 128, 0.75);
    background: rgba(255, 233, 233, 0.96);
  }
  .bugs-toast.is-error .bugs-toast-icon { color: #de3c3c; }
  .bugs-toast.is-info {
    color: #173454;
    border-color: rgba(121, 198, 255, 0.76);
    background: rgba(225, 243, 255, 0.96);
  }
  .bugs-toast.is-info .bugs-toast-icon { color: #2d83c9; }
  .bugs-toast-icon {
    font-size: 17px;
    line-height: 1.2;
    margin-top: 1px;
  }
  .bugs-toast-icon i {
    font-size: 17px;
  }
  .bugs-toast-message {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
  }
  .bugs-toast.is-leaving {
    animation: bugs-toast-out .18s ease forwards;
  }
  @keyframes bugs-toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes bugs-toast-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(8px); }
  }
  @media (max-width: 860px) {
    .bugs-detail-head {
      flex-direction: column;
      align-items: stretch;
    }
    .bugs-detail-topbar .btn {
      width: 100%;
    }
    .bugs-detail-head-right {
      width: 100%;
      margin-left: 0;
      justify-content: center;
    }
    .bugs-detail-head-actions {
      width: 100%;
      justify-content: center;
    }
    .bugs-comment-form .btn {
      justify-self: stretch;
      width: 100%;
      min-width: 0;
    }
    .bugs-detail-meta {
      display: grid;
      grid-template-columns: 1fr;
      gap: 6px;
      text-align: left;
    }
    .bugs-detail-section-grid { grid-template-columns: 1fr; }
    .bugs-tech-grid { grid-template-columns: 1fr; }
    .bugs-people-lists { grid-template-columns: 1fr; }
    .bugs-table-wrap {
      margin-left: -4px;
      margin-right: -4px;
      overflow-x: auto;
      overflow-y: hidden;
    }
    .bugs-list-table {
      min-width: 860px;
      width: max-content;
    }
    .bugs-list-table th,
    .bugs-list-table td {
      white-space: nowrap;
      word-break: normal;
      overflow-wrap: normal;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }
    .bugs-summary-cell {
      min-width: 280px;
      white-space: normal;
    }
    .bugs-summary-title,
    .bugs-summary-meta,
    .bugs-issue-code {
      overflow-wrap: break-word;
      word-break: normal;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }
    .bugs-summary-title {
      font-size: 12px;
      line-height: 1.35;
    }
    .bugs-summary-meta {
      font-size: 11px;
      line-height: 1.35;
    }
    .bugs-list-table th:last-child,
    .bugs-list-table td:last-child {
      position: static;
      right: auto;
      box-shadow: none;
      background: transparent;
      text-align: left;
    }
    .bugs-table-actions-cell {
      min-width: 108px;
      white-space: nowrap;
    }
    .bugs-toast-container {
      left: 10px;
      right: 10px;
      bottom: 10px;
      width: auto;
    }
  }
  @media (max-width: 760px) {
    .bugs-filters-mobile {
      display: grid;
      gap: 8px;
    }
    .bugs-filters-mobile-toggle {
      display: inline-flex;
      width: 100%;
      min-height: 36px;
      border-radius: 11px;
      border: 1px solid rgba(136, 172, 232, 0.34);
      background: rgba(13, 27, 48, 0.72);
      color: #dcecff;
      font-size: 13px;
      font-weight: 700;
      align-items: center;
      justify-content: space-between;
      padding: 0 12px;
      cursor: pointer;
    }
    .bugs-filters-mobile.is-collapsed .bugs-filters-mobile-body {
      display: none;
    }
    .bugs-filters-mobile.is-open .bugs-filters-mobile-chevron {
      transform: rotate(180deg);
    }
    .bugs-filter-row {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    .bugs-filter-row > .btn[data-bugs-refresh] {
      width: 100%;
    }
    .bugs-detail-head-actions {
      width: 100%;
      justify-content: space-between;
      gap: 8px;
      flex-wrap: nowrap;
    }
    .bugs-head-action-group {
      flex: 1;
      justify-content: center;
      min-width: 0;
      gap: 10px;
    }
    .bugs-head-action-label {
      font-size: 11px;
    }
  }
  @media (max-width: 560px) {
  .bugs-thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bugs-thumb-btn img {
    height: 84px;
  }
  .bugs-video-grid {
    grid-template-columns: 1fr;
  }
    .bugs-image-lightbox-dialog {
      inset: 10px;
    }
    .bugs-image-lightbox-img {
      max-width: 94vw;
      max-height: calc(100vh - 38px);
    }
  }

/* END BUGS PAGE INLINE STYLES */
