:root {
  color-scheme: dark;
  --bg: #03070b;
  --bg-2: #061018;
  --panel: rgba(8, 20, 30, 0.78);
  --panel-strong: rgba(10, 25, 38, 0.94);
  --line: rgba(123, 171, 203, 0.2);
  --line-strong: rgba(126, 188, 232, 0.34);
  --text: #f7fbff;
  --muted: #b4c2cc;
  --soft: #778b9a;
  --cyan: #0c94ff;
  --cyan-2: #00c2ff;
  --orange: #ff8a13;
  --green: #14d884;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Inter ExtraBold", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-body);
}

@font-face {
  font-family: "Inter";
  src: local("Inter Regular"), local("Inter");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter ExtraBold";
  src: local("Inter ExtraBold"), local("Inter");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 67% 10%, rgba(12, 148, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 100% 52%, rgba(255, 138, 19, 0.07), transparent 23rem),
    linear-gradient(180deg, #02050a 0%, var(--bg) 38%, #050c12 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
}

body * {
  font-family: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 190, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 190, 238, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 68%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 54px);
  border-bottom: 1px solid rgba(132, 174, 204, 0.12);
  background: rgba(2, 6, 10, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(12, 148, 255, 0.2));
}

.brand-logo-header {
  height: 48px;
}

.brand-logo-footer {
  height: 42px;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 650;
}

.nav-links a,
.site-footer nav a {
  color: rgba(247, 251, 255, 0.88);
}

.nav-links a:hover,
.site-footer nav a:hover,
.section-head a:hover,
.tool-row a:hover,
.site-card-body a:hover {
  color: var(--cyan-2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

main {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  align-items: center;
  min-height: 620px;
  padding: 34px 0 68px;
  gap: 26px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(44px, 5.05vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--cyan);
}

.hero p {
  max-width: 545px;
  margin: 26px 0 0;
  color: #d9e2e8;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.58;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 34px;
  border: 1.5px solid rgba(95, 202, 255, 0.86);
  border-radius: 16px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 187, 255, 0.98) 0%, rgba(0, 119, 255, 0.98) 52%, rgba(18, 71, 235, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(164, 226, 255, 0.22) inset,
    0 0 24px rgba(0, 178, 255, 0.28),
    0 18px 42px rgba(0, 102, 255, 0.28);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
  border-color: rgba(140, 225, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(206, 244, 255, 0.34) inset,
    0 0 32px rgba(0, 195, 255, 0.42),
    0 22px 54px rgba(0, 102, 255, 0.36);
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.btn span {
  margin-left: 13px;
  font-size: 1.2em;
  line-height: 1;
}

.btn-primary {
  background:
    linear-gradient(135deg, rgba(0, 187, 255, 0.98) 0%, rgba(0, 119, 255, 0.98) 52%, rgba(18, 71, 235, 0.98) 100%);
}

.btn-secondary {
  border-color: var(--orange);
  background: rgba(255, 138, 19, 0.035);
  box-shadow:
    0 0 0 1px rgba(255, 196, 104, 0.12) inset,
    0 0 20px rgba(255, 138, 19, 0.16),
    0 16px 36px rgba(255, 138, 19, 0.12);
}

.btn-secondary:hover {
  border-color: #ffb14a;
  background: rgba(255, 138, 19, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 219, 155, 0.2) inset,
    0 0 28px rgba(255, 138, 19, 0.28),
    0 18px 44px rgba(255, 138, 19, 0.18);
}

.btn-whatsapp {
  border-color: var(--green);
  background: rgba(20, 216, 132, 0.035);
  box-shadow:
    0 0 0 1px rgba(151, 255, 203, 0.12) inset,
    0 0 20px rgba(20, 216, 132, 0.16),
    0 16px 36px rgba(20, 216, 132, 0.12);
}

.btn-whatsapp:hover {
  border-color: #5cf0aa;
  background: rgba(20, 216, 132, 0.16);
  box-shadow:
    0 0 0 1px rgba(193, 255, 225, 0.2) inset,
    0 0 28px rgba(20, 216, 132, 0.28),
    0 18px 44px rgba(20, 216, 132, 0.18);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  isolation: isolate;
  min-height: 520px;
}

.hero-visual::before,
.hero-visual::after {
  content: none;
}

.hero-image {
  position: relative;
  z-index: 3;
  display: block;
  width: min(760px, 112%);
  max-width: none;
  height: auto;
  margin-right: -18px;
  object-fit: contain;
  filter: drop-shadow(0 32px 74px rgba(0, 0, 0, 0.45)) saturate(1.04);
}

.hero-star {
  position: absolute;
  z-index: 4;
  width: var(--hero-star-size, 5px);
  height: var(--hero-star-size, 5px);
  border-radius: 999px;
  background: var(--hero-star-color, rgba(146, 209, 255, 0.92));
  box-shadow:
    0 0 10px var(--hero-star-glow, rgba(12, 148, 255, 0.46)),
    0 0 22px var(--hero-star-glow, rgba(12, 148, 255, 0.24));
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-star::after {
  content: "";
  position: absolute;
  inset: -45%;
  border-radius: inherit;
  background: inherit;
  opacity: 0.2;
  filter: blur(3px);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: translateX(-50%) rotate(45deg);
  animation: scroll-cue-pulse 1.8s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes scroll-cue-pulse {
  0%,
  100% {
    opacity: 0.64;
    transform: translate(-50%, 0) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 8px) rotate(45deg);
  }
}

.section {
  scroll-margin-top: 96px;
  margin-bottom: 0;
  padding: clamp(28px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(10, 23, 34, 0.9), rgba(4, 12, 18, 0.8)),
    radial-gradient(circle at 100% 0%, rgba(12, 148, 255, 0.12), transparent 35rem);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.section + .section {
  margin-top: 26px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head a,
.tool-row a,
.site-card-body a {
  color: var(--cyan);
  font-weight: 700;
}

.tool-row a.tool-link-muted {
  color: #7d8a94;
}

.tool-row a.tool-link-muted:hover {
  color: #a6b0b8;
}

.tool-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tools-section {
  margin-top: 26px;
}

.tools-page {
  padding: 48px 0 10px;
}

.tools-page .tools-section {
  margin-top: 26px;
}

.tool-table {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(3, 10, 16, 0.42);
}

.tool-row {
  display: grid;
  grid-template-columns: 100px minmax(150px, 0.8fr) minmax(190px, 1.1fr) minmax(190px, 1.1fr) minmax(110px, 0.6fr);
  align-items: center;
  gap: 22px;
  min-height: 84px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(123, 171, 203, 0.14);
}

.tool-row:last-child {
  border-bottom: 0;
}

.row-icon {
  width: 44px;
  height: 44px;
  border-color: rgba(124, 189, 235, 0.44);
}

.tool-thumb {
  display: block;
  width: 100%;
  max-width: 100px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  filter:
    drop-shadow(0 0 8px rgba(0, 194, 255, 0.1))
    drop-shadow(0 8px 16px rgba(12, 148, 255, 0.08))
    drop-shadow(0 7px 14px rgba(0, 0, 0, 0.28));
  transition: transform 180ms ease, filter 180ms ease;
}

.tool-thumb-link {
  display: block;
  width: 100%;
  max-width: 100px;
}

.tool-thumb:hover {
  transform: translateY(-3px);
  filter:
    drop-shadow(0 0 11px rgba(0, 194, 255, 0.16))
    drop-shadow(0 9px 18px rgba(12, 148, 255, 0.12))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.tool-thumb.tool-thumb-muted,
.tool-thumb.tool-thumb-muted:hover {
  filter:
    grayscale(1)
    saturate(0)
    brightness(0.72)
    drop-shadow(0 0 8px rgba(0, 194, 255, 0.08))
    drop-shadow(0 8px 16px rgba(12, 148, 255, 0.06))
    drop-shadow(0 7px 14px rgba(0, 0, 0, 0.28));
  transition:
    transform 0.75s ease,
    filter 0.9s ease;
}

.tool-thumb-link:hover .tool-thumb.tool-thumb-muted {
  filter:
    grayscale(0)
    saturate(1)
    brightness(1)
    drop-shadow(0 0 11px rgba(0, 194, 255, 0.16))
    drop-shadow(0 9px 18px rgba(12, 148, 255, 0.12))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.tool-row h3,
.site-card h3,
.step h3,
.dach-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.tool-row p,
.site-card p,
.step p,
.dach-grid p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.48;
}

.website-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.site-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 19, 29, 0.94), rgba(5, 13, 21, 0.86));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-card:hover {
  border-color: rgba(95, 202, 255, 0.54);
  box-shadow:
    0 0 22px rgba(0, 194, 255, 0.12),
    0 22px 44px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.site-preview {
  position: relative;
  overflow: hidden;
  height: 260px;
  min-height: 260px;
  padding: 18px 22px;
  background-size: cover;
  background-position: center;
}

.site-preview > * {
  position: relative;
  z-index: 2;
}

.site-preview nav {
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  text-align: right;
}

.site-preview h3 {
  max-width: 240px;
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.13;
}

.site-preview p {
  max-width: 240px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.site-preview button {
  min-height: 31px;
  margin-top: 16px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  color: #0b1118;
  background: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
}

.craft .site-preview {
  background-image:
    linear-gradient(90deg, rgba(2, 7, 11, 0.88), rgba(2, 7, 11, 0.18)),
    linear-gradient(180deg, rgba(2, 7, 11, 0.04), rgba(2, 7, 11, 0.28)),
    var(--site-preview-image, url("assets/preview-handwerk.jpg"));
  background-position: center;
}

.craft .site-preview nav {
  margin-bottom: 18px;
}

.yoga .site-preview {
  background-image:
    linear-gradient(90deg, rgba(246, 241, 226, 0.96), rgba(246, 241, 226, 0.5) 46%, rgba(246, 241, 226, 0.08)),
    var(--site-preview-image, url("assets/preview-yoga.jpg"));
  background-position: center;
  color: #071016;
}

.yoga .site-preview h3,
.yoga .site-preview p,
.yoga .site-preview nav {
  color: #071016;
}

.yoga .site-preview button {
  color: white;
  background: #111820;
}

.garden .site-preview {
  background-image:
    linear-gradient(90deg, rgba(2, 9, 7, 0.9), rgba(2, 9, 7, 0.24)),
    linear-gradient(180deg, rgba(2, 9, 7, 0.08), rgba(2, 9, 7, 0.18)),
    var(--site-preview-image, url("assets/preview-garten.jpg"));
  background-position: center;
}


.garden .site-preview button {
  color: white;
  background: #2d6640;
}

.site-card-body {
  padding: 22px;
}

.site-card-body p {
  margin-top: 8px;
  min-height: 44px;
}

.site-card-body a {
  display: inline-flex;
  margin-top: 18px;
}

.process-section {
  padding-bottom: 42px;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  margin-top: 32px;
}

.process-track::before {
  content: none;
}

.step {
  position: relative;
  z-index: 1;
  padding-left: 42px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 134px;
  top: 49px;
  width: calc(100% - 50px);
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(154, 190, 216, 0.5) 0 2px,
    transparent 2px 6px
  );
  pointer-events: none;
}

.step:not(:last-child)::before {
  content: none;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border: 1px solid rgba(12, 148, 255, 0.72);
  border-color: var(--cyan);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 148, 255, 0.14), rgba(12, 148, 255, 0.04));
  box-shadow: 0 0 28px rgba(12, 148, 255, 0.14);
}

.step-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(12, 148, 255, 0.32));
}

.step-number {
  position: absolute;
  top: -2px;
  left: 116px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  font-size: 16px;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 8px;
}

.dach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
}

.dach-grid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.dach-grid article:first-child {
  padding-left: 0;
}

.dach-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.trust-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
}

.trust-icon img {
  display: block;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(12, 148, 255, 0.32));
}

