/* EventHub app (register, login, dashboard). CandiedPH brand tokens. */
:root{--cp-pink:#EC168E;--cp-deep:#C2106F;--cp-ink:#0F2526;--cp-sun:#F7DB3E;--cp-night:#062A2B;--cp-teal:#0B6769;--cp-cyan:#3EC3D7;--cp-lime:#C3DE99;--cp-muted:#3C4F50;--cp-line:#E3E8E8;--cp-surface:#F6F8F7;--r-card:24px;--r-in:10px}
.eh-app{margin:0;background:var(--cp-surface);color:var(--cp-ink);font:400 16px/1.6 'Poppins',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.eh-app *,.eh-app *::before,.eh-app *::after{box-sizing:border-box}
.eh-app a{color:var(--cp-deep)}
.eh-app :focus-visible{outline:3px solid var(--cp-sun);outline-offset:2px}
.eh-skip{position:absolute;left:-9999px;top:8px;background:#fff;padding:8px 14px;border-radius:8px;z-index:200}
.eh-skip:focus{left:12px}

/* top bar */
.eh-top{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px clamp(20px,3vw,32px);background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(160%) blur(14px);backdrop-filter:saturate(160%) blur(14px);border-bottom:1px solid rgba(15,37,38,.08)}
body.admin-bar .eh-top{top:32px}
.eh-brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.eh-brand img{display:block;height:auto;width:124px}
.eh-hubtag{padding:5px 10px;border-radius:999px;background:var(--cp-ink);color:#fff;font:600 12px/1 'Poppins',sans-serif;letter-spacing:.08em;text-transform:uppercase}
.eh-top-links{display:flex;align-items:center;gap:22px}
.eh-top-links a{color:var(--cp-ink);text-decoration:none;font-weight:500;font-size:15px}
.eh-top-links a:hover{color:var(--cp-deep)}

/* buttons */
.eh-btn,.eh-app .eh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 28px;border:0;border-radius:999px;background:var(--cp-pink);color:#fff!important;font:600 16px/1 'Poppins',sans-serif;text-decoration:none;cursor:pointer;transition:transform .3s cubic-bezier(.2,.8,.2,1),background-color .3s}
.eh-btn:hover{background:var(--cp-deep);transform:translateY(-2px)}
.eh-btn:active{transform:none}
.eh-btn-sm{min-height:42px;padding:0 18px;font-size:14px}
.eh-btn-line{background:transparent;color:var(--cp-ink)!important;box-shadow:inset 0 0 0 1.5px var(--cp-ink)}
.eh-btn-line:hover{background:var(--cp-ink);color:#fff!important}
.eh-btn-ghost{background:transparent;color:var(--cp-ink)!important}
.eh-btn-ghost:hover{background:#E9EFEF}
.eh-btn-block{width:100%}
.eh-btn[disabled]{opacity:.6;pointer-events:none}

/* shell: register / login split */
.eh-shell{max-width:1280px;margin:0 auto;padding:clamp(32px,5vw,72px) clamp(20px,3vw,32px) 96px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,72px);align-items:start}
.eh-shell-supplier-login{grid-template-columns:minmax(0,1fr) minmax(0,480px)}
.eh-intro{position:sticky;top:110px}
.eh-display{font:600 clamp(38px,4.4vw,62px)/1.04 'Fraunces',Georgia,serif;font-variation-settings:'SOFT' 100,'opsz' 144;letter-spacing:-.025em;margin:0 0 18px}
.eh-display em,.eh-h1 em{color:var(--cp-pink);font-style:italic;padding-bottom:.06em}
.eh-lead{font-size:18px;line-height:1.65;color:var(--cp-muted);margin:0 0 22px;max-width:34em}
.eh-perks{list-style:none;margin:0 0 32px;padding:0;display:flex;flex-direction:column;gap:10px}
.eh-perks li{position:relative;padding-left:30px;font-weight:500}
.eh-perks li::before{content:'';position:absolute;left:0;top:.45em;width:16px;height:9px;border-left:3px solid var(--cp-pink);border-bottom:3px solid var(--cp-pink);transform:rotate(-45deg)}
.eh-intro-art{position:relative;aspect-ratio:5/4;border-radius:var(--r-card);margin:14px}
.ph-a{background:radial-gradient(circle at 22% 30%,rgba(236,22,142,.9) 0 7%,rgba(236,22,142,0) 16%),radial-gradient(circle at 70% 24%,rgba(247,219,62,.85) 0 5%,rgba(247,219,62,0) 12%),radial-gradient(circle at 58% 70%,rgba(62,195,215,.75) 0 9%,rgba(62,195,215,0) 20%),radial-gradient(circle at 34% 82%,rgba(195,222,153,.6) 0 6%,rgba(195,222,153,0) 14%),#0B1F20}
.ph-c{background:radial-gradient(circle at 50% 35%,rgba(62,195,215,.85) 0 11%,rgba(62,195,215,0) 24%),radial-gradient(circle at 16% 22%,rgba(195,222,153,.8) 0 5%,rgba(195,222,153,0) 12%),radial-gradient(circle at 82% 70%,rgba(236,22,142,.85) 0 7%,rgba(236,22,142,0) 16%),#071A1B}
.cp-corner{position:absolute;width:13%;height:13%;border:0 solid var(--cp-pink)}
.cp-tl{top:-14px;left:-14px;border-top-width:5px;border-left-width:5px}.cp-br{bottom:-14px;right:-14px;border-bottom-width:5px;border-right-width:5px}

/* form card */
.eh-form{background:#fff;border-radius:28px;padding:clamp(24px,3.5vw,44px);box-shadow:0 30px 80px rgba(15,37,38,.08),0 0 0 1px rgba(15,37,38,.05)}
.eh-form fieldset{border:0;margin:0;padding:0;min-width:0}
.eh-form legend{font:600 clamp(26px,2.4vw,34px)/1.1 'Fraunces',Georgia,serif;font-variation-settings:'SOFT' 100;letter-spacing:-.015em;padding:0;margin:0 0 6px}
.eh-sub{color:var(--cp-muted);margin:0 0 26px}
.eh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.eh-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.eh-f{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}
.eh-f label,.eh-label{font-size:14px;font-weight:600;color:var(--cp-ink)}
.eh-f label em,.eh-h3 em{font-style:normal;font-weight:500;color:var(--cp-muted);font-size:13px;margin-left:4px}
.eh-f input[type=text],.eh-f input[type=email],.eh-f input[type=tel],.eh-f input[type=url],.eh-f input[type=password],.eh-f input[type=number],.eh-f textarea,.eh-f select{width:100%;min-height:50px;padding:12px 14px;border:1.5px solid #D5DEDE;border-radius:var(--r-in);background:#fff;color:var(--cp-ink);font:500 16px/1.4 'Poppins',sans-serif;transition:border-color .2s,box-shadow .2s}
.eh-f textarea{min-height:110px;resize:vertical}
.eh-f input::placeholder,.eh-f textarea::placeholder{color:#6A7C7C}
.eh-f input:focus,.eh-f textarea:focus,.eh-f select:focus{outline:none;border-color:var(--cp-teal);box-shadow:0 0 0 4px rgba(11,103,105,.14)}
.eh-f.has-err input,.eh-f.has-err textarea{border-color:var(--cp-deep)}
.eh-hint{margin:0;font-size:13px;color:var(--cp-muted)}
.eh-err{margin:0;font-size:14px;font-weight:500;color:var(--cp-deep)}
.eh-file input[type=file]{padding:14px;border:1.5px dashed #C3CFCF;border-radius:var(--r-in);background:var(--cp-surface);font:500 14px 'Poppins',sans-serif;width:100%;cursor:pointer}
.eh-file input[type=file]::file-selector-button{margin-right:12px;border:0;border-radius:999px;padding:9px 16px;background:var(--cp-ink);color:#fff;font:600 13px 'Poppins',sans-serif;cursor:pointer}
.eh-preview{display:block;margin-top:8px;max-height:120px;max-width:100%;border-radius:12px;object-fit:cover}
.eh-h3{font:600 18px/1.3 'Poppins',sans-serif;margin:10px 0 14px}

/* chips */
.eh-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 0}
.eh-chip{position:relative;cursor:pointer}
.eh-chip input{position:absolute;opacity:0;width:1px;height:1px}
.eh-chip span{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:999px;border:1.5px solid #D5DEDE;font-size:14px;font-weight:500;background:#fff;transition:background .2s,border-color .2s,color .2s}
.eh-chip:hover span{border-color:var(--cp-ink)}
.eh-chip input:checked+span{background:var(--cp-ink);border-color:var(--cp-ink);color:#fff}
.eh-chip input:checked+span::before{content:'';width:10px;height:6px;margin-right:8px;border-left:2px solid var(--cp-sun);border-bottom:2px solid var(--cp-sun);transform:rotate(-45deg) translateY(-2px)}
.eh-chip input:focus-visible+span{outline:3px solid var(--cp-sun);outline-offset:2px}
.eh-group{border:1px solid var(--cp-line);border-radius:16px;margin-bottom:10px;background:#fff}
.eh-group summary{cursor:pointer;list-style:none;padding:14px 18px;font-weight:600;display:flex;justify-content:space-between;align-items:center}
.eh-group summary::-webkit-details-marker{display:none}
.eh-group summary::after{content:'+';font-size:22px;font-weight:400;color:var(--cp-pink)}
.eh-group[open] summary::after{content:'\2212'}
.eh-group .eh-chips{padding:0 18px 16px}
.eh-group summary .eh-count{margin-left:auto;margin-right:12px;font-size:12px;font-weight:600;color:#fff;background:var(--cp-pink);border-radius:999px;padding:2px 9px}

.eh-check label{font-weight:500;display:flex;gap:10px;align-items:flex-start;line-height:1.5}
.eh-check input,.eh-inline input{width:20px;height:20px;accent-color:var(--cp-pink);flex:none;margin-top:2px}
.eh-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-4px 0 22px;font-size:14px}
.eh-inline{display:flex;gap:8px;align-items:center;font-weight:500}

/* wizard */
.eh-progress{list-style:none;margin:0 0 30px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;counter-reset:s}
.eh-progress li{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:var(--cp-muted)}
.eh-progress li span{display:none}
.eh-progress li::before{content:'';height:5px;border-radius:5px;background:var(--cp-line);transition:background .4s}
.eh-progress li.is-done::before,.eh-progress li[aria-current]::before{background:var(--cp-pink)}
.eh-progress li[aria-current]{color:var(--cp-ink)}
.js .eh-wizard .eh-step{display:none}
.js .eh-wizard .eh-step.is-active{display:block;animation:ehIn .45s cubic-bezier(.16,1,.3,1)}
@keyframes ehIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.eh-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:12px;padding-top:22px;border-top:1px solid var(--cp-line)}
.js .eh-wizard [data-submit],.js .eh-wizard [data-prev]{display:none}
.js .eh-wizard.is-last [data-submit],.js .eh-wizard.not-first [data-prev]{display:inline-flex}
.js .eh-wizard.is-last [data-next]{display:none}
.eh-wizard:not(.not-first) .eh-actions{justify-content:flex-end}
html:not(.js) .eh-wizard [data-next],html:not(.js) .eh-wizard [data-prev]{display:none}
html:not(.js) .eh-step{margin-bottom:36px}
.eh-foot-note{text-align:center;margin:22px 0 0;color:var(--cp-muted);font-size:15px}
.eh-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.eh-alert{padding:14px 18px;border-radius:14px;background:#EAF5F5;color:var(--cp-ink);margin-bottom:22px;font-weight:500;border-left:4px solid var(--cp-teal)}
.eh-alert-err{background:#FDEBF4;border-left-color:var(--cp-deep)}

/* dashboard */
.eh-is-dash .eh-shell{display:block;max-width:none;padding:0}
.eh-dash{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:calc(100vh - 66px)}
.eh-side{background:#fff;border-right:1px solid var(--cp-line);padding:28px 18px;display:flex;flex-direction:column;gap:24px}
.eh-side-biz{display:flex;gap:12px;align-items:center;padding:0 8px}
.eh-side-biz strong{display:block;font-size:15px;line-height:1.3}
.eh-side-biz span{font-size:13px;color:var(--cp-muted)}
.eh-avatar{width:46px;height:46px;border-radius:14px;object-fit:cover;flex:none}
.eh-avatar-ph{display:flex;align-items:center;justify-content:center;background:var(--cp-pink);color:#fff;font:600 20px 'Fraunces',serif}
.eh-side-nav{display:flex;flex-direction:column;gap:2px}
.eh-side-nav a{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 12px;border-radius:12px;color:var(--cp-ink);text-decoration:none;font-weight:500;font-size:15px;transition:background .2s}
.eh-side-nav a:hover{background:var(--cp-surface)}
.eh-side-nav a[aria-current]{background:var(--cp-ink);color:#fff}
.eh-side-nav a[aria-current] svg{fill:var(--cp-sun)}
.eh-side-nav svg{width:20px;height:20px;fill:currentColor;flex:none}
.eh-main{padding:clamp(24px,4vw,48px);max-width:1080px;width:100%}
.eh-main-head{margin-bottom:24px}
.eh-h1{font:600 clamp(32px,3.4vw,46px)/1.08 'Fraunces',Georgia,serif;font-variation-settings:'SOFT' 100,'opsz' 144;letter-spacing:-.02em;margin:0 0 8px}
.eh-h2{font:600 28px/1.15 'Fraunces',Georgia,serif;margin:0 0 10px}
.eh-muted{color:var(--cp-muted)}
.eh-status{display:flex;gap:16px;align-items:flex-start;padding:20px 22px;border-radius:20px;background:#fff;border:1px solid var(--cp-line);margin-bottom:22px}
.eh-status strong{font-size:17px}
.eh-status p{margin:4px 0 0;color:var(--cp-muted)}
.eh-dot{width:12px;height:12px;border-radius:50%;margin-top:7px;flex:none;background:var(--cp-sun);box-shadow:0 0 0 5px rgba(247,219,62,.3)}
.eh-st-pending{background:#FFFBE6;border-color:#F3E3A0}
.eh-st-info{background:#EAF5F5;border-color:#BFDCDC}.eh-st-info .eh-dot{background:var(--cp-teal);box-shadow:0 0 0 5px rgba(11,103,105,.18)}
.eh-st-ok{background:#F2F8EA;border-color:var(--cp-lime)}.eh-st-ok .eh-dot{background:#4E8A1E;box-shadow:0 0 0 5px rgba(195,222,153,.6)}
.eh-st-bad{background:#FDEBF4;border-color:#F5BFDB}.eh-st-bad .eh-dot{background:var(--cp-deep);box-shadow:0 0 0 5px rgba(236,22,142,.18)}
.eh-note{margin:12px 0 0;padding:12px 16px;background:#fff;border-left:4px solid var(--cp-pink);border-radius:10px}
.eh-note p{margin:0;color:var(--cp-ink)}
.eh-cards{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:22px;margin-bottom:22px}
.eh-card{background:#fff;border-radius:var(--r-card);padding:26px;box-shadow:0 0 0 1px rgba(15,37,38,.06)}
.eh-card-complete{display:flex;gap:26px;align-items:flex-start}
.eh-ring{--p:0;width:118px;height:118px;border-radius:50%;flex:none;display:grid;place-items:center;background:conic-gradient(var(--cp-pink) calc(var(--p)*1%),#EEF2F2 0)}
.eh-ring span{width:88px;height:88px;border-radius:50%;background:#fff;display:grid;place-items:center;font:600 26px 'Fraunces',serif}
.eh-todo{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.eh-todo li{position:relative;padding-left:22px;font-weight:500}
.eh-todo li::before{content:'';position:absolute;left:2px;top:.6em;width:9px;height:9px;border:2px solid var(--cp-pink);border-radius:50%}
.eh-dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;margin:0}
.eh-dl dt{font-size:13px;font-weight:600;color:var(--cp-muted);text-transform:uppercase;letter-spacing:.08em}
.eh-dl dd{margin:0;font-weight:500}
.eh-next{background:var(--cp-night);color:#fff;box-shadow:none}
.eh-next .eh-muted{color:#C9D8D8;margin:0}
.eh-next .eh-h3{margin-top:0;color:#fff}
.eh-panel{background:#fff;border-radius:var(--r-card);padding:40px;max-width:640px;margin:48px auto}

.eh-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:28px clamp(20px,3vw,32px);background:var(--cp-night);color:#C9D8D8;font-size:13px}
.eh-bottom p{margin:0}.eh-bottom a{color:#fff;margin-left:14px}

@media (max-width:1024px){
.eh-shell,.eh-shell-supplier-login{grid-template-columns:1fr}
.eh-intro{position:static}
.eh-intro-art{display:none}
.eh-cards{grid-template-columns:1fr}
}
@media (max-width:860px){
.eh-dash{grid-template-columns:1fr}
.eh-side{position:sticky;top:66px;z-index:20;flex-direction:row;align-items:center;padding:10px 14px;gap:12px;border-right:0;border-bottom:1px solid var(--cp-line);overflow-x:auto}
.eh-side-biz{display:none}
.eh-side-nav{flex-direction:row;gap:4px}
.eh-side-nav a{white-space:nowrap;min-height:42px;font-size:14px}
}
@media (max-width:640px){
body.admin-bar .eh-top{top:0}
.eh-top-links a:not(.eh-btn){display:none}
.eh-grid,.eh-grid-3{grid-template-columns:1fr}
.eh-progress li{font-size:0;gap:0}
.eh-form{border-radius:22px}
.eh-actions{position:sticky;bottom:0;background:#fff;margin:12px -24px -24px;padding:16px 24px;border-radius:0 0 22px 22px}
.eh-actions .eh-btn{flex:1}
.eh-card-complete{flex-direction:column}
.eh-bottom a{margin:0 14px 0 0}
}
@media (prefers-reduced-motion:reduce){.eh-app *{animation:none!important;transition:none!important}}

/* Google sign-in */
.eh-google{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;padding:0 20px;border-radius:999px;border:1.5px solid #D5DEDE;background:#fff;color:var(--cp-ink)!important;font:600 16px/1 'Poppins',sans-serif;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .3s cubic-bezier(.2,.8,.2,1)}
.eh-google:hover{border-color:var(--cp-ink);box-shadow:0 10px 24px rgba(15,37,38,.08);transform:translateY(-1px)}
.eh-google svg{width:22px;height:22px;flex:none}
.eh-or{display:flex;align-items:center;gap:14px;margin:22px 0 26px;color:var(--cp-muted);font-size:13px;font-weight:500}
.eh-or::before,.eh-or::after{content:'';flex:1;height:1px;background:var(--cp-line)}
.eh-google-wrap[hidden]{display:none}
.eh-hello{background:#F2F8EA;border-left-color:#4E8A1E}
