:root {
  --bg-a: #0f172a;
  --bg-b: #1f2937;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-border: rgba(148, 163, 184, 0.28);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --owner: #16a34a;
  --owner-dark: #14532d;
  --investor: #0369a1;
  --investor-dark: #0c4a6e;
  --accent: #f59e0b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(60rem 40rem at 5% -10%, rgba(14, 116, 144, 0.35), transparent 65%),
    radial-gradient(55rem 35rem at 95% -10%, rgba(245, 158, 11, 0.22), transparent 60%),
    linear-gradient(160deg, var(--bg-a), var(--bg-b));
  font-family: "Space Grotesk", "Avenir Next", "Helvetica Neue", sans-serif;
}

.lp-shell {
  width: min(1100px, 92vw);
  margin: 28px auto 36px;
  display: grid;
  gap: 16px;
}

.lp-hero,
.lp-panel {
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 22px;
  background: var(--panel);
  backdrop-filter: blur(7px);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(0, 2.65fr);
  gap: 18px;
  align-items: start;
}

.lp-hero-left,
.lp-hero-right {
  min-width: 0;
}

.lp-hero-right {
  display: grid;
  gap: 10px;
  align-content: start;
}

.lp-hero-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.26);
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(320px, 1.7fr);
  gap: 14px;
  align-items: center;
}

.lp-hero-courtesy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.lp-hero-cta-row {
  margin: 0;
}

.lp-hero-right .lp-kicker {
  margin: 0;
}

.lp-kicker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.lp-hero-amount {
  margin: 0;
  text-align: right;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.1;
  color: #fef3c7;
  font-weight: 700;
  white-space: nowrap;
}

.lp-hero-amount strong {
  color: #fbbf24;
  font-size: 1.07em;
}

.lp-hero-amount.is-missing {
  color: #cbd5e1;
}

.lp-hero-right .lp-subline {
  margin: 0;
}

.lp-property-summary {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.lp-page-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.lp-page-dates span {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.42);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  line-height: 1.25;
}

.lp-page-dates strong {
  color: #e2e8f0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 6px;
}

.lp-hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #0b1220;
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.48);
}

.lp-hero-media-link {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  cursor: zoom-in;
}

.lp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #020617;
}

.lp-hero-media-empty {
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 0.92rem;
}

.lp-hero-media.lp-img-broken {
  display: grid;
  place-items: center;
}

.lp-hero-media.lp-img-broken::before {
  content: "Image unavailable";
  color: #94a3b8;
  font-size: 0.9rem;
}

.lp-media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
  color: #f8fafc;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.lp-media-nav.prev { left: 8px; }
.lp-media-nav.next { right: 8px; }

.lp-hero-media-meta {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: grid;
  gap: 4px;
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(2, 6, 23, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.28);
  backdrop-filter: blur(4px);
}

.lp-hero-media-counter {
  font-size: 0.74rem;
  color: #cbd5e1;
}

.lp-hero-media-caption {
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.35;
}

#lp-hero-media-open {
  font-size: 0.78rem;
}

.lp-hero-media-open-btn {
  border: 1px solid rgba(147, 197, 253, 0.42);
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.35);
  color: #bfdbfe;
  font-size: 0.74rem;
  padding: 4px 10px;
  justify-self: start;
  cursor: pointer;
}

.lp-hero-media-open-btn:hover {
  background: rgba(30, 58, 138, 0.5);
  border-color: rgba(147, 197, 253, 0.55);
}

.lp-media-dots {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.lp-media-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(226, 232, 240, 0.45);
  cursor: pointer;
}

.lp-media-dot.active {
  background: #93c5fd;
}

.lp-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  margin: 0;
  line-height: 1.1;
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
}

h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-family: "Fraunces", "Georgia", serif;
}

h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.lp-subline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.lp-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-tags span {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.58);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.lp-tags span.lp-tag-urgent {
  color: #fecaca;
  border-color: rgba(252, 165, 165, 0.4);
  background: rgba(127, 29, 29, 0.42);
}

