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

:root {
  --bg: #fbf4e8;
  --surface: rgba(255, 251, 245, 0.72);
  --surface-strong: rgba(255, 248, 239, 0.94);
  --line: rgba(78, 46, 23, 0.14);
  --ink: #21140d;
  --muted: #765949;
  --accent: #e85b2b;
  --accent-soft: #ffb861;
  --accent-alt: #0f6c73;
  --accent-dark: #093c45;
  --success: #1f7a56;
  --shadow: 0 24px 80px rgba(68, 32, 8, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 204, 121, 0.58), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 108, 115, 0.24), transparent 24%),
    linear-gradient(160deg, #fdf8ef 0%, #f6e7d5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(33, 20, 13, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 20, 13, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 82%);
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.dashboard-shell {
  width: min(1320px, calc(100% - 32px));
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 28px;
  backdrop-filter: blur(20px);
  background: rgba(255, 249, 242, 0.78);
  border: 1px solid rgba(78, 46, 23, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(91, 52, 23, 0.1);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 92px;
  flex: 0 0 auto;
}

.brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff7ef;
  font-weight: 800;
  background:
    linear-gradient(135deg, var(--accent-dark), var(--accent-alt) 48%, var(--accent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cart-pill,
.primary-button,
.ghost-button,
.danger-button,
.secondary-button,
.event-card button,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

[hidden] {
  display: none !important;
}

.cart-pill,
.primary-button {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff7ef;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 16px 28px rgba(232, 91, 43, 0.24);
}

.danger-button {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff7ef;
  background: linear-gradient(135deg, #7f1d1d, #dc2626);
  box-shadow: 0 16px 28px rgba(220, 38, 38, 0.18);
}

.cart-pill:hover,
.primary-button:hover,
.danger-button:hover,
.event-card button:hover,
.chip:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.ghost-button:disabled,
.danger-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.cart-pill span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
}

.hero,
.feature-strip,
.events-section,
.catalog-section,
.workflow-section,
.photographer-section {
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.photographer-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.96;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-text,
.section-head p,
.photographer-copy p {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.finder {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr) auto;
  gap: 14px;
  margin: 24px 0 28px;
}

.finder-field,
.sort-field {
  display: grid;
  gap: 8px;
}

.finder-field span,
.sort-field span {
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.finder input,
.finder select,
.sort-field select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 250, 246, 0.88);
}

.finder input:focus,
.finder select:focus,
.sort-field select:focus {
  outline: 2px solid rgba(232, 91, 43, 0.28);
  outline-offset: 2px;
}

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

.hero-metrics article,
.workflow-grid article,
.benefit-stack article {
  padding: 18px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 22px;
  background: rgba(255, 249, 244, 0.72);
}

.hero-metrics strong,
.workflow-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.hero-metrics span {
  color: var(--muted);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 191, 102, 0.88), transparent 40%),
    linear-gradient(150deg, #0f4650 0%, #092931 58%, #28130b 100%);
}

.visual-card {
  position: absolute;
  border-radius: 28px;
  color: #fef9f2;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.visual-card-main {
  top: 28px;
  left: 28px;
  right: 72px;
  padding: 24px;
}

.visual-card-main strong,
.visual-card-floating strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 1.6rem;
}

.visual-label,
.visual-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
}

.visual-card-floating {
  right: 28px;
  bottom: 128px;
  width: min(270px, calc(100% - 56px));
  padding: 22px;
}

.visual-grid {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.swatch {
  min-height: 112px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.swatch-a {
  background:
    linear-gradient(165deg, rgba(255, 182, 91, 0.88), rgba(232, 91, 43, 0.56)),
    linear-gradient(45deg, #e8c074, #4f2c1c);
}

.swatch-b {
  background:
    radial-gradient(circle at 35% 25%, rgba(251, 245, 214, 0.72), transparent 22%),
    linear-gradient(145deg, #1c7883, #123843);
}

.swatch-c {
  background:
    linear-gradient(130deg, rgba(255, 145, 77, 0.84), rgba(255, 210, 136, 0.38)),
    linear-gradient(145deg, #5e1919, #1d1010);
}

.swatch-d {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.36), transparent 18%),
    linear-gradient(135deg, #1d3844, #062126);
}

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

.feature-strip article,
.event-card,
.photo-card,
.cart-drawer,
.preview-modal {
  border: 1px solid rgba(78, 46, 23, 0.1);
  background: var(--surface-strong);
}

.feature-strip article {
  padding: 18px;
  border-radius: 24px;
}

.feature-strip span,
.benefit-stack span {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-strip p,
.benefit-stack p,
.workflow-grid p,
.event-card p,
.photo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  max-width: 13ch;
}

.event-grid,
.workflow-grid,
.photographer-section {
  display: grid;
  gap: 18px;
}

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

.event-card {
  position: relative;
  padding: 22px;
  min-height: 260px;
  border-radius: 28px;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(10px);
}

.event-card span {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.3);
}

.event-card h3,
.workflow-grid h3,
.photo-card h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.event-card button {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.accent-sun {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 240, 200, 0.76), transparent 22%),
    linear-gradient(150deg, #f39a3a, #cd5f1d 55%, #672a18);
  color: #fff9f4;
}

.accent-sea {
  background:
    radial-gradient(circle at 80% 18%, rgba(230, 255, 255, 0.7), transparent 22%),
    linear-gradient(150deg, #50b6c5, #1f7483 55%, #0a3237);
  color: #f6fffe;
}

.accent-night {
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 214, 126, 0.56), transparent 20%),
    linear-gradient(150deg, #342b75, #131636 60%, #120b18);
  color: #f7f6ff;
}

.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

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

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 248, 241, 0.86);
}

.chip.is-active {
  color: #fff9f2;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

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

.photo-card {
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(91, 52, 23, 0.08);
}

.photo-card-media {
  position: relative;
  min-height: 290px;
  padding: 18px;
  background: var(--card-background);
}

.photo-card-media::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 24%, rgba(0, 0, 0, 0.08)),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.35), transparent 18%);
}

.photo-card-badges,
.photo-card-meta,
.preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo-card-badges span,
.photo-card-meta span,
.preview-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
}

.photo-card-badges {
  position: relative;
  z-index: 1;
}

.photo-card-copy {
  padding: 18px;
}

.photo-card-copy p {
  margin: 0 0 16px;
}

