@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #fa5a28;
  --bg-workspace: #F8F9FA;
  --bg-white: #ffffff;
  
  --text-900: #111827;
  --text-600: #4b5563;
  --text-500: #6b7280;
  --text-400: #9ca3af;
  --text-300: #d1d5db;
  
  --border-100: #f3f4f6;
  --border-200: #e5e7eb;
  --border-300: #d1d5db;
  
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-50: #fffbeb;
  
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-50: #eff6ff;
  
  --orange-100: #ffedd5;
  --orange-600: #ea580c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-workspace);
  color: var(--text-900);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: transparent; cursor: pointer; padding: 0; }
input, select, textarea { font-family: inherit; }
.w-4 { width: 16px !important; }
.h-4 { height: 16px !important; }

/* Admin overrides */
.card { background: var(--bg-white); border-radius: 12px; border: 1px solid var(--border-100); padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); margin-bottom:24px; }
.card h2 { margin-top: 0; }
.button { background: var(--primary); color: #fff; padding: 0 16px; height: 36px; border-radius: 6px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.button:hover { opacity:0.9; color:#fff; }
.button.secondary { background:var(--bg-white); color:var(--text-900); border:1px solid var(--border-200); }
.button.danger { background:#ef4444; }
.button.small { height: 28px; padding: 0 10px; font-size: 11px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th { padding: 12px 16px; font-size: 10px; font-weight: 700; color: var(--text-500); text-transform: uppercase; border-bottom: 1px solid var(--border-100); background: var(--gray-50); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--border-100); font-size: 13px; }
.notice { background:#fffbeb; color:#92400e; padding:12px 16px; border-radius:8px; font-size:13px; font-weight:500; margin-bottom:16px; border:1px solid #fde68a; }
.page-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:24px; flex-direction:column; gap:16px; }
@media (min-width:640px) { .page-head { flex-direction:row; align-items:center; } }
.page-head h1 { margin:0; font-size:24px; font-weight:900; }
.grid { display:grid; gap:24px; }
.grid-2 { grid-template-columns:1fr; }
@media (min-width:768px) { .grid-2 { grid-template-columns:repeat(2,1fr); } }
.grid-3 { grid-template-columns:1fr; }
@media (min-width:1024px) { .grid-3 { grid-template-columns:repeat(3,1fr); } }
.form-grid { display:grid; grid-template-columns:1fr; gap:16px; margin-bottom:16px; }
@media (min-width:640px) { .form-grid { grid-template-columns:repeat(2,1fr); } }
label { display:block; font-size:12px; font-weight:700; color:var(--text-600); margin-bottom:12px; }
input, select, textarea { display:block; width:100%; margin-top:6px; background:#fff; border:1px solid var(--border-200); border-radius:6px; padding:10px 12px; font-size:14px; }
.muted { color:var(--text-500); font-size:13px; }
.badge { display:inline-block; border-radius:12px; padding:4px 10px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; background:var(--gray-100); color:var(--text-500); }
.badge.active, .badge.approved { background:var(--emerald-50); color:var(--emerald-600); }
.badge.paused, .badge.pending { background:var(--amber-50); color:var(--amber-600); }
.badge.completed { background:var(--blue-50); color:var(--blue-600); }
.badge.rejected { background:#fee2e2; color:#b91c1c; }
.mono { font-family:monospace; word-break:break-all; }
.checkbox { display:flex; align-items:center; gap:8px; font-weight:400; font-size:13px; margin:16px 0; }
.checkbox input { width:auto; margin:0; }
.settings-form { max-width:800px; }
.settings-group { margin-bottom:24px; padding-bottom:24px; border-bottom:1px solid var(--border-100); }
.settings-group:last-of-type { border-bottom:none; margin-bottom:16px; padding-bottom:0; }
.settings-group h2 { margin:0 0 4px; font-size:18px; }

/* Workspace Layout */
.workspace-layout { display: flex; min-height: 100dvh; }
.sidebar { width: 260px; background: var(--bg-white); border-right: 1px solid var(--border-200); display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 20; }
.sidebar-header { height: 64px; display: flex; align-items: center; padding: 8px 24px; border-bottom: 1px solid var(--border-200); flex-shrink: 0; }
.brand-link { display: flex; align-items: center; gap: 8px; }
.brand-icon { width: 28px; height: 28px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; border-radius: 4px; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.brand-text { font-weight: 700; font-size: 18px; letter-spacing: -0.025em; margin-top: 2px; }
.sidebar-content { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-content::-webkit-scrollbar { width: 6px; }
.sidebar-content::-webkit-scrollbar-thumb { background: var(--border-200); border-radius: 3px; }

.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; transition: all 0.2s; color: var(--text-600); position: relative; }
.nav-item:hover { background: var(--gray-50); color: var(--text-900); }
.nav-item.active { background: var(--primary-light); color: var(--primary); }
.nav-item.active::before { content: ""; position: absolute; left: 0; width: 4px; height: 32px; background: var(--primary); border-radius: 0 4px 4px 0; }
.nav-item-left { display: flex; align-items: center; gap: 12px; }
.nav-item-icon { width: 16px; height: 16px; color: var(--text-400); }
.nav-item:hover .nav-item-icon { color: var(--text-600); }
.nav-item.active .nav-item-icon { color: var(--primary); }
.nav-item-text { display: flex; flex-direction: column; }
.nav-item-desc { font-size: 10px; font-weight: 400; color: var(--text-400); margin-top: 2px; }
.nav-item.active .nav-item-desc { color: rgba(250, 90, 40, 0.7); }
.nav-badge { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 2px; background: var(--gray-100); color: var(--text-500); }
.nav-item.active .nav-badge { background: rgba(250, 90, 40, 0.2); color: var(--primary); }
.sidebar-divider { position: relative; height: 1px; }
.sidebar-divider::before { content: ""; position: absolute; inset: 0; border-top: 1px solid var(--border-100); }
.nav-box { border: 1px solid var(--border-100); border-radius: 12px; padding: 4px; background: rgba(249, 250, 251, 0.5); }
.nav-admin-title { padding: 0 8px 8px; font-size: 10px; font-weight: 700; color: var(--text-400); text-transform: uppercase; letter-spacing: 0.05em; }

.sidebar-footer { padding: 16px; border-top: 1px solid var(--border-100); background: var(--bg-white); display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }
.theme-switch { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--gray-50); border-radius: 8px; border: 1px solid var(--border-100); }
.theme-switch-text { display: flex; flex-direction: column; }
.theme-switch-text b { font-size: 12px; font-weight: 600; color: var(--text-900); }
.theme-switch-text small { font-size: 10px; color: var(--text-500); }
.switch-ui { width: 36px; height: 20px; min-width:36px; background: var(--border-200); border-radius: 10px; position: relative; }
.switch-ui::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.switch-ui:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }

/* Persistent member dark theme */
.workspace-theme-dark {
  --bg-workspace:#0b1120; --bg-white:#111827;
  --text-900:#f8fafc; --text-600:#cbd5e1; --text-500:#94a3b8; --text-400:#64748b; --text-300:#475569;
  --border-100:#1e293b; --border-200:#334155; --border-300:#475569;
  --gray-50:#172033; --gray-100:#1e293b;
  --emerald-50:#052e24; --amber-50:#33260b; --blue-50:#172554; --orange-100:#431407;
}
.workspace-theme-dark .switch-ui { background:var(--primary); }
.workspace-theme-dark .switch-ui::after { left:18px; }
.workspace-theme-dark input, .workspace-theme-dark select, .workspace-theme-dark textarea { background:#0f172a; color:var(--text-900); }
.workspace-theme-dark .nav-box { background:rgba(15,23,42,.55); }
.workspace-theme-dark .pkg-inline-form { background:#151b2a; }
.workspace-theme-dark .wallet-method { background:#0f172a; }
.workspace-theme-dark .p-sel-box { background:#0f172a; }
.workspace-theme-dark .notice { background:#33260b; color:#fde68a; border-color:#713f12; }
.workspace-theme-dark .bg-amber-50 { background:#33260b; }
.workspace-theme-dark .border-amber-200 { border-color:#713f12; }
.workspace-theme-dark .bg-emerald-500, .workspace-theme-dark .bg-red-500 { color:#fff; }

.user-profile { display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--orange-100); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; text-transform: uppercase; flex-shrink: 0; }
.user-info { display: flex; flex-direction: column; min-width: 0; }
.user-info b { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color:var(--text-900); }
.user-info small { font-size: 10px; color: var(--text-500); font-family: monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.logout-btn { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12px; font-weight: 600; color: var(--text-600); border-radius: 6px; width: 100%; text-align: left; }
.logout-btn:hover { background: var(--gray-50); color: var(--text-900); }
.logout-btn svg { width: 14px; height: 14px; }

.main-content { flex: 1; display: flex; flex-direction: column; min-width: 0; width: 100%; }
@media (min-width: 768px) { .main-content { margin-left: 260px; } }

.topbar-desktop { display: none; height: 60px; background: var(--bg-white); border-bottom: 1px solid var(--border-100); align-items: center; justify-content: space-between; padding: 0 32px; position: sticky; top: 0; z-index: 10; flex-shrink: 0; }
@media (min-width: 768px) { .topbar-desktop { display: flex; } }
.topbar-title { font-size: 12px; font-weight: 700; color: var(--text-400); letter-spacing: 0.05em; text-transform: uppercase; }
.topbar-actions { display: flex; align-items: center; gap: 24px; }
.topbar-icons { display: flex; align-items: center; gap: 16px; color: var(--text-400); }
.topbar-icons svg { width: 16px; height: 16px; }
.topbar-icons button:hover { color: var(--text-600); }
.topbar-date { font-size: 12px; font-weight: 500; color: var(--text-500); font-family: monospace; }

.page-wrapper { flex: 1; padding: 16px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .page-wrapper { padding: 32px; } }
.page-inner { max-width: 1200px; width: 100%; margin: 0 auto; flex: 1; }

.d-none { display: none; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(17,24,39,0.5); z-index: 15; }
#mobile_menu_toggle:checked ~ .mobile-overlay { display: block; }
#mobile_menu_toggle:checked ~ .sidebar { transform: translateX(0); }
@media (max-width: 767px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s; z-index: 20; width: 320px; max-width: 86vw; }
}
.mobile-topbar { height: 64px; border-bottom: 1px solid var(--border-200); background: var(--bg-white); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; position: sticky; top: 0; z-index: 10; flex-shrink: 0; }
@media (min-width: 768px) { .mobile-topbar { display: none; } }
.mt-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--text-600); cursor:pointer; }
.mt-btn svg { width: 24px; height: 24px; }
.mt-btn.bell svg { width: 20px; height: 20px; }
.mt-brand { display: flex; align-items: center; gap: 8px; margin-right: auto; margin-left: 8px; }
.mt-brand-icon { width: 24px; height: 24px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; border-radius: 4px; font-size: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.mt-brand-text { font-size: 14px; font-weight: 700; color: var(--text-900); letter-spacing: -0.025em; }

/* Views CSS */
.dash-header { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
@media (min-width: 768px) { .dash-header { flex-direction: row; align-items: center; justify-content: space-between; } }
.dash-title h1 { font-size: 24px; font-weight: 900; color: var(--text-900); letter-spacing: -0.025em; margin: 0; }
@media (min-width: 768px) { .dash-title h1 { font-size: 30px; } }
.dash-title p { font-size: 12px; color: var(--text-500); margin: 4px 0 0; }
@media (min-width: 768px) { .dash-title p { font-size: 14px; } }
.dash-status { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 10px; font-weight: 700; color: var(--text-500); text-transform: uppercase; letter-spacing: 0.1em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-500); animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.dash-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
@media (min-width: 1024px) { .dash-grid { grid-template-columns: 1fr 3fr; } }
.dash-col-1 { display: flex; flex-direction: column; gap: 16px; }
.btn-launch { width: 100%; height: 56px; background: var(--primary); border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(250,90,40,0.2); display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; color: #fff; }
.btn-launch:hover { opacity: 0.9; }
.btn-launch svg { width: 24px; height: 24px; }
@media (min-width: 640px) { .btn-launch { width: auto; } }
@media (min-width: 1024px) { .btn-launch { width: 80px; height: 80px; } .btn-launch-arrow { display: none; } }
.stat-card { background: var(--bg-white); padding: 16px; border-radius: 12px; border: 1px solid var(--border-100); box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); display: flex; flex-direction: column; transition: border-color 0.2s; }
@media (min-width: 768px) { .stat-card { padding: 20px; } }
.stat-card:hover { border-color: var(--border-200); }
.stat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.stat-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.stat-icon svg { width: 16px; height: 16px; }
.stat-icon.primary { background: rgba(250,90,40,0.1); color: var(--primary); }
.stat-icon.gray { background: var(--gray-100); color: var(--text-500); }
.stat-title { font-size: 10px; font-weight: 700; color: var(--text-500); letter-spacing: 0.05em; text-transform: uppercase; margin:0; }
.stat-body { padding-left: 44px; }
.stat-val { font-size: 20px; font-weight: 900; color: var(--text-900); letter-spacing: -0.025em; }
@media (min-width: 768px) { .stat-val { font-size: 24px; } }
.stat-desc { font-size: 10px; font-weight: 500; color: var(--text-400); margin-top: 2px; }
.stat-desc.green { color: var(--emerald-500); }

.dash-col-3 { display: flex; flex-direction: column; gap: 24px; }
.panel-card { background: var(--bg-white); border-radius: 12px; border: 1px solid var(--border-100); box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); padding: 16px; }
@media (min-width: 768px) { .panel-card { padding: 24px; } }
.panel-card.h-chart { height: 300px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .panel-card.h-chart { height: 400px; } }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-title { font-size: 12px; font-weight: 700; color: var(--text-900); text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 8px; margin:0; }
.panel-title svg { width: 16px; height: 16px; color: var(--primary); }
.panel-subtitle { font-size: 10px; color: var(--text-400); }
.panel-select { padding: 6px 12px; background: var(--gray-50); border: 1px solid var(--border-100); border-radius: 4px; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.chart-area { flex: 1; border-bottom: 1px solid var(--border-100); position: relative; margin-bottom: 16px; }
.chart-lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0 24px; }
.chart-line { width: 100%; height: 1px; background: rgba(243, 244, 246, 0.5); display: flex; align-items: center; }
.chart-label { font-size: 10px; font-family: monospace; color: var(--text-300); background: var(--bg-white); padding-right: 8px; }
.chart-svg { position: absolute; bottom: 24px; left: 32px; right: 0; height: 2px; background: rgba(250,90,40,0.2); display: flex; align-items: flex-end; }
.chart-svg svg { width: 100%; height: 100%; }
.chart-dates { display: flex; justify-content: space-between; font-size: 10px; font-family: monospace; color: var(--text-400); padding: 0 32px; }
.link-all { font-size: 12px; color: var(--text-500); display: flex; align-items: center; gap: 4px; }
.link-all:hover { color: var(--text-900); }

.camp-list { display: flex; flex-direction: column; gap: 16px; }
.camp-header-row { display: grid; grid-template-columns: repeat(12, 1fr); font-size: 10px; font-weight: 700; color: var(--text-400); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border-100); padding-bottom: 8px; }
.camp-col-1 { grid-column: span 8; }
.camp-col-2 { grid-column: span 4; display: none; text-align: center; }
.camp-col-3 { grid-column: span 4; text-align: right; }
@media (min-width: 768px) { .camp-col-1 { grid-column: span 6; } .camp-col-2 { grid-column: span 3; display: block; } .camp-col-3 { grid-column: span 3; } }
.camp-row { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--gray-50); border-radius: 4px; transition: background 0.2s; }
.camp-row:last-child { border-bottom: 0; }
.camp-row:hover { background: rgba(249, 250, 251, 0.7); }
.camp-name { font-size: 12px; font-weight: 700; color: var(--text-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.camp-domain { font-size: 10px; color: var(--text-400); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.camp-stats { font-size: 10px; font-weight: 700; color: var(--text-600); }
.camp-badge { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.c-active { color: var(--emerald-500); }
.c-completed { color: var(--blue-500); }
.c-paused { color: var(--text-400); }
.c-draft { color: var(--amber-500); }

.shortcut-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .shortcut-grid { grid-template-columns: repeat(4, 1fr); } }
.btn-shortcut { height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border-100); border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--text-600); background: transparent; transition: border-color 0.2s; }
.btn-shortcut:hover { border-color: rgba(250,90,40,0.5); }
.btn-shortcut svg { width: 16px; height: 16px; }

.btn-primary { background: var(--primary); color: #fff; font-weight: 700; padding: 0 24px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 15px -3px rgba(250,90,40,0.2); transition: opacity 0.2s; border:none; cursor:pointer; }
.btn-primary:hover { opacity:0.9; }
.btn-primary svg { width:16px; height:16px; flex:none; }

.camp-ops { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.camp-ops svg { width: 16px; height: 16px; color: var(--primary); }
.camp-ops span { font-size: 10px; font-weight: 700; color: var(--primary); letter-spacing: 0.05em; text-transform: uppercase; }
.camp-header-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 768px) { .camp-header-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.camp-stat-card { background: var(--bg-white); padding: 16px; border-radius: 12px; border: 1px solid var(--border-100); box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: space-between; }
.csc-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.csc-icon svg { width: 16px; height: 16px; }
.csc-icon.primary { background: rgba(250,90,40,0.1); color: var(--primary); }
.csc-icon.outline { border: 1px solid var(--border-100); background: var(--gray-50); color: var(--primary); }
.csc-icon.outline-gray { border: 1px solid var(--border-100); background: var(--gray-50); color: var(--text-500); }
.csc-title { font-size: 9px; font-weight: 700; color: var(--text-500); letter-spacing: 0.05em; text-transform: uppercase; margin:0; }
@media (min-width: 768px) { .csc-title { font-size: 10px; } }
.csc-val { font-size: 20px; font-weight: 900; color: var(--text-900); }
@media (min-width: 768px) { .csc-val { font-size: 24px; } }
.csc-desc { font-size: 9px; font-weight: 500; color: var(--text-400); margin-top: 2px; }
@media (min-width: 768px) { .csc-desc { font-size: 10px; } }

.filter-panel { background: var(--bg-white); border-radius: 12px; border: 1px solid var(--border-100); box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); padding: 20px; margin-bottom: 24px; }
.filter-title { display: flex; align-items: center; gap: 8px; }
.filter-title svg { width: 16px; height: 16px; color: var(--primary); }
.filter-title span { font-size: 10px; font-weight: 700; color: var(--text-900); text-transform: uppercase; letter-spacing: 0.05em; }
.filter-desc { font-size: 12px; color: var(--text-400); margin-top: 8px; margin-bottom: 16px; }
.filter-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .filter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .filter-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .filter-grid { grid-template-columns: repeat(6, 1fr); } }
.f-input-wrapper { position: relative; }
.f-input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-400); width: 14px; height: 14px; }
.f-input { width: 100%; height: 40px; border: 1px solid var(--border-100); border-radius: 6px; padding: 0 12px; font-size: 12px; background: var(--bg-white); margin:0; }
.f-input.pl-9 { padding-left: 36px; }
.f-select { width: 100%; height: 40px; border: 1px solid var(--border-100); border-radius: 6px; padding: 0 12px; font-size: 12px; font-weight: 500; background: var(--bg-white); appearance: none; margin:0; }
.f-date { width: 100%; height: 40px; border: 1px solid var(--border-100); border-radius: 6px; padding: 0 12px; font-size: 12px; font-weight: 500; color: var(--text-600); background: var(--bg-white); display: flex; align-items: center; justify-content: space-between; }
.f-date svg { width:14px; height:14px; flex:none; }

.table-panel { background: var(--bg-white); border-radius: 12px; border: 1px solid var(--border-100); box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); overflow: hidden; margin-bottom: 32px; }
.tp-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-50); display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .tp-header { flex-direction: row; align-items: center; justify-content: space-between; } }
.tp-title { display: flex; align-items: center; gap: 8px; }
.tp-title svg { width: 16px; height: 16px; color: var(--primary); }
.tp-title span { font-size: 10px; font-weight: 700; color: var(--text-900); text-transform: uppercase; letter-spacing: 0.05em; }
.tp-desc { font-size: 10px; font-weight: 500; color: var(--text-400); }

.table-responsive { overflow-x: auto; display: none; }
@media (min-width: 768px) { .table-responsive { display: block; } }
.table-data { width: 100%; border-collapse: collapse; text-align: left; }
.table-data th { padding: 12px 16px; font-size: 10px; font-weight: 700; color: var(--text-500); text-transform: uppercase; background: rgba(249, 250, 251, 0.5); border-bottom: 1px solid var(--border-100); }
.table-data td { padding: 12px 16px; border-bottom: 1px solid var(--gray-50); }
.table-data tr:hover td { background: rgba(249, 250, 251, 0.5); cursor: pointer; }
.td-col1 { display: flex; flex-direction: column; }
.td-c1-title { font-size: 12px; font-weight: 700; color: var(--text-900); }
.td-c1-sub { font-size: 9px; color: var(--primary); font-family: monospace; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 2px; }
.td-val { font-size: 12px; font-weight: 700; color: var(--text-900); }
.td-lbl { font-size: 10px; color: var(--text-400); margin-top:2px; }

.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 4px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.sp-active { background: var(--emerald-50); color: var(--emerald-600); }
.sp-completed { background: var(--blue-50); color: var(--blue-600); }
.sp-paused { background: var(--gray-100); color: var(--text-500); }
.sp-draft { background: var(--amber-50); color: var(--amber-600); }

.mobile-cards { display: flex; flex-direction: column; gap: 16px; padding: 16px; background: rgba(249,250,251,0.5); }
@media (min-width: 768px) { .mobile-cards { display: none; } }
.mc-card { background: var(--bg-white); border: 1px solid var(--border-100); border-radius: 12px; padding: 16px; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 16px; }
.mc-head { display: flex; justify-content: space-between; align-items: flex-start; }
.mc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mc-actions { display: flex; gap: 8px; padding-top: 8px; border-top: 1px solid var(--gray-50); }
.btn-mc-outline { flex: 1; height: 40px; border: 1px solid var(--border-100); border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--text-600); display: flex; justify-content: center; align-items: center; gap: 8px; background:transparent; }
.btn-mc-primary { flex: 1; height: 40px; background: var(--primary); border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; display: flex; justify-content: center; align-items: center; gap: 8px; box-shadow: 0 1px 2px rgba(250,90,40,0.2); }

.tp-footer { border-top: 1px solid var(--border-100); background: var(--bg-white); padding: 16px; display: flex; align-items: center; justify-content: space-between; }
.tp-footer-lbl { font-size: 10px; font-weight: 700; color: var(--text-400); text-transform: uppercase; letter-spacing: 0.05em; }
.tp-footer-btns { display: flex; gap: 8px; }
.btn-tp-nav { height: 32px; padding: 0 12px; border: 1px solid var(--border-200); border-radius: 6px; font-size: 10px; font-weight: 700; color: var(--text-500); text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.5; background:transparent; }

.empty-state { padding: 48px; text-align: center; font-size: 12px; color: var(--text-400); }

/* Forms (Campaign Create) */
.c-form { background: var(--bg-white); border-radius: 12px; border: 1px solid var(--border-100); padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); max-width: 800px; }
.c-form h2 { margin: 0 0 16px; font-size: 18px; }
.c-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .c-grid { grid-template-columns: 1fr 1fr; } }
.c-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-600); margin-bottom: 8px; margin-top:0;}
.c-input { width: 100%; height: 40px; border: 1px solid var(--border-200); border-radius: 6px; padding: 0 12px; font-size: 14px; margin-top:0; }
.c-btn { background: var(--primary); color: #fff; padding: 0 24px; height: 40px; border-radius: 6px; font-weight: 700; margin-top: 24px; border:none; cursor:pointer; }
.c-checkbox { width: 16px; height: 16px; border: 1px solid var(--border-300); border-radius: 4px; appearance: none; position: relative; background: #fff; margin:0; }
.c-checkbox:checked { background: var(--primary); border-color: var(--primary); }

/* Campaign Detail */
.cd-header { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
@media (min-width:640px) { .cd-header { flex-direction: row; justify-content: space-between; align-items: center; } }
.cd-title { font-size: 24px; font-weight: 900; margin:0; }
.cd-domain { font-size: 14px; color: var(--text-500); margin-top:4px; }
.cd-card { background: var(--bg-white); border-radius: 12px; border: 1px solid var(--border-100); padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); margin-bottom: 24px; }
.cd-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; letter-spacing: -0.02em; }
.cd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 12px; margin-bottom: 16px; }
.cd-stat-b { font-size: 16px; font-weight: 700; }
.cd-stat-p { font-size: 12px; color: var(--text-500); margin: 0; }
.cd-warn { text-align: center; font-size: 14px; font-weight: 700; color: var(--amber-600); margin-top: 16px; animation: pulse 2s infinite; }
.cd-details-grid { display: grid; grid-template-columns: 1fr; gap: 16px; font-size: 14px; }
@media (min-width:640px) { .cd-details-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:640px) { .cd-details-grid > div.col-span-2 { grid-column: span 2; } }
.progress-bg { background: var(--gray-100); height: 8px; border-radius: 4px; overflow: hidden; width: 100%; }
.progress-fill { background: var(--primary); height: 100%; }
.inline-icon { display:inline-block; vertical-align:middle; width:16px; height:16px; margin-right:8px; color:var(--text-400); }
.cd-header button svg { width:14px; height:14px; margin-right:6px; vertical-align:middle; }

