/* Operation overview, scoped to the creator admin and the existing B2B tokens. */
.creator-workspace .creator-insights { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); align-items: start; gap: 16px; margin: 0 0 28px; }
.creator-workspace .creator-insights > * { min-width: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.creator-workspace .creator-insights .insights-finance { background: #fff8fb; border-color: #eed7e2; }
.creator-workspace .creator-insights h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 17px; line-height: 1.45; font-weight: 600; letter-spacing: -.4px; }
.creator-workspace .creator-insights .insights-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.creator-workspace .creator-insights .insights-heading > div { min-width: 0; }
.creator-workspace .creator-insights .insights-eyebrow { margin-bottom: 5px; font-size: 9px; font-weight: 600; line-height: 1.6; text-transform: uppercase; letter-spacing: .09em; color: #87727c; }
.creator-workspace .creator-insights .insights-description { margin: 7px 0 18px; color: #7b7075; font-size: 11px; line-height: 1.7; }
.creator-workspace .creator-insights .insights-count { display: inline-flex; min-width: 25px; height: 25px; align-items: center; justify-content: center; padding: 0 6px; border-radius: 7px; background: var(--rose-100); color: var(--ink); font-size: 11px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
body.creator-workspace .creator-insights button { width: auto; margin: 0; min-height: 36px; font-size: 10px; line-height: 1.4; padding: 8px 10px; border-radius: 7px; }
body.creator-workspace .creator-insights .insights-button { background: #fff; border: 1px solid var(--line); color: var(--ink); }
body.creator-workspace .creator-insights .insights-button:hover { background: var(--rose-50); border-color: #d3a7bb; }
body.creator-workspace .creator-insights .insights-refresh { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 6px; font-weight: 500; }
.creator-workspace .creator-insights .insights-refresh svg { width: 14px; height: 14px; }
.creator-workspace .creator-insights .insights-filters { display: flex; flex-wrap: wrap; gap: 5px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
body.creator-workspace .creator-insights .insights-filter { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; background: #f8f6f7; color: #75646c; border-color: transparent; font-size: 10px; font-weight: 500; }
body.creator-workspace .creator-insights .insights-filter:hover { background: var(--rose-100); color: var(--ink); }
body.creator-workspace .creator-insights .insights-filter[aria-pressed='true'] { background: var(--ink); color: #fff; }
.creator-workspace .creator-insights .insights-filter span { opacity: .8; font-size: 9px; font-variant-numeric: tabular-nums; }
.creator-workspace .creator-insights .insights-list { list-style: none; margin: 0; padding: 0; }
.creator-workspace .creator-insights .insights-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid #f0edee; }
.creator-workspace .creator-insights .insights-item-content { min-width: 0; }
.creator-workspace .creator-insights .insights-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin-bottom: 6px; font-size: 9px; font-weight: 500; }
.creator-workspace .creator-insights .insights-category { color: #7b7075; }
.creator-workspace .creator-insights .insights-priority { padding: 2px 6px; border-radius: 4px; color: #776776; background: #f5f1f3; }
.creator-workspace .creator-insights .insights-priority-high { color: #94292d; background: #fff0eb; }
.creator-workspace .creator-insights .insights-priority-medium { color: #806018; background: #fff5d9; }
.creator-workspace .creator-insights .insights-item-title { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.55; letter-spacing: -.1px; overflow-wrap: anywhere; }
.creator-workspace .creator-insights .insights-creator { margin-top: 2px; font-size: 10px; line-height: 1.7; color: #62535a; font-weight: 600; overflow-wrap: anywhere; }
.creator-workspace .creator-insights .insights-reason { max-width: 58ch; margin-top: 3px; font-size: 10px; line-height: 1.7; color: #83767c; overflow-wrap: anywhere; }
body.creator-workspace .creator-insights .insights-action { flex-shrink: 0; max-width: 120px; background: #fff; color: var(--ink); border-color: var(--line); font-weight: 500; }
body.creator-workspace .creator-insights .insights-action:hover { background: var(--rose-50); border-color: #d3a7bb; }
body.creator-workspace .creator-insights .insights-more { width: 100%; margin-top: 14px; background: #f8f6f7; border-color: transparent; font-weight: 500; }
.creator-workspace .creator-insights .insights-state { padding: 28px 10px; font-size: 12px; line-height: 1.7; text-align: center; color: #7b7075; }
.creator-workspace .creator-insights.insights-has-error .insights-state { margin: 14px 0; padding: 16px; background: #fff5e6; border: 1px solid #ecd7ae; border-radius: 8px; color: #806018; }
body.creator-workspace .creator-insights .insights-retry { display: block; margin: 12px auto 0; }
.creator-workspace .creator-insights .insights-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 16px; color: #92858c; font-size: 9px; line-height: 1.7; }
.creator-workspace .creator-insights .insights-rules { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.8; color: #82747b; }
.creator-workspace .creator-insights .insights-rules summary { color: #6f5260; cursor: pointer; font-weight: 500; }
.creator-workspace .creator-insights .insights-rules p { margin-top: 10px; }
.creator-workspace .creator-insights .insights-finance-status { padding: 10px 11px; margin: 0 0 17px; border-radius: 7px; color: #7b7075; background: #f2ecef; font-size: 10px; line-height: 1.6; font-weight: 500; }
.creator-workspace .creator-insights .insights-finance-status[data-status='ok'] { background: #eaf3f0; color: #37675b; }
.creator-workspace .creator-insights .insights-finance-status[data-status='attention'], .creator-workspace .creator-insights .insights-finance-status[data-status='error'] { background: #fff1d9; color: #806018; }
.creator-workspace .creator-insights .insights-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f0e3e9; font-size: 10px; line-height: 1.6; }
.creator-workspace .creator-insights .insights-total dt { color: #816675; min-width: 0; }
.creator-workspace .creator-insights .insights-total dd { text-align: right; font-weight: 500; font-family: var(--serif); font-size: 14px; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.creator-workspace .creator-insights .insights-total-available { flex-direction: column; gap: 5px; padding: 16px; margin: 12px 0 2px; border: 0; border-radius: 9px; background: var(--ink); }
.creator-workspace .creator-insights .insights-total-available dt { color: #dec7d2; font-size: 10px; }
.creator-workspace .creator-insights .insights-total-available dd { color: #f6a2cd; font-size: 28px; letter-spacing: -.7px; line-height: 1.25; }
.creator-workspace .creator-insights .insights-total-deficit dt, .creator-workspace .creator-insights .insights-total-deficit dd { color: #94292d; }
.creator-workspace .creator-insights .insights-finance-summary { margin-top: 15px; font-size: 10px; color: #816675; line-height: 1.8; }
body.creator-workspace .creator-insights .insights-review { width: 100%; margin-top: 14px; border-color: #e5cad7; }
.creator-workspace .insights-saque-focus { background: #fff1f7; outline: 2px solid #b56288; outline-offset: -2px; scroll-margin-top: 100px; }
.creator-workspace #insights-title { scroll-margin-top: 100px; }
@media (max-width: 1279px) {
  .creator-workspace .creator-insights { grid-template-columns: minmax(0, 1fr); }
  .creator-workspace .creator-insights .insights-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
  .creator-workspace .creator-insights .insights-total-available { grid-row: span 2; justify-content: center; margin-top: 8px; }
}
@media (max-width: 600px) {
  .creator-workspace .creator-insights { gap: 12px; margin-bottom: 22px; }
  .creator-workspace .creator-insights > * { padding: 17px 15px; }
  .creator-workspace .creator-insights h2 { font-size: 15px; }
  .creator-workspace .creator-insights .insights-heading { align-items: flex-start; }
  .creator-workspace .creator-insights .insights-eyebrow { font-size: 8px; }
  .creator-workspace .creator-insights .insights-description { margin-bottom: 14px; }
  .creator-workspace .creator-insights .insights-item { align-items: flex-start; flex-direction: column; gap: 10px; }
  body.creator-workspace .creator-insights button { min-height: 40px; }
  body.creator-workspace .creator-insights .insights-refresh { padding: 7px 8px; gap: 4px; }
  .creator-workspace .creator-insights .insights-refresh svg { display: none; }
  .creator-workspace .creator-insights .insights-totals { display: block; }
  .creator-workspace .creator-insights .insights-total-available { display: flex; margin-top: 12px; }
}
