:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #22213a;
  background: #f7f8fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #22213a;
  --muted: #85869a;
  --line: #ebeaf1;
  --pink: #ed4f82;
  --purple: #7855dc;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 3; display: flex; flex-direction: column;
  width: 250px; padding: 26px 16px 14px; background: #fff; border-right: 1px solid #eeedf3;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 11px; color: var(--ink); font: 800 18px Manrope, sans-serif; letter-spacing: -.7px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; color: #fff; background: linear-gradient(140deg, #ff9865, #eb4d88 57%, #7855dc); font-size: 14px; letter-spacing: -1px; }
.brand-accent { color: #eb5685; }
.workspace-switcher { display: flex; align-items: center; gap: 10px; margin: 34px 0 27px; padding: 11px 9px; border: 1px solid var(--line); border-radius: 11px; }
.workspace-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; background: #f0eaff; color: #7453d2; font-weight: 700; }
.workspace-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.workspace-copy strong { overflow: hidden; color: #34334a; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy small { color: #9292a4; font-size: 10px; }
.chevron { margin-left: auto; color: #9292a4; font-size: 16px; }
.nav-heading { margin: 0 10px 10px; color: #a0a0af; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.nav-heading-spaced { margin-top: 28px; }
.main-nav { display: grid; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 11px; border: 0; border-radius: 8px; color: #737488; background: transparent; text-align: left; font-size: 12px; transition: .15s ease; }
.nav-item:hover { background: #f8f7fb; color: var(--ink); }
.nav-item.active { color: #dc4779; background: #fff0f4; font-weight: 700; }
.nav-icon { width: 16px; color: inherit; font-size: 17px; text-align: center; }
.nav-count { display: grid; place-items: center; width: 20px; height: 20px; margin-left: auto; border-radius: 7px; color: #77778c; background: #f2f2f7; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.help-card { padding: 14px; border: 1px solid #efedf6; border-radius: 11px; background: linear-gradient(145deg, #fcf9ff, #fff8fa); }
.help-icon { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 12px; border-radius: 8px; color: #8e62d7; background: #f0e8ff; font-size: 12px; font-weight: 700; }
.help-card strong { font-size: 11px; }
.help-card p { margin: 6px 0 10px; color: #8a899a; font-size: 10px; line-height: 1.55; }
.text-button { padding: 0; border: 0; color: #d94a7c; background: transparent; font-size: 10px; font-weight: 700; }
.text-button span { margin-left: 4px; }
.user-profile { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding: 13px 4px 0; border-top: 1px solid #f0eff4; }
.user-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border: 2px solid white; border-radius: 50%; color: #7351c8; background: #eee7ff; font-size: 10px; font-weight: 700; }
.user-avatar.small { width: 29px; height: 29px; font-size: 9px; }
.more-button { margin-left: auto; border: 0; color: #88889a; background: none; font-size: 20px; }

.main-content { min-height: 100vh; margin-left: 250px; }
.topbar { position: sticky; top: 0; z-index: 2; display: flex; height: 64px; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid #edecf2; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #9a9aaa; font-size: 11px; }
.breadcrumbs b { color: #d3d2dc; font-weight: 400; }
.breadcrumbs strong { color: #444359; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.demo-label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #f1dfc8; border-radius: 20px; color: #a56824; background: #fff9ef; font-size: 9px; font-weight: 700; letter-spacing: .5px; }
.demo-label i { width: 6px; height: 6px; border-radius: 50%; background: #e9a449; }
.icon-button { position: relative; border: 0; color: #818194; background: none; font-size: 17px; }
.notification-dot { position: absolute; top: 1px; right: 0; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: #ec4f81; }
.page-content { max-width: 1440px; margin: auto; padding: 37px 42px 22px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 21px; }
.eyebrow { margin: 0 0 8px; color: #b261a9; font-size: 9px; font-weight: 700; letter-spacing: 1.25px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; color: var(--ink); font: 800 25px Manrope, sans-serif; letter-spacing: -.8px; }
.subtitle { margin-bottom: 0; color: #858599; font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 13px; border-radius: 8px; font-size: 11px; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-secondary { border: 1px solid #e8e7ef; color: #6c6b80; background: #fff; }
.button-primary { border: 0; color: white; background: linear-gradient(100deg, #e94f86, #d94d9c 52%, #8854d9); box-shadow: 0 5px 12px #e94f8628; }
.demo-notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 11px 14px; border: 1px solid #f2e7cd; border-radius: 9px; color: #7c6850; background: #fffcf4; }
.notice-icon { display: grid; place-items: center; width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; border-radius: 50%; color: #a87927; background: #f8e9c6; font-size: 10px; font-weight: 700; }
.demo-notice p { margin: 0; font-size: 10px; line-height: 1.55; }
.demo-notice strong { color: #66513a; }
.notice-dismiss { margin: -2px 0 0 auto; border: 0; color: #a69072; background: none; font-size: 18px; line-height: 1; }
.search-panel { padding: 19px 20px 13px; border: 1px solid #ebeaf1; border-radius: 12px; background: white; box-shadow: 0 4px 14px #28204b05; }
.search-topline { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 17px; }
.search-topline h2, .results-toolbar h2 { margin: 0 0 4px; font: 700 14px Manrope, sans-serif; letter-spacing: -.2px; }
.search-topline p, .results-toolbar p { margin: 0; color: #9493a5; font-size: 10px; }
.filter-indicator { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 6px; color: #747389; background: #f8f7fb; font-size: 9px; }
.filter-dot { width: 6px; height: 6px; border-radius: 50%; background: #a66bd2; }
.filter-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1.1fr auto; align-items: end; gap: 10px; }
.field { display: grid; min-width: 0; gap: 7px; }
.field > span { color: #666579; font-size: 10px; font-weight: 600; }
.input-wrap { position: relative; }
.input-icon { position: absolute; top: 7px; left: 10px; color: #a09eae; font-size: 16px; }
.field input, .field select, .sort-control select { width: 100%; height: 34px; padding: 0 9px; border: 1px solid #eae9f0; border-radius: 7px; outline: none; color: #67667b; background-color: white; font-size: 10px; }
.field input { padding-left: 30px; }
.field input:focus, .field select:focus, .sort-control select:focus { border-color: #d89cce; box-shadow: 0 0 0 3px #f9eff8; }
.field input::placeholder { color: #b0afbb; }
.search-button { height: 34px; padding: 0 12px; white-space: nowrap; }
.search-button span { font-size: 17px; }
.search-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 11px; border-top: 1px solid #f1f0f5; color: #9998a8; font-size: 9px; }
.sparkle { margin-right: 5px; color: #aa68cf; }
.search-footer .text-button { color: #85849a; font-weight: 600; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 27px 0 14px; }
.result-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 4px; padding: 0 5px; border-radius: 6px; color: #9a519d; background: #f7eefa; font: 700 10px "DM Sans", sans-serif; vertical-align: 1px; }
.toolbar-controls { display: flex; align-items: center; gap: 12px; }
.sort-control { display: flex; align-items: center; gap: 7px; color: #9998a8; font-size: 10px; }
.sort-control select { width: auto; height: 31px; padding: 0 25px 0 9px; color: #55546b; font-weight: 600; }
.view-toggle { display: flex; padding: 3px; border: 1px solid #ebeaf1; border-radius: 7px; background: white; }
.view-button { display: grid; place-items: center; width: 27px; height: 24px; border: 0; border-radius: 5px; color: #9a99a9; background: transparent; font-size: 13px; }
.view-button.selected { color: #d95284; background: #fff0f5; }
.creator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.creator-grid.list-layout { grid-template-columns: 1fr; }
.creator-card { overflow: hidden; border: 1px solid #ebeaf1; border-radius: 11px; background: white; box-shadow: 0 4px 13px #25203d05; transition: box-shadow .18s ease, transform .18s ease; }
.creator-card:hover { transform: translateY(-2px); box-shadow: 0 9px 24px #2a204b12; }
.card-accent { height: 3px; background: linear-gradient(90deg, #ed5485, #de67b4, #8c5fe0); }
.card-body { padding: 15px 14px 12px; }
.creator-heading { display: flex; align-items: center; gap: 10px; }
.creator-avatar { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 auto; border: 2px solid #fbecf1; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #ed9a74, #b86983 55%, #4f7192); font: 700 12px Manrope, sans-serif; }
.creator-avatar.violet { background: linear-gradient(145deg, #e3a88d, #8265ac 55%, #435d80); }
.creator-avatar.green { background: linear-gradient(145deg, #edb16d, #649076 55%, #557282); }
.creator-avatar.blue { background: linear-gradient(145deg, #e8a684, #6c8eb6 55%, #4c567a); }
.creator-avatar.rose { background: linear-gradient(145deg, #e997b1, #a56589 55%, #654876); }
.creator-avatar.gold { background: linear-gradient(145deg, #efb665, #c77d58 55%, #75624f); }
.creator-name-block { min-width: 0; }
.creator-name { display: flex; align-items: center; gap: 4px; margin: 0 0 2px; color: #333248; font-size: 12px; font-weight: 700; }
.verified { color: #438ee9; font-size: 11px; }
.creator-handle { overflow: hidden; color: #a09fae; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.creator-location { margin-left: auto; color: #8e8d9c; font-size: 9px; white-space: nowrap; }
.creator-bio { display: -webkit-box; overflow: hidden; min-height: 32px; margin: 12px 0 11px; color: #706f81; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.creator-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stat { padding: 8px 4px 7px; border-radius: 7px; background: #f7f7fa; text-align: center; }
.stat strong { display: block; color: #39384f; font: 700 12px Manrope, sans-serif; }
.stat span { display: block; margin-top: 3px; color: #9695a5; font-size: 8px; }
.engagement-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: #89889a; font-size: 9px; }
.engagement-row strong { color: #46a88d; font-size: 9px; }
.engagement-track { overflow: hidden; height: 4px; margin-top: 5px; border-radius: 5px; background: #f0eff4; }
.engagement-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8c5cd8, #df5a9f); }
.creator-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.creator-tag { padding: 4px 7px; border-radius: 5px; color: #805caf; background: #f5effb; font-size: 8px; font-weight: 600; }
.creator-tag:nth-child(2n) { color: #bd6484; background: #fff0f4; }
.creator-tag:nth-child(3n) { color: #568e89; background: #edf7f5; }
.card-actions { display: flex; gap: 7px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #f1f0f5; }
.save-button, .profile-button { display: flex; height: 30px; align-items: center; justify-content: center; gap: 5px; border-radius: 6px; font-size: 9px; font-weight: 700; }
.save-button { flex: 1; border: 1px solid #e9e8ef; color: #727185; background: white; }
.save-button.saved { border-color: #f5d5e1; color: #d64c7d; background: #fff6f9; }
.profile-button { flex: 1; border: 0; color: white; background: linear-gradient(100deg, #e94f86, #b951bb 65%, #8854d9); }
.profile-button:hover, .save-button:hover { filter: brightness(.98); }
.pagination { display: flex; align-items: center; justify-content: space-between; margin: 17px 0 24px; color: #9291a1; font-size: 9px; }
.pagination strong { color: #5d5c71; }
.pagination div { display: flex; gap: 5px; }
.pagination button { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #e9e8ef; border-radius: 6px; color: #9a99a8; background: white; font-size: 11px; }
.pagination button:disabled { opacity: .45; }
.pagination .page-number { border-color: #eed8e6; color: #d34d84; background: #fff4f8; font-weight: 700; }
.page-footer { display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid #ebeaf1; color: #a1a0ae; font-size: 9px; }
.page-footer span span { padding: 0 4px; color: #d2d1d9; }
.empty-state { grid-column: 1 / -1; padding: 46px 20px; border: 1px dashed #dedce8; border-radius: 10px; color: #858499; background: #fff; text-align: center; }
.empty-state strong { display: block; margin-bottom: 6px; color: #434258; font-size: 13px; }
.empty-state p { margin: 0; font-size: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 5; max-width: 360px; padding: 12px 16px; transform: translateY(15px); border: 1px solid #e8e6ef; border-radius: 9px; opacity: 0; color: #434258; background: white; box-shadow: 0 8px 28px #24203d1c; font-size: 11px; pointer-events: none; transition: .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1200px) {
  .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-button { width: 100%; }
  .creator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .sidebar { width: 65px; align-items: center; padding: 20px 8px 10px; }
  .brand { padding: 0; }
  .brand > span:last-child, .workspace-copy, .chevron, .nav-heading, .nav-item:not(.active), .nav-item.active { }
  .workspace-switcher { justify-content: center; width: 44px; padding: 5px; }
  .workspace-switcher .workspace-copy, .workspace-switcher .chevron { display: none; }
  .nav-item { justify-content: center; width: 44px; padding: 11px 0; font-size: 0; }
  .nav-icon { font-size: 17px; }
  .nav-count, .help-card, .user-profile .workspace-copy, .more-button { display: none; }
  .nav-heading { height: 9px; overflow: hidden; width: 30px; margin: 15px 0 8px; font-size: 0; }
  .nav-heading-spaced { margin-top: 20px; }
  .user-profile { justify-content: center; padding-top: 12px; }
  .main-content { margin-left: 65px; }
  .topbar { padding: 0 22px; }
  .page-content { padding: 28px 22px 18px; }
}
@media (max-width: 600px) {
  .topbar { height: 56px; padding: 0 15px; }
  .breadcrumbs { font-size: 10px; }
  .topbar-actions { gap: 10px; }
  .page-content { padding: 25px 14px 16px; }
  .page-heading { align-items: flex-start; gap: 12px; }
  h1 { font-size: 21px; }
  .subtitle { max-width: 290px; line-height: 1.5; }
  .page-heading .button { flex: 0 0 auto; height: 32px; padding: 0 9px; font-size: 9px; }
  .demo-notice { padding: 10px; }
  .search-panel { padding: 15px 12px 11px; }
  .search-topline { gap: 7px; }
  .filter-indicator { font-size: 8px; white-space: nowrap; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .field-keyword { grid-column: 1 / -1; }
  .search-button { grid-column: 1 / -1; }
  .search-footer { align-items: flex-start; gap: 10px; line-height: 1.5; }
  .search-footer .text-button { max-width: 115px; text-align: right; }
  .results-toolbar { align-items: flex-start; gap: 10px; }
  .toolbar-controls { flex-direction: column-reverse; align-items: flex-end; gap: 7px; }
  .sort-control { gap: 4px; font-size: 8px; }
  .sort-control select { max-width: 110px; height: 28px; font-size: 9px; }
  .creator-grid { grid-template-columns: 1fr; }
  .page-footer { gap: 10px; line-height: 1.5; }
  .page-footer span:last-child { max-width: 190px; text-align: right; }
}