.dach-grid h3 {
  grid-column: 2;
  margin-bottom: 5px;
  font-size: 15.5px;
}

.dach-grid p {
  grid-column: 2;
  font-size: 13px;
}

.final-cta {
  display: grid;
  grid-template-columns: 140px 1fr minmax(250px, 330px);
  align-items: center;
  gap: 34px;
}

.cta-orbit {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 1px solid rgba(12, 148, 255, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 148, 255, 0.22), rgba(12, 148, 255, 0.02) 68%);
}

.cta-orbit img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(12, 148, 255, 0.42));
}

.final-cta h2 {
  max-width: 620px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.final-cta p {
  max-width: 560px;
  margin-top: 10px;
}

.cta-actions {
  flex-direction: column;
  margin-top: 0;
}

.cta-actions .btn {
  width: 100%;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  width: min(1240px, calc(100% - 48px));
  min-height: 114px;
  margin: 0 auto;
  color: rgba(247, 251, 255, 0.78);
}

.site-footer p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  color: rgba(247, 251, 255, 0.88);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.cookie-settings-link:hover {
  color: var(--cyan-2);
}

.cookie-consent {
  position: fixed;
  inset: auto 24px 24px;
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  width: min(980px, 100%);
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(4, 12, 18, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.cookie-panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.cookie-panel p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.cookie-options {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 2px;
}

.cookie-options[hidden] {
  display: none;
}

.cookie-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.cookie-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-actions .btn {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  white-space: nowrap;
}

.product-popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-popup[hidden] {
  display: none;
}

.product-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 4, 8, 0.72);
  backdrop-filter: blur(10px);
}

.product-popup-panel {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(520px, 100%);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(126, 188, 232, 0.4);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(12, 148, 255, 0.18), transparent 52%),
    linear-gradient(145deg, rgba(10, 23, 34, 0.98), rgba(4, 12, 18, 0.96));
  box-shadow:
    0 0 34px rgba(0, 194, 255, 0.18),
    0 26px 80px rgba(0, 0, 0, 0.58);
  text-align: center;
}

.product-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid rgba(126, 188, 232, 0.32);
  border-radius: 50%;
  color: var(--text);
  background: rgba(3, 10, 16, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  line-height: 0.9;
}

.product-popup-close:hover {
  border-color: rgba(95, 202, 255, 0.86);
}

.product-popup-image {
  display: block;
  width: min(100%, 380px);
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  filter:
    drop-shadow(0 0 18px rgba(0, 194, 255, 0.2))
    drop-shadow(0 16px 32px rgba(12, 148, 255, 0.16))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.32));
}

.product-popup h2 {
  margin: 22px 0 0;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
}

.product-popup-text {
  max-width: 390px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.product-popup-confirm {
  width: min(100%, 280px);
  margin-top: 24px;
}

body.product-popup-open {
  overflow: hidden;
}

.admin-page {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.admin-shell {
  width: 100%;
  height: 100vh;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.admin-login-page .admin-shell {
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-card {
  width: 100%;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(12, 148, 255, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(10, 23, 34, 0.94), rgba(4, 12, 18, 0.9));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.admin-login-card {
  width: min(480px, 100%);
  margin: auto;
}

.admin-eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-card h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.05;
}

.admin-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.admin-alert {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 138, 19, 0.44);
  border-radius: 6px;
  color: #ffd7ae;
  background: rgba(255, 138, 19, 0.08);
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.admin-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(126, 188, 232, 0.28);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.72);
  color: var(--text);
  font: inherit;
  outline: none;
}

.admin-form input:focus {
  border-color: var(--cyan);
  background: rgba(4, 14, 22, 0.9);
  box-shadow: 0 0 0 3px rgba(12, 148, 255, 0.16);
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-main-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: min(760px, 58vw);
}

.admin-main-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 7px;
  border: 1px solid rgba(126, 188, 232, 0.2);
  border-radius: 14px;
  background: rgba(3, 10, 16, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.admin-main-tab {
  min-width: 128px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: center;
}

.admin-main-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #22b8ff, #1262f3);
  box-shadow: 0 10px 26px rgba(12, 148, 255, 0.28);
}

.admin-main-tab:hover:not(.active) {
  color: var(--text);
  background: rgba(126, 188, 232, 0.08);
}


.admin-logout {
  min-height: 60px;
  height: 60px;
  padding: 0 34px;
  align-items: center;
  line-height: 1;
}
.admin-area-panel {
  height: 100%;
  min-height: 0;
}

.admin-area-panel[hidden] {
  display: none !important;
}

.admin-placeholder-panel {
  display: grid;
  align-items: start;
  margin-top: 26px;
  padding: 26px;
  border: 1px solid rgba(126, 188, 232, 0.24);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.42);
}

.admin-placeholder-panel h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.admin-placeholder-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-dashboard-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-title-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-user {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.admin-workspace {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  margin-top: 26px;
  height: 100%;
  min-height: 0;
}

.admin-tabs {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(126, 188, 232, 0.24);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.36);
}

.admin-tab {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(126, 188, 232, 0.22);
  border-radius: 6px;
  color: var(--text);
  background: rgba(6, 16, 24, 0.68);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.admin-tab.active,
.admin-tab:hover {
  border-color: rgba(95, 202, 255, 0.54);
  background:
    radial-gradient(circle at 0 50%, rgba(12, 148, 255, 0.18), transparent 36%),
    rgba(8, 20, 30, 0.92);
}

.admin-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
  align-items: stretch;
  gap: 18px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-right: 4px;
}

.admin-panel {
  padding: 20px;
  border: 1px solid rgba(126, 188, 232, 0.24);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.42);
}

.admin-dashboard-overview {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 10px;
}