.photo-card-meta {
  margin-bottom: 18px;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price-block {
  display: grid;
  gap: 3px;
}

.price-block small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-block strong {
  font-size: 1.25rem;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.card-actions button {
  padding: 11px 14px;
  border-radius: 999px;
}

.secondary-button {
  color: var(--ink);
  background: rgba(33, 20, 13, 0.06);
}

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

.workflow-grid article strong {
  color: var(--accent);
}

.photographer-section {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.benefit-stack {
  display: grid;
  gap: 14px;
}

.photographer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.cart-drawer {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 30;
  width: min(360px, calc(100% - 24px));
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(27, 18, 11, 0.18);
  transform: translateX(calc(100% + 36px));
  transition: transform 220ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-head,
.cart-summary,
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
}

.cart-row {
  padding: 14px;
  border-radius: 20px;
  background: rgba(33, 20, 13, 0.04);
}

.cart-row strong {
  display: block;
}

.cart-row small,
.empty-cart {
  color: var(--muted);
}

.ghost-button {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(33, 20, 13, 0.06);
}

.wide-button {
  width: 100%;
  justify-content: center;
}

.preview-modal {
  width: min(980px, calc(100% - 20px));
  padding: 0;
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(19, 15, 12, 0.26);
}

.preview-modal::backdrop {
  background: rgba(24, 18, 14, 0.5);
  backdrop-filter: blur(6px);
}

.preview-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.preview-modal[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
}

.preview-media {
  min-height: 420px;
  background: var(--preview-background);
}

.preview-copy {
  padding: 42px 28px 28px;
}

.preview-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.preview-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.preview-meta {
  margin: 22px 0;
}

.preview-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-actions strong {
  font-size: 1.5rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
  background: rgba(33, 20, 13, 0.04);
}

.dashboard-body {
  background:
    radial-gradient(circle at top left, rgba(255, 204, 121, 0.42), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(41, 148, 161, 0.2), transparent 24%),
    linear-gradient(170deg, #fdf8ef 0%, #f2e4d4 100%);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.dashboard-sidebar,
.dashboard-main {
  display: grid;
  gap: 18px;
}

.surface-panel,
.dashboard-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 249, 242, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.surface-inset {
  padding: 20px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 24px;
  background: rgba(255, 250, 246, 0.8);
}

.dashboard-profile {
  position: sticky;
  top: 108px;
  overflow: hidden;
  color: #fff8f1;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 196, 112, 0.48), transparent 24%),
    linear-gradient(155deg, #0e5660 0%, #09353b 55%, #25130d 100%);
}

.dashboard-profile::before {
  content: "";
  position: absolute;
  inset: auto -42px -42px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(4px);
}

.dashboard-profile > * {
  position: relative;
  z-index: 1;
}

.dashboard-profile h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
}

.dashboard-profile p {
  margin: 0;
  color: rgba(255, 248, 241, 0.82);
  line-height: 1.6;
}

.profile-tags,
.admin-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-tags {
  margin-top: 18px;
}

.profile-tags span,
.admin-event-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.profile-tags span {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
  display: grid;
  gap: 10px;
}

.sidebar-link {
  padding: 14px 16px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 18px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 249, 242, 0.74);
  transition: transform 180ms ease, background-color 180ms ease;
}

.sidebar-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 244, 235, 0.94);
}

.sidebar-note .note-list {
  display: grid;
  gap: 12px;
}

.sidebar-note article {
  padding: 16px;
  border-radius: 20px;
  background: rgba(33, 20, 13, 0.04);
}

.sidebar-note strong,
.queue-head h3,
.surface-inset h3,
.settlement-panel h3 {
  display: block;
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.sidebar-note p,
.panel-copy,
.queue-summary,
.sale-row small,
.upload-row small {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.dashboard-hero h2 {
  margin: 0 0 14px;
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.dashboard-hero-copy p:last-child {
  max-width: 56ch;
}

.hero-highlight {
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  border-radius: 26px;
  color: #fff7ef;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 224, 184, 0.32), transparent 20%),
    linear-gradient(145deg, #e67636, #aa461d 55%, #4b2118 100%);
}

.hero-highlight span,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-highlight span {
  background: rgba(255, 255, 255, 0.14);
}

.hero-highlight strong {
  font-size: 1.8rem;
  line-height: 1;
}

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

.stat-card {
  padding: 20px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 26px;
  background: rgba(255, 249, 242, 0.78);
  box-shadow: 0 14px 28px rgba(68, 32, 8, 0.08);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.stat-card small {
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-section-head {
  align-items: start;
  margin-bottom: 0;
}

.dashboard-section-head h2 {
  max-width: none;
}

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

.admin-event-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 28px;
  background: rgba(255, 251, 246, 0.84);
}

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

.admin-event-head h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.admin-event-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-event-stats article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(33, 20, 13, 0.04);
}

.admin-event-stats span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-event-stats strong {
  font-size: 1.06rem;
}

.admin-event-actions,
.upload-row-foot,
.sale-row,
.settlement-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-event-actions {
  flex-wrap: wrap;
}

.status-pill {
  font-weight: 700;
}

.status-published {
  color: #f4fff9;
  background: rgba(31, 122, 86, 0.86);
}

.status-processing {
  color: #0d3941;
  background: rgba(102, 211, 222, 0.42);
}

.status-draft {
  color: #6b3b21;
  background: rgba(255, 204, 128, 0.44);
}

.status-uploading {
  color: #3c2e7e;
  background: rgba(173, 167, 255, 0.38);
}

.status-ready {
  color: #fff8ef;
  background: rgba(232, 91, 43, 0.9);
}

.two-column-panel,
.sales-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.upload-dropzone {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 24px;
  border: 1.5px dashed rgba(78, 46, 23, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 212, 143, 0.38), transparent 22%),
    rgba(255, 247, 239, 0.82);
}

.queue-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.upload-queue-list,
.sales-list,
.settlement-lines {
  display: grid;
  gap: 12px;
}

.upload-row,
.sale-row {
  padding: 16px;
  border-radius: 20px;
  background: rgba(33, 20, 13, 0.04);
}

.upload-row {
  display: grid;
  gap: 12px;
}

.upload-row-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.upload-row strong,
.sale-row strong {
  display: block;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(33, 20, 13, 0.08);
}

.progress-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.sale-amount {
  text-align: right;
}

.settlement-panel {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 212, 144, 0.35), transparent 20%),
    rgba(255, 250, 246, 0.86);
}

.settlement-line {
  padding: 14px 0;
  border-bottom: 1px solid rgba(78, 46, 23, 0.08);
}

.settlement-line:last-of-type {
  border-bottom: 0;
}

@media (max-width: 1180px) {
  .dashboard-layout,
  .dashboard-hero,
  .two-column-panel,
  .sales-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-profile {
    position: static;
  }

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

@media (max-width: 1080px) {
  .hero,
  .photographer-section,
  .preview-modal[open] {
    grid-template-columns: 1fr;
  }

  .event-grid,
  .catalog-grid,
  .workflow-grid,
  .feature-strip,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 420px;
  }

  .section-head,
  .catalog-toolbar {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 840px) {
  .site-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 14px;
  }

  .topbar {
    top: 10px;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .finder,
  .hero-metrics,
  .feature-strip,
  .event-grid,
  .catalog-grid,
  .workflow-grid,
  .stats-grid,
  .admin-event-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .feature-strip,
  .events-section,
  .catalog-section,
  .workflow-section,
  .photographer-section,
  .surface-panel,
  .dashboard-panel,
  .surface-inset {
    padding: 20px;
    border-radius: 24px;
  }

  .dashboard-shell {
    width: min(100% - 20px, 1320px);
  }

  .dashboard-profile {
    top: auto;
  }

  .queue-head,
  .upload-row-head,
  .sale-row,
  .upload-row-foot,
  .settlement-line,
  .header-actions {
    flex-direction: column;
    align-items: start;
  }

  .hero-visual {
    min-height: 380px;
    padding: 18px;
  }

  .visual-card-main {
    left: 18px;
    right: 18px;
  }

  .visual-card-floating {
    left: 18px;
    right: 18px;
    bottom: 108px;
    width: auto;
  }

  .visual-grid {
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-copy {
    padding-top: 70px;
  }
}

.dashboard-body-soft {
  background: #f3f3f1;
}

.dashboard-body-soft::before {
  display: none;
}

.dashboard-topbar-minimal {
  position: relative;
  top: 0;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 24, 24, 0.06);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.dashboard-nav-minimal a {
  color: #696969;
  font-weight: 500;
}

.fotop-dashboard {
  display: grid;
  gap: 20px;
}

.dashboard-notice {
  padding: 16px 20px;
  border: 1px solid rgba(255, 122, 24, 0.18);
  border-radius: 24px;
  color: #c96e2c;
  background: #fbf3eb;
}

.dashboard-notice p {
  margin: 0;
  line-height: 1.6;
}

.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.fotop-card {
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.05);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06);
}

.statement-card {
  min-height: 430px;
}

.statement-head,
.events-card-head,
.statement-row,
.statement-footer,
.points-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.statement-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.statement-head h2,
.events-card-head h2,
.action-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.05;
}

.statement-visibility,
.text-link-button {
  padding: 0;
  border: 0;
  color: #6c6c74;
  background: transparent;
}

.statement-list {
  display: grid;
  gap: 24px;
  margin-bottom: 26px;
}

.statement-row span,
.statement-row strong {
  font-size: 1rem;
}

.statement-row span {
  color: #33343b;
}

.statement-row strong {
  color: #1d1e22;
  font-weight: 500;
}

.statement-footer {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 18px;
  color: #35363d;
  background: #eceef0;
}

.statement-footer strong {
  font-size: 1.1rem;
}

.events-card {
  overflow: hidden;
  padding: 0;
}

.events-card-head {
  padding: 24px 24px 18px;
  color: #ff6e14;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #ff6e14;
  border: 1px solid rgba(255, 110, 20, 0.35);
}

.events-mini-list {
  display: grid;
}

.mini-event-row {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.mini-event-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
  color: #43444c;
}

.mini-event-copy p {
  margin: 0;
  color: #73747d;
  line-height: 1.45;
}

.mini-event-date {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 10px;
  color: #246772;
  font-weight: 700;
  background: #cfe1e3;
}

.events-all-button {
  width: 100%;
  padding: 20px 24px;
  border: 0;
  color: #fff;
  text-align: left;
  font-weight: 700;
  background: linear-gradient(180deg, #ff7718, #ff6200);
}

.dashboard-side-stack {
  display: grid;
  gap: 16px;
}

.points-card {
  padding: 22px 26px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #2aa55f, #23767a);
  box-shadow: 0 10px 26px rgba(35, 118, 122, 0.18);
}

.points-card span,
.points-card strong,
.points-card small {
  color: inherit;
}

.points-card span {
  font-size: 0.98rem;
  font-weight: 700;
}

.points-card strong {
  margin-left: auto;
  font-size: 2rem;
  line-height: 1;
}

.points-card small {
  font-size: 2rem;
  line-height: 1;
}

.action-card {
  min-height: 170px;
}

.create-event-card {
  display: grid;
  place-items: center;
  gap: 18px;
}

.create-event-card h3 {
  width: 100%;
  color: #ff6e14;
  font-weight: 500;
}

.pulse-create-button {
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 2.2rem;
  background: #ff7a22;
  box-shadow:
    0 0 0 18px rgba(255, 122, 34, 0.06),
    0 0 0 36px rgba(255, 122, 34, 0.04);
}

.suggest-card {
  display: grid;
  align-items: center;
}

.text-link-button {
  color: #ff6e14;
  font-size: 1.1rem;
  text-align: left;
}

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

.shortcut-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 180px;
  padding: 28px 16px;
  text-align: center;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.05);
  box-shadow: 0 8px 22px rgba(20, 20, 20, 0.05);
}

.shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  color: #ff6e14;
  font-size: 1.7rem;
  border: 1.5px solid rgba(255, 110, 20, 0.9);
}

.shortcut-card strong {
  color: #676772;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: lowercase;
}

@media (max-width: 1180px) {
  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 840px) {
  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement-head,
  .events-card-head,
  .points-card,
  .statement-row,
  .statement-footer {
    align-items: start;
    flex-direction: column;
  }

  .points-card strong {
    margin-left: 0;
  }
}

.dashboard-body-refined {
  background:
    radial-gradient(circle at top left, rgba(255, 204, 121, 0.16), transparent 22%),
    linear-gradient(180deg, #f7f4ee 0%, #f1ede6 100%);
}

.dashboard-body-refined::before {
  display: none;
}

.dashboard-topbar-refined {
  position: sticky;
  top: 14px;
  padding: 12px 16px;
  background: rgba(255, 252, 248, 0.84);
  border: 1px solid rgba(36, 24, 18, 0.06);
  box-shadow: 0 12px 32px rgba(38, 20, 9, 0.06);
}

.dashboard-nav-refined a {
  color: #67574d;
}

.refined-dashboard {
  display: grid;
  gap: 18px;
}

.refined-hero,
.refined-panel,
.refined-stat-card,
.refined-shortcut-card {
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.82);
  box-shadow: 0 10px 26px rgba(49, 28, 12, 0.06);
}

.refined-panel,
.refined-stat-card,
.refined-shortcut-card,
.refined-hero {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.refined-panel:hover,
.refined-stat-card:hover,
.refined-shortcut-card:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 35, 18, 0.12);
  box-shadow: 0 16px 34px rgba(49, 28, 12, 0.08);
}

.refined-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  padding: 22px;
}

.refined-hero-copy h1 {
  margin: 0 0 14px;
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.refined-hero-copy p:last-child,
.hero-note-card p,
.refined-shortcut-card p,
.refined-list-item p,
.refined-muted {
  margin: 0;
  color: #72635a;
  line-height: 1.6;
}

.refined-hero-side {
  display: grid;
}

.hero-note-card {
  display: grid;
  align-content: end;
  gap: 10px;
  height: 100%;
  padding: 22px;
  border-radius: 26px;
  color: #fff8f3;
  background: linear-gradient(145deg, #0f5c64, #0c3942 55%, #2c1c16);
}

.hero-note-card span {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.86;
}

.hero-note-card strong {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-note-card p {
  color: rgba(255, 248, 243, 0.76);
  font-size: 0.94rem;
}

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

.dashboard-widget {
  position: relative;
}

.dashboard-widget-span-2 {
  grid-column: span 2;
}

.dashboard-optional-widget[hidden] {
  display: none !important;
}

.dashboard-widget.is-dragging {
  opacity: 0.62;
  transform: rotate(1deg) scale(0.99);
}

.dashboard-sortable-grid.is-sorting .dashboard-widget:not(.is-dragging) {
  transition: transform 160ms ease;
}

.widget-drag-handle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 12px;
  color: #8a786c;
  font-size: 0.98rem;
  line-height: 1;
  cursor: grab;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 10px 20px rgba(38, 20, 9, 0.06);
}

.dashboard-body-refined:not(.dashboard-edit-mode) .widget-drag-handle {
  opacity: 0;
  pointer-events: none;
}

.dashboard-body-refined.dashboard-edit-mode .dashboard-widget {
  outline: 1px dashed rgba(15, 92, 100, 0.16);
  outline-offset: 6px;
}

.widget-drag-handle:hover {
  color: #0f5c64;
  border-color: rgba(15, 92, 100, 0.18);
}

.widget-drag-handle:active {
  cursor: grabbing;
}

.refined-stat-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  padding-right: 56px;
  min-height: 112px;
}

.refined-stat-card span {
  color: #7b6a60;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.refined-stat-card strong {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}

.refined-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 16px;
}

.refined-panel {
  padding: 20px;
}

.refined-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-right: 48px;
}

