:root {
  --bg: #eef2fb;
  --panel: #ffffff;
  --text: #1f2440;
  --muted: #616a8f;
  --line: rgba(84, 90, 132, 0.17);
  --accent: #8551c8;
  --accent-2: #5a2e8f;
  --focus: rgba(123, 84, 193, 0.24);
  --good: #2f8f53;
  --danger: #af3657;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body.admin-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(1400px 560px at -10% -20%, rgba(189, 153, 236, 0.46), transparent 62%),
    radial-gradient(1200px 480px at 115% -4%, rgba(142, 201, 255, 0.28), transparent 60%),
    var(--bg);
}

.admin-shell {
  width: min(1320px, 100% - 30px);
  margin: 16px auto 30px;
}

.admin-topbar {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(252, 248, 255, 0.92));
  border: 1px solid rgba(123, 132, 182, 0.2);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow:
    0 16px 34px rgba(44, 36, 76, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.admin-back {
  display: inline-flex;
  color: #4b4f71;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.89rem;
  margin-bottom: 8px;
}

.admin-top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-topbar h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.34rem, 2.3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.admin-topbar p {
  margin: 6px 0 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-auth-status {
  min-height: 20px;
  font-size: 0.82rem;
  color: #403960;
}

.admin-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header-logout-btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(101, 77, 145, 0.28);
  background: #fff;
  color: #4a3c71;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.header-logout-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.admin-layout {
  margin-top: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.admin-nav {
  display: grid;
  gap: 8px;
  align-content: start;
  position: sticky;
  top: 14px;
  padding: 10px;
  border: 1px solid rgba(114, 122, 170, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.admin-nav-btn {
  border: 1px solid rgba(108, 116, 164, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: #353a5b;
  border-radius: 12px;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: left;
  padding: 10px 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-nav-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 16px rgba(99, 52, 155, 0.26);
}

.admin-nav-btn:disabled {
  opacity: 0.45;
}

.admin-nav-btn:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: rgba(111, 119, 168, 0.3);
}

.admin-content {
  min-width: 0;
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.admin-card {
  background: var(--panel);
  border: 1px solid rgba(110, 118, 167, 0.16);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 16px 30px rgba(41, 33, 78, 0.08);
}

.admin-card h2 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-family: "Sora", sans-serif;
}

.auth-grid,
.status-grid,
.marketing-grid,
.editor-grid {
  display: grid;
  gap: 10px;
}

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

.editor-swipe-shell {
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow-x: hidden;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.editor-swipe-head {
  border: 1px solid rgba(112, 120, 170, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.editor-swipe-head p {
  margin: 0;
  color: #5f678c;
  font-size: 0.78rem;
  font-weight: 700;
}

.editor-swipe-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.editor-swipe-nav {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(108, 116, 164, 0.28);
  background: #ffffff;
  color: #3f4768;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.editor-swipe-nav:disabled {
  opacity: 0.45;
}

.editor-swipe-counter {
  min-width: 54px;
  text-align: center;
  color: #4d5578;
  font-size: 0.76rem;
  font-weight: 800;
}

.editor-swipe-form {
  gap: 0;
  min-width: 0;
}

.editor-swipe-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% - 1px);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  padding-bottom: 0;
  min-width: 0;
}

.editor-swipe-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
}

.editor-swipe-card.preview-card-wrap {
  position: static;
  top: auto;
  align-self: auto;
}

.editor-swipe-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.editor-swipe-dot {
  width: 9px;
  min-width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(109, 117, 166, 0.32);
  padding: 0;
}

.editor-swipe-dot.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.editor-grid {
  grid-template-columns: minmax(340px, 470px) minmax(0, 1fr);
}

.status-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: 12px;
}

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

.status-card-note {
  margin: -4px 0 10px;
  color: #667095;
  font-size: 0.76rem;
  line-height: 1.38;
}

.status-plan-card {
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(123, 84, 193, 0.12), transparent 68%),
    #ffffff;
}

.status-history-card {
  background:
    radial-gradient(220px 110px at 100% 0%, rgba(88, 167, 230, 0.12), transparent 66%),
    #ffffff;
}

.status-plan-card #paySubscriptionBtn {
  width: 100%;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  color: #505982;
  font-weight: 700;
}

.admin-form input:not([type="checkbox"]):not([type="radio"]),
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(102, 111, 159, 0.24);
  background: #fdfdff;
  color: #252b46;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-nav-btn:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-inline-upload:focus-visible,
.btn-inline-clear:focus-visible {
  outline: none;
  border-color: rgba(123, 84, 193, 0.52);
  box-shadow: 0 0 0 3px var(--focus);
  background: #fff;
}

.admin-form textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-form input[type="checkbox"],
.admin-form input[type="radio"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
}

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

.opening-hours-row input[type="time"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.opening-hours-row input[type="time"]::-webkit-date-and-time-value {
  margin: 0;
  text-align: center;
}

.opening-hours-row input[type="time"]::-webkit-calendar-picker-indicator {
  margin: 0;
  padding: 0;
}

.opening-editor {
  display: grid;
  gap: 10px;
}

.opening-hours-list {
  display: grid;
  gap: 7px;
}

.opening-grid-head {
  display: grid;
  grid-template-columns: 52px 52px repeat(4, minmax(0, 1fr));
  gap: 5px;
  align-items: center;
  padding: 0 7px;
  color: #687093;
  font-size: 0.58rem;
  font-weight: 900;
}

.opening-grid-head span {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.opening-day-row {
  display: grid;
  grid-template-columns: 52px 52px repeat(4, minmax(0, 1fr));
  gap: 5px;
  align-items: center;
  border: 1px solid rgba(108, 115, 153, 0.2);
  border-radius: 12px;
  background: rgba(248, 249, 255, 0.82);
  padding: 7px;
}

.opening-day-title {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opening-day-title span {
  min-width: 38px;
  width: 38px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(108, 115, 153, 0.2);
  color: #51436e;
  font-size: 0.7rem;
  font-weight: 900;
}

.opening-closed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #5b6388;
  font-size: 0.66rem;
  font-weight: 900;
  white-space: nowrap;
}

.opening-range-pair input[type="time"],
.opening-range-grid input[type="time"],
.opening-time-input,
.holiday-add-row input[type="time"],
.holiday-add-row input[type="date"],
.holiday-add-row input[type="text"],
.holiday-add-row select {
  min-width: 0;
  width: 100%;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  padding: 4px 1px;
  font-size: 0.72rem;
  text-align: center;
  box-shadow: none;
  outline: none;
}

.opening-time-compact {
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.opening-time-select {
  -webkit-appearance: none;
  appearance: none;
  text-align-last: center;
  padding-right: 1px;
}

.opening-day-row .opening-time-input {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding-left: 0;
  padding-right: 0;
}

.opening-day-row .opening-time-open {
  border-color: rgba(33, 166, 92, 0.45);
  color: #198754;
}

.opening-day-row .opening-time-siesta {
  border-color: rgba(214, 91, 146, 0.42);
  color: #c03c78;
}

.opening-day-row .opening-time-close {
  border-color: rgba(220, 53, 69, 0.42);
  color: #c92a3a;
}

.holiday-editor {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(108, 115, 153, 0.18);
  border-radius: 12px;
  background: rgba(248, 249, 255, 0.72);
  padding: 9px;
}

.holiday-editor-head strong {
  color: #30375d;
  font-size: 0.82rem;
}

.holiday-add-row {
  display: grid;
  gap: 8px;
}

.holiday-primary-row {
  display: grid;
  grid-template-columns: minmax(124px, 148px) minmax(0, 1fr);
  gap: 8px;
}

.holiday-secondary-row {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.holiday-time-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 104px));
  gap: 8px;
  align-items: center;
  justify-content: start;
}

.holiday-time-row[hidden] {
  display: none;
}

.holiday-add-row input[type="date"],
.holiday-add-row input[type="text"],
.holiday-add-row select {
  box-sizing: border-box;
  display: block;
  min-width: 0;
  width: 100%;
  height: 34px;
  min-height: 34px;
  border: 1px solid rgba(108, 115, 153, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px 10px;
  font-size: 0.74rem;
  line-height: 1.2;
  color: #30375d;
}

.holiday-primary-row input[type="date"],
.holiday-primary-row input[type="text"] {
  min-width: 0;
  max-width: 100%;
}

.holiday-add-row input[type="date"],
.holiday-add-row select {
  -webkit-appearance: none;
  appearance: none;
}

.holiday-time-row select {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.holiday-list {
  display: grid;
  gap: 6px;
}

.holiday-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 7px;
  align-items: center;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(108, 115, 153, 0.18);
  padding: 7px 8px;
}

.holiday-item strong,
.holiday-item span,
.holiday-item em {
  min-width: 0;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.holiday-item-label {
  color: #30375d;
  font-weight: 700;
}

.holiday-item-badge {
  justify-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.64rem;
  font-weight: 800;
}

.holiday-item-badge-open {
  color: #198754;
  background: rgba(33, 166, 92, 0.1);
}

.holiday-item-badge-closed {
  color: #c92a3a;
  background: rgba(220, 53, 69, 0.08);
}

.holiday-item em {
  color: #5b6388;
  font-style: normal;
  font-weight: 800;
  justify-self: start;
}

.holiday-item button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(102, 109, 146, 0.22);
  background: #fff;
  color: #663f7c;
  font: inherit;
  font-weight: 900;
}

.holiday-empty {
  margin: 0;
  color: #687093;
  font-size: 0.74rem;
}

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

.hashtag-editor-strip {
  display: grid;
  gap: 9px;
}

.editor-section {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(107, 116, 165, 0.2);
  border-radius: 14px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 247, 253, 0.86));
}

.editor-section-head {
  display: grid;
  gap: 3px;
}

.editor-section-head h3 {
  margin: 0;
  font-size: 0.88rem;
  font-family: "Sora", sans-serif;
  color: #303758;
}

.editor-section-head p {
  margin: 0;
  font-size: 0.74rem;
  color: #687195;
  line-height: 1.36;
}

.intro-mode-fields {
  display: grid;
  gap: 9px;
}

.intro-mode-fields[hidden] {
  display: none !important;
}

.media-upload-row {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.intro-actions-row {
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.intro-actions-row::-webkit-scrollbar {
  display: none;
}

.intro-actions-row .btn-inline-upload,
.intro-actions-row .btn-inline-clear,
.intro-actions-row .upload-inline-status {
  flex: 0 0 auto;
  white-space: nowrap;
}

.intro-actions-row .btn-inline-upload,
.intro-actions-row .btn-inline-clear {
  min-height: 32px;
  padding: 0 9px;
  font-size: 0.7rem;
}

.intro-actions-row .upload-inline-status {
  margin-left: auto;
  font-size: 0.7rem;
  color: #646d90;
}

.btn-inline-upload,
.btn-inline-clear {
  min-height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(102, 109, 146, 0.32);
  background: #fbfbff;
  color: #3a4062;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 10px;
}

.upload-inline-status {
  font-size: 0.72rem;
  color: #626985;
}

.promo-video-preview-wrap[hidden] {
  display: none !important;
}

.promo-video-preview-wrap {
  margin-top: 8px;
}

.promo-video-preview {
  width: 100%;
  display: block;
  border-radius: 12px;
  background: rgba(20, 11, 36, 0.92);
  border: 1px solid rgba(108, 115, 153, 0.22);
  aspect-ratio: 16 / 9;
}

.intro-photos-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.intro-photo-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(108, 115, 153, 0.22);
  background: #f8f8fb;
  aspect-ratio: 16 / 11;
}

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

.intro-photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(34, 24, 54, 0.72);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0;
}

.social-links-editor {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(108, 115, 153, 0.2);
  border-radius: 12px;
  padding: 11px;
  background: rgba(253, 253, 255, 0.82);
}

.inline-marketing-editor {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(98, 107, 157, 0.26);
  border-radius: 13px;
  padding: 10px;
  background:
    radial-gradient(190px 90px at 0% 0%, rgba(141, 95, 211, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 246, 253, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.inline-marketing-head h3 {
  margin: 0;
  font-size: 0.84rem;
  font-family: "Sora", sans-serif;
  color: #2f3555;
}

.inline-marketing-head p {
  margin: 2px 0 0;
  font-size: 0.7rem;
  color: #5d678b;
}

.marketing-inline-accordion {
  display: grid;
  gap: 6px;
}

.marketing-details {
  border: 1px solid rgba(98, 108, 159, 0.24);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(49, 40, 84, 0.04);
}

.marketing-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  cursor: pointer;
  color: #343b5c;
  font-weight: 800;
  font-size: 0.72rem;
  background: linear-gradient(180deg, #ffffff, #f7f8ff);
  position: relative;
}

.marketing-details summary::-webkit-details-marker {
  display: none;
}

.marketing-details summary::after {
  content: ">";
  font-size: 0.66rem;
  color: #7b84a8;
  transition: transform 0.18s ease;
}

.marketing-details summary strong {
  font-size: 0.62rem;
  color: #666f93;
  font-weight: 700;
}

.marketing-details[open] summary {
  border-bottom: 1px solid rgba(108, 115, 153, 0.2);
}

.marketing-details[open] summary::after {
  transform: rotate(90deg);
}

.compact-feature-list {
  gap: 5px;
  padding: 6px 8px 8px;
}

.compact-feature-list .feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(108, 115, 153, 0.24);
  border-radius: 9px;
  padding: 6px 8px;
  background: #fcfcff;
}

.compact-feature-list .feature-item:last-child {
  border-bottom: 1px solid rgba(108, 115, 153, 0.24);
}

.feature-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.feature-copy strong,
.feature-copy small {
  line-height: 1.2;
}

.feature-item:has(input:checked) {
  border-color: rgba(126, 81, 196, 0.56);
  background: linear-gradient(180deg, rgba(134, 83, 201, 0.12), rgba(134, 83, 201, 0.06));
}

.feature-item-badge:has(input:checked) {
  border-color: rgba(58, 102, 194, 0.45);
  background: linear-gradient(180deg, rgba(58, 102, 194, 0.15), rgba(58, 102, 194, 0.07));
}

.badge-pill {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 900;
  color: #fff;
  flex: 0 0 16px;
}

.badge-pill-verified {
  background: linear-gradient(135deg, #54b3ff, #2a8cff);
}

.badge-pill-premium {
  background: linear-gradient(135deg, #f1c453, #e2a11c);
}

.badge-pill-top_choice {
  background: linear-gradient(135deg, #53c98e, #2ba66d);
}

.compact-feature-list .feature-item strong {
  font-size: 0.72rem;
}

.compact-feature-list .feature-item small {
  font-size: 0.64rem;
}

.compact-feature-list .feature-item input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  flex: 0 0 16px;
  margin: 0;
  accent-color: #8551c8;
}

.marketing-total {
  margin: 0;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px dashed rgba(111, 120, 171, 0.4);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  color: #424b6f;
}

.marketing-total strong {
  color: #2e3560;
}

.marketing-summary {
  margin: 0;
  min-height: 14px;
  color: #5e678c;
  font-size: 0.69rem;
  line-height: 1.38;
}

.social-platform-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.social-platform-tab {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(102, 109, 146, 0.24);
  background: #ffffff;
  color: #3f4669;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.social-platform-icon {
  width: 28px;
  height: 28px;
  color: var(--social-accent, #6b7398);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-platform-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-platform-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(114, 122, 171, 0.34);
}

.social-platform-tab.active {
  border-color: rgba(123, 84, 193, 0.52);
  background: rgba(133, 81, 200, 0.1);
  color: #242b48;
  box-shadow: 0 6px 12px rgba(89, 55, 140, 0.14);
}

.social-platform-tab.active .social-platform-icon {
  transform: scale(1.06);
}

.social-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.social-link-row input {
  min-height: 38px;
}

.social-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.social-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(108, 115, 153, 0.24);
  border-radius: 999px;
  background: #ffffff;
  padding: 3px;
}

.social-link-pill-main {
  min-height: 28px;
  border-radius: 999px;
  border: 0;
  background: rgba(133, 81, 200, 0.12);
  color: #3f2f63;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0 10px;
}

.social-link-pill-remove {
  width: 26px;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 0;
  background: rgba(174, 56, 98, 0.14);
  color: #9e2f56;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

.editor-hashtag-strip,
.preview-hashtag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip {
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(124, 81, 182, 0.28);
  background: rgba(133, 81, 200, 0.12);
  color: #4b2a77;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tag-chip-muted {
  border-color: rgba(106, 112, 147, 0.22);
  background: rgba(108, 115, 153, 0.1);
  color: #676d8b;
}

.form-actions {
  display: flex;
  gap: 8px;
  padding-top: 2px;
}

.form-actions .btn-primary {
  width: 100%;
}

.preview-publish-actions {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.preview-publish-actions .btn-ghost {
  width: 100%;
}

.inline-payment-box {
  margin-top: 0;
}

.inline-payment-history {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.inline-payment-history h3 {
  margin: 0;
  font-size: 0.82rem;
  color: #3c4364;
  font-family: "Sora", sans-serif;
}

.editor-validation-hint {
  margin: 0;
  min-height: 18px;
  color: #5c6281;
  font-size: 0.76rem;
  line-height: 1.35;
}

.btn-primary,
.btn-ghost {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0 16px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 18px rgba(99, 52, 155, 0.22);
}

.btn-ghost {
  color: #3a3f62;
  border-color: rgba(102, 109, 146, 0.28);
  background: #fcfcff;
}

.preview-help {
  margin: 0 0 9px;
  color: #696c87;
  font-size: 0.78rem;
}

.preview-card {
  --card-frame: #8a55cc;
  --card-surface: #5a2a78;
  --card-background: #241335;
  --card-text: #fff7ff;
  --card-accent: #c99af0;
  --card-radius: 24px;
  --card-border-width: 0px;
  --card-shadow: 0 22px 32px rgba(52, 26, 81, 0.22);
  --card-frame-background: linear-gradient(180deg, var(--card-frame), var(--card-background));
  position: relative;
  border-radius: var(--card-radius);
  border: var(--card-border-width) solid var(--card-accent);
  overflow: hidden;
  background: var(--card-frame-background);
  box-shadow: var(--card-shadow);
  max-width: 420px;
  margin: 0 auto;
}

.preview-banner {
  display: block;
  position: relative;
  z-index: 1;
  height: 188px;
  min-height: 188px;
  max-height: 188px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  border-radius: 24px 24px 0 0;
}

.preview-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center;
  will-change: transform, object-position;
}

.upload-overlay {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: rgba(26, 16, 43, 0.62);
}

.preview-camera-badge {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(32, 22, 43, 0.58);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  box-shadow: 0 3px 10px rgba(17, 10, 26, 0.16);
  pointer-events: none;
  z-index: 40;
}

.preview-camera-badge svg {
  width: 15px;
  height: 15px;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.preview-camera-badge-banner {
  left: 8px;
  top: 8px;
  z-index: 100;
}

.preview-camera-badge-avatar {
  right: 3px;
  bottom: 5px;
}

.preview-avatar-wrap {
  position: absolute;
  z-index: 6;
  top: 142px;
  left: 50%;
  transform: translateX(-50%);
  width: 94px;
  height: 94px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: var(--card-surface);
  padding: 2px;
  box-shadow: 0 8px 18px rgba(25, 14, 39, 0.24);
  cursor: pointer;
  overflow: visible;
  box-sizing: border-box;
}

.preview-banner.is-positioning {
  cursor: grabbing;
}

.preview-avatar {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 2px solid var(--card-accent);
  background: var(--card-surface);
  box-sizing: border-box;
}

.upload-overlay-banner,
.upload-overlay-small {
  display: none;
}

.preview-badges {
  position: absolute;
  margin-top: 8px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 4;
}

.preview-badge {
  border-radius: 999px;
  padding: 4px 9px 4px 7px;
  font-size: 0.64rem;
  font-weight: 800;
  background: rgba(21, 14, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.preview-badge-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: 900;
  background: #2a8cff;
  color: #fff;
}

.preview-badge-verified .preview-badge-dot {
  background: #2a8cff;
}

.preview-badge-premium .preview-badge-dot {
  background: #e3a41f;
}

.preview-badge-top_choice .preview-badge-dot {
  background: #30a96f;
}

.preview-badge-online .preview-badge-dot {
  background: #3ab978;
}

.preview-panel {
  position: relative;
  z-index: 2;
  padding: 62px 18px 18px;
  background: var(--card-surface);
  color: var(--card-text);
}

.preview-panel h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.25rem);
  line-height: 1.02;
  text-align: center;
}

.preview-tagline {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--card-text) 82%, transparent);
}

.preview-intro-wrap {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.preview-intro-toggle {
  min-height: 54px;
  border-radius: 18px;
  border: 2px solid color-mix(in srgb, var(--card-accent) 40%, transparent);
  color: var(--card-text);
  background: color-mix(in srgb, var(--card-accent) 28%, transparent);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
}

.preview-intro-section {
  display: none;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 28%, transparent);
  background: color-mix(in srgb, var(--card-background) 24%, transparent);
  padding: 10px;
}

.preview-intro-section.open {
  display: grid;
  gap: 8px;
}

.preview-intro-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--card-text) 90%, transparent);
}

.preview-intro-video {
  width: 100%;
  display: block;
  border-radius: 12px;
  background: rgba(20, 11, 36, 0.92);
  border: 1px solid rgba(243, 228, 255, 0.22);
  aspect-ratio: 16 / 9;
}

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

.preview-intro-gallery img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(243, 228, 255, 0.25);
  background: rgba(30, 14, 51, 0.35);
}

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

.preview-link {
  min-height: 58px;
  border-radius: 20px;
  border: 1px solid rgba(131, 91, 188, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #3f375e;
  font-size: 0.96rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(40, 18, 64, 0.12);
}

.preview-link-muted {
  opacity: 0.55;
}

.preview-meta {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preview-meta div {
  border-radius: 18px;
  background: rgba(247, 235, 255, 0.18);
  border: 1px solid rgba(246, 232, 255, 0.22);
  padding: 10px 8px;
  text-align: center;
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: center;
}

.preview-meta span {
  display: block;
  font-size: 0.86rem;
  color: rgba(246, 232, 255, 0.86);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-meta strong {
  display: block;
  font-size: 0.96rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-meta-rating strong {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.preview-meta .rating-stars {
  position: relative;
  display: inline-block;
  width: 68px;
  min-width: 68px;
  height: 12px;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  direction: ltr;
  line-height: 1;
  letter-spacing: 1px;
  font-weight: 800;
  vertical-align: middle;
}

.preview-meta .rating-stars .stars-base,
.preview-meta .rating-stars .stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  line-height: 1;
  letter-spacing: inherit;
  text-overflow: clip;
  white-space: nowrap;
}

.preview-meta .rating-stars .stars-base {
  color: #f7cd3b;
  overflow: visible;
}

.preview-meta .rating-stars .stars-fill {
  color: #f7cd3b;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.rating-stars-admin {
  font-size: 12px;
}

.plan-options,
.feature-list {
  display: grid;
  gap: 8px;
}

.plan-select-label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4f587d;
}

.plan-select-input {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(108, 115, 153, 0.24);
  background: #fff;
  color: #283051;
  font: inherit;
  font-size: 0.9rem;
  padding: 10px 12px;
}

.plan-select-note {
  margin: 0;
  font-size: 0.76rem;
  color: #60698d;
  line-height: 1.4;
}

.plan-select-note strong {
  color: #31395f;
}

.feature-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(108, 115, 153, 0.2);
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
}

.plan-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(108, 115, 153, 0.24);
  border-radius: 13px;
  padding: 10px 12px;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.plan-item:hover {
  border-color: rgba(113, 121, 171, 0.36);
  transform: translateY(-1px);
}

.plan-item > div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.plan-item > div:last-child {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.plan-item.active {
  border-color: rgba(123, 84, 193, 0.5);
  background: linear-gradient(180deg, rgba(247, 241, 255, 0.94), rgba(243, 236, 255, 0.86));
  box-shadow: 0 10px 16px rgba(101, 62, 158, 0.14);
}

.plan-item strong,
.feature-item strong {
  font-size: 0.85rem;
}

.plan-item small,
.feature-item small {
  color: #666d8b;
  font-size: 0.74rem;
}

.plan-item .btn-ghost {
  min-height: 30px;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 0.7rem;
}

.status-summary {
  margin: 12px 0 10px;
  border: 1px solid rgba(108, 115, 153, 0.24);
  border-radius: 13px;
  padding: 8px;
  background: rgba(248, 249, 255, 0.82);
}

.status-summary p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: #525b7d;
  border-radius: 9px;
  border: 1px solid rgba(110, 118, 167, 0.18);
  background: #ffffff;
  padding: 7px 8px;
}

.status-summary p + p {
  margin-top: 5px;
}

.status-summary p span {
  color: #636d90;
}

.status-summary p strong {
  color: #2f3658;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.history-list li {
  border: 1px solid rgba(108, 115, 153, 0.24);
  border-radius: 11px;
  padding: 9px 10px 9px 12px;
  display: grid;
  gap: 3px;
  background: #ffffff;
  position: relative;
}

.history-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(123, 84, 193, 0.76), rgba(109, 75, 183, 0.32));
}

.history-list li strong {
  font-size: 0.8rem;
  color: #31395e;
}

.history-list li span {
  color: #646d90;
  font-size: 0.72rem;
}

.session-info {
  margin: 0 0 10px;
  color: #4f5675;
  font-size: 0.85rem;
}

.admin-notice {
  margin: 12px 4px 0;
  min-height: 20px;
  color: #4b5171;
  font-size: 0.82rem;
}

.admin-notice.ok {
  color: var(--good);
}

.admin-notice.error {
  color: var(--danger);
}

@media (max-width: 1080px) {
  .marketing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.admin-body {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    overscroll-behavior-y: none;
    touch-action: pan-x;
  }

  .admin-shell {
    width: min(100% - 10px, 1240px);
    margin: 0 auto;
    height: 100svh;
    max-height: 100svh;
    padding-top: 6px;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .admin-topbar {
    padding: 11px 12px;
  }

  .admin-topbar p {
    display: none;
  }

  .admin-layout {
    grid-template-columns: 1fr;
    margin-top: 7px;
    min-height: 0;
    gap: 7px;
  }

  .admin-content {
    min-height: 0;
    overflow: hidden;
  }

  .admin-tab.active {
    height: 100%;
    overflow: hidden;
  }

  .admin-nav {
    position: static;
    display: flex;
    align-items: center;
    overflow-x: auto;
    padding: 8px;
    gap: 8px;
    scrollbar-width: thin;
  }

  .admin-nav-btn {
    flex: 0 0 auto;
    min-width: 168px;
    text-align: center;
  }

  .editor-swipe-shell {
    height: 100%;
    min-height: 0;
    gap: 7px;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .editor-swipe-dots {
    margin-top: 2px;
    padding-bottom: 2px;
  }

  .editor-swipe-head {
    display: none;
  }

  .editor-swipe-track {
    min-height: 0;
    height: 100%;
    grid-auto-columns: 100%;
    gap: 8px;
    overscroll-behavior-y: none;
  }

  .editor-swipe-card {
    padding: 11px;
    border-radius: 18px;
    gap: 8px;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .editor-swipe-card h2 {
    font-size: 0.9rem;
  }

  .admin-form {
    gap: 8px;
  }

  .admin-form label {
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .admin-form input:not([type="checkbox"]):not([type="radio"]),
  .admin-form textarea,
  .admin-form select {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 16px;
    border-radius: 11px;
  }

  .admin-form textarea {
    min-height: 78px;
  }

  .editor-section {
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .editor-section-head h3 {
    display: none;
  }

  .editor-section-head p {
    font-size: 0.74rem;
    line-height: 1.34;
  }

  .btn-primary,
  .btn-ghost {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .preview-help {
    margin-bottom: 6px;
    font-size: 0.74rem;
  }

  .preview-card {
    max-width: min(330px, 100%);
    border-radius: 18px;
  }

  .preview-banner {
    height: 168px;
    min-height: 168px;
    max-height: 168px;
    border-radius: 18px 18px 0 0;
  }

  .preview-camera-badge-banner {
    left: 8px;
    top: 8px;
    width: 28px;
    height: 28px;
  }

  .preview-camera-badge-banner svg {
    width: 14px;
    height: 14px;
  }

  .preview-panel {
    padding: 56px 14px 14px;
  }

  .preview-panel h3 {
    font-size: 1.48rem;
  }

  .preview-tagline {
    margin-top: 10px;
    font-size: 0.86rem;
  }

  .preview-avatar-wrap {
    top: 126px;
    width: 78px;
    height: 78px;
  }

  .preview-camera-badge-avatar {
    right: 1px;
    bottom: 3px;
    width: 28px;
    height: 28px;
  }

  .preview-camera-badge-avatar svg {
    width: 14px;
    height: 14px;
  }

  .preview-intro-toggle {
    min-height: 48px;
    border-radius: 16px;
    font-size: 0.84rem;
  }

  .preview-links {
    margin-top: 14px;
    gap: 10px;
  }

  .preview-link {
    min-height: 52px;
    border-radius: 18px;
    font-size: 0.86rem;
  }

  .preview-meta {
    gap: 8px;
  }

  .preview-meta div {
    min-height: 66px;
    border-radius: 16px;
    padding: 8px 6px;
  }

  .preview-meta span {
    font-size: 0.74rem;
  }

  .preview-meta strong {
    font-size: 0.82rem;
  }

  .auth-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .social-platform-tab {
    min-height: 46px;
  }

  .social-links-editor {
    gap: 6px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .social-platform-tabs {
    gap: 6px;
  }

  .social-link-row {
    gap: 6px;
  }

  .intro-actions-row {
    gap: 6px;
  }

  .intro-actions-row .btn-inline-upload,
  .intro-actions-row .btn-inline-clear {
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  .intro-actions-row .upload-inline-status {
    font-size: 0.7rem;
  }

  .intro-photo-item {
    aspect-ratio: 1 / 1;
  }

  .opening-hours-row {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    overflow: hidden;
  }

  .opening-hours-row label {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .opening-hours-row input[type="time"] {
    width: 100%;
    inline-size: 100%;
    min-width: 0;
    min-inline-size: 0;
    max-width: 100%;
    max-inline-size: 100%;
    min-height: 40px;
    padding: 8px 6px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
  }

  .opening-grid-head {
    grid-template-columns: 48px 48px repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 0 6px;
    font-size: 0.52rem;
  }

  .opening-day-row {
    grid-template-columns: 48px 48px minmax(0, 1fr);
    gap: 4px;
    padding: 6px;
  }

  .opening-day-title strong {
    display: none;
  }

  .opening-day-title span {
    min-width: 38px;
    width: 38px;
    height: 26px;
  }

  .opening-day-row {
    grid-template-columns: 48px 48px repeat(4, minmax(0, 1fr));
  }

  .opening-range-pair input[type="time"],
  .opening-range-grid input[type="time"],
  .opening-time-input,
  .holiday-add-row input[type="date"],
  .holiday-add-row input[type="text"],
  .holiday-add-row select {
    height: 32px;
    min-height: 32px;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.68rem;
  }

  .holiday-primary-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .holiday-secondary-row {
    grid-template-columns: 96px minmax(0, 1fr) 92px;
    gap: 6px;
  }

  .holiday-time-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .holiday-secondary-row .btn-inline-upload {
    width: 100%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }

  .holiday-add-row input[type="date"],
  .holiday-add-row input[type="text"],
  .holiday-add-row select {
    height: 32px;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 0.68rem;
  }

  .holiday-item {
    grid-template-columns: minmax(74px, auto) minmax(0, 1fr) auto auto auto;
    gap: 5px;
    padding: 6px 7px;
  }

  .holiday-item strong,
  .holiday-item span,
  .holiday-item em {
    font-size: 0.64rem;
  }

  .holiday-item-badge {
    padding: 3px 6px;
    font-size: 0.58rem;
  }

  .inline-marketing-editor {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .social-link-pill-main {
    font-size: 0.72rem;
  }

  .compact-feature-list .feature-item strong {
    font-size: 0.78rem;
  }

  .compact-feature-list .feature-item small {
    font-size: 0.7rem;
  }

  .admin-notice {
    display: none;
  }
}

@media (max-width: 560px) {
  .admin-shell {
    width: min(100% - 10px, 1240px);
    margin: 0 auto;
  }

  .admin-topbar {
    padding: 9px 10px;
  }

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

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

  .intro-photos-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .social-link-row {
    grid-template-columns: 1fr;
  }

  .social-platform-tab {
    min-height: 44px;
  }

  .social-links-list {
    gap: 5px;
  }

  .editor-section {
    padding: 9px;
  }
}