.lp-tags span.lp-tag-soon {
  color: #fde68a;
  border-color: rgba(252, 211, 77, 0.42);
  background: rgba(120, 53, 15, 0.42);
}

.lp-tags span.lp-tag-active {
  color: #bbf7d0;
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(20, 83, 45, 0.42);
}

.lp-tags span.lp-tag-expired,
.lp-tags span.lp-tag-neutral {
  color: #bfdbfe;
}

.lp-fact-tags {
  margin-top: 10px;
}

.lp-chip-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  padding: 5px 11px;
  font-size: 0.82rem;
  text-decoration: none;
}

.lp-chip strong {
  color: #cbd5e1;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.lp-chip.urgent { color: #fecaca; border-color: rgba(252, 165, 165, 0.4); background: rgba(127, 29, 29, 0.42); }
.lp-chip.soon { color: #fde68a; border-color: rgba(252, 211, 77, 0.4); background: rgba(120, 53, 15, 0.42); }
.lp-chip.active { color: #bbf7d0; border-color: rgba(134, 239, 172, 0.35); background: rgba(20, 83, 45, 0.42); }
.lp-chip.expired { color: #cbd5e1; border-color: rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.62); }
.lp-chip.neutral { color: #bfdbfe; border-color: rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.62); }

.lp-chip-link {
  color: #bfdbfe;
}

.lp-chip-link:hover {
  background: rgba(30, 58, 138, 0.45);
  border-color: rgba(147, 197, 253, 0.42);
}

.lp-chip-actions {
  margin-top: 10px;
}

.lp-muted {
  margin: 2px 0 14px;
  color: var(--muted);
}

.lp-muted a {
  color: #93c5fd;
}

.lp-rights-list {
  margin: 0 0 14px 18px;
  color: #e2e8f0;
  display: grid;
  gap: 4px;
}

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

.lp-help-card {
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 12px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.54);
}

.lp-help-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.lp-help-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.lp-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lp-cta {
  border: none;
  border-radius: 14px;
  min-height: 56px;
  padding: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  color: white;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.lp-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.lp-cta.owner {
  background: linear-gradient(135deg, var(--owner), var(--owner-dark));
}

.lp-cta.investor {
  background: linear-gradient(135deg, var(--investor), var(--investor-dark));
}

.lp-form-wrap {
  margin-top: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  border-radius: 14px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.4);
}

form {
  display: grid;
  gap: 8px;
}

.lp-owner-step {
  display: grid;
  gap: 8px;
}

.lp-owner-step[hidden] {
  display: none !important;
}

.lp-owner-step-label {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fde68a;
  font-weight: 700;
}

.lp-owner-mask {
  display: inline-block;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(2, 6, 23, 0.62);
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}

.lp-owner-verify-copy {
  margin: 2px 0 4px;
}

.lp-owner-step-note {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.lp-step-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lp-step-actions > *:only-child {
  grid-column: 1 / -1;
}

.lp-step-btn {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  min-height: 42px;
  background: linear-gradient(135deg, #14532d, #16a34a);
  color: #f8fafc;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 12px;
}

.lp-step-btn.ghost {
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
}

input,
textarea,
select,
button[type="submit"] {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.76);
  color: #f8fafc;
  padding: 10px 11px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid rgba(245, 158, 11, 0.35);
  border-color: rgba(245, 158, 11, 0.5);
}

button[type="submit"] {
  margin-top: 4px;
  border: none;
  border-radius: 10px;
  padding: 11px 12px;
  cursor: pointer;
  font-weight: 700;
  background: #f59e0b;
  color: #111827;
}

.lp-status {
  min-height: 18px;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.lp-status.ok { color: #86efac; }
.lp-status.error { color: #fda4af; }

.lp-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.lp-feature-image-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.65);
}

.lp-feature-image-card img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  background: #0b1220;
  display: block;
}

.lp-feature-image-card figcaption {
  padding: 9px 10px;
  font-size: 0.83rem;
  color: #cbd5e1;
}

.lp-subgallery-title {
  margin: 14px 0 8px;
  font-size: 0.95rem;
  color: #bfdbfe;
}

.lp-image-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.65);
}

.lp-image-card img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #0b1220;
  display: block;
}

.lp-image-card figcaption {
  padding: 8px 9px;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.lp-image-link {
  display: block;
  cursor: zoom-in;
}

.lp-image-card figcaption a {
  color: #93c5fd;
}

.lp-feature-image-card figcaption a {
  color: #93c5fd;
}

.lp-empty-images {
  border: 1px dashed rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  padding: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.lp-feature-image-card.lp-img-broken,
.lp-image-card.lp-img-broken {
  min-height: 140px;
  display: grid;
  place-items: center;
  color: #94a3b8;
}

.lp-feature-image-card.lp-img-broken::before,
.lp-image-card.lp-img-broken::before {
  content: "Image unavailable";
  font-size: 0.86rem;
}

.lp-index-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.45);
}

.lp-index-card:hover {
  border-color: rgba(147, 197, 253, 0.45);
  background: rgba(15, 23, 42, 0.62);
}

.lp-index-thumb {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #0b1220;
  min-height: 120px;
  display: grid;
  place-items: center;
}

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

.lp-index-fallback {
  font-size: 1.8rem;
  opacity: 0.55;
}

.lp-thumb-broken::before {
  content: "Image unavailable";
  font-size: 0.8rem;
  color: #94a3b8;
}

.lp-index-body h2 {
  margin: 0;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  line-height: 1.2;
}

.lp-index-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  margin-bottom: 4px;
}

.lp-index-amount {
  justify-self: end;
  align-self: center;
  text-align: right;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fde68a;
  white-space: nowrap;
}

.lp-index-amount.is-missing {
  color: #cbd5e1;
}

/* ── Index page: controls bar ── */
.lp-index-controls {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lp-index-filter-form {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.lp-count-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.62);
  color: #bfdbfe;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.lp-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-date-field {
  display: grid;
  gap: 4px;
  min-width: 164px;
}

.lp-date-field span {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lp-date-field input[type="date"] {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.76);
  color: #f8fafc;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-family: inherit;
}

.lp-filter-btn {
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.35);
  color: #fde68a;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  cursor: pointer;
}

