/* MUSE DESIGN SYSTEM / 2026
   Product UI: Apple HIG hierarchy + Material 3 adaptive controls.
   Brand: ivory, berry, carbon. No Apple trade dress.
   CSS layers are deliberately appended after legacy styles until migration is complete.
*/
:root{
  --ink:#242128;--wine:#54213d;--wine2:#40142e;--rose:#ad3f78;--blush:#f9e8f0;
  --ivory:#f7f6f8;--line:#e6e3e7;--muted:#615c66;--green:#176b47;
  --amber:#845519;--red:#a12d49;--radius:16px;
  --m-bg:#f7f6f8;--m-surface:#fff;--m-ink:#242128;--m-secondary:#55515a;
  --m-line:#e4e0e5;--m-wine:#54213d;--m-berry:#a3376b;--m-wash:#f9eef3;
  --m-focus:#9e4376;--m-success:#176b47;--m-warning:#85551c;
  --m-rad-sm:12px;--m-rad:18px;--m-rad-lg:24px;--m-pill:999px;
  --m-shadow:0 8px 28px rgba(31,20,30,.045);
  --m-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --m-display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{background:var(--m-bg);color:var(--m-ink);font-family:var(--m-font);font-size:16px;line-height:1.55;letter-spacing:-.013em;text-rendering:optimizeLegibility;min-height:100dvh}
body,button,input,textarea,select{font-family:var(--m-font)}
h1,h2,h3,h4,.serif{font-family:var(--m-display);color:var(--m-ink);font-weight:650;letter-spacing:-.035em;line-height:1.16;overflow-wrap:anywhere}
h1{font-size:clamp(31px,3.8vw,52px);letter-spacing:-.045em}
h2{font-size:clamp(22px,2.3vw,30px)}
h3{font-size:clamp(19px,1.7vw,23px);font-weight:650}
p{color:var(--m-secondary);line-height:1.58;font-size:15px}
p,li,td{overflow-wrap:anywhere}
small,.small{font-size:13px;line-height:1.5}.tiny{font-size:12px;line-height:1.5}
.muted{color:var(--m-secondary)}
.eyebrow,.kicker,.subhead{font-size:12px;line-height:1.4;font-weight:700;text-transform:none;letter-spacing:.015em;color:#823e65}
.kicker:before{height:6px;width:6px;background:var(--m-berry)}
:where(a,button,input,textarea,select):focus-visible{outline:3px solid var(--m-focus)!important;outline-offset:3px}
button:disabled,.btn:disabled{opacity:.48;cursor:not-allowed;transform:none}
a{color:inherit}
a:hover{text-decoration-color:currentColor}
button{touch-action:manipulation}
.btn,button,input[type=button],input[type=submit]{-webkit-tap-highlight-color:transparent}
.btn{min-height:48px;border-radius:var(--m-pill);padding:11px 20px;font-size:14px;line-height:1.35;font-weight:650;letter-spacing:-.008em;gap:8px;white-space:normal;text-align:center;box-shadow:none!important;transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .15s ease}
.btn:hover{transform:none}
.btn:active{transform:scale(.988)}
.btn.primary{background:var(--m-wine);border:1px solid var(--m-wine);color:white}
.btn.primary:hover{background:#67304e}
.btn.ghost{background:white;color:var(--m-wine);border:1px solid #cabfc7}
.btn.ghost:hover{background:#faf6f8;border-color:#a98399}
.btn.soft,.btn.rose{background:var(--m-wash);color:var(--m-wine);border:1px solid #ecd5e1}
.btn.danger{background:#fff0f1;color:#982741;border:1px solid #f2cbd2}
.btn.light{background:white;color:var(--m-wine)}
.btn.sm{min-height:44px;padding:9px 15px;border-radius:var(--m-pill);font-size:13px;line-height:1.25}
.btn.block{display:flex;width:100%}
.brand{font-family:var(--m-display);font-size:42px;font-weight:750;letter-spacing:-.105em;line-height:1;color:var(--m-wine)}
.brand span{color:var(--m-berry)}
.brand.huge{font-size:58px}
label{color:#50424e;font-size:14px;line-height:1.4;font-weight:650;margin-bottom:8px}
input,textarea,select{min-height:48px;padding:12px 15px;border:1px solid #bdb6bf;border-radius:var(--m-rad-sm);background:#fff;color:var(--m-ink);font-size:16px;line-height:1.5;box-shadow:none;transition:border-color .14s ease,box-shadow .14s ease}
input::placeholder,textarea::placeholder{color:#706976;opacity:1}
input:focus,textarea:focus,select:focus{border-color:var(--m-focus);box-shadow:0 0 0 3px rgba(158,67,118,.14)}
input[type=file]{width:100%;height:auto;min-height:52px;padding:11px;font-size:14px}
input[type=file]::file-selector-button{font:650 13px var(--m-font);background:#eee6eb;color:var(--m-wine);padding:9px 12px;border:0;border-radius:9px;margin-right:12px}
input[type=checkbox]{accent-color:var(--m-wine)}
textarea{min-height:112px;resize:vertical}
select{appearance:auto}
form .field{margin-bottom:20px}
.form-grid{gap:0 22px}
.form-grid .field{min-width:0}
.login{grid-template-columns:minmax(0,1fr) minmax(410px,.88fr);min-height:100dvh}
.login-art{padding:clamp(32px,5vw,68px);background:#401b33;position:relative;min-height:650px}
.login-art:before,.login-art:after{display:none}
.login-art:before{content:"";display:block;position:absolute;inset:auto -13% -28% auto;width:65%;aspect-ratio:1;border:1px solid rgba(255,255,255,.09);border-radius:50%}
.login-art .brand{color:white}
.login-art h1{font-size:clamp(47px,5.5vw,78px);color:white;max-width:560px;letter-spacing:-.055em;font-weight:650;line-height:1.045}
.login-art h1 em{font-weight:500;color:#f8c8de}
.login-art p{color:#f0dce7;font-size:17px;max-width:520px;line-height:1.55}
.login-art .motto{color:#edd7e3;font-size:12px;letter-spacing:.02em;text-transform:none;line-height:1.6}
.login-form{padding:56px clamp(30px,6vw,94px);background:#fff}
.login-form .inner{max-width:440px}
.login-form h2{font-family:var(--m-display);font-size:clamp(30px,3vw,39px);font-weight:650;letter-spacing:-.04em;margin:12px 0 12px}
.login-form p{font-size:15px;line-height:1.6}
.login-tabs{margin:26px 0 28px;padding:5px;border:1px solid #e3dbe0;border-radius:var(--m-pill);background:#f6f3f5;gap:4px}
.login-tabs button{min-height:44px;border-radius:var(--m-pill);font-size:14px;color:#645261;font-weight:600}
.login-tabs button.active{box-shadow:0 1px 4px rgba(50,24,43,.1);background:white;color:var(--m-wine)}
.topbar{height:76px;position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);border-bottom:1px solid var(--m-line);-webkit-backdrop-filter:saturate(145%) blur(14px);backdrop-filter:saturate(145%) blur(14px)}
.topin{max-width:1360px;padding:0 32px}
.logo-wrap{gap:15px}
.logo-wrap .brand{font-size:39px}
.tagline{text-transform:none;letter-spacing:0;color:#6c5865;font-size:13px;font-weight:550;border-left:1px solid var(--m-line)}
.avatar{height:38px;width:38px;background:#f4e6ee;color:#693450;font-size:15px;font-weight:650}
.topin .small{font-size:14px}
.topbar .btn.sm{min-height:41px}
.main{max-width:1360px;padding:clamp(24px,3vw,44px) 32px 96px}
.pagehead{margin:10px 0 28px;align-items:center}
.pagehead h1{margin:9px 0 12px;font-size:clamp(31px,3.7vw,48px)}
.pagehead p{font-size:16px;max-width:710px}
.pagehead .btn{flex-shrink:0}
.kicker{color:#80385f}
.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0 32px}
.stat{border:1px solid var(--m-line);border-radius:var(--m-rad);background:#fff;box-shadow:none;padding:22px 23px;min-width:0;display:flex;flex-direction:column;min-height:118px;justify-content:space-between}
.stat small{color:#615865;font-size:13px;font-weight:550;text-transform:none;letter-spacing:0}
.stat strong{margin-top:12px;font:650 clamp(25px,2.5vw,34px)/1.13 var(--m-display);letter-spacing:-.045em;color:var(--m-ink);font-variant-numeric:tabular-nums}
.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.event{border-radius:var(--m-rad-lg);border:1px solid var(--m-line);background:white;box-shadow:none;transition:border-color .17s ease,box-shadow .17s ease;min-width:0}
.event:hover{transform:none;border-color:#cfc3cd;box-shadow:var(--m-shadow)}
.event-cover{height:230px;padding:19px;background:#503048}
.event-cover .event-image{object-fit:cover;filter:brightness(.79)}
.event-cover:after{display:none!important}
.event-cover .eyebrow{font-size:12px;letter-spacing:.05em;color:#fff!important;font-weight:650}
.event-cover .date{font:650 24px var(--m-display);letter-spacing:-.03em;bottom:19px;left:19px;color:white}
.event-body{padding:23px;gap:10px}
.event-body h3{font:650 22px/1.23 var(--m-display);letter-spacing:-.033em;min-height:0}
.event-body p{font-size:14px;line-height:1.5;margin:0;color:var(--m-secondary)}
.event-body .bottom{margin-top:auto;padding-top:13px}
.pill{font-size:12px;font-weight:650;line-height:1.3;padding:7px 12px;min-height:28px;border-radius:var(--m-pill);border:1px solid transparent;letter-spacing:0}
.pill.gray{background:#f0eef1;color:#514e55;border-color:#e6e1e8}
.pill.green{color:#17613e;background:#e7f5ed;border-color:#c8e8d5}
.pill.pink{color:#7b2753;background:#f7e7ef;border-color:#e9c9d9}
.pill.amber{color:#785017;background:#fff3df;border-color:#edd6b4}
.pill.red{color:#972d4a;background:#ffedf1;border-color:#eec9d3}
.panel{background:#fff;border:1px solid var(--m-line);border-radius:var(--m-rad-lg);padding:clamp(22px,2.5vw,32px);box-shadow:none;min-width:0}
.panel h2{font-size:clamp(22px,2vw,27px)}
.panel-heading{align-items:center;margin-bottom:21px;flex-wrap:wrap}
.panel-heading .subhead{margin-bottom:3px}
.details-grid{grid-template-columns:minmax(0,1.48fr) minmax(265px,.7fr);gap:18px;align-items:start}
.details-grid>aside{position:sticky;top:96px}
.divider{height:1px;background:var(--m-line);margin:22px 0}
.progress{height:7px;border-radius:8px;background:#f0e6ec}
.progress>div{background:#9b416e}
.action-tabs{gap:5px;border-bottom:1px solid var(--m-line);margin:18px 0 24px;padding-bottom:4px}
.action-tabs button{font-size:14px;font-weight:650;letter-spacing:0;color:#5d5661;min-height:48px;padding:11px 17px;border-radius:11px 11px 0 0}
.action-tabs button.selected{background:#f7e9f0;color:var(--m-wine);box-shadow:inset 0 -2px var(--m-wine)}
.action-card{border:1px solid #e3dfe5;background:white;border-radius:var(--m-rad);padding:23px;margin-top:14px}
.action-card h3{font-size:20px;letter-spacing:-.025em}
.action-card p{font-size:15px;color:var(--m-secondary);line-height:1.55}
.action-locked{opacity:1;background:#faf9fa;border-style:solid}
.action-locked h3{color:#58525a}
.action-card-header{align-items:center;gap:12px}
.action-card-header .subhead{color:#745367}
.action-delivery{border-top:1px solid var(--m-line);margin-top:20px;padding-top:19px}
.action-delivery>label:not(.action-confirm){font-size:14px;color:#38333b}
.action-confirm{border-radius:var(--m-rad-sm);background:#f9f1f5;border:1px solid #e8d6e1;color:#432c3c;font-size:14px;line-height:1.5;padding:14px 15px}
.action-confirm input{width:21px;height:21px;flex-basis:21px}
.action-proof{margin:18px 0}
.ticket-link{min-height:48px;margin:16px 0 0}
.admin-layout{grid-template-columns:230px minmax(0,1fr);gap:24px}
.side{top:100px;padding:8px 8px 8px 0;display:flex;flex-direction:column;gap:5px}
.side button{min-height:49px;padding:13px 17px;margin:0;font-size:14px;font-weight:600;color:#5a5360;border-radius:13px;gap:10px}
.side button:hover{background:#f0ebef}
.side button.selected{background:#f1e4eb;color:var(--m-wine);font-weight:700}
.side .nav-symbol{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:inherit}
.content{min-width:0}
.toolbar{margin:19px 0;gap:13px}
.toolbar input{max-width:380px}
.table-wrap{border:1px solid var(--m-line);border-radius:var(--m-rad);overflow:auto;box-shadow:none}
table{border-collapse:collapse;min-width:620px}
th,td{padding:17px 16px;border-bottom:1px solid #eeebef;text-align:left}
th{font-size:12px;letter-spacing:0;text-transform:none;font-weight:650;color:#605965;background:#fbfafb}
td{font-size:14px;color:#353039;line-height:1.5}
td b{font-weight:650}
tr:hover td{background:#fcfafb}
td .actions{gap:8px;align-items:center}
.empty{background:#fff;border:1px solid var(--m-line);padding:44px 24px;border-radius:var(--m-rad-lg);color:var(--m-secondary);text-align:center}
.empty h3{font-size:21px}
.empty p{font-size:15px}
.pink-note{background:#f7edf3;border:1px solid #ead9e3;color:#613d54;border-radius:var(--m-rad-sm);padding:18px 20px;line-height:1.6;font-size:14px}
.status-grid{gap:8px}
.form-grid{gap:0 20px}
.proofs{gap:14px}
.proof{padding:19px;background:white;border:1px solid var(--m-line);border-radius:var(--m-rad)}
.proof img{border-radius:var(--m-rad-sm);background:#f6f1f4}
.drawer{background:rgba(21,14,21,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);padding:24px;overscroll-behavior:contain}
.modal{width:min(640px,100%);padding:32px;background:white;border-radius:var(--m-rad-lg);box-shadow:0 22px 74px rgba(20,13,19,.23);max-height:min(90vh,900px);max-height:min(90dvh,900px)}
.modal.large{width:min(900px,100%)}
.modal h2{font-size:clamp(26px,2.6vw,33px);margin:7px 0 19px}
.close{width:44px;height:44px;display:grid;place-items:center;background:#f3eef1;color:#493746;border-radius:var(--m-pill);font-size:23px;float:right}
.toast{background:#322231;color:white;padding:15px 20px;border-radius:var(--m-rad-sm);font-size:14px;line-height:1.5;box-shadow:0 10px 24px #20101a24;right:20px;bottom:20px}
.consent{display:flex;gap:12px;font-size:14px;line-height:1.5;color:#43323d}
.consent input{min-height:21px;height:21px;width:21px;flex:0 0 21px;accent-color:var(--m-wine)}
.login-form .consent{font-size:14px}
.boot{min-height:100dvh;color:#494149;font-size:15px}
.boot .brand{color:var(--m-wine)}
@media(min-width:1500px){.main,.topin{max-width:1380px}}
@media(max-width:1120px){
 .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .details-grid{grid-template-columns:minmax(0,1fr)}
 .details-grid>aside{position:static}
 .admin-layout{grid-template-columns:195px minmax(0,1fr);gap:14px}
 .side{top:95px}
}
@media(max-width:800px){
 .main{padding:26px 22px 94px}
 .topin{padding:0 22px}
 .admin-layout{display:block}
 .side{display:flex;flex-direction:row;position:sticky;top:72px;z-index:24;gap:5px;overflow-x:auto;overflow-y:hidden;margin:0 -22px 24px;padding:8px 22px;background:#f7f6f8;border-bottom:1px solid var(--m-line);scrollbar-width:none}
 .side::-webkit-scrollbar{display:none}
 .side button{width:auto;min-height:46px;white-space:nowrap;flex-shrink:0;padding:10px 14px}
 .content{width:100%}
 .modal{max-height:calc(100dvh - 32px)}
}
@media(max-width:600px){
 body{font-size:16px}
 .login{display:flex;flex-direction:column}
 .login-art{min-height:0;padding:23px 24px 26px;gap:16px}
 .login-art .brand{font-size:36px}
 .login-art h1{font-size:clamp(33px,8.8vw,44px);margin:5px 0 6px;line-height:1.1}
 .login-art p{font-size:14px;margin:0;max-width:450px;line-height:1.45}
 .login-art .motto{display:none}
 .login-form{padding:30px 24px max(42px,env(safe-area-inset-bottom));min-height:0}
 .login-form .inner{max-width:none}
 .login-form h2{font-size:29px}
 .login-form p{font-size:15px}
 .login-tabs{margin:22px 0}
 .login-tabs button{font-size:14px;min-height:46px}
 .topbar{height:69px}
 .topin{padding:0 18px}
 .topin .small{display:none}
 .tagline{display:none}
 .main{padding:22px 17px max(80px,calc(68px + env(safe-area-inset-bottom)))}
 .pagehead{align-items:flex-start;flex-direction:column;gap:17px;margin:8px 0 23px}
 .pagehead h1{font-size:34px;margin-bottom:7px}
 .pagehead p{font-size:15px}
 .pagehead .btn{width:100%}
 .stats{gap:10px;margin:17px 0 27px}
 .stat{padding:17px;min-height:112px;border-radius:16px}
 .stat small{font-size:12px}
 .stat strong{font-size:28px}
 .cards{grid-template-columns:1fr;gap:16px}
 .event-cover{height:208px}
 .event-body{padding:21px}
 .event-body h3{font-size:22px}
 .panel{padding:21px 18px;border-radius:18px}
 .panel-heading{align-items:flex-start}
 .details-grid{gap:13px}
 .action-card{padding:18px}
 .action-card h3{font-size:19px}
 .action-card-header{align-items:flex-start}
 .action-tabs{margin:16px 0 20px}
 .action-tabs button{font-size:13px;min-height:48px;line-height:1.4;flex:1;padding:9px 11px}
 .form-grid{grid-template-columns:1fr;gap:0}
 .form-grid .full{grid-column:auto}
 .proofs{grid-template-columns:1fr}
 .drawer{padding:12px;align-items:flex-end}
 .modal{border-radius:24px 24px 15px 15px;max-height:calc(100dvh - 20px);padding:25px 20px max(24px,env(safe-area-inset-bottom))}
 .modal.large{width:100%}
 .side{top:68px;margin:0 -17px 20px;padding:9px 17px}
 .toolbar{align-items:stretch}
 .toolbar input{max-width:none}
 .toolbar .flex{width:100%;gap:8px}
 .toolbar .btn{flex:1}
 .toast{bottom:max(18px,env(safe-area-inset-bottom));left:14px;right:14px;max-width:none}
 .login-art:before{display:none}
}
@media(max-width:360px){
 .stat{padding:13px;min-height:104px}
 .stat strong{font-size:24px}
 .event-cover{height:180px}
 .main{padding-left:14px;padding-right:14px}
 .side{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
@media(prefers-contrast:more){
 :root{--m-secondary:#38343b;--m-line:#aaa0aa;--muted:#38343b}
 .panel,.event,.stat,.table-wrap{border-color:#aaa0aa}
}

/* Accessibility and page navigation */
.skip-link{position:fixed;left:16px;top:-80px;z-index:999;background:#fff;color:#40142e;border:2px solid #40142e;border-radius:12px;padding:12px 18px;font-weight:650;text-decoration:none}
.skip-link:focus{top:12px}
.login-form{scroll-margin-top:80px}
#main-content{scroll-margin-top:98px}
.table-wrap:focus-visible{outline:3px solid var(--m-focus);outline-offset:3px}
.side button[aria-current=page]{background:#f1e4eb;color:var(--m-wine)}
input[type=search]{appearance:none;-webkit-appearance:none}
.action-tabs button:focus-visible,.side button:focus-visible{outline-offset:-1px}
@media(prefers-reduced-transparency:reduce){
 .topbar{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
 .drawer{backdrop-filter:none;-webkit-backdrop-filter:none}
}

/* Member navigation: events and consolidated actions for the current day */
.member-nav-shell{background:#fff;border-bottom:1px solid var(--m-line)}
.member-nav{max-width:1360px;margin:0 auto;display:flex;gap:8px;align-items:center;padding:11px 32px}
.member-nav button{font:650 15px/1.35 var(--m-font);min-height:48px;padding:10px 21px;display:inline-flex;align-items:center;gap:10px;background:transparent;border:1px solid transparent;color:#55505b;border-radius:999px;cursor:pointer;transition:background .14s ease,border-color .14s ease}
.member-nav button:hover{background:#f6f2f5}
.member-nav button.selected{background:var(--m-wine);border-color:var(--m-wine);color:#fff}
.member-nav-count{min-width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;padding:2px 7px;border-radius:999px;background:#ede6eb;color:#53344b;font-size:12px;font-variant-numeric:tabular-nums;font-weight:700}
.member-nav .selected .member-nav-count{background:rgba(255,255,255,.2);color:#fff}
.daily-summary{font-size:14px;color:#625767;margin:0 0 20px;background:#fff;border:1px solid var(--m-line);border-radius:14px;padding:15px 18px}
.daily-summary strong{font-size:17px;color:var(--m-wine);font-weight:700;font-variant-numeric:tabular-nums}
.day-groups{display:grid;gap:18px}
.day-event{padding:22px 25px 26px}
.day-event-head{display:flex;align-items:center;gap:17px;padding-bottom:18px;border-bottom:1px solid var(--m-line)}
.day-event-cover,.day-event-fallback{height:82px;width:72px;flex:none;border-radius:11px;object-fit:cover;background:#4b1e38}
.day-event-fallback{display:flex;align-items:center;justify-content:center;color:white;font-weight:700;font-size:25px;letter-spacing:-.06em}
.day-event-meta{min-width:0;flex:1}
.day-event-meta h2{font-size:22px;margin:5px 0 4px;line-height:1.22}
.day-event-meta p{font-size:14px;margin:0}
.day-event-head .btn{min-width:120px}
.day-event-actions .action-card:first-child{margin-top:20px}
.day-empty{padding:45px 26px}
.day-empty h2{font-size:23px;margin-bottom:12px}
.day-empty .btn{margin-top:10px}
@media(max-width:800px){.member-nav{padding:10px 22px}}
@media(max-width:600px){
 .member-nav{gap:9px;padding:10px 17px}
 .member-nav button{min-height:48px;flex:1;justify-content:center;padding:9px 11px;font-size:14px}
 .day-event{padding:18px}
 .day-event-head{display:grid;grid-template-columns:63px minmax(0,1fr);gap:11px}
 .day-event-cover,.day-event-fallback{height:74px;width:63px;grid-row:span 1}
 .day-event-meta h2{font-size:19px}
 .day-event-head .btn{grid-column:1/-1;min-width:0;width:100%}
 .daily-summary{padding:14px 16px}
 .day-empty{padding:34px 20px}
}

/* Event artwork must remain artwork: date and status live on solid surfaces outside it. */
.event-cover.event-cover--poster,
.event-cover.event-cover--placeholder{
  height:auto;
  aspect-ratio:16 / 9;
  padding:0;
  overflow:hidden;
  position:relative;
}
.event-cover.event-cover--poster{background:#20151d}
.event-cover.event-cover--poster .event-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:none;
  z-index:1;
}
.event-cover.event-cover--placeholder{
  display:flex;
  justify-content:center;
  align-items:center;
  background:linear-gradient(132deg,#56213e,#331224);
}
.event-cover-monogram{font:750 clamp(62px,8vw,95px)/1 var(--m-display);letter-spacing:-.10em;color:#fff}
.event-cover-monogram span{color:#ef9fc5}
.event-body .event-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  column-gap:10px;
  row-gap:10px;
  min-height:36px;
}
.event-date-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:6px 12px;
  border:1px solid #e5d8e0;
  border-radius:11px;
  background:#f8f1f5;
  color:#56213e;
  font:700 14px/1.3 var(--m-font);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  text-transform:lowercase;
}
.event-meta-row .pill{margin:0}
.event-body h3{overflow-wrap:anywhere}
@media(max-width:600px){
  .event-cover.event-cover--poster,.event-cover.event-cover--placeholder{
    height:auto;
    aspect-ratio:16 / 9;
  }
  .event-meta-row .event-date-label{min-height:36px}
}

/* Official MUSE wordmark. Fixed visual scale across device sizes. */
.brand-mark{display:block;width:auto;height:auto;max-width:100%;aspect-ratio:1149/249;object-fit:contain;flex:0 0 auto}
.brand-mark-header{width:112px;height:24px}
.brand-mark-login{width:152px;height:33px}
.brand-mark-loader{width:150px;height:33px}
.brand-mark-event{width:156px;height:34px;max-width:65%;max-height:45px}
.logo-wrap{min-width:0;align-items:center}
.login-art>.brand-mark-login{align-self:flex-start}
.boot>.brand-mark-loader{margin-bottom:10px}
@media(max-width:600px){
 .brand-mark-header{width:100px;height:22px}
 .brand-mark-login{width:138px;height:30px}
 .brand-mark-event{width:138px;height:30px}
 .topin .logo-wrap{gap:10px}
}

/* MUSE PASSAPORTE — personal progression, collectible stamps and private club status */
.passport-main{padding-top:29px}
.passport-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(25px,3.5vw,45px);border-radius:28px;color:#fff;background:radial-gradient(ellipse at 95% 0%,#874268 0%,transparent 36%),linear-gradient(126deg,#381528,#591f42 70%,#3c182e);box-shadow:0 20px 45px #401a3220}
.passport-hero:before{content:"";position:absolute;width:280px;height:280px;right:-90px;bottom:-165px;border:1px solid #ffffff22;border-radius:50%;pointer-events:none}
.passport-hero:after{content:"";position:absolute;width:440px;height:440px;right:-200px;bottom:-250px;border:1px solid #ffffff14;border-radius:50%;pointer-events:none}
.passport-hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;position:relative;z-index:1}
.passport-hero-top h1{font-size:clamp(31px,4vw,49px);color:#fff;margin:9px 0 10px;letter-spacing:-.05em}
.passport-fullstop{color:#eeaacd}
.passport-hero-top p,.passport-identity p{color:#e9d3df;font-size:15px;line-height:1.5}
.passport-eyebrow{font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#f5bfd9}
.passport-hero-logo{width:112px;height:auto;object-fit:contain;opacity:.85;max-width:29%;margin-top:3px}
.passport-hero-main{display:grid;grid-template-columns:185px minmax(0,1fr);align-items:center;gap:36px;margin:37px 0 27px;position:relative;z-index:1}
.passport-ring{width:176px;height:176px;border-radius:50%;padding:11px;background:conic-gradient(#e9a2c5 var(--ring),#ffffff26 var(--ring));box-shadow:0 0 0 1px #ffffff25}
.passport-ring-inner{height:100%;width:100%;border-radius:50%;background:#461b35;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #ffffff23}
.passport-ring-inner strong{font:650 57px/1 var(--m-display);letter-spacing:-.07em;color:white;font-variant-numeric:tabular-nums}
.passport-ring-inner small{font-size:13px;color:#f8d6e8;font-weight:600}
.passport-ring-star{font-size:18px;color:#f5bbd6;margin-bottom:7px}
.passport-identity{min-width:0}
.passport-tag{display:inline-block;border:1px solid #ffffff50;color:#f2d5e5;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:700;letter-spacing:.015em}
.passport-identity h2{color:white;font-size:clamp(32px,4.4vw,55px);font-weight:680;margin:7px 0 2px;letter-spacing:-.045em;text-transform:lowercase}
.passport-identity p{margin:0 0 21px}
.passport-xp{display:flex;align-items:baseline;gap:10px}
.passport-xp strong{font:650 33px/1.1 var(--m-display);color:white;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.passport-xp span{font-size:13px;color:#eed4e0}
.passport-next{margin-top:21px;max-width:470px}
.passport-next-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#f6dce9;font-size:12px;margin-bottom:10px}
.passport-next-head strong{color:white;font-weight:650}
.passport-track{height:9px;border-radius:999px;background:#ffffff28;overflow:hidden}
.passport-track span{display:block;background:linear-gradient(90deg,#d56a9e,#f6b4d5);height:100%;border-radius:999px;transition:width .6s ease}
.passport-hero-footer{position:relative;z-index:1;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #ffffff2b;padding-top:16px;color:#f0d8e5;font-size:12px}
.passport-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:16px 0 27px}
.passport-stat{background:#fff;border:1px solid var(--m-line);border-radius:17px;padding:19px 18px;display:flex;flex-direction:column;gap:8px;min-width:0}
.passport-stat strong{color:#4c1c38;font-size:27px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums}
.passport-stat span{font-size:13px;line-height:1.45;color:#5c5561}
.passport-sections{display:grid;grid-template-columns:minmax(275px,.86fr) minmax(0,1.4fr);gap:20px;align-items:start}
.passport-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:24px}
.passport-section-heading h2{font-size:clamp(21px,2.3vw,28px);margin:7px 0}
.passport-section-heading p{font-size:14px;margin:0}
.passport-section-heading .pill{flex-shrink:0}
.passport-quest{background:#fff}
.passport-quest-emblem{width:52px;height:52px;flex:none;display:grid;place-items:center;background:#f9e9f1;border:1px solid #edd2e1;border-radius:17px;font-size:33px;color:#9b3d6e}
.passport-week-line{display:flex;justify-content:space-between;gap:13px;color:#5c5360;font-size:13px;margin:24px 0 12px}
.passport-week-line strong{color:#4e203b;font-variant-numeric:tabular-nums}
.quest-track{background:#f2e7ed;height:10px}
.quest-track span{background:linear-gradient(90deg,#8b3663,#c65a92)}
.passport-quest-note{font-size:13px;margin:15px 0 23px}
.passport-collection{background:white;border:1px solid var(--m-line);border-radius:24px;padding:clamp(21px,2.6vw,32px)}
.passport-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.passport-badge{border:1px solid #e6dfe5;border-radius:17px;padding:16px;display:flex;gap:13px;min-height:134px;background:#fff;min-width:0}
.passport-badge.earned{background:#fbf2f7;border-color:#eacbdd}
.passport-badge-icon{width:54px;height:54px;border-radius:15px;background:#f5f1f4;color:#7e6f7a;display:grid;place-items:center;font-size:29px;flex:0 0 54px}
.passport-badge.earned .passport-badge-icon{background:#682849;color:#f9c3e0}
.passport-badge-info{flex:1;min-width:0}
.passport-badge-top{margin-bottom:6px}
.passport-earned,.passport-incomplete{font-size:11px;font-weight:700;letter-spacing:.01em}
.passport-earned{color:#703050}.passport-incomplete{color:#655963}
.passport-badge h3{font-size:16px;letter-spacing:-.02em;margin:3px 0 5px}
.passport-badge p{font-size:12px;line-height:1.45;margin:0}
.passport-badge-progress{height:5px;background:#eee5eb;border-radius:999px;overflow:hidden;margin-top:12px}
.passport-badge-progress div{height:100%;background:#a14475;border-radius:999px}
.passport-badge small{display:block;margin-top:4px;color:#6b5f69;font-size:11px}
.passport-footer-note{display:flex;gap:12px;background:#f2eef1;border:1px solid #e5dfe5;border-radius:15px;margin-top:22px;padding:16px 20px;align-items:flex-start}
.passport-footer-note>span{font-size:20px;color:#733555}
.passport-footer-note p{font-size:13px;margin:0}
.passport-teaser{margin:22px 0 30px;background:#54213d;border-radius:20px;padding:22px 25px;display:flex;justify-content:space-between;align-items:center;gap:17px}
.passport-teaser-eyebrow{font-size:12px;color:#f3b4d6;letter-spacing:.04em;font-weight:700}
.passport-teaser h2{color:white;font-size:22px;margin:6px 0 4px;text-transform:lowercase}
.passport-teaser p{font-size:13px;color:#f3dbe7;margin:0}
.passport-teaser .btn{flex-shrink:0}
@media(max-width:1024px){
 .passport-sections{grid-template-columns:1fr}
 .passport-hero-main{grid-template-columns:170px minmax(0,1fr);gap:22px}
}
@media(max-width:700px){
 .passport-main{padding-top:20px}
 .passport-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .passport-hero{padding:24px 20px;border-radius:22px}
 .passport-hero-main{grid-template-columns:120px minmax(0,1fr);gap:16px;margin:25px 0}
 .passport-ring{width:116px;height:116px;padding:7px}
 .passport-ring-inner strong{font-size:39px}
 .passport-ring-inner small{font-size:11px}
 .passport-ring-star{font-size:12px;margin-bottom:2px}
 .passport-hero-top h1{font-size:31px}
 .passport-hero-top p{font-size:13px}
 .passport-hero-logo{width:86px}
 .passport-identity h2{font-size:29px}
 .passport-xp strong{font-size:25px}
 .passport-next-head{font-size:11px}
 .passport-stats .passport-stat{padding:16px}
 .passport-badges{grid-template-columns:1fr}
 .passport-badge{min-height:104px}
 .passport-teaser{padding:20px;flex-direction:column;align-items:stretch}
 .passport-teaser .btn{width:100%}
 .member-nav button{font-size:13px;padding:8px 7px;gap:5px}
 .member-nav-count{min-width:22px;height:22px;padding:2px 6px}
}
@media(max-width:380px){
 .passport-hero-main{grid-template-columns:1fr;justify-items:start}
 .passport-ring{width:110px;height:110px}
 .passport-hero-footer{font-size:11px}
 .passport-hero-logo{width:75px}
 .member-nav button{font-size:12px;padding:9px 4px}
}
@media(prefers-reduced-motion:reduce){.passport-track span{transition:none}}

/* ACTION TIMELINE — mobile-first; future actions remain static and non-interactive. */
.event-detail-main .pagehead{margin-top:21px}
.event-actions-panel{overflow:hidden}
.event-actions-head{gap:16px}
.event-action-description{font-size:15px;line-height:1.62;max-width:70ch}
.event-action-stats{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}
.event-action-stats span{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;font-size:12px;font-weight:650;color:#594453;border-radius:999px;background:#f6eef2;border:1px solid #eee0e8}
.event-action-list{display:grid;gap:12px;margin-top:21px}
.event-action-item{margin-top:0;min-width:0;padding:21px 22px;border-radius:17px}
.event-action-item .action-card-header{align-items:center;gap:13px}
.event-action-item .action-title-group{min-width:0;flex:1}
.event-action-item .action-date{font-size:12px;font-weight:650;color:#60545e}
.event-action-item .action-title-group h3{font-size:19px;line-height:1.32;margin:7px 0 0;overflow-wrap:anywhere}
.event-action-item .pill{white-space:normal;text-align:center;flex-shrink:0}
.event-action-item.action-locked{background:#f9f7f9;border-color:#e7e1e7;box-shadow:none;cursor:default}
.event-action-item.action-locked h3{color:#625a62}
.event-action-item.action-locked .action-title-group{opacity:.91}
.action-locked-note{display:flex;gap:11px;align-items:flex-start;margin-top:12px}
.action-locked-note p{margin:0;font-size:13px;line-height:1.6;color:#625967}
.action-lock-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:27px;height:27px;border:1px solid #e6dce3;background:white;border-radius:9px;color:#6a5664;font-size:14px}
.action-unlock-label{display:inline-flex;align-items:center;gap:6px;font-size:12px!important;font-weight:700;color:#7a3158!important;background:#f9eef4;border-radius:8px;padding:7px 11px;margin:14px 0 3px!important}
.event-action-item .action-delivery{margin-top:15px}
.event-action-item .action-confirm{margin:15px 0}
.action-register-prompt{margin-top:15px;padding:14px;border:1px solid #ecd4df;background:#fcf4f8;border-radius:13px}
.action-register-prompt p{font-size:13px;margin:0 0 12px}
.action-register-prompt .btn{width:100%}
.action-complete-note{font-weight:650;font-size:14px;color:#236a4c;margin-top:13px;padding:13px 15px;border-radius:12px;background:#eaf7ef}
.event-participation{min-width:0}
.event-participation .ticket-link{max-width:100%}
.day-event .action-locked{pointer-events:none}
@media(max-width:950px){
 .event-details-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .event-participation{position:static!important}
}
@media(max-width:600px){
 .event-detail-main{padding-top:18px}
 .event-detail-main>.btn.ghost{min-height:44px;max-width:150px}
 .event-detail-main .pagehead{margin-top:20px}
 .event-detail-main .pagehead h1{font-size:clamp(27px,7vw,34px);letter-spacing:-.04em;line-height:1.19}
 .event-detail-main .action-tabs{margin:18px 0 17px;gap:7px}
 .event-detail-main .action-tabs button{padding:12px 9px;min-height:48px}
 .event-actions-panel{padding:20px 15px}
 .event-action-description{font-size:14px}
 .event-action-stats{gap:7px}
 .event-action-stats span{font-size:11px;padding:6px 10px}
 .event-action-list{gap:11px}
 .event-action-item{padding:17px 15px;border-radius:15px}
 .event-action-item .action-card-header{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .event-action-item .action-card-header>.pill{align-self:flex-start;max-width:100%}
 .event-action-item .action-title-group h3{font-size:18px;line-height:1.35}
 .event-action-item .action-date{font-size:12px}
 .event-action-item .action-delivery>label:not(.action-confirm){display:block;font-size:13px}
 .event-action-item input[type=file]{font-size:13px;max-width:100%}
 .event-action-item .action-confirm{font-size:13px;padding:14px 12px;gap:10px}
 .event-action-item .btn.block{min-height:50px}
 .event-participation{padding:21px 17px}
}

/* MUSE Analytics — private first-party monitoring, editorial dashboard */
.analytics-view{min-width:0;max-width:100%;padding-bottom:40px}
.analytics-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:5px 0 17px}
.analytics-head h1{font-size:clamp(33px,4vw,52px);margin:8px 0 8px;letter-spacing:-.05em}
.analytics-head h1 span{color:#be6192}
.analytics-head p{margin:0;font-size:14px}
.analytics-head .btn{flex-shrink:0}
.analytics-update{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:21px;font-size:12px;color:#645a65;font-weight:550}
.analytics-update-dot,.analytics-live-dot{display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:#259b6f;box-shadow:0 0 0 3px #2eac7540}
.analytics-update>span:last-child{font-weight:400}
.analytics-priority{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.42fr);gap:14px;margin-bottom:19px}
.analytics-live-card{display:flex;flex-direction:column;min-width:0;padding:27px 30px 22px;border-radius:23px;background:radial-gradient(ellipse at 110% -30%,#a55d89 0%,transparent 54%),linear-gradient(130deg,#5b2343,#341626);color:#fff;position:relative;overflow:hidden;box-shadow:0 12px 32px #4c1c3820}
.analytics-live-card:after{content:"";pointer-events:none;position:absolute;right:-74px;top:65px;width:205px;height:205px;border:1px solid #ffffff20;border-radius:50%}
.analytics-live-top{display:flex;align-items:center;gap:11px;color:#f5d9e8;font-size:12px;font-weight:650;letter-spacing:.01em}
.analytics-live-pulse{margin-left:auto;border:1px solid #ffffff5a;border-radius:999px;padding:3px 9px;color:#fcf0f7;font-size:10px;letter-spacing:.1em}
.analytics-live-number{font-size:clamp(65px,7vw,100px);letter-spacing:-.075em;line-height:1.08;color:#fff;font-weight:680;margin-top:21px;font-variant-numeric:tabular-nums}
.analytics-live-title{font-size:19px;font-weight:660;color:white;letter-spacing:-.025em}
.analytics-live-card p{font-size:13px;color:#f2d9e8;line-height:1.55;margin:12px 0 24px;max-width:260px}
.analytics-live-bottom{border-top:1px solid #ffffff38;padding-top:15px;margin-top:auto;font-size:12px;color:#fbe7f2;font-weight:600}
.analytics-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.analytics-stat{display:flex;flex-direction:column;gap:7px;padding:21px 23px;min-width:0;border:1px solid #e6dfe5;border-radius:20px;background:#fff;box-shadow:0 8px 22px #2b172609}
.analytics-stat-label{font-size:12px;color:#635966;font-weight:630}
.analytics-stat strong{font-size:clamp(29px,3.2vw,43px);line-height:1.14;font-weight:720;color:#51223e;letter-spacing:-.055em;font-variant-numeric:tabular-nums}
.analytics-stat-note{font-size:12px;line-height:1.42;color:#716773;margin-top:auto}
.analytics-chart-panel{padding:28px 27px 22px;min-width:0;overflow:hidden}
.analytics-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:19px}
.analytics-panel-head h2{margin:6px 0 7px;font-size:clamp(24px,2.7vw,32px)}
.analytics-panel-head p{font-size:13px;margin:0}
.analytics-metric-switch{display:flex;align-items:center;gap:3px;flex-shrink:0;padding:4px;background:#f3eef2;border-radius:999px}
.analytics-metric-switch button{border:0;border-radius:999px;min-height:37px;padding:8px 15px;background:transparent;font-weight:650;font-size:12px;color:#675965;cursor:pointer}
.analytics-metric-switch button.selected{background:#54213d;color:white}
.analytics-chart-overline{display:flex;align-items:baseline;gap:11px;margin:24px 0 14px}
.analytics-chart-overline strong{font-size:32px;line-height:1.15;letter-spacing:-.05em;color:#4e1d38;font-variant-numeric:tabular-nums}
.analytics-chart-overline span{font-size:12px;color:#6c616c}
.analytics-chart-scroll{max-width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;scrollbar-color:#d3bcc9 #f8f3f6}
.analytics-bars{height:180px;min-width:650px;display:grid;grid-template-columns:repeat(24,minmax(0,1fr));align-items:end;gap:6px;border-bottom:1px solid #e2dbe1}
.analytics-hour{height:100%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative}
.analytics-hour-value{font-size:10px;color:#65465a;font-variant-numeric:tabular-nums;line-height:15px;min-height:15px}
.analytics-bar-track{height:139px;display:flex;align-items:flex-end;width:100%;justify-content:center}
.analytics-bar{width:100%;max-width:22px;min-height:0;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#c473a0,#6e2c50);transition:height .35s ease}
.analytics-hour:hover .analytics-bar{background:linear-gradient(180deg,#9b4f7a,#48142f)}
.analytics-hour-label{height:22px;font-size:10px;color:#766a74;align-self:center;white-space:nowrap;margin-top:4px}
.analytics-chart-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#736775;font-size:11px;margin:9px 0 0}
.analytics-bottom{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr);gap:16px;margin-top:17px}
.analytics-bottom .panel{padding:26px;min-width:0}
.analytics-bottom h2{font-size:23px;margin:8px 0 21px}
.analytics-perf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px}
.analytics-perf-grid>div{border-bottom:1px solid #eee7ec;padding:0 0 14px;display:flex;flex-direction:column;gap:6px}
.analytics-perf-grid span{color:#68606b;font-size:12px}
.analytics-perf-grid strong{color:#50213d;font-size:24px;font-weight:680;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.analytics-disclaimer{font-size:12px;line-height:1.6;color:#6a606b;margin:20px 0 0}
.analytics-disclaimer a{color:#653051;font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.analytics-community-value{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 0}
.analytics-community-value strong{font-size:27px;color:#562440;font-variant-numeric:tabular-nums}
.analytics-community-value span{font-size:13px;color:#655b67;text-align:right}
.analytics-community-rule{height:1px;background:#ebe4e9;margin:8px 0}
.analytics-honesty{margin-top:19px;font-size:12px;color:#6b626c;padding:15px 18px;background:#f1ecf0;border:1px solid #e9e1e8;border-radius:14px;line-height:1.65}
.analytics-loading{padding:35px}
@media(max-width:1100px){
 .analytics-priority{grid-template-columns:minmax(0,1fr)}
 .analytics-live-card{min-height:245px}
 .analytics-live-number{margin-top:12px}
 .analytics-bottom{grid-template-columns:1fr}
}
@media(max-width:650px){
 .analytics-head{align-items:flex-start;flex-direction:column;gap:14px}
 .analytics-head h1{font-size:34px}
 .analytics-head .btn{align-self:flex-start;min-height:44px}
 .analytics-priority{gap:11px}
 .analytics-live-card{padding:23px 22px;min-height:240px}
 .analytics-live-number{font-size:72px}
 .analytics-stat-grid{gap:9px}
 .analytics-stat{border-radius:16px;padding:18px 15px;min-height:136px}
 .analytics-stat strong{font-size:31px}
 .analytics-stat-label,.analytics-stat-note{font-size:11px}
 .analytics-chart-panel{padding:22px 16px}
 .analytics-panel-head{align-items:flex-start;flex-direction:column;gap:16px}
 .analytics-metric-switch{width:100%;justify-content:space-between}
 .analytics-metric-switch button{flex:1;min-height:44px}
 .analytics-chart-overline{flex-wrap:wrap;gap:7px;margin-top:19px}
 .analytics-bars{min-width:590px}
 .analytics-bottom{gap:11px}
 .analytics-bottom .panel{padding:22px 17px}
 .analytics-perf-grid strong{font-size:21px}
 .analytics-update{font-size:11px}
 .analytics-honesty{padding:13px 14px}
}
@media(prefers-reduced-motion:reduce){.analytics-bar{transition:none}}

/* MUSE Missions — full briefings only when server releases them */
.mission-brief{margin:15px 0 18px;padding:19px 20px;border-radius:18px;background:#faf3f7;border:1px solid #ead6e3;min-width:0}
.mission-brief-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;font-size:12px;font-weight:750;color:#7a3b61;margin-bottom:12px;letter-spacing:.025em}
.mission-instructions{margin:0 0 12px;color:#3d2939;white-space:pre-line;font-size:14px;line-height:1.64}
.mission-mentions{margin:12px 0;color:#4b2940;overflow-wrap:anywhere}
.mission-copy{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;background:white;border:1px solid #e9dae4;border-radius:14px;padding:14px 15px;margin-top:12px}
.mission-copy>div{flex:1;min-width:0}
.mission-copy strong,.mission-materials>strong{display:block;color:#532b44;font-size:12px;margin-bottom:7px}
.mission-copy p{font-size:13px;white-space:pre-line;max-height:180px;overflow-y:auto;overflow-wrap:anywhere;line-height:1.6;margin:0}
.mission-copy .btn{min-width:118px;flex-shrink:0}
.mission-materials{margin-top:15px}
.mission-material-list{display:flex;gap:8px;flex-wrap:wrap}
.mission-asset-link{display:inline-flex;align-items:center;padding:10px 14px;margin:8px 8px 0 0;border-radius:999px;min-height:42px;max-width:100%;font-size:12px;font-weight:700;color:#642b50;background:#fff;border:1px solid #debdce;text-decoration:none;overflow-wrap:anywhere;white-space:normal}
.mission-asset-link:hover{background:#f6e2ed;border-color:#af6892}
.muse-bell{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;position:relative;border:1px solid #d7bfd0;background:#fff2f8;border-radius:50%;color:#7b3558;font-size:25px;line-height:1;cursor:pointer;flex-shrink:0}
.muse-bell:hover{background:#f8e4ee}
.muse-bell-count{position:absolute;right:-6px;top:-7px;min-width:20px;height:20px;border-radius:999px;padding:0 5px;display:inline-flex;justify-content:center;align-items:center;background:#a83e72;border:2px solid white;color:white;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}
.muse-notice-main{max-width:1040px}
.muse-notice-main .pagehead{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.muse-dot{color:#b55583}
.muse-notice-list{display:grid;gap:11px;margin:20px 0}
.muse-notice-item{display:flex;gap:15px;border:1px solid #e8dce5;background:white;border-radius:19px;padding:20px 19px;min-width:0}
.muse-notice-item.unread{background:#fff9fc;border-color:#dfbace}
.muse-notice-dot{width:8px;height:8px;border-radius:50%;background:#b15380;margin-top:10px;flex-shrink:0}
.muse-notice-item.read .muse-notice-dot{background:#e2d5de}
.muse-notice-body{flex:1;min-width:0}
.muse-notice-body h3{font-size:18px;line-height:1.3;margin:7px 0 5px}
.muse-notice-body p{font-size:13px;margin:0 0 13px}
.muse-notice-actions{display:flex;flex-wrap:wrap;gap:8px}
.muse-notice-disclaimer{margin-top:22px;color:#706575;font-size:12px}
.review-batch-panel{min-width:0;padding:24px}
.review-batch-panel .panel-heading{align-items:flex-start;gap:14px}
.review-batch-panel .panel-heading p{max-width:480px;font-size:13px;margin:7px 0}
.review-batch-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px;margin:14px 0 22px;border-radius:17px;background:#f9eef4;border:1px solid #ead7e2}
.review-batch-toolbar strong{font-size:14px;color:#522940}
.review-batch-toolbar p{font-size:12px;margin:5px 0 0;max-width:290px}
.review-batch-buttons{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.review-batch-buttons .btn{min-height:42px;font-size:12px}
.review-batch-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.review-batch-card{min-width:0;border:1px solid #e8dce3;border-radius:18px;overflow:hidden;background:white;display:flex;flex-direction:column;transition:border-color .12s ease,box-shadow .12s ease}
.review-batch-card.chosen{border-color:#a54a7b;box-shadow:0 0 0 2px #a54a7b30}
.review-batch-photo{height:180px;position:relative;background:#f0edf0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.review-batch-photo>img{height:100%;width:100%;object-fit:contain}
.review-photo-zoom{position:absolute;right:9px;bottom:9px;min-height:38px;border:1px solid #e7d5e0;border-radius:999px;background:#fff;box-shadow:0 4px 12px #22101d1f;padding:7px 11px;font-size:12px;font-weight:700;color:#69374f;cursor:pointer}
.review-batch-info{padding:15px;flex:1;display:flex;flex-direction:column;gap:5px}
.review-batch-info h3{font-size:16px;margin:2px 0 0;overflow-wrap:anywhere}
.review-batch-info p{font-size:12px;margin:0}
.review-select-button{margin-top:auto;min-height:44px;border-radius:12px;background:#fbf7fa;border:1px solid #decdde;color:#673551;font-weight:750;cursor:pointer;font-size:12px;padding:9px}
.review-select-button.selected{color:#fff;background:#723353;border-color:#723353}
@media(max-width:1150px){
 .review-batch-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .review-batch-toolbar{align-items:stretch;flex-direction:column}
 .review-batch-buttons{justify-content:flex-start}
}
@media(max-width:650px){
 .mission-brief{padding:15px 13px}
 .mission-copy{flex-direction:column;gap:11px}
 .mission-copy .btn{width:100%;min-width:0}
 .mission-asset-link{max-width:100%}
 .muse-notice-main .pagehead{align-items:flex-start;flex-direction:column}
 .muse-notice-item{padding:16px 13px;gap:10px}
 .review-batch-panel{padding:18px 13px}
 .review-batch-gallery{grid-template-columns:1fr;gap:12px}
 .review-batch-photo{height:200px}
 .review-batch-toolbar{padding:13px}
 .review-batch-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .review-batch-buttons .btn{min-width:0;min-height:44px;font-size:11px;padding:8px 7px}
 .muse-bell{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.review-batch-card{transition:none}}

/* MUSE Identity & Access / individual roles, invite, recovery and review */
.identity-inline-link{appearance:none;border:0;background:none;cursor:pointer;color:#803b62;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:3px;padding:5px 0;min-height:40px}
.staff-login-tabs{display:flex;flex-wrap:wrap;gap:4px}
.staff-login-tabs button{font-size:12px;padding:10px 13px;min-height:44px;flex:1}
.identity-team{display:grid;gap:18px;min-width:0}
.identity-team .panel{min-width:0;padding:25px}
.identity-invite-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}
.identity-invite-form .field{min-width:0}
.identity-invite-form .field input,.identity-invite-form .field select{width:100%;min-width:0}
.identity-invite-form>button{min-height:48px}
.identity-staff-list{display:grid;gap:10px;margin-top:17px}
.identity-staff-card{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #ece1e8;padding:15px 18px;border-radius:15px;background:#fffafc}
.identity-staff-card>div{min-width:0}
.identity-staff-card strong{color:#57253e;font-size:16px}
.identity-staff-card p{font-size:13px;margin:4px 0 6px;overflow-wrap:anywhere}
.identity-staff-card .btn{margin-top:9px}
.identity-approval-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:0 0 16px}
.identity-approval-toolbar input{min-width:0;max-width:430px;width:100%;min-height:47px;border-radius:13px;border:1px solid #d9cbd6;background:#fff;padding:11px 14px;font-size:14px}
.identity-team h1{font-size:clamp(29px,4vw,48px)}
@media(max-width:1080px){.identity-invite-form{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-invite-form>button{grid-column:1/-1}}
@media(max-width:650px){.identity-team .panel{padding:18px 14px}.identity-invite-form{grid-template-columns:1fr}.identity-invite-form>button{grid-column:1}.identity-staff-card{align-items:flex-start;flex-direction:column;padding:14px}.identity-approval-toolbar{flex-direction:column;align-items:stretch}.staff-login-tabs button{font-size:11px;padding:8px 8px}}

/* MUSE Notifications 2.0 */
.muse-comms-page{display:grid;gap:20px;min-width:0}
.muse-comms-page .pagehead{display:flex;gap:15px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
.muse-comms-page h1{font-size:clamp(30px,4vw,52px);letter-spacing:-.045em}
.muse-comms-page .panel{padding:25px;min-width:0}
.muse-comms-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.muse-comms-stat{border:1px solid #ead9e3;border-radius:17px;background:#fff8fb;padding:18px;display:grid;gap:10px}
.muse-comms-stat span{font-size:12px;color:#80697b}
.muse-comms-stat strong{color:#54233f;font-size:32px;line-height:1.1;font-variant-numeric:tabular-nums}
.muse-comms-rule-list{display:grid;gap:0;margin-top:20px}
.muse-comms-rule{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0;border-bottom:1px solid #eadde4}
.muse-comms-rule:last-child{border-bottom:0}
.muse-comms-rule>div:first-child{min-width:0;flex:1}
.muse-comms-rule strong{font-size:15px;color:#532342}
.muse-comms-rule p{font-size:12px;line-height:1.6;margin:6px 0 0;max-width:580px;color:#796576}
.muse-comms-rule-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.muse-comms-invite .muse-comms-invite-controls{display:flex;gap:12px;align-items:flex-end;margin:17px 0}
.muse-comms-invite-controls .field{flex:1;min-width:0}
.muse-comms-invite-controls select{width:100%;min-height:48px}
.muse-comms-estimate{background:#f9edf4;border:1px solid #ead1df;border-radius:15px;padding:18px;display:grid;gap:9px}
.muse-comms-estimate strong{color:#60324d}
.muse-comms-estimate p{font-size:13px;margin:0}
.muse-comms-estimate .btn{justify-self:start}
.muse-comms-prefs{margin:18px 0 24px;padding:21px;border:1px solid #ead7e1;background:#fffafc;border-radius:19px}
.muse-comms-prefs h2{font-size:23px;margin:9px 0 5px}
.muse-comms-prefs>p{font-size:13px;margin:0 0 17px;line-height:1.6}
.muse-comms-pref-row{border-top:1px solid #eddce6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0}
.muse-comms-pref-row strong{font-size:14px;color:#562b45}
.muse-comms-pref-row p{font-size:12px;color:#776374;margin:5px 0 0}
.muse-comms-pref-switch{border:1px solid #e2ccd9;min-height:44px;min-width:142px;border-radius:999px;cursor:pointer;background:#f7edf2;color:#795369;font-weight:700;font-size:12px;padding:10px 13px;flex-shrink:0}
.muse-comms-pref-switch.active{background:#54213d;border-color:#54213d;color:white}
@media(max-width:1000px){.muse-comms-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .muse-comms-page .panel{padding:18px 14px}
 .muse-comms-page .pagehead{align-items:flex-start}
 .muse-comms-stat{padding:13px}.muse-comms-stat strong{font-size:27px}
 .muse-comms-rule{align-items:flex-start;flex-direction:column;gap:9px}
 .muse-comms-rule-action{justify-content:space-between;width:100%}
 .muse-comms-rule-action .btn{min-height:44px}
 .muse-comms-invite .muse-comms-invite-controls{align-items:stretch;flex-direction:column}
 .muse-comms-invite-controls .field,.muse-comms-invite-controls .btn{width:100%}
 .muse-comms-prefs{padding:17px 13px}.muse-comms-pref-row{align-items:flex-start;flex-direction:column;gap:9px}
 .muse-comms-pref-switch{width:100%}
}
