:root {
  color-scheme: light;
  --background: #f6f7f9;
  --surface: #ffffff;
  --surface-muted: #eef1f5;
  --text: #15181d;
  --text-muted: #5b6472;
  --line: #dce1e8;
  --line-strong: #c7ced8;
  --blue: #1267e8;
  --blue-dark: #0a4fb9;
  --blue-soft: #e9f2ff;
  --green: #147a4b;
  --green-soft: #e7f6ee;
  --amber: #9a5b00;
  --amber-soft: #fff4d8;
  --red: #b42318;
  --red-soft: #feeceb;
  --focus: #ffb000;
  --shadow: 0 12px 28px rgba(22, 30, 43, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: clip;
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--background);
  line-height: 1.5;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  color: white;
  background: var(--text);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.environment-banner {
  padding: 8px 16px;
  color: #553400;
  background: var(--amber-soft);
  border-bottom: 1px solid #e8cc8b;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.discovery-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 225, 232, 0.92);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand-lockup img {
  width: 31px;
  height: 31px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
}

.product-name {
  padding-left: 9px;
  border-left: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.discovery-menu,
.primary-nav,
.account-nav {
  display: flex;
  align-items: center;
}

.discovery-menu {
  min-width: 0;
  flex: 1;
  justify-content: space-between;
  gap: 24px;
}

.primary-nav {
  margin-inline: auto;
  gap: 6px;
}

.primary-nav a,
.text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.text-link:hover {
  color: var(--text);
  background: var(--surface-muted);
}

.account-nav {
  gap: 6px;
}

.menu-toggle {
  position: relative;
  z-index: 110;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.menu-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(18, 24, 34, 0.38);
}

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.primary-button {
  border: 1px solid var(--blue);
  color: white;
  background: var(--blue);
}

.primary-button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.secondary-button {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: var(--surface);
}

.secondary-button:hover {
  border-color: #9ea8b6;
  background: var(--surface-muted);
}

.text-button {
  min-height: 40px;
  padding-inline: 8px;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
}

.compact {
  min-height: 40px;
  padding-inline: 13px;
  font-size: 0.88rem;
}

button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

#discoveryMain {
  min-height: calc(100vh - 264px);
}

.page-shell {
  padding-block: 46px 72px;
}

.page-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.page-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.page-heading > p:not(.eyebrow),
.muted {
  color: var(--text-muted);
}

.page-heading > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.discovery-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -6px 0 24px;
  border-block: 1px solid var(--line);
}

.discovery-summary div {
  min-width: 0;
  padding: 15px 18px;
}

.discovery-summary div + div {
  border-left: 1px solid var(--line);
}

.discovery-summary strong,
.discovery-summary span {
  display: block;
}

.discovery-summary strong {
  font-size: 0.94rem;
}

.discovery-summary span {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.search-workspace {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.filter-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.filter-heading,
.results-heading,
.section-heading,
.profile-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.filter-heading {
  margin-bottom: 18px;
}

.filter-heading h2,
.results-heading h2,
.section-heading h2 {
  margin: 0;
}

.filter-stack,
.auth-form {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.field > span,
.field > label,
.field legend {
  color: #3b4350;
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--text);
  background: var(--surface);
  box-shadow: none;
}

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

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #9da8b7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(18, 103, 232, 0.16);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-type-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.account-type-picker legend {
  margin-bottom: 9px;
}

.account-type-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  cursor: pointer;
}

.account-type-option + .account-type-option {
  margin-top: 8px;
}

.account-type-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 2px rgba(18, 103, 232, 0.1);
}

.account-type-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.account-type-option span,
.account-type-option strong,
.account-type-option small {
  display: block;
}

.account-type-option strong {
  color: var(--text);
  font-size: 0.9rem;
}

.account-type-option small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.4;
}

.checkbox-list {
  display: grid;
  gap: 4px;
  padding-top: 2px;
}

.check-row {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  color: #3b4350;
  font-size: 0.88rem;
  font-weight: 700;
}

.check-row input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--blue);
}

.filter-actions,
.brief-actions,
.profile-actions,
.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-actions .primary-button {
  flex: 1;
}