.refined-panel-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
}

.refined-subtle-note {
  display: block;
  margin-top: 6px;
  color: #8a7a70;
  font-size: 0.88rem;
  line-height: 1.4;
}

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

.refined-statement-list,
.refined-events-list,
.refined-sales-list {
  display: grid;
  gap: 10px;
}

.refined-statement-row,
.refined-list-item,
.refined-statement-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.refined-statement-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(58, 35, 18, 0.08);
}

.refined-statement-row:last-child {
  border-bottom: 0;
}

.refined-statement-row span,
.refined-list-item strong {
  color: #2f241e;
}

.refined-statement-total {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(46, 28, 16, 0.05);
}

.refined-side-column {
  display: grid;
  gap: 16px;
}

.refined-list-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(58, 35, 18, 0.08);
}

.refined-list-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.refined-list-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.refined-list-copy {
  min-width: 0;
}

.refined-inline-action {
  margin-top: 14px;
  width: 100%;
}

.refined-list-item strong {
  display: block;
  margin-bottom: 4px;
}

.refined-event-thumb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 16px;
  color: #fff8f1;
  font-size: 0.8rem;
  font-weight: 800;
  background:
    radial-gradient(circle at top left, rgba(243, 160, 74, 0.34), transparent 28%),
    linear-gradient(145deg, #0f5c64, #0c3942 58%, #7f492f);
}

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

.refined-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  color: #0f5c64;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(15, 92, 100, 0.1);
}

.refined-quick-panel {
  display: grid;
  gap: 12px;
  padding-right: 56px;
}

.refined-quick-actions {
  display: grid;
  gap: 10px;
}

.refined-quick-button {
  justify-content: start;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  background: rgba(46, 28, 16, 0.05);
  box-shadow: inset 0 0 0 1px rgba(58, 35, 18, 0.04);
}

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

.refined-muted {
  font-size: 0.94rem;
}

.refined-price {
  color: #2f241e;
  font-weight: 700;
}

.refined-sale-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(58, 35, 18, 0.08);
}

.refined-sale-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.refined-sale-main strong {
  display: block;
  margin-bottom: 4px;
  color: #2f241e;
}

.refined-sale-main p,
.refined-sale-main small,
.refined-sale-side small {
  margin: 0;
  color: #72635a;
  line-height: 1.5;
}

.refined-sale-main small {
  display: block;
  font-size: 0.82rem;
}

.refined-sale-side {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex-shrink: 0;
}

.refined-chart-panel {
  display: grid;
  gap: 12px;
}

.refined-chart-total {
  color: #2f241e;
  font-size: 1rem;
  font-weight: 700;
}

.refined-chart-wrap {
  position: relative;
}

.refined-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  min-height: 190px;
  padding: 12px 0 6px;
}

.refined-chart-bar-wrap {
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 10px;
}

.refined-chart-bar-value {
  color: #72635a;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.3;
}

