:root{--afm-bg:#100d10;--afm-card:#201b20;--afm-text:#fff;--afm-muted:rgba(255,255,255,.68);--afm-line:rgba(255,255,255,.11);--afm-primary:#8b5cf6;--afm-accent:#f43f5e}*{box-sizing:border-box}html,body{margin:0;background:var(--afm-bg);color:var(--afm-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{min-width:0}a{color:inherit}.afm-header{position:sticky;top:0;z-index:100;background:rgba(16,13,16,.94);border-bottom:1px solid var(--afm-line);backdrop-filter:blur(18px)}.afm-header-inner{width:min(1400px,calc(100% - 38px));min-height:76px;margin:auto;display:flex;align-items:center;gap:28px}.afm-brand{display:flex;align-items:center;min-width:0;max-width:220px;color:#fff;font-size:20px;font-weight:900;text-decoration:none}.afm-brand img{display:block;width:auto;max-width:190px;height:44px;object-fit:contain}.afm-nav{margin-left:auto}.afm-menu,.afm-footer-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:7px}.afm-menu li{position:relative}.afm-menu a{display:block;padding:12px 13px;color:rgba(255,255,255,.83);text-decoration:none;font-weight:750;font-size:14px;white-space:nowrap}.afm-menu a:hover,.afm-menu .current-menu-item>a{color:#fff}.afm-menu .sub-menu{position:absolute;left:0;top:100%;min-width:210px;padding:8px;display:none;list-style:none;background:#1c171d;border:1px solid var(--afm-line);box-shadow:0 18px 50px rgba(0,0,0,.4);border-radius:14px}.afm-menu li:hover>.sub-menu,.afm-menu li:focus-within>.sub-menu{display:block}.afm-menu .sub-menu a{padding:10px}.afm-header-actions{display:flex;align-items:center;gap:10px}.afm-account{padding:10px 13px;border:1px solid var(--afm-line);border-radius:999px;text-decoration:none;font-weight:800;white-space:nowrap}.afm-menu-toggle{display:none}.afm-main{min-height:calc(100vh - 180px);padding:38px 0 92px}.afm-shell{width:min(1280px,calc(100% - 32px));margin:auto}.afm-page{padding:clamp(24px,4vw,52px);border:1px solid var(--afm-line);border-radius:26px;background:linear-gradient(145deg,rgba(36,30,36,.98),rgba(20,17,20,.98));box-shadow:0 22px 70px rgba(0,0,0,.25)}.afm-page h1{margin:0 0 22px;font-size:clamp(32px,5vw,60px);line-height:1}.afm-page-content{font-size:17px;line-height:1.7;color:rgba(255,255,255,.84)}.afm-page-content>*:first-child{margin-top:0}.afm-footer{border-top:1px solid var(--afm-line);background:#0d0b0d}.afm-footer-inner{width:min(1400px,calc(100% - 38px));margin:auto;padding:38px 0 110px;display:flex;justify-content:space-between;gap:24px;color:var(--afm-muted)}.afm-footer strong{color:#fff}.afm-footer p{margin:7px 0}.afm-footer-menu a{color:var(--afm-muted);text-decoration:none;padding:4px}.afm-fallback{padding:80px 40px;border:1px solid var(--afm-line);border-radius:28px;background:radial-gradient(circle at 80% 10%,rgba(139,92,246,.35),transparent 38%),var(--afm-card)}.afm-fallback h1{font-size:clamp(38px,7vw,78px);margin:8px 0}.afm-fallback p{max-width:650px;font-size:18px;color:var(--afm-muted)}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1040px){.afm-header-inner{gap:13px}.afm-menu a{padding:10px 8px;font-size:13px}.afm-brand{max-width:150px}.afm-brand img{max-width:130px}}@media(max-width:860px){.afm-header-inner{width:calc(100% - 24px);min-height:68px}.afm-menu-toggle{display:flex;order:3;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;margin-left:0;border:0;background:transparent;color:#fff}.afm-menu-toggle span:not(.screen-reader-text){display:block;width:25px;height:3px;border-radius:99px;background:#fff}.afm-nav{position:absolute;left:0;right:0;top:100%;display:none;margin:0;padding:12px;background:#151115;border-bottom:1px solid var(--afm-line)}.afm-nav.is-open{display:block}.afm-menu{display:block}.afm-menu a{padding:14px 8px}.afm-menu .sub-menu{position:static;display:none;box-shadow:none;border:0;border-radius:0;background:rgba(255,255,255,.04);padding:4px 12px}.afm-menu li.is-open>.sub-menu{display:block}.afm-header-actions{margin-left:auto}.afm-account{font-size:12px;padding:8px 10px}.afm-main{padding-top:24px}.afm-footer-inner{width:calc(100% - 24px);display:block;padding-bottom:110px}.afm-footer-menu{margin:18px 0;flex-wrap:wrap}}


/* ArtistFlow Management v1.0.1 — visitor light/dark color mode */
.afm-header-actions .af-color-mode-toggle{flex:0 0 auto;}
html[data-af-color-scheme="light"] .artistflow-management-theme{--afm-bg:#f7f7fa;--afm-card:#ffffff;--afm-text:#1b1620;--afm-muted:rgba(38,29,45,.68);--afm-line:rgba(38,29,45,.14);background:var(--afm-bg);color:var(--afm-text);}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-header{background:rgba(255,255,255,.94);box-shadow:0 8px 25px rgba(33,23,39,.05);}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-brand{color:#1b1620;}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu a{color:rgba(29,23,34,.78);}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu a:hover,
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu .current-menu-item>a{color:#1b1620;}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu .sub-menu{background:#fff;border-color:rgba(38,29,45,.14);box-shadow:0 18px 50px rgba(35,24,42,.14);}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-account{border-color:rgba(38,29,45,.16);background:#fff;color:#1b1620;}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-page{background:linear-gradient(145deg,#fff,#f3f1f6);box-shadow:0 22px 70px rgba(29,20,35,.10);}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-page-content{color:rgba(29,23,34,.80);}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-footer{background:#eeeaf1;}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-footer strong{color:#1b1620;}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-fallback{background:radial-gradient(circle at 80% 10%,rgba(139,92,246,.20),transparent 38%),#fff;box-shadow:0 22px 70px rgba(29,20,35,.10);}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu-toggle span:not(.screen-reader-text){background:#1b1620;}
@media(max-width:860px){
  html[data-af-color-scheme="light"] .artistflow-management-theme .afm-nav{background:#fff;}
  html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu .sub-menu{background:rgba(40,30,48,.045);}
}


/* ArtistFlow Management v1.0.5 — correct first-install contrast.
   Light mode begins with black body text. The header intentionally stays dark with white text. */
.artistflow-management-theme{--afm-bg:#f7f6f8;--afm-card:#ffffff;--afm-text:#151019;--afm-muted:rgba(26,18,31,.70);--afm-line:rgba(26,18,31,.15);--af-page:#f7f6f8;--af-card:#fff;--af-text:#151019;background:var(--afm-bg);color:var(--afm-text);}
body.artistflow-management-theme{background:var(--afm-bg);color:var(--afm-text);}
.artistflow-management-theme .afm-main{background:var(--afm-bg);color:var(--afm-text);}
.artistflow-management-theme .afm-page{background:linear-gradient(145deg,#fff,#f1eff4);color:var(--afm-text);box-shadow:0 22px 70px rgba(29,20,35,.10);}
.artistflow-management-theme .afm-page-content{color:rgba(26,18,31,.82);}
.artistflow-management-theme .afm-fallback{background:radial-gradient(circle at 80% 10%,rgba(139,92,246,.20),transparent 38%),#fff;color:var(--afm-text);box-shadow:0 22px 70px rgba(29,20,35,.10);}
/* Header remains dark and high-contrast in every color mode. */
.artistflow-management-theme .afm-header,html[data-af-color-scheme="light"] .artistflow-management-theme .afm-header{background:rgba(20,15,23,.97);color:#fff;box-shadow:0 8px 25px rgba(20,12,25,.16);}
.artistflow-management-theme .afm-header .afm-brand,.artistflow-management-theme .afm-header .afm-menu a,.artistflow-management-theme .afm-header .afm-account,html[data-af-color-scheme="light"] .artistflow-management-theme .afm-brand,html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu a,html[data-af-color-scheme="light"] .artistflow-management-theme .afm-account{color:#fff;}
.artistflow-management-theme .afm-header .afm-menu a:hover,.artistflow-management-theme .afm-header .afm-menu .current-menu-item>a{color:#fff;}
.artistflow-management-theme .afm-header .afm-account{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.08);}
.artistflow-management-theme .afm-header .afm-menu .sub-menu,html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu .sub-menu{background:#1a141d;border-color:rgba(255,255,255,.13);box-shadow:0 18px 50px rgba(0,0,0,.38);}
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu-toggle span:not(.screen-reader-text){background:#fff;}
html[data-af-color-scheme="dark"] .artistflow-management-theme{--afm-bg:#100d10;--afm-card:#201b20;--afm-text:#fff;--afm-muted:rgba(255,255,255,.68);--afm-line:rgba(255,255,255,.11);--af-page:#100d10;--af-card:#201b20;--af-text:#fff;background:var(--afm-bg);color:var(--afm-text);}
html[data-af-color-scheme="dark"] .artistflow-management-theme .afm-main{background:var(--afm-bg);}
html[data-af-color-scheme="dark"] .artistflow-management-theme .afm-page{background:linear-gradient(145deg,rgba(36,30,36,.98),rgba(20,17,20,.98));color:#fff;box-shadow:0 22px 70px rgba(0,0,0,.25);}
html[data-af-color-scheme="dark"] .artistflow-management-theme .afm-page-content{color:rgba(255,255,255,.84);}
html[data-af-color-scheme="dark"] .artistflow-management-theme .afm-fallback{background:radial-gradient(circle at 80% 10%,rgba(139,92,246,.35),transparent 38%),var(--afm-card);color:#fff;box-shadow:0 22px 70px rgba(0,0,0,.25);}
/* Core management cards inherit the light body palette unless the visitor chooses dark. */
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-home .af-management-roster,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-home .af-management-events,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-home .af-management-home-section:not(.af-management-hero):not(.af-management-announcement):not(.af-management-booking-cta):not(.af-management-live-now),
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-section-head h2{color:#151019;}
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-artist-card,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-home-media-card,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-event{background:#fff;color:#151019;border-color:rgba(26,18,31,.14);box-shadow:0 16px 44px rgba(31,20,37,.09);}
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-artist-card h3,html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-artist-card h3 a,html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-home-media-card h3,html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-event h3{color:#151019;}
html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-artist-card p,html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-home-media-card p,html[data-af-color-scheme="light"] .artistflow-management-theme .af-management-event p{color:rgba(26,18,31,.68);}
html[data-af-color-scheme="light"] .artistflow-management-theme .af-btn-quiet{background:#f4f1f6;border-color:rgba(26,18,31,.15);color:#1b1420;}
html[data-af-color-scheme="light"] .artistflow-management-theme .af-media-comments-link{background:#f4f1f6;border-color:rgba(26,18,31,.14);color:#1b1420;}
@media(max-width:860px){html[data-af-color-scheme="light"] .artistflow-management-theme .afm-nav{background:#1a141d;}html[data-af-color-scheme="light"] .artistflow-management-theme .afm-menu .sub-menu{background:rgba(255,255,255,.06);}}


/* ArtistFlow Management v1.0.6 — header contrast and Management Messenger */
/* Keep the management header dark with visible menu text in every visitor color mode. */
.artistflow-management-theme .afm-header,
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-header,
html[data-af-color-scheme="dark"] .artistflow-management-theme .afm-header{
  background:#17111c!important;
  color:#fff!important;
  border-bottom-color:rgba(255,255,255,.14)!important;
}
.artistflow-management-theme .afm-header .afm-brand,
.artistflow-management-theme .afm-header .afm-menu>li>a,
.artistflow-management-theme .afm-header .afm-account{
  color:rgba(255,255,255,.96)!important;
  text-shadow:none!important;
}
.artistflow-management-theme .afm-header .afm-menu>li>a:hover,
.artistflow-management-theme .afm-header .afm-menu>li>a:focus-visible,
.artistflow-management-theme .afm-header .afm-menu>.current-menu-item>a,
.artistflow-management-theme .afm-header .afm-menu>.current-menu-ancestor>a{
  color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border-radius:10px;
  outline:none!important;
}
.artistflow-management-theme .afm-header .afm-menu .sub-menu,
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-header .afm-menu .sub-menu{
  background:#211827!important;
  border-color:rgba(255,255,255,.16)!important;
}
.artistflow-management-theme .afm-header .afm-menu .sub-menu a{
  color:rgba(255,255,255,.92)!important;
}
.artistflow-management-theme .afm-header .afm-menu .sub-menu a:hover,
.artistflow-management-theme .afm-header .afm-menu .sub-menu a:focus-visible{
  color:#fff!important;
  background:rgba(255,255,255,.12)!important;
}
.artistflow-management-theme .afm-header .afm-account{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:10px 16px!important;
  border-color:rgba(255,255,255,.28)!important;
  background:rgba(255,255,255,.08)!important;
}
.artistflow-management-theme .afm-header .afm-account:hover,
.artistflow-management-theme .afm-header .afm-account:focus-visible{
  color:#fff!important;
  background:linear-gradient(135deg,var(--af-primary,#8b5cf6),var(--af-accent,#f43f5e))!important;
  border-color:transparent!important;
  outline:none!important;
}
.artistflow-management-theme .afm-header .af-color-mode-toggle{
  color:#fff!important;
  background:rgba(255,255,255,.09)!important;
  border-color:rgba(255,255,255,.22)!important;
}

/* Account pages use an intentional, readable card in both modes. */
.artistflow-management-theme .af-account-shell,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell{
  background:#fff!important;
  color:#18111d!important;
  border-color:rgba(26,18,31,.16)!important;
  box-shadow:0 24px 70px rgba(32,20,40,.12)!important;
}
.artistflow-management-theme .af-account-shell h1,
.artistflow-management-theme .af-account-shell h2,
.artistflow-management-theme .af-account-shell h3,
.artistflow-management-theme .af-account-shell strong,
.artistflow-management-theme .af-account-shell label{
  color:#18111d!important;
}
.artistflow-management-theme .af-account-shell p,
.artistflow-management-theme .af-account-shell .af-muted{
  color:rgba(24,17,29,.72)!important;
}
.artistflow-management-theme .af-account-shell .af-account-tabs a{
  color:#25152d!important;
  background:#f5f2f7!important;
  border-color:rgba(35,21,45,.15)!important;
}
.artistflow-management-theme .af-account-shell .af-account-tabs a.active{
  color:#fff!important;
  background:linear-gradient(135deg,var(--af-primary,#8b5cf6),var(--af-accent,#f43f5e))!important;
  border-color:transparent!important;
}
.artistflow-management-theme .af-account-shell input,
.artistflow-management-theme .af-account-shell textarea,
.artistflow-management-theme .af-account-shell select{
  background:#fff!important;
  color:#18111d!important;
  border-color:rgba(35,21,45,.22)!important;
}
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell{
  background:#141016!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:0 28px 80px rgba(0,0,0,.38)!important;
}
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell h1,
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell h2,
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell h3,
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell strong,
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell label{color:#fff!important;}
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell p,
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell .af-muted{color:rgba(255,255,255,.70)!important;}
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell .af-account-tabs a{color:#fff!important;background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.14)!important;}
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell input,
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell textarea,
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-account-shell select{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.15)!important;}

/* Messenger direct-contact starters for managers, artists, and fans. */
.artistflow-management-theme .af-mv2-quick-contacts{margin:0 0 16px;padding:16px;border:1px solid rgba(35,21,45,.14);border-radius:18px;background:#f7f4f8;}
.artistflow-management-theme .af-mv2-quick-contacts>strong{display:block;margin:0 0 10px;font-size:14px;}
.artistflow-management-theme .af-mv2-quick-contacts>div{display:flex;gap:10px;overflow-x:auto;padding-bottom:2px;}
.artistflow-management-theme .af-mv2-quick-contacts a{display:grid;grid-template-columns:34px minmax(80px,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;min-width:148px;padding:9px;border:1px solid rgba(35,21,45,.14);border-radius:14px;background:#fff;color:#18111d!important;text-decoration:none;}
.artistflow-management-theme .af-mv2-quick-contacts a:hover{border-color:var(--af-primary,#8b5cf6);box-shadow:0 8px 24px rgba(91,57,130,.12);}
.artistflow-management-theme .af-mv2-quick-contacts img{grid-row:1/3;width:34px;height:34px;border-radius:999px;object-fit:cover;}
.artistflow-management-theme .af-mv2-quick-contacts span{font-size:13px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.artistflow-management-theme .af-mv2-quick-contacts small{font-size:11px;color:rgba(24,17,29,.62);}
.artistflow-management-theme .af-mv2-error{margin:0 0 14px;}
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-mv2-quick-contacts{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.12);}
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-mv2-quick-contacts a{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.12);color:#fff!important;}
html[data-af-color-scheme="dark"] .artistflow-management-theme .af-mv2-quick-contacts small{color:rgba(255,255,255,.65);}
@media(max-width:860px){
  .artistflow-management-theme .afm-header .afm-nav,
  html[data-af-color-scheme="light"] .artistflow-management-theme .afm-header .afm-nav{background:#211827!important;}
  .artistflow-management-theme .afm-header .afm-menu>li>a{color:#fff!important;}
}

.artistflow-management-theme .afm-header .afm-header-messages{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 13px;
  border:1px solid rgba(255,255,255,.20);border-radius:999px;background:rgba(255,255,255,.06);
  color:#fff!important;text-decoration:none;font-weight:800;font-size:13px;white-space:nowrap;
}
.artistflow-management-theme .afm-header .afm-header-messages:hover,
.artistflow-management-theme .afm-header .afm-header-messages:focus-visible{color:#fff!important;background:rgba(255,255,255,.15);outline:none;}
@media(max-width:1040px){.artistflow-management-theme .afm-header .afm-header-messages span{display:none}.artistflow-management-theme .afm-header .afm-header-messages{width:42px;padding:10px}}
@media(max-width:560px){.artistflow-management-theme .afm-header .afm-account{font-size:0!important;width:42px;padding:10px!important}.artistflow-management-theme .afm-header .afm-account:after{content:"☺";font-size:18px;line-height:1}.artistflow-management-theme .afm-header .afm-header-messages{display:none}}


/* ArtistFlow Management v1.0.7 — durable header controls and Account links.
   These final overrides keep header text readable even when a global plugin
   style or cached light-mode rule is present. */
.artistflow-management-theme .afm-header .afm-menu>li>a,
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-header .afm-menu>li>a,
html[data-af-color-scheme="dark"] .artistflow-management-theme .afm-header .afm-menu>li>a{
  color:#fff!important;
  background:transparent!important;
}
.artistflow-management-theme .afm-header .afm-menu>li>a:hover,
.artistflow-management-theme .afm-header .afm-menu>li>a:focus-visible,
.artistflow-management-theme .afm-header .afm-menu>.current-menu-item>a,
.artistflow-management-theme .afm-header .afm-menu>.current-menu-ancestor>a{
  color:#fff!important;
  background:#513071!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 8px 18px rgba(0,0,0,.20)!important;
  border-radius:10px!important;
  outline:none!important;
}
.artistflow-management-theme .afm-header .afm-menu .sub-menu a,
.artistflow-management-theme .afm-header .afm-menu .sub-menu a:hover,
.artistflow-management-theme .afm-header .afm-menu .sub-menu a:focus-visible{
  color:#fff!important;
}
.artistflow-management-theme .afm-header .afm-menu .sub-menu a:hover,
.artistflow-management-theme .afm-header .afm-menu .sub-menu a:focus-visible{
  background:#513071!important;
}
.artistflow-management-theme .afm-header .afm-account,
html[data-af-color-scheme="light"] .artistflow-management-theme .afm-header .afm-account,
html[data-af-color-scheme="dark"] .artistflow-management-theme .afm-header .afm-account{
  min-width:92px!important;
  color:#fff!important;
  background:#2c2331!important;
  border-color:rgba(255,255,255,.28)!important;
}
.artistflow-management-theme .afm-header .afm-account:hover,
.artistflow-management-theme .afm-header .afm-account:focus-visible{
  color:#fff!important;
  background:linear-gradient(135deg,var(--af-primary,#8b5cf6),var(--af-accent,#f43f5e))!important;
}
.artistflow-management-theme .afm-header .afm-header-messages{
  color:#fff!important;
  background:#2c2331!important;
  border-color:rgba(255,255,255,.28)!important;
}
.artistflow-management-theme .afm-header .afm-header-messages:hover,
.artistflow-management-theme .afm-header .afm-header-messages:focus-visible{
  color:#fff!important;
  background:#513071!important;
}
/* Account content uses dark text on its intentional white card in light mode. */
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-public-card,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-front-messages,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-chat-window,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-inbox-list{
  color:#18111d!important;
}
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-public-card h1,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-public-card h2,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-public-card h3,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-public-card strong,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-public-card label,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-message-line,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-message-line strong,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-message-text{
  color:#18111d!important;
}
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-public-card p,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-message-text small,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-inbox-main span,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-inbox-meta small{
  color:rgba(24,17,29,.70)!important;
}
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-message-row,
html[data-af-color-scheme="light"] .artistflow-management-theme .af-account-shell .af-inbox-row{
  background:#f7f4f8!important;
  border-color:rgba(35,21,45,.14)!important;
}


/* ArtistFlow Management v1.0.8 — use the original single-column Messenger.
   Account-page styling must not flatten the messenger header, unread count, or list. */
.artistflow-management-theme .af-account-shell .af-messenger-v2{
  display:block!important;
  width:100%!important;
  max-width:960px!important;
  margin:0 auto!important;
  padding:0!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#231d26,#141116)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:24px!important;
  box-shadow:0 22px 60px rgba(0,0,0,.28)!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:24px 26px 14px!important;
  margin:0!important;
  background:transparent!important;
  color:#fff!important;
  border:0!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-head>div:first-child{min-width:0!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-kicker{color:#c4b5fd!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-head h2{
  margin:4px 0 0!important;
  color:#fff!important;
  font-size:clamp(32px,4vw,42px)!important;
  line-height:1!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-messenger-unread{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:78px!important;
  min-height:68px!important;
  margin:0!important;
  padding:10px 12px!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-messenger-unread strong{color:#fff!important;font-size:23px!important;line-height:1!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-messenger-unread span{display:block!important;margin-top:5px!important;color:rgba(255,255,255,.68)!important;font-size:11px!important;line-height:1!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-quick-contacts{
  margin:0 26px 16px!important;
  padding:13px!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:18px!important;
  color:#fff!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-quick-contacts>strong{color:#fff!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-quick-contacts a{
  background:rgba(255,255,255,.065)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.13)!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-quick-contacts small{color:rgba(255,255,255,.66)!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-search{
  margin:0!important;
  padding:12px 26px 18px!important;
  background:transparent!important;
  border-color:rgba(255,255,255,.11)!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-search input{
  height:52px!important;
  background:rgba(255,255,255,.075)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.17)!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-search input::placeholder{color:rgba(255,255,255,.55)!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-list{
  display:block!important;
  min-height:220px!important;
  background:transparent!important;
  color:#fff!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-empty{
  padding:42px 26px!important;
  color:rgba(255,255,255,.70)!important;
  text-align:center!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-empty strong{color:#fff!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-conversation{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) auto!important;
  gap:14px!important;
  padding:15px 26px!important;
  color:#fff!important;
  background:transparent!important;
  border-color:rgba(255,255,255,.10)!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-conversation:hover,
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-conversation:focus-visible{background:rgba(139,92,246,.17)!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-body strong{color:#fff!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-body em,
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-meta small{color:rgba(255,255,255,.67)!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-thread-head,
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-thread,
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-compose{
  background:transparent!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.11)!important;
}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-thread-user h2,
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-message-line strong{color:#fff!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-thread-user p,
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-message-line,
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-text small{color:rgba(255,255,255,.70)!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-compose textarea{background:rgba(255,255,255,.075)!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important;}
.artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-compose textarea::placeholder{color:rgba(255,255,255,.55)!important;}
@media(max-width:720px){
  .artistflow-management-theme .af-account-shell .af-messenger-v2{border-radius:20px!important;}
  .artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-head{padding:20px 18px 12px!important;}
  .artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-search{padding:10px 18px 16px!important;}
  .artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-quick-contacts{margin:0 18px 14px!important;}
  .artistflow-management-theme .af-account-shell .af-messenger-v2 .af-mv2-conversation{grid-template-columns:54px minmax(0,1fr) auto!important;padding:14px 18px!important;}
  .artistflow-management-theme .af-account-shell .af-messenger-v2 .af-messenger-unread{min-width:66px!important;min-height:60px!important;}
}


/* ArtistFlow Management v1.0.9 — compact mobile masthead and bounded menu drawer. */
@media(max-width:860px){
  .artistflow-management-theme .afm-header-inner{
    width:calc(100% - 20px)!important;
    min-height:56px!important;
    gap:7px!important;
  }
  .artistflow-management-theme .afm-brand{max-width:118px!important;font-size:16px!important;line-height:1.1!important;}
  .artistflow-management-theme .afm-brand img{max-width:118px!important;height:34px!important;}
  .artistflow-management-theme .afm-menu-toggle{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    padding:0!important;
    gap:4px!important;
  }
  .artistflow-management-theme .afm-menu-toggle span:not(.screen-reader-text){width:22px!important;height:2px!important;}
  .artistflow-management-theme .afm-header-actions{gap:6px!important;}
  .artistflow-management-theme .afm-header .af-color-mode-toggle,
  .artistflow-management-theme .afm-header .af-notification-bell-button,
  .artistflow-management-theme .afm-header .afm-header-messages,
  .artistflow-management-theme .afm-header .afm-account{
    min-width:36px!important;
    min-height:36px!important;
    height:36px!important;
  }
  .artistflow-management-theme .afm-header .afm-header-messages{width:36px!important;padding:8px!important;}
  .artistflow-management-theme .afm-header .afm-account{padding:8px 10px!important;}
  .artistflow-management-theme .afm-nav{
    top:100%!important;
    max-height:min(58vh,390px)!important;
    overflow-y:auto!important;
    padding:7px 10px!important;
    box-shadow:0 18px 42px rgba(0,0,0,.36)!important;
  }
  .artistflow-management-theme .afm-menu a{padding:10px 8px!important;line-height:1.25!important;}
  .artistflow-management-theme .afm-menu .sub-menu{padding:3px 10px!important;}
}
@media(max-width:560px){
  .artistflow-management-theme .afm-header .afm-header-messages{display:none!important;}
  .artistflow-management-theme .afm-header .afm-account{font-size:0!important;width:36px!important;padding:8px!important;}
  .artistflow-management-theme .afm-header .afm-account:after{font-size:16px!important;}
}


/* ArtistFlow Management v1.0.10 — balanced mobile header and full-width artist profiles.
   The compact header remains phone-friendly without making the logo/control row feel cramped. */
@media(max-width:860px){
  .artistflow-management-theme .afm-header-inner{
    width:calc(100% - 20px)!important;
    min-height:66px!important;
    gap:8px!important;
  }
  .artistflow-management-theme .afm-brand{
    max-width:min(42vw,154px)!important;
    font-size:17px!important;
    line-height:1.15!important;
  }
  .artistflow-management-theme .afm-brand img{
    max-width:min(42vw,154px)!important;
    height:42px!important;
  }
  .artistflow-management-theme .afm-menu-toggle{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }
  .artistflow-management-theme .afm-menu-toggle span:not(.screen-reader-text){width:24px!important;height:2px!important;}
  .artistflow-management-theme .afm-header-actions{gap:7px!important;}
  .artistflow-management-theme .afm-header .af-color-mode-toggle,
  .artistflow-management-theme .afm-header .af-notification-bell-button,
  .artistflow-management-theme .afm-header .afm-header-messages,
  .artistflow-management-theme .afm-header .afm-account{
    min-width:38px!important;
    min-height:38px!important;
    width:38px!important;
    height:38px!important;
  }
  .artistflow-management-theme .afm-header .afm-header-messages{padding:8px!important;}
  .artistflow-management-theme .afm-header .afm-account{padding:8px 10px!important;}
}
@media(max-width:640px){
  /* Individual artist pages use the entire card width, with a centered visual and content column. */
  .artistflow-management-theme .af-managed-artist-profile{
    width:calc(100% - 20px)!important;
    margin:0 auto 30px!important;
    gap:18px!important;
  }
  .artistflow-management-theme .af-managed-artist-hero{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    padding:26px 18px 24px!important;
    text-align:center!important;
  }
  .artistflow-management-theme .af-managed-artist-hero>img{
    display:block!important;
    width:min(100%,280px)!important;
    max-width:280px!important;
    min-width:0!important;
    margin:0 auto 4px!important;
    aspect-ratio:1/1!important;
  }
  .artistflow-management-theme .af-managed-artist-hero>div{
    width:100%!important;
    min-width:0!important;
    margin:0 auto!important;
    text-align:center!important;
  }
  .artistflow-management-theme .af-managed-artist-hero .af-kicker{margin-inline:auto!important;}
  .artistflow-management-theme .af-managed-artist-hero h1,
  .artistflow-management-theme .af-managed-artist-hero p{max-width:100%!important;text-align:center!important;}
  .artistflow-management-theme .af-managed-artist-meta{
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    text-align:center!important;
  }
  .artistflow-management-theme .af-managed-artist-actions{
    justify-content:center!important;
    align-items:stretch!important;
    width:100%!important;
    margin-top:18px!important;
  }
  .artistflow-management-theme .af-managed-artist-actions .af-btn,
  .artistflow-management-theme .af-managed-artist-actions .af-btn-quiet{
    width:100%!important;
    max-width:360px!important;
  }
  .artistflow-management-theme .af-managed-artist-bio{
    width:100%!important;
    padding:22px 18px!important;
    text-align:center!important;
  }
  .artistflow-management-theme .af-managed-artist-bio>*{max-width:100%!important;}
}
@media(max-width:360px){
  .artistflow-management-theme .afm-brand,
  .artistflow-management-theme .afm-brand img{max-width:116px!important;}
  .artistflow-management-theme .afm-brand img{height:38px!important;}
  .artistflow-management-theme .afm-header-inner{min-height:62px!important;}
  .artistflow-management-theme .afm-header-actions{gap:5px!important;}
  .artistflow-management-theme .afm-header .af-color-mode-toggle,
  .artistflow-management-theme .afm-header .af-notification-bell-button,
  .artistflow-management-theme .afm-header .afm-account{min-width:36px!important;width:36px!important;min-height:36px!important;height:36px!important;}
}
