/* Circle Room Portal Suite v2 — premium organiser/admin shell.
   Scope: public organiser/promoter pages + portal/admin only.
   Locked ticket wallet/access-code routes are intentionally untouched. */
:root{
  --cre-hot:#ec2f6d;
  --cre-fire:#ff5a1f;
  --cre-gold:#f7c75f;
  --cre-purple:#4c0d57;
  --cre-navy:#070b14;
  --cre-ink:#0f172a;
  --cre-muted:#64748b;
  --cre-line:rgba(148,163,184,.28);
  --cre-card:rgba(17,24,39,.72);
  --cre-card-2:rgba(255,255,255,.08);
  --cre-text:#f8fafc;
  --cre-soft:#cbd5e1;
  --cre-bg:
    radial-gradient(900px 620px at 82% -8%, rgba(236,47,109,.34), transparent 60%),
    radial-gradient(700px 560px at 12% 4%, rgba(255,90,31,.16), transparent 54%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
    linear-gradient(135deg,#070b14 0%,#13081c 48%,#25071e 100%);
  --cre-sidebar:#080b12;
  --cre-sidebar-line:rgba(255,255,255,.10);
  --cre-radius:28px;
  --cre-shadow:0 32px 100px rgba(0,0,0,.36);
}
html[data-theme="light"]{
  --cre-card:rgba(255,255,255,.88);
  --cre-card-2:rgba(255,255,255,.72);
  --cre-text:#111827;
  --cre-soft:#475569;
  --cre-muted:#64748b;
  --cre-line:rgba(15,23,42,.12);
  --cre-bg:
    radial-gradient(900px 620px at 82% -8%, rgba(236,47,109,.16), transparent 60%),
    radial-gradient(700px 560px at 12% 4%, rgba(255,90,31,.14), transparent 54%),
    repeating-linear-gradient(135deg, rgba(15,23,42,.035) 0 1px, transparent 1px 14px),
    linear-gradient(135deg,#fffaf4 0%,#fff7fb 52%,#fff 100%);
  --cre-sidebar:#ffffff;
  --cre-sidebar-line:rgba(15,23,42,.10);
  --cre-shadow:0 30px 90px rgba(15,23,42,.12);
}

body.cre-portal-suite,
body.cre-admin-suite{
  min-height:100vh;
  background:var(--cre-bg)!important;
  color:var(--cre-text)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.cre-portal-suite::before,
body.cre-admin-suite::before{display:none!important}
body.cre-portal-suite *,
body.cre-admin-suite *{box-sizing:border-box}
body.cre-portal-suite a,
body.cre-admin-suite a{color:inherit}
body.cre-portal-suite .container,
body.cre-admin-suite .container{width:min(1220px,calc(100% - 40px));max-width:1220px}
body.cre-has-sidebar .adminWrap{padding:92px 0 70px;margin-left:312px;transition:margin .2s ease}
body:not(.cre-has-sidebar).cre-portal-suite .adminWrap,
body:not(.cre-has-sidebar).cre-admin-suite .adminWrap{padding:92px 0 70px}
body.cre-has-sidebar .adminWrap>.container{width:min(1260px,calc(100% - 56px));max-width:1260px}

/* Top shell */
body.cre-portal-suite .cre-shell-topbar,
body.cre-admin-suite .cre-shell-topbar{
  position:fixed;top:0;right:0;left:0;z-index:80;
  background:rgba(5,7,13,.76)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  backdrop-filter:blur(18px);
  box-shadow:0 10px 30px rgba(0,0,0,.24);
}
html[data-theme="light"] body.cre-portal-suite .cre-shell-topbar,
html[data-theme="light"] body.cre-admin-suite .cre-shell-topbar{
  background:rgba(255,255,255,.86)!important;
  border-bottom-color:rgba(15,23,42,.08)!important;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}
body.cre-has-sidebar .cre-shell-topbar{left:312px}
body.cre-portal-suite .brand,
body.cre-admin-suite .brand{color:var(--cre-text)!important;font-weight:950;letter-spacing:.02em}
body.cre-portal-suite .brand img,
body.cre-admin-suite .brand img{height:26px!important;filter:none!important}
body.cre-portal-suite .nav,
body.cre-admin-suite .nav{min-height:58px;gap:14px}
.cre-backoffice-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.cre-user-chip{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--cre-line);background:var(--cre-card-2);border-radius:999px;padding:8px 12px;color:var(--cre-soft);font-weight:850;font-size:13px;backdrop-filter:blur(14px)}
.cre-user-chip b{color:var(--cre-text)}
.cre-nav-divider{width:1px;height:28px;background:var(--cre-line);margin:0 4px}
.cre-sidebar-toggle{display:none;border:1px solid var(--cre-line);background:var(--cre-card-2);color:var(--cre-text);border-radius:999px;padding:10px 12px;font-weight:950}

/* Buttons */
body.cre-portal-suite .btn,
body.cre-admin-suite .btn,
.cre-market .btn,
.cre-market .primary{
  border:0!important;border-radius:999px!important;
  background:linear-gradient(135deg,var(--cre-hot),var(--cre-fire))!important;
  color:#fff!important;box-shadow:0 18px 44px rgba(236,47,109,.28)!important;
  font-weight:950!important;padding:12px 18px!important;text-decoration:none!important;
}
body.cre-portal-suite .btn.ghost,
body.cre-admin-suite .btn.ghost,
.cre-market .outline{
  background:var(--cre-card-2)!important;color:var(--cre-text)!important;
  border:1px solid var(--cre-line)!important;box-shadow:none!important;
}
body.cre-portal-suite .btn.danger,
body.cre-admin-suite .btn.danger{background:#7f1d1d!important;color:#fff!important;border:1px solid rgba(254,202,202,.24)!important;box-shadow:none!important}
body.cre-portal-suite .link,
body.cre-admin-suite .link{color:var(--cre-soft)!important;border:1px solid transparent!important;background:transparent!important;font-weight:850}
body.cre-portal-suite .link:hover,
body.cre-admin-suite .link:hover{color:var(--cre-text)!important;background:var(--cre-card-2)!important;border-color:var(--cre-line)!important}

/* Sidebar shell modelled on modern finance/ticket dashboards */
.cre-sidebar{
  position:fixed;z-index:90;left:18px;top:18px;bottom:18px;width:276px;overflow:auto;
  background:linear-gradient(180deg,rgba(8,11,18,.98),rgba(19,8,28,.96));
  border:1px solid rgba(255,255,255,.12);border-radius:30px;box-shadow:0 30px 100px rgba(0,0,0,.45);
  padding:18px;scrollbar-width:thin;
}
html[data-theme="light"] .cre-sidebar{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,247,251,.96));border-color:rgba(15,23,42,.10);box-shadow:0 30px 90px rgba(15,23,42,.15)}
.cre-side-brand{display:flex;align-items:center;gap:10px;padding:8px 8px 16px;border-bottom:1px solid var(--cre-sidebar-line);margin-bottom:14px}
.cre-side-brand img{width:34px;height:34px;object-fit:contain}.cre-side-brand b{display:block;color:var(--cre-text);font-weight:950;letter-spacing:.02em}.cre-side-brand span{display:block;color:var(--cre-muted);font-size:12px;font-weight:800;margin-top:2px}
.cre-side-profile{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--cre-sidebar-line);border-radius:22px;background:rgba(255,255,255,.06);margin-bottom:14px}
html[data-theme="light"] .cre-side-profile{background:#fff}
.cre-avatar{width:42px;height:42px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--cre-hot),var(--cre-fire));color:#fff;font-weight:950;box-shadow:0 16px 34px rgba(236,47,109,.32)}
.cre-side-profile b{display:block;color:var(--cre-text);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.cre-side-profile small{display:block;color:var(--cre-muted);font-size:12px;font-weight:800;margin-top:2px}
.cre-side-section{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:var(--cre-hot);font-weight:950;margin:20px 10px 8px}
.cre-side-nav{display:grid;gap:6px}.cre-side-link{position:relative;display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;min-height:50px;padding:9px 10px;border-radius:18px;color:var(--cre-soft)!important;text-decoration:none!important;border:1px solid transparent;transition:transform .15s ease,background .15s ease,border-color .15s ease}.cre-side-link:hover{background:rgba(255,255,255,.08);border-color:var(--cre-sidebar-line);transform:translateX(2px)}html[data-theme="light"] .cre-side-link:hover{background:#f8fafc}.cre-side-link.is-active{background:linear-gradient(135deg,rgba(236,47,109,.22),rgba(255,90,31,.14));border-color:rgba(236,47,109,.42);color:var(--cre-text)!important}.cre-side-link.is-active::before{content:"";position:absolute;left:-1px;top:13px;bottom:13px;width:4px;border-radius:999px;background:linear-gradient(180deg,var(--cre-hot),var(--cre-fire))}.cre-side-link.is-disabled{opacity:.52;cursor:not-allowed}.cre-side-icon{width:36px;height:36px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid var(--cre-sidebar-line);color:var(--cre-gold);font-weight:950}.cre-side-link b{display:block;font-size:14px;color:inherit}.cre-side-link small{display:block;color:var(--cre-muted);font-size:11px;margin-top:2px;font-weight:800;line-height:1.25}
.cre-sidebar-backdrop{display:none}

/* Typography */
body.cre-portal-suite .brand b,body.cre-admin-suite .brand b,
.cre-market h1,.cre-market h2,.cre-market h3,
body.cre-portal-suite .h1,body.cre-portal-suite .h2,
body.cre-admin-suite .h1,body.cre-admin-suite .h2,
.cre-dash-hero-main h1,.cre-board h2,.cre-metric strong{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  text-transform:none!important;letter-spacing:-.055em!important;font-weight:950!important;
}
body.cre-portal-suite .sub,body.cre-portal-suite .muted,body.cre-admin-suite .sub,body.cre-admin-suite .muted{color:var(--cre-muted)!important}
body.cre-portal-suite .kicker,body.cre-admin-suite .kicker{color:var(--cre-hot)!important;font-weight:950!important;letter-spacing:.14em!important;text-transform:uppercase!important}
body.cre-portal-suite .badge,body.cre-admin-suite .badge,.cre-market .label,.cre-pill,body.cre-portal-suite .label,body.cre-admin-suite .label{
  display:inline-flex;align-items:center;gap:8px;width:max-content;border-radius:999px;border:1px solid rgba(236,47,109,.28)!important;background:rgba(236,47,109,.14)!important;color:#ff7aab!important;padding:8px 12px;font-size:12px!important;letter-spacing:.1em!important;text-transform:uppercase!important;font-weight:950!important;
}
html[data-theme="light"] body.cre-portal-suite .label,html[data-theme="light"] body.cre-admin-suite .label,html[data-theme="light"] .cre-market .label{color:#be185d!important;background:#fff1f8!important}

/* Cards, forms, tables */
body.cre-portal-suite .heroCard,body.cre-admin-suite .heroCard,
body.cre-portal-suite .note,body.cre-admin-suite .note,
body.cre-portal-suite .appCard,body.cre-admin-suite .appCard,
body.cre-portal-suite .tableWrap,body.cre-admin-suite .tableWrap,
.cre-board,.cre-pulse-card,.cre-metric,.cre-market-card,.cre-feature,.cre-step,.cre-form-panel{
  background:var(--cre-card)!important;color:var(--cre-text)!important;border:1px solid var(--cre-line)!important;box-shadow:var(--cre-shadow)!important;border-radius:var(--cre-radius)!important;backdrop-filter:blur(18px)
}
body.cre-portal-suite .heroCard::before,body.cre-admin-suite .heroCard::before{display:none!important}
body.cre-portal-suite input,body.cre-portal-suite select,body.cre-portal-suite textarea,body.cre-admin-suite input,body.cre-admin-suite select,body.cre-admin-suite textarea{
  background:rgba(3,7,18,.72)!important;color:#f8fafc!important;border:1px solid var(--cre-line)!important;border-radius:18px!important;min-height:50px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);font-weight:800
}
html[data-theme="light"] body.cre-portal-suite input,html[data-theme="light"] body.cre-portal-suite select,html[data-theme="light"] body.cre-portal-suite textarea,html[data-theme="light"] body.cre-admin-suite input,html[data-theme="light"] body.cre-admin-suite select,html[data-theme="light"] body.cre-admin-suite textarea{background:#fff!important;color:#0f172a!important;border-color:rgba(15,23,42,.14)!important}
body.cre-portal-suite input::placeholder,body.cre-portal-suite textarea::placeholder,body.cre-admin-suite input::placeholder,body.cre-admin-suite textarea::placeholder{color:#94a3b8!important;opacity:1}
body.cre-portal-suite textarea,body.cre-admin-suite textarea{min-height:126px}
body.cre-portal-suite .field label,body.cre-admin-suite .field label{color:var(--cre-soft)!important;font-weight:950!important;text-transform:uppercase;letter-spacing:.1em;font-size:11px}
body.cre-portal-suite .table,body.cre-admin-suite .table{min-width:900px;background:transparent;border-radius:24px;overflow:hidden;color:var(--cre-text)!important}
body.cre-portal-suite .table th,body.cre-portal-suite .table td,body.cre-admin-suite .table th,body.cre-admin-suite .table td{border-bottom:1px solid var(--cre-line)!important;color:var(--cre-text)!important;background:transparent!important}
body.cre-portal-suite .table thead th,body.cre-admin-suite .table thead th{background:rgba(255,255,255,.06)!important;color:var(--cre-muted)!important;text-transform:uppercase;letter-spacing:.08em;font-size:11px}
html[data-theme="light"] body.cre-portal-suite .table thead th,html[data-theme="light"] body.cre-admin-suite .table thead th{background:#f8fafc!important}
.divider{border-top:1px solid var(--cre-line)!important}

/* Marketing acquisition pages */
.cre-market{color:var(--cre-text);padding-top:50px}.cre-market .container{width:min(1180px,calc(100% - 36px));margin:auto}.cre-market-hero{padding:46px 0 28px}.cre-market-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.78fr);gap:34px;align-items:center}.cre-market-card{padding:32px;position:relative;overflow:hidden}.cre-market-card::after{content:"";position:absolute;inset:auto -70px -100px auto;width:250px;height:250px;border-radius:999px;background:linear-gradient(135deg,rgba(236,47,109,.3),rgba(255,90,31,.24));filter:blur(2px)}.cre-market-card>*{position:relative;z-index:1}.cre-market h1{font-size:clamp(44px,7vw,84px);line-height:.9;margin:16px 0 16px;max-width:920px}.cre-market h2{font-size:clamp(30px,4vw,54px);line-height:.98;margin:0 0 10px}.cre-market h3{font-size:24px;margin:0 0 8px}.cre-market p{color:var(--cre-soft);font-size:16px;line-height:1.68;margin:0}.cre-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.cre-market .feature-stack{display:grid;gap:12px}.cre-feature{padding:18px}.cre-feature strong{display:block;font-size:18px;margin-bottom:4px}.cre-feature span{color:var(--cre-muted);font-size:14px;line-height:1.5}.cre-section{padding:26px 0}.cre-panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cre-step{padding:20px}.cre-step .num{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,var(--cre-hot),var(--cre-fire));color:white;font-weight:950;margin-bottom:16px}.cre-form-panel{padding:24px}.cre-side-panel{background:linear-gradient(135deg,#070b14,#4c0d57)!important;border:1px solid rgba(255,255,255,.12);border-radius:32px;padding:24px;color:white;box-shadow:var(--cre-shadow);position:sticky;top:98px}.cre-side-panel p,.cre-side-panel li{color:rgba(255,255,255,.78)}.cre-side-panel ul{padding-left:18px;line-height:1.8}.cre-form-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.44fr);gap:20px;align-items:start}.cre-check-row{display:flex;gap:10px;align-items:flex-start;padding:14px;border-radius:20px;background:var(--cre-card-2);border:1px solid var(--cre-line)}.cre-check-row b{display:block;color:var(--cre-text)}.cre-check-row span{color:var(--cre-muted);font-size:13px;line-height:1.45}.cre-payment-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.cre-payment-rail span{border-radius:16px;border:1px solid var(--cre-line);background:var(--cre-card-2);padding:14px;font-weight:950;text-align:center;box-shadow:0 10px 24px rgba(0,0,0,.08)}

/* Dashboard components */
.cre-dash-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.36fr);gap:18px;align-items:stretch;margin-bottom:18px}.cre-dash-hero-main{background:linear-gradient(135deg,rgba(10,14,24,.98) 0%,rgba(76,13,87,.9) 55%,rgba(236,47,109,.72) 100%)!important;color:white;border:1px solid rgba(255,255,255,.12)!important;border-radius:34px;padding:30px;box-shadow:0 30px 90px rgba(76,13,87,.34);position:relative;overflow:hidden}.cre-dash-hero-main::after{content:"";position:absolute;right:-80px;bottom:-120px;width:320px;height:320px;border-radius:999px;background:radial-gradient(circle,rgba(247,199,95,.56),transparent 68%)}.cre-dash-hero-main>*{position:relative;z-index:1}.cre-dash-hero-main p{color:rgba(255,255,255,.78);line-height:1.65;max-width:760px}.cre-dash-hero-main h1{font-size:clamp(38px,5.6vw,72px);line-height:.92;margin:12px 0 14px;color:white!important}.cre-dash-side{display:grid;gap:12px}.cre-pulse-card{padding:20px}.cre-pulse-card strong{font-size:28px;display:block;line-height:1.05}.cre-pulse-card span{color:var(--cre-muted);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.1em}.cre-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.cre-metric{padding:18px;min-height:124px}.cre-metric span{color:var(--cre-muted);font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:950}.cre-metric strong{display:block;font-size:32px;line-height:1.05;margin:10px 0;color:var(--cre-text)}.cre-metric small{color:var(--cre-muted)}.cre-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.38fr);gap:18px;align-items:start}.cre-board{padding:22px}.cre-board-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px}.cre-board h2{font-size:32px;margin:0;color:var(--cre-text)}.cre-board p{color:var(--cre-soft)}.cre-task-list{display:grid;gap:10px}.cre-task{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--cre-line);background:var(--cre-card-2);border-radius:22px;padding:14px}.cre-task i{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#38bdf8,var(--cre-hot));display:grid;place-items:center;color:white;font-style:normal;font-weight:950;flex:0 0 auto}.cre-task strong{display:block;color:var(--cre-text)}.cre-task span{color:var(--cre-muted);font-size:13px;line-height:1.45}.cre-status-pill{display:inline-flex;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;background:rgba(148,163,184,.15);color:var(--cre-soft)}.cre-status-live{background:rgba(34,197,94,.15);color:#86efac}.cre-status-pending{background:rgba(250,204,21,.14);color:#fde68a}.cre-status-draft{background:rgba(148,163,184,.15);color:var(--cre-soft)}.cre-status-rejected{background:rgba(239,68,68,.16);color:#fecaca}html[data-theme="light"] .cre-status-live{color:#166534}html[data-theme="light"] .cre-status-pending{color:#92400e}html[data-theme="light"] .cre-status-rejected{color:#991b1b}.cre-event-list{display:grid;gap:12px}.cre-event-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--cre-line);background:var(--cre-card-2);border-radius:22px;padding:14px;box-shadow:0 10px 28px rgba(0,0,0,.08)}.cre-event-row h3{font-size:18px;margin:0 0 4px;color:var(--cre-text)}.cre-event-row p{margin:0;color:var(--cre-muted);font-size:13px}.cre-event-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.cre-events-topper{margin-bottom:18px}.cre-events-topper .cre-dash-hero-main{min-height:250px}.cre-launch-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.cre-launch-steps .cre-step{padding:16px;border-radius:24px}.cre-launch-steps .num{width:34px;height:34px;border-radius:11px;margin-bottom:10px}.cre-form-enhance .heroCard{padding:24px!important}.cre-form-enhance .grid{display:grid;grid-template-columns:minmax(420px,.92fr) minmax(0,1.08fr);gap:18px}.cre-form-enhance .table{box-shadow:var(--cre-shadow)}.cre-admin-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.cre-wallet-note{border:1px solid var(--cre-line);background:var(--cre-card-2);border-radius:24px;padding:16px;margin-top:14px}.cre-wallet-note b{display:block;color:var(--cre-text)}.cre-wallet-note span{display:block;color:var(--cre-muted);margin-top:4px;font-size:13px;line-height:1.45}

/* Editor */
body.cre-portal-suite .cre-editor,body.cre-admin-suite .cre-editor{border:1px solid var(--cre-line)!important;background:var(--cre-card-2)!important;border-radius:24px!important;overflow:hidden}body.cre-portal-suite .cre-editor__toolbar,body.cre-admin-suite .cre-editor__toolbar{background:rgba(255,255,255,.07)!important;border-bottom:1px solid var(--cre-line)!important}html[data-theme="light"] body.cre-portal-suite .cre-editor__toolbar,html[data-theme="light"] body.cre-admin-suite .cre-editor__toolbar{background:#f8fafc!important}body.cre-portal-suite .cre-editor__input,body.cre-admin-suite .cre-editor__input{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--cre-text)!important}

@media (max-width:1180px){body.cre-has-sidebar .cre-shell-topbar{left:0}.cre-sidebar-toggle{display:inline-flex}.cre-sidebar{transform:translateX(-118%);transition:transform .2s ease}.cre-sidebar.is-open{transform:translateX(0)}.cre-sidebar-backdrop.is-open{display:block;position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:85;backdrop-filter:blur(3px)}body.cre-has-sidebar .adminWrap{margin-left:0}.cre-backoffice-nav .cre-user-chip{display:none}}
@media (max-width:980px){.cre-market-grid,.cre-form-layout,.cre-dash-hero,.cre-workbench,.cre-form-enhance .grid{grid-template-columns:1fr!important}.cre-panel-grid,.cre-metric-grid,.cre-launch-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.cre-side-panel{position:relative;top:auto}.cre-backoffice-nav{width:auto}.cre-dash-hero-main h1{font-size:48px}}
@media (max-width:640px){body.cre-has-sidebar .adminWrap>.container,body.cre-portal-suite .container,body.cre-admin-suite .container{width:min(100% - 28px,1220px)}.cre-panel-grid,.cre-metric-grid,.cre-payment-rail,.cre-launch-steps{grid-template-columns:1fr}.cre-market h1{font-size:44px}.cre-dash-hero-main{padding:22px}.cre-dash-hero-main h1{font-size:42px}.cre-event-row{grid-template-columns:1fr}.cre-event-actions{justify-content:flex-start}.cre-market-card,.cre-form-panel,.cre-side-panel,.cre-board{border-radius:24px;padding:20px}body.cre-portal-suite .navlinks,body.cre-admin-suite .navlinks{display:flex!important;overflow:auto;flex-wrap:nowrap;padding-bottom:2px}.cre-sidebar{left:10px;top:10px;bottom:10px;width:min(292px,calc(100% - 20px))}}

/* v3 portal polish: visible editor controls, event-scoped tool shells, report tables */
body.cre-portal-suite .cre-editor,
body.cre-admin-suite .cre-editor{
  background:rgba(7,11,20,.94)!important;
  border:1px solid rgba(236,47,109,.22)!important;
  border-radius:26px!important;
  box-shadow:0 26px 70px rgba(0,0,0,.26)!important;
  overflow:visible!important;
}
html[data-theme="light"] body.cre-portal-suite .cre-editor,
html[data-theme="light"] body.cre-admin-suite .cre-editor{
  background:#fff!important;
  border-color:rgba(15,23,42,.14)!important;
  box-shadow:0 24px 60px rgba(15,23,42,.10)!important;
}
body.cre-portal-suite .cre-editor__toolbar,
body.cre-admin-suite .cre-editor__toolbar{
  background:linear-gradient(135deg,rgba(236,47,109,.16),rgba(255,90,31,.08))!important;
  border-bottom:1px solid var(--cre-line)!important;
  padding:14px!important;
  gap:10px!important;
}
html[data-theme="light"] body.cre-portal-suite .cre-editor__toolbar,
html[data-theme="light"] body.cre-admin-suite .cre-editor__toolbar{
  background:linear-gradient(135deg,#fff1f6,#fff7ed)!important;
}
body.cre-portal-suite .cre-editor__btn,
body.cre-admin-suite .cre-editor__btn{
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:#f8fafc!important;
  opacity:1!important;
  font-weight:950!important;
  text-shadow:none!important;
}
html[data-theme="light"] body.cre-portal-suite .cre-editor__btn,
html[data-theme="light"] body.cre-admin-suite .cre-editor__btn{
  background:#fff!important;
  border-color:rgba(15,23,42,.16)!important;
  color:#0f172a!important;
  box-shadow:0 8px 20px rgba(15,23,42,.06)!important;
}
body.cre-portal-suite .cre-editor__btn:hover,
body.cre-admin-suite .cre-editor__btn:hover,
body.cre-portal-suite .cre-editor__btn.is-active,
body.cre-admin-suite .cre-editor__btn.is-active{
  background:linear-gradient(135deg,var(--cre-hot),var(--cre-fire))!important;
  color:#fff!important;
  border-color:transparent!important;
}
body.cre-portal-suite .cre-editor__input,
body.cre-admin-suite .cre-editor__input,
body.cre-portal-suite .cre-editor__preview,
body.cre-admin-suite .cre-editor__preview{
  min-height:360px!important;
  padding:22px!important;
  font-size:16px!important;
  line-height:1.7!important;
  color:var(--cre-text)!important;
  background:transparent!important;
}
html[data-theme="light"] body.cre-portal-suite .cre-editor__input,
html[data-theme="light"] body.cre-admin-suite .cre-editor__input,
html[data-theme="light"] body.cre-portal-suite .cre-editor__preview,
html[data-theme="light"] body.cre-admin-suite .cre-editor__preview{
  color:#0f172a!important;
}
body.cre-portal-suite .cre-editor__input::placeholder,
body.cre-admin-suite .cre-editor__input::placeholder{
  color:#94a3b8!important;
  font-weight:850!important;
}
body.cre-portal-suite .cre-editor__footer,
body.cre-admin-suite .cre-editor__footer{
  color:var(--cre-muted)!important;
  border-top:1px solid var(--cre-line)!important;
  background:rgba(255,255,255,.04)!important;
}
html[data-theme="light"] body.cre-portal-suite .cre-editor__footer,
html[data-theme="light"] body.cre-admin-suite .cre-editor__footer{background:#f8fafc!important;}
body.cre-portal-suite .cre-editor__picker,
body.cre-admin-suite .cre-editor__picker{z-index:200!important;color:#0f172a!important;}
body.cre-portal-suite .tableWrap,
body.cre-admin-suite .tableWrap{border-radius:28px!important;}
.cre-event-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
body.cre-portal-suite .form .grid,
body.cre-admin-suite .form .grid{align-items:end;}
body.cre-portal-suite select,
body.cre-admin-suite select{appearance:auto!important;}
@media (max-width:980px){
  body.cre-portal-suite .table,
  body.cre-admin-suite .table{min-width:760px;}
}

/* v4 mobile adaptation hotfix — portal/admin only. Visual layer only; no ticket wallet/auth/mail routes touched. */
@media (max-width: 860px){
  html, body{max-width:100%;overflow-x:hidden;}
  body.cre-portal-suite,
  body.cre-admin-suite{min-width:0!important;}

  body.cre-has-sidebar .cre-shell-topbar{left:0!important;}
  body.cre-portal-suite .cre-shell-topbar,
  body.cre-admin-suite .cre-shell-topbar{min-height:62px;}
  body.cre-portal-suite .cre-shell-topbar .container.nav,
  body.cre-admin-suite .cre-shell-topbar .container.nav{
    width:calc(100% - 22px)!important;
    min-height:62px!important;
    padding:8px 0!important;
    gap:8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:nowrap!important;
  }
  body.cre-portal-suite .brand,
  body.cre-admin-suite .brand{min-width:0!important;gap:8px!important;}
  body.cre-portal-suite .brand b,
  body.cre-admin-suite .brand b{font-size:13px!important;letter-spacing:.02em!important;max-width:122px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  body.cre-portal-suite .brand img,
  body.cre-admin-suite .brand img{height:22px!important;width:auto!important;}
  .cre-sidebar-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:8px 11px!important;font-size:13px!important;white-space:nowrap;}
  .cre-backoffice-nav{margin-left:auto!important;gap:6px!important;flex-wrap:nowrap!important;overflow:visible!important;width:auto!important;}
  .cre-backoffice-nav .cre-user-chip,
  .cre-backoffice-nav .btn.ghost{display:none!important;}
  .cre-backoffice-nav .themeToggle{min-height:38px!important;padding:8px 10px!important;font-size:12px!important;white-space:nowrap!important;}

  body.cre-has-sidebar .adminWrap,
  body:not(.cre-has-sidebar).cre-portal-suite .adminWrap,
  body:not(.cre-has-sidebar).cre-admin-suite .adminWrap{
    margin-left:0!important;
    padding:78px 0 38px!important;
  }
  body.cre-has-sidebar .adminWrap>.container,
  body.cre-portal-suite .container,
  body.cre-admin-suite .container{
    width:calc(100% - 22px)!important;
    max-width:none!important;
  }

  .cre-sidebar{
    left:0!important;top:0!important;bottom:0!important;
    width:min(88vw,360px)!important;
    border-radius:0 28px 28px 0!important;
    padding:14px!important;
    transform:translateX(-105%)!important;
    transition:transform .22s ease!important;
    box-shadow:30px 0 90px rgba(0,0,0,.42)!important;
  }
  .cre-sidebar.is-open{transform:translateX(0)!important;}
  .cre-sidebar-backdrop.is-open{display:block!important;position:fixed!important;inset:0!important;background:rgba(0,0,0,.58)!important;z-index:85!important;backdrop-filter:blur(4px)!important;}
  .cre-side-brand{padding:6px 6px 12px!important;margin-bottom:10px!important;}
  .cre-side-profile{padding:10px!important;border-radius:18px!important;margin-bottom:10px!important;}
  .cre-side-section{margin:16px 8px 7px!important;font-size:10px!important;letter-spacing:.16em!important;}
  .cre-side-nav{gap:5px!important;}
  .cre-side-link{grid-template-columns:34px 1fr!important;min-height:46px!important;padding:8px!important;border-radius:16px!important;}
  .cre-side-icon{width:34px!important;height:34px!important;border-radius:13px!important;}
  .cre-side-link b{font-size:13px!important;}
  .cre-side-link small{font-size:10.5px!important;}

  .cre-dash-hero,
  .cre-workbench,
  .cre-form-enhance .grid,
  .cre-form-layout,
  .cre-market-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  .cre-form-enhance .grid > *,
  .cre-form-layout > *,
  .cre-workbench > *,
  .cre-dash-hero > *{grid-column:1 / -1!important;min-width:0!important;}
  .cre-panel-grid,
  .cre-metric-grid,
  .cre-launch-steps{grid-template-columns:1fr!important;gap:12px!important;}
  .cre-dash-hero-main,
  .cre-board,
  body.cre-portal-suite .heroCard,
  body.cre-admin-suite .heroCard,
  body.cre-portal-suite .card,
  body.cre-admin-suite .card,
  body.cre-portal-suite .cardPad,
  body.cre-admin-suite .cardPad{
    border-radius:22px!important;
    padding:18px!important;
    min-width:0!important;
  }
  .cre-dash-hero-main h1,
  body.cre-portal-suite .h1,
  body.cre-admin-suite .h1,
  .cre-market h1{font-size:clamp(34px,12vw,48px)!important;line-height:.95!important;letter-spacing:-.055em!important;}
  .cre-board h2{font-size:28px!important;line-height:1.02!important;}
  .cre-dash-hero-main p,
  .cre-board p,
  body.cre-portal-suite .sub,
  body.cre-admin-suite .sub{font-size:14px!important;line-height:1.55!important;}
  .cre-task{border-radius:18px!important;padding:12px!important;}
  .cre-event-row{grid-template-columns:1fr!important;border-radius:18px!important;padding:12px!important;}
  .cre-event-actions{justify-content:stretch!important;gap:7px!important;}
  .cre-event-actions .btn,
  .cre-admin-hero-actions .btn{flex:1 1 46%;text-align:center;justify-content:center;}

  body.cre-portal-suite .formRow,
  body.cre-admin-suite .formRow,
  body.cre-portal-suite .form .grid,
  body.cre-admin-suite .form .grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  body.cre-portal-suite .field,
  body.cre-admin-suite .field{min-width:0!important;width:100%!important;}
  body.cre-portal-suite input,
  body.cre-portal-suite select,
  body.cre-portal-suite textarea,
  body.cre-admin-suite input,
  body.cre-admin-suite select,
  body.cre-admin-suite textarea{width:100%!important;max-width:100%!important;min-width:0!important;}
  body.cre-portal-suite input[type="checkbox"],
  body.cre-admin-suite input[type="checkbox"]{width:auto!important;}
  body.cre-portal-suite input[type="file"],
  body.cre-admin-suite input[type="file"]{font-size:13px!important;}

  body.cre-portal-suite .cre-editor,
  body.cre-admin-suite .cre-editor{border-radius:20px!important;overflow:hidden!important;}
  body.cre-portal-suite .cre-editor__toolbar,
  body.cre-admin-suite .cre-editor__toolbar{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;padding:10px!important;-webkit-overflow-scrolling:touch;}
  body.cre-portal-suite .cre-editor__group,
  body.cre-admin-suite .cre-editor__group{display:flex!important;gap:6px!important;flex:0 0 auto!important;}
  body.cre-portal-suite .cre-editor__sep,
  body.cre-admin-suite .cre-editor__sep{flex:0 0 1px!important;}
  body.cre-portal-suite .cre-editor__btn,
  body.cre-admin-suite .cre-editor__btn{min-width:38px!important;min-height:36px!important;padding:8px 10px!important;font-size:13px!important;white-space:nowrap!important;}
  body.cre-portal-suite .cre-editor__input,
  body.cre-admin-suite .cre-editor__input,
  body.cre-portal-suite .cre-editor__preview,
  body.cre-admin-suite .cre-editor__preview{min-height:260px!important;padding:16px!important;font-size:15px!important;line-height:1.62!important;}
  body.cre-portal-suite .cre-editor__picker,
  body.cre-admin-suite .cre-editor__picker{left:10px!important;right:10px!important;width:auto!important;max-width:none!important;}

  body.cre-portal-suite .table,
  body.cre-admin-suite .table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important;display:block!important;background:transparent!important;box-shadow:none!important;}
  body.cre-portal-suite .table thead,
  body.cre-admin-suite .table thead{display:none!important;}
  body.cre-portal-suite .table tbody,
  body.cre-admin-suite .table tbody,
  body.cre-portal-suite .table tr,
  body.cre-admin-suite .table tr{display:block!important;width:100%!important;}
  body.cre-portal-suite .table tr,
  body.cre-admin-suite .table tr{border:1px solid var(--cre-line)!important;background:var(--cre-card)!important;border-radius:20px!important;margin:0 0 12px!important;padding:12px!important;box-shadow:0 12px 34px rgba(0,0,0,.12)!important;}
  body.cre-portal-suite .table td,
  body.cre-admin-suite .table td{display:grid!important;grid-template-columns:minmax(94px,36%) minmax(0,1fr)!important;gap:10px!important;align-items:start!important;border:0!important;padding:8px 0!important;white-space:normal!important;word-break:break-word!important;}
  body.cre-portal-suite .table td::before,
  body.cre-admin-suite .table td::before{content:attr(data-label);font-size:10px!important;letter-spacing:.11em!important;text-transform:uppercase!important;color:var(--cre-muted)!important;font-weight:950!important;line-height:1.35!important;}
  body.cre-portal-suite .table td:last-child,
  body.cre-admin-suite .table td:last-child{display:block!important;}
  body.cre-portal-suite .table td:last-child::before,
  body.cre-admin-suite .table td:last-child::before{display:block!important;margin-bottom:8px!important;}
  body.cre-portal-suite .table td:last-child .btn,
  body.cre-admin-suite .table td:last-child .btn,
  body.cre-portal-suite .table td:last-child button,
  body.cre-admin-suite .table td:last-child button{width:100%!important;margin:4px 0!important;text-align:center!important;justify-content:center!important;}
}

@media (max-width:420px){
  body.cre-portal-suite .cre-shell-topbar .container.nav,
  body.cre-admin-suite .cre-shell-topbar .container.nav{width:calc(100% - 16px)!important;}
  body.cre-has-sidebar .adminWrap>.container,
  body.cre-portal-suite .container,
  body.cre-admin-suite .container{width:calc(100% - 16px)!important;}
  body.cre-portal-suite .brand b,
  body.cre-admin-suite .brand b{max-width:94px;}
  .cre-backoffice-nav .themeToggle span{font-size:0!important;}
  .cre-backoffice-nav .themeToggle span::before{content:'Theme';font-size:12px!important;}
  .cre-sidebar{width:94vw!important;}
  .cre-dash-hero-main h1,
  body.cre-portal-suite .h1,
  body.cre-admin-suite .h1,
  .cre-market h1{font-size:36px!important;}
  body.cre-portal-suite .table td,
  body.cre-admin-suite .table td{grid-template-columns:1fr!important;gap:3px!important;}
}

/* v5 mobile usability + event-scoped tool polish. Visual/workspace only; locked ticket wallet untouched. */
.cre-dash-hero-main,
html[data-theme="light"] .cre-dash-hero-main{
  color:#fff!important;
  background:
    radial-gradient(680px 420px at 88% 15%, rgba(236,47,109,.46), transparent 62%),
    radial-gradient(520px 360px at 16% 18%, rgba(255,90,31,.22), transparent 60%),
    linear-gradient(135deg,#090d18 0%,#39144c 58%,#fb4b5f 100%)!important;
}
.cre-dash-hero-main h1,
.cre-dash-hero-main h2,
.cre-dash-hero-main p,
.cre-dash-hero-main .muted,
html[data-theme="light"] .cre-dash-hero-main h1,
html[data-theme="light"] .cre-dash-hero-main h2,
html[data-theme="light"] .cre-dash-hero-main p,
html[data-theme="light"] .cre-dash-hero-main .muted{
  color:#fff!important;
  text-shadow:0 2px 18px rgba(0,0,0,.32)!important;
}
.cre-dash-hero-main .label,
html[data-theme="light"] .cre-dash-hero-main .label{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.26)!important;
}
.cre-dash-hero-main .btn.ghost,
html[data-theme="light"] .cre-dash-hero-main .btn.ghost{
  background:rgba(255,255,255,.88)!important;
  color:#111827!important;
  border-color:rgba(255,255,255,.58)!important;
}
.cre-dash-hero-main .btn,
html[data-theme="light"] .cre-dash-hero-main .btn{box-shadow:0 18px 42px rgba(236,47,109,.32)!important;}

.cre-event-picker-board{position:relative;overflow:hidden;}
.cre-event-picker-board::after{content:"";position:absolute;right:-120px;bottom:-140px;width:280px;height:280px;border-radius:999px;background:radial-gradient(circle,rgba(236,47,109,.18),transparent 68%);pointer-events:none;}
.cre-event-picker-board>*{position:relative;z-index:1;}
.cre-event-command{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.72fr) auto;gap:12px;align-items:end;margin-top:10px;}
.cre-event-command .field{margin:0;}
.cre-field-help{display:block;margin-top:7px;color:var(--cre-muted);font-size:12px;font-weight:800;line-height:1.35;}
.cre-event-mini-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;}
.cre-event-mini{border:1px solid var(--cre-line);background:var(--cre-card-2);border-radius:18px;padding:12px;}
.cre-event-mini strong{display:block;color:var(--cre-text);font-size:14px;margin:8px 0 4px;}
.cre-event-mini small{display:block;color:var(--cre-muted);font-weight:800;line-height:1.38;}
.cre-dashboard-command{margin-bottom:18px;}

.cre-bar-chart{display:grid;grid-template-columns:repeat(var(--cre-bars),minmax(0,1fr));gap:8px;align-items:end;height:170px;margin-top:14px;}
.cre-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;}
.cre-bar-value{color:var(--cre-muted);font-size:11px;margin-bottom:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cre-bar-fill{width:100%;max-width:38px;height:var(--h);border-radius:12px 12px 6px 6px;background:linear-gradient(180deg, rgba(247,199,95,.95), rgba(247,199,95,.28));border:1px solid rgba(247,199,95,.38);}
.cre-bar-label{color:var(--cre-muted);font-size:11px;margin-top:8px;white-space:nowrap;}
.cre-empty-chart{min-height:118px;display:flex;flex-direction:column;justify-content:center;border:1px dashed var(--cre-line);border-radius:20px;background:var(--cre-card-2);padding:18px;margin-top:14px;}
.cre-empty-chart strong{font-size:20px;color:var(--cre-text);}
.cre-empty-chart span{margin-top:6px;color:var(--cre-muted);font-weight:800;line-height:1.45;}

@media (max-width:860px){
  body.cre-has-sidebar .adminWrap,
  body:not(.cre-has-sidebar).cre-portal-suite .adminWrap,
  body:not(.cre-has-sidebar).cre-admin-suite .adminWrap{padding-top:68px!important;}
  body.cre-portal-suite .cre-shell-topbar .container.nav,
  body.cre-admin-suite .cre-shell-topbar .container.nav{min-height:56px!important;}
  body.cre-portal-suite .cre-shell-topbar,
  body.cre-admin-suite .cre-shell-topbar{min-height:56px!important;}
  .cre-dash-hero{gap:10px!important;margin-bottom:12px!important;}
  .cre-dash-hero-main{padding:18px!important;border-radius:24px!important;}
  .cre-dash-hero-main h1{font-size:clamp(34px,10.5vw,44px)!important;line-height:.98!important;margin:10px 0!important;}
  .cre-dash-hero-main p{font-size:14px!important;line-height:1.5!important;}
  .cre-admin-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;}
  .cre-admin-hero-actions .btn{padding:11px 12px!important;font-size:13px!important;min-height:48px!important;}
  .cre-admin-hero-actions .btn:nth-child(3):last-child{grid-column:1 / -1;}
  .cre-dash-side{grid-template-columns:1fr 1fr!important;display:grid!important;gap:10px!important;}
  .cre-pulse-card{padding:14px!important;border-radius:18px!important;min-height:100px!important;}
  .cre-pulse-card strong{font-size:clamp(21px,7vw,30px)!important;line-height:1.05!important;word-break:break-word;}
  .cre-pulse-card span{font-size:10px!important;letter-spacing:.12em!important;}

  .cre-metric-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:12px 0!important;}
  .cre-metric{min-height:auto!important;padding:14px!important;border-radius:18px!important;}
  .cre-metric span{font-size:10px!important;letter-spacing:.08em!important;}
  .cre-metric strong{font-size:clamp(24px,8vw,34px)!important;margin:7px 0!important;}
  .cre-metric small{font-size:12px!important;line-height:1.3!important;}

  .cre-event-command{grid-template-columns:1fr!important;gap:10px!important;}
  .cre-event-command .btn{width:100%!important;min-height:50px!important;}
  .cre-field-help{font-size:11.5px!important;}
  .cre-event-mini-list{grid-template-columns:1fr!important;gap:8px!important;}
  .cre-event-mini-list .cre-event-mini:nth-child(n+4){display:none!important;}
  .cre-event-picker-board .cre-board-head h2{font-size:25px!important;line-height:1.05!important;}
  .cre-event-picker-board .cre-board-head p{font-size:13.5px!important;}

  .cre-workbench{gap:12px!important;}
  .cre-board{padding:16px!important;border-radius:22px!important;}
  .cre-board-head{margin-bottom:12px!important;}
  .cre-board h2{font-size:26px!important;line-height:1.03!important;}
  .cre-task-list{gap:8px!important;}
  .cre-task{padding:10px!important;border-radius:16px!important;}
  .cre-task i{width:30px!important;height:30px!important;border-radius:10px!important;}
  .cre-task span{font-size:12px!important;}
  .cre-event-row{padding:12px!important;}
  .cre-event-row h3{font-size:18px!important;}
  .cre-event-actions{display:grid!important;grid-template-columns:1fr 1fr!important;}
  .cre-event-actions .btn{width:100%!important;min-height:42px!important;padding:10px 12px!important;font-size:12px!important;}

  .cre-bar-chart{height:auto!important;min-height:118px!important;grid-template-columns:repeat(auto-fit,minmax(18px,1fr))!important;gap:5px!important;overflow:hidden!important;}
  .cre-bar-value{font-size:10px!important;display:none!important;}
  .cre-bar-fill{max-width:24px!important;border-radius:9px 9px 5px 5px!important;}
  .cre-bar-label{font-size:9px!important;margin-top:5px!important;}
  .cre-hide-mobile-label .cre-bar-label{visibility:hidden!important;}
  .cre-empty-chart{min-height:92px!important;padding:14px!important;border-radius:18px!important;}
  .cre-empty-chart strong{font-size:18px!important;}
  .cre-empty-chart span{font-size:12.5px!important;}

  .cre-wallet-note{padding:14px!important;border-radius:18px!important;font-size:13px!important;}
}