.refined-chart-bar {
  width: 100%;
  max-width: 62px;
  min-height: 24px;
  border: 0;
  border-radius: 18px 18px 8px 8px;
  cursor: pointer;
  background: linear-gradient(180deg, #f3a04a, #e76527 60%, #0f5c64 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.refined-chart-bar:hover,
.refined-chart-bar:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 18px rgba(15, 92, 100, 0.18);
}

.refined-chart-labels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.refined-chart-labels span {
  color: #7b6a60;
  font-size: 0.84rem;
  text-align: center;
}

.chart-tooltip {
  position: absolute;
  z-index: 5;
  width: min(320px, 84vw);
  padding: 14px;
  border: 1px solid rgba(58, 35, 18, 0.1);
  border-radius: 20px;
  color: #fdf9f5;
  background: rgba(25, 32, 34, 0.96);
  box-shadow: 0 18px 40px rgba(21, 16, 11, 0.2);
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.chart-tooltip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.chart-tooltip-head strong {
  font-size: 1rem;
}

.chart-tooltip-head span {
  color: #fffaf5;
  font-size: 0.95rem;
  font-weight: 700;
}

.chart-tooltip-caption {
  margin: 0 0 12px;
  color: rgba(253, 249, 245, 0.64);
  font-size: 0.78rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.chart-tooltip-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-tooltip-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.chart-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #fffaf5;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
}

.chart-tooltip-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.chart-event-name,
.chart-tooltip-copy small {
  color: rgba(253, 249, 245, 0.82);
  line-height: 1.4;
}

.chart-event-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.chart-event-note {
  font-size: 0.78rem;
  color: rgba(253, 249, 245, 0.58);
}

.chart-event-value {
  color: #fffaf5;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.refined-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.refined-shortcut-card {
  padding: 18px;
  padding-right: 56px;
  min-height: 118px;
}

.refined-shortcut-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.dashboard-editor-footer {
  display: grid;
  gap: 14px;
}

.dashboard-editor-toggle {
  justify-self: center;
  min-width: 280px;
}

.dashboard-editor-panel {
  display: grid;
  gap: 16px;
}

.dashboard-editor-panel[hidden] {
  display: none !important;
}

.dashboard-editor-options {
  display: grid;
  gap: 12px;
}

.dashboard-editor-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 20px;
  background: rgba(255, 250, 246, 0.84);
}

.dashboard-editor-option input {
  margin-top: 4px;
}

.dashboard-editor-option strong {
  display: block;
  margin-bottom: 4px;
  color: #2f241e;
}

.dashboard-editor-option p {
  margin: 0;
  color: #72635a;
  line-height: 1.55;
}

.dashboard-shortcut-link {
  cursor: pointer;
}

.dashboard-body-refined:not(.dashboard-edit-mode) .dashboard-shortcut-link:focus-visible {
  outline: 2px solid rgba(15, 92, 100, 0.3);
  outline-offset: 4px;
}

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

.subpage-hero {
  padding: 28px 30px;
  border: 1px solid rgba(36, 28, 21, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(238, 146, 55, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(11, 92, 101, 0.96), rgba(24, 37, 39, 0.94));
  box-shadow: 0 22px 46px rgba(28, 23, 20, 0.12);
}

.subpage-hero .eyebrow,
.subpage-hero h1,
.subpage-hero p {
  color: #fffaf5;
}

.subpage-hero .eyebrow {
  opacity: 0.74;
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.06;
}

.subpage-hero > p:last-child {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 250, 245, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.subpage-grid {
  display: grid;
  gap: 18px;
}

.subpage-grid.two-col {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
}

.subpage-grid.one-col {
  grid-template-columns: minmax(0, 1fr);
}

.subpage-list,
.subpage-bullets,
.subpage-orders,
.subpage-finance,
.subpage-fields,
.subpage-form-preview {
  display: grid;
  gap: 12px;
}

.subpage-form,
.subpage-actions-stack {
  display: grid;
  gap: 14px;
}

.subpage-stepper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.subpage-step {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 18px;
  color: #776961;
  background: #fbf7f2;
}

.subpage-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fffaf5;
  font-size: 0.82rem;
  font-weight: 700;
  background: #cdbfb4;
}

.subpage-step strong {
  font-size: 0.95rem;
}

.subpage-step.is-active {
  border-color: rgba(15, 92, 100, 0.18);
  color: #1f1a17;
  background: rgba(15, 92, 100, 0.06);
}

.subpage-step.is-active span {
  background: #0f5c64;
}

.subpage-step-panel {
  display: none;
  gap: 16px;
}

.subpage-step-panel.is-active {
  display: grid;
}

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

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

.subpage-choice-card {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 20px;
  cursor: pointer;
  background: #fbf7f2;
}

.subpage-choice-card input {
  margin-top: 3px;
}

.subpage-choice-copy {
  display: grid;
  gap: 6px;
}

.subpage-choice-copy strong {
  color: #221a16;
  font-size: 1rem;
}

.subpage-choice-copy small {
  color: #6e6158;
  line-height: 1.5;
}

.subpage-field {
  display: grid;
  gap: 8px;
}

.subpage-field span {
  color: #6c5f57;
  font-size: 0.88rem;
  font-weight: 600;
}

.subpage-field input,
.subpage-field select,
.subpage-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(58, 35, 18, 0.12);
  border-radius: 16px;
  color: #221a16;
  background: #fbf7f2;
  font: inherit;
}

.subpage-field select {
  padding-right: 52px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #4d413a 50%),
    linear-gradient(135deg, #4d413a 50%, transparent 50%),
    linear-gradient(180deg, rgba(15, 92, 100, 0.08), rgba(233, 120, 58, 0.08));
  background-position:
    calc(100% - 22px) calc(50% - 4px),
    calc(100% - 16px) calc(50% - 4px),
    calc(100% - 40px) 50%;
  background-size:
    7px 7px,
    7px 7px,
    1px 60%;
  background-repeat: no-repeat;
}

.subpage-field textarea {
  resize: vertical;
}

.subpage-field input:focus,
.subpage-field select:focus,
.subpage-field textarea:focus {
  border-color: rgba(15, 92, 100, 0.48);
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 92, 100, 0.1);
}

.subpage-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.create-event-actions {
  margin-top: 4px;
}

.create-event-actions .create-event-primary,
.create-event-actions .create-event-secondary {
  min-width: 138px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.create-event-actions .create-event-primary {
  color: #fffaf5;
  background: linear-gradient(135deg, #1f4147 0%, #0f5c64 42%, #e9783a 100%);
  box-shadow:
    0 16px 28px rgba(15, 92, 100, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.create-event-actions .create-event-primary:hover {
  box-shadow:
    0 18px 34px rgba(15, 92, 100, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.create-event-actions .create-event-secondary {
  border: 1px solid rgba(58, 35, 18, 0.08);
  color: #4d413a;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 238, 230, 0.94));
  box-shadow:
    0 10px 20px rgba(58, 35, 18, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.create-event-actions .create-event-secondary:hover {
  border-color: rgba(15, 92, 100, 0.14);
  color: #1f3f45;
  box-shadow:
    0 14px 24px rgba(15, 92, 100, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.subpage-list-item,
.subpage-order-row,
.subpage-finance > div,
.subpage-fields > div,
.subpage-form-preview > div,
.subpage-bullets p {
  padding: 16px 18px;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 18px;
  background: #fbf7f2;
}

.subpage-list-item strong,
.subpage-order-row strong,
.subpage-finance strong,
.subpage-fields strong,
.subpage-form-preview strong {
  display: block;
  color: #221a16;
}

.subpage-list-item p,
.subpage-order-row p {
  margin: 6px 0 0;
  color: #75675e;
  line-height: 1.5;
}

.subpage-bullets p {
  margin: 0;
  color: #50443e;
  line-height: 1.6;
}

.subpage-order-row,
.subpage-finance > div,
.subpage-fields > div,
.subpage-form-preview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.subpage-order-row span,
.subpage-finance span,
.subpage-fields span,
.subpage-form-preview span {
  color: #85756a;
  font-size: 0.88rem;
}

.subpage-order-row > span,
.subpage-finance strong {
  flex-shrink: 0;
  color: #0f5c64;
  font-weight: 700;
}

.subpage-inline-link {
  flex-shrink: 0;
}

.subpage-list-item-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-feedback {
  margin: 0;
  color: #0f5c64;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback-wrap {
  min-height: 24px;
}

.subpage-avatar-editor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.subpage-avatar-preview,
.public-profile-preview-avatar,
.public-profile-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 18%, rgba(246, 176, 90, 0.26), transparent 18%),
    linear-gradient(145deg, #20494f, #102c31 58%, #8d4c2b 100%);
}

.subpage-avatar-preview,
.public-profile-preview-avatar {
  width: 88px;
  height: 88px;
}

.public-profile-avatar {
  width: 124px;
  height: 124px;
  border-radius: 32px;
}

.subpage-avatar-preview span,
.public-profile-preview-avatar span,
.public-profile-avatar span {
  color: rgba(255, 250, 245, 0.9);
  font-size: 1.2rem;
  font-weight: 800;
}

.subpage-avatar-preview img,
.public-profile-preview-avatar img,
.public-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subpage-avatar-actions {
  display: grid;
  gap: 8px;
}

.subpage-avatar-actions small {
  color: #74665d;
  line-height: 1.5;
}

.public-profile-preview-card {
  display: grid;
  gap: 16px;
}

.public-profile-preview-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.public-profile-preview-copy {
  display: grid;
  gap: 4px;
}

.public-profile-preview-copy strong {
  color: #221a16;
  font-size: 1.05rem;
}

.public-profile-preview-copy p,
.public-profile-preview-bio {
  margin: 0;
  color: #6d6058;
  line-height: 1.6;
}

.public-profile-preview-links {
  display: grid;
  gap: 8px;
}

.public-profile-preview-links span {
  color: #0f5c64;
  font-size: 0.9rem;
  font-weight: 600;
}

.public-profile-hero {
  display: grid;
}

.public-profile-banner {
  display: grid;
  gap: 18px;
}

.public-profile-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.public-profile-copy p:last-child,
.public-profile-text {
  margin: 0;
  color: #5e534d;
  line-height: 1.7;
}

.public-profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.public-profile-hero-client {
  margin-bottom: 6px;
}

.public-profile-main-client {
  align-items: start;
  justify-content: space-between;
}

.public-profile-avatar-wrap {
  position: relative;
  display: grid;
  gap: 10px;
}

.public-profile-badge {
  position: absolute;
  right: -6px;
  bottom: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 241, 0.14);
  color: rgba(255, 248, 241, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.public-profile-copy-client {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.public-profile-copy-client .eyebrow {
  color: rgba(255, 248, 241, 0.72);
}

.public-profile-copy-client p:last-child,
.public-profile-copy-client .public-profile-text {
  color: rgba(255, 248, 241, 0.82);
}

.public-profile-actions-client .ghost-button,
.public-profile-actions-client .primary-button {
  min-height: 46px;
}

.public-profile-stats {
  margin-top: 22px;
}

.public-profile-stats span {
  display: grid;
  gap: 2px;
  min-width: 148px;
  padding: 14px 16px;
}

.public-profile-stats strong {
  color: #fff8f1;
  font-size: 1.22rem;
  line-height: 1;
}

.public-profile-stats small {
  color: rgba(255, 248, 241, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
}

.public-profile-section-grid {
  align-items: stretch;
}

.public-profile-featured-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #221a16;
}

.public-profile-featured-copy p {
  margin: 0;
  color: #6d6058;
  line-height: 1.6;
}

.public-profile-featured,
.public-profile-featured-card {
  height: 100%;
}

.public-profile-featured-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.78fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  background: #fffaf5;
  box-shadow: 0 16px 30px rgba(58, 35, 18, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.public-profile-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(15, 92, 100, 0.12);
}

.public-profile-featured-media {
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  color: #7f6f64;
  background:
    radial-gradient(circle at top left, rgba(233, 120, 58, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(15, 92, 100, 0.1), rgba(250, 243, 235, 0.96));
}

.public-profile-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-profile-featured-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
}

.public-profile-featured-copy span {
  color: #0f5c64;
  font-size: 0.86rem;
  font-weight: 700;
}

.public-profile-owner-panel {
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(250, 244, 237, 0.9)),
    #fffaf5;
}

.public-profile-owner-panel .refined-panel-head {
  align-items: center;
}

.refined-empty-state {
  border: 1px dashed rgba(58, 35, 18, 0.12);
  border-radius: 20px;
  background: rgba(251, 247, 242, 0.86);
}

.refined-list-link {
  color: inherit;
  text-decoration: none;
}

.chart-tooltip-empty {
  grid-template-columns: minmax(0, 1fr);
}

.event-page-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.event-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.event-share-trigger {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: #fffaf5;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 250, 245, 0.06);
  box-shadow: 0 18px 30px rgba(17, 11, 8, 0.12);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.event-share-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 22px 34px rgba(17, 11, 8, 0.16);
}

.event-share-trigger-icon {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  color: #fffaf5;
  font-size: 1.15rem;
  font-weight: 700;
}

.event-share-trigger-copy {
  display: grid;
  gap: 4px;
}

.event-share-trigger-copy strong,
.event-share-trigger-copy small {
  display: block;
}

.event-share-trigger-copy strong {
  font-size: 1rem;
}

.event-share-trigger-copy small {
  color: rgba(255, 250, 245, 0.72);
  font-size: 0.82rem;
}

.event-share-secondary {
  background:
    linear-gradient(135deg, rgba(15, 92, 100, 0.08), rgba(226, 111, 62, 0.08)),
    rgba(255, 252, 247, 0.92);
  border-color: rgba(15, 92, 100, 0.12);
}

.event-share-secondary:hover {
  border-color: rgba(15, 92, 100, 0.2);
}

.event-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.84);
  box-shadow: 0 10px 26px rgba(49, 28, 12, 0.06);
}

.event-toolbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  padding: 0 16px;
  border-radius: 18px;
  color: #3a2b22;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  background: rgba(46, 28, 16, 0.05);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.event-toolbar-link:hover {
  transform: translateY(-1px);
  color: #0f5c64;
  background: rgba(15, 92, 100, 0.08);
}

.event-hero-chip {
  min-width: 160px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 250, 245, 0.09);
  backdrop-filter: blur(10px);
}

.event-hero-chip span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 250, 245, 0.7);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-hero-chip strong {
  color: #fffaf5;
  font-size: 1.1rem;
}

.event-page-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.event-cover-panel {
  display: grid;
  gap: 14px;
}

.event-cover-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.event-cover-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 1350 / 1080;
  min-height: 220px;
  max-height: 320px;
  overflow: hidden;
  border: 1px dashed rgba(58, 35, 18, 0.14);
  border-radius: 24px;
  color: #7f6f64;
  background:
    radial-gradient(circle at top left, rgba(233, 120, 58, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(245, 238, 230, 0.96));
}

.event-cover-preview span {
  font-size: 0.95rem;
  font-weight: 600;
}

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

.event-cover-hint {
  color: #7f6f64;
  font-size: 0.84rem;
  line-height: 1.5;
}

.event-cover-button {
  justify-self: start;
}

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

.event-upload-panel-actions {
  justify-items: start;
}

.event-upload-panel-actions p {
  margin: 0;
  color: #70635a;
  line-height: 1.6;
}

.event-upload-dropzone {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 22px;
  border: 1px dashed rgba(15, 92, 100, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(233, 120, 58, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(246, 240, 233, 0.98));
}

.event-upload-dropzone strong {
  color: #221a16;
  font-size: 1.02rem;
}

.event-upload-dropzone p {
  margin: 0;
  color: #70635a;
  line-height: 1.6;
}

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

.event-photo-grid-full {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.event-photo-card {
  overflow: hidden;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 22px;
  background: #fffaf5;
}

.event-photo-card-full .event-photo-media {
  aspect-ratio: 4 / 5;
}

.event-photo-media {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: rgba(15, 92, 100, 0.08);
}

.event-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.watermark-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}

.watermark-image-overlay img {
  width: min(86%, 520px);
  max-width: none;
  height: auto;
  display: block;
  opacity: 0.34;
  filter: drop-shadow(0 10px 18px rgba(21, 16, 11, 0.16));
}

.photo-watermark[data-watermark-position="top-left"] .watermark-image-overlay,
.watermark-preview-media[data-watermark-position="top-left"] .watermark-image-overlay {
  place-items: start;
}

.photo-watermark[data-watermark-position="top-right"] .watermark-image-overlay,
.watermark-preview-media[data-watermark-position="top-right"] .watermark-image-overlay {
  place-items: start end;
}

.photo-watermark[data-watermark-position="bottom-left"] .watermark-image-overlay,
.watermark-preview-media[data-watermark-position="bottom-left"] .watermark-image-overlay {
  place-items: end start;
}

.photo-watermark[data-watermark-position="bottom-right"] .watermark-image-overlay,
.watermark-preview-media[data-watermark-position="bottom-right"] .watermark-image-overlay {
  place-items: end;
}

.photo-watermark[data-watermark-position="center"] .watermark-image-overlay,
.watermark-preview-media[data-watermark-position="center"] .watermark-image-overlay {
  place-items: center;
}

.photo-watermark[data-watermark-position="top-left"] .watermark-image-overlay img,
.watermark-preview-media[data-watermark-position="top-left"] .watermark-image-overlay img,
.photo-watermark[data-watermark-position="top-right"] .watermark-image-overlay img,
.watermark-preview-media[data-watermark-position="top-right"] .watermark-image-overlay img,
.photo-watermark[data-watermark-position="bottom-left"] .watermark-image-overlay img,
.watermark-preview-media[data-watermark-position="bottom-left"] .watermark-image-overlay img,
.photo-watermark[data-watermark-position="bottom-right"] .watermark-image-overlay img,
.watermark-preview-media[data-watermark-position="bottom-right"] .watermark-image-overlay img {
  width: min(76%, 460px);
}

.watermark-preview-card {
  display: grid;
}

.watermark-preview-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  border-radius: 26px;
  color: rgba(255, 250, 245, 0.9);
  background:
    radial-gradient(circle at 20% 18%, rgba(246, 176, 90, 0.25), transparent 18%),
    linear-gradient(145deg, #20494f, #102c31 58%, #8d4c2b 100%);
}

.watermark-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.watermark-preview-info {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 0;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  max-width: calc(100% - 36px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: #fffaf5;
  background: rgba(16, 44, 49, 0.42);
  backdrop-filter: blur(10px);
}

.watermark-preview-info strong {
  font-size: 0.95rem;
}

.watermark-preview-info span {
  font-size: 0.8rem;
  color: rgba(255, 250, 245, 0.82);
}

.watermark-history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.watermark-history-inline {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(58, 35, 18, 0.08);
}

.watermark-history-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 22px;
  background: rgba(255, 250, 246, 0.88);
}

.watermark-history-media {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 180px;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(243, 160, 74, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(15, 92, 100, 0.08), rgba(250, 243, 235, 0.96));
}

.watermark-history-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(12, 22, 26, 0.42), rgba(12, 22, 26, 0.26)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 58%);
}

.watermark-history-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}

.watermark-history-copy {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
}

.watermark-history-copy strong {
  color: #2f241e;
  font-size: 0.92rem;
}

.watermark-history-copy p {
  margin: 0;
  color: #72635a;
  line-height: 1.5;
}

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

.pricing-inline-note,
.pricing-summary-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 20px;
  background: rgba(255, 250, 246, 0.84);
}

.pricing-inline-note strong,
.pricing-summary-card strong {
  color: #2f241e;
}

.pricing-inline-note p,
.pricing-summary-card span {
  margin: 0;
  color: #72635a;
  line-height: 1.55;
}

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

.pricing-preview-total {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 24px;
  color: #fff8f3;
  background: linear-gradient(145deg, #0f5c64, #0c3942 55%, #2c1c16);
}

.pricing-preview-total span {
  color: rgba(255, 248, 243, 0.76);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-preview-total strong {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
}

.pricing-preview-panel {
  margin-bottom: 0;
}

.event-photo-copy {
  display: grid;
  gap: 4px;
  padding: 12px 14px 14px;
}

.event-photo-copy strong {
  color: #221a16;
  font-size: 0.9rem;
  line-height: 1.4;
}

.event-photo-copy span {
  color: #7a6b61;
  font-size: 0.8rem;
}

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

.event-gallery-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 26px;
  color: inherit;
  text-decoration: none;
  background: #fffaf5;
  box-shadow: 0 16px 30px rgba(58, 35, 18, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(15, 92, 100, 0.12);
}

.event-gallery-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  color: #7f6f64;
  background:
    radial-gradient(circle at top left, rgba(233, 120, 58, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(15, 92, 100, 0.1), rgba(250, 243, 235, 0.96));
}

.event-gallery-media span {
  font-size: 0.92rem;
  font-weight: 700;
}

.event-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-gallery-copy {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.event-gallery-copy strong {
  color: #221a16;
  font-size: 1rem;
  line-height: 1.35;
}

.event-gallery-copy p {
  margin: 0;
  color: #75675e;
  font-size: 0.92rem;
}

.event-gallery-copy span {
  color: #0f5c64;
  font-size: 0.95rem;
  font-weight: 800;
}

.shop-hero {
  align-items: center;
}

.shop-summary-panel {
  align-content: start;
}

.shop-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shop-photo-card {
  overflow: hidden;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 24px;
  background: #fffaf5;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.shop-photo-card.is-selected {
  border-color: rgba(15, 92, 100, 0.26);
  box-shadow: 0 18px 28px rgba(15, 92, 100, 0.1);
}

.shop-photo-copy {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}

.shop-photo-copy strong {
  color: #221a16;
  font-size: 0.92rem;
}

.shop-photo-copy span {
  color: #0f5c64;
  font-weight: 800;
}

.shop-select-button {
  width: 100%;
}

.shop-summary-list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.shop-discount-panel {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(15, 92, 100, 0.12);
  border-radius: 20px;
  background: rgba(15, 92, 100, 0.05);
}

.shop-discount-panel strong {
  color: #1f1a17;
  font-size: 0.96rem;
}

.shop-discount-panel p {
  margin: 0;
  color: #5f554f;
  line-height: 1.5;
}

.shop-discount-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-discount-list span {
  padding: 8px 10px;
  border-radius: 999px;
  color: #0f5c64;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 250, 245, 0.88);
}

.shop-total-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.shop-total-row {
  padding: 0;
  border: 0;
  background: transparent;
}

.shop-payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.shop-payment-button {
  min-height: 46px;
  border-radius: 16px;
}

.shop-payment-button.is-active {
  color: #fffaf5;
  background: linear-gradient(135deg, #1f4147 0%, #0f5c64 42%, #e9783a 100%);
  box-shadow: 0 14px 26px rgba(15, 92, 100, 0.16);
}

.shop-photo-preview-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shop-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.shop-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 15, 12, 0.62);
  backdrop-filter: blur(6px);
}

.shop-preview-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  margin: 40px auto;
  padding: 18px;
  border-radius: 30px;
  background: #fffaf5;
  box-shadow: 0 26px 56px rgba(17, 15, 12, 0.26);
}

.shop-preview-close {
  margin-left: auto;
}

.shop-preview-media {
  min-height: 420px;
  margin-top: 14px;
  border-radius: 24px;
}

.shop-preview-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px 4px;
}

.shop-preview-copy strong {
  color: #221a16;
  font-size: 1rem;
}

.shop-preview-copy span {
  color: #0f5c64;
  font-weight: 800;
}

.event-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.event-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 9, 0.42);
  backdrop-filter: blur(6px);
}

.event-confirm-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(460px, calc(100vw - 32px));
  margin: min(18vh, 120px) auto 0;
  padding: 22px;
  border: 1px solid rgba(58, 35, 18, 0.08);
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 22px 44px rgba(21, 16, 11, 0.18);
}

