/*
  Ventures. Loaded only on Ventures pages, after site.css, whose tokens, type, buttons and
  .form field styles it builds on. Sections:
    1. Tokens        2. Shared bits (chips, pills, notices, flash, empty state, pager)
    3. Showcase      4. Listing page      5. For creators
    6. Creator studio (dashboard, editor)  7. Accounts (allauth)  8. Responsive
*/

/* 1. Tokens ---------------------------------------------------------------- */
.ventures-page {
  --v-surface: #fff;
  --v-radius: 22px;
  --v-radius-sm: 14px;
  --v-border: 1px solid rgba(20, 32, 51, 0.09);
  --v-shadow: 0 1px 2px rgba(10, 16, 32, 0.04), 0 18px 40px -24px rgba(10, 16, 32, 0.28);
  --v-shadow-hover: 0 1px 2px rgba(10, 16, 32, 0.05), 0 30px 60px -28px rgba(10, 16, 32, 0.42);
  --v-success: #1f7a4d;
  --v-success-bg: #e3f6ec;
  --v-warning: #8a5a00;
  --v-warning-bg: #fff3d6;
  --v-danger: #a21d1d;
  --v-danger-bg: #fde6e6;
  --v-info-bg: #eef0ff;
}

/* 2. Shared bits ----------------------------------------------------------- */
.muted {
  color: var(--muted);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 32, 51, 0.14);
  background: var(--v-surface);
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
a.chip:hover {
  border-color: var(--ink);
}
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip.is-static {
  background: rgba(83, 104, 255, 0.08);
  border-color: transparent;
  color: #3346d6;
}
.status-pill,
.interest-pill,
.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-pill {
  background: #eef0f4;
  color: #4a5568;
}
.status-in_review {
  background: var(--v-info-bg);
  color: #3346d6;
}
.status-live {
  background: var(--v-success-bg);
  color: var(--v-success);
}
.status-paused {
  background: #f1efe9;
  color: #6b6456;
}
.status-rejected {
  background: var(--v-warning-bg);
  color: var(--v-warning);
}
.interest-pill {
  background: rgba(114, 232, 183, 0.22);
  color: #16603f;
}
.notice {
  padding: 16px 20px;
  border-radius: var(--v-radius-sm);
  background: var(--v-info-bg);
  margin-bottom: 24px;
}
.notice-warning {
  background: var(--v-warning-bg);
  color: #5c3d00;
}
.fine-print,
.form-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.button-link {
  border: 0;
  background: none;
  padding: 0;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.danger,
.button-link.danger {
  color: var(--v-danger);
}
button.button {
  cursor: pointer;
}
button.button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.tick-list li {
  position: relative;
  padding-left: 28px;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 16px no-repeat,
    var(--blue);
}

/* Flash messages float above the page. */
.flash-stack {
  position: fixed;
  z-index: 150;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100% - 32px));
}
.flash {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: var(--v-radius-sm);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 20px 50px -20px rgba(10, 16, 32, 0.6);
  animation: flash-in 0.5s var(--ease-out);
}
.flash p {
  margin: 0;
  flex: 1;
  font-size: 14px;
}
.flash-success {
  border-left: 4px solid var(--mint);
}
.flash-error {
  border-left: 4px solid #ff8a8a;
}
.flash-warning {
  border-left: 4px solid var(--yellow);
}
.flash-close {
  border: 0;
  background: none;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.empty-state {
  text-align: center;
  padding: 64px 24px;
  border: 1.5px dashed rgba(20, 32, 51, 0.16);
  border-radius: var(--v-radius);
  background: rgba(255, 255, 255, 0.55);
}
.empty-state-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: 22px;
}
.empty-state h2 {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 18px 0 8px;
}
.empty-state p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 24px;
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}

