:root {
  --ink: #172d28;
  --pine: #163f35;
  --pine-dark: #102e27;
  --muted: #6e7b75;
  --line: #dfe5dd;
  --paper: #f7f8f3;
  --white: #fff;
  --lime: #d6efa5;
  --sage: #edf3e9;
  --danger: #a63737;
  --radius: 18px;
  --font: "Be Vietnam Pro", Arial, sans-serif;
  --serif: "Lora", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
img,
svg {
  max-width: 100%;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #89b768;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #7a9f75;
  outline-offset: 1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
}
h1,
h2 {
  letter-spacing: -0.045em;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4a5c53;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  min-height: 43px;
  padding: 10px 12px;
  margin-top: 7px;
  max-width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #849088;
  font-weight: 400;
  font-size: 12px;
}
textarea {
  resize: vertical;
}
select {
  padding-right: 25px;
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.min-w-0 {
  min-width: 0;
}
.text-sm {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.subtle {
  color: #849088;
  font-size: 10px;
}
.green-text {
  color: #2e674c !important;
}
.fine-print {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: #61786a;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 43px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  line-height: 1.5;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--pine);
  color: #fff;
}
.btn-primary:hover {
  background: #245b48;
}
.btn-dark {
  background: #1c2b25;
  color: white;
}
.btn-outline {
  border-color: #bbcbbd;
  background: transparent;
  color: var(--pine);
}
.btn-outline:hover {
  background: #edf3e9;
}
.btn-lime {
  background: var(--lime);
  color: var(--pine);
}
.btn-outline-light {
  border-color: #769487;
  color: #f5faf4;
}
.btn-danger {
  background: #a63737;
  color: white;
}
.text-link {
  font-size: 11px;
  font-weight: 600;
  color: #55715e;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-underline-offset: 4px;
}
.text-link:hover {
  text-decoration: underline;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.pill-lime {
  background: var(--lime);
  color: #32533b;
}
.pill-sage {
  background: var(--sage);
  color: #466949;
}
.pill-amber {
  background: #fff0d6;
  color: #92601d;
}
.pill-red {
  background: #fae7e5;
  color: #a63737;
}
.pill-gray {
  background: #f0f1ef;
  color: #69736a;
}
.live-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #5a8e50;
  border-radius: 50%;
  margin-right: 5px;
}
.section-shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.brand-mark {
  height: 37px;
  width: 37px;
  flex-shrink: 0;
  background: var(--pine);
  border-radius: 11px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}
.brand-mark span {
  color: var(--lime);
}
.brand small {
  display: block;
  font-family: var(--font);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.17em;
  margin-top: 2px;
  color: #718173;
}
.public-header {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1360px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 32px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.header-ctas {
  display: flex;
  gap: 10px;
}
.header-ctas .btn {
  font-size: 10px;
  max-width: 245px;
  min-height: 42px;
  padding: 10px 15px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding-block: 68px 60px;
}
.hero-copy {
  padding-bottom: 12px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.18;
  margin: 24px 0;
}
.hero h1 em {
  font-style: normal;
  color: #61825e;
}
.hero-description {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 450px;
}
.hero-explore {
  margin-top: 29px;
  padding: 13px 20px;
}
.hero-explore span {
  margin-left: 25px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
  font-size: 10px;
}
.hero-proof p {
  color: #354c41;
}
.hero-proof p span {
  color: var(--muted);
}
.platform-orbits {
  display: flex;
  padding-left: 5px;
}
.platform-orbits span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  margin-left: -5px;
  background: #e7ddd2;
  font-size: 18px;
  color: #583f39;
}
.platform-orbits span:nth-child(2) {
  background: #e1e9d8;
  color: #486d48;
}
.platform-orbits span:nth-child(3) {
  background: #eec9bf;
  color: #a34b36;
}
.hero-note {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
  font-size: 11px;
  color: #788879;
}
.small-star {
  font-size: 42px;
  line-height: 1;
  color: #7a8f68;
}
.hero-note strong {
  font-weight: 500;
  color: #53684f;
}
.calculator-card {
  background: #fff;
  border: 1px solid #dbe4d8;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 20px 55px #173a2510;
  position: relative;
}
.section-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.calculator-card h2 {
  font-size: 23px;
  font-family: var(--serif);
  font-weight: 500;
  margin-bottom: 8px;
}
.form-grid {
  display: grid;
  gap: 13px;
}
.calculator-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 21px;
  gap: 12px;
}
.calculator-fields label {
  font-size: 10px;
}
.calculator-fields input {
  padding: 9px 10px;
}
.pricing-details {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pricing-details summary {
  display: flex;
  justify-content: space-between;
  color: #59745f;
  font-size: 10px;
  font-weight: 600;
}
.pricing-details .form-grid {
  margin-top: 14px;
}
.pricing-details .fine-print {
  margin-top: 10px;
}
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.calculator-submit {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}
.calculator-submit .btn {
  flex: 1;
}
.calculator-result {
  background: var(--pine);
  color: white;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 12px;
  padding: 18px 20px;
  gap: 15px;
  align-items: center;
}
.calculator-result span {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #c2d5c4;
}
.calculator-result strong {
  display: block;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lime);
}
.calculator-result strong small {
  font-size: 15px;
  margin-left: 4px;
}
.calculator-result .price-result {
  border-left: 1px solid #4c6c5d;
  padding-left: 20px;
}
.price-result strong {
  font-size: 17px;
  color: white;
  margin-top: 6px;
}
.directory-section {
  padding-top: 40px;
  border-top: 1px solid #dfe6da;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 20px;
}
.section-heading h2,
.faq-section h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin-top: 12px;
}
.result-total {
  font-size: 11px;
  color: var(--muted);
}
.result-total strong {
  font-size: 16px;
  color: var(--pine);
}
.directory-filter-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px;
  margin-bottom: 25px;
  box-shadow: 0 4px 18px #163f3503;
}
.search-field {
  position: relative;
  display: block;
}
.search-field input {
  padding-left: 39px;
  margin: 0;
}
.search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  color: #77907a;
}
.directory-filter-panel > .search-field input {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  background: transparent;
}
.filter-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 135px;
  gap: 15px;
  margin-top: 18px;
  align-items: end;
}
.filter-controls label {
  font-size: 10px;
}
.filter-controls select {
  font-size: 11px;
  background: #fafbf8;
}
.filter-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0e8;
  padding-top: 16px;
  margin-top: 19px;
  gap: 10px;
  font-size: 10px;
  color: #8a948c;
}
.filter-bottom > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}
.sort-label select {
  width: auto;
  border: 0;
  background: transparent;
  margin: 0;
  font-size: 10px;
  min-height: 25px;
  padding: 3px 20px 3px 3px;
  color: #4c6551;
}
.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.creator-grid[aria-busy="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.creator-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 23px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.creator-card:hover {
  box-shadow: 0 14px 35px #163f3510;
  border-color: #afc5a7;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-top .text-link {
  font-size: 9px;
}
.platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  border: 1px solid #e0e5df;
  border-radius: 5px;
  padding: 3px 8px;
  color: #5c6b60;
}
.platform:before {
  font-size: 10px;
}
.platform-tiktok:before {
  content: "♪";
  color: #1a2923;
}
.platform-instagram:before {
  content: "◎";
  color: #b05d73;
}
.platform-youtube:before {
  content: "▶";
  color: #b5534f;
}
.creator-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 23px;
}
.avatar {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  border: 1px solid #fff6;
}
.avatar-0 {
  background: linear-gradient(125deg, #c7d7c6, #e8edde);
  color: #4e6750;
}
.avatar-1 {
  background: linear-gradient(125deg, #e4d0c2, #efe3d6);
  color: #896750;
}
.avatar-2 {
  background: linear-gradient(125deg, #cdd5df, #e8eaf4);
  color: #5d6884;
}
.avatar-3 {
  background: linear-gradient(125deg, #e8cfc7, #f3e5e0);
  color: #996b61;
}
.creator-identity h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.handle {
  font-size: 10px;
  color: #8c948d;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.niche-tag {
  font-size: 9px;
  color: #77816b;
  background: #f4f5ef;
  border-radius: 4px;
  display: inline-block;
  padding: 4px 8px;
  margin: 13px 0 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.creator-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid #e9ede6;
  border-bottom: 1px solid #e9ede6;
  padding: 15px 0;
  gap: 6px;
}
.creator-metrics dt {
  font-size: 8px;
  color: #8b948c;
}
.creator-metrics dd {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.protected-contact {
  font-size: 9px;
  color: #9ba39c;
  margin: 13px 0 17px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-actions {
  display: grid;
  gap: 8px;
}
.card-actions .btn {
  font-size: 10px;
  justify-content: space-between;
  padding: 11px 13px;
  min-height: 39px;
}
.card-actions .btn-outline {
  border-color: #e1e8dc;
  color: #536e50;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  font-size: 11px;
  color: #81907f;
}
.empty-state {
  grid-column: 1/-1;
  padding: 65px 20px;
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd7c5;
  border-radius: 16px;
}
.empty-state > span {
  font-size: 38px;
  color: #9fb090;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 8px 0;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  max-width: 480px;
  margin: 10px auto 0;
}
.partnership-banner {
  background: var(--pine);
  color: #e9f0e7;
  border-radius: 23px;
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 46px 48px;
  align-items: center;
}
.partnership-banner .eyebrow {
  color: #afc9ac;
}
.partnership-banner h2 {
  font-size: 30px;
  font-weight: 400;
  font-family: var(--serif);
  margin: 15px 0;
}
.partnership-banner p:not(.eyebrow) {
  font-size: 12px;
  color: #b3c7b5;
}
.banner-actions {
  display: grid;
  gap: 13px;
}
.banner-actions .btn {
  padding: 15px;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  padding-block: 65px;
}
.faq-section details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.faq-section summary {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.faq-section summary:after {
  content: "+";
  font-weight: 400;
  color: #7c9077;
}
.faq-section details[open] summary:after {
  content: "−";
}
.faq-section details p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 14px;
}
.public-footer {
  border-top: 1px solid var(--line);
  padding: 27px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #7d8b7c;
}
.public-footer .brand {
  font-size: 14px;
  color: var(--pine);
}
.public-footer .brand-mark {
  width: 29px;
  height: 29px;
  font-size: 23px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-200%);
  background: var(--pine);
  color: white;
  padding: 12px;
}
.skip-link:focus-visible {
  transform: none;
}
.noscript-note {
  background: #f7edcc;
  text-align: center;
  padding: 15px;
  font-size: 12px;
}
.inline-error {
  padding: 12px 15px;
  background: #fff0ed;
  border: 1px solid #eccbc4;
  color: var(--danger);
  font-size: 12px;
  border-radius: 8px;
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.inline-feedback {
  font-size: 12px;
  color: #7c5744;
  margin: 10px 0;
}
.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: #64806b;
  font-size: 22px;
  flex-shrink: 0;
}
/* Internal workspace */
.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.auth-story {
  background: var(--pine);
  color: #f4f6ee;
  padding: 45px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
}
.auth-story .brand-mark {
  background: #315747;
}
.auth-story .eyebrow {
  color: #afc9a6;
}
.auth-story h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.3;
  margin: 22px 0;
}
.auth-story em {
  color: var(--lime);
  font-style: normal;
}
.auth-story p:not(.eyebrow) {
  color: #b0c7b8;
  max-width: 450px;
  line-height: 1.9;
}
.auth-story .fine-print {
  font-size: 11px;
}
.auth-steps {
  margin-top: 45px;
  display: flex;
  gap: 23px;
  font-size: 11px;
  color: #9ab393;
}
.auth-steps span {
  display: grid;
  gap: 10px;
  flex: 1;
  border-top: 1px solid #51715e;
  padding-top: 15px;
}
.auth-steps b {
  font-size: 13px;
  font-weight: 500;
  color: #edf4e6;
}
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-form-panel > div {
  width: 100%;
  max-width: 365px;
}
.auth-form-panel h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  margin: 20px 0 10px;
}
.auth-form-panel p {
  font-size: 12px;
}
.auth-form-panel form {
  margin-top: 30px;
}
.auth-form-panel .btn {
  width: 100%;
  margin-top: 20px;
  justify-content: space-between;
}
.auth-form-panel .fine-print {
  margin: 17px 0 25px;
  font-size: 10px;
}
.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 27px 20px;
  display: flex;
  flex-direction: column;
}
.admin-sidebar .brand {
  font-size: 15px;
}
.admin-sidebar .brand-mark {
  width: 33px;
  height: 33px;
  font-size: 26px;
}
.sidebar-label {
  margin: 46px 10px 15px;
  color: #a1aca2;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
#admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
#admin-tabs button {
  text-align: left;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  padding: 13px 11px;
  display: flex;
  gap: 12px;
  color: #7c897e;
  font-size: 12px;
  align-items: center;
}
#admin-tabs button > span:first-child {
  font-size: 23px;
  min-width: 23px;
  font-weight: 400;
}
#admin-tabs small {
  display: block;
  font-size: 8px;
  margin-top: 3px;
  color: #94a091;
}
#admin-tabs button[aria-selected="true"] {
  background: var(--pine);
  color: #f0f6ed;
  box-shadow: 0 6px 12px #163f3510;
}
#admin-tabs button[aria-selected="true"] small {
  color: #aec5b0;
}
.sidebar-tip {
  margin: 40px 4px 25px;
  border: 1px solid #e5ebdf;
  background: #f8faf3;
  border-radius: 12px;
  padding: 17px;
  color: #668159;
}
.sidebar-tip > span {
  display: block;
  font-size: 28px;
}
.sidebar-tip strong {
  font-size: 10px;
  display: block;
  margin: 7px 0;
}
.sidebar-tip p {
  font-size: 9px;
  color: #8e9d87;
  line-height: 1.8;
}
.sidebar-footer {
  display: grid;
  gap: 12px;
  font-size: 10px;
  margin-top: auto;
  color: #7e8b78;
  padding: 12px 4px;
}
.sidebar-footer button {
  text-align: left;
}
.admin-workspace {
  min-width: 0;
}
.admin-topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 35px;
  background: #fff9;
  font-size: 10px;
  gap: 15px;
}
.breadcrumb {
  color: #a3ada0;
  margin-right: 7px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 13px;
}
.admin-avatar {
  background: #e3ead8;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.admin-main {
  padding: 35px;
  max-width: 1530px;
  margin: auto;
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.admin-heading h1 {
  font-size: 30px;
  font-weight: 500;
  font-family: var(--serif);
  margin: 10px 0;
}
.admin-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 11px;
}
.admin-heading .eyebrow {
  font-size: 8px;
}
.heading-actions {
  display: flex;
  gap: 10px;
}
.mini-summary {
  display: grid;
  grid-template-columns: 0.65fr 1.2fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px 22px;
  margin-bottom: 25px;
  gap: 22px;
}
.mini-summary > div:not(:first-child) {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.mini-summary span {
  color: #8d9c88;
  font-size: 9px;
  display: block;
}
.mini-summary strong {
  font-size: 23px;
  font-weight: 600;
  display: block;
  margin-top: 4px;
}
.mini-summary p {
  font-size: 10px;
  margin-top: 9px;
  color: #536b50;
}
.admin-filter-form {
  margin-bottom: 20px;
}
.filter-row {
  display: flex;
  gap: 11px;
  align-items: end;
}
.filter-row > .search-field {
  flex: 1;
  min-width: 170px;
}
.filter-row > label:not(.search-field) {
  max-width: 170px;
}
.filter-row input,
.filter-row select {
  margin: 0;
  background: #fff;
  font-size: 10px;
  min-height: 42px;
}
.filter-row label {
  font-size: 9px;
}
.admin-filter-form details {
  margin-top: 12px;
}
.admin-filter-form summary {
  font-size: 10px;
  color: #607e5a;
}
.admin-filter-form summary:before {
  content: "+";
  margin-right: 8px;
}
.admin-filter-form details[open] summary:before {
  content: "−";
}
.advanced-filters {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.advanced-filters label {
  font-size: 9px;
}
.advanced-filters input,
.advanced-filters select {
  font-size: 10px;
  min-width: 0;
}
.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.table-toolbar {
  padding: 15px 20px;
  border-bottom: 1px solid #e9eee5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #7b8c74;
}
.table-toolbar label {
  display: flex;
  align-items: center;
  font-size: 9px;
  font-weight: 400;
  gap: 7px;
}
.table-toolbar select {
  width: auto;
  font-size: 10px;
  min-height: 30px;
  margin: 0;
  border: 0;
  padding: 0 20px 0 4px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 10px;
}
thead {
  background: #f8faf5;
  color: #8b9984;
}
th {
  font-weight: 500;
  font-size: 9px;
  white-space: nowrap;
  padding: 12px 17px;
}
td {
  padding: 18px 17px;
  border-top: 1px solid #edf1e8;
  vertical-align: middle;
}
tr:hover td {
  background: #fcfdf9;
}
.table-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.table-identity .avatar {
  width: 35px;
  height: 35px;
  font-size: 15px;
  border-radius: 10px;
}
.table-identity strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  max-width: 180px;
  overflow-wrap: anywhere;
}
.table-identity .handle {
  font-size: 9px;
  max-width: 180px;
}
.table-niche {
  font-size: 9px;
  color: #9aa58f;
  margin-top: 6px;
}
.table-metric {
  font-weight: 600;
  white-space: nowrap;
}
.table-secondary {
  font-size: 9px;
  color: #9aa58f;
  margin-top: 4px;
}
.score {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #63825d;
}
.score-track {
  height: 4px;
  width: 45px;
  display: inline-block;
  background: #eef3e9;
  border-radius: 10px;
  overflow: hidden;
}
.score-track i {
  display: block;
  background: #93b779;
  height: 100%;
}
.contact-cell a {
  display: block;
  max-width: 190px;
  overflow-wrap: anywhere;
  font-size: 9px;
  color: #607b60;
  margin-top: 3px;
}
.cell-actions {
  display: grid;
  gap: 6px;
  min-width: 125px;
}
.cell-actions .btn {
  font-size: 9px;
  padding: 7px 10px;
  min-height: 32px;
  white-space: normal;
}
.cell-actions .text-link {
  font-size: 8px;
}
.table-empty {
  text-align: center;
  padding: 45px 15px;
  color: #97a18e;
}
.table-pagination {
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #899a80;
}
.table-pagination > div {
  display: flex;
  gap: 8px;
}
.table-pagination .btn {
  font-size: 9px;
  min-height: 28px;
  padding: 5px 10px;
}
.tab-panel {
  animation: panel-appear 0.2s ease;
}
.tab-panel > .fine-print {
  margin-top: 12px;
}
.note-strip {
  border: 1px solid #dfe8d5;
  background: #eef4e7;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.note-strip > span {
  font-size: 30px;
  color: #7e9f67;
}
.note-strip p {
  font-size: 10px;
  color: #8d9d7d;
  line-height: 1.8;
}
.note-strip strong {
  display: block;
  color: #60764e;
  font-weight: 500;
}
.stats-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 18px;
  gap: 12px;
}
.stats-toolbar h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.stats-toolbar > div {
  display: flex;
  gap: 10px;
}
.stats-toolbar select {
  font-size: 10px;
  min-height: 36px;
  margin: 0;
  max-width: 230px;
}
.funnel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 17px;
}
.stat-card > span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8d9c85;
}
.stat-card > strong {
  font-size: 28px;
  display: block;
  margin: 13px 0 8px;
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1;
}
.stat-card p {
  font-size: 8px;
  color: #9da890;
}
.stat-featured {
  background: var(--pine);
  color: #e1f1ce;
  border-color: var(--pine);
}
.stat-featured > span,
.stat-featured p {
  color: #adc59e;
}
.stat-featured strong {
  color: var(--lime);
}
.stat-bar {
  height: 4px;
  border-radius: 10px;
  background: #edf2e7;
  margin-top: 17px;
  overflow: hidden;
}
.stat-bar i {
  display: block;
  background: #8baf71;
  height: 100%;
  width: 0;
  transition: width 0.4s;
}
.stat-featured .stat-bar {
  background: #476347;
}
.stat-featured .stat-bar i {
  background: #c5e68b;
}
.stats-note {
  margin-top: 13px;
}
.campaign-workbench {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  margin-top: 30px;
}
.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.panel-heading .eyebrow {
  font-size: 8px;
}
.panel-heading h2 {
  font-size: 19px;
  font-family: var(--serif);
  font-weight: 500;
  margin-top: 8px;
}
.large-icon {
  font-size: 32px;
  color: #aac38f;
}
.panel-card label {
  font-size: 10px;
}
.panel-card select,
.panel-card input {
  font-size: 11px;
}
.send-controls {
  display: flex;
  gap: 15px;
  align-items: end;
  margin-top: 15px;
}
.send-controls label {
  max-width: 120px;
}
.send-controls .btn {
  flex: 1;
}
.panel-card form + .fine-print {
  margin-top: 12px;
}
.followup-action {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
  align-items: center;
}
.followup-action strong {
  font-size: 11px;
  font-weight: 500;
}
.followup-action p {
  font-size: 9px;
  color: #8b9b80;
  margin-top: 5px;
}
.followup-action .btn {
  font-size: 10px;
  white-space: nowrap;
  padding: 9px 12px;
}
.campaign-list {
  max-height: 330px;
  overflow: auto;
}
.campaign-item {
  padding: 13px 0;
  border-bottom: 1px solid #edf1e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.campaign-item:first-child {
  padding-top: 0;
}
.campaign-item:last-child {
  border: 0;
}
.campaign-item h3 {
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.campaign-item p {
  font-size: 9px;
  color: #91a083;
  margin-top: 5px;
}
.campaign-item .text-link {
  display: block;
  font-size: 9px;
  margin-top: 7px;
}
.campaign-item > div:last-child {
  flex-shrink: 0;
}
.activity-panel {
  margin-top: 25px;
}
.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 10px;
}
.activity-item:first-child {
  border: 0;
}
.activity-item strong {
  font-weight: 600;
}
.activity-item p {
  font-size: 9px;
  color: #91a083;
  margin-top: 4px;
}
.activity-item .text-link {
  font-size: 10px;
}
.activity-status {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.admin-footer {
  padding: 20px 35px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9caa92;
  border-top: 1px solid var(--line);
}
.app-dialog {
  border: 1px solid #d9e3d2;
  border-radius: 18px;
  width: min(580px, calc(100% - 32px));
  max-height: 90vh;
  padding: 27px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 35px 90px #142a2b30;
  overflow: auto;
  margin: auto;
}
.app-dialog::backdrop {
  background: #11291e70;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 19px;
}
.dialog-heading h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-top: 6px;
}
.dialog-heading .eyebrow {
  font-size: 8px;
}
.app-dialog p.muted {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.app-dialog label {
  margin-top: 15px;
}
.app-dialog label input,
.app-dialog label textarea,
.app-dialog label select {
  font-size: 12px;
}
.app-dialog .fine-print {
  margin-top: 14px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.file-drop {
  background: #f7faf2;
  border: 1px dashed #c7d5b9;
  border-radius: 10px;
  padding: 15px;
  color: #859975;
}
.file-drop input {
  border: 0;
  background: none;
  padding: 8px 0;
  min-height: 0;
  font-size: 10px !important;
}
.compact-dialog {
  max-width: 450px;
}
.wide-dialog {
  max-width: 760px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #1b4135;
  color: #edf5e3;
  border: 1px solid #4f7759;
  padding: 13px 22px;
  border-radius: 10px;
  z-index: 100;
  max-width: calc(100% - 35px);
  box-shadow: 0 7px 25px #102e2722;
  font-size: 12px;
  pointer-events: none;
}
.detail-block {
  background: #f8faf4;
  border: 1px solid #e2e9d8;
  border-radius: 9px;
  padding: 15px;
  margin: 13px 0;
  font-size: 11px;
}
.detail-block h3 {
  font-size: 12px;
  margin-bottom: 10px;
}
.detail-block p {
  overflow-wrap: anywhere;
}
.detail-block pre {
  font-family: var(--font);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}
.detail-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.detail-block textarea {
  font-size: 11px;
  min-height: 130px;
}
.table-scroll[aria-busy="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.busy-btn {
  opacity: 0.6;
  cursor: wait;
  pointer-events: none;
}
@keyframes panel-appear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .admin-main {
    padding: 45px 50px;
  }
  .admin-heading h1 {
    font-size: 35px;
  }
  .stat-card > strong {
    font-size: 35px;
  }
  .funnel-grid {
    gap: 18px;
  }
  .stat-card {
    padding: 25px;
  }
  .header-inner {
    max-width: 1400px;
  }
}
@media (max-width: 1199px) {
  .header-nav {
    display: none;
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .dashboard-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .admin-sidebar {
    padding: 24px 14px;
  }
  .admin-sidebar .brand {
    font-size: 13px;
  }
  .admin-main {
    padding: 25px;
  }
  .admin-topbar {
    padding-inline: 25px;
  }
  .funnel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .advanced-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .creator-card {
    padding: 18px;
  }
  .creator-metrics dd {
    font-size: 14px;
  }
  .hero-note {
    margin-top: 24px;
  }
  .filter-controls {
    gap: 10px;
  }
  .admin-heading .heading-actions {
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .section-shell {
    width: calc(100% - 40px);
  }
  .header-inner {
    padding: 18px 20px;
    gap: 15px;
  }
  .header-ctas .btn {
    max-width: 205px;
    font-size: 9px;
    padding: 8px 10px;
  }
  .brand {
    font-size: 14px;
  }
  .hero {
    gap: 26px;
    padding-block: 40px;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-proof {
    margin-top: 25px;
    gap: 10px;
  }
  .hero-note {
    display: none;
  }
  .calculator-card {
    padding: 20px;
  }
  .calculator-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .calculator-card h2 {
    font-size: 21px;
  }
  .calculator-submit {
    gap: 12px;
  }
  .calculator-submit .text-link {
    font-size: 9px;
  }
  .calculator-result {
    padding: 14px;
  }
  .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-controls .btn {
    grid-column: 1/-1;
  }
  .partnership-banner {
    padding: 35px;
    gap: 30px;
  }
  .partnership-banner h2 {
    font-size: 27px;
  }
  .faq-section {
    gap: 30px;
  }
  .public-footer {
    flex-wrap: wrap;
  }
  .dashboard-shell {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  .admin-sidebar {
    padding-inline: 10px;
  }
  .admin-sidebar .brand {
    font-size: 11px;
    gap: 7px;
  }
  .admin-sidebar .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 23px;
  }
  #admin-tabs button {
    font-size: 10px;
    padding: 11px 8px;
    gap: 8px;
  }
  #admin-tabs small {
    font-size: 7px;
  }
  .sidebar-tip {
    padding: 12px;
  }
  .admin-main {
    padding: 22px 18px;
  }
  .admin-topbar {
    padding-inline: 18px;
  }
  .admin-heading {
    align-items: start;
  }
  .admin-heading h1 {
    font-size: 27px;
  }
  .admin-heading > .btn {
    font-size: 9px;
    padding: 9px 10px;
  }
  .mini-summary {
    grid-template-columns: 0.6fr 1fr;
    gap: 15px;
  }
  .mini-summary > div:last-child {
    display: none;
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .filter-row > .search-field {
    flex-basis: 100%;
  }
  .filter-row > label:not(.search-field) {
    flex: 1;
    max-width: none;
  }
  .campaign-workbench {
    grid-template-columns: 1fr;
  }
  .stats-toolbar {
    align-items: start;
  }
  .stats-toolbar > div {
    flex-direction: column;
  }
  .stat-card {
    padding: 17px 12px;
  }
  .stat-card > span {
    font-size: 7px;
  }
  .stat-card > strong {
    font-size: 26px;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-steps {
    gap: 15px;
  }
  .auth-form-panel {
    padding: 30px;
  }
  .admin-heading .heading-actions .btn {
    font-size: 9px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 20px;
  }
  .section-shell {
    width: calc(100% - 32px);
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 16px;
    gap: 15px;
  }
  .header-inner .brand {
    font-size: 16px;
  }
  .header-ctas {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .header-ctas .btn {
    max-width: none;
    min-height: 47px;
    font-size: 9px;
    padding: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 38px;
    margin: 20px 0;
  }
  .hero-description {
    max-width: 390px;
  }
  .hero-explore {
    margin-top: 20px;
  }
  .hero-proof {
    margin-top: 22px;
  }
  .calculator-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .calculator-fields label {
    font-size: 8px;
  }
  .calculator-fields input {
    font-size: 12px;
    padding: 8px;
    min-height: 40px;
  }
  .calculator-fields input::placeholder {
    font-size: 9px;
  }
  .calculator-card {
    padding: 20px;
  }
  .directory-section {
    padding-top: 25px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .section-heading h2,
  .faq-section h2 {
    font-size: 27px;
  }
  .directory-filter-panel {
    padding: 16px;
  }
  .filter-bottom {
    align-items: start;
    flex-direction: column;
  }
  .filter-bottom > div {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .filter-bottom > p {
    font-size: 9px;
  }
  .creator-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .creator-card {
    padding: 22px;
  }
  .creator-metrics dd {
    font-size: 19px;
  }
  .creator-metrics dt {
    font-size: 9px;
  }
  .card-actions .btn {
    font-size: 11px;
    min-height: 43px;
  }
  .creator-identity h3 {
    font-size: 16px;
  }
  .partnership-banner {
    grid-template-columns: 1fr;
    margin-top: 45px;
    padding: 28px;
    gap: 25px;
  }
  .partnership-banner h2 {
    font-size: 27px;
  }
  .banner-actions .btn {
    font-size: 11px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    padding-block: 42px;
    gap: 20px;
  }
  .public-footer {
    flex-direction: column;
    align-items: start;
    gap: 17px;
  }
  .auth-screen {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 25px;
    gap: 20px;
  }
  .auth-story > div,
  .auth-story > .fine-print {
    display: none;
  }
  .auth-form-panel {
    padding: 45px 25px;
  }
  .auth-form-panel h2 {
    font-size: 29px;
  }
  .dashboard-shell {
    display: block;
  }
  .admin-sidebar {
    height: auto;
    position: relative;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 15px 16px;
    gap: 15px;
  }
  .admin-sidebar .brand {
    font-size: 15px;
  }
  .admin-sidebar .brand-mark {
    width: 32px;
    height: 32px;
  }
  .sidebar-label,
  .sidebar-tip {
    display: none;
  }
  #admin-tabs {
    flex-direction: row;
    gap: 5px;
  }
  #admin-tabs button {
    flex: 1;
    justify-content: center;
    font-size: 9px;
    padding: 9px 4px;
    gap: 5px;
  }
  #admin-tabs button > span:first-child {
    font-size: 18px;
    min-width: 15px;
  }
  #admin-tabs small {
    display: none;
  }
  .sidebar-footer {
    position: absolute;
    right: 16px;
    top: 22px;
    display: block;
    padding: 0;
  }
  .sidebar-footer a {
    display: none;
  }
  .sidebar-footer .text-link {
    font-size: 9px;
  }
  .admin-topbar {
    height: 58px;
    font-size: 9px;
    padding-inline: 16px;
  }
  .topbar-right {
    gap: 8px;
  }
  .admin-avatar {
    display: none;
  }
  .admin-main {
    padding: 24px 16px;
  }
  .admin-heading h1 {
    font-size: 28px;
  }
  .admin-heading p:not(.eyebrow) {
    font-size: 10px;
  }
  .admin-heading {
    gap: 10px;
  }
  .admin-heading > .btn {
    font-size: 8px;
    max-width: 125px;
    padding: 9px 8px;
    line-height: 1.6;
  }
  .mini-summary {
    padding: 15px;
    gap: 16px;
  }
  .mini-summary strong {
    font-size: 23px;
  }
  .mini-summary span {
    font-size: 8px;
  }
  .mini-summary p {
    font-size: 9px;
  }
  .mini-summary > div:not(:first-child) {
    padding-left: 16px;
  }
  .filter-row > .btn {
    font-size: 10px;
    padding: 10px;
  }
  .filter-row select {
    font-size: 9px;
  }
  .filter-row > label:not(.search-field) {
    min-width: 105px;
  }
  .advanced-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 13px;
  }
  .table-toolbar {
    padding: 13px;
    font-size: 9px;
  }
  .table-pagination {
    padding: 12px 13px;
  }
  .admin-heading .heading-actions {
    gap: 6px;
    min-width: 105px;
  }
  .admin-heading .heading-actions .btn {
    font-size: 8px;
    min-height: 34px;
    padding: 7px;
  }
  .funnel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .funnel-grid .stat-featured {
    grid-column: 1/-1;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card > span {
    font-size: 8px;
  }
  .stat-card > strong {
    font-size: 30px;
  }
  .stats-toolbar > div {
    gap: 6px;
  }
  .stats-toolbar select {
    font-size: 9px;
    max-width: 180px;
    min-height: 32px;
  }
  .stats-toolbar h2 {
    font-size: 13px;
  }
  .panel-card {
    padding: 18px;
  }
  .activity-item {
    align-items: start;
    gap: 10px;
  }
  .activity-status {
    flex-direction: column;
    align-items: end;
    gap: 8px;
  }
  .admin-footer {
    padding: 17px 16px;
    font-size: 8px;
    gap: 15px;
  }
  .app-dialog {
    padding: 21px;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  .dialog-footer .btn {
    font-size: 11px;
  }
  .note-strip {
    padding: 14px;
  }
  .note-strip p {
    font-size: 9px;
  }
  .toast {
    font-size: 11px;
  }
  .calculator-result strong {
    font-size: 30px;
  }
  .price-result strong {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.mobile-scroll-hint {
  display: none;
}
.social-search-form {
  margin-bottom: 16px;
}
.social-search-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.social-query-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 165px;
  gap: 18px;
}
.social-search-form .social-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.social-platforms legend {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.social-choice,
.social-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.social-choice {
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8faf5;
}
.social-choice input[type="checkbox"],
.social-check input[type="checkbox"] {
  display: inline-block;
  width: 17px;
  height: 17px;
  min-height: 17px;
  flex: 0 0 17px;
  padding: 0;
  margin: 0;
  accent-color: var(--pine);
}
.social-choice:has(input:disabled) {
  background: #f5f5f2;
}
.social-choice small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.social-config-note {
  margin-top: 15px;
  font-size: 11px;
  line-height: 1.8;
  color: #607265;
  overflow-wrap: anywhere;
}
.social-field-group + .social-field-group {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.social-group-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 17px;
}
.social-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 1px solid #d9d5c8;
  border-radius: 50%;
  font-size: 10px;
  color: #756744;
  background: #f7f4ec;
}
.social-group-heading h2 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 500;
}
.social-group-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.social-criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.social-criteria-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.social-criteria-grid label {
  min-width: 0;
  font-size: 11px;
  line-height: 1.6;
}
.social-criteria-grid input,
.social-criteria-grid select {
  width: 100%;
  min-width: 0;
  margin-top: 7px;
}
.social-field-help {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  font-weight: 400;
}
.social-timeframe-help {
  margin: 12px 0 0;
}
.social-custom-dates {
  margin-top: 14px;
}
.social-custom-dates[hidden] {
  display: none;
}
.social-search-preview {
  margin-top: 23px;
  padding: 16px 18px;
  background: #faf8f2;
  border: 1px solid #e8e2d7;
  border-radius: 10px;
}
.social-preview-label {
  margin: 0 0 7px;
  color: #756744;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}
#social-query-preview {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#social-criteria-note:empty {
  display: none;
}
.social-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.social-warnings {
  margin: 15px 0;
  padding: 15px 18px;
  background: #fff7e7;
  color: #775324;
  border: 1px solid #edddbc;
  border-radius: 10px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.social-warnings ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.social-warnings li + li {
  margin-top: 5px;
}
.social-result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 25px 0 12px;
}
.social-result-heading h2 {
  font: 500 23px/1.4 var(--serif);
  overflow-wrap: anywhere;
}
.social-result-note {
  margin-bottom: 14px;
  max-width: 760px;
}
.social-selection-toolbar {
  flex-wrap: wrap;
  gap: 12px;
}
.social-selection-toolbar .social-check {
  font-size: 11px;
}
.social-results-table {
  min-width: 610px;
}
.social-results-table th:first-child,
.social-results-table td:first-child {
  width: 55px;
}
.social-results-table th:nth-child(2) {
  width: 52%;
}
.social-profile-link {
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.social-source,
.social-handle {
  font-size: 10px;
  color: #617368;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.social-snippet {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 9px;
  color: #5e6e63;
  max-width: 540px;
  overflow-wrap: anywhere;
}
.social-job-link {
  display: block;
  margin-top: 8px;
  font-size: 10px;
}
.social-import-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 0 12px;
}
.social-import-bar label {
  flex: 1;
  min-width: 220px;
  max-width: 440px;
  font-size: 11px;
}
.social-import-bar input {
  font-size: 12px;
}
#panel-social > .inline-feedback {
  min-height: 1em;
}
@media (max-width: 900px) {
  .social-search-form .social-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social-criteria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social-choice small {
    margin-top: 2px;
  }
  .social-choice {
    padding: 11px 13px;
  }
}
@media (max-width: 640px) {
  .social-criteria-grid,
  .social-search-form .social-platforms {
    grid-template-columns: 1fr;
  }
  #admin-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  #admin-tabs button {
    min-height: 43px;
    justify-content: flex-start;
    padding: 10px;
    font-size: 11px;
  }
  .social-query-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .social-search-form input,
  .social-search-form select,
  .social-import-bar input {
    font-size: 16px;
  }
  .social-import-bar > .btn,
  .social-import-bar > label {
    max-width: none;
    width: 100%;
  }
  .social-result-heading h2 {
    font-size: 21px;
  }
  .social-form-actions {
    gap: 12px;
  }
  .social-form-actions > .fine-print {
    flex-basis: 100%;
  }
}
@media (max-width: 640px) {
  .mobile-scroll-hint {
    display: block;
    padding: 10px 14px 0;
    font-size: 9px;
    color: #829477;
  }
  .calculator-fields label {
    font-size: 10px;
  }
  .calculator-fields input {
    font-size: 16px;
  }
  .calculator-fields input::placeholder {
    font-size: 10px;
  }
  .auth-form-panel input,
  .app-dialog input,
  .app-dialog textarea {
    font-size: 16px;
  }
}

/* Product/content search: separate from the legacy creator directory. */
.market-search-section {
  padding-top: 34px;
  padding-bottom: 72px;
}
.market-search-section .section-heading {
  align-items: end;
  gap: 24px;
}
.market-intro {
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
}
.market-search-form {
  margin-top: 26px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.market-query-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}
.market-query-row input {
  min-height: 49px;
}
.market-query-row > .btn {
  min-height: 49px;
  padding-left: 25px;
  padding-right: 25px;
}
.market-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  margin: 18px 0 12px;
}
.market-filter-row > label {
  flex: 1 1 175px;
  min-width: 0;
}
.market-filter-row > .text-link {
  margin-left: auto;
  margin-bottom: 10px;
  flex: 0 0 auto;
}
.market-live-choice {
  margin: 12px 0 6px;
  font-size: 12px;
}
.market-date-range {
  flex: 2 1 350px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.market-date-range label {
  min-width: 0;
}
.market-date-range input {
  width: 100%;
  min-width: 0;
}
.market-search-summary {
  border: 1px solid #d9e1d3;
  background: var(--sage);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.market-search-warnings {
  background: #f4efe4;
  border: 1px solid #e2d9c8;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 11px;
  color: #6f6046;
  margin: 14px 0;
}
.market-search-warnings ul {
  margin: 7px 0 0;
  padding-left: 18px;
}
.market-result-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 23px;
  padding: 6px;
  border: 1px solid var(--line);
  background: #eef1e9;
  border-radius: 13px;
}
.market-result-tabs button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  min-height: 53px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #66766b;
  font-weight: 600;
  font-size: 12px;
  padding: 11px 12px;
}
.market-result-tabs button[aria-selected="true"] {
  background: white;
  border-color: #d5dfcf;
  color: var(--pine);
  box-shadow: 0 2px 7px rgb(35 57 42 / 5%);
}
.market-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #e8eedf;
  color: var(--pine);
  font-size: 10px;
}
.market-result-panel {
  margin-top: 25px;
}
.market-panel-heading {
  display: flex;
  gap: 22px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.market-panel-heading h3 {
  font-family: var(--serif);
  font-size: 22px;
  flex: 1 1 40%;
}
.market-panel-heading p {
  max-width: 510px;
  flex: 1 1 55%;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.market-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}
.market-result-grid > .empty-state {
  grid-column: 1 / -1;
}
.market-card {
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.market-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.market-rank {
  color: #b39b70;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}
.market-badge {
  font-size: 9px;
  line-height: 1.6;
  padding: 5px 8px;
  border-radius: 6px;
  color: #65745c;
  background: #f0f3e9;
}
.market-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin: 0 0 7px;
}
.market-muted {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.market-status {
  margin-top: 16px;
  color: var(--pine);
  font-size: 11px;
  font-weight: 600;
}
.market-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 13px;
}
.market-counts strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.market-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 10px;
  padding: 16px 0;
  margin: 17px 0 0;
  border-top: 1px solid #edf0e7;
  border-bottom: 1px solid #edf0e7;
}
.market-metrics dt {
  color: var(--muted);
  font-size: 9px;
}
.market-metrics dd {
  margin: 3px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--pine);
}
.market-method {
  font-size: 10px;
  line-height: 1.9;
  margin: 15px 0 8px;
  color: #6c796c;
}
.market-profile-link {
  margin-top: 10px;
  font-size: 11px;
}
.market-evidence {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 16px;
}
.market-evidence > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--pine);
}
.market-evidence > summary::after {
  content: "+";
}
.market-evidence[open] > summary::after {
  content: "−";
}
.market-evidence ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.market-evidence li {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #edf0e7;
  font-size: 11px;
}
.market-evidence li p {
  margin: 7px 0;
  line-height: 1.8;
}
.market-evidence-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  color: #839079;
  font-size: 9px;
}
.creator-classification-note {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
  margin-top: 10px;
}