.event-confirm-dialog h2,
.event-confirm-copy {
  margin: 0;
}

.event-confirm-copy {
  color: #72635a;
  line-height: 1.6;
}

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

.event-share-dialog {
  width: min(520px, calc(100vw - 32px));
  gap: 18px;
}

.event-share-link-wrap,
.event-share-qr-wrap {
  display: grid;
  gap: 10px;
}

.event-share-link-label {
  color: #5b4a3d;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-share-qr-head {
  display: grid;
  gap: 4px;
}

.event-share-qr-head small {
  color: #7a675b;
  line-height: 1.5;
}

.event-share-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(64, 44, 31, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.event-share-link-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(64, 44, 31, 0.12);
  border-radius: 18px;
  background: #fff;
  color: #2a201b;
  font: inherit;
}

.event-share-qr-box {
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(64, 44, 31, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(12, 105, 118, 0.1), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 242, 0.96)),
    #fff;
}

.event-share-qr-box img {
  display: block;
  width: min(240px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.event-share-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: #7c5c2e;
  line-height: 1.5;
  background: rgba(255, 214, 153, 0.28);
}

.event-discount-builder {
  display: grid;
  gap: 12px;
}

.event-discount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.event-discount-remove {
  min-height: 48px;
}

@media (max-width: 1180px) {
  .refined-hero,
  .refined-main-grid,
  .refined-lower-grid,
  .refined-stats,
  .refined-shortcuts {
    grid-template-columns: 1fr;
  }

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

  .subpage-grid.two-col {
    grid-template-columns: 1fr;
  }

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

  .subpage-form-grid {
    grid-template-columns: 1fr;
  }

  .subpage-choice-grid,
  .subpage-stepper {
    grid-template-columns: 1fr;
  }

  .event-share-link-box {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .shop-payment-methods {
    grid-template-columns: 1fr;
  }

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

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

  .dashboard-widget-span-2 {
    grid-column: auto;
  }

  .public-profile-main-client,
  .public-profile-featured-card {
    grid-template-columns: 1fr;
  }

  .public-profile-main-client {
    display: grid;
  }

  .public-profile-featured-media {
    min-height: 200px;
  }
}

@media (max-width: 980px) {
  .refined-stats,
  .refined-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .refined-panel-head,
  .refined-statement-row,
  .refined-list-item,
  .refined-sale-item,
  .refined-statement-total {
    align-items: start;
    flex-direction: column;
  }

  .refined-sale-side {
    justify-items: start;
  }

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

  .subpage-hero,
  .subpage-list-item,
  .subpage-order-row,
  .subpage-finance > div,
  .subpage-fields > div,
  .subpage-form-preview > div {
    padding: 18px;
  }

  .subpage-order-row,
  .subpage-finance > div,
  .subpage-fields > div,
  .subpage-form-preview > div {
    align-items: start;
    flex-direction: column;
  }

  .event-page-hero {
    align-items: start;
    flex-direction: column;
  }

  .event-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

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

  .subpage-list-item-inline {
    align-items: start;
    flex-direction: column;
  }

  .public-profile-main {
    align-items: start;
    flex-direction: column;
  }

  .public-profile-stats span {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .refined-stats,
  .refined-shortcuts,
  .refined-chart,
  .refined-chart-labels {
    grid-template-columns: 1fr;
  }

  .event-page-stats {
    grid-template-columns: 1fr;
  }

  .event-gallery-grid {
    grid-template-columns: 1fr;
  }

  .event-toolbar {
    grid-template-columns: 1fr;
  }

  .event-photo-grid {
    grid-template-columns: 1fr;
  }

  .event-photo-grid-full {
    grid-template-columns: 1fr;
  }

  .shop-gallery-grid {
    grid-template-columns: 1fr;
  }

  .shop-preview-copy {
    align-items: start;
    flex-direction: column;
  }

  .watermark-history-grid {
    grid-template-columns: 1fr;
  }

  .public-profile-actions-client {
    flex-direction: column;
  }

  .public-profile-actions-client .ghost-button,
  .public-profile-actions-client .primary-button {
    width: 100%;
    justify-content: center;
  }
}

body.home-landing {
  color: #1f218b;
  background: linear-gradient(90deg, #7f45ca 0%, #241688 26%, #ffffff 26%, #ffffff 100%);
}

body.home-landing::before {
  background-image: none;
  mask-image: none;
}

body.home-landing::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(204, 122, 255, 0.18), transparent 18%),
    radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.12), transparent 14%);
}

