/* =====================================================================
   LIGHT MODE ACCENT — Brand Violet (Brand Book v1.2, October 2026)
   In light mode, Violet #8E7DE0 does everything Signal Cyan does in dark
   mode: buttons, links, focus, progress, the key figure. Dark mode is
   unchanged. Loaded last so it wins over index.html, portfolio.css,
   email.css and mobile.css. Remove this file (and its <link>) to revert.
   - Buttons: white text on violet; hover darkens to #7A66D6.
   - Charts: violet is series 1; series 2 (--cc-violet) becomes teal-cyan.
   ===================================================================== */
html[data-theme="light"]{
  --cc-cyan:#8E7DE0;
  --cc-cyan2:#8E7DE0;
  --cc-accent-hover:#7A66D6;
  --cc-violet:#007C96;      /* second chart series swaps to cyan in light */
  --cc-on-accent:#FFFFFF;
}

/* Key figure, rings, engagement chart */
html[data-theme="light"] .cc-figure{background:linear-gradient(170deg,#0B0A09 35%,#8E7DE0);-webkit-background-clip:text;background-clip:text}
html[data-theme="light"] #ccrg stop:first-child{stop-color:#7A66D6}
html[data-theme="light"] #ccrg stop:last-child{stop-color:#8E7DE0}
html[data-theme="light"] #cceg stop{stop-color:#8E7DE0}
html[data-theme="light"] #ov-eng path[stroke]{stroke:#8E7DE0}
html[data-theme="light"] #ov-eng circle{fill:#8E7DE0}

/* Buttons: white label, darker violet on hover */
html[data-theme="light"] body.cc-on #dashboard .crm-form .save,
html[data-theme="light"] body.cc-on .login-card button,
html[data-theme="light"] .acct-form .btn.solid,
html[data-theme="light"] body.cc-on .msg-badge,
html[data-theme="light"] .em-btn.pri,
html[data-theme="light"] .pf-btn.pri,
html[data-theme="light"] .rev-save,
html[data-theme="light"] .cc-review-btn{color:#FFFFFF;box-shadow:none}
html[data-theme="light"] body.cc-on #dashboard .crm-form .save:hover,
html[data-theme="light"] body.cc-on .login-card button:hover,
html[data-theme="light"] .acct-form .btn.solid:hover,
html[data-theme="light"] .em-btn.pri:hover,
html[data-theme="light"] .pf-btn.pri:hover,
html[data-theme="light"] .rev-save:hover:not(:disabled),
html[data-theme="light"] .cc-review-btn:hover{filter:none;background:var(--cc-accent-hover)}

/* Focus rings and glows that were hard-coded cyan */
html[data-theme="light"] body.cc-on .login-card input:focus,
html[data-theme="light"] .acct-form input:focus{box-shadow:0 0 0 2px rgba(142,125,224,.24)}
html[data-theme="light"] .em-in:focus,
html[data-theme="light"] .pf-in:focus,
html[data-theme="light"] .pf-sel:focus,
html[data-theme="light"] .pf-ta:focus{box-shadow:0 0 0 3px rgba(142,125,224,.22)}
html[data-theme="light"] body.cc-on .login-card::before{background:radial-gradient(closest-side,rgba(142,125,224,.14),transparent)}

/* Portfolio board */
html[data-theme="light"] .pf-pill.cy{border-color:rgba(142,125,224,.5)}
html[data-theme="light"] .pf-col.drop{background:rgba(142,125,224,.07)}
html[data-theme="light"] .pf-ic{background:rgba(142,125,224,.05)}
html[data-theme="light"] .pf-choices label.on{background:rgba(142,125,224,.09)}
html[data-theme="light"] .pf-ovvote .mk{box-shadow:none!important}
html[data-theme="light"] .cc-seg .tab .pf-tabbadge{box-shadow:none}
html[data-theme="light"] .pf-edgehint.l{background:linear-gradient(90deg,rgba(142,125,224,.26),transparent)}
html[data-theme="light"] .pf-edgehint.r{background:linear-gradient(270deg,rgba(142,125,224,.26),transparent)}
html[data-theme="light"] .pf-schip.drop{background:rgba(142,125,224,.12)}