.results-column {
  min-width: 0;
}

.brief-panel {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #bcd6fa;
  border-radius: 8px;
  background: #f7fbff;
}

.brief-panel.primary-brief {
  padding: 26px;
}

.brief-panel.primary-brief .field {
  margin-top: 20px;
}

.brief-panel .section-heading {
  margin-bottom: 16px;
}

.brief-panel p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.brief-panel .field textarea {
  background: white;
}

.brief-actions {
  margin-top: 14px;
  justify-content: space-between;
}

.brief-example {
  flex: 1 1 320px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.status-badge,
.platform-chip,
.filter-chip,
.match-chip {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.status-badge {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.status-badge.success {
  color: var(--green);
  background: var(--green-soft);
}

.status-badge.warning {
  color: var(--amber);
  background: var(--amber-soft);
}

.results-heading {
  margin-bottom: 16px;
  align-items: center;
}

.result-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.active-filters {
  display: flex;
  margin: 0 0 16px;
  gap: 7px;
  flex-wrap: wrap;
}

.filter-chip {
  color: #344054;
  background: var(--surface-muted);
}

.creator-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.creator-card,
.content-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(22, 30, 43, 0.04);
}

.creator-card:hover,
.content-card:hover {
  border-color: #b7c1ce;
  box-shadow: var(--shadow);
}

.creator-card-header,
.content-card-header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.creator-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #0f4fa6;
  background: var(--blue-soft);
  font-size: 0.9rem;
  font-weight: 850;
}

.creator-avatar.large {
  width: 92px;
  height: 92px;
  flex-basis: 92px;
  font-size: 1.35rem;
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-identity,
.content-card-title {
  min-width: 0;
  flex: 1;
}

.creator-identity strong,
.content-card-title strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-identity span,
.content-card-title span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.creator-bio {
  min-height: 3em;
  margin: 16px 0 13px;
  color: #444c58;
  font-size: 0.9rem;
}

.creator-context,
.creator-source {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.creator-context {
  margin: -4px 0 12px;
  font-weight: 700;
}

.creator-source {
  margin: -6px 0 15px;
}

.chip-row,
.match-reasons,
.certificate-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.platform-chip {
  color: #374151;
  background: #f0f2f5;
}

.match-reasons {
  margin-top: 13px;
}

.match-chip {
  color: var(--green);
  background: var(--green-soft);
}

.creator-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 16px 0;
  border-block: 1px solid var(--line);
}

.creator-metrics div {
  padding-block: 11px;
}

.creator-metrics div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.creator-metrics strong,
.creator-metrics span {
  display: block;
}

.creator-metrics strong {
  font-size: 0.9rem;
}

.creator-metrics span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.creator-card-footer,
.content-card-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.creator-card-footer .primary-button,
.content-card-footer .primary-button {
  min-height: 42px;
  flex: 1;
  padding-inline: 12px;
  font-size: 0.86rem;
}

.empty-state,
.error-state,
.loading-state {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-content: center;
  padding: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.empty-state h2,
.error-state h2 {
  color: var(--text);
}

.spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid #d6dfeb;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.page-loading {
  display: grid;
  min-height: 56vh;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--text-muted);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.content-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(145px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.content-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 6px;
  background: #e9edf2;
}

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

.content-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #536071;
  font-weight: 800;
}

.content-card p {
  margin: 12px 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.profile-shell {
  max-width: 980px;
}

.profile-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.profile-title-row {
  align-items: center;
  justify-content: flex-start;
}

.profile-header h1 {
  margin-bottom: 5px;
  font-size: 2.2rem;
}

.profile-handle {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.profile-bio {
  max-width: 660px;
  margin-bottom: 18px;
  color: #424a56;
}

.profile-section {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.profile-section:last-child {
  border-bottom: 0;
}

.inquiry-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(18, 24, 34, 0.24);
}

.inquiry-dialog::backdrop {
  background: rgba(18, 24, 34, 0.54);
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.dialog-heading,
.dialog-actions,
.inquiry-card-heading,
.inquiry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-heading {
  align-items: flex-start;
}

.dialog-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.dialog-close {
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  color: var(--text-muted);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
}

.dialog-intro {
  margin: -7px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dialog-actions {
  justify-content: flex-end;
}

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

.social-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.social-row:last-child {
  border-bottom: 0;
}

.platform-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #272b32;
  font-size: 0.76rem;
  font-weight: 850;
}

.social-row-copy {
  min-width: 0;
  flex: 1;
}

.social-row-copy strong,
.social-row-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-row-copy span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.auth-shell {
  width: min(100% - 32px, 520px);
  margin-inline: auto;
  padding-block: 52px 80px;
}

.auth-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-panel .brand-lockup {
  margin-bottom: 24px;
}

.auth-panel h1 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.auth-panel > p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.form-message {
  padding: 11px 13px;
  border-radius: 6px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-message.success {
  color: var(--green);
  background: var(--green-soft);
}

.auth-switch {
  margin: 22px 0 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.88rem;
}

.auth-switch a {
  color: var(--blue-dark);
  font-weight: 800;
}

.account-shell {
  max-width: 1120px;
}

.account-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.account-heading > div:first-child {
  max-width: 690px;
}

.account-heading h1 {
  margin-bottom: 10px;
  font-size: 2.45rem;
}

.account-heading p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.account-heading-actions,
.account-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.8fr);
  align-items: start;
  gap: 20px;
}

.account-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(22, 30, 43, 0.05);
}

.creator-account-summary {
  position: sticky;
  top: 88px;
}

.account-status-list {
  display: grid;
  margin-top: 22px;
  border-block: 1px solid var(--line);
}

.account-status-list div {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-status-list div + div {
  border-top: 1px solid var(--line);
}

.account-status-list span,
.account-note,
.brand-account-summary small,
.field small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.account-note {
  margin: 18px 0 0;
}

.account-form {
  display: grid;
  gap: 18px;
}

.category-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.category-picker legend {
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.choice-chip-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.choice-chip {
  position: relative;
  cursor: pointer;
}

.choice-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-chip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 750;
}

.choice-chip input:checked + span {
  border-color: #9abff4;
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.choice-chip input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.privacy-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.privacy-choice-list .check-row {
  min-height: 48px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--background);
}

.brand-account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 34px;
}

.brand-account-summary > div {
  display: grid;
  gap: 3px;
  padding-inline: 22px;
}

.brand-account-summary > div:first-child {
  padding-left: 0;
}

.brand-account-summary > div + div {
  border-left: 1px solid var(--line);
}

.brand-account-summary span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.brand-account-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-section {
  margin-top: 30px;
}

.brand-profile-section > .section-heading,
.account-section > .section-heading {
  margin-bottom: 16px;
}

.inquiry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 5px 16px rgba(22, 30, 43, 0.04);
}

.inquiry-card-heading {
  align-items: flex-start;
}

.inquiry-card-heading > div {
  min-width: 0;
}

.inquiry-card-heading h3 {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: 1.04rem;
}

.inquiry-direction {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.inquiry-message {
  margin: 15px 0;
  color: #424a56;
  font-size: 0.88rem;
}

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

.inquiry-meta div {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 6px;
  background: var(--background);
}

.inquiry-meta dt,
.inquiry-meta dd {
  margin: 0;
}

.inquiry-meta dt {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.inquiry-meta dd {
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 750;
}

.inquiry-response {
  margin-bottom: 16px;
  padding: 12px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}

.inquiry-response strong,
.inquiry-response p {
  display: block;
  margin: 0;
  font-size: 0.82rem;
}

.inquiry-response p {
  margin-top: 4px;
  color: #394557;
}

.inquiry-actions {
  margin-top: auto;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.compact-empty {
  min-height: 190px;
}

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

.how-step {
  padding: 22px 0;
  border-top: 3px solid var(--blue);
}

.how-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 850;
}

.how-step p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.data-boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.boundary-list li {
  position: relative;
  padding-left: 25px;
  color: #3f4753;
}

.boundary-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.discovery-footer {
  border-top: 1px solid var(--line);
  background: #10141a;
  color: #d8dee7;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) minmax(300px, 1fr);
  gap: 28px 48px;
  padding-block: 38px;
}

.footer-brand .brand-lockup {
  color: white;
}

.footer-brand .product-name {
  border-color: #4a5564;
  color: #aeb8c5;
}

.footer-brand p,
.footer-note {
  margin: 12px 0 0;
  color: #9ea9b8;
  font-size: 0.82rem;
}

.footer-inner nav {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.footer-inner nav a {
  color: #d8dee7;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: white;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid #2b333e;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100vw - 40px));
  padding: 13px 16px;
  border-radius: 7px;
  color: white;
  background: #1f2732;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 700;
}

@media (min-width: 1180px) {
  .creator-grid,
  .content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: flex;
  }

  .discovery-menu {
    position: fixed;
    z-index: 90;
    top: 0;
    right: 0;
    width: min(360px, calc(100vw - 24px));
    height: 100dvh;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 88px 20px 24px;
    overflow-y: auto;
    background: var(--surface);
    box-shadow: -14px 0 40px rgba(18, 24, 34, 0.18);
    visibility: hidden;
    transform: translateX(110%);
    transition:
      transform 180ms ease,
      visibility 0s linear 180ms;
  }

  .discovery-menu.open {
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .primary-nav,
  .account-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-nav {
    margin: 0;
  }

  .primary-nav a,
  .text-link {
    min-height: 48px;
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .account-nav {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .account-nav .primary-button,
  .account-nav .secondary-button {
    width: 100%;
  }

  .search-workspace {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .content-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .content-toolbar .primary-button {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding-top: 34px;
  }

  .search-workspace {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

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

  .filter-stack .checkbox-list,
  .filter-stack .filter-actions {
    grid-column: 1 / -1;
  }

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

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 16px;
  }

  .how-step span {
    grid-row: 1 / 3;
  }

  .data-boundary {
    grid-template-columns: 1fr;
  }

  .account-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .creator-account-summary {
    position: static;
  }

  .inquiry-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .footer-inner,
  .page-shell {
    width: min(100% - 28px, 1280px);
  }

  .header-inner {
    min-height: 62px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .product-name {
    display: none;
  }

  h1 {
    font-size: 2.08rem;
  }

  .discovery-summary {
    grid-template-columns: 1fr;
  }

  .discovery-summary div {
    padding-inline: 0;
  }

  .discovery-summary div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-heading > p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .filter-panel,
  .brief-panel,
  .creator-card,
  .content-card,
  .auth-panel,
  .data-boundary {
    padding: 18px;
  }

  .filter-stack,
  .field-row,
  .creator-grid,
  .content-grid,
  .content-toolbar {
    grid-template-columns: 1fr;
  }

  .filter-stack .checkbox-list,
  .filter-stack .filter-actions {
    grid-column: auto;
  }

  .brief-actions,
  .filter-actions,
  .profile-actions,
  .auth-actions,
  .account-heading-actions,
  .account-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brief-actions .primary-button,
  .filter-actions .primary-button,
  .filter-actions .text-button,
  .profile-actions .primary-button,
  .profile-actions .secondary-button,
  .auth-actions .primary-button {
    width: 100%;
  }

  .account-heading-actions,
  .account-heading-actions > *,
  .account-form-actions > * {
    width: 100%;
  }

  .privacy-choice-list,
  .brand-account-summary {
    grid-template-columns: 1fr;
  }

  .brand-account-summary > div {
    padding: 14px 0;
  }

  .brand-account-summary > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .creator-card-footer,
  .content-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .creator-card-footer > *,
  .content-card-footer > * {
    width: 100%;
  }

  .profile-header {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .profile-title-row,
  .profile-actions {
    justify-content: center;
  }

  .profile-header h1 {
    font-size: 1.85rem;
  }

  .inquiry-form {
    padding: 20px;
  }

  .dialog-actions,
  .inquiry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-actions > *,
  .inquiry-actions > * {
    width: 100%;
  }

  .social-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .social-row .secondary-button {
    width: 100%;
    margin-left: 54px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }

  .footer-note {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .brand-lockup {
    gap: 7px;
  }

  .brand-lockup img {
    width: 28px;
    height: 28px;
  }

  .creator-metrics {
    grid-template-columns: 1fr;
  }

  .creator-metrics div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