.landing-shell {
  width: min(1320px, calc(100% - 32px));
  padding: 26px 0 72px;
}

.landing-topbar,
.landing-hero,
.landing-band,
.landing-section {
  border: 1px solid rgba(31, 33, 139, 0.08);
  box-shadow: 0 24px 70px rgba(39, 24, 137, 0.08);
  backdrop-filter: blur(20px);
}

.landing-topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.login-brand {
  margin: 0 auto;
}

.landing-brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(180deg, #ab5ae5, #241688);
}

.landing-brand-logo {
  display: inline-flex;
  align-items: center;
  width: 124px;
}

.landing-brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.landing-brand-copy {
  display: grid;
  gap: 2px;
}

.landing-brand-copy strong {
  font-size: 1.06rem;
}

.landing-brand-copy small,
.landing-section-head p,
.landing-event-copy p,
.landing-photographers-copy p,
.landing-band p,
.landing-empty p,
.landing-steps-grid p {
  color: rgba(31, 33, 139, 0.68);
}

.landing-nav,
.landing-actions,
.landing-category-pills,
.landing-event-tags,
.landing-event-meta,
.landing-photographers-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-nav a,
.landing-link {
  color: rgba(31, 33, 139, 0.86);
  text-decoration: none;
}

.landing-button,
.landing-pill,
.landing-category-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  font: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.landing-button:hover,
.landing-pill:hover,
.landing-category-card:hover {
  transform: translateY(-1px);
}

.landing-button {
  padding: 12px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(180deg, #ab5ae5, #241688);
  box-shadow: 0 18px 35px rgba(80, 51, 188, 0.18);
}

.landing-button-secondary {
  color: #1f218b;
  background: rgba(171, 90, 229, 0.08);
  box-shadow: none;
}

.landing-hero,
.landing-band,
.landing-section {
  margin-bottom: 24px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 26px;
  padding: 34px;
  overflow: hidden;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(171, 90, 229, 0.12), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(36, 22, 136, 0.08), transparent 28%);
  pointer-events: none;
}

.landing-eyebrow {
  margin: 0 0 12px;
  color: #b865ea;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.landing-hero h1,
.landing-section-head h2,
.landing-photographers-copy h2 {
  margin: 0;
  color: #1f218b;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.94;
}

.landing-hero h1 span {
  display: block;
  color: #b865ea;
}

.landing-hero-text {
  max-width: 61ch;
  margin: 20px 0 0;
  color: rgba(31, 33, 139, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
}

.landing-search {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(180px, 0.75fr) auto;
  gap: 14px;
  margin: 26px 0 20px;
}

.landing-search-field {
  display: grid;
  gap: 8px;
}

.landing-search-field span {
  color: rgba(31, 33, 139, 0.74);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-search input,
.landing-search select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(31, 33, 139, 0.12);
  border-radius: 20px;
  color: #1f218b;
  background: #ffffff;
}

.landing-search input::placeholder {
  color: rgba(31, 33, 139, 0.42);
}

.landing-search input:focus,
.landing-search select:focus {
  outline: 2px solid rgba(184, 101, 234, 0.28);
  outline-offset: 2px;
}

.landing-pill {
  padding: 10px 16px;
  border-radius: 999px;
  color: #1f218b;
  background: rgba(171, 90, 229, 0.08);
}

.landing-pill.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #ab5ae5, #241688);
}

.landing-stats,
.landing-steps-grid,
.landing-photographers,
.landing-events-grid,
.landing-categories-grid,
.landing-band {
  display: grid;
  gap: 16px;
}

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

.landing-stats article,
.landing-band article,
.landing-steps-grid article,
.landing-photographers-stack article,
.hero-mini-card,
.hero-panel,
.hero-spotlight-card,
.landing-event-card,
.landing-category-card,
.landing-empty {
  border: 1px solid rgba(31, 33, 139, 0.08);
  background: #ffffff;
}

.landing-stats article {
  padding: 18px;
  border-radius: 24px;
}

.landing-stats strong {
  display: block;
  margin-bottom: 8px;
  color: #1f218b;
  font-size: 1.6rem;
}

.landing-hero-visual {
  position: relative;
  min-height: 640px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(171, 90, 229, 0.12), rgba(36, 22, 136, 0.08)),
    #ffffff;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(31, 33, 139, 0.12);
}

.hero-orbit-a {
  top: 58px;
  right: -84px;
  width: 320px;
  height: 320px;
}

.hero-orbit-b {
  bottom: 42px;
  left: -62px;
  width: 260px;
  height: 260px;
}

.hero-panel {
  position: absolute;
  left: 26px;
  right: 26px;
  padding: 22px;
  border-radius: 28px;
  backdrop-filter: blur(18px);
}

.hero-panel-main {
  top: 26px;
}

.hero-panel-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #b865ea;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(184, 101, 234, 0.08);
}

.hero-panel strong {
  display: block;
  margin: 10px 0 8px;
  color: #1f218b;
  font-size: 1.95rem;
}

.hero-panel p,
.hero-mini-card span,
.hero-spotlight-card small {
  color: rgba(31, 33, 139, 0.7);
}

.hero-mini-grid {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

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

.hero-mini-card strong {
  display: block;
  margin-top: 10px;
  color: #1f218b;
  font-size: 1.55rem;
}

.hero-spotlight-stack {
  position: absolute;
  right: 26px;
  top: 168px;
  width: min(240px, calc(100% - 52px));
  display: grid;
  gap: 12px;
}

.hero-spotlight-card {
  padding: 16px;
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
}

.hero-spotlight-card span,
.landing-event-tags span,
.landing-event-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(184, 101, 234, 0.08);
}

.hero-spotlight-card strong {
  display: block;
  margin: 12px 0 8px;
  color: #1f218b;
}

.landing-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px;
}

.landing-band article {
  padding: 18px;
  border-radius: 24px;
}

.landing-band span,
.landing-photographers-stack span {
  display: block;
  margin-bottom: 10px;
  color: #1f218b;
  font-weight: 700;
}

.landing-section {
  padding: 28px;
}

.landing-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.landing-section-head h2 {
  font-size: clamp(1.9rem, 3vw, 3.3rem);
  max-width: 13ch;
}

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

.landing-category-card {
  flex-direction: column;
  align-items: start;
  gap: 10px;
  min-height: 188px;
  padding: 20px;
  border-radius: 28px;
  color: #fff8ed;
  background:
    linear-gradient(180deg, rgba(171, 90, 229, 0.12), rgba(36, 22, 136, 0.06)),
    #ffffff;
}

.landing-category-card strong {
  font-size: 1.45rem;
}

.landing-category-card small {
  margin-top: auto;
  color: rgba(31, 33, 139, 0.7);
}

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

.landing-event-card {
  overflow: hidden;
  border-radius: 30px;
}

.landing-event-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.landing-event-media {
  position: relative;
  min-height: 230px;
  background: var(--event-gradient);
}

.landing-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-event-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(31, 33, 139, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 25%, rgba(36, 22, 136, 0.08)),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.4), transparent 16%);
  pointer-events: none;
}

.landing-event-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.landing-event-art span {
  display: inline-flex;
  align-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  color: #1f218b;
  background: rgba(255, 255, 255, 0.72);
}

.landing-event-art strong {
  max-width: 8ch;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 0.96;
}

