:root {
  --bg: #eef3f8;
  --bg-strong: #081726;
  --bg-deep: #0d2237;
  --card: #ffffff;
  --card-soft: rgba(255, 255, 255, 0.72);
  --line: rgba(9, 35, 57, 0.12);
  --text: #15283c;
  --muted: #617487;
  --primary: #015e94;
  --primary-bright: #008cdd;
  --accent: #f0c46b;
  --success: #2b9e77;
  --danger: #c14953;
  --shadow-lg: 0 26px 70px rgba(7, 23, 38, 0.12);
  --shadow-md: 0 16px 40px rgba(7, 23, 38, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 140, 221, 0.09), transparent 28%),
    radial-gradient(circle at bottom right, rgba(240, 196, 107, 0.16), transparent 24%),
    linear-gradient(180deg, #f7fafd 0%, #eef3f8 100%);
  font-family: "IBM Plex Sans", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 78%);
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
select {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(12, 32, 48, 0.08);
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brandmark img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0, 93, 148, 0.22);
}

.brandmark strong,
.brandmark small {
  display: block;
}

.brandmark strong {
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.2em;
}

.brandmark small {
  color: var(--muted);
  font-size: 0.82rem;
}

.topbar-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.topbar-nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible {
  color: var(--primary);
  transform: translateY(-1px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero {
  display: block;
  margin-top: 26px;
  padding: 30px 36px;
  border-radius: var(--radius-xl);
  color: #f2f8fd;
  background:
    linear-gradient(135deg, rgba(0, 140, 221, 0.2), transparent 42%),
    radial-gradient(circle at top right, rgba(240, 196, 107, 0.32), transparent 22%),
    linear-gradient(140deg, #081726 0%, #0e2741 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-copy h1,
.about-copy h2,
.catalog-toolbar h2,
.filters-header h2,
.admin-login-card h1,
.admin-heading h1,
.panel-header h2 {
  margin: 14px 0 12px;
  font-family: "Sora", sans-serif;
  line-height: 1.04;
}

.hero-copy h1 {
  max-width: 15ch;
  margin-top: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.hero-copy p,
.catalog-toolbar p,
.admin-login-card p,
.admin-heading p {
  color: rgba(242, 248, 253, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-search {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-search input,
.hero-search button,
.button-primary,
.button-secondary,
.button-ghost {
  border: none;
  border-radius: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-search input,
input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
}

.hero-search input {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.94);
}

.hero-search button,
.button-primary {
  padding: 14px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary));
  box-shadow: 0 12px 24px rgba(0, 140, 221, 0.26);
}

.button-secondary {
  padding: 14px 20px;
  color: #f5fbff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: none;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 12px 24px rgba(18, 140, 126, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button-ghost {
  padding: 12px 16px;
  color: var(--primary);
  background: rgba(1, 94, 148, 0.08);
}

.hero-search button:hover,
.button-primary:hover,
.button-secondary:hover,
.button-whatsapp:hover,
.button-ghost:hover {
  transform: translateY(-2px);
}

.hero-stat,
.stat-card,
.contact-card,
.empty-state,
.admin-panel,
.admin-login-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.catalog-section,
.stats-grid,
.admin-grid {
  margin-top: 28px;
}

.catalog-section {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filters-panel,
.catalog-content,
.stat-card,
.admin-panel,
.admin-login-card {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.filters-panel,
.catalog-content,
.admin-panel,
.admin-login-card {
  border-radius: var(--radius-xl);
}

.filters-panel {
  position: sticky;
  top: 108px;
  padding: 24px;
}

.filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 18, 29, 0.48);
  backdrop-filter: blur(8px);
}

.catalog-content {
  padding: 28px;
}

.filters-header,
.catalog-toolbar,
.panel-header,
.admin-heading,
.admin-actions,
.form-columns {
  display: flex;
  gap: 18px;
}

.filters-header-actions,
.catalog-toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.filters-header,
.catalog-toolbar,
.panel-header,
.admin-heading {
  justify-content: space-between;
  align-items: start;
}

.filters-close,
.filters-toggle {
  display: none;
}

.catalog-toolbar p,
.filters-panel p,
.contact-card p,
.entity-item p,
.product-row p,
.credential-hint,
.inline-feedback,
.stat-card span {
  color: var(--muted);
}

.filters-block + .filters-block {
  margin-top: 24px;
}

.filters-block h3,
.empty-state h3,
.about-cards strong,
.entity-item strong,
.preview-copy strong,
.product-row strong,
.stat-card strong {
  margin: 0 0 12px;
  font-family: "Sora", sans-serif;
}

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

.toggle-card,
.checkbox-card {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.checkbox-card input,
.toggle-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.checkbox-card span {
  display: grid;
  gap: 4px;
}

.checkbox-card strong {
  font-size: 0.96rem;
}

.checkbox-card small,
.entity-item small {
  color: var(--muted);
}

.contact-card {
  margin-top: 24px;
  padding: 18px;
  font-style: normal;
  color: #f2f8fd;
  background:
    radial-gradient(circle at top right, rgba(240, 196, 107, 0.3), transparent 26%),
    linear-gradient(140deg, #0c243a, #12314f);
}

.contact-card strong,
.contact-card a {
  display: block;
  margin-top: 12px;
}

.contact-card p,
.contact-card a {
  color: rgba(242, 248, 253, 0.8);
}

.preview-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(135deg, #0c243a, #12314f);
  color: #f2f8fd;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.preview-modal[hidden] {
  display: none;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 29, 0.68);
  backdrop-filter: blur(10px);
}

.preview-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
}

.preview-dialog .preview-card {
  margin: 0;
  max-height: calc(100vh - 32px);
  overflow: auto;
  box-shadow: 0 28px 80px rgba(4, 14, 24, 0.35);
}

.preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  color: #f2f8fd;
  font-size: 1.6rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.preview-visual,
.card-visual {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.preview-visual {
  min-height: 280px;
  padding: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.preview-visual::before,
.card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.1));
}

.visual-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end start;
  min-height: inherit;
}

.visual-plate {
  padding: 18px;
  border-radius: 22px;
  background: rgba(5, 15, 25, 0.22);
  backdrop-filter: blur(6px);
}

.visual-plate small,
.visual-plate strong,
.visual-chip,
.product-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
}

.visual-plate small {
  color: rgba(242, 248, 253, 0.72);
  margin-bottom: 8px;
}

.visual-plate strong {
  font-size: 1.2rem;
  font-family: "Sora", sans-serif;
}

.preview-copy h3 {
  margin: 10px 0 12px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
}

.preview-copy p {
  color: rgba(242, 248, 253, 0.78);
  line-height: 1.7;
}

.preview-meta,
.product-chips,
.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.preview-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}

.preview-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
}

