:root,
html[data-theme="clean"]{
  color-scheme:light;
  --ink:#211936!important;
  --cream:#f6f3fc!important;
  --paper:#ffffff!important;
  --green:#4527A0!important;
  --lime:#D1C4E9!important;
  --muted:#6d6480!important;
  --line:#ded7ef!important;
  --topbar:rgba(246,243,252,.96)!important;
  --shadow:0 18px 55px rgba(69,39,160,.16)!important;
  --soft:#f0ebfa;
  --card:#fff;
  --text:#211936;
}
body{background:radial-gradient(circle at 82% 0,rgba(103,58,183,.10),transparent 30%),var(--cream)}
.topbar{border-bottom-color:#d8ceed}
.hero,.stats div,.report-stats div,.checkin-stats div,.financial-stats .received{background:#4527A0}
.hero p,.report-stats span,.financial-stats .received span{color:#e6def8}
.hero .eyebrow,.hero-mark,.stats b,.report-stats b,.checkin-stats b,.financial-stats .received b{color:#D1C4E9}
.button,button{background:#4527A0}
.button:hover,button:hover{filter:brightness(1.08)}
.secondary{background:#eee9f8;color:#4527A0}
.tag,.pill{background:#ede7f6;color:#4527A0}
.eyebrow,.back,.money,.settings-grid b,.identity-login a{color:#4527A0}
.facts div{border-top-color:#4527A0}
input:focus,textarea:focus,select:focus{border-color:#673AB7;outline:3px solid rgba(103,58,183,.15)}
.side-menu nav a:hover,.compact-menu details summary:hover{background:rgba(69,39,160,.09)}
.theme-slider{background:linear-gradient(135deg,#7E57C2,#4527A0);border-color:#4527A0;box-shadow:0 5px 15px rgba(69,39,160,.28)}
.theme-slider.dark{background:linear-gradient(135deg,#4527A0,#170c35);border-color:#7E57C2}
.help-launcher,.help-box header{background:#4527A0!important}
.help-empty a{background:#673AB7!important}
.voucher-head,.receipt-head{background:#4527A0!important}
.voucher-card{box-shadow:0 18px 45px rgba(69,39,160,.16)!important}
.voucher-provider,.voucher-brand{color:#4527A0!important}
.voucher-workshops,.voucher-data div{background:#f3effb!important}
.pix-public{border-color:#7E57C2;background:#f3effb}
.ministry-choice{border-color:#cfc3e8;background:rgba(237,231,246,.45)}
.ministry-choice legend{color:#4527A0;font-weight:800}
.ministry-choice small{display:block;margin-top:6px;color:var(--muted);font-weight:400}
.copy-url,pre{background:#21143f;color:#e5dcfa}
.reception-page .badge-button{background:#4527A0!important;border-color:#4527A0!important;box-shadow:0 6px 16px rgba(69,39,160,.24)!important}
.scanner-frame{border-color:#B39DDB}
.checkin-button{background:#4527A0}

html[data-theme="dark"]{
  color-scheme:dark;
  --ink:#f5f2ff!important;
  --cream:#10091f!important;
  --paper:#1b1230!important;
  --green:#7E57C2!important;
  --lime:#D1C4E9!important;
  --muted:#b8aecb!important;
  --line:#443363!important;
  --topbar:rgba(16,9,31,.96)!important;
  --shadow:0 18px 55px #0009!important;
  --soft:#271a43;
  --card:#1b1230;
  --text:#f5f2ff;
}
html[data-theme="dark"] body{background:radial-gradient(circle at 82% 0,#2c1859 0,transparent 34%),#10091f!important}
html[data-theme="dark"] header,html[data-theme="dark"] footer{border-color:#392953}
html[data-theme="dark"] .panel,html[data-theme="dark"] aside,html[data-theme="dark"] .auth,html[data-theme="dark"] .card,html[data-theme="dark"] .attendee,html[data-theme="dark"] .settings-grid a,html[data-theme="dark"] .event-selector,html[data-theme="dark"] .scanner-panel{background:#1b1230!important;border-color:#443363!important}
html[data-theme="dark"] table{background:#1b1230!important}
html[data-theme="dark"] th{background:#24183d!important;color:#c8bfda!important}
html[data-theme="dark"] tr:hover td{background:#281b43!important}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#140d25!important;color:#f5f2ff!important;border-color:#4d396e!important}
html[data-theme="dark"] .side-menu{background:#160e29!important}
html[data-theme="dark"] .side-menu nav a:hover{background:#2b1c49!important}
html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .menu-toggle{background:#160e29!important;color:#f5f2ff!important}
html[data-theme="dark"] .secondary{background:#332250!important;color:#eee8ff!important}
html[data-theme="dark"] .tag,html[data-theme="dark"] .pill{background:#352455!important;color:#dfd4f7!important}
html[data-theme="dark"] .voucher-data div,html[data-theme="dark"] .voucher-workshops{background:#271a43!important}
html[data-theme="dark"] .ministry-choice{border-color:#4d396e;background:#211638}
html[data-theme="dark"] .ministry-choice legend{color:#D1C4E9}
html[data-theme="dark"] a.button,html[data-theme="dark"] button:not(.menu-toggle):not(.theme-toggle):not([data-menu-close]){color:#fff!important}

@media print{
  body{background:#fff!important}
}