.landing-event-copy {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.landing-event-copy-compact {
  gap: 12px;
}

.landing-event-copy h3 {
  margin: 0;
  color: #1f218b;
  font-size: 1.5rem;
}

.landing-event-copy p {
  margin: 0;
  line-height: 1.65;
}

.landing-event-link-label {
  color: #ffcf85;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-how-it-works {
  background:
    radial-gradient(circle at top left, rgba(184, 101, 234, 0.08), transparent 20%),
    rgba(255, 255, 255, 0.94);
}

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

.landing-steps-grid article,
.landing-photographers-stack article,
.landing-empty {
  padding: 20px;
  border-radius: 26px;
}

.landing-steps-grid strong {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(180deg, #ab5ae5, #241688);
}

.landing-steps-grid h3 {
  margin: 0 0 10px;
  color: #1f218b;
  font-size: 1.28rem;
}

.landing-photographers {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.landing-photographers-copy p {
  max-width: 58ch;
  line-height: 1.7;
}

.landing-photographers-stack {
  display: grid;
  gap: 14px;
}

.landing-empty {
  display: grid;
  gap: 12px;
}

.landing-empty strong {
  color: #1f218b;
  font-size: 1.1rem;
}

@media (max-width: 1180px) {
  .landing-topbar,
  .landing-section-head {
    align-items: start;
  }

  .landing-topbar,
  .landing-hero,
  .landing-photographers {
    grid-template-columns: 1fr;
  }

  .landing-topbar {
    position: static;
    display: grid;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .landing-search,
  .landing-band,
  .landing-stats,
  .landing-steps-grid,
  .hero-mini-grid,
  .landing-categories-grid,
  .landing-events-grid,
  .landing-photographers {
    grid-template-columns: 1fr;
  }

  .landing-hero,
  .landing-section {
    padding: 22px;
  }

  .landing-hero-visual {
    min-height: 680px;
  }

  .hero-panel,
  .hero-spotlight-stack,
  .hero-mini-grid {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    margin: 22px;
  }

  .hero-spotlight-stack {
    margin-top: 152px;
  }

  .landing-section-head {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .landing-shell {
    width: min(100% - 20px, 1320px);
    padding-top: 12px;
  }

  .landing-topbar,
  .landing-hero,
  .landing-section,
  .landing-band {
    border-radius: 26px;
  }

  .landing-hero h1,
  .landing-section-head h2,
  .landing-photographers-copy h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .landing-event-copy h3 {
    font-size: 1.3rem;
  }
}

.landing-shell-simple {
  max-width: 1180px;
}

.landing-topbar-simple {
  margin-bottom: 22px;
  justify-content: center;
}

.landing-main-simple {
  display: grid;
  gap: 22px;
}

.landing-footer-hidden {
  display: flex;
  justify-content: center;
  padding: 4px 0 16px;
}

.landing-footer-hidden a {
  color: rgba(31, 33, 139, 0.34);
  font-size: 0.74rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.landing-footer-hidden a:hover {
  color: rgba(31, 33, 139, 0.6);
}

.login-page-shell {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(560px, 100%);
  display: grid;
  gap: 24px;
  padding: 32px;
  border: 1px solid rgba(31, 33, 139, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(197, 146, 255, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(39, 24, 137, 0.08);
}

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

.login-copy h1 {
  margin: 0;
  color: #1f218b;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
}

.login-copy p:last-child {
  margin: 0;
  color: rgba(31, 33, 139, 0.72);
  line-height: 1.7;
}

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

.login-field {
  display: grid;
  gap: 8px;
}

.login-field span {
  color: rgba(31, 33, 139, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-field input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(31, 33, 139, 0.14);
  border-radius: 18px;
  color: #1f218b;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
}

.login-field input:focus {
  outline: none;
  border-color: rgba(92, 53, 216, 0.4);
  box-shadow: 0 0 0 4px rgba(183, 108, 255, 0.12);
}

.login-feedback {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: #8a2134;
  background: rgba(255, 229, 233, 0.95);
}

.users-form,
.users-list {
  display: grid;
  gap: 16px;
}

.users-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 22px;
  background: rgba(255, 250, 246, 0.82);
}

.users-item-copy {
  display: grid;
  gap: 6px;
}

.users-item-copy strong {
  font-size: 1.02rem;
}

.users-item-copy small {
  color: var(--muted);
  line-height: 1.5;
  word-break: break-word;
}

.users-item-actions {
  display: flex;
  justify-content: flex-end;
}

.landing-entry,
.landing-gallery {
  padding: 28px;
  border: 1px solid rgba(31, 33, 139, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(39, 24, 137, 0.08);
}

.landing-entry {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(197, 146, 255, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(250, 247, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 58%, rgba(249, 246, 255, 0.94) 100%);
}

.landing-entry-copy-wrap {
  display: grid;
  align-content: center;
  gap: 0;
  padding: 8px 4px;
  max-width: 52%;
  min-height: 280px;
  position: relative;
  z-index: 2;
}

.landing-entry h1,
.landing-gallery-head h2 {
  margin: 0;
  color: #1f218b;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.93;
  max-width: none;
}

.landing-entry-text {
  max-width: 54ch;
  margin: 16px 0 0;
  color: rgba(31, 33, 139, 0.72);
  line-height: 1.7;
}

.landing-entry-tools {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  max-width: 520px;
}

.landing-entry-search {
  display: grid;
  gap: 8px;
}

.landing-entry-search span {
  color: rgba(31, 33, 139, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-entry-search input,
.admin-inline-search input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(31, 33, 139, 0.14);
  border-radius: 18px;
  color: #1f218b;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

.landing-entry-search input:focus,
.admin-inline-search input:focus {
  outline: none;
  border-color: rgba(92, 53, 216, 0.4);
  box-shadow: 0 0 0 4px rgba(183, 108, 255, 0.12);
}

.landing-results-summary {
  margin: 0;
  color: rgba(31, 33, 139, 0.7);
  line-height: 1.5;
  min-height: 1.5em;
}

.landing-entry-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(31, 33, 139, 0.86);
  background: rgba(183, 108, 255, 0.14);
}

.landing-hero-stage {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
  overflow: hidden;
  border-radius: 0 32px 32px 0;
  display: flex;
  flex-direction: column;
}

.landing-hero-stage-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
}

.landing-hero-stage-copy strong {
  color: #1f218b;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.05;
}

.landing-hero-stage-copy p {
  max-width: 40ch;
  margin: 0;
  color: rgba(31, 33, 139, 0.72);
  line-height: 1.6;
}

.landing-motion-stage {
  flex: 1;
  height: 100%;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.landing-parallax-columns {
  display: flex;
  gap: 4px;
  height: 100%;
  transform: skewX(-7deg) scaleX(1.1);
  transform-origin: center center;
}

.landing-parallax-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.landing-parallax-col-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  will-change: transform;
  animation: parallax-col-up var(--col-duration, 44s) linear infinite;
}

.landing-parallax-col.is-reverse .landing-parallax-col-inner {
  animation-direction: reverse;
}

@keyframes parallax-col-up {
  to {
    transform: translateY(-50%);
  }
}

.landing-parallax-photo {
  flex: 0 0 244px;
  width: 100%;
  overflow: hidden;
}

.landing-parallax-photo img {
  width: 100%;
  height: 244px;
  object-fit: cover;
  display: block;
}

.landing-events-grid-simple {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
}

.landing-event-copy-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  min-height: 0;
}

.landing-gallery {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 255, 0.92)),
    #ffffff;
}

.landing-gallery::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #241688 0%, #5c35d8 45%, #b76cff 100%);
}

.landing-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.landing-event-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(31, 33, 139, 0.08);
  border-radius: 28px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 53, 216, 0.18);
  box-shadow: 0 24px 50px rgba(39, 24, 137, 0.12);
}

.landing-event-media {
  aspect-ratio: 4 / 5;
  min-height: 320px;
  position: relative;
  isolation: isolate;
  background: var(--event-gradient);
}

.landing-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.landing-event-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 44%);
  pointer-events: none;
  z-index: 1;
}

.landing-event-overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 8px;
  padding: 48px 20px 18px;
  background: linear-gradient(180deg, rgba(12, 8, 53, 0) 0%, rgba(12, 8, 53, 0.82) 58%, rgba(12, 8, 53, 0.96) 100%);
  z-index: 2;
}

.landing-event-kicker {
  display: inline-flex;
  justify-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.landing-event-overlay h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.08;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  max-width: 16ch;
}

.landing-event-overlay-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.4;
}

.landing-event-copy-simple p {
  margin: 0;
  color: #1f218b;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.landing-event-copy-simple::after {
  content: "Abrir";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #241688 0%, #7b4de3 100%);
}

@media (max-width: 860px) {
  body.home-landing {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(245, 243, 255, 0.18) 100%),
      url("./assets-fundo-mobile.png") center top / contain no-repeat,
      #ffffff;
  }

  body.home-landing::after {
    background: none;
  }

  .landing-entry,
  .landing-gallery {
    padding: 22px;
  }

  .landing-events-grid-simple {
    grid-template-columns: 1fr;
  }

  .landing-entry {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .landing-hero-stage {
    display: none;
  }

  .landing-entry-copy-wrap {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 0;
    gap: 0;
  }

  .landing-entry h1 {
    order: initial;
    max-width: 13ch;
    text-wrap: balance;
    text-align: center;
  }

  .landing-entry-text {
    order: initial;
    margin-top: 10px;
    max-width: none;
    font-size: 0.92rem;
    white-space: nowrap;
    text-align: center;
  }

  .landing-entry-tools {
    order: initial;
    margin-top: 16px;
    width: min(100%, 520px);
    max-width: 100%;
    justify-items: center;
  }

  .landing-gallery-head {
    align-items: start;
    flex-direction: column;
  }

  .landing-entry-search {
    width: 100%;
    text-align: center;
  }

  .landing-entry-search span,
  .landing-results-summary {
    text-align: center;
  }

  .landing-motion-stage {
    display: none;
  }

  .landing-parallax-columns {
    display: none;
  }

  .landing-parallax-col-inner {
    display: none;
  }

  .landing-parallax-photo {
    display: none;
  }

  .landing-parallax-photo img {
    display: none;
  }

  .landing-parallax-col:nth-child(n + 3) {
    display: none;
  }

  .landing-parallax-photo:not(:first-child) {
    display: none;
  }

  .landing-gallery-head::after {
    content: none;
  }

  .landing-event-media {
    min-height: 280px;
  }

  .landing-event-overlay {
    padding: 42px 18px 16px;
  }
}

@media (max-width: 560px) {
  body.home-landing {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(248, 246, 255, 0.16) 100%),
      url("./assets-fundo-mobile.png") center top / contain no-repeat,
      #ffffff;
  }

  body.home-landing::after {
    background: none;
  }

  .landing-entry,
  .landing-gallery {
    padding: 16px;
    border-radius: 24px;
  }

  .landing-shell {
    width: min(100% - 12px, 1320px);
    padding-top: 8px;
    padding-bottom: 32px;
  }

  .landing-topbar {
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 20px;
  }

  .landing-brand-logo {
    width: 92px;
  }

  .landing-entry h1,
  .landing-gallery-head h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    line-height: 0.98;
  }

  .landing-entry h1 {
    max-width: none;
  }

  .landing-entry {
    gap: 10px;
  }

  .landing-entry h1,
  .landing-gallery-head h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.02;
  }

  .landing-entry-text {
    max-width: none;
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: nowrap;
  }

  .landing-entry-tools {
    margin-top: 12px;
    gap: 10px;
  }

  .landing-entry-search span {
    font-size: 0.76rem;
  }

  .landing-entry-search input {
    padding: 13px 14px;
    border-radius: 16px;
    text-align: center;
  }

  .landing-results-summary {
    font-size: 0.92rem;
  }

  .landing-hero-stage {
    min-height: 104px;
    border-radius: 16px;
  }

  .landing-motion-stage {
    min-height: 104px;
    border-radius: 16px;
  }

  .landing-event-card {
    border-radius: 22px;
  }

  .landing-event-media {
    min-height: 0;
  }

  .landing-event-overlay h3 {
    max-width: 100%;
    font-size: 1.24rem;
  }

  .landing-event-copy-simple {
    padding-top: 12px;
  }

  .landing-gallery-head h2 {
    white-space: normal;
  }
}

.card-editor-layout {
  align-items: start;
}

.card-editor-preview {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 24px;
  background: rgba(255, 250, 246, 0.82);
}

.card-editor-preview-media {
  aspect-ratio: 4 / 5;
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(31, 33, 139, 0.7);
  background: linear-gradient(145deg, #b76cff 0%, #5c35d8 55%, #241688 100%);
}

.card-editor-preview-media img,
.card-editor-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-editor-preview-media span,
.card-editor-item-media span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.card-editor-preview-copy {
  display: grid;
  gap: 8px;
}

.card-editor-preview-copy strong {
  font-size: 1.3rem;
}

.card-editor-preview-copy small {
  color: var(--muted);
  word-break: break-word;
}

.admin-link-details {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 24px;
  background: rgba(255, 250, 246, 0.82);
}

.admin-link-details-head {
  display: grid;
  gap: 4px;
}

.admin-link-details-head strong {
  font-size: 1.02rem;
  color: #1f218b;
}

.admin-link-details-head small {
  color: var(--muted);
  line-height: 1.5;
}

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

.admin-link-details-grid article {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(33, 20, 13, 0.04);
}

.admin-link-details-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-link-details-grid strong {
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}

.card-editor-list {
  display: grid;
  gap: 14px;
}

.card-editor-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 24px;
  background: rgba(255, 250, 246, 0.82);
}

