:root {
  color-scheme: light;
  --ink: #1f2430;
  --muted: #626a78;
  --line: #d9dde5;
  --paper: #f7f4ef;
  --panel: #ffffff;
  --rose: #b65f74;
  --green: #2f7c57;
  --blue: #255f85;
  --danger: #a33b3b;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(182, 95, 116, 0.18), transparent 34%),
    linear-gradient(240deg, rgba(37, 95, 133, 0.16), transparent 38%),
    var(--paper);
}

h1,
p {
  margin: 0;
}

.coming-soon-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.coming-soon-card {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 6vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 80px rgba(30, 26, 22, 0.13);
}

.coming-soon-card .eyebrow + .eyebrow {
  margin-top: 14px;
  color: var(--blue);
}

.coming-soon-card h1 {
  max-width: 680px;
  margin-top: 10px;
  font-size: clamp(2.2rem, 8vw, 5.2rem);
  line-height: 0.95;
}

.coming-soon-card p:last-child {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2.3vw, 1.22rem);
  line-height: 1.55;
}

.landing-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px 18px 56px;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
}

.landing-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.landing-nav > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  font-size: 1.08rem;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 28px 0 46px;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-product {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(330px, 80vw);
  border: 1px solid rgba(31, 36, 48, 0.18);
  border-radius: 34px;
  padding: 12px;
  background: #171a22;
  box-shadow: 0 32px 80px rgba(31, 36, 48, 0.22);
}

.phone-top {
  width: 86px;
  height: 7px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: #2b303d;
}

.phone-screen {
  display: grid;
  gap: 12px;
  min-height: 420px;
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(182, 95, 116, 0.72), rgba(37, 95, 133, 0.72)),
    #242936;
}

.phone-screen span,
.phone-screen small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.phone-screen strong {
  font-size: 3rem;
  line-height: 1;
}

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

.mini-grid i {
  display: block;
  aspect-ratio: 1.1;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.14);
}

.feature-band,
.plans-grid,
.sales-grid {
  display: grid;
  gap: 12px;
}

.feature-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 56px;
}

.feature-band article,
.plan-card,
.sales-grid article,
.landing-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 55px rgba(30, 26, 22, 0.08);
}

.feature-band article,
.sales-grid article {
  padding: 18px;
}

.feature-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature-band p,
.sales-grid li,
.plan-card li,
.landing-cta p {
  color: var(--muted);
  line-height: 1.5;
}

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

.section-head h2,
.sales-grid h2,
.landing-cta h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1;
}

.plans-section {
  margin-bottom: 56px;
}

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

.plan-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.plan-card.highlighted {
  border-color: rgba(182, 95, 116, 0.58);
  background: rgba(255, 255, 255, 0.96);
}

.plan-card span {
  color: var(--rose);
  font-weight: 850;
  text-transform: uppercase;
}

.plan-card strong {
  font-size: 3rem;
  line-height: 1;
}

.price {
  font-size: 1.5rem;
  font-weight: 900;
}

.plan-card ul,
.sales-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.sales-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 56px;
}

.landing-cta {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 5vw, 42px);
}

.landing-cta .button {
  width: fit-content;
}

.upload-shell {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) 18px;
  overflow: hidden;
}

.intro {
  margin-bottom: 22px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--rose);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}

.intro h1,
.admin-header h1 {
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 760px;
}

.intro p:last-child {
  margin-top: 14px;
  max-width: 580px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.uploader-panel,
.mobile-note,
.thanks-panel,
.choice-card,
.events-panel,
.event-row,
.gallery-toolbar,
.gallery-card,
.table-wrap,
.link-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 55px rgba(30, 26, 22, 0.08);
}

.events-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
}

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

.events-head span,
.event-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.events-head select,
.event-form input,
.edit-event-form input {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  font: inherit;
}

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

.toggle-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.event-row {
  padding: 12px;
  box-shadow: none;
}

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

.access-box {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(47, 124, 87, 0.26);
  border-radius: 8px;
  padding: 12px;
  color: #1f5f42;
  background: rgba(47, 124, 87, 0.1);
}

.access-box strong {
  color: var(--ink);
}

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

