:root {
  --bg: #f6f8fc;
  --bg-soft: #eef3fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #172033;
  --text-strong: #0b1220;
  --muted: #6b7485;
  --line: #e4e8f0;
  --line-strong: #d8deea;
  --primary: #5457e8;
  --primary-hover: #4548d8;
  --primary-soft: #eef0ff;
  --accent: #12a594;
  --accent-soft: #e9f8f4;
  --warm: #ffb456;
  --warm-soft: #fff4e4;
  --danger: #e25757;
  --danger-soft: #fff0f0;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .05);
  --shadow: 0 18px 55px rgba(30, 41, 59, .09);
  --shadow-lg: 0 30px 90px rgba(30, 41, 59, .13);
  --radius: 20px;
  --radius-sm: 13px;
  --max: 1220px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 4% 0%, rgba(84, 87, 232, .09), transparent 28rem),
    radial-gradient(circle at 96% 18%, rgba(18, 165, 148, .08), transparent 26rem),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 58%, #f3f6fb 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  background-image: linear-gradient(rgba(23, 32, 51, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 32, 51, .025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 52%);
}

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

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

button {
  cursor: pointer
}

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

h1,
h2,
h3,
p {
  margin-top: 0
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 64px
}

.public-shell {
  width: min(780px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 52px
}

.brandbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px
}

.logo {
  width: 118px;
  max-height: 40px;
  object-fit: contain;
  object-position: left center
}

.brand-label {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  color: #566075;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap
}

.nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: #596377;
  font-size: 12px;
  font-weight: 750;
  transition: .18s ease;
}

.nav a:hover,
.nav a.active {
  background: #fff;
  color: var(--text-strong);
  box-shadow: var(--shadow-sm)
}

.mobile-menu {
  display: none
}

.card {
  border: 1px solid rgba(216, 222, 234, .88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.panel {
  padding: 24px
}

.eyebrow {
  color: var(--primary);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.serif {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif
}

.muted {
  color: var(--muted)
}

.small {
  font-size: 12px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px)
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(84, 87, 232, .20);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 14px 28px rgba(84, 87, 232, .25)
}

.btn-secondary {
  background: #fff;
  border-color: var(--line-strong);
  color: #273247;
  box-shadow: var(--shadow-sm)
}

.btn-secondary:hover {
  border-color: #c7cfdd;
  background: #fbfcfe
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: #566075
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--line-strong)
}

.btn-danger {
  background: var(--danger-soft);
  border-color: #ffdada;
  color: #bf4141
}

.btn-sm {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 12px;
  border-radius: 10px
}

.btn-block {
  width: 100%
}

.pill,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800
}

.pill {
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #657084;
  box-shadow: var(--shadow-sm)
}

.badge {
  padding: 5px 8px;
  background: var(--primary-soft);
  color: var(--primary)
}

.badge.free {
  background: var(--accent-soft);
  color: #087a6e
}

.badge.premium {
  background: #f1eeff;
  color: #6b46d9
}

.badge.orange {
  background: var(--warm-soft);
  color: #a75b00
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent)
}

.field {
  margin-bottom: 16px
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #4a5569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  color: var(--text-strong);
  background: #fff;
  transition: .18s ease;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .02);
}

.field textarea {
  min-height: 132px;
  resize: vertical
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa3b2
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #9da0f4;
  box-shadow: 0 0 0 4px rgba(84, 87, 232, .10);
}

.row2,
.row3 {
  display: grid;
  gap: 12px
}

.row2 {
  grid-template-columns: 1fr 1fr
}

.row3 {
  grid-template-columns: repeat(3, 1fr)
}

.switch {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #e9edf4;
  position: relative;
  transition: .18s;
  flex: 0 0 auto
}

.switch:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .16);
  transition: .18s
}

.switch.on {
  background: var(--primary);
  border-color: var(--primary)
}

.switch.on:before {
  left: 23px
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line)
}

.setting-row:last-child {
  border-bottom: 0
}

.setting-row strong {
  display: block;
  margin-bottom: 4px
}

.setting-row span {
  color: var(--muted);
  font-size: 12px
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 28px 0 16px
}

.section-head h2 {
  margin: 4px 0 0;
  font-size: 28px;
  letter-spacing: -.035em;
  color: var(--text-strong)
}

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

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm)
}