.admin-dashboard-overview::-webkit-scrollbar {
  width: 10px;
}

.admin-dashboard-overview::-webkit-scrollbar-track {
  background: rgba(3, 10, 16, 0.42);
  border-radius: 999px;
}

.admin-dashboard-overview::-webkit-scrollbar-thumb {
  background: rgba(126, 188, 232, 0.46);
  border: 2px solid rgba(3, 10, 16, 0.42);
  border-radius: 999px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  height: 110px;
}

.admin-dashboard-block {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  height: 110px;
  min-height: 0;
  padding: 14px 20px;
  border: 1px solid rgba(95, 202, 255, 0.24);
  border-radius: 6px;
  background:
    radial-gradient(circle at 16% 50%, rgba(12, 148, 255, 0.14), transparent 36%),
    rgba(3, 10, 16, 0.58);
  box-shadow: inset 0 0 0 1px rgba(95, 202, 255, 0.08);
}

.admin-dashboard-info {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  opacity: 0.34;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.admin-dashboard-info svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-dashboard-block:hover .admin-dashboard-info,
.admin-dashboard-panel:hover .admin-dashboard-info {
  opacity: 1;
  transform: translateY(-1px);
}
.admin-dashboard-visitors > .admin-dashboard-info {
  top: 20px;
  right: auto;
  left: 218px;
}

.admin-dashboard-sources .admin-dashboard-wide-btn {
  position: absolute;
  right: 20px;
  bottom: 10px;
  left: 20px;
  width: auto;
  margin-top: 0;
}

.admin-dashboard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(12, 148, 255, 0.08);
  color: #17a3ff;
  box-shadow: 0 0 28px rgba(23, 163, 255, 0.28);
}

.admin-dashboard-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-dashboard-block p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
}

.admin-dashboard-block strong {
  display: block;
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.admin-dashboard-block small {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.admin-dashboard-trend-value {
  color: #22f58a;
  font-weight: 700;
}

.admin-dashboard-trend-period {
  color: #ffffff;
  font-weight: 500;
}

.admin-dashboard-block small::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid #22f58a;
  transform: translateY(-1px);
}

.admin-dashboard-block-cyan .admin-dashboard-icon {
  color: #69b9ff;
  background: rgba(105, 185, 255, 0.08);
  box-shadow: 0 0 28px rgba(105, 185, 255, 0.24);
}

.admin-dashboard-block-purple .admin-dashboard-icon {
  color: #9e4cff;
  background: rgba(158, 76, 255, 0.09);
  box-shadow: 0 0 28px rgba(158, 76, 255, 0.28);
}


.admin-dashboard-block small.is-down::before {
  border-top: 7px solid #ff5f6f;
  border-bottom: 0;
  transform: translateY(1px);
}

.admin-dashboard-block small.is-neutral::before,
.admin-dashboard-block small.is-error::before,
.admin-dashboard-block small.is-loading::before {
  width: auto;
  height: auto;
  border: 0;
  color: #9fb7ca;
  content: "-";
  transform: none;
}

.admin-dashboard-block small.is-down .admin-dashboard-trend-value,
.admin-dashboard-block small.is-error .admin-dashboard-trend-value {
  color: #ff5f6f;
}

.admin-dashboard-block small.is-neutral .admin-dashboard-trend-value,
.admin-dashboard-block small.is-loading .admin-dashboard-trend-value {
  color: #9fb7ca;
}
.admin-dashboard-block-orange .admin-dashboard-icon {
  color: #ff971f;
  background: rgba(255, 151, 31, 0.08);
  box-shadow: 0 0 28px rgba(255, 151, 31, 0.26);
}
.admin-dashboard-detail-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.45fr) minmax(340px, 1.12fr) minmax(300px, 0.98fr);
  gap: 12px;
  width: 100%;
  height: 320px;
  margin-top: 14px;
}

.admin-dashboard-panel {
  position: relative;
  min-width: 0;
  min-height: 278px;
  padding: 18px 20px;
  border: 1px solid rgba(95, 202, 255, 0.24);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(12, 148, 255, 0.12), transparent 42%),
    rgba(3, 10, 16, 0.58);
  box-shadow: inset 0 0 0 1px rgba(95, 202, 255, 0.08);
}

.admin-dashboard-panel h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.admin-dashboard-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.admin-dashboard-panel-head p {
  margin: 0;
  color: #dceeff;
  font-size: 13px;
}

.admin-dashboard-panel-head button {
  height: 34px;
  min-width: 104px;
  border: 1px solid rgba(126, 188, 232, 0.26);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.45);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
}

.admin-dashboard-panel-head button span {
  margin-left: 22px;
  color: var(--muted);
}

.admin-line-chart {
  position: relative;
  height: 212px;
  padding: 4px 0 24px;
}

.admin-line-chart svg {
  position: absolute;
  inset: 0 0 22px 0;
  width: 100%;
  height: calc(100% - 22px);
}

.admin-chart-grid line {
  stroke: rgba(126, 188, 232, 0.18);
  stroke-dasharray: 3 3;
}