.access-grid code {
  display: block;
  overflow-wrap: anywhere;
  border-radius: 6px;
  padding: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.uploader-panel {
  padding: 10px;
  overflow: hidden;
}

#uploader,
.uppy-Dashboard,
.uppy-Dashboard-inner,
.uppy-Dashboard-AddFiles,
.uppy-Dashboard-files {
  max-width: 100% !important;
}

.uppy-Dashboard-inner {
  width: 100% !important;
  min-width: 0 !important;
}

.mobile-note,
.thanks-panel {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.mobile-note strong,
.thanks-panel strong {
  color: var(--ink);
}

.thanks-panel {
  color: var(--green);
  background: rgba(47, 124, 87, 0.12);
}

.thanks-panel strong {
  font-size: 1.1rem;
}

[hidden] {
  display: none !important;
}

.choice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 12px;
  margin-bottom: 12px;
}

.choice-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
}

.choice-card.preferred {
  border-color: rgba(182, 95, 116, 0.48);
  background: rgba(255, 255, 255, 0.94);
}

.choice-kicker {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--rose);
  background: rgba(182, 95, 116, 0.1);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.choice-card strong {
  font-size: 1.22rem;
}

.choice-card p {
  color: var(--muted);
  line-height: 1.45;
}

.browser-flow,
.app-download-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.flow-head {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 55px rgba(30, 26, 22, 0.08);
}

.flow-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1;
}

.flow-head p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.5;
}

.guest-name-field {
  display: grid;
  gap: 7px;
  max-width: 360px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.guest-name-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.guest-name-field input:focus {
  border-color: rgba(182, 95, 116, 0.78);
  outline: 3px solid rgba(182, 95, 116, 0.16);
}

.choice-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.4;
}

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

.store-actions-large {
  width: min(430px, 100%);
}

.store-badge {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 10px 16px;
  color: #fff;
  background: #07090d;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.store-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1;
  text-align: left;
}