.stat strong {
  display: block;
  font-size: 29px;
  letter-spacing: -.045em;
  color: var(--text-strong)
}

.stat span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .1em
}

.hero-home {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 52px;
}

.hero-home h1 {
  margin: 12px 0 20px;
  color: var(--text-strong);
  font: 750 clamp(56px, 7vw, 90px)/.94 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.075em;
}

.hero-home p {
  max-width: 650px;
  color: #657084;
  font-size: 19px;
  line-height: 1.65
}

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

.orbit-card {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(18, 165, 148, .16), transparent 15rem),
    radial-gradient(circle at 14% 82%, rgba(255, 180, 86, .18), transparent 14rem),
    linear-gradient(145deg, #ffffff 0%, #f2f4ff 55%, #eefaf7 100%);
}

.orbit {
  width: min(390px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  border: 1px solid rgba(84, 87, 232, .15)
}

.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(84, 87, 232, .11)
}

.orbit:before {
  inset: 13%
}

.orbit:after {
  inset: 27%
}

.orbit-core {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--primary), #6b72f2 52%, var(--accent));
  color: #fff;
  font-size: 52px;
  box-shadow: 0 22px 45px rgba(84, 87, 232, .25)
}

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

.feature {
  padding: 22px;
  transition: .18s ease
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(30, 41, 59, .11)
}

.feature-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 800
}

.feature h3 {
  margin-bottom: 8px;
  color: var(--text-strong)
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px
}

.public-hero {
  min-height: calc(100vh - 108px);
  display: flex;
  align-items: center;
  padding: 22px 0 38px
}

.public-card {
  width: 100%;
  padding: 52px 42px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.public-symbol {
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid #dfe3ff;
  background: linear-gradient(145deg, #f4f5ff, #eef8ff);
  color: var(--primary);
  font-size: 37px;
  box-shadow: 0 12px 30px rgba(84, 87, 232, .10)
}

.public-recipient {
  margin: 10px 0;
  color: #6b7485;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em
}

.public-title {
  margin: 0 auto;
  max-width: 620px;
  color: var(--text-strong);
  font: 750 clamp(44px, 8vw, 68px)/.98 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.055em
}

.public-message {
  max-width: 580px;
  margin: 25px auto 0;
  color: #526074;
  font-size: 18px;
  line-height: 1.68;
  white-space: pre-line
}

.public-signature {
  margin-top: 25px;
  color: var(--primary);
  font-size: 17px;
  font-weight: 750
}

.divider {
  width: 52px;
  height: 2px;
  margin: 31px auto 25px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: .45
}

.public-note {
  max-width: 480px;
  margin: 0 auto;
  color: #7d8798;
  font-size: 12px;
  line-height: 1.6
}

.public-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px
}

.owner-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  box-shadow: var(--shadow-sm)
}

.owner-cta a {
  color: var(--primary);
  font-weight: 850
}

.locked-clock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 390px;
  margin: 25px auto 0
}

.timebox {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc
}

.timebox strong {
  display: block;
  font-size: 26px;
  color: var(--text-strong)
}

.timebox span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.media-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  margin: 26px 0 0
}

.media-strip div {
  min-height: 130px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef0ff, #eaf9f5);
  border: 1px solid #e1e5ef
}

.manage-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 8px 0 18px
}

.manage-head h1 {
  margin: 4px 0 0;
  color: var(--text-strong);
  font: 750 43px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.05em
}

.manage-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 22px
}

.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line)
}

.tab {
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #6b7485;
  font-size: 12px;
  font-weight: 800
}

.tab:hover {
  background: #f7f8fc;
  color: #303b50
}

.tab.active {
  background: var(--primary-soft);
  border-color: #dfe1ff;
  color: var(--primary)
}

.editor-section {
  display: none
}

.editor-section.active {
  display: block
}

.editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line)
}

.preview-sticky {
  position: sticky;
  top: 16px
}

.preview-phone {
  width: min(330px, 100%);
  margin: 18px auto 0;
  padding: 9px;
  border-radius: 34px;
  background: #151a24;
  box-shadow: 0 24px 48px rgba(19, 27, 43, .18)
}