/* 3. Showcase -------------------------------------------------------------- */
.ventures-hero {
  padding: 72px 0 40px;
}
.ventures-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: end;
}
.ventures-hero h1 {
  font-size: clamp(52px, 6.4vw, 96px);
  font-weight: 750;
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 18px 0 24px;
}
.ventures-steps {
  list-style: none;
  margin: 0;
  padding: 26px;
  display: grid;
  gap: 18px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
  box-shadow: var(--v-shadow);
}
.ventures-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.ventures-steps b {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--blue);
}
.showcase {
  padding-top: 24px;
}
.filter-panel {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
  box-shadow: var(--v-shadow);
}
.filter-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
}
.filter-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.showcase-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 20px;
  color: var(--muted);
}
.showcase-meta p {
  margin: 0;
}
.showcase-meta strong {
  color: var(--ink);
}
.venture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.venture-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--v-radius);
  overflow: hidden;
  background: var(--v-surface);
  border: var(--v-border);
  box-shadow: var(--v-shadow);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}
.venture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--v-shadow-hover);
}
.venture-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #1a2440, #3a4f7a);
}
.venture-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.venture-card:hover .venture-card-media img {
  transform: scale(1.035);
}
.venture-card-monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 110px;
  color: rgba(255, 255, 255, 0.85);
}
.stage-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.venture-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
  flex: 1;
}
.venture-card-body h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.venture-card-body p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.venture-card .text-link {
  margin-top: 8px;
}
.ventures-band {
  background: linear-gradient(125deg, var(--ink), #22344b);
  color: #fff;
  padding: 72px 0;
}
.ventures-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.ventures-band h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 12px 0 0;
}
.ventures-band h2 em,
.auth-aside h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  color: #9caaff;
}

/* 4. Listing page ---------------------------------------------------------- */
.preview-bar {
  background: var(--yellow);
  font-size: 14px;
}
.preview-bar .shell {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.listing-hero {
  padding: 40px 0 24px;
}
.crumbs {
  display: flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 28px;
}
.crumbs a:hover {
  color: var(--ink);
}
.listing-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.listing-hero h1 {
  font-size: clamp(48px, 5.6vw, 84px);
  font-weight: 750;
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 20px 0 18px;
}
.gallery {
  margin: 0;
}
.gallery-stage {
  border-radius: var(--v-radius);
  overflow: hidden;
  background: #eceae3;
  box-shadow: var(--v-shadow-hover);
  aspect-ratio: 16 / 10;
}
.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumbs a {
  flex: 0 0 96px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.6;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition:
    opacity 0.2s,
    outline-color 0.2s;
}
.gallery-thumbs a[aria-current],
.gallery-thumbs a:hover {
  opacity: 1;
}
.gallery-thumbs a[aria-current] {
  outline-color: var(--blue);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-body {
  padding-top: 48px;
}
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: start;
}
.listing-story {
  display: grid;
  gap: 44px;
}
.prose {
  font-size: 18px;
  line-height: 1.75;
  color: #2c3648;
  max-width: 680px;
}
.prose p {
  margin: 14px 0 0;
}
.highlight-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.highlight-list li {
  padding: 18px 20px;
  border-radius: var(--v-radius-sm);
  background: var(--v-surface);
  border: var(--v-border);
  font-weight: 700;
  line-height: 1.4;
}
.contact-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
  box-shadow: var(--v-shadow-hover);
}
.contact-card h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.contact-card p {
  margin: 0;
}
.contact-card .form {
  display: grid;
  gap: 14px;
}
.related-ventures {
  background: #f3f1ea;
}

/* 5. For creators ---------------------------------------------------------- */
.creators-hero .ventures-hero-grid {
  align-items: center;
}
.price-card {
  padding: 32px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
  box-shadow: var(--v-shadow-hover);
  display: grid;
  gap: 18px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}