.admin-chart-area {
  fill: url(#dashboardLineFill);
}

.admin-chart-line {
  fill: none;
  stroke: #1498ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(20, 152, 255, 0.72));
}

.admin-chart-dots circle {
  r: 4;
  fill: #1498ff;
}

.admin-chart-y {
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 31px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #dceeff;
  font-size: 12px;
}

.admin-chart-x {
  position: absolute;
  left: 42px;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  color: #dceeff;
  font-size: 12px;
}

.admin-source-layout {
  display: grid;
  padding-top: 15px;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.admin-donut {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: conic-gradient(#147dff 0 45%, #17b8e8 45% 71%, #7837ff 71% 86%, #ff9925 86% 93%, #ff4141 93% 100%);
  box-shadow: 0 0 34px rgba(20, 125, 255, 0.24);
}

.admin-donut::before {
  content: "";
  position: absolute;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: #03101a;
}

.admin-donut {
  position: relative;
}

.admin-donut span {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.admin-donut small {
  display: block;
  margin-top: 7px;
  color: #dceeff;
  font-size: 13px;
  font-weight: 500;
}

.admin-source-list p {
  display: grid;
  grid-template-columns: 14px minmax(70px, 1fr) 52px 58px;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--text);
  font-size: 13px;
}

.admin-source-list i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #147dff;
}

.admin-source-list p:nth-child(2) i { background: #17b8e8; }
.admin-source-list p:nth-child(3) i { background: #7837ff; }
.admin-source-list p:nth-child(4) i { background: #ff9925; }
.admin-source-list p:nth-child(5) i { background: #ff4141; }

.admin-source-list span,
.admin-source-list strong {
  color: #dceeff;
  font-weight: 500;
  text-align: right;
}

.admin-dashboard-wide-btn {
  width: 100%;
  height: 42px;
  margin-top: 12px;
  border: 1px solid rgba(95, 202, 255, 0.3);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.38);
  color: var(--text);
  font: inherit;
  font-weight: 500;
}

.admin-dashboard-active > strong {
  display: block;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.admin-dashboard-active > p {
  margin: 0 0 20px;
  color: #dceeff;
  font-size: 12px;
}

.admin-dashboard-active > p span {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid #22f58a;
}

.admin-bar-chart {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 76px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(126, 188, 232, 0.18);
}

.admin-bar-chart i {
  flex: 1 1 0;
  min-width: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #1498ff, #0866d8);
  box-shadow: 0 0 10px rgba(20, 152, 255, 0.42);
}

.admin-active-table p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px 64px;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(126, 188, 232, 0.12);
  color: #dceeff;
  font-size: 13px;
}

.admin-active-table p:last-child {
  border-bottom: 0;
}

.admin-active-table strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.admin-active-table em {
  color: #22f58a;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}
.admin-dashboard-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  height: 268px;
  margin-top: 14px;
}

.admin-dashboard-bottom-grid .admin-dashboard-panel {
  height: 268px;
  min-height: 0;
  padding-bottom: 18px;
}


.admin-dashboard-bottom-grid .admin-dashboard-device-panel {
  padding-bottom: 68px;
}
.admin-dashboard-device-panel h3 {
  margin-bottom: 0;
}

.admin-dashboard-top-pages h3 {
  margin-bottom: 0;
}

.admin-dashboard-bottom-grid .admin-dashboard-wide-btn {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  width: auto;
  margin-top: 0;
}

.admin-dashboard-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  padding: 8px 0 9px;
  border-bottom: 1px solid rgba(126, 188, 232, 0.16);
  color: #dceeff;
  font-size: 13px;
}

.admin-dashboard-table-head span:last-child {
  text-align: right;
}

.admin-page-rank-list,
.admin-shorter-rank-list {
  display: grid;
}

.admin-page-rank-list p,
.admin-shorter-rank-list p {
  display: grid;
  align-items: center;
  margin: 0;
  min-height: 33px;
  border-bottom: 0;
  color: #dceeff;
  font-size: 13px;
}

.admin-page-rank-list p {
  grid-template-columns: 22px minmax(0, 1fr) 78px;
  grid-template-rows: auto 5px;
  column-gap: 8px;
}

.admin-page-rank-list span {
  grid-row: 1 / 3;
}

.admin-page-rank-list strong,
.admin-shorter-rank-list strong {
  overflow: hidden;
  color: var(--text);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-page-rank-list em {
  grid-column: 2;
  display: block;
  width: var(--rank);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1498ff, #31c9ff);
  box-shadow: 0 0 8px rgba(20, 152, 255, 0.45);
}

.admin-page-rank-list b,
.admin-shorter-rank-list b {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.admin-shorter-rank-list p {
  grid-template-columns: 22px minmax(0, 1fr) 78px;
  gap: 8px;
  border-bottom: 1px solid rgba(126, 188, 232, 0.1);
}

.admin-shorter-rank-list p:last-child {
  border-bottom: 0;
}

.admin-device-layout {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 176px;
}

.admin-device-donut {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(#147dff 0 59%, #17b8e8 59% 94%, #ff9925 94% 99%, #3d617b 99% 100%);
  box-shadow: 0 0 34px rgba(20, 125, 255, 0.24);
}

.admin-device-donut::before {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #03101a;
}

.admin-device-donut svg {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #dceeff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(220, 238, 255, 0.22));
}

.admin-device-list {
  display: grid;
  gap: 14px;
}

.admin-device-list p {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 54px;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: #dceeff;
  font-size: 13px;
}

.admin-device-list i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #147dff;
}

.admin-device-list p:nth-child(2) i { background: #17b8e8; }
.admin-device-list p:nth-child(3) i { background: #ff9925; }
.admin-device-list p:nth-child(4) i { background: #3d617b; }

.admin-device-list strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.admin-activity-list {
  display: grid;
}

.admin-activity-list p {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 70px;
  gap: 10px;
  align-items: center;
  min-height: 39px;
  margin: 0;
  border-bottom: 1px solid rgba(126, 188, 232, 0.1);
}

.admin-activity-list p:last-child {
  border-bottom: 0;
}

.admin-activity-list i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(126, 188, 232, 0.24);
  border-radius: 50%;
  color: #dceeff;
  background: rgba(3, 10, 16, 0.42);
}

.admin-activity-list svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-activity-list strong,
.admin-activity-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-activity-list strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.admin-activity-list small,
.admin-activity-list em {
  color: #b9d2e6;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.admin-activity-list em {
  text-align: right;
  white-space: nowrap;
}
.admin-panel[hidden] {
  display: none !important;
}

.admin-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.admin-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-tools-form {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: start;
  align-items: stretch;
  gap: 18px;
  height: 100%;
  min-height: 0;
}

.admin-tools-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-head-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-tools-head h2 {
  margin-bottom: 8px;
}

.admin-small-btn {
  min-height: 48px;
  padding: 0 20px;
  white-space: nowrap;
}

.admin-success {
  align-self: start;
  padding: 12px 14px;
  border: 1px solid rgba(20, 216, 132, 0.42);
  border-radius: 6px;
  background: rgba(20, 216, 132, 0.08);
  color: #b9f5d7;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.admin-success.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

.admin-tool-scroll {
  --admin-tool-columns:
    42px
    minmax(120px, 0.7fr)
    minmax(145px, 0.8fr)
    minmax(185px, 1fr)
    minmax(185px, 1fr)
    minmax(95px, 0.52fr)
    minmax(95px, 0.52fr)
    minmax(95px, 0.52fr)
    minmax(95px, 0.52fr)
    minmax(95px, 0.52fr)
    150px
    42px;
  overflow: auto;
  padding: 0 2px 8px 0;
  align-self: stretch;
  justify-self: stretch;
  min-height: 0;
}

.admin-tool-header {
  display: grid;
  grid-template-columns: var(--admin-tool-columns);
  gap: 10px;
  align-items: center;
  min-width: min(1420px, 100%);
  padding: 0 12px 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.admin-status-heading {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.admin-tool-list {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: min(1420px, 100%);
}

.admin-tool-row {
  display: grid;
  grid-template-columns: var(--admin-tool-columns);
  gap: 10px;
  align-items: stretch;
  padding: 4px 10px;
  border: 1px solid rgba(126, 188, 232, 0.22);
  border-radius: 6px;
  background: rgba(2, 9, 14, 0.58);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.admin-tool-row.is-dragging {
  opacity: 0.28;
  border-color: var(--cyan);
  background: rgba(12, 148, 255, 0.12);
}

.admin-drag-ghost {
  display: grid;
  grid-template-columns: 34px minmax(130px, 0.8fr) minmax(150px, 0.8fr) minmax(220px, 1.2fr);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(95, 202, 255, 0.72);
  border-radius: 6px;
  background:
    radial-gradient(circle at 0% 50%, rgba(12, 148, 255, 0.18), transparent 48%),
    rgba(3, 10, 16, 0.94);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.94;
  transform: scale(1.01);
  box-shadow:
    0 0 0 1px rgba(95, 202, 255, 0.72),
    0 16px 36px rgba(0, 102, 255, 0.32),
    0 0 24px rgba(0, 195, 255, 0.22);
}

.admin-drag-ghost span,
.admin-drag-ghost strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-drag-ghost-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.admin-drag-ghost-image,
.admin-drag-ghost-goal {
  color: var(--muted);
}

.admin-drag-handle,
.admin-shorter-action,
.admin-remove-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 8px;
  border: 1px solid rgba(126, 188, 232, 0.28);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}
.admin-drag-handle,
.admin-shorter-action {
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(95, 202, 255, 0.1) inset,
    0 0 12px rgba(12, 148, 255, 0.12);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.admin-drag-handle {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.admin-shorter-action {
  cursor: pointer;
}

.admin-drag-handle svg,
.admin-drag-ghost-handle svg,
.admin-shorter-action svg,
.admin-remove-tool svg {
  display: block;
  width: 24px;
  height: 24px;
  opacity: 0.58;
  stroke: currentColor;
  transition: opacity 0.2s ease;
}

.admin-drag-handle:hover svg,
.admin-shorter-action:hover svg,
.admin-remove-tool:hover svg {
  opacity: 1;
}

.admin-drag-handle:hover,
.admin-shorter-action:hover {
  border-color: rgba(95, 202, 255, 0.62);
  background:
    linear-gradient(135deg, rgba(0, 187, 255, 0.2), rgba(18, 71, 235, 0.18)),
    rgba(12, 148, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(95, 202, 255, 0.24) inset,
    0 0 18px rgba(12, 148, 255, 0.28),
    0 8px 18px rgba(0, 102, 255, 0.18);
  transform: translateY(-1px);
}
.admin-remove-tool {
  cursor: pointer;
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 138, 19, 0.08) inset,
    0 0 12px rgba(255, 72, 72, 0.1);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.admin-remove-tool:hover {
  border-color: rgba(255, 92, 92, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 92, 92, 0.18), rgba(255, 138, 19, 0.14)),
    rgba(255, 72, 72, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 154, 154, 0.2) inset,
    0 0 18px rgba(255, 72, 72, 0.25),
    0 8px 18px rgba(160, 30, 30, 0.18);
  transform: translateY(-1px);
}
.admin-tool-row .admin-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  border: 1px solid rgba(126, 188, 232, 0.28);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  line-height: 1.05;
  outline: none;
}

.admin-field input {
  min-height: 8px;
  padding: 0 6px;
}

.admin-field textarea {
  min-height: 0;
  padding: 3px 6px 0;
  resize: vertical;
}

.admin-field input:focus,
.admin-field textarea:focus {
  border-color: var(--cyan);
  background: rgba(4, 14, 22, 0.9);
  box-shadow: 0 0 0 3px rgba(12, 148, 255, 0.16);
}
.admin-save-icon {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  transform: translateY(1px);
}
.admin-shorter-items-form .admin-tool-scroll {
  --admin-tool-columns:
    42px
    minmax(270px, 0.9fr)
    minmax(520px, 1.7fr)
    minmax(210px, 0.75fr)
    minmax(88px, 0.3fr)
    50px
    50px
    50px
    50px;
}

.admin-shorter-items-form .admin-field {
  position: relative;
}

.admin-shorter-items-form .admin-field input.is-shorter-duplicate,
.admin-shorter-items-form .admin-field input.is-shorter-duplicate:focus {
  color: #ff5b6b;
  border-color: rgba(255, 91, 107, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 91, 107, 0.5) inset,
    0 0 14px rgba(255, 91, 107, 0.22);
}

.admin-shorter-items-form .admin-tool-row .admin-field > .admin-shorter-duplicate-bubble {
  position: absolute;
  left: 8px;
  top: calc(100% + 8px);
  z-index: 20;
  width: max-content;
  height: auto;
  max-width: min(360px, 80vw);
  padding: 7px 10px;
  border: 1px solid rgba(255, 91, 107, 0.72);
  border-radius: 6px;
  background: rgba(29, 7, 12, 0.96);
  color: #ffd9de;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
  clip: auto;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(255, 91, 107, 0.18);
  pointer-events: none;
}

.admin-shorter-items-form .admin-tool-row .admin-field > .admin-shorter-duplicate-bubble.is-above {
  top: auto;
  bottom: calc(100% + 8px);
}

.admin-shorter-items-form .admin-tool-row .admin-field > .admin-shorter-duplicate-bubble.is-above::after {
  top: auto;
  bottom: -5px;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid rgba(255, 91, 107, 0.72);
  border-bottom: 1px solid rgba(255, 91, 107, 0.72);
}
.admin-shorter-items-form .admin-tool-row .admin-field > .admin-shorter-duplicate-bubble::after {
  content: "";
  position: absolute;
  left: 16px;
  top: -5px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(255, 91, 107, 0.72);
  border-left: 1px solid rgba(255, 91, 107, 0.72);
  background: rgba(29, 7, 12, 0.96);
  transform: rotate(45deg);
}
.admin-shorter-action {
  cursor: pointer;
}

.admin-shorter-action.is-copied {
  border-color: rgba(95, 202, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(0, 187, 255, 0.28), rgba(18, 71, 235, 0.24)),
    rgba(12, 148, 255, 0.18);
}

.admin-shorter-clicks {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8px;
  border: 1px solid rgba(126, 188, 232, 0.28);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.72);
  color: var(--text);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.admin-workshops-form .admin-tool-scroll {
  --admin-tool-columns:
    42px
    minmax(150px, 0.75fr)
    minmax(170px, 0.8fr)
    minmax(360px, 1.8fr)
    minmax(170px, 0.85fr)
    150px
    42px;
}


.admin-tools-form .admin-tool-header,
.admin-tools-form .admin-tool-row {
  box-sizing: border-box;
  min-width: min(1420px, 100%);
}

.admin-tools-form .admin-tool-header {
  padding: 0 11px 8px;
}

.admin-tools-form .admin-tool-header > span {
  min-width: 0;
}

.admin-tools-form .admin-tool-row {
  align-items: center;
  padding-block: 5px;
}
.admin-tools-form .admin-tool-row .admin-field input,
.admin-tools-form .admin-tool-row .admin-field textarea,
.admin-tools-form .admin-tool-row .admin-drag-handle,
.admin-tools-form .admin-tool-row .admin-shorter-action,
.admin-tools-form .admin-tool-row .admin-remove-tool,
.admin-tools-form .admin-tool-row .admin-shorter-clicks {
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
}
.admin-tools-form .admin-tool-row .admin-field input {
  padding: 0 6px;
  line-height: 48px;
}

.admin-tools-form .admin-tool-row .admin-field textarea {
  display: block;
  vertical-align: top;
  padding: 6px;
  line-height: 16px;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.admin-tools-form .admin-tool-row .admin-drag-handle svg,
.admin-tools-form .admin-tool-row .admin-shorter-action svg,
.admin-tools-form .admin-tool-row .admin-remove-tool svg {
  width: 26px;
  height: 26px;
}

.admin-tools-form .admin-tool-row .admin-tool-flags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  height: 50px;
  min-height: 50px;
}

.admin-tools-form .admin-tool-row .admin-tool-flags label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-height: 50px;
}

.admin-tools-form .admin-tool-row .admin-tool-flags input {
  width: 24px;
  height: 24px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.admin-tools-form .admin-tool-row .admin-tool-flags input:checked {
  border-color: #31c77a;
  background-color: #31c77a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  box-shadow: 0 0 12px rgba(49, 199, 122, 0.55);
}

.admin-tools-form .admin-tool-row,
.admin-tools-form .admin-tool-row input,
.admin-tools-form .admin-tool-row textarea,
.admin-tools-form .admin-tool-row button,
.admin-tools-form .admin-tool-row .admin-shorter-clicks {
  font-size: 14px;
  font-weight: 300;
}
.admin-save-notice {
  align-self: start;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 500;
  line-height: 1.35;
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.admin-save-notice-success {
  border: 1px solid rgba(20, 216, 132, 0.48);
  background: rgba(20, 216, 132, 0.1);
  color: #b9f5d7;
}

.admin-save-notice-error {
  border: 1px solid rgba(255, 92, 92, 0.5);
  background: rgba(255, 76, 76, 0.1);
  color: #ffd0d0;
}

.admin-save-notice.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

.admin-tools-form.is-saving .admin-save-btn {
  opacity: 0.78;
  cursor: wait;
}
.admin-side-stack {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.shorter-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(126, 188, 232, 0.24);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.36);
}

.shorter-tool-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(95, 202, 255, 0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, #22b8ff, #1262f3);
  box-shadow: 0 10px 24px rgba(12, 148, 255, 0.2);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.shorter-tool-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 30px rgba(12, 148, 255, 0.28);
  filter: brightness(1.06);
}

.shorter-tool-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shorter-group-list {
  min-height: 160px;
}

.admin-side-stack .shorter-group-list {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.shorter-group-list .admin-tab {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.admin-workspace > .admin-tabs:not(.shorter-group-list) {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.admin-workspace > .admin-tabs:not(.shorter-group-list) .admin-tab {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.shorter-tool-btn[data-shorter-delete] {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(3, 10, 16, 0.18);
  box-shadow: none;
}

.shorter-tool-btn[data-shorter-delete]:hover {
  border-color: rgba(255, 92, 92, 0.62);
  background: rgba(255, 76, 76, 0.16);
  box-shadow: 0 12px 28px rgba(255, 76, 76, 0.18);
}

.shorter-tool-btn[data-shorter-delete] svg {
  stroke: #ffffff;
}

.shorter-tool-btn[data-shorter-delete]:hover svg {
  stroke: #ff7777;
}
.shorter-toolbar {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  justify-self: start;
  width: 100%;
  padding: 0;
  overflow: visible;
  border-color: rgba(38, 176, 255, 0.74);
  border-radius: 8px;
  background: rgba(3, 10, 16, 0.72);
  box-shadow: inset 0 0 0 1px rgba(0, 149, 255, 0.12), 0 12px 30px rgba(0, 149, 255, 0.12);
}

.shorter-tool-btn {
  width: auto;
  height: 44px;
  border: 0;
  border-right: 1px solid rgba(190, 232, 255, 0.5);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(34, 184, 255, 0.96), rgba(18, 98, 243, 0.96));
  box-shadow: none;
  filter: none;
}

.shorter-tool-btn:first-child {
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}

.shorter-tool-btn:last-child {
  border-right: 0;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

.shorter-tool-btn:hover {
  transform: none;
  border-color: rgba(190, 232, 255, 0.68);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08);
  filter: brightness(1.08);
}

.shorter-tool-btn svg {
  width: 23px;
  height: 23px;
}

.shorter-tool-btn[data-shorter-delete] {
  border-color: transparent;
  background: rgba(3, 10, 16, 0.12);
  box-shadow: none;
}

.shorter-tool-btn[data-shorter-delete]:hover {
  border-color: transparent;
  background: rgba(255, 76, 76, 0.16);
  box-shadow: inset 0 0 20px rgba(255, 76, 76, 0.16);
}

.shorter-tool-btn[data-shorter-delete] svg {
  stroke: #ffffff;
}

.shorter-tool-btn[data-shorter-delete]:hover svg {
  stroke: #ff6f6f;
}

.shorter-group-list .admin-tab[draggable="true"] {
  cursor: grab;
}

.shorter-group-list .admin-tab.is-row-drop-target {
  border-color: rgba(49, 199, 122, 0.85);
  background:
    linear-gradient(135deg, rgba(49, 199, 122, 0.22), rgba(12, 148, 255, 0.12)),
    rgba(3, 10, 16, 0.88);
  box-shadow:
    0 0 0 1px rgba(49, 199, 122, 0.5) inset,
    0 0 18px rgba(49, 199, 122, 0.28);
}
.shorter-group-list .admin-tab.is-dragging {
  opacity: 0.46;
  cursor: grabbing;
}

.shorter-save-notice {
  margin-top: 0;
  margin-bottom: 16px;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 4, 8, 0.74);
  backdrop-filter: blur(10px);
}

.admin-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid rgba(95, 202, 255, 0.42);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(7, 26, 40, 0.98), rgba(3, 10, 16, 0.98));
  box-shadow: 0 24px 70px rgba(0, 149, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.44);
}

.admin-modal-panel h2 {
  margin: 4px 0 20px;
  font-size: 28px;
}

.admin-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  border: 1px solid rgba(126, 188, 232, 0.32);
  border-radius: 50%;
  background: rgba(3, 10, 16, 0.5);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.admin-modal-close:hover {
  border-color: rgba(95, 202, 255, 0.78);
}

.admin-modal-field {
  display: grid;
  gap: 8px;
}

.admin-modal-field span {
  font-weight: 600;
}

.admin-modal-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(126, 188, 232, 0.32);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.admin-modal-field input:focus {
  outline: none;
  border-color: rgba(23, 163, 255, 0.86);
  box-shadow: 0 0 0 3px rgba(23, 163, 255, 0.16);
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

body.admin-modal-open {
  overflow: hidden;
}
.admin-modal-actions .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}
.admin-flag-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  text-align: center;
}

.admin-save-btn svg {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.admin-tools-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


.admin-tools-actions .btn svg {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.admin-tools-actions .btn {
  min-height: 46px;
  height: 46px;
  padding: 0 24px;
  align-items: center;
  line-height: 1;
}

.admin-tools-actions .admin-save-btn {
  min-height: 46px;
  height: 46px;
  padding-inline: 24px;
}
.admin-modal-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-modal-text strong {
  color: var(--text);
}

.admin-modal-warning {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 92, 92, 0.44);
  border-radius: 6px;
  background: rgba(255, 76, 76, 0.1);
  color: #ffd0d0;
  line-height: 1.45;
}

.btn-danger {
  border-color: rgba(255, 92, 92, 0.72);
  background: linear-gradient(135deg, rgba(255, 76, 76, 0.92), rgba(176, 28, 28, 0.92));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(255, 76, 76, 0.2);
}

.btn-danger:hover {
  border-color: rgba(255, 180, 180, 0.9);
  filter: brightness(1.06);
}
.shorter-tool-btn[data-statistics-delete] {
  border-color: transparent;
  background: rgba(3, 10, 16, 0.12);
  box-shadow: none;
}

.shorter-tool-btn[data-statistics-delete]:hover {
  border-color: transparent;
  background: rgba(255, 76, 76, 0.16);
  box-shadow: inset 0 0 20px rgba(255, 76, 76, 0.16);
}

.shorter-tool-btn[data-statistics-delete] svg {
  stroke: #ffffff;
}

.shorter-tool-btn[data-statistics-delete]:hover svg {
  stroke: #ff6f6f;
}

.admin-statistics-panel {
  min-height: 100%;
}

.admin-brevo-settings {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.admin-brevo-head h2 {
  margin-bottom: 8px;
}

.admin-brevo-status-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 188, 232, 0.24);
  border-radius: 6px;
  background: rgba(5, 20, 32, 0.54);
}

.admin-brevo-status-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}

.admin-brevo-status-card p {
  margin: 0;
  color: #dceeff;
  font-size: 14px;
}

.admin-brevo-status-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(126, 188, 232, 0.52);
  box-shadow: 0 0 16px rgba(126, 188, 232, 0.22);
}

.admin-brevo-status-card.is-configured .admin-brevo-status-dot {
  background: #22f58a;
  box-shadow: 0 0 18px rgba(34, 245, 138, 0.44);
}

.admin-brevo-form {
  display: grid;
  gap: 12px;
}

.admin-brevo-field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.admin-brevo-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: center;
}

.admin-brevo-input-wrap input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(126, 188, 232, 0.32);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.58);
  color: #ffffff;
  font: inherit;
}

.admin-brevo-input-wrap input:focus {
  outline: none;
  border-color: rgba(23, 163, 255, 0.86);
  box-shadow: 0 0 0 3px rgba(23, 163, 255, 0.16);
}

.admin-brevo-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(126, 188, 232, 0.32);
  border-radius: 6px;
  background: rgba(5, 20, 32, 0.54);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.admin-brevo-toggle:hover,
.admin-brevo-toggle.is-visible {
  border-color: rgba(23, 163, 255, 0.76);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(23, 163, 255, 0.18);
}

.admin-brevo-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-brevo-hint {
  color: #b9cee0;
  font-size: 14px;
}

.admin-brevo-actions,
.admin-brevo-delete-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-brevo-submit,
.admin-brevo-delete {
  min-height: 46px;
  height: 46px;
  padding: 0 22px;
  border-radius: 14px;
}

@media (max-width: 760px) {
  .admin-brevo-input-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-brevo-toggle {
    width: 100%;
  }
}

.admin-brevo-list-settings {
  display: grid;
  gap: 16px;
  padding-top: 4px;
}

.admin-brevo-section-head,
.admin-brevo-lead-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 188, 232, 0.24);
  border-radius: 6px;
  background: rgba(5, 20, 32, 0.42);
}

.admin-brevo-section-head h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.admin-brevo-section-head p,
.admin-brevo-empty,
.admin-brevo-lead-status p {
  margin: 0;
  color: #b9cee0;
  font-size: 14px;
}

.admin-brevo-list-form {
  display: grid;
  gap: 14px;
}

.admin-brevo-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.admin-brevo-list-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(126, 188, 232, 0.24);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.46);
  color: var(--text);
}

.admin-brevo-list-item input {
  width: 18px;
  height: 18px;
  accent-color: #31c77a;
}

.admin-brevo-list-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.admin-brevo-list-item small {
  grid-column: 2;
  color: #9fb7ca;
  font-size: 13px;
}

.admin-brevo-lead-status strong {
  display: block;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
}

.admin-brevo-lead-status span {
  display: block;
  margin-top: 5px;
  color: #22f58a;
  font-weight: 600;
}

.admin-brevo-small-btn {
  min-height: 42px;
  height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  white-space: nowrap;
}

.admin-brevo-small-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 820px) {
  .admin-brevo-section-head,
  .admin-brevo-lead-status {
    display: grid;
  }
}

[data-admin-area-panel="statistics"] .admin-content {
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}

[data-admin-area-panel="statistics"] .admin-content::-webkit-scrollbar {
  width: 10px;
}

[data-admin-area-panel="statistics"] .admin-content::-webkit-scrollbar-track {
  background: rgba(3, 10, 16, 0.42);
  border-radius: 999px;
}

[data-admin-area-panel="statistics"] .admin-content::-webkit-scrollbar-thumb {
  background: rgba(126, 188, 232, 0.46);
  border: 2px solid rgba(3, 10, 16, 0.42);
  border-radius: 999px;
}

[data-admin-area-panel="statistics"] .admin-statistics-panel {
  min-height: 0;
}

/* Statistik: Rahmen bleibt stehen, nur der Panel-Inhalt scrollt. */
[data-admin-area-panel="statistics"] .admin-content {
  overflow: hidden;
  padding-right: 4px;
}

[data-admin-area-panel="statistics"] .admin-statistics-panel {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
}

[data-admin-area-panel="statistics"] .admin-statistics-panel::-webkit-scrollbar {
  width: 10px;
}

[data-admin-area-panel="statistics"] .admin-statistics-panel::-webkit-scrollbar-track {
  background: rgba(3, 10, 16, 0.42);
  border-radius: 999px;
}

[data-admin-area-panel="statistics"] .admin-statistics-panel::-webkit-scrollbar-thumb {
  background: rgba(126, 188, 232, 0.46);
  border: 2px solid rgba(3, 10, 16, 0.42);
  border-radius: 999px;
}

/* Statistik: Nur der Inhalt im Panel scrollt, der aeussere Rahmen bleibt fix. */
[data-admin-area-panel="statistics"] .admin-content {
  overflow: hidden;
  padding-right: 4px;
}

[data-admin-area-panel="statistics"] .admin-statistics-panel {
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
  scrollbar-gutter: stable;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.78;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 30;
  min-width: 170px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(3, 10, 16, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 28px rgba(12, 148, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(12, 148, 255, 0.12);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .nav-dropdown {
    display: grid;
    gap: 8px;
    justify-items: center;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-submenu a {
    padding: 4px 0;
  }
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.listing-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 126px;
  height: 126px;
  margin-top: 34px;
  margin-bottom: 26px;
  padding: 0 clamp(28px, 5vw, 58px) 0 clamp(24px, 4vw, 44px);
  overflow: visible;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(10, 23, 34, 0.92), rgba(4, 12, 18, 0.78)),
    radial-gradient(circle at 82% 18%, rgba(12, 148, 255, 0.12), transparent 25rem);
}

.listing-hero-person {
  align-self: flex-end;
  width: min(170px, 26vw);
  height: min(170px, 26vw);
  max-width: 170px;
  max-height: 170px;
  object-fit: contain;
  object-position: bottom left;
  display: block;
  margin-bottom: 0;
  transform: translateY(1px);
}

.listing-hero-copy {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 8px;
  min-height: 100%;
  padding: 0;
  text-align: right;
}

.listing-hero-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(48px, 5vw, 58px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.listing-hero-copy p {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
}

@media (max-width: 760px) {
  .listing-hero {
    min-height: 106px;
    height: 106px;
    margin-top: 28px;
    padding-right: 22px;
    padding-left: 16px;
  }

  .listing-hero-person {
    width: 132px;
    height: 132px;
  }

  .listing-hero-copy h1 {
    font-size: 34px;
  }

  .listing-hero-copy p {
    font-size: 16px;
  }
}
.listing-hero + .tools-section {
  margin-top: 0;
}

.section + .listing-hero {
  margin-top: 26px;
}

.section + .listing-hero-home-workshops,
.section + .listing-hero-home-tutorials,
.listing-hero-home-workshops,
.listing-hero-home-tutorials {
  margin-top: 52px;
}
.home-list-link-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 28px;
  margin: 0 0 10px;
  padding: 0 38px;
}


.home-list-link-row-tools {
  transform: translate(15px, -10px);
}

.home-list-link-row-workshops {
  transform: translate(-32px, -10px);
}

.home-list-link-row-tutorials {
  transform: translate(-13px, -10px);
}
.home-list-link-row a {
  color: var(--cyan);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.home-list-link-row a:hover {
  color: var(--cyan-2);
}

@media (max-width: 760px) {
  .home-list-link-row {
    min-height: 24px;
    padding: 0 18px;
  }
}
.tool-sales-page,
.product-detail-page {
  padding: 44px 0 10px;
}

.pc-sales-hero,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.pc-sales-copy,
.product-hero-copy,
.pc-feature-band,
.pc-showcase,
.pc-faq,
.product-detail-panel,
.lead-magnet-card,
.optin-panel,
.gift-side {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(8, 20, 30, 0.92), rgba(3, 10, 16, 0.78));
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.24);
}

.pc-sales-copy,
.product-hero-copy,
.lead-magnet-card,
.optin-panel,
.gift-side,
.product-detail-panel {
  padding: clamp(24px, 3vw, 38px);
}

.back-link,
.product-kicker,
.lead-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.back-link {
  margin-bottom: 22px;
}

.product-kicker,
.lead-label {
  margin: 0 0 12px;
  text-transform: uppercase;
}

.pc-sales-copy h1,
.product-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.pc-sales-copy > p,
.product-lead,
.product-goal,
.form-head p,
.gift-side p,
.pc-audience-copy p,
.pc-shot-card p,
.pc-faq p,
.purchase-note {
  color: #d9e8f2;
  line-height: 1.65;
}

.pc-sales-copy > p,
.product-lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 18px;
}

.gift-benefits,
.product-checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.gift-benefits li,
.product-checks li,
.integration-steps span,
.pc-settings-points span,
.pc-audience-list span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #e8f5ff;
}