.preview-screen {
  min-height: 505px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 27px;
  background: linear-gradient(165deg, #f6f7ff, #eef8f7);
  color: #202a3b
}

.preview-screen .pv-symbol {
  color: var(--primary);
  font-size: 38px;
  margin-bottom: 15px
}

.preview-screen .pv-to {
  color: var(--primary);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em
}

.preview-screen h3 {
  margin: 10px 0 14px;
  font: 750 30px/1.06 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.045em;
  color: #111827
}

.preview-screen p {
  color: #526074;
  line-height: 1.55
}

.preview-screen em {
  color: var(--primary);
  font-style: normal;
  font-weight: 750
}

.upload-zone {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 26px;
  border: 1.5px dashed #cdd4e2;
  border-radius: 16px;
  background: #fafbfe;
  text-align: center;
  transition: .18s ease
}

.upload-zone:hover {
  border-color: #9da0f4;
  background: #f6f6ff
}

.upload-zone span {
  color: var(--muted);
  font-size: 12px
}

.upload-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 22px
}

.media-preview-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px
}

.media-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f5f7fb
}

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

.media-preview button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 39, .78);
  color: #fff
}

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

.theme-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: .18s ease
}

.theme-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm)
}

.theme-card.active {
  border-color: #9da0f4;
  box-shadow: 0 0 0 3px rgba(84, 87, 232, .08)
}

.theme-swatch {
  height: 90px;
  border-radius: 11px;
  margin-bottom: 10px
}

.theme-christmas-swatch {
  background: linear-gradient(145deg, #ecf8f1, #b9e2c7 55%, #fce6bd)
}

.theme-halloween-swatch {
  background: linear-gradient(145deg, #f6edff, #d4b9ef 50%, #ffc27b)
}

.theme-love-swatch {
  background: linear-gradient(145deg, #fff0f4, #f9c8d4 55%, #f3a9be)
}

.timeline {
  position: relative;
  padding-left: 22px
}

.timeline:before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #e6e8ef
}

.timeline-item {
  position: relative;
  padding-bottom: 22px
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -20px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-soft)
}

.timeline-item time {
  display: block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 4px
}

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

.gadget-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: .18s ease
}

.gadget-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(30, 41, 59, .11)
}

.gadget-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start
}

.gadget-art {
  height: 120px;
  border-radius: 15px;
  border: 1px solid #dce9e1;
  background: linear-gradient(145deg, #eef9f2, #ccebd7 62%, #fff0cd);
  display: grid;
  place-items: center;
  color: #187a5e;
  font-size: 40px
}

.gadget-art.halloween {
  border-color: #eadcf6;
  background: linear-gradient(145deg, #f8f0ff, #dfc8f1 60%, #ffd4a3);
  color: #8c4cbd
}

.gadget-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px
}

.searchbar {
  display: flex;
  gap: 9px;
  align-items: center
}

.searchbar input {
  flex: 1;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text-strong);
  outline: none
}

.searchbar input:focus {
  border-color: #9da0f4;
  box-shadow: 0 0 0 4px rgba(84, 87, 232, .08)
}

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

.plan {
  padding: 24px
}

.plan.featured {
  border-color: #b8baf8;
  box-shadow: 0 24px 60px rgba(84, 87, 232, .12);
  transform: translateY(-5px);
  background: linear-gradient(180deg, #fff, #f9f9ff)
}

.plan h3 {
  font-size: 24px;
  color: var(--text-strong)
}

.price {
  font: 750 40px Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.05em;
  color: var(--text-strong)
}

.price small {
  font: 12px Inter, sans-serif;
  color: var(--muted)
}

.plan ul {
  padding-left: 18px;
  color: #596377;
  line-height: 1.9;
  font-size: 13px
}

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px
}

.upgrade {
  padding: 16px
}

.upgrade strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-strong)
}

.upgrade span {
  color: var(--muted);
  font-size: 12px
}

.upgrade b {
  display: block;
  margin-top: 12px;
  color: var(--primary)
}

.business-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px
}

.chart {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 20px 16px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcff, #f6f8fc)
}

.bar {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #777af2, var(--primary));
  position: relative
}

.bar:after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--muted)
}

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

.kpi {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm)
}

.kpi strong {
  display: block;
  font-size: 25px;
  color: var(--text-strong)
}

.kpi span {
  color: var(--muted);
  font-size: 11px
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm)
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px
}

