@font-face {
  font-family: "Bubblegum Bliss";
  src: url("./fonts/BubblegumBliss-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Super Grotesk";
  src: url("./fonts/king_SuperGroteskOffcPro.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Super Grotesk";
  src: url("./fonts/king_SuperGroteskOffcPro-Medium.ttf") format("truetype");
  font-weight: 600;
}

:root {
  --pink-bg: #faddeb;
  --panel-fill: rgba(252, 239, 246, 0.95);
  --berry: #9c2b66;
  --berry-dark: #6d1f49;
  --ink: #5f2954;
  --button-pink: #e83e8e;
  --button-pink-dark: #b01d63;
  --shadow: 0 24px 60px rgba(94, 28, 102, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --frame: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Super Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.86), transparent 30%),
    radial-gradient(circle at 82% 15%, rgba(127, 196, 246, 0.28), transparent 18%),
    linear-gradient(180deg, #fff9fc 0%, #faddeb 55%, #f6d6e6 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.site-panel,
.site-header,
.site-footer {
  background: var(--panel-fill);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.site-header {
  padding: 16px 20px 18px;
}

.site-topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.brand-stack {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
  margin: 0 auto;
}

.brand-mark {
  display: flex;
  justify-content: center;
  width: 100%;
}

.brand-mark:not(.brand-title-link) img {
  width: min(65px, 100%);
}

.brand-title {
  width: min(160px, 100%);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button-primary {
  color: #fff;
  text-shadow: 0 2px 0 rgba(137, 24, 77, 0.45);
  border: 2px solid #cf2f7a;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.95) 0 3px, rgba(255, 255, 255, 0) 4px),
    radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.88) 0 2px, rgba(255, 255, 255, 0) 3px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.18) 24%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #ff79c2 0%, #ff4fa8 22%, #ea3e90 60%, #c91f71 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.58),
    inset 0 -2px 0 rgba(133, 16, 67, 0.32),
    0 4px 0 #a81d62,
    0 10px 18px rgba(190, 46, 114, 0.24);
}

.button-secondary {
  color: var(--berry);
  background: linear-gradient(180deg, #ffffff 0%, #fceff6 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.75), 0 10px 20px rgba(156, 43, 102, 0.12);
}

.button-danger {
  color: #fff;
  background: linear-gradient(180deg, #d25576 0%, #af234d 100%);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #7c3fef;
  outline-offset: 3px;
}

.hero-panel,
.content-grid,
.admin-layout,
.prototype-grid,
.results-grid {
  display: grid;
  gap: 20px;
}

.hero-panel {
  padding: 28px 24px;
  margin-top: 6px;
  text-align: center;
}

.hero-panel-embedded {
  padding-top: 8px;
  padding-bottom: 8px;
}

.hero-title,
.section-title,
.card-title,
.admin-title,
.thanks-title {
  margin: 0;
  font-family: "Bubblegum Bliss", cursive;
  line-height: 0.95;
}

.hero-title {
  font-size: clamp(2.25rem, 5.6vw, 3.85rem);
}

.section-intro,
.hero-copy,
.card-copy,
.helper-copy,
.status-copy {
  font-size: 1.04rem;
  line-height: 1.6;
}

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

.prototype-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.hero-prototype-grid {
  margin-top: 36px;
}

.prototype-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 36px rgba(79, 30, 104, 0.16);
  overflow: hidden;
}

.prototype-card-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.prototype-card-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.prototype-card-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prototype-card h3 {
  margin: 0;
  font-family: "Bubblegum Bliss", cursive;
  font-size: 1.2rem;
  line-height: 0.95;
}

.prototype-card .button {
  min-height: 42px;
  margin-top: auto;
}

.prototype-card .card-copy {
  min-height: 3.2em;
}

.prototype-card-loading {
  pointer-events: none;
}

.prototype-card-thumb-skeleton,
.prototype-card-line,
.prototype-card-button-skeleton {
  background: linear-gradient(
    90deg,
    rgba(233, 215, 227, 0.72) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(233, 215, 227, 0.72) 100%
  );
  background-size: 220% 100%;
  animation: prototype-skeleton-shimmer 1.35s ease-in-out infinite;
}

.prototype-card-thumb-skeleton {
  width: 100%;
  height: 100%;
}

.prototype-card-line {
  border-radius: 999px;
  height: 14px;
}

.prototype-card-line-title {
  width: 72%;
  height: 18px;
}

.prototype-card-line-copy {
  width: 100%;
}

.prototype-card-line-copy-short {
  width: 74%;
}

.prototype-card-button-skeleton {
  width: 112px;
  height: 42px;
  border-radius: 18px;
  margin-top: auto;
}

@keyframes prototype-skeleton-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.prototype-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(232, 62, 142, 0.1);
  color: var(--berry);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 24px;
  padding: 18px 20px;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-legal {
  display: grid;
  gap: 6px;
  text-align: center;
  justify-items: center;
  width: 100%;
  max-width: 840px;
}

.footer-legal p {
  margin: 0;
}

body.has-cookie-modal-open {
  overflow: hidden;
}

.cookie-consent-banner {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 70;
}

.cookie-consent-banner__content,
.cookie-consent-modal__panel {
  background: rgba(255, 248, 252, 0.98);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(94, 28, 102, 0.26);
  backdrop-filter: blur(10px);
}

.cookie-consent-banner__content {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  gap: 18px;
  align-items: center;
}

.cookie-consent-banner__copy h2,
.cookie-consent-category h3,
.cookie-consent-modal__head h2 {
  margin: 0 0 8px;
}

.cookie-consent-banner__copy p,
.cookie-consent-category p {
  margin: 0;
}

.cookie-consent-banner__actions,
.cookie-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cookie-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(54, 17, 63, 0.34);
}

.cookie-consent-modal__panel {
  position: relative;
  width: min(680px, calc(100vw - 36px));
  padding: 22px;
  display: grid;
  gap: 16px;
}

.cookie-consent-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-consent-modal__close {
  min-width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(232, 62, 142, 0.12);
  color: var(--berry);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.cookie-consent-category--toggle {
  cursor: pointer;
}

.cookie-consent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(232, 62, 142, 0.12);
  font-size: 0.92rem;
  font-weight: 600;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch__track {
  position: relative;
  width: 58px;
  height: 34px;
  border-radius: 999px;
  background: rgba(109, 63, 112, 0.22);
  transition: background 160ms ease;
}

.cookie-switch__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 8px rgba(53, 16, 56, 0.18);
  transition: transform 160ms ease;
}

.cookie-switch input:checked + .cookie-switch__track {
  background: linear-gradient(180deg, #ff6bb4, #e7358d);
}

.cookie-switch input:checked + .cookie-switch__track::after {
  transform: translateX(24px);
}

.content-grid {
  margin-top: 20px;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.62fr);
  align-items: start;
}

.prototype-stage-panel,
.feedback-panel,
.info-panel,
.admin-card,
.thanks-card {
  padding: 22px;
}

.instructions-card,
.prototype-note,
.status-banner {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
}

.stage-wrap {
  --prototype-authored-width: 393px;
  --prototype-authored-height: 852px;
  --prototype-offset-x: 0px;
  --prototype-offset-y: 0px;
  --prototype-scale: 1;
  --fitted-width: 100%;
  --fitted-height: min(75svh, 852px);
  margin-top: 18px;
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 16px;
}

.prototype-frame {
  width: min(100%, var(--fitted-width));
  height: var(--fitted-height);
  border-radius: 36px;
  padding: clamp(8px, 1.4vw, 12px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249, 238, 244, 0.95));
  box-shadow: 0 20px 50px rgba(94, 28, 102, 0.18);
  overflow: hidden;
}

.prototype-canvas {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: white;
  position: relative;
}

.prototype-frame iframe {
  width: var(--prototype-authored-width);
  height: var(--prototype-authored-height);
  position: absolute;
  top: calc(-1 * var(--prototype-offset-y));
  left: calc(-1 * var(--prototype-offset-x));
  border: 0;
  border-radius: 26px;
  background: white;
  transform: scale(var(--prototype-scale));
  transform-origin: top left;
}

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

.question-label {
  font-weight: 600;
  font-size: 1rem;
}

.status-banner {
  margin-top: 12px;
}

.status-banner.is-error,
.inline-status.is-error {
  color: #8a1d46;
}

.status-banner.is-success,
.inline-status.is-success {
  color: #1d7d56;
}

.inline-status {
  min-height: 1.4em;
}

.reaction-panel {
  display: grid;
  gap: 18px;
}

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

.reaction-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  border: 0;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.reaction-button:hover,
.reaction-button:focus-visible {
  transform: translateY(-1px);
}

.reaction-button:disabled,
#interestButton:disabled {
  cursor: default;
}

.reaction-button-like {
  color: #fff;
  background: linear-gradient(180deg, #71d36b 0%, #38ad52 100%);
  box-shadow: 0 12px 24px rgba(56, 173, 82, 0.24);
}

.reaction-button-dislike {
  color: #fff;
  background: linear-gradient(180deg, #ff7b88 0%, #df4258 100%);
  box-shadow: 0 12px 24px rgba(223, 66, 88, 0.24);
}

.reaction-button.is-selected {
  transform: translateY(-2px) scale(1.01);
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: -4px;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.35),
    0 16px 28px rgba(94, 28, 102, 0.22);
  filter: saturate(1.06) brightness(1.03);
}

.reaction-button:disabled:not(.is-selected) {
  opacity: 0.68;
  filter: grayscale(0.12);
  box-shadow: none;
}

.reaction-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.interest-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.interest-label {
  margin: 0;
}

#interestButton.is-registered {
  color: #5d6070;
  text-shadow: none;
  border-color: #bcc2d1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.2)),
    linear-gradient(180deg, #e1e5ee 0%, #c2c9d8 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    0 6px 14px rgba(132, 142, 164, 0.16);
}

#interestButton.is-registered:disabled {
  opacity: 1;
}

.reaction-actions {
  display: flex;
  justify-content: center;
}

.thanks-shell {
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.subpage-main {
  width: 100%;
  margin: 22px auto 0;
}

.subpage-header {
  padding-bottom: 26px;
}

.subpage-hero {
  width: min(760px, 100%);
  margin: 18px auto 0;
  text-align: center;
  display: grid;
  gap: 10px;
}

.subpage-kicker {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(94, 28, 102, 0.78);
}

.subpage-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.95;
}

.subpage-copy {
  margin: 0;
  color: rgba(77, 77, 82, 0.9);
  font-size: 1.02rem;
  line-height: 1.6;
}

.thanks-card {
  width: min(620px, 100%);
  text-align: center;
}

.contact-card {
  width: 100%;
  text-align: left;
  display: grid;
  gap: 22px;
  padding: 26px 24px 30px;
}

.legal-card {
  gap: 16px;
  width: 100%;
}

.contact-card .prototype-guidelines,
.contact-form,
.legal-section,
.legal-card .prototype-guidelines {
  width: min(960px, 100%);
  justify-self: center;
}

.legal-section {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.legal-section .section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.05;
}

.legal-card .prototype-guidelines {
  padding: 18px 20px;
  border-radius: 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.contact-field {
  display: grid;
  gap: 10px;
}

.contact-form .field-label {
  font-weight: 600;
  font-size: 1.1rem;
  color: #4d4d52;
  margin-bottom: 0;
}

.contact-acknowledgment {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: #4d4d52;
}

.contact-form .contact-acknowledgment input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 6px;
  box-shadow: none;
  background: #fff;
}

.contact-acknowledgment span {
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(109, 110, 115, 0.18);
  border-radius: 30px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.96);
  color: #4d4d52;
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.contact-form textarea {
  min-height: 220px;
  resize: vertical;
  border-radius: 28px;
}

.contact-meta {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: -4px;
}

.contact-counter {
  color: rgba(77, 77, 82, 0.72);
}

.button-success {
  color: #fff;
  background: linear-gradient(180deg, #1ed18c 0%, #00b369 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    0 4px 0 #0e9156,
    0 10px 20px rgba(0, 129, 80, 0.2);
}

.contact-submit {
  min-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form .form-actions {
  padding-top: 4px;
  padding-bottom: 10px;
}

.admin-shell {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-brand img {
  width: 76px;
}

.admin-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-layout {
  margin-top: 20px;
}

.admin-card {
  padding: 24px;
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.admin-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-kpi {
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(156, 43, 102, 0.08);
}

.admin-kpi-compact {
  text-align: center;
  padding: 14px 12px;
}

.admin-kpi strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
}

.admin-kpi-name {
  font-size: 1.2rem !important;
  line-height: 1.2;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-filter {
  display: grid;
  gap: 6px;
  min-width: 150px;
}

.admin-filter span {
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-table-wrap {
  overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(156, 43, 102, 0.14);
  vertical-align: top;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(252, 239, 246, 0.98);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-table tbody tr:hover {
  background: rgba(232, 62, 142, 0.05);
}

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

.admin-actions,
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-thumbnail-preview {
  margin-top: 12px;
  width: min(180px, 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(79, 30, 104, 0.16);
}

.prototype-guidelines {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-compliance-banner {
  text-align: left;
  line-height: 1.55;
}

.admin-compliance-banner strong {
  display: block;
  margin-bottom: 4px;
}

.admin-form-section {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(156, 43, 102, 0.08);
}

.admin-form-section-head {
  display: grid;
  gap: 4px;
}

.admin-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-section-title {
  font-size: 1.75rem;
}

.field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.field-counter {
  font-size: 0.88rem;
  color: rgba(95, 41, 84, 0.76);
}

.admin-checklist {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-checklist.is-readonly {
  opacity: 0.72;
}

.admin-checklist .question-label {
  margin-bottom: 2px;
}

.admin-checklist-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: #4d4d52;
  line-height: 1.5;
}

.admin-checklist-item input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin: 2px 0 0;
}

.admin-source-chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-source-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(156, 43, 102, 0.14);
  color: var(--ink);
  cursor: pointer;
}

.admin-source-option strong {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(232, 62, 142, 0.12);
  font-size: 0.75rem;
  line-height: 1;
}

.admin-source-option-preferred {
  border-color: rgba(232, 62, 142, 0.22);
}

.admin-source-option input[type="radio"] {
  margin: 0;
}

.admin-publish-hint {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(95, 41, 84, 0.08);
  color: rgba(95, 41, 84, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
}

.admin-notice-card {
  padding: 18px 24px;
}

.admin-team-grid {
  align-items: start;
}

.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="number"],
.admin-form input[type="file"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(156, 43, 102, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 14px;
}

.admin-form textarea {
  min-height: 88px;
  resize: vertical;
}

.question-block {
  display: grid;
  gap: 8px;
}

.question-block.is-readonly input,
.question-block.is-readonly textarea,
.question-block.is-readonly select {
  opacity: 0.72;
  cursor: not-allowed;
}

@media (min-width: 1024px) {
  .admin-shell {
    width: min(1400px, calc(100% - 40px));
  }

  .admin-header {
    align-items: center;
  }

  .admin-brand img {
    width: 88px;
  }

  .admin-table th:first-child,
  .admin-table td:first-child {
    min-width: 220px;
  }
}

.admin-actions-compact {
  gap: 8px;
}

.admin-actions-inline {
  flex-wrap: nowrap;
  align-items: center;
}

.admin-metric-stack {
  display: grid;
  gap: 4px;
  min-width: 96px;
  font-size: 0.88rem;
  color: rgba(77, 77, 82, 0.88);
}

.button-compact {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.button-danger {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0)),
    linear-gradient(180deg, #ff7b88 0%, #d93b5d 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -3px 0 rgba(129, 16, 47, 0.25),
    0 10px 20px rgba(217, 59, 93, 0.2);
}

.button-icon-only {
  min-width: 38px;
  width: 38px;
  padding: 0;
}

.button-icon-only img {
  width: 18px;
  height: 18px;
  display: block;
}

.admin-preview-layout {
  display: grid;
  gap: 20px;
}

.admin-preview-card {
  display: grid;
  gap: 18px;
}

.admin-preview-intro {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.admin-zip-upload-panel,
.admin-zip-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-zip-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.admin-zip-progress-track {
  width: min(360px, 100%);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(95, 41, 84, 0.12);
}

.admin-zip-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6bb4 0%, #e7358d 55%, #ffd562 100%);
  transition: width 220ms ease;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(53, 16, 56, 0.42);
  backdrop-filter: blur(6px);
}

.admin-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 24px;
  display: grid;
  gap: 14px;
  border-radius: 28px;
  background: rgba(255, 248, 252, 0.98);
  border: 3px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 54px rgba(94, 28, 102, 0.26);
}

.admin-modal__panel h2,
.admin-modal__panel p {
  margin: 0;
}

.admin-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-preview-stage {
  justify-items: center;
}

.calendar-picker {
  position: relative;
}

.calendar-trigger {
  justify-content: space-between;
  min-width: min(100%, 360px);
}

.calendar-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 10;
  width: min(780px, calc(100vw - 80px));
  padding: 18px;
  display: grid;
  gap: 16px;
  background: rgba(255, 248, 252, 0.98);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(94, 28, 102, 0.2);
}

.calendar-popover-head,
.calendar-popover-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calendar-selection-summary {
  display: grid;
  gap: 4px;
  text-align: center;
}

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

.calendar-month {
  display: grid;
  gap: 10px;
}

.calendar-month-title {
  margin: 0;
  font-size: 1.02rem;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(97, 44, 99, 0.78);
}

.calendar-day {
  min-height: 42px;
  border: 1px solid rgba(225, 198, 219, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--berry-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.calendar-day.is-outside-month {
  opacity: 0.42;
}

.calendar-day.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-day.is-in-range {
  background: rgba(232, 62, 142, 0.12);
  border-color: rgba(232, 62, 142, 0.32);
}

.calendar-day.is-range-start,
.calendar-day.is-range-end {
  background: linear-gradient(180deg, #ff69b4, #e83e8e);
  color: #fff;
  border-color: transparent;
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 2px rgba(124, 63, 239, 0.22);
}

.split-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
}

.feedback-copy-box {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  border-radius: 16px;
}

@media (max-width: 960px) {
  .prototype-grid,
  .content-grid,
  .split-grid,
  .admin-grid.columns-4,
  .admin-grid.columns-3,
  .admin-grid.columns-2 {
    grid-template-columns: 1fr;
  }

  .calendar-months {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .admin-shell {
    width: min(100% - 14px, 1280px);
    padding-top: 8px;
  }

  .site-header,
  .site-panel,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-topbar {
    flex-direction: column;
    align-items: center;
  }

  .utility-actions,
  .admin-nav,
  .hero-actions {
    justify-content: center;
  }

  .prototype-frame {
    border-radius: 28px;
    padding: 8px;
  }

  .stage-wrap {
    --fitted-height: min(76svh, 820px);
  }

  .contact-meta {
    align-items: start;
  }

  .subpage-main {
    width: 100%;
  }

  .subpage-header {
    padding-bottom: 20px;
  }

  .subpage-hero {
    margin-top: 14px;
    gap: 8px;
  }

  .subpage-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .contact-card,
  .legal-card {
    width: 100%;
    padding: 22px 18px 24px;
  }

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

  .cookie-consent-banner {
    inset: auto 12px 12px;
  }

  .cookie-consent-banner__content,
  .cookie-consent-modal__panel {
    width: min(100%, calc(100vw - 24px));
  }

  .cookie-consent-banner__actions,
  .cookie-consent-modal__actions {
    flex-direction: column;
  }

  .cookie-consent-category,
  .cookie-consent-modal__head {
    align-items: start;
    flex-direction: column;
  }

}