.gift-benefits li::before,
.product-checks li::before,
.integration-steps span::before,
.pc-settings-points span::before,
.pc-audience-list span::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(20, 216, 132, 0.65);
}

.lead-magnet-card {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 14px;
}

.lead-magnet-card img,
.product-visual img,
.pc-shot-card img,
.pc-duo-shots img,
.pc-login-shots img,
.quality-badge-group {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.lead-magnet-card img {
  aspect-ratio: 16 / 10;
}

.lead-magnet-card h2,
.optin-panel h2,
.gift-side h2,
.pc-feature-band h2,
.pc-showcase h2,
.pc-faq h2,
.product-detail-panel h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.lead-magnet-card p,
.gift-side p,
.form-head p {
  margin: 10px 0 0;
}

.pc-hero-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.62);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.pc-hero-offer,
.price-tag,
.pc-access-metric {
  display: grid;
  gap: 4px;
  max-width: 260px;
  min-width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 138, 19, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 138, 19, 0.08);
}

.pc-hero-offer span,
.price-tag span,
.pc-hero-offer small,
.price-tag small,
.pc-access-metric span {
  color: var(--muted);
}

.pc-hero-offer strong,
.price-tag strong,
.pc-access-metric strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.pc-feature-band,
.pc-audience {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.pc-feature-band,
.pc-showcase,
.pc-faq,
.pc-audience {
  padding: clamp(24px, 3vw, 38px);
}

.pc-stat-grid,
.pc-audience-list,
.integration-steps,
.pc-settings-points {
  display: grid;
  gap: 12px;
}

.pc-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-stat-grid span {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(3, 10, 16, 0.56);
}

.pc-stat-grid strong {
  color: var(--text);
  font-size: 24px;
}

.pc-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--line);
}