@media (max-width:420px){
  .cre-metric-grid{grid-template-columns:1fr 1fr!important;}
  .cre-dash-side{grid-template-columns:1fr!important;}
  .cre-admin-hero-actions{grid-template-columns:1fr!important;}
  .cre-board h2{font-size:24px!important;}
}

/* v6 mobile readability + dashboard compression hotfix.
   Scope: portal/admin shell only. Locked ticket wallet/access-code routes untouched. */
body.cre-portal-suite .cre-dash-hero-main,
body.cre-admin-suite .cre-dash-hero-main,
html[data-theme="light"] body.cre-portal-suite .cre-dash-hero-main,
html[data-theme="light"] body.cre-admin-suite .cre-dash-hero-main{
  color:#fff!important;
  background:
    linear-gradient(90deg,rgba(5,7,13,.86),rgba(5,7,13,.58)),
    radial-gradient(720px 440px at 86% 18%,rgba(236,47,109,.45),transparent 64%),
    linear-gradient(135deg,#090d18 0%,#321145 55%,#fa5260 100%)!important;
}
body.cre-portal-suite .cre-dash-hero-main h1,
body.cre-admin-suite .cre-dash-hero-main h1,
body.cre-portal-suite .cre-dash-hero-main h2,
body.cre-admin-suite .cre-dash-hero-main h2,
body.cre-portal-suite .cre-dash-hero-main p,
body.cre-admin-suite .cre-dash-hero-main p,
body.cre-portal-suite .cre-dash-hero-main .muted,
body.cre-admin-suite .cre-dash-hero-main .muted,
html[data-theme="light"] body.cre-portal-suite .cre-dash-hero-main h1,
html[data-theme="light"] body.cre-admin-suite .cre-dash-hero-main h1,
html[data-theme="light"] body.cre-portal-suite .cre-dash-hero-main h2,
html[data-theme="light"] body.cre-admin-suite .cre-dash-hero-main h2,
html[data-theme="light"] body.cre-portal-suite .cre-dash-hero-main p,
html[data-theme="light"] body.cre-admin-suite .cre-dash-hero-main p,
html[data-theme="light"] body.cre-portal-suite .cre-dash-hero-main .muted,
html[data-theme="light"] body.cre-admin-suite .cre-dash-hero-main .muted{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 3px 18px rgba(0,0,0,.46)!important;
}
body.cre-portal-suite .cre-dash-hero-main .label,
body.cre-admin-suite .cre-dash-hero-main .label,
html[data-theme="light"] body.cre-portal-suite .cre-dash-hero-main .label,
html[data-theme="light"] body.cre-admin-suite .cre-dash-hero-main .label{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.26)!important;
  text-shadow:none!important;
}