.lp-filter-btn:hover {
  background: rgba(146, 64, 14, 0.5);
}

.lp-filter-clear {
  color: #93c5fd;
  font-size: 0.82rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(147, 197, 253, 0.4);
  padding-bottom: 1px;
}

.lp-sort-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.lp-sort-select-outer {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lp-sort-select-outer::after {
  content: '';
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #94a3b8;
}

.lp-sort-select {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  min-width: 172px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.76);
  color: #f8fafc;
  padding: 7px 34px 7px 14px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}

.lp-sort-select:focus {
  outline: 1px solid rgba(245, 158, 11, 0.35);
  border-color: rgba(245, 158, 11, 0.5);
}

/* ── Index card list ── */
.lp-index-list {
  display: grid;
  gap: 10px;
}

.lp-pagination {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lp-page-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-page-link,
.lp-page-nav {
  text-decoration: none;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.5);
}

.lp-page-link.active {
  border-color: rgba(245, 158, 11, 0.5);
  color: #fde68a;
  background: rgba(146, 64, 14, 0.35);
}

.lp-page-nav.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.lp-notice-panel {
  border-color: rgba(147, 197, 253, 0.35);
  background: rgba(8, 47, 73, 0.36);
}

.lp-notice-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.lp-notice-print-btn {
  border: 1px solid rgba(147, 197, 253, 0.45);
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.35);
  color: #bfdbfe;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lp-notice-print-btn:hover {
  background: rgba(30, 58, 138, 0.5);
}

.lp-notice-print {
  margin-top: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  padding: 14px;
  background: rgba(2, 6, 23, 0.58);
}

.lp-notice-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.lp-notice-title-row h3 {
  margin: 0;
}

.lp-notice-amount {
  color: #fde68a;
  font-weight: 700;
  font-size: 0.9rem;
}