/* Packages */
.pkg-topbar { position:fixed; top:0; right:0; left:260px; height:60px; background:var(--bg-white); border-bottom:1px solid var(--border-100); display:flex; align-items:center; justify-content:space-between; padding:0 32px; z-index:10; }
@media (max-width: 767px) { .pkg-topbar { left:0; } }
.pkg-topbar h1 { font-size:20px; font-weight:900; margin:0; letter-spacing:-0.025em; text-transform:uppercase;}
.pkg-refresh { height:32px; padding:0 12px; border:1px solid var(--border-200); border-radius:6px; font-size:12px; font-weight:600; color:var(--text-600); display:flex; align-items:center; gap:8px; background:transparent;}
.pkg-refresh svg { width:14px; height:14px; }
.pkg-container { max-width:1152px; margin:0 auto; padding:76px 16px 32px; }
@media (min-width: 768px) { .pkg-container { padding-left:0; padding-right:0; } }
.pkg-desc { font-size:12px; color:var(--text-500); margin-bottom:24px; }
.pkg-grid { display:grid; grid-template-columns:1fr; gap:32px; }
@media (min-width: 1024px) { .pkg-grid { grid-template-columns:1fr 1fr; } }
.pkg-col { display:flex; flex-direction:column; gap:24px; }
.pkg-card { background:var(--bg-white); border:1px solid var(--border-100); border-radius:12px; padding:24px; box-shadow:0 1px 2px rgba(0,0,0,0.05); }
.pkg-card-title { display:flex; align-items:center; gap:8px; margin-bottom:16px; font-size:10px; font-weight:700; color:var(--text-600); text-transform:uppercase; letter-spacing:0.05em; }
.pkg-card-title svg { width:16px; height:16px; color:var(--primary); }
.pkg-list { display:flex; flex-direction:column; gap:12px; }
.pkg-purchase { border:1px solid var(--border-100); border-radius:12px; overflow:hidden; }
.pkg-purchase.pkg-gradient-sunset > .pkg-item-inner { background:linear-gradient(135deg,#fb7185,#f97316,#facc15); }
.pkg-purchase.pkg-gradient-ocean > .pkg-item-inner { background:linear-gradient(135deg,#06b6d4,#2563eb,#4f46e5); }
.pkg-purchase.pkg-gradient-aurora > .pkg-item-inner { background:linear-gradient(135deg,#10b981,#14b8a6,#8b5cf6); }
.pkg-purchase.pkg-gradient-royal > .pkg-item-inner { background:linear-gradient(135deg,#7c3aed,#db2777,#e11d48); }
.pkg-purchase.pkg-gradient-neon > .pkg-item-inner { background:linear-gradient(135deg,#22d3ee,#a3e635,#facc15); }
.pkg-purchase.pkg-gradient-gold > .pkg-item-inner { background:linear-gradient(135deg,#92400e,#f59e0b,#fef3c7,#d97706); }
.pkg-purchase.pkg-gradient-berry > .pkg-item-inner { background:linear-gradient(135deg,#be123c,#7e22ce,#312e81); }
.pkg-purchase:not(.pkg-gradient-none) > .pkg-item-inner .pkg-name,
.pkg-purchase:not(.pkg-gradient-none) > .pkg-item-inner .pkg-desc-sm,
.pkg-purchase:not(.pkg-gradient-none) > .pkg-item-inner .pkg-price,
.pkg-purchase:not(.pkg-gradient-none) > .pkg-item-inner .pkg-credits { color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.3); }
.pkg-purchase.pkg-effect-glow { box-shadow:0 0 24px rgba(250,90,40,.48),0 0 0 1px rgba(255,255,255,.45); }
.pkg-purchase.pkg-effect-pulse { animation:pkgPulse 1.8s ease-in-out infinite; }
.pkg-purchase.pkg-effect-flash { animation:pkgFlash 1.1s ease-in-out infinite; }
.pkg-purchase.pkg-effect-shimmer > .pkg-item-inner { background-size:230% 230%; animation:pkgShimmer 2.2s linear infinite; }
@keyframes pkgPulse { 50% { transform:scale(1.025); box-shadow:0 10px 28px rgba(250,90,40,.3); } }
@keyframes pkgFlash { 0%,100% { filter:brightness(1); } 50% { filter:brightness(1.5) saturate(1.4); box-shadow:0 0 28px rgba(250,90,40,.58); } }
@keyframes pkgShimmer { to { background-position:230% center; } }
@media (prefers-reduced-motion:reduce) { .pkg-purchase, .pkg-purchase > .pkg-item-inner { animation:none !important; } }
.pkg-item-inner { border:0; border-radius:12px; padding:16px; display:flex; align-items:center; justify-content:space-between; transition:all 0.2s; cursor:pointer; list-style:none; }
.pkg-item-inner::-webkit-details-marker { display:none; }
.pkg-item-inner:hover { border-color:var(--border-200); background:var(--gray-50); }
.pkg-purchase[open] { border-color:var(--primary); box-shadow:0 0 0 1px rgba(250,90,40,0.2); }
.pkg-purchase[open] > .pkg-item-inner { background:var(--primary-light); border-radius:11px 11px 0 0; }
.pkg-inline-form { padding:20px; border-top:1px solid rgba(250,90,40,0.18); background:#fff8f6; }
.wallet-methods { display:grid; gap:8px; margin:14px 0 18px; }
.wallet-method { padding:12px; border:1px solid rgba(250,90,40,0.22); border-radius:8px; background:#fff; display:grid; gap:4px; }
.wallet-method b { font-size:12px; }
.wallet-method span { font:700 11px monospace; word-break:break-all; }
.wallet-method small { font-size:10px; color:var(--orange-600); }
.pkg-submit { width:100%; margin-top:16px; }
.pkg-name { font-size:14px; font-weight:900; margin-bottom:4px; display:flex; align-items:center; gap:8px; }
.pkg-pop { font-size:9px; font-weight:700; background:var(--orange-100); color:var(--orange-600); padding:2px 6px; border-radius:4px; }
.pkg-desc-sm { font-size:10px; color:var(--text-500); }
.pkg-price { font-size:18px; font-weight:900; }
.pkg-credits { font-size:10px; font-weight:700; color:var(--primary); }
.p-sel-box { display:flex; justify-content:space-between; align-items:center; background:var(--bg-white); padding:12px; border-radius:8px; border:1px solid var(--border-100); margin-bottom:16px; }
.p-label { display:block; font-size:10px; font-weight:700; color:var(--text-500); text-transform:uppercase; margin-bottom:8px; margin-top:0;}
.pkg-hist-row { border:1px solid var(--border-100); border-radius:12px; padding:16px; display:flex; justify-content:space-between; align-items:center; }
@media (max-width: 639px) { .pkg-hist-row { flex-direction:column; align-items:flex-start; gap:16px; } .pkg-hist-row > div:last-child { text-align:left !important; } }

/* Purchase history */
.history-page { padding:32px; max-width:1280px; margin:0 auto; }
.history-header { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:24px; }
.history-eyebrow { font-size:10px; font-weight:800; letter-spacing:.12em; color:var(--primary); }
.history-header h1 { font-size:28px; margin:6px 0; letter-spacing:-.04em; }
.history-header p { font-size:13px; color:var(--text-500); margin:0; }
.history-buy-button { gap:8px; white-space:nowrap; }
.history-buy-button svg { width:15px; height:15px; }
.history-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:20px; }
.history-stat { padding:18px 20px; background:var(--bg-white); border:1px solid var(--border-100); border-radius:12px; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.history-stat span { display:block; color:var(--text-500); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.history-stat strong { display:block; margin-top:7px; font-size:22px; }
.history-card { background:var(--bg-white); border:1px solid var(--border-100); border-radius:12px; overflow:hidden; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.history-card-title { display:flex; align-items:center; gap:8px; padding:18px 20px; border-bottom:1px solid var(--border-100); color:var(--text-600); font-size:10px; font-weight:800; letter-spacing:.06em; }
.history-card-title svg { width:16px; height:16px; color:var(--primary); }
.history-table-wrap { overflow-x:auto; }
.history-table { width:100%; border-collapse:collapse; }
.history-table th { text-align:left; padding:11px 16px; background:var(--gray-50); color:var(--text-500); border-bottom:1px solid var(--border-100); font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
.history-table td { padding:16px; border-bottom:1px solid var(--border-100); color:var(--text-600); font-size:12px; vertical-align:middle; }
.history-table tr:last-child td { border-bottom:0; }
.history-table td b, .history-table td strong { color:var(--text-900); }
.history-table td small { display:block; margin-top:3px; color:var(--text-400); font-size:9px; }
.history-table code { display:block; max-width:150px; overflow:hidden; text-overflow:ellipsis; color:var(--text-500); font-size:10px; white-space:nowrap; }
.history-status { display:inline-flex; padding:4px 9px; border-radius:999px; font-size:9px; font-weight:800; }
.history-status.status-pending { background:var(--amber-50); color:var(--amber-600); }
.history-status.status-approved { background:var(--emerald-50); color:var(--emerald-600); }
.history-status.status-rejected { background:#fee2e2; color:#b91c1c; }
.workspace-theme-dark .history-status.status-rejected { background:#450a0a; color:#fca5a5; }
.history-empty { min-height:240px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; color:var(--text-500); text-align:center; padding:30px; }
.history-empty svg { width:28px; height:28px; color:var(--text-400); margin-bottom:5px; }
.history-empty b { color:var(--text-900); font-size:14px; }
.history-empty span { font-size:11px; }
@media (max-width:767px) {
  .history-page { padding:20px 16px; }
  .history-header { align-items:flex-start; flex-direction:column; }
  .history-stats { grid-template-columns:1fr; }
  .history-buy-button { width:100%; }
  .history-table thead { display:none; }
  .history-table, .history-table tbody, .history-table tr, .history-table td { display:block; width:100%; }
  .history-table tr { padding:10px 16px; border-bottom:1px solid var(--border-100); }
  .history-table tr:last-child { border-bottom:0; }
  .history-table td { display:flex; justify-content:space-between; gap:20px; text-align:right; padding:7px 0; border:0; }
  .history-table td::before { content:attr(data-label); color:var(--text-400); font-size:9px; font-weight:700; text-transform:uppercase; }
  .history-table td small { text-align:right; }
}

/* Public & Auth Styles */
.public-nav { height: 72px; background: #fff; border-bottom: 1px solid var(--border-200); display: flex; align-items: center; justify-content: space-between; padding: 0 max(22px, calc((100% - 1180px)/2)); }
.public-nav nav { display: flex; align-items: center; gap: 20px; font-weight:600; font-size:14px; }
.brand { font-weight: 800; display: inline-flex; align-items: center; gap: 9px; font-size: 18px; letter-spacing: -0.3px; }
.brand b { display: grid; place-items: center; background: var(--primary); color: #fff; width: 28px; height: 28px; border-radius: 6px; font-size: 15px; box-shadow: 0 2px 5px rgba(250,90,40,0.25); }

.hero { max-width: 1180px; margin: auto; padding: 105px 22px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.08; letter-spacing: -3px; max-width: 760px; margin: 15px 0; font-weight:900; }
.hero p { font-size: 18px; color: var(--text-500); max-width: 620px; }
.eyebrow { color: var(--primary); font-weight: 800; font-size: 11px; letter-spacing: 2px; text-transform:uppercase; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top:32px; }
.hero-note { font-size: 12px; font-weight: 700; color: var(--text-400); }

.product-mockup { border: 1px solid var(--border-200); border-radius: 12px; background: var(--bg-white); padding: 5px; box-shadow: 0 18px 40px rgba(17,24,39,0.05); }
.browser-dots { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid var(--border-200); }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-200); }
.mockup-head { display: flex; align-items: center; justify-content: space-between; padding: 28px 25px 20px; }
.mockup-head small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; color:var(--text-400); text-transform:uppercase; }
.mockup-head strong { display: block; font-size: 36px; font-weight:900; letter-spacing:-0.025em; }
.mockup-head > b { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 8px; color: var(--primary); background: var(--primary-light); font-size:18px; }
.chart { height: 150px; position: relative; border-bottom: 1px solid var(--border-200); margin: 0 25px 25px; display: flex; align-items: end; justify-content: space-between; padding: 0 3px 4px; color: var(--text-400); font-size: 9px; font-family:monospace; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(250,90,40,0.05), transparent); }
.chart path { fill: none; stroke: var(--primary); stroke-width: 2; }
.chart span { position: relative; background: var(--bg-white); padding: 1px; }

.feature-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; margin-top: 130px; border-top: 1px solid var(--border-200); padding-top: 70px; }
.feature-section h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.1; letter-spacing: -1px; margin: 12px 0 25px; font-weight:900; }
.feature-section p { color: var(--text-500); line-height: 1.7; font-size:16px; }
.feature-list { display: grid; gap: 30px; }
.feature-list > div { display: flex; gap: 18px; }
.feature-list > div > b { border: 1px solid var(--border-200); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; flex: none; font-size:12px; color:var(--text-900); }
.feature-list h3 { margin: 0 0 5px; font-size:18px; font-weight:700; letter-spacing:-0.01em; }
.feature-list section p { margin: 0 0 7px; font-size:14px; color:var(--text-500); }
.feature-list small { font-size: 10px; font-weight: 700; letter-spacing: 1px; color:var(--primary); text-transform:uppercase; }

.footer { text-align: center; color: var(--text-400); font-size: 12px; padding: 24px; border-top: 1px solid var(--border-200); background: var(--bg-white); font-weight:600; }
.footer span { padding: 0 5px; }

.auth { min-height: calc(100vh - 120px); display: grid; place-items: center; padding: 35px 20px; background: var(--bg-workspace); }
.auth-box { width: min(950px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-white); border: 1px solid var(--border-200); border-radius: 15px; overflow: hidden; box-shadow: 0 14px 40px rgba(17,24,39,0.05); }
.auth-aside { padding: 48px; background: #0c0d11; color: #fff; }
.auth-aside h1 { font-size: 35px; line-height: 1.1; font-weight:900; letter-spacing:-0.025em; margin:24px 0 16px; }
.auth-aside p { color: #aeb4c0; line-height: 1.7; font-size:14px; }
.auth-form { padding: 42px; max-width: 480px; width: 100%; margin: auto; }
.auth-form h2 { margin: 0 0 24px; font-size:24px; font-weight:900; letter-spacing:-0.025em; }
.auth-form .c-btn { width: 100%; margin-top: 24px; }
.auth-form .muted { font-size:12px; color:var(--text-500); margin-top:16px; text-align:center; font-weight:500; display:block; }
.auth-form .muted a { color:var(--text-900); font-weight:700; }

@media (max-width: 800px) {
  .public-nav { padding: 0 16px; }
  .public-nav nav { gap: 10px; }
  .public-nav nav > a:first-child { display: none; }
  .hero { padding: 70px 22px; }
  .hero-grid, .feature-section { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -1px; }
  .feature-section { gap: 35px; margin-top: 75px; padding-top: 45px; }
  .auth-box { grid-template-columns: 1fr; }
  .auth-aside { padding: 30px; }
  .auth-aside h1 { font-size: 27px; }
  .auth-form { padding: 30px 22px; }
}