.store-badge small {
  margin-bottom: 5px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.store-badge strong {
  font-size: 1.65rem;
}

.store-badge:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

/* Wedding Drop app-inspired upload page */
.upload-shell {
  width: min(980px, 100%);
  padding: clamp(22px, 4vw, 48px) 20px 64px;
}

.intro {
  position: relative;
  margin: 0 0 30px;
  padding: 10px 0 34px;
  background: transparent;
  backdrop-filter: none;
}

.intro::before {
  content: "🎉";
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  border-radius: 999px;
  color: #924255;
  background: #ffd9df;
  vertical-align: middle;
}

.intro .eyebrow {
  display: inline-block;
  margin: 0;
  color: #924255;
  font-size: 1.25rem;
  text-transform: none;
}

.intro h1 {
  margin-top: 34px;
  font-size: clamp(2.45rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.intro p:last-child {
  max-width: 680px;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.choice-panel {
  gap: 16px;
}

.choice-card,
.flow-head,
.uploader-panel,
.mobile-note,
.thanks-panel {
  border-color: rgba(217, 193, 196, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 54px rgba(146, 66, 85, 0.08);
}

.choice-card {
  padding: 24px;
}

.choice-card.preferred {
  border-color: rgba(146, 66, 85, 0.32);
}

.choice-kicker {
  padding: 7px 12px;
  color: #924255;
  background: #ffd9df;
  letter-spacing: 0.05em;
}

.choice-card strong {
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}

.button {
  min-height: 52px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.button.primary {
  border-color: #924255;
  background: #924255;
  box-shadow: 0 12px 28px rgba(146, 66, 85, 0.18);
}

.button.subtle {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.flow-head {
  padding: 24px;
}

.guest-name-field input {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #f0f0f0;
}

.uploader-panel {
  padding: 14px;
}

.uppy-Dashboard-inner {
  border-color: rgba(217, 193, 196, 0.72) !important;
  border-radius: 18px !important;
}

.mobile-note {
  color: #534245;
  background: rgba(255, 217, 223, 0.48);
}

.store-badge {
  border-radius: 18px;
  border-color: rgba(146, 66, 85, 0.28);
  color: #3f0116;
  background:
    linear-gradient(135deg, rgba(255, 217, 223, 0.96), rgba(255, 251, 252, 0.96)),
    #ffd9df;
  box-shadow: 0 16px 34px rgba(146, 66, 85, 0.12);
}

.store-badge.android {
  color: #253b33;
  border-color: rgba(47, 124, 87, 0.22);
  background:
    linear-gradient(135deg, rgba(232, 246, 239, 0.98), rgba(255, 251, 252, 0.96)),
    #eef7f2;
}

.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(146, 66, 85, 0.16);
}

.store-icon {
  color: #924255;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.store-badge.android .store-icon {
  color: #2f7c57;
}

.store-badge small {
  color: rgba(83, 66, 69, 0.72);
  letter-spacing: 0.04em;
}

.store-badge strong {
  color: inherit;
}

.uppy-Dashboard-inner {
  border-radius: 6px !important;
}

.status {
  min-height: 44px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--muted);
  background: #f2f4f7;
  font-weight: 650;
}

.status.working {
  color: var(--blue);
  background: rgba(37, 95, 133, 0.1);
}

.status.success {
  color: var(--green);
  background: rgba(47, 124, 87, 0.12);
}

.status.error {
  color: var(--danger);
  background: rgba(163, 59, 59, 0.1);
}

.admin-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 32px 18px;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.auth-panel {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 34px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 70px rgba(30, 26, 22, 0.14);
}

.auth-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.98;
}

.auth-panel > p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.auth-form input:focus,
.link-box input:focus,
.event-form input:focus,
.events-head select:focus {
  border-color: rgba(182, 95, 116, 0.78);
  outline: 3px solid rgba(182, 95, 116, 0.16);
}

.auth-error {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--danger);
  background: rgba(163, 59, 59, 0.1);
  font-weight: 720;
}

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

.admin-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.admin-actions,
.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 13px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button.primary {
  border-color: var(--rose);
  color: #fff;
  background: var(--rose);
}

.button.subtle {
  width: fit-content;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.button.compact {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.9rem;
}

.button.danger {
  color: var(--danger);
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.admin-summary > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-summary span {
  display: block;
  font-size: 1.8rem;
  font-weight: 850;
}

.admin-summary small,
td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.link-box {
  margin-bottom: 12px;
  padding: 14px;
}

.link-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.link-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
}

.gallery-toolbar span {
  margin-left: 8px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.gallery-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.gallery-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.gallery-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
}

.gallery-preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  background: #eef1f5;
  cursor: pointer;
}

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

.gallery-preview img:not([src]) {
  background:
    linear-gradient(90deg, rgba(238, 241, 245, 0.95), rgba(247, 244, 239, 0.95)),
    #eef1f5;
}

.gallery-preview:disabled {
  cursor: not-allowed;
}

.play-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(31, 36, 48, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

.gallery-meta {
  min-height: 76px;
  padding: 10px;
}

.gallery-meta strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-dialog {
  width: min(980px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  border: 0;
  border-radius: 8px;
  padding: 48px 12px 12px;
  background: #11151c;
}

.event-dialog {
  width: min(720px, calc(100vw - 24px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.event-dialog::backdrop {
  background: rgba(8, 10, 14, 0.5);
}

.edit-event-form {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(30, 26, 22, 0.2);
}

.edit-event-form h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.preview-dialog::backdrop {
  background: rgba(8, 10, 14, 0.72);
}

.preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

#previewBody {
  display: grid;
  place-items: center;
}

#previewBody img,
#previewBody video {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  border-radius: 6px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

tr.missing {
  opacity: 0.58;
}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(150deg, rgba(182, 95, 116, 0.16), transparent 42%),
      var(--paper);
  }

  .upload-shell {
    width: 100%;
    padding: 18px 10px 28px;
  }

  .intro {
    margin-bottom: 12px;
  }

  .intro h1,
  .admin-header h1 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .intro p:last-child {
    font-size: 1rem;
  }

  .landing-nav,
  .admin-header,
  .gallery-toolbar,
  .events-head,
  .event-row,
  .event-actions,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-nav > div {
    flex-wrap: wrap;
  }

  .landing-hero,
  .feature-band,
  .plans-grid,
  .sales-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
  }

  .choice-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .choice-card,
  .flow-head,
  .mobile-note,
  .thanks-panel {
    padding: 14px;
  }

  .choice-card strong {
    font-size: 1.12rem;
  }

  .flow-head h2 {
    font-size: clamp(1.55rem, 8vw, 2.3rem);
  }

  .uploader-panel {
    padding: 8px;
  }

  .uppy-Dashboard-inner {
    height: 360px !important;
  }

  .uppy-Dashboard-AddFiles {
    min-width: 0 !important;
    padding: 16px 10px !important;
  }

  .uppy-Dashboard-AddFiles-title {
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }

  .uppy-Dashboard-note {
    padding: 0 10px !important;
    font-size: 0.82rem !important;
  }

  .status {
    min-height: 40px;
    font-size: 0.92rem;
  }

  .store-actions-large {
    width: 100%;
  }

  .store-badge {
    grid-template-columns: 38px 1fr;
    min-height: 64px;
    padding: 9px 12px;
  }

  .store-icon {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }

  .store-badge strong {
    font-size: 1.35rem;
  }

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

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

  .admin-summary {
    grid-template-columns: 1fr;
  }

  .row-actions {
    justify-content: flex-start;
  }

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