/* v59.8.13 single live-data dashboard controller */
#creator-dashboard .cp-dev-brand-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
.cp813-brand-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:310px;padding:18px;border:1px solid #e1e5ef;border-radius:18px;background:#fff;box-sizing:border-box;overflow:hidden}
.cp813-brand-logo{height:82px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;border-radius:14px;background:#fafbff;overflow:hidden}
.cp813-brand-logo img{display:block;max-width:100%;max-height:82px;width:auto;height:auto;object-fit:contain}.cp813-brand-logo span{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f0ebff;color:#6432f6;font-weight:800;font-size:20px}
.cp813-brand-main{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.cp813-brand-name{font-size:18px;font-weight:800;color:#12172d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cp813-check{margin-left:6px;color:#6432f6}.cp813-campaign-title{font-size:14px;color:#52607a;line-height:1.35;min-height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cp813-deliverable{font-size:13px;line-height:1.3;color:#6237ef;background:#f0eaff;border-radius:9px;padding:7px 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cp813-budget{font-size:13px;font-weight:700;color:#1d2438}.cp813-apply{margin-top:14px;width:100%;min-height:44px;border:0;border-radius:10px;background:#6c35f6;color:#fff;font-size:16px;font-weight:800;cursor:pointer}.cp813-apply:hover{filter:brightness(.96)}
#creator-dashboard .cp-dev-bottom-grid{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1.1fr) minmax(0,1.25fr)!important;gap:18px!important;align-items:stretch!important}
#cp813RecentRequests{display:flex;flex-direction:column;gap:0}.cp813-request-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 4px;border-bottom:1px solid #e9edf5;min-width:0}.cp813-request-row:last-child{border-bottom:0}.cp813-request-logo{width:44px;height:44px;border:1px solid #e4e8f0;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}.cp813-request-logo img{width:100%;height:100%;object-fit:contain}.cp813-request-logo span{font-weight:800;font-size:12px;color:#374151}.cp813-request-main{min-width:0}.cp813-request-brand{font-size:15px;font-weight:800;color:#11172c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cp813-request-campaign{margin-top:3px;font-size:12px;color:#69748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cp813-status{font-size:12px;font-weight:700;border-radius:999px;padding:7px 10px;white-space:nowrap}.cp813-status.ok{background:#ddf8eb;color:#0b8b5b}.cp813-status.pending{background:#fff2d7;color:#a96400}.cp813-status.progress{background:#e9f2ff;color:#2462c7}.cp813-view-request{border:1px solid #e3dafd;background:#f5f0ff;color:#6533ef;border-radius:8px;padding:7px 10px;font-weight:700;cursor:pointer}
#cp813SuggestedCreators{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}.cp813-creator-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:14px 10px;border:1px solid #e0e5ef;border-radius:14px;min-width:0;background:#fff;box-sizing:border-box}.cp813-creator-avatar{width:76px;height:76px;border-radius:50%;overflow:hidden;background:#f1ebff;display:flex;align-items:center;justify-content:center;margin-bottom:9px}.cp813-creator-avatar img{width:100%;height:100%;object-fit:cover}.cp813-creator-avatar span{font-size:24px;font-weight:800;color:#6937ee}.cp813-creator-name{font-size:14px;font-weight:800;color:#12172d;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cp813-creator-handle,.cp813-creator-meta{font-size:11px;color:#69748b;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.cp813-save{margin-top:auto;width:100%;min-height:40px;border:0;border-radius:9px;background:#f0e9ff;color:#6533ef;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}.cp813-save.saved{background:#e9f8f1;color:#087b50}.cp813-empty{grid-column:1/-1;padding:24px;text-align:center;color:#6d7588;background:#fafbfe;border-radius:12px}
@media(max-width:1200px){#creator-dashboard .cp-dev-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}#creator-dashboard .cp-dev-bottom-grid{grid-template-columns:1fr 1fr!important}#creator-dashboard .cp-dev-bottom-grid>section:last-child{grid-column:1/-1}}
@media(max-width:760px){#creator-dashboard .cp-dev-brand-grid{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding-bottom:8px}.cp813-brand-card{flex:0 0 78vw;min-height:300px;scroll-snap-align:start}#creator-dashboard .cp-dev-bottom-grid{display:block!important}#creator-dashboard .cp-dev-bottom-grid>section{margin-bottom:16px}#cp813SuggestedCreators{display:flex!important;overflow-x:auto!important;gap:12px!important;padding-bottom:8px}.cp813-creator-card{flex:0 0 62vw}.cp813-request-row{grid-template-columns:42px minmax(0,1fr) auto}.cp813-view-request{grid-column:2/4;width:100%}.cp813-status{font-size:11px;padding:6px 8px}}

/* v59.8.14 layout: requested full-width live-data sections */
#creator-dashboard .cp814-full-sections{display:flex!important;flex-direction:column!important;gap:18px!important;margin-top:18px!important}
#creator-dashboard .cp814-full-card{width:100%!important;min-width:0!important;box-sizing:border-box!important}
#creator-dashboard .cp814-subhead{margin:4px 0 0;color:#6b7280;font-size:13px;font-weight:500}
#creator-dashboard .cp814-profile-views{max-width:none!important}
#creator-dashboard .cp-dev-brand-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.cp813-brand-card{min-height:300px!important;padding:16px!important}
.cp813-brand-logo{height:92px!important;background:#fff!important;border:1px solid #eef1f6!important}
.cp813-brand-logo img{max-height:76px!important;max-width:90%!important;object-fit:contain!important}
.cp813-brand-meta{font-size:12px;color:#7a8498;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#cp813RecentRequests{display:block!important;width:100%!important}
.cp813-request-row{grid-template-columns:50px minmax(170px,.9fr) minmax(220px,1.8fr) minmax(120px,.8fr) 92px!important;gap:16px!important;padding:14px 8px!important}
.cp813-request-main{display:contents!important}
.cp813-request-brand{font-size:15px!important;align-self:center!important}
.cp813-request-campaign{font-size:13px!important;margin:0!important;align-self:center!important}
.cp813-status{justify-self:start!important}
.cp813-view-request{justify-self:end!important;min-width:82px!important}
#cp813SuggestedCreators{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
.cp813-creator-card{min-height:220px!important;padding:16px 12px!important}
.cp813-creator-avatar{width:82px!important;height:82px!important}
.cp813-save{font-size:12px!important;padding:0 8px!important;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1350px){#creator-dashboard .cp-dev-brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}#cp813SuggestedCreators{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:980px){#creator-dashboard .cp-dev-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#cp813SuggestedCreators{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cp813-request-row{grid-template-columns:44px minmax(0,1fr) auto!important}.cp813-request-main{display:block!important}.cp813-request-campaign{margin-top:3px!important}.cp813-view-request{grid-column:2/4!important;width:100%!important;justify-self:stretch!important}}
@media(max-width:760px){#creator-dashboard .cp-dev-brand-grid{display:flex!important;overflow-x:auto!important}.cp813-brand-card{flex:0 0 78vw!important}#cp813SuggestedCreators{display:flex!important;overflow-x:auto!important}.cp813-creator-card{flex:0 0 62vw!important}.cp813-request-row{grid-template-columns:42px minmax(0,1fr) auto!important;padding:12px 0!important}.cp813-view-request{grid-column:2/4!important}}


/* v59.8.16: dashboard width + mobile navigation scroll reliability */
#creator-dashboard .cp-dev-brand-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(210px,1fr))!important;
  gap:16px!important;
  width:100%!important;
}
#creator-dashboard .cp813-brand-card{width:100%!important;min-width:0!important;min-height:310px!important}
#creator-dashboard .cp813-brand-logo{height:112px!important}
#creator-dashboard .cp813-brand-logo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;border-radius:12px!important}
#creator-dashboard .cp814-full-sections,
#creator-dashboard .cp814-full-card,
#creator-dashboard #cp813RecentRequests,
#creator-dashboard #cp813SuggestedCreators{width:100%!important;max-width:none!important}
#creator-dashboard #cp813SuggestedCreators{grid-template-columns:repeat(4,minmax(0,1fr))!important}

@media(max-width:1100px){
  #creator-dashboard .cp-dev-brand-grid{grid-template-columns:repeat(2,minmax(210px,1fr))!important}
  #creator-dashboard #cp813SuggestedCreators{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media(max-width:780px){
  html,body{overscroll-behavior-y:auto!important}
  .app-page.active>.sidebar,
  #creator-dashboard>.sidebar,
  .sidebar.cp-sidebar-open{
    position:fixed!important;
    top:0!important;
    bottom:auto!important;
    left:0!important;
    height:100dvh!important;
    max-height:100dvh!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
    padding-bottom:calc(120px + env(safe-area-inset-bottom))!important;
  }
  .sidebar.cp-sidebar-open nav{display:flex!important;flex-direction:column!important;min-height:max-content!important;padding-bottom:24px!important}
  .sidebar.cp-sidebar-open nav a{flex:0 0 auto!important}
  #creator-dashboard .cp-dev-brand-grid{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    gap:12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    -webkit-overflow-scrolling:touch!important;
    padding:2px 2px 10px!important;
  }
  #creator-dashboard .cp813-brand-card{
    flex:0 0 min(82vw,310px)!important;
    width:min(82vw,310px)!important;
    min-width:min(82vw,310px)!important;
    scroll-snap-align:start!important;
  }
  #creator-dashboard #cp813SuggestedCreators{
    display:flex!important;
    width:100%!important;
    gap:12px!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:10px!important;
  }
  #creator-dashboard .cp813-creator-card{flex:0 0 min(72vw,260px)!important;min-width:min(72vw,260px)!important}
}

@media(max-width:480px){
  #creator-dashboard .cp813-brand-card{flex-basis:86vw!important;width:86vw!important;min-width:86vw!important}
  #creator-dashboard .cp813-creator-card{flex-basis:78vw!important;min-width:78vw!important}
}
