:root {
  --bg: #0b0b13;
  --sidebar: #111118;
  --surface: #15151f;
  --surface-alt: #1b1b28;
  --line: #26262f;
  --text: #f2f2f7;
  --muted: #9494a8;
  --accent1: #8b5cf6;
  --accent2: #ec4899;
  --gradient: linear-gradient(135deg, var(--accent1), var(--accent2));
  --good: #34d399;
  --warn: #fbbf24;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); }
button, input, select { font-family: var(--body); }

.app-shell { display: flex; min-height: 100vh; }

/* ---------- Sidebar ---------- */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 22px; }
.pulse-mark { display: flex; }
.brand-title { font-weight: 800; font-size: 16px; letter-spacing: 0.5px; }
.brand-sub { font-size: 11px; color: var(--muted); }

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border: none; color: var(--muted);
  padding: 10px 12px; border-radius: 8px; font-size: 13.5px;
  text-align: left; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.nav-icon { font-size: 14px; width: 16px; text-align: center; }
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item.active { background: var(--surface-alt); color: var(--text); box-shadow: inset 3px 0 0 var(--accent1); }
.nav-item:focus-visible { outline: 2px solid var(--accent1); outline-offset: -2px; }
.nav-item.nav-locked { opacity: 0.55; }
.nav-lock { margin-left: auto; font-size: 11px; }
.nav-divider { height: 1px; background: var(--line); margin: 10px 4px; }