.lp-notice-meta-row {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.lp-notice-text {
  margin: 12px 0 0;
  white-space: pre-wrap;
  line-height: 1.45;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 0.8rem;
  color: #f8fafc;
}

code {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 6px;
  padding: 2px 6px;
  color: #fde68a;
}

.lp-lightbox[hidden] {
  display: none !important;
}

.lp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 6, 23, 0.82);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(12px, 2.2vw, 28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.lp-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lp-lightbox-dialog {
  position: relative;
  width: min(1320px, 96vw);
  max-height: 92vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(2, 6, 23, 0.95);
  box-shadow: 0 30px 75px rgba(2, 6, 23, 0.8);
}

.lp-lightbox img {
  width: 100%;
  height: auto;
  max-height: min(80vh, calc(92vh - 82px));
  object-fit: contain;
  display: block;
  background: #020617;
}

.lp-lightbox-close,
.lp-lightbox-nav {
  position: absolute;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.lp-lightbox-close {
  top: 10px;
  right: 10px;
  z-index: 3;
}

.lp-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 1.2rem;
}

.lp-lightbox-nav.prev { left: 12px; }
.lp-lightbox-nav.next { right: 12px; }

.lp-lightbox-footer {
  min-height: 56px;
  padding: 9px 14px 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(2, 6, 23, 0.92);
  display: grid;
  gap: 2px;
}

.lp-lightbox-counter {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.lp-lightbox-caption {
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.35;
}

@media (max-width: 820px) {
  .lp-shell {
    width: 96vw;
    margin: 10px auto 20px;
  }

  .lp-hero,
  .lp-panel {
    padding: 14px;
    border-radius: 16px;
  }

  .lp-index-controls {
    margin-top: 12px;
    gap: 8px;
  }

  .lp-sort-select {
    min-width: 0;
    width: 100%;
  }

  .lp-sort-wrap {
    flex: 1;
  }

  .lp-index-filter-form {
    gap: 8px;
  }

  .lp-date-field {
    min-width: 0;
    flex: 1 1 44%;
  }

  .lp-filter-btn {
    width: 100%;
  }

  .lp-sort-select-outer {
    flex: 1;
    width: 100%;
  }

  .lp-cta-row {
    grid-template-columns: 1fr;
  }

  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lp-kicker-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lp-hero-amount {
    text-align: left;
    white-space: normal;
  }

  .lp-hero-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
  }

  .lp-hero-media {
    aspect-ratio: 4 / 3;
    max-height: 58vh;
  }

  .lp-media-dots {
    bottom: 78px;
  }

  .lp-help-grid {
    grid-template-columns: 1fr;
  }

  .lp-image-card img {
    max-height: 320px;
  }

  .lp-feature-image-card img {
    max-height: 56vh;
  }

  .lp-chip {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  .lp-step-actions {
    grid-template-columns: 1fr;
  }

  .lp-index-card {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .lp-index-title-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lp-index-amount {
    justify-self: start;
    text-align: left;
    white-space: normal;
  }

  .lp-index-thumb {
    min-height: 180px;
  }

  .lp-index-card .lp-chip-row {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .lp-pagination {
    justify-content: center;
  }

  .lp-notice-title-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lp-lightbox-dialog {
    width: 100%;
    max-height: calc(100vh - 16px);
  }

  .lp-lightbox img {
    max-height: min(74vh, calc(100vh - 124px));
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .lp-hero,
  .lp-panel {
    background: #fff;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .lp-shell {
    width: 100%;
    margin: 0;
    gap: 0;
  }

  .lp-hero,
  .lp-panel:not(.lp-notice-panel),
  .lp-notice-print-btn {
    display: none !important;
  }

  .lp-notice-panel {
    display: block !important;
    border: none;
    background: #fff;
    color: #000;
    padding: 0;
  }

  .lp-notice-print {
    border: none;
    padding: 0;
    background: #fff;
  }

  .lp-notice-text {
    color: #000;
  }
}