.preview-thumb.is-active {
  border-color: rgba(240, 196, 107, 0.9);
  box-shadow: 0 0 0 2px rgba(240, 196, 107, 0.24);
}

.visual-chip,
.product-chip,
.status-pill,
.preview-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(242, 248, 253, 0.86);
}

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

.sort-field {
  display: grid;
  gap: 8px;
  min-width: 190px;
}

.sort-field span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.product-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  border: 1px solid rgba(7, 23, 38, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 36px rgba(11, 35, 55, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover,
.product-card.is-active {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(11, 35, 55, 0.14);
  border-color: rgba(0, 140, 221, 0.28);
}

.card-visual {
  min-height: 190px;
  padding: 18px;
}

.card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 18px;
}

.card-visual .visual-shell {
  min-height: 100%;
}

.card-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.card-body h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.product-meta small {
  color: var(--muted);
}

.status-pill {
  color: var(--primary);
  background: rgba(1, 94, 148, 0.08);
  border-color: rgba(1, 94, 148, 0.12);
}

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

.card-actions button,
.card-actions a {
  flex: 1;
  text-align: center;
  padding: 12px 14px;
  border-radius: 14px;
}

.card-actions button {
  border: 1px solid var(--line);
  background: #f7fbff;
}

.card-actions a {
  color: #fff;
}

.empty-state {
  padding: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
}

.admin-body {
  background:
    radial-gradient(circle at top left, rgba(0, 140, 221, 0.13), transparent 26%),
    linear-gradient(180deg, #f6f9fc 0%, #edf3f8 100%);
}

.admin-shell {
  padding-bottom: 56px;
}

.admin-main {
  margin-top: 24px;
}

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

.admin-login-card {
  width: min(100%, 520px);
  padding: 34px;
}

.admin-login-actions,
.admin-status-row,
.admin-list-tools {
  display: flex;
  gap: 14px;
}

.admin-login-actions {
  margin-top: 24px;
  align-items: center;
}

.admin-login-button,
.admin-action-button {
  min-height: 52px;
}

.admin-login-card p,
.admin-heading p {
  color: var(--muted);
}

.admin-heading-stack {
  align-items: stretch;
}

.admin-overview {
  display: grid;
  gap: 16px;
  width: min(100%, 520px);
}

.admin-session-card,
.admin-panel-list {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.admin-session-card {
  padding: 18px 20px;
}

.admin-session-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.admin-status-row {
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.admin-sync-hint {
  color: var(--muted);
  font-size: 0.96rem;
}

.status-pill-neutral {
  color: var(--primary);
  background: rgba(1, 94, 148, 0.08);
  border-color: rgba(1, 94, 148, 0.14);
}

.status-pill-live {
  color: #166c4f;
  background: rgba(43, 158, 119, 0.12);
  border-color: rgba(43, 158, 119, 0.2);
}

.status-pill-warn {
  color: #935d04;
  background: rgba(240, 196, 107, 0.18);
  border-color: rgba(197, 127, 23, 0.24);
}

.status-pill-danger {
  color: var(--danger);
  background: rgba(193, 73, 83, 0.12);
  border-color: rgba(193, 73, 83, 0.18);
}

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

.stack-form label {
  display: grid;
  gap: 8px;
}

.stack-form span {
  font-weight: 600;
}

textarea {
  resize: vertical;
  min-height: 112px;
}

.inline-feedback {
  min-height: 22px;
  margin: 10px 0 0;
}

.inline-feedback.is-error {
  color: var(--danger);
}

.inline-feedback.is-success {
  color: var(--success);
}

.credential-hint {
  margin-top: 18px;
  font-size: 0.94rem;
}

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

.stat-card {
  padding: 24px;
  border-radius: 24px;
}

.stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  gap: 22px;
  align-items: start;
}

.admin-panel {
  padding: 24px;
}

.admin-panel-wide {
  min-width: 0;
}

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

.entity-list,
.product-table {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.entity-item,
.product-row {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 253, 0.96));
}

.entity-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.entity-actions button,
.product-actions button {
  padding: 10px 12px;
  border: none;
  border-radius: 12px;
  background: rgba(1, 94, 148, 0.08);
  color: var(--primary);
}

.entity-actions .danger,
.product-actions .danger {
  background: rgba(193, 73, 83, 0.1);
  color: var(--danger);
}

.product-table-header {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr;
  gap: 12px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-row {
  grid-template-columns: 2fr 1.1fr 1fr;
  align-items: center;
}

.product-row p {
  margin: 4px 0 0;
}

.product-row .meta-block {
  min-width: 0;
}

.panel-header-stack {
  align-items: end;
}

.admin-list-tools {
  flex-wrap: wrap;
  align-items: end;
}

.admin-list-tools label {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.admin-list-tools span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-empty-state {
  margin-top: 10px;
}

.accent-ocean {
  background: linear-gradient(135deg, #008cdd, #015e94);
}

.accent-amber {
  background: linear-gradient(135deg, #f0c46b, #c57f17);
}

.accent-slate {
  background: linear-gradient(135deg, #6c7f92, #32475c);
}

.accent-teal {
  background: linear-gradient(135deg, #37c5c9, #0d6e8c);
}

.accent-steel {
  background: linear-gradient(135deg, #7e9cb7, #35516b);
}

.accent-graphite {
  background: linear-gradient(135deg, #586675, #1c2833);
}

@media (max-width: 1100px) {
  .hero,
  .admin-grid,
  .preview-card {
    grid-template-columns: 1fr;
  }

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

  .product-row,
  .product-table-header {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) {
  .filters-panel {
    position: sticky;
    top: 108px;
    height: auto;
    overflow: visible;
    transform: none !important;
    transition: none;
  }

  .filters-backdrop,
  .filters-toggle,
  .filters-close {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .catalog-section {
    grid-template-columns: 1fr;
  }

  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
  }

  .topbar,
  .filters-header,
  .filters-header-actions,
  .catalog-toolbar,
  .catalog-toolbar-actions,
  .panel-header,
  .admin-heading,
  .admin-status-row,
  .hero-search,
  .hero-actions,
  .preview-actions,
  .product-meta,
  .card-actions,
  .admin-actions,
  .admin-login-actions,
  .admin-list-tools,
  .form-columns {
    flex-direction: column;
  }

  .topbar {
    border-radius: 30px;
    align-items: start;
  }

  .hero,
  .catalog-content,
  .admin-panel,
  .admin-login-card {
    padding: 20px;
  }

  .catalog-content {
    width: 100%;
    min-width: 0;
    padding: 20px;
  }

  .filters-toggle,
  .filters-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .catalog-toolbar-actions {
    width: 100%;
  }

  .filters-toggle,
  .catalog-toolbar-actions .sort-field {
    width: 100%;
  }

  .filters-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    width: min(92vw, 380px);
    height: 100dvh;
    padding: 20px;
    border-radius: 28px 0 0 28px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .filters-panel.is-open {
    transform: translateX(0);
  }

  .preview-modal {
    padding: 12px;
  }

  .preview-dialog {
    width: min(100vw - 12px, 1080px);
    max-height: calc(100vh - 12px);
  }

  .preview-dialog .preview-card {
    max-height: calc(100vh - 12px);
    padding: 18px;
  }

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

  .hero-copy h1 {
    max-width: none;
  }

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

  .card-actions button,
  .card-actions a {
    width: 100%;
  }

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