.sidebar-plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin: 10px 4px;
}
.plan-label { font-size: 11px; color: var(--muted); }
.plan-name { font-weight: 700; margin: 2px 0; }
.plan-sub { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.plan-upgrade {
  width: 100%; background: var(--gradient); border: none; color: #fff;
  padding: 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.plan-upgrade:disabled { opacity: 0.5; cursor: not-allowed; }

.sidebar-user-wrap { position: relative; margin: 10px 4px 0; }
.sidebar-user {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 8px; background: transparent; border: none; cursor: pointer;
  border-radius: 8px; text-align: left; transition: background 0.15s ease;
}
.sidebar-user:hover { background: var(--surface); }
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-role { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-caret { color: var(--muted); font-size: 15px; flex-shrink: 0; }

.user-popup {
  display: none; position: absolute; bottom: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface-alt); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px; flex-direction: column; gap: 2px; z-index: 30;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.user-popup.open { display: flex; }
.user-popup-item {
  background: transparent; border: none; color: var(--text); text-align: left;
  padding: 9px 10px; border-radius: 6px; font-size: 13px; cursor: pointer;
}
.user-popup-item:hover { background: var(--surface); }
.user-popup-danger { color: #f0a9a1; }

/* ---------- Main column ---------- */
.main-col { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 32px; border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 22px; margin: 0; }
.topbar p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.topbar-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 14px; color: var(--muted); font-size: 13px;
}
.topbar-search input { background: transparent; border: none; color: var(--text); outline: none; width: 180px; }

.content-area { padding: 28px 32px 60px; overflow-y: auto; }

.view { display: none; }
.view.active { display: block; animation: fadein 0.15s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero-panel {
  background: radial-gradient(circle at 80% 20%, rgba(139,92,246,0.35), transparent 60%), var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 34px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-illustration { flex-shrink: 0; width: 240px; }
.hero-illustration svg { width: 100%; height: auto; display: block; }
.hero-eyebrow { color: var(--accent1); font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.hero-panel h2 { margin: 0 0 8px; font-size: 26px; }
.hero-panel p { color: var(--muted); margin: 0 0 18px; max-width: 520px; font-size: 14px; }
.hero-actions { display: flex; gap: 10px; }

.btn-primary {
  background: var(--gradient); border: none; color: #fff;
  padding: 11px 18px; border-radius: 8px; font-weight: 600; font-size: 13.5px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  padding: 11px 18px; border-radius: 8px; font-size: 13.5px; cursor: pointer;
}
.btn-ghost:disabled { opacity: 0.45; cursor: not-allowed; }
.record-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.record-btn.loading .dot { animation: blink 0.6s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

/* ---------- Stat grid ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px;
}
.stat-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 15px; }
.stat-label { font-size: 12.5px; color: var(--muted); }
.stat-value { font-size: 24px; font-weight: 700; margin-top: 2px; }
.stat-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Panels ---------- */
.dash-columns { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 24px; }
.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.panel-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.panel-card-head h3 { margin: 0; font-size: 15px; }
.badge-soft { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 10px; }
.chart-box { min-height: 160px; }

.recent-list { display: flex; flex-direction: column; gap: 10px; }
.recent-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--surface-alt); border-radius: 8px; font-size: 13px; }
.recent-type { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.5px; color: var(--accent1); font-family: var(--mono); }
.recent-time { color: var(--muted); font-size: 12px; }

/* ---------- Assistant ---------- */
.assistant-shell { display: grid; grid-template-columns: 1fr 280px; gap: 16px; height: calc(100vh - 220px); min-height: 420px; }
.assistant-chat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 75%; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; }
.chat-msg.assistant { background: var(--surface-alt); align-self: flex-start; }
.chat-msg.user { background: var(--gradient); align-self: flex-end; }
.chat-input-row { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-input-row input { flex: 1; background: var(--surface-alt); border: 1px solid var(--line); color: var(--text); padding: 11px 14px; border-radius: 8px; }
.assistant-side { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.assistant-side h3 { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.quick-prompt { text-align: left; background: var(--surface-alt); border: 1px solid var(--line); color: var(--text); padding: 10px 12px; border-radius: 8px; font-size: 12.5px; cursor: pointer; }
.quick-prompt:hover { border-color: var(--accent1); }

/* ---------- Content tabs ---------- */
.subtab-row { display: flex; gap: 8px; margin-bottom: 20px; }
.subtab { background: var(--surface); border: 1px solid var(--line); color: var(--muted); padding: 9px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.subtab.active { background: var(--surface-alt); color: var(--text); border-color: var(--accent1); }
.subpanel { display: none; }
.subpanel.active { display: block; }

.control-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.control-strip input[type="text"] { flex: 1; min-width: 240px; background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.control-strip select { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 12px 10px; border-radius: 8px; font-size: 14px; }

.results { display: flex; flex-direction: column; gap: 12px; }
.result-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.card-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.card-platform { font-family: var(--mono); font-size: 11px; color: var(--accent1); text-transform: uppercase; letter-spacing: 0.5px; }
.copy-btn { background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; padding: 5px 10px; border-radius: 5px; cursor: pointer; }
.card-caption { font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.card-hashtags { margin-top: 8px; color: var(--muted); font-size: 12.5px; font-family: var(--mono); }
.result-image { max-width: 100%; border-radius: 8px; border: 1px solid var(--line); }

.empty-state, .demo-note, .error-note { border: 1px dashed var(--line); border-radius: 10px; padding: 18px; color: var(--muted); font-size: 13.5px; }
.error-note { border-color: #7a2a2a; color: #f0a9a1; }
.demo-note { border-color: var(--accent1); color: var(--text); }
.demo-note strong { color: var(--accent1); }

/* ---------- Calendar ---------- */
.calendar-list { display: flex; flex-direction: column; gap: 10px; }
.calendar-row { display: flex; align-items: center; gap: 14px; background: var(--surface-alt); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; }
.calendar-date { font-family: var(--mono); font-size: 12px; color: var(--accent1); min-width: 90px; }
.calendar-title { flex: 1; }
.calendar-status { font-size: 11px; padding: 3px 9px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.calendar-del { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 14px; }
.empty-hint { color: var(--muted); font-size: 13.5px; padding: 10px 2px; }

/* ---------- Media grid ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.media-tile { aspect-ratio: 1; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-tile img { width: 100%; height: 100%; object-fit: cover; }
.media-tile-empty { color: var(--muted); font-size: 12px; text-align: center; padding: 10px; }

/* ---------- Social connect ---------- */
.connect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 16px; }
.connect-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-align: center; }
.connect-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: #fff; }
.connect-icon.ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.connect-icon.fb { background: #1877f2; }
.connect-icon.li { background: #0a66c2; }
.connect-icon.tt { background: #111; border: 1px solid var(--line); }
.connect-name { font-weight: 600; margin-bottom: 4px; }
.connect-status { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.note-text { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ---------- Tables ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.data-table tr:last-child td { border-bottom: none; }
.row-del { background: transparent; border: none; color: var(--muted); cursor: pointer; }
.status-pill { font-size: 11px; padding: 3px 10px; border-radius: 20px; background: var(--surface-alt); border: 1px solid var(--line); }

/* ---------- Reports ---------- */
.report-summary { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.report-summary .r-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.report-summary .r-row:last-child { border-bottom: none; }

/* ---------- Billing ---------- */
.billing-row { display: flex; gap: 40px; margin: 18px 0; }
.billing-label { font-size: 12px; color: var(--muted); }
.billing-value { font-weight: 600; margin-top: 2px; }

/* ---------- Settings form ---------- */
.stacked-form { display: flex; flex-direction: column; gap: 14px; }
.stacked-form label { font-size: 12.5px; color: var(--muted); }
.stacked-form input { display: block; width: 100%; margin-top: 6px; background: var(--surface-alt); border: 1px solid var(--line); color: var(--text); padding: 10px 12px; border-radius: 8px; font-size: 14px; }

/* ---------- Modal ---------- */
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); align-items: flex-start; justify-content: center; z-index: 20; overflow-y: auto; padding: 40px 16px; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px; width: 100%; max-width: 420px; max-height: calc(100vh - 80px); overflow-y: auto; margin: auto; }
.modal h2 { margin: 0 0 16px; font-size: 18px; }
.modal label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.modal label input, .modal label select, .modal label textarea { display: block; width: 100%; margin-top: 6px; background: var(--surface-alt); border: 1px solid var(--line); color: var(--text); padding: 10px 12px; border-radius: 8px; font-family: var(--body); font-size: 14px; }

.media-picker { border-top: 1px solid var(--line); margin: 14px 0; padding-top: 14px; }
.media-picker #mpPreview img.result-image,
.media-picker #mpPreview video.result-image { max-width: 100%; max-height: 220px; margin-top: 8px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* ---------- Month-grid calendar ---------- */
.cal-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cal-nav-arrows { display: flex; gap: 4px; }
.cal-arrow {
  background: var(--surface-alt); border: 1px solid var(--line); color: var(--text);
  width: 30px; height: 30px; border-radius: 6px; cursor: pointer; font-size: 16px; line-height: 1;
}
.cal-arrow:hover { border-color: var(--accent1); }
.cal-month-label { font-weight: 700; font-size: 16px; margin-left: 4px; }

.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px;
  padding: 0 2px 8px;
}

.cal-grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  width: 100%; max-width: 100%;
}
.cal-day {
  min-height: 96px; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 6px; display: flex; flex-direction: column; gap: 4px; overflow: hidden;
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day.outside { background: rgba(0,0,0,0.15); }
.cal-day.today { background: rgba(139,92,246,0.08); }
.cal-day-head { display: flex; align-items: center; justify-content: space-between; }
.cal-day-num { font-size: 12px; color: var(--muted); }
.cal-day.today .cal-day-num {
  background: var(--gradient); color: #fff; width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.cal-day.outside .cal-day-num { opacity: 0.4; }
.cal-day-add {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  width: 18px; height: 18px; border-radius: 5px; font-size: 12px; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity 0.1s ease;
}
.cal-day:hover .cal-day-add { opacity: 1; }
.cal-day-add:hover { border-color: var(--accent1); color: var(--accent1); }
@media (max-width: 700px) {
  .cal-day-add { opacity: 1; } /* no hover on touch devices, so keep it visible */
}

.cal-block {
  font-size: 11px; padding: 3px 6px; border-radius: 5px; color: #fff; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: 5px; align-items: center;
  min-width: 0; width: 100%; box-sizing: border-box;
}
.cal-block span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cal-block:hover { filter: brightness(1.15); }
.cal-block-time { opacity: 0.85; font-family: var(--mono); font-size: 10px; flex-shrink: 0; }
.cal-block.platform-instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.cal-block.platform-facebook { background: #1877f2; }
.cal-block.platform-linkedin { background: #0a66c2; }
.cal-block.platform-tiktok { background: #2b2b33; border: 1px solid #444; }
.cal-block.status-published { opacity: 0.55; }
.cal-block.status-failed { outline: 2px solid #f0a9a1; }
.cal-block.status-scheduled::after { content: '⏱'; margin-left: auto; font-size: 9px; }

@media (max-width: 700px) {
  .cal-day { min-height: 70px; }
  .cal-block { font-size: 9.5px; }
}


.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.bar { flex: 1; background: var(--gradient); border-radius: 4px 4px 0 0; min-height: 3px; position: relative; }
.bar-label { text-align: center; font-size: 9.5px; color: var(--muted); margin-top: 6px; }
.bars-wrap { display: flex; flex-direction: column; }

.donut-legend { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.legend-swatch { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

.grouped-bars { display: flex; align-items: flex-end; gap: 20px; height: 140px; padding: 0 4px; }
.grouped-bar-group { display: flex; flex-direction: column; align-items: center; flex: 1; }
.grouped-bar-bars { display: flex; align-items: flex-end; gap: 3px; height: 130px; }
.grouped-bar { width: 14px; border-radius: 3px 3px 0 0; min-height: 2px; }

.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut-legend-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-columns { grid-template-columns: 1fr; }
  .assistant-shell { grid-template-columns: 1fr; height: auto; }
}
@media (max-width: 700px) {
  .app-shell { flex-direction: column; }
  .sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-panel { flex-direction: column; align-items: flex-start; }
  .hero-illustration { display: none; }
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; display: flex; flex-direction: column; position: relative;
}
.pricing-card.pricing-current { border-color: var(--accent1); box-shadow: 0 0 0 1px var(--accent1); }
.pricing-badge {
  position: absolute; top: -11px; left: 20px; background: var(--gradient); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.pricing-label { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.pricing-price { font-size: 30px; font-weight: 800; }
.pricing-per { font-size: 13px; font-weight: 400; color: var(--muted); }
.pricing-tagline { color: var(--muted); font-size: 13px; margin: 6px 0 18px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 9px; }
.pricing-features li { font-size: 13.5px; padding-left: 20px; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--good); }
.pricing-locked-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.pricing-locked { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pricing-locked li { font-size: 12.5px; color: var(--muted); padding-left: 20px; position: relative; }
.pricing-locked li::before { content: '—'; position: absolute; left: 0; }
.pricing-select-btn { margin-top: auto; width: 100%; justify-content: center; }
.locked-hint { font-size: 12px; color: var(--muted); align-self: center; }

@media (max-width: 1300px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
