:root {
  --orange: #ff6b1a;
  --orange-dark: #e15500;
  --orange-light: #fff1e6;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: #ececec;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 6px 24px rgba(255, 107, 26, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo span { color: var(--orange); }

.nav-links { display: flex; gap: 12px; align-items: center; }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  background: none;
  color: var(--text);
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff;
}
.btn-outline:hover { background: var(--orange-light); }

.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-block { display: block; width: 100%; }

/* Hero */
.hero {
  text-align: center;
  padding: 96px 24px 24px;
  max-width: 880px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 28px; font-size: 16px; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 16px 48px 96px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.feature h3 { color: var(--orange); margin-bottom: 8px; font-size: 18px; }
.feature p { color: var(--text-muted); font-size: 15px; }

/* Auth pages */
.auth-wrap {
  min-height: calc(100vh - 71px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--bg-soft);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.auth-card h2 {
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.auth-card .sub {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
}
.auth-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus { border-color: var(--orange); }

.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.role-option {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}
.role-option:hover { border-color: var(--orange-light); }
.role-option.selected {
  border-color: var(--orange);
  background: var(--orange-light);
}
.role-option .role-emoji { font-size: 22px; margin-bottom: 6px; }
.role-option .role-title { font-weight: 700; font-size: 14px; }
.role-option .role-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.auth-foot {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.auth-foot a { color: var(--orange); font-weight: 600; }

/* Dashboard */
.dashboard {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 48px 96px;
}
.welcome { margin-bottom: 36px; }
.welcome h1 {
  font-size: 36px;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.welcome h1 span { color: var(--orange); }
.welcome p { color: var(--text-muted); font-size: 16px; }

.section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.gig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gig-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.gig-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.gig-card .gig-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.gig-card .gig-business {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.gig-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
  flex: 1;
}
.gig-card li {
  font-size: 14px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.gig-card li::before {
  content: "•";
  color: var(--orange);
  font-weight: 800;
  position: absolute;
  left: 4px;
}

.gig-price {
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border: 1px solid rgba(255, 107, 26, 0.2);
}

/* Gig detail */
.gig-detail {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 96px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  cursor: pointer;
}
.back-link:hover { color: var(--orange); }

.gig-header { margin-bottom: 28px; }
.gig-header h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.gig-header .business-name {
  font-size: 16px;
  color: var(--text-muted);
}

.gig-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 18px;
}
.gig-section h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 12px;
}
.gig-section ul { padding-left: 20px; }
.gig-section li { margin-bottom: 6px; }
.gig-section p { color: var(--text); line-height: 1.65; }

.price-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.price-banner .price-label { font-size: 13px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }
.price-banner .price-value { font-size: 32px; font-weight: 800; }
.price-banner .btn { background: #fff; color: var(--orange); }
.price-banner .btn:hover { background: var(--orange-light); }

/* Messages */
.messages-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  height: calc(100vh - 71px);
  display: flex;
  flex-direction: column;
}
.messages-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.messages-header .name { font-weight: 700; font-size: 16px; }
.messages-header .role { font-size: 13px; color: var(--text-muted); }

.messages-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 4px;
}
.msg {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.4;
}
.msg.them {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.msg.me {
  align-self: flex-end;
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg .meta {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.7;
}

.composer {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.composer input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.composer input:focus { border-color: var(--orange); }
.composer .btn { border-radius: 24px; padding: 12px 20px; }

.demo-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px;
  background: var(--bg-soft);
  border-radius: 6px;
  margin-bottom: 8px;
}

/* Inbox (conversation list) */
.inbox-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}
.inbox-page h1 { margin: 0 0 16px; font-size: 24px; }
.conv-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.conv-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.conv-card:hover { background: var(--bg-soft); border-color: var(--orange); }
.conv-card.unread { background: var(--orange-light); border-color: var(--orange); }
.conv-card .conv-body { flex: 1; min-width: 0; }
.conv-card .conv-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.conv-card .conv-name .badge {
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 1px 7px; min-width: 18px; text-align: center;
}
.conv-card .conv-preview {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.conv-card .conv-time { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.inbox-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

/* Application workspace page */
.workspace-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .workspace-grid { grid-template-columns: 1fr; }
}
.workspace-main { display: flex; flex-direction: column; gap: 16px; }
.workspace-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }

.workspace-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.workspace-status.pending { background: #fef3c7; color: #92400e; }
.workspace-status.accepted { background: #dbeafe; color: #1e40af; }
.workspace-status.declined { background: #fee2e2; color: #991b1b; }
.workspace-status.pending_review { background: #ede9fe; color: #5b21b6; }
.workspace-status.approved { background: #d1fae5; color: #065f46; }
.workspace-status.rejected { background: #fee2e2; color: #991b1b; }

.workspace-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.workspace-card h3 { margin: 0 0 10px; font-size: 16px; }
.workspace-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin: 0 0 8px; }

.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}
.upload-dropzone:hover { border-color: var(--orange); background: var(--bg-soft); }
.upload-dropzone.dragover { border-color: var(--orange); background: var(--orange-light); }
.upload-dropzone .upload-icon { font-size: 32px; margin-bottom: 8px; }
.upload-dropzone .upload-hint { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.upload-dropzone input[type="file"] { display: none; }

.upload-progress {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.upload-bar {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.upload-bar > div {
  height: 100%;
  background: var(--orange);
  width: 0%;
  transition: width 0.2s;
}

.video-preview {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.video-preview video { width: 100%; display: block; max-height: 460px; }

.workspace-side-msg {
  display: flex;
  flex-direction: column;
  max-height: 520px;
}
.workspace-side-msg .msg-mini-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  min-height: 200px;
}
.workspace-side-msg .msg-mini-list .msg {
  font-size: 13px;
  padding: 8px 12px;
  max-width: 92%;
}
.workspace-side-msg .composer { padding: 8px 0 0; }
.workspace-side-msg .composer input { font-size: 14px; padding: 10px 12px; }
.workspace-side-msg .composer .btn { padding: 10px 14px; font-size: 14px; }
.workspace-side-msg .full-link {
  font-size: 12px;
  text-align: right;
  margin-top: 8px;
}

.reviewer-note {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 10px;
}
.deliverable-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Contest participants list (business review side) */
.participants-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.participant-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.participant-row.actionable {
  border-color: var(--orange);
  background: #fff8f1;
}
.participant-row.locked {
  background: var(--bg-soft);
  opacity: 0.75;
}
.participant-row.rejected {
  background: #fef2f2;
  border-color: #fecaca;
  opacity: 0.6;
}
.participant-row .rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.participant-row.actionable .rank { background: var(--orange); color: #fff; }
.participant-row.locked .rank { background: #16a34a; color: #fff; }
.participant-row .who { flex: 1; min-width: 0; }
.participant-row .who .name { font-weight: 700; font-size: 14px; }
.participant-row .who .meta { font-size: 12px; color: var(--text-muted); }
.participant-row .badge-views {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.participant-row .review-btn { white-space: nowrap; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

.review-panel {
  margin-top: 12px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.review-panel h4 { margin: 0 0 8px; font-size: 15px; }
.review-panel .proof-thumb {
  margin: 10px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  max-height: 360px;
}
.review-panel .proof-thumb img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
.review-panel .review-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0;
}
.review-panel .row-actions { margin-top: 12px; }

.fcfs-note {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #78350f;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin: 12px 0;
}

/* Business dashboard */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.search input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}
.search::before {
  content: "🔎";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.6;
}

.loc-filter { position: relative; flex-shrink: 0; }
.loc-filter-trigger {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.loc-filter-trigger:hover { border-color: var(--orange); }
.loc-filter.has-selection .loc-filter-trigger {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange-dark);
  font-weight: 600;
}
.loc-count {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
}
.loc-caret { font-size: 10px; opacity: 0.6; }

.loc-filter-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  width: 240px;
  padding: 10px;
}
.loc-search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  margin-bottom: 6px;
}
.loc-search:focus { border-color: var(--orange); }

.loc-options { max-height: 152px; overflow-y: auto; }
.loc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}
.loc-option:hover { background: var(--bg-soft); }
.loc-option input { accent-color: var(--orange); cursor: pointer; }
.loc-empty {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #fff;
}

/* Creator (vertical) cards */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.creator-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.creator-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--orange);
}
.cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
}
.creator-body {
  padding: 0 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.profile-pic {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  border: 4px solid #fff;
  margin-top: -38px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.creator-name {
  font-size: 19px;
  font-weight: 800;
  margin-top: 12px;
  letter-spacing: -0.3px;
}
.creator-handle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.creator-loc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.creator-loc::before { content: "📍 "; }

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-weight: 600;
  border: 1px solid rgba(255, 107, 26, 0.18);
}
.tag.muted {
  background: #f1f3f8;
  color: #475569;
  border-color: #e2e8f0;
}

.audience {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.audience strong { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; font-weight: 700; }

.creator-card .gig-price { margin-top: auto; }

/* Profile detail page */
.profile-detail {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 24px 96px;
}
.profile-hero {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}
.profile-hero .cover { height: 180px; font-size: 72px; }
.profile-hero-body {
  padding: 0 28px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.profile-hero .profile-pic {
  width: 110px;
  height: 110px;
  font-size: 36px;
  margin-top: -55px;
  border-width: 5px;
}
.profile-hero-info { flex: 1; min-width: 220px; padding-top: 16px; }
.profile-hero-info h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}
.profile-hero-info .meta { font-size: 14px; color: var(--text-muted); }

.profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}
.profile-grid .gig-section { margin-bottom: 0; }
.profile-side > * + * { margin-top: 18px; }

.fact-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.fact-row:last-child { border-bottom: none; }
.fact-row .label { color: var(--text-muted); }
.fact-row .value { font-weight: 600; }

/* Create post form */
.form-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 96px;
}
.form-page h1 {
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.form-page .lede {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-card .field { margin-bottom: 18px; }
.form-card .help {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 96px;
  transition: border-color 0.15s;
}
.form-card textarea:focus { border-color: var(--orange); }

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

.success-banner {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 600;
}

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

@media (max-width: 600px) {
  .navbar { padding: 14px 20px; }
  .hero { padding: 56px 20px 40px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .features { padding: 20px 20px 60px; }
  .dashboard { padding: 32px 20px 60px; }
  .welcome h1 { font-size: 28px; }
  .gig-detail { padding: 20px 16px 60px; }
  .gig-header h1 { font-size: 28px; }
}

/* Contests */
.contest-money {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}
.payout-preview {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}
.payout-preview:empty { display: none; }
.preview-row { display: flex; justify-content: space-between; }
.preview-warn { color: #b45309; margin-top: 6px; font-size: 13px; }

.platform-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.platform-picker.compact { gap: 6px; }
.platform-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
}
.platform-option:hover { border-color: var(--orange); }
.platform-option input { accent-color: var(--orange); }
.platform-option input:checked + span { color: var(--orange-dark); font-weight: 600; }

.contest-card { gap: 12px; }
.contest-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px 16px;
  padding: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.contest-stats div { display: flex; flex-direction: column; gap: 2px; }
.contest-stats .muted { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; }
.contest-stats strong { color: var(--text); font-size: 15px; }

.contest-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: 1px solid;
}
.status-badge.status-active { background: #fff1e6; color: #c2410c; border-color: #fed7aa; }
.status-badge.status-completed { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.status-badge.status-cancelled, .status-badge.status-rejected { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.status-badge.status-draft, .status-badge.status-expired { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.status-badge.status-pending { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.status-badge.status-qualified { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.status-badge.status-paid { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.status-badge.status-in-review { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
.status-badge.status-approved { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.status-badge.status-revision { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.status-badge.status-declined { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.submission-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
}
.submission-table th, .submission-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}
.submission-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  font-weight: 700;
}
.submission-table td:last-child, .submission-table th:last-child { text-align: right; }

.bar {
  background: #f1f5f9;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  width: 100%;
  margin-top: 4px;
}
.bar-fill {
  background: var(--orange);
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
}

.test-output {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px;
  border-radius: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 14px;
  white-space: pre-wrap;
  overflow-x: auto;
  max-height: 600px;
  overflow-y: auto;
}

/* ============================================================
   Unified listings: split layouts, sidebars, kind badges
   ============================================================ */

/* Active nav link */
.btn.is-active { background: var(--orange-light); color: var(--orange-dark); }

/* Split layout: filter sidebar + main content */
.split-layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 32px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.filter-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.filter-section { display: flex; flex-direction: column; gap: 10px; }
.filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.filter-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.filter-input:focus { border-color: var(--orange); }
.filter-input-inline { width: auto; padding: 7px 10px; }
.filter-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.filter-check input { accent-color: var(--orange); }
.filter-empty { font-size: 13px; color: var(--text-muted); padding: 4px 2px; }

.kind-filter {
  display: flex;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
}
.kind-pill {
  flex: 1;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.kind-pill.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.kind-pill:hover:not(.is-active) { color: var(--text); }

.split-main { min-width: 0; }
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.results-count { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* Unified listing card */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.listing-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.listing-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.listing-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.listing-card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.listing-card-business { font-size: 13px; color: var(--text-muted); }
.listing-card-foot {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.listing-card-pay {
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}
.listing-card-pay-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Kind badge */
.kind-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 6px;
}
.kind-badge.kind-gig {
  background: #e0f2fe;
  color: #075985;
}
.kind-badge.kind-contest {
  background: #fef3c7;
  color: #92400e;
}
.inspo-pip {
  font-size: 11px;
  color: var(--orange);
  background: var(--orange-light);
  border-radius: 999px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Detail page two-column layout */
.detail-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px 80px;
}
.detail-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.detail-main { min-width: 0; }
.detail-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}
.aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.aside-pay { text-align: center; }
.aside-pay .price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 700;
}
.aside-pay .price-value {
  font-size: 32px;
  font-weight: 800;
  margin: 6px 0 14px;
  color: var(--text);
}
.aside-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
}
.aside-meta span { color: var(--text-muted); }
.aside-meta strong { color: var(--text); }

/* Inspo video link card */
.inspo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.inspo-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
}
.inspo-card-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inspo-card-body { min-width: 0; flex: 1; }
.inspo-card-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.inspo-card-title {
  font-weight: 700;
  font-size: 15px;
  margin-top: 2px;
  color: var(--text);
}
.inspo-card-host {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Detail header: kind badge above title */
.gig-header .kind-badge { margin-bottom: 8px; }

/* Listing rows for the business dashboard */
.listing-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
}
.listing-row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.listing-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
}
.listing-row-title a { color: var(--text); }
.listing-row-title a:hover { color: var(--orange); }
.listing-row-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.row-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.muted-block {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 14px;
}

/* Create-listing: kind toggle (large) */
.kind-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.kind-toggle-btn {
  border: 2px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kind-toggle-btn:hover { border-color: var(--orange-light); }
.kind-toggle-btn.is-active {
  border-color: var(--orange);
  background: var(--orange-light);
}
.kind-toggle-title { font-size: 18px; font-weight: 800; }
.kind-toggle-sub { font-size: 13px; color: var(--text-muted); }
.kind-toggle-btn.is-active .kind-toggle-sub { color: var(--orange-dark); }

.form-section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Responsive collapse */
@media (max-width: 880px) {
  .split-layout {
    grid-template-columns: 1fr;
    padding: 20px 16px 60px;
  }
  .filter-sidebar {
    position: static;
    top: auto;
  }
  .detail-split { grid-template-columns: 1fr; }
  .detail-aside { position: static; top: auto; }
  .two-col { grid-template-columns: 1fr; }
  .kind-toggle { grid-template-columns: 1fr; }
}

/* Inline view count under the price on listing cards */
.listing-card-views {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

/* "This is your listing" notice on the detail aside */
.aside-own-note {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
  line-height: 1.4;
}

/* Application list page */
.application-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 16px;
}
.application-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.application-creator {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.application-handle {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 6px;
}
.application-listing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.application-listing a { color: var(--text); font-weight: 600; }
.application-listing a:hover { color: var(--orange); }
.application-when {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.application-pitch {
  margin-top: 14px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.apps-pending {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  color: var(--orange-dark);
  background: var(--orange-light);
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 700;
}

/* Disabled apply state */
#apply-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

/* Status badges shared with submissions get reused; add a couple if missing. */
.status-badge.status-pending { background: #fef3c7; color: #92400e; }
.status-badge.status-accepted { background: #dcfce7; color: #166534; }
.status-badge.status-declined { background: #fee2e2; color: #991b1b; }
.status-badge.status-withdrawn { background: #e5e7eb; color: #374151; }

/* ============================================================
   Paywall page
   ============================================================ */
.paywall-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.paywall-hero {
  text-align: center;
  margin-bottom: 28px;
}
.paywall-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--orange-dark);
  background: var(--orange-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.paywall-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.paywall-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}
.paywall-hero p strong { color: var(--text); }

/* Billing cycle toggle */
.billing-toggle {
  display: flex;
  width: fit-content;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  margin: 0 auto 14px;
}
.billing-toggle-btn {
  padding: 10px 22px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.billing-toggle-btn:hover:not(.is-active) { color: var(--text); }
.billing-toggle-btn.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.billing-toggle-save {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #15803d;
  background: transparent;
  padding: 0;
}

/* Free-trial callout */
.trial-callout {
  display: block;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
  margin: 0 auto 24px;
  max-width: 720px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
}
.trial-callout[hidden] { display: none; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.plans[hidden] { display: none; }

/* Whole card is the CTA */
.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}
.plan-card:hover {
  border-color: var(--orange-light);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.plan-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.plan-card-featured {
  border-color: var(--orange);
  border-width: 1px;
  box-shadow: 0 6px 20px rgba(232, 122, 64, 0.10);
  background: #fff;
}
.plan-card-featured:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgba(232, 122, 64, 0.18);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 4px;
}

.plan-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.plan-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text);
  text-transform: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-cycle {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.plan-price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1;
}
.plan-price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 2px;
}
.plan-equiv {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.plan-savings-line {
  font-size: 13px;
  font-weight: 600;
  color: #15803d;
  margin-top: 4px;
}
.plan-savings-line-strong { color: #166534; }

.plan-trial-line {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-monthly-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.plan-switch {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.plan-switch:hover { color: var(--orange-dark); }

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #15803d;
  border-bottom: 2px solid #15803d;
  transform: rotate(-45deg);
}

.plan-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.plan-cta {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s;
}
.plan-card:hover .plan-cta {
  background: var(--text);
  color: #fff;
}
.plan-cta-strong {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.plan-card-featured:hover .plan-cta-strong {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}
.plan-fineprint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.paywall-foot {
  text-align: center;
  margin-top: 20px;
}
.paywall-fineprint {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.dev-bypass {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.dev-bypass summary {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
}
.dev-bypass-note {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 12px auto;
}

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .paywall-hero h1 { font-size: 28px; }
  .plan-price { font-size: 36px; }
  .plan-savings { font-size: 12px; padding: 6px 10px; }
}

/* ============================================================
   Account Settings + Edit Profile
   ============================================================ */
.settings-wrap {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 24px;
}
.settings-wrap h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.settings-wrap .lead {
  color: var(--text-muted);
  margin-bottom: 28px;
}
.settings-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.settings-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.settings-section .section-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.settings-section .field { margin-bottom: 16px; }
.settings-section .field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.settings-section .field input,
.settings-section .field textarea,
.settings-section .field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
  color: var(--text);
}
.settings-section .field input:focus,
.settings-section .field textarea:focus,
.settings-section .field select:focus { border-color: var(--orange); }
.settings-section .field textarea { resize: vertical; min-height: 92px; }
.settings-section .field .help {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.settings-section .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.settings-section .static-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.settings-section .static-row:first-of-type { border-top: 0; }
.settings-section .static-row .label {
  font-size: 13px;
  color: var(--text-muted);
}
.settings-section .static-row .value {
  font-weight: 600;
}
.settings-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
  flex-wrap: wrap;
}
.settings-banner {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 14px;
}
.settings-banner.ok    { background: #eef9ee; color: #1e6a23; border: 1px solid #bee5c0; }
.settings-banner.err   { background: #fdecea; color: #a4262c; border: 1px solid #f5c6cb; }
.settings-banner.info  { background: #fff7ec; color: #8a5a00; border: 1px solid #ffd699; }

.danger-zone {
  border-color: #f5c6cb;
}
.danger-zone h2 { color: #a4262c; }
.btn-danger {
  background: #d6363d;
  color: #fff;
  border: 1px solid #d6363d;
}
.btn-danger:hover { background: #b3252b; border-color: #b3252b; }

.chip-input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  min-height: 46px;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.chip button {
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}
.chip-input-wrap input {
  border: 0;
  outline: none;
  flex: 1;
  min-width: 120px;
  font-size: 14px;
  background: transparent;
  padding: 4px;
}

@media (max-width: 600px) {
  .settings-section .row-2 { grid-template-columns: 1fr; }
  .settings-wrap { padding: 0 14px; margin-top: 20px; }
}