.pc-trust-strip span {
  padding: 18px;
  color: #e8f5ff;
  background: rgba(4, 13, 20, 0.94);
}

.pc-how-it-works {
  padding: clamp(24px, 3vw, 38px);
}

.pc-how-it-works .section-head {
  margin-bottom: 22px;
}

.pc-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pc-step-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.56);
}

.pc-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(20, 152, 255, 0.15);
  color: var(--cyan);
  font-size: 18px;
  font-weight: 800;
}

.pc-step-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
}

.pc-step-card p {
  margin: 0;
  color: #d9e8f2;
  line-height: 1.62;
}

.pc-prompt-example {
  padding: clamp(24px, 3vw, 38px);
}

.pc-prompt-example .section-head {
  margin-bottom: 22px;
}

.pc-example-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.pc-example-panel {
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(3, 10, 16, 0.56);
}

.pc-example-before {
  border-width: 6px;
  border-color: rgba(255, 80, 80, 0.6);
}

.pc-example-after {
  border-width: 6px;
  border-color: rgba(20, 216, 132, 0.6);
}

.pc-example-text {
  margin: 12px 0;
  color: #e8f5ff;
  font-size: 16px;
  line-height: 1.65;
  font-style: italic;
}

.pc-example-note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.pc-about {
  padding: clamp(24px, 3vw, 38px);
}