.card-editor-item-media {
  aspect-ratio: 4 / 5;
  min-height: 94px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #b76cff 0%, #5c35d8 55%, #241688 100%);
}

.card-editor-item-copy {
  display: grid;
  gap: 8px;
}

.card-editor-item-copy strong {
  font-size: 1.08rem;
}

.card-editor-item-copy p {
  margin: 0;
  color: var(--muted);
  word-break: break-word;
}

.card-editor-item-meta,
.card-editor-item-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.card-editor-item-meta span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(33, 20, 13, 0.05);
}

.card-editor-item-actions {
  justify-content: flex-end;
}

.card-editor-item-details {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.card-editor-item-details div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(33, 20, 13, 0.04);
}

.card-editor-item-details small {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-editor-item-details strong {
  font-size: 0.98rem;
  line-height: 1.5;
  word-break: break-word;
}

@media (max-width: 920px) {
  .card-editor-item {
    grid-template-columns: 1fr;
  }

  .card-editor-item-media {
    min-height: 180px;
  }

  .card-editor-item-actions {
    justify-content: start;
  }

  .admin-link-details-grid {
    grid-template-columns: 1fr;
  }
}

.admin-dashboard-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.admin-dashboard-card,
.admin-ranking-item,
.admin-insight-card {
  padding: 20px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 24px;
  background: rgba(255, 250, 246, 0.82);
}

.admin-dashboard-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-dashboard-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
}

.admin-dashboard-card small,
.admin-ranking-copy small,
.admin-insight-card small {
  color: var(--muted);
  line-height: 1.5;
}

.admin-insight-card span,
.admin-inline-search span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-insight-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
  color: #1f218b;
}

.admin-ranking-list {
  display: grid;
  gap: 12px;
}

.admin-traffic-list {
  display: grid;
  gap: 12px;
}

.admin-ranking-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.admin-ranking-order {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(145deg, #b76cff 0%, #5c35d8 55%, #241688 100%);
}

.admin-ranking-copy {
  display: grid;
  gap: 4px;
}

.admin-traffic-item {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(78, 46, 23, 0.1);
  border-radius: 22px;
  background: rgba(255, 250, 246, 0.82);
}

.admin-traffic-main strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.admin-traffic-main p {
  margin: 0;
  color: var(--muted);
}

.admin-traffic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-traffic-meta span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(33, 20, 13, 0.05);
}

.admin-entry-actions {
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-entry-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-page-feedback {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  color: #1f218b;
  background: rgba(183, 108, 255, 0.12);
}

.admin-traffic-summary {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.6;
}

.admin-inline-search {
  width: min(340px, 100%);
}

.admin-field-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

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

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 14, 0.45);
  backdrop-filter: blur(6px);
}

.admin-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 28px;
  background: rgba(255, 249, 242, 0.98);
  box-shadow: 0 28px 90px rgba(27, 18, 11, 0.2);
}

.admin-modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 14px;
  background: rgba(255, 249, 242, 0.98);
  border-bottom: 1px solid rgba(78, 46, 23, 0.08);
}

.admin-modal h2 {
  margin: 0;
}

.admin-modal form {
  padding: 18px 24px 24px;
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-dashboard-page {
  background:
    radial-gradient(circle at top left, rgba(171, 90, 229, 0.12), transparent 22%),
    radial-gradient(circle at top right, rgba(92, 53, 216, 0.1), transparent 24%),
    linear-gradient(180deg, #fbfaff 0%, #f5f3ff 100%);
}

.admin-dashboard-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.84), transparent 18%),
    radial-gradient(circle at 82% 12%, rgba(123, 77, 227, 0.06), transparent 18%);
}

.admin-dashboard-page .dashboard-shell {
  position: relative;
  z-index: 1;
}

.admin-dashboard-page .dashboard-topbar-refined {
  top: 16px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 33, 139, 0.08);
  box-shadow: 0 20px 44px rgba(39, 24, 137, 0.1);
}

.admin-dashboard-page .brand-copy strong {
  color: #1f218b;
}

.admin-dashboard-page .brand-copy small {
  color: rgba(31, 33, 139, 0.62);
}

.admin-dashboard-page .ghost-button {
  color: #1f218b;
  background: rgba(123, 77, 227, 0.08);
  box-shadow: inset 0 0 0 1px rgba(123, 77, 227, 0.08);
}

.admin-dashboard-page .ghost-button:hover {
  background: rgba(123, 77, 227, 0.14);
}

.admin-dashboard-page .subpage-layout {
  gap: 24px;
}

.admin-dashboard-page .subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 34px;
  border: 1px solid rgba(31, 33, 139, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(183, 108, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 255, 0.94));
  box-shadow: 0 26px 56px rgba(39, 24, 137, 0.1);
}

.admin-dashboard-page .subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  width: 100%;
  min-width: 0;
  background: linear-gradient(90deg, #ab5ae5 0%, #241688 100%);
}

.admin-dashboard-page .subpage-hero > * {
  position: relative;
  z-index: 1;
}

.admin-dashboard-page .subpage-hero .eyebrow {
  color: rgba(31, 33, 139, 0.52);
}

.admin-dashboard-page .subpage-hero h1 {
  max-width: 20ch;
  color: #1f218b;
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.admin-dashboard-page .subpage-hero p {
  color: rgba(31, 33, 139, 0.74);
}

.admin-dashboard-page .subpage-hero > p:last-child {
  max-width: 58ch;
  color: rgba(31, 33, 139, 0.72);
}

.admin-dashboard-page .refined-panel,
.admin-dashboard-page .admin-dashboard-card,
.admin-dashboard-page .admin-ranking-item,
.admin-dashboard-page .admin-insight-card,
.admin-dashboard-page .card-editor-item,
.admin-dashboard-page .card-editor-preview,
.admin-dashboard-page .admin-link-details,
.admin-dashboard-page .admin-traffic-item {
  border: 1px solid rgba(31, 33, 139, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(39, 24, 137, 0.08);
}

.admin-dashboard-page .refined-panel:hover,
.admin-dashboard-page .admin-dashboard-card:hover,
.admin-dashboard-page .admin-ranking-item:hover,
.admin-dashboard-page .admin-insight-card:hover,
.admin-dashboard-page .card-editor-item:hover {
  border-color: rgba(123, 77, 227, 0.16);
  box-shadow: 0 24px 48px rgba(39, 24, 137, 0.12);
}

.admin-dashboard-page .admin-dashboard-card,
.admin-dashboard-page .admin-insight-card {
  position: relative;
  overflow: hidden;
}

.admin-dashboard-page .admin-dashboard-card::before,
.admin-dashboard-page .admin-insight-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ab5ae5 0%, #241688 100%);
}

.admin-dashboard-page .admin-dashboard-card span,
.admin-dashboard-page .admin-insight-card span,
.admin-dashboard-page .admin-inline-search span {
  color: rgba(31, 33, 139, 0.52);
}

.admin-dashboard-page .admin-dashboard-card strong,
.admin-dashboard-page .admin-insight-card strong,
.admin-dashboard-page .refined-panel-head h2,
.admin-dashboard-page .card-editor-item-copy strong,
.admin-dashboard-page .card-editor-preview-copy strong {
  color: #1f218b;
}

.admin-dashboard-page .admin-dashboard-card small,
.admin-dashboard-page .admin-insight-card small,
.admin-dashboard-page .admin-entry-copy,
.admin-dashboard-page .card-editor-item-copy p,
.admin-dashboard-page .card-editor-preview-copy small,
.admin-dashboard-page .admin-link-details-head small,
.admin-dashboard-page .admin-field-note {
  color: rgba(31, 33, 139, 0.64);
}

.admin-dashboard-page .admin-ranking-order {
  box-shadow: 0 14px 28px rgba(92, 53, 216, 0.18);
}

.admin-dashboard-page .admin-inline-search input,
.admin-dashboard-page .subpage-field input,
.admin-dashboard-page .subpage-field select,
.admin-dashboard-page .subpage-field textarea {
  border-color: rgba(31, 33, 139, 0.1);
  background: #ffffff;
}

.admin-dashboard-page .subpage-field input:focus,
.admin-dashboard-page .subpage-field select:focus,
.admin-dashboard-page .subpage-field textarea:focus,
.admin-dashboard-page .admin-inline-search input:focus {
  border-color: rgba(123, 77, 227, 0.4);
  box-shadow: 0 0 0 4px rgba(123, 77, 227, 0.1);
}

.admin-dashboard-page .admin-entry-actions {
  grid-template-columns: 1fr;
  align-items: start;
}

.admin-dashboard-page .create-event-primary {
  box-shadow: 0 20px 34px rgba(92, 53, 216, 0.22);
  width: fit-content;
}

.admin-dashboard-page .admin-page-feedback {
  color: #1f218b;
  background: rgba(123, 77, 227, 0.1);
}

.admin-dashboard-page .admin-link-details-grid article {
  background: rgba(123, 77, 227, 0.06);
}

.admin-dashboard-page .admin-link-details-grid span {
  color: rgba(31, 33, 139, 0.48);
}

.admin-dashboard-page .admin-modal-backdrop {
  background: rgba(19, 14, 67, 0.42);
  backdrop-filter: blur(8px);
}

.admin-dashboard-page .admin-modal-panel {
  border: 1px solid rgba(31, 33, 139, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 40px 100px rgba(25, 18, 86, 0.26);
}

.admin-dashboard-page .admin-modal-head {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(31, 33, 139, 0.08);
}

.admin-dashboard-page .admin-modal-head::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ab5ae5 0%, #241688 100%);
}

@media (max-width: 860px) {
  .admin-dashboard-page {
    background:
      linear-gradient(180deg, #fbfaff 0%, #f5f3ff 100%);
  }

  .admin-dashboard-page .subpage-hero {
    padding: 24px 22px;
    background:
      radial-gradient(circle at top left, rgba(183, 108, 255, 0.14), transparent 32%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 255, 0.95));
  }

  .admin-dashboard-page .subpage-hero::before {
    inset: 0 0 auto;
    width: 100%;
    min-width: 0;
    height: 5px;
  }
}

@media (max-width: 980px) {
  .admin-dashboard-panels,
  .admin-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-dashboard-panels,
  .admin-insights-grid {
    grid-template-columns: 1fr;
  }
}