.price strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price span {
  color: var(--muted);
  font-weight: 700;
}
.step-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step-card {
  padding: 28px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
}
.step-card b {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: var(--blue);
}
.step-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 18px 0 8px;
}
.step-card p {
  margin: 0;
  color: var(--muted);
}
.split-rules {
  padding-top: 0;
}
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.rule-card {
  padding: 36px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
  display: grid;
  gap: 16px;
  align-content: start;
}
.rule-card h3 {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin: 0;
}
.rule-card-dark {
  background: linear-gradient(145deg, var(--ink), #22344b);
  color: #fff;
  border: 0;
}
.rule-card-dark p {
  color: #bdc6d3;
  margin: 0;
}
.rule-card-dark .tick-list li::before {
  background-color: #9caaff;
}
.faq-shell {
  max-width: 820px;
}
.faq h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.05em;
  margin: 10px 0 24px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  max-width: 680px;
  margin: 12px 0 0;
}

/* 6. Creator studio -------------------------------------------------------- */
.dash {
  padding: 48px 0 96px;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.dash-head h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 14px 0 10px;
}
.dash-head .hero-lede {
  margin: 0;
  font-size: 17px;
}
.dash-head-actions {
  display: flex;
  gap: 12px;
}
.dash-tabs {
  display: flex;
  gap: 4px;
  margin: 32px 0 28px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.05);
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}
.dash-tabs a,
.dash-signout button {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  border: 0;
  background: none;
  cursor: pointer;
}
.dash-tabs a:hover,
.dash-signout button:hover {
  color: var(--ink);
}
.dash-tabs a[aria-current="page"] {
  background: var(--v-surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(10, 16, 32, 0.12);
}
.plan-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
  border-radius: var(--v-radius);
  background: linear-gradient(125deg, var(--ink), #22344b);
  color: #fff;
  margin-bottom: 20px;
}
.plan-panel h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 8px 0 6px;
}
.plan-panel p {
  margin: 0;
  color: #bdc6d3;
}
.plan-panel .kicker {
  color: #aeb9ca;
}
.plan-panel.is-active {
  background: var(--v-surface);
  color: var(--ink);
  border: var(--v-border);
}
.plan-panel.is-active p {
  color: var(--muted);
}
.plan-panel.is-active .kicker {
  color: var(--v-success);
}
.plan-panel .button-dark {
  background: #fff;
  color: var(--ink);
}
.plan-panel .form-note {
  color: #bdc6d3;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.stat {
  padding: 22px 24px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
}
.stat span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.dash-panel {
  padding: 24px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
}
.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dash-panel-head h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
}
.dash-panel .empty-state {
  padding: 40px 20px;
}
.listing-rows,
.enquiry-mini,
.enquiry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.listing-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.listing-row:first-child {
  border-top: 0;
}
.listing-row-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a2440, #3a4f7a);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
}
.listing-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-row-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.listing-row-title a {
  font-weight: 800;
  font-size: 17px;
}
.listing-row-main p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 14px;
}
.listing-row-stats {
  font-size: 12px;
  color: var(--muted);
}
.review-note {
  color: var(--v-warning) !important;
}
.listing-row-actions {
  display: flex;
  gap: 8px;
}
.listing-row-actions .button,
.editor-card .button {
  padding: 10px 16px;
  font-size: 14px;
}
.enquiry-mini li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.enquiry-mini li:first-child {
  border-top: 0;
}
.enquiry-mini .interest-pill {
  justify-self: start;
}
.enquiry-list {
  display: grid;
  gap: 16px;
}
.enquiry-card {
  padding: 24px 26px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
}
.enquiry-card header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.enquiry-card h2 {
  font-size: 19px;
  margin: 0 0 4px;
}
.enquiry-card > p {
  margin: 16px 0 18px;
  line-height: 1.7;
}
.enquiry-card a:not(.button) {
  font-weight: 700;
}
.import-card {
  max-width: 640px;
  padding: 40px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
  box-shadow: var(--v-shadow-hover);
}
.import-card h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin: 14px 0 22px;
}
.step-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--v-info-bg);
  color: #3346d6;
  font-size: 12px;
  font-weight: 800;
}
.import-form {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.editor-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.editor-form {
  display: grid;
  gap: 20px;
}
.editor-section {
  margin: 0;
  padding: 28px;
  border: var(--v-border);
  border-radius: var(--v-radius);
  background: var(--v-surface);
  display: grid;
  gap: 18px;
  min-width: 0;
}
.editor-section legend {
  float: left;
  width: 100%;
  padding: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.editor-section legend b {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.editor-section legend .muted {
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
}
.editor-section legend + * {
  clear: both;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.image-manager {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.image-manager li {
  border-radius: var(--v-radius-sm);
  overflow: hidden;
  border: var(--v-border);
  background: var(--paper);
}
.image-manager img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.image-manager-controls {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 13px;
}
.editor-aside {
  position: sticky;
  top: 96px;
}
.editor-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
  box-shadow: var(--v-shadow);
}
.editor-card form {
  display: grid;
}
.editor-card .button {
  width: 100%;
}
.checklist {
  padding: 14px 16px;
  border-radius: var(--v-radius-sm);
  background: var(--paper);
  font-size: 13px;
}
.checklist ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--v-warning);
}
.checklist .ok {
  margin: 8px 0 0;
  color: var(--v-success);
  font-weight: 700;
}

/* Form details shared by Ventures and account pages (base field styles live in site.css .form). */
.form :is(input, textarea, select) {
  font-weight: 400;
}
.form .field-help {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235e6879' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form input[type="file"] {
  font-size: 14px;
  padding: 14px;
  border: 1.5px dashed rgba(20, 32, 51, 0.2);
  border-radius: 12px;
  background: var(--paper);
  width: 100%;
}
.field-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 600 !important;
  cursor: pointer;
}
.field-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

/* 7. Accounts (allauth) ---------------------------------------------------- */
.auth-shell {
  padding: 56px 0 96px;
}
.auth-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.auth-aside {
  padding: 44px;
  border-radius: var(--v-radius);
  background: linear-gradient(145deg, var(--ink), #22344b);
  color: #fff;
  display: grid;
  gap: 22px;
  align-content: start;
}
.auth-aside h2 {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0;
}
.auth-aside p {
  color: #bdc6d3;
  margin: 0;
}
.auth-aside a {
  color: #fff;
  font-weight: 700;
}
.auth-card {
  padding: 44px;
  border-radius: var(--v-radius);
  background: var(--v-surface);
  border: var(--v-border);
  box-shadow: var(--v-shadow-hover);
}
.auth-title {
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -0.05em;
  margin: 0 0 10px;
}
.auth-subtitle {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 24px 0 10px;
}
.auth-text {
  color: var(--muted);
  margin: 0 0 18px;
}
.auth-text a,
.auth-card a:not(.button) {
  color: var(--blue);
  font-weight: 700;
}
.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.auth-panel + .auth-panel {
  border-top: 1px solid var(--line);
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

/* 8. Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .venture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .listing-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
  }
}
@media (max-width: 900px) {
  .ventures-hero-grid,
  .listing-hero-grid,
  .listing-layout,
  .rules-grid,
  .dash-grid,
  .editor-layout,
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .ventures-hero {
    padding-top: 40px;
  }
  .contact-card,
  .editor-aside {
    position: static;
  }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .ventures-band-inner,
  .dash-head,
  .plan-panel {
    flex-direction: column;
    align-items: start;
  }
  .auth-aside {
    order: 2;
  }
}
@media (max-width: 640px) {
  .venture-grid,
  .stat-row,
  .highlight-list,
  .field-pair {
    grid-template-columns: 1fr;
  }
  .filter-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .filter-panel .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .chip {
    white-space: nowrap;
  }
  .listing-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .listing-row-actions {
    grid-column: 1 / -1;
  }
  .import-card,
  .auth-card,
  .auth-aside,
  .editor-section,
  .price-card,
  .rule-card {
    padding: 24px;
  }
  .flash-stack {
    right: 16px;
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .venture-card,
  .venture-card-media img,
  .flash {
    transition: none;
    animation: none;
  }
  .venture-card:hover,
  .venture-card:hover .venture-card-media img {
    transform: none;
  }
}