th {
  color: #7b8494;
  background: #fafbfc;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px
}

td {
  color: #39455a
}

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

tbody tr:hover {
  background: #fafbfe
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px
}

.sidebar {
  padding: 12px;
  height: max-content;
  position: sticky;
  top: 16px
}

.sidebar a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #687286;
  font-size: 12px;
  font-weight: 800
}

.sidebar a.active,
.sidebar a:hover {
  background: var(--primary-soft);
  color: var(--primary)
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(7px)
}

.modal.show {
  display: flex
}

.modal-card {
  width: min(520px, 100%);
  padding: 24px;
  box-shadow: var(--shadow-lg)
}

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

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #4c5668
}

.toast {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 120;
  display: none;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #bde8dd;
  background: #f0fcf8;
  color: #087a6e;
  box-shadow: var(--shadow)
}

.toast.show {
  display: block
}

.toast-error {
  background: #fef2f2;
  color: #b91c1c;
}

/* Login */
.login-grid {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden
}

.login-copy,
.login-form {
  padding: 52px
}

.login-copy {
  background: linear-gradient(150deg, #f3f4ff 0%, #edf9f6 100%);
  position: relative;
  overflow: hidden
}

.login-copy:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -90px;
  bottom: -100px;
  background: linear-gradient(135deg, rgba(84, 87, 232, .18), rgba(18, 165, 148, .10))
}

.login-copy h1 {
  font: 750 clamp(46px, 6vw, 70px)/.96 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.065em;
  margin: 12px 0 20px;
  color: var(--text-strong)
}

.login-copy p {
  color: #5f6b7f;
  line-height: 1.65;
  font-size: 17px
}

.login-form {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center
}

@media(max-width:1020px) {
  .stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .feature-grid,
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .upgrade-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .hero-home,
  .manage-grid,
  .business-grid {
    grid-template-columns: 1fr
  }

  .preview-sticky {
    position: static
  }

  .orbit-card {
    min-height: 390px
  }
}

@media(max-width:760px) {
  .nav {
    display: none
  }

  .mobile-menu {
    display: inline-flex
  }

  .admin-layout {
    grid-template-columns: 1fr
  }

  .sidebar {
    position: static;
    display: flex;
    overflow: auto;
    gap: 6px
  }

  .sidebar a {
    white-space: nowrap
  }

  .plan-grid {
    grid-template-columns: 1fr
  }

  .plan.featured {
    transform: none
  }

  .upgrade-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .theme-grid {
    grid-template-columns: 1fr 1fr
  }

  .login-grid {
    grid-template-columns: 1fr
  }

  .login-copy,
  .login-form {
    padding: 28px
  }
}

@media(max-width:600px) {

  .container,
  .public-shell {
    width: calc(100% - 16px);
    padding-top: 10px
  }

  .logo {
    width: 104px
  }

  .brand-label {
    font-size: 9px
  }

  .panel {
    padding: 18px
  }

  .row2,
  .row3,
  .stats,
  .feature-grid,
  .dashboard-grid {
    grid-template-columns: 1fr
  }

  .hero-home {
    min-height: auto;
    padding: 30px 0
  }

  .hero-home h1 {
    font-size: 49px
  }

  .hero-home p {
    font-size: 17px
  }

  .manage-head {
    flex-direction: column
  }

  .manage-head h1 {
    font-size: 37px
  }

  .public-hero {
    min-height: auto;
    padding-top: 20px
  }

  .public-card {
    padding: 38px 20px 30px;
    border-radius: 22px
  }

  .public-title {
    font-size: 44px
  }

  .public-message {
    font-size: 17px
  }

  .public-actions {
    display: grid
  }

  .public-actions .btn {
    width: 100%
  }

  .owner-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px
  }

  .media-strip {
    grid-template-columns: 1fr 1fr
  }

  .media-strip div:first-child {
    grid-column: 1/-1
  }

  .editor-actions {
    display: grid
  }

  .editor-actions .btn {
    width: 100%
  }

  .media-preview-list {
    grid-template-columns: repeat(2, 1fr)
  }

  .theme-grid,
  .upgrade-grid {
    grid-template-columns: 1fr
  }

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

  .searchbar {
    align-items: stretch;
    flex-direction: column
  }
}