.pc-about-inner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(8, 20, 30, 0.92), rgba(3, 10, 16, 0.78));
  padding: clamp(24px, 3vw, 38px);
}

.pc-about-copy {
  max-width: 760px;
}

.pc-about-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  color: var(--text);
}

.pc-about-copy p {
  margin: 12px 0 0;
  color: #d9e8f2;
  line-height: 1.65;
}

.pc-testimonials {
  padding: clamp(24px, 3vw, 38px);
}

.pc-testimonials .section-head {
  margin-bottom: 22px;
}

.pc-rotator-viewport {
  position: relative;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.56);
  overflow: hidden;
}

.pc-rotator-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.pc-rotator-card.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.pc-rotator-card blockquote {
  margin: 0;
  padding: 0;
  color: #e8f5ff;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  font-style: italic;
}

.pc-rotator-card .pc-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
}

.pc-rotator-card .pc-testimonial-author strong {
  color: var(--text);
  font-size: 15px;
}

.pc-rotator-card .pc-testimonial-author span {
  color: var(--muted);
  font-size: 14px;
}

.pc-rotator-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.pc-rotator-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(126, 188, 232, 0.4);
  border-radius: 50%;
  background: rgba(3, 10, 16, 0.7);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.pc-rotator-dots button.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
}

.pc-rotator-dots button:hover:not(.is-active) {
  border-color: var(--cyan);
  background: rgba(12, 148, 255, 0.3);
}

.pc-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pc-testimonial-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.56);
}

.pc-testimonial-card p {
  margin: 0 0 16px;
  color: #e8f5ff;
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
}

.pc-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pc-testimonial-author strong {
  color: var(--text);
}

.pc-testimonial-author span {
  color: var(--muted);
  font-size: 14px;
}

.pc-garantee-note {
  margin-top: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(20, 216, 132, 0.3);
  border-radius: var(--radius);
  background: rgba(20, 216, 132, 0.06);
  color: #d9e8f2;
  font-size: 14px;
  text-align: center;
}

.pc-garantee-note a {
  color: var(--cyan);
}

.pc-showcase-head,
.pc-faq-head {
  margin-bottom: 22px;
}

.pc-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pc-shot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.62);
}

.pc-shot-card-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.pc-shot-card img {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
}

.pc-shot-card div {
  padding: 18px;
}

.pc-shot-card h3,
.pc-faq h3,
.step h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
}

.gift-layout,
.pc-layout,
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.pc-duo-shots,
.pc-login-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.pc-settings-highlight,
.pc-access-highlight,
.digistore-box {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.56);
}

.pc-settings-highlight,
.pc-access-highlight {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.6fr);
}

.digistore-box {
  align-items: center;
  grid-template-columns: minmax(180px, 0.5fr) auto minmax(130px, 0.35fr);
}

.promptcrafter-sales-page .digistore-box {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
  text-align: center;
}

.promptcrafter-sales-page .price-tag {
  width: min(100%, 230px);
  justify-self: center;
  text-align: left;
}