/* Make selects readable inside light/dark dashboards. */
body.cre-portal-suite select,
body.cre-admin-suite select,
body.cre-portal-suite input,
body.cre-admin-suite input,
body.cre-portal-suite textarea,
body.cre-admin-suite textarea{
  color:var(--cre-text)!important;
  background:var(--cre-card-2)!important;
  border-color:var(--cre-line)!important;
}
html[data-theme="light"] body.cre-portal-suite select,
html[data-theme="light"] body.cre-admin-suite select,
html[data-theme="light"] body.cre-portal-suite input,
html[data-theme="light"] body.cre-admin-suite input,
html[data-theme="light"] body.cre-portal-suite textarea,
html[data-theme="light"] body.cre-admin-suite textarea{
  color:#111827!important;
  background:#fff!important;
}
body.cre-portal-suite select option,
body.cre-admin-suite select option{color:#111827!important;background:#fff!important;}

/* Mobile: no gigantic hero block, no chart padding, no long vertical dashboard before action. */
@media (max-width:860px){
  body.cre-portal-suite .adminWrap,
  body.cre-admin-suite .adminWrap{padding-top:66px!important;}
  body.cre-portal-suite .cre-dash-hero,
  body.cre-admin-suite .cre-dash-hero{
    display:block!important;
    margin:0 0 12px!important;
  }
  body.cre-portal-suite .cre-dash-hero-main,
  body.cre-admin-suite .cre-dash-hero-main{
    border-radius:22px!important;
    padding:18px!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  body.cre-portal-suite .cre-dash-hero-main::after,
  body.cre-admin-suite .cre-dash-hero-main::after{opacity:.42!important;right:-150px!important;bottom:-190px!important;}
  body.cre-portal-suite .cre-dash-hero-main h1,
  body.cre-admin-suite .cre-dash-hero-main h1{
    font-size:clamp(30px,9.2vw,40px)!important;
    line-height:1.02!important;
    letter-spacing:-.055em!important;
    margin:10px 0 10px!important;
    max-width:100%!important;
  }
  body.cre-portal-suite .cre-dash-hero-main p,
  body.cre-admin-suite .cre-dash-hero-main p{
    font-size:14px!important;
    line-height:1.45!important;
    margin:0!important;
    max-width:100%!important;
  }
  body.cre-portal-suite .cre-admin-hero-actions,
  body.cre-admin-suite .cre-admin-hero-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:14px!important;
  }
  body.cre-portal-suite .cre-admin-hero-actions .btn,
  body.cre-admin-suite .cre-admin-hero-actions .btn{
    width:100%!important;
    min-height:46px!important;
    padding:10px 12px!important;
    font-size:14px!important;
  }
  body.cre-portal-suite .cre-dash-side,
  body.cre-admin-suite .cre-dash-side{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin-top:10px!important;
  }
  body.cre-portal-suite .cre-pulse-card,
  body.cre-admin-suite .cre-pulse-card{
    padding:13px!important;
    border-radius:18px!important;
    min-height:86px!important;
  }
  body.cre-portal-suite .cre-pulse-card span,
  body.cre-admin-suite .cre-pulse-card span{
    display:block!important;
    font-size:10px!important;
    letter-spacing:.08em!important;
    white-space:normal!important;
  }
  body.cre-portal-suite .cre-pulse-card strong,
  body.cre-admin-suite .cre-pulse-card strong{
    font-size:22px!important;
    margin-top:4px!important;
    line-height:1.05!important;
  }
  body.cre-portal-suite .cre-pulse-card .muted,
  body.cre-admin-suite .cre-pulse-card .muted{font-size:12px!important;line-height:1.25!important;margin-top:2px!important;}

  /* Put action selector before noisy metric cards on mobile. */
  body.cre-portal-suite .cre-dashboard-command,
  body.cre-admin-suite .cre-dashboard-command{margin:12px 0!important;}
  body.cre-portal-suite .cre-dashboard-command .cre-board-head,
  body.cre-admin-suite .cre-dashboard-command .cre-board-head{margin-bottom:10px!important;}
  body.cre-portal-suite .cre-dashboard-command .cre-board-head h2,
  body.cre-admin-suite .cre-dashboard-command .cre-board-head h2{
    font-size:23px!important;line-height:1.05!important;margin-top:6px!important;
  }
  body.cre-portal-suite .cre-dashboard-command .cre-board-head p,
  body.cre-admin-suite .cre-dashboard-command .cre-board-head p{
    font-size:12.5px!important;line-height:1.4!important;margin:.4rem 0 0!important;
  }
  body.cre-portal-suite .cre-event-command,
  body.cre-admin-suite .cre-event-command{grid-template-columns:1fr!important;gap:9px!important;}
  body.cre-portal-suite .cre-event-command label,
  body.cre-admin-suite .cre-event-command label{font-size:10px!important;letter-spacing:.12em!important;}
  body.cre-portal-suite .cre-event-command select,
  body.cre-admin-suite .cre-event-command select{
    min-height:48px!important;
    border-radius:16px!important;
    padding:0 14px!important;
    font-size:14px!important;
  }
  body.cre-portal-suite .cre-event-command .btn,
  body.cre-admin-suite .cre-event-command .btn{min-height:48px!important;width:100%!important;}

  /* Metrics become compact and less dominant. */
  body.cre-portal-suite .cre-metric-grid,
  body.cre-admin-suite .cre-metric-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin:10px 0!important;
  }
  body.cre-portal-suite .cre-metric,
  body.cre-admin-suite .cre-metric{
    padding:12px!important;
    border-radius:16px!important;
    min-height:82px!important;
  }
  body.cre-portal-suite .cre-metric span,
  body.cre-admin-suite .cre-metric span{font-size:9.5px!important;letter-spacing:.08em!important;}
  body.cre-portal-suite .cre-metric strong,
  body.cre-admin-suite .cre-metric strong{font-size:24px!important;margin:5px 0!important;}
  body.cre-portal-suite .cre-metric small,
  body.cre-admin-suite .cre-metric small{font-size:11px!important;line-height:1.25!important;}

  /* Recent event cards: shorter, grouped actions. */
  body.cre-portal-suite .cre-event-row,
  body.cre-admin-suite .cre-event-row{padding:12px!important;border-radius:18px!important;gap:10px!important;}
  body.cre-portal-suite .cre-event-row h3,
  body.cre-admin-suite .cre-event-row h3{font-size:18px!important;line-height:1.15!important;}
  body.cre-portal-suite .cre-event-row p,
  body.cre-admin-suite .cre-event-row p{font-size:12.5px!important;line-height:1.35!important;}
  body.cre-portal-suite .cre-event-actions,
  body.cre-admin-suite .cre-event-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  body.cre-portal-suite .cre-event-actions .btn,
  body.cre-admin-suite .cre-event-actions .btn{min-height:42px!important;width:100%!important;font-size:12px!important;padding:9px 10px!important;}

  /* Charts: hide axis noise when empty and keep card short. */
  body.cre-portal-suite .cre-empty-chart,
  body.cre-admin-suite .cre-empty-chart{min-height:78px!important;padding:13px!important;}
  body.cre-portal-suite .cre-bar-chart,
  body.cre-admin-suite .cre-bar-chart{max-height:118px!important;min-height:78px!important;margin-top:10px!important;}
}
@media (max-width:420px){
  body.cre-portal-suite .cre-dash-side,
  body.cre-admin-suite .cre-dash-side{grid-template-columns:1fr!important;}
  body.cre-portal-suite .cre-metric-grid,
  body.cre-admin-suite .cre-metric-grid{grid-template-columns:1fr 1fr!important;}
  body.cre-portal-suite .cre-dash-hero-main h1,
  body.cre-admin-suite .cre-dash-hero-main h1{font-size:32px!important;}
}