/* Admin review of approved content observations. */
.content-import-panel { margin-bottom: 24px; }
.content-import-panel > summary { cursor: pointer; color: var(--pine); }
.content-import-form { display: grid; gap: 16px; padding-top: 22px; min-width: 0; }
.content-import-form textarea { width: 100%; max-width: 100%; min-height: 230px; font: 13px/1.65 monospace; resize: vertical; }
.content-import-form .content-publish-choice { display: flex; align-items: center; gap: 10px; align-self: center; }
.content-import-form .content-publish-choice input { width: 18px; height: 18px; flex: 0 0 18px; }
.content-record-json { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 60vh; overflow: auto; }
#content-rows td:first-child { min-width: 260px; max-width: 420px; overflow-wrap: anywhere; }
#content-rows .social-snippet { white-space: pre-wrap; overflow-wrap: anywhere; }
#social-content-summary ul { font-size: 13px; padding-left: 20px; }
#social-content-platforms { margin-top: 16px; }
@media (max-width: 640px) {
  .content-import-form .form-grid { grid-template-columns: minmax(0, 1fr); }
  .content-import-panel { padding: 20px 16px; }
}
@media (max-width: 1050px) {
  .market-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-search-section .section-heading,
  .market-panel-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .market-intro,
  .market-panel-heading p {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .market-search-section {
    padding-top: 20px;
    padding-bottom: 42px;
  }
  .market-search-form {
    padding: 17px;
  }
  .market-query-row,
  .market-result-grid,
  .market-result-tabs {
    grid-template-columns: 1fr;
  }
  .market-result-tabs button {
    justify-content: space-between;
    min-height: 45px;
    padding: 10px 12px;
  }
  .market-filter-row > label {
    flex-basis: 100%;
  }
  .market-filter-row > .text-link {
    margin-left: 0;
    margin-bottom: 2px;
  }
  .market-date-range {
    flex-basis: 100%;
    width: 100%;
  }
  .market-search-form input,
  .market-search-form select {
    font-size: 16px;
  }
  .market-query-row > .btn {
    width: 100%;
  }
  .market-panel-heading h3 {
    font-size: 20px;
  }
  .market-card {
    padding: 19px;
  }
  .market-card h4 {
    font-size: 21px;
  }
}

/* Source configuration and explicit live/stored search controls (v1.7). */
.market-source-mode {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  min-width: 0;
}
.market-source-mode legend { padding: 0 7px; font-size: 12px; font-weight: 700; color: var(--pine); }
.market-source-mode .market-live-choice { margin-top: 0; }
.market-source-mode .fine-print { margin: 7px 0 12px; }
.market-force-choice { margin-top: 14px; }
.market-force-choice:has(input:disabled) { opacity: .6; }
.market-mode-feedback { margin: 12px 0 0; color: var(--pine); font-size: 12px; font-weight: 600; }
.source-provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
.source-provider-card { padding: 23px; min-width: 0; }
.source-provider-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.source-provider-heading h2 { margin: 0; font-size: 20px; }
.source-provider-heading .pill { font-size: 10px; white-space: nowrap; }
.source-connection-note { color: var(--muted); font-size: 12px; min-height: 38px; }
.source-request-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.source-request-counts dt { font-size: 11px; color: var(--muted); }
.source-request-counts dd { font-size: 28px; font-weight: 700; margin: 4px 0 0; color: var(--pine); }
.source-provider-card code, .source-key-help code { overflow-wrap: anywhere; font-size: 11px; }
.source-quota { margin-bottom: 16px; }
.source-quota label, .source-quota p { color: var(--muted); font-size: 11px; }
.source-quota progress { display: block; width: 100%; height: 9px; margin: 10px 0; border: 0; accent-color: var(--pine); }
.source-quota .source-quota-alert { color: var(--danger); font-weight: 600; }
.source-cache-panel { margin-bottom: 20px; }
.source-cache-panel h2 { margin-top: 0; }
.source-key-help > summary { font-weight: 700; cursor: pointer; }
.source-key-help dl > div { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.source-key-help dd { margin: 0; }
.source-configuration-note { align-items: start; }
.social-force-choice { margin: 20px 0; }
@media (max-width: 1100px) { .source-provider-grid { grid-template-columns: 1fr; } .source-connection-note { min-height: 0; } }
@media (max-width: 600px) { .source-provider-card { padding: 18px; } .market-source-mode { padding: 12px; } .source-key-help dl > div { grid-template-columns: 1fr; gap: 4px; } }