.promptcrafter-sales-page .price-tag strong {
  font-size: 28px;
}

.digistore-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  grid-column: 1 / -1;
  width: 100%;
}

.digistore-action-row .btn {
  min-width: min(100%, 260px);
}

.promptcrafter-sales-page .digistore-action-row .digistore-logo {
  justify-self: center;
}

.digistore-action-row .digistore-logo {
  max-width: 150px;
}
.digistore-logo {
  max-width: 150px;
  justify-self: end;
}

.purchase-note {
  grid-column: 1 / -1;
  margin: 0;
}

.quality-badge-group {
  margin-top: 22px;
  max-width: 320px;
  border: 0;
}

.pc-faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pc-faq-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.56);
}

.product-visual {
  display: grid;
  align-items: center;
}

.product-visual img {
  aspect-ratio: 16 / 10;
}

.promptcrafter-sales-page {
  padding: 32px 0 8px;
}

.promptcrafter-sales-page > section + section {
  margin-top: 24px;
}

.promptcrafter-sales-page .pc-sales-hero {
  gap: 24px;
  padding: clamp(22px, 2.5vw, 32px);
}

.promptcrafter-sales-page .pc-sales-copy,
.promptcrafter-sales-page .lead-magnet-card,
.promptcrafter-sales-page .optin-panel,
.promptcrafter-sales-page .gift-side,
.promptcrafter-sales-page .pc-feature-band,
.promptcrafter-sales-page .pc-showcase,
.promptcrafter-sales-page .pc-audience,
.promptcrafter-sales-page .pc-faq {
  padding: clamp(24px, 2.45vw, 32px);
}

.promptcrafter-sales-page .pc-hero-card {
  gap: 12px;
}

.promptcrafter-sales-page .pc-hero-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pc-hero-rotator {
  position: relative;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.45);
}

.pc-hero-rotator-viewport {
  position: relative;
  min-height: 32px;
}

.pc-hero-rotator-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.pc-hero-rotator-card.is-active {
  position: relative;
  opacity: 1;
}

.pc-hero-rotator-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.promptcrafter-sales-page .pc-hero-bottom {
  padding: 18px 20px;
}

.promptcrafter-sales-page .pc-trust-strip span {
  padding: 16px 18px;
}
@media (max-width: 980px) {
  .pc-sales-hero,
  .product-hero,
  .pc-feature-band,
  .pc-audience,
  .gift-layout,
  .pc-layout,
  .product-detail-grid,
  .pc-shot-card-large,
  .pc-settings-highlight,
  .pc-access-highlight,
  .digistore-box {
    grid-template-columns: 1fr;
  }

  .pc-stat-grid,
  .pc-steps-grid,
  .pc-trust-strip,
  .pc-showcase-grid,
  .pc-faq-grid,
  .pc-example-grid,
  .pc-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tool-sales-page,
  .product-detail-page {
    padding-top: 28px;
  }

  .pc-stat-grid,
  .pc-steps-grid,
  .pc-trust-strip,
  .pc-showcase-grid,
  .pc-faq-grid,
  .pc-duo-shots,
  .pc-login-shots,
  .pc-example-grid,
  .pc-testimonials-grid {
    grid-template-columns: 1fr;
  }
}
/* home-list-link-row override 20260706 */
.home-list-link-row {
  display: grid;
  grid-template-columns: 100px minmax(150px, 0.8fr) minmax(190px, 1.1fr) minmax(190px, 1.1fr) minmax(110px, 0.6fr);
  align-items: center;
  justify-content: stretch;
  gap: 22px;
  min-height: 22px;
  margin: -12px 0 6px;
  padding: 0 20px;
}

.home-list-link-row a {
  grid-column: 5;
  justify-self: start;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .home-list-link-row {
    display: flex;
    justify-content: flex-end;
    min-height: 24px;
    margin-top: -8px;
    padding: 0 18px;
  }
}

.promptcrafter-sales-page .digistore-action-row {
  flex-direction: column;
  gap: 12px;
}

.promptcrafter-sales-page .digistore-action-row .digistore-logo {
  display: block;
  margin: 0 auto;
}

.promptcrafter-sales-page .pc-sales-close .gift-side > p {
  margin-bottom: 30px;
}

.promptcrafter-sales-page .pc-sales-close .quality-badge-group {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.promptcrafter-sales-page .pc-sales-close .purchase-note {
  font-size: 13px;
  line-height: 1.45;
}

.promptcrafter-sales-page .pc-sales-close .pc-pins-graphic {
  display: block;
  width: min(100%, 430px);
  max-height: 180px;
  object-fit: contain;
  margin: 28px auto 0;
  border: 0;
}
.promptcrafter-sales-page .pc-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.promptcrafter-sales-page .pc-showcase-main-shot,
.promptcrafter-sales-page .pc-showcase-feature-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.62);
}

.promptcrafter-sales-page .pc-showcase-main-shot {
  padding: clamp(12px, 1.5vw, 18px);
}

.promptcrafter-sales-page .pc-showcase-main-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  object-fit: contain;
}

.promptcrafter-sales-page .pc-showcase-side {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}

.promptcrafter-sales-page .pc-showcase-feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.promptcrafter-sales-page .pc-showcase-feature-card div {
  padding: clamp(18px, 2.2vw, 26px);
}

.promptcrafter-sales-page .pc-showcase-feature-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.08;
}

.promptcrafter-sales-page .pc-showcase-feature-card p {
  margin: 0;
  color: #d9e8f2;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.62;
}

@media (max-width: 980px) {
  .promptcrafter-sales-page .pc-showcase-layout {
    grid-template-columns: 1fr;
  }
}
main.tutorial-detail-page .listing-hero-copy h1 {
  text-transform: none !important;
}

main.tutorial-detail-page .listing-hero {
  align-items: center;
  justify-content: space-between;
}

main.tutorial-detail-page .listing-hero-copy {
  justify-items: end;
  text-align: right;
  margin-left: auto;
  margin-right: -19px;
  max-width: none;
}

.tutorial-detail-hero-image {
  width: clamp(130px, 13vw, 175px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin-left: -4px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

@media (max-width: 760px) {
  .tutorial-detail-hero-image {
    width: 108px;
    margin-left: 0;
  }
}

.tutorial-detail-intro-box {
  padding: 38px 40px;
}

.tutorial-detail-intro-inner {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 13, 20, 0.18);
  padding: 26px 28px;
}

.tutorial-detail-intro-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.1;
}

.tutorial-detail-intro-inner p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .tutorial-detail-intro-box {
    padding: 22px;
  }

  .tutorial-detail-intro-inner {
    padding: 20px;
  }
}

.tutorial-preview-button {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 10, 16, 0.45);
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tutorial-preview-button:hover,
.tutorial-preview-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 156, 255, 0.72);
  box-shadow: 0 18px 42px rgba(0, 156, 255, 0.16);
}

.tutorial-preview-button img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.tutorial-image-lightbox[hidden] {
  display: none;
}

.tutorial-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
}

.tutorial-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.tutorial-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: min(1180px, 94vw);
  max-height: 88vh;
}

.tutorial-lightbox-panel img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 88vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
}

.tutorial-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(4, 14, 22, 0.95);
  color: var(--text);
  font-size: 28px;
  line-height: 36px;
  cursor: pointer;
}

body.tutorial-lightbox-open {
  overflow: hidden;
}

.tutorial-detail-intro-box + .tutorial-detail-intro-box {
  margin-top: 30px;
}

main.tutorial-detail-page {
  padding-top: 30px;
  margin-top: 0;
}

.tutorial-preview-button-inline {
  margin: 30px auto;
}

.pc-project-slider {
  overflow: hidden;
}

.pc-project-slider .section-head {
  padding: 0 clamp(24px, 2.45vw, 32px);
}

.pc-slider-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.pc-slider-track-inner {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: pc-slide-scroll 100s linear infinite;
}

.pc-slider-track:hover .pc-slider-track-inner {
  animation-play-state: paused;
}

.pc-slider-track-inner img {
  flex-shrink: 0;
  height: 180px;
  width: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pc-slider-track-inner img:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(12, 148, 255, 0.25);
}

@keyframes pc-slide-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .pc-slider-track-inner {
    gap: 10px;
    animation-duration: 60s;
  }

  .pc-slider-track-inner img {
    height: 120px;
  }
}

.pc-limitations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pc-limitation-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 10, 16, 0.56);
}

.pc-limitation-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.pc-limitation-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-limitation-card li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pc-limitation-included li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #31c77a;
  font-weight: 700;
}

.pc-limitation-excluded li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(255, 100, 100, 0.6);
}

@media (max-width: 760px) {
  .pc-limitations-grid {
    grid-template-columns: 1fr;
  }
}