/* v8 public organiser/promoter landing repair.
   Scope: /organisers and /promoters only. Ticket wallet and OTP routes untouched. */
body.route-organisers,
body.route-promoters{
  background:
    radial-gradient(900px 520px at 88% 4%, rgba(236,47,109,.24), transparent 62%),
    linear-gradient(135deg,#060913 0%,#12061a 56%,#22051f 100%)!important;
  color:#f8fafc!important;
}
html[data-theme="light"] body.route-organisers,
html[data-theme="light"] body.route-promoters{
  background:
    radial-gradient(780px 460px at 90% 6%, rgba(236,47,109,.10), transparent 62%),
    linear-gradient(135deg,#fffaf2 0%,#fff7ed 42%,#fff1f7 100%)!important;
  color:#111827!important;
}
body.route-organisers .cre-market,
body.route-promoters .cre-market{
  padding-top:42px!important;
  color:#f8fafc!important;
}
html[data-theme="light"] body.route-organisers .cre-market,
html[data-theme="light"] body.route-promoters .cre-market{color:#111827!important;}

body.route-organisers .cre-creator-hero,
body.route-promoters .cre-creator-hero{padding:42px 0 20px!important;}
body.route-organisers .cre-creator-hero-grid,
body.route-promoters .cre-creator-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.78fr)!important;
  gap:30px!important;
  align-items:center!important;
}
body.route-organisers .cre-creator-hero-card,
body.route-promoters .cre-creator-hero-card{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:34px!important;
  padding:32px!important;
  background:
    linear-gradient(90deg,rgba(5,7,13,.72),rgba(5,7,13,.34)),
    radial-gradient(420px 280px at 92% 84%,rgba(247,199,95,.28),transparent 64%),
    linear-gradient(135deg,#080b14 0%,#3c1456 56%,#fb5961 100%)!important;
  box-shadow:0 34px 100px rgba(0,0,0,.32)!important;
  color:#fff!important;
}
body.route-organisers .cre-creator-hero-card::after,
body.route-promoters .cre-creator-hero-card::after{display:none!important;}
body.route-organisers .cre-creator-hero-card h1,
body.route-promoters .cre-creator-hero-card h1{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 5px 26px rgba(0,0,0,.38)!important;
  max-width:860px!important;
}
body.route-organisers .cre-creator-hero-card p,
body.route-promoters .cre-creator-hero-card p{
  color:rgba(255,255,255,.86)!important;
  -webkit-text-fill-color:rgba(255,255,255,.86)!important;
  max-width:820px!important;
}
body.route-organisers .cre-creator-hero-card .label,
body.route-promoters .cre-creator-hero-card .label{
  background:rgba(255,255,255,.16)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html[data-theme="light"] body.route-organisers .cre-creator-hero-card,
html[data-theme="light"] body.route-promoters .cre-creator-hero-card{
  background:#fff!important;
  color:#111827!important;
  border-color:rgba(15,23,42,.10)!important;
  box-shadow:0 30px 80px rgba(15,23,42,.12)!important;
}
html[data-theme="light"] body.route-organisers .cre-creator-hero-card h1,
html[data-theme="light"] body.route-promoters .cre-creator-hero-card h1{
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  text-shadow:none!important;
}
html[data-theme="light"] body.route-organisers .cre-creator-hero-card p,
html[data-theme="light"] body.route-promoters .cre-creator-hero-card p{
  color:#334155!important;
  -webkit-text-fill-color:#334155!important;
  text-shadow:none!important;
}

body.route-organisers .cre-creator-proof,
body.route-promoters .cre-creator-proof{display:grid!important;gap:12px!important;}
body.route-organisers .cre-feature,
body.route-promoters .cre-feature,
body.route-organisers .cre-step,
body.route-promoters .cre-step{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
  box-shadow:0 22px 70px rgba(0,0,0,.22)!important;
}
body.route-organisers .cre-feature strong,
body.route-promoters .cre-feature strong,
body.route-organisers .cre-step h3,
body.route-promoters .cre-step h3{color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.route-organisers .cre-feature span,
body.route-promoters .cre-feature span,
body.route-organisers .cre-step p,
body.route-promoters .cre-step p{color:rgba(255,255,255,.74)!important;-webkit-text-fill-color:rgba(255,255,255,.74)!important;}
html[data-theme="light"] body.route-organisers .cre-feature,
html[data-theme="light"] body.route-promoters .cre-feature,
html[data-theme="light"] body.route-organisers .cre-step,
html[data-theme="light"] body.route-promoters .cre-step{
  background:#fff!important;
  border-color:rgba(15,23,42,.10)!important;
  color:#111827!important;
  box-shadow:0 20px 58px rgba(15,23,42,.08)!important;
}
html[data-theme="light"] body.route-organisers .cre-feature strong,
html[data-theme="light"] body.route-promoters .cre-feature strong,
html[data-theme="light"] body.route-organisers .cre-step h3,
html[data-theme="light"] body.route-promoters .cre-step h3{color:#111827!important;-webkit-text-fill-color:#111827!important;}
html[data-theme="light"] body.route-organisers .cre-feature span,
html[data-theme="light"] body.route-promoters .cre-feature span,
html[data-theme="light"] body.route-organisers .cre-step p,
html[data-theme="light"] body.route-promoters .cre-step p{color:#475569!important;-webkit-text-fill-color:#475569!important;}

body.route-organisers .cre-payment-rail span,
body.route-promoters .cre-payment-rail span{
  color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border-color:rgba(255,255,255,.18)!important;
}
html[data-theme="light"] body.route-organisers .cre-payment-rail span,
html[data-theme="light"] body.route-promoters .cre-payment-rail span{
  color:#111827!important;
  background:#f8fafc!important;
  border-color:rgba(15,23,42,.10)!important;
}

body.route-organisers .cre-creator-form-panel,
body.route-promoters .cre-creator-form-panel{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
  box-shadow:0 30px 90px rgba(0,0,0,.30)!important;
}
body.route-organisers .cre-creator-form-panel h2,
body.route-promoters .cre-creator-form-panel h2{color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.route-organisers .cre-creator-form-panel p,
body.route-promoters .cre-creator-form-panel p{color:rgba(255,255,255,.72)!important;-webkit-text-fill-color:rgba(255,255,255,.72)!important;}
html[data-theme="light"] body.route-organisers .cre-creator-form-panel,
html[data-theme="light"] body.route-promoters .cre-creator-form-panel{
  background:#fff!important;
  color:#111827!important;
  border-color:rgba(15,23,42,.10)!important;
  box-shadow:0 24px 70px rgba(15,23,42,.09)!important;
}
html[data-theme="light"] body.route-organisers .cre-creator-form-panel h2,
html[data-theme="light"] body.route-promoters .cre-creator-form-panel h2{color:#111827!important;-webkit-text-fill-color:#111827!important;}
html[data-theme="light"] body.route-organisers .cre-creator-form-panel p,
html[data-theme="light"] body.route-promoters .cre-creator-form-panel p{color:#475569!important;-webkit-text-fill-color:#475569!important;}

body.route-organisers .cre-creator-page label,
body.route-promoters .cre-creator-page label{
  color:#cbd5e1!important;
  -webkit-text-fill-color:#cbd5e1!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
}
html[data-theme="light"] body.route-organisers .cre-creator-page label,
html[data-theme="light"] body.route-promoters .cre-creator-page label{color:#64748b!important;-webkit-text-fill-color:#64748b!important;}
body.route-organisers .cre-creator-page input,
body.route-promoters .cre-creator-page input,
body.route-organisers .cre-creator-page select,
body.route-promoters .cre-creator-page select,
body.route-organisers .cre-creator-page textarea,
body.route-promoters .cre-creator-page textarea{
  min-height:48px!important;
  border-radius:16px!important;
  background:#080b12!important;
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:none!important;
}
body.route-organisers .cre-creator-page textarea,
body.route-promoters .cre-creator-page textarea{min-height:110px!important;resize:vertical!important;}
body.route-organisers .cre-creator-page input::placeholder,
body.route-promoters .cre-creator-page input::placeholder,
body.route-organisers .cre-creator-page textarea::placeholder,
body.route-promoters .cre-creator-page textarea::placeholder{
  color:#94a3b8!important;
  -webkit-text-fill-color:#94a3b8!important;
}
html[data-theme="light"] body.route-organisers .cre-creator-page input,
html[data-theme="light"] body.route-promoters .cre-creator-page input,
html[data-theme="light"] body.route-organisers .cre-creator-page select,
html[data-theme="light"] body.route-promoters .cre-creator-page select,
html[data-theme="light"] body.route-organisers .cre-creator-page textarea,
html[data-theme="light"] body.route-promoters .cre-creator-page textarea{
  background:#fff!important;
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  border-color:rgba(15,23,42,.14)!important;
}
body.route-organisers .cre-creator-page select option,
body.route-promoters .cre-creator-page select option{background:#fff!important;color:#111827!important;}

body.route-organisers .cre-creator-side-panel,
body.route-promoters .cre-creator-side-panel{
  background:linear-gradient(135deg,#090d18 0%,#26104a 56%,#4b148c 100%)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
}
body.route-organisers .cre-creator-side-panel h2,
body.route-promoters .cre-creator-side-panel h2{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 4px 22px rgba(0,0,0,.34)!important;
  margin-top:12px!important;
}
body.route-organisers .cre-creator-side-panel li,
body.route-promoters .cre-creator-side-panel li{color:rgba(255,255,255,.86)!important;-webkit-text-fill-color:rgba(255,255,255,.86)!important;}
body.route-organisers .cre-form-actions,
body.route-promoters .cre-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;}

@media (max-width:980px){
  body.route-organisers .cre-creator-hero-grid,
  body.route-promoters .cre-creator-hero-grid,
  body.route-organisers .cre-creator-apply-grid,
  body.route-promoters .cre-creator-apply-grid{grid-template-columns:1fr!important;}
  body.route-organisers .cre-creator-side-panel,
  body.route-promoters .cre-creator-side-panel{position:relative!important;top:auto!important;}
}
@media (max-width:640px){
  body.route-organisers .cre-market,
  body.route-promoters .cre-market{padding-top:22px!important;}
  body.route-organisers .cre-creator-hero,
  body.route-promoters .cre-creator-hero{padding:22px 0 12px!important;}
  body.route-organisers .cre-creator-hero-card,
  body.route-promoters .cre-creator-hero-card,
  body.route-organisers .cre-creator-form-panel,
  body.route-promoters .cre-creator-form-panel,
  body.route-organisers .cre-creator-side-panel,
  body.route-promoters .cre-creator-side-panel{border-radius:24px!important;padding:20px!important;}
  body.route-organisers .cre-creator-hero-card h1,
  body.route-promoters .cre-creator-hero-card h1{font-size:clamp(36px,12vw,50px)!important;line-height:.94!important;letter-spacing:-.055em!important;}
  body.route-organisers .cre-creator-hero-card p,
  body.route-promoters .cre-creator-hero-card p{font-size:14px!important;line-height:1.5!important;}
  body.route-organisers .cre-payment-rail,
  body.route-promoters .cre-payment-rail{grid-template-columns:1fr 1fr!important;}
  body.route-organisers .cre-actions,
  body.route-promoters .cre-actions,
  body.route-organisers .cre-form-actions,
  body.route-promoters .cre-form-actions{display:grid!important;grid-template-columns:1fr!important;}
  body.route-organisers .cre-actions .btn,
  body.route-promoters .cre-actions .btn,
  body.route-organisers .cre-form-actions .btn,
  body.route-promoters .cre-form-actions .btn{width:100%!important;}
  body.route-organisers .cre-panel-grid,
  body.route-promoters .cre-panel-grid{grid-template-columns:1fr!important;}
}
