:root{
  --leo-orange:#f97316;
  --leo-orange2:#fb923c;
  --leo-green:#16a34a;
  --leo-green-dark:#15803d;
  --leo-green-deep:#0f5132;
  --leo-ink:#111827;
  --leo-muted:#667085;
  --leo-line:#e8ebf0;
  --leo-bg:#f7faf8;
  --leo-white:#fff;
}

.leo-app{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);width:100vw;background:var(--leo-white);color:var(--leo-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;overflow:hidden}
.leo-app *{box-sizing:border-box}
.leo-shell{width:min(1140px,calc(100% - 36px));margin:auto}

/* Header */
.leo-topbar{background:#fff;border-bottom:1px solid #eef0f3;position:relative;z-index:10}
.leo-topbar-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.leo-brand{display:flex;align-items:center;gap:12px}
.leo-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#fff;font-weight:900;font-size:22px;background:linear-gradient(145deg,var(--leo-orange),#ea580c);box-shadow:0 8px 20px rgba(249,115,22,.25)}
.leo-brand strong{font-size:19px;display:block;line-height:1.1}
.leo-brand span{font-size:11px;color:var(--leo-muted);text-transform:uppercase;letter-spacing:.08em}
.leo-brand-logo{width:58px;height:44px;display:grid;place-items:center}
.leo-brand-logo img{width:auto;height:auto;max-width:58px;max-height:44px;display:block;object-fit:contain}
.leo-header-chip{font-size:13px;font-weight:800;color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;padding:8px 12px;border-radius:999px}

/* Compact top section - intentionally removes the old quick-registration feature row/card */
.leo-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 92% 5%,#ecfdf3 0,transparent 33%),linear-gradient(180deg,#fff,#fbfefc);border-bottom:1px solid #edf2ee}
.leo-hero:before{content:"";position:absolute;width:360px;height:360px;border:1px solid #dcfce7;border-radius:50%;right:-190px;top:-210px}
.leo-hero-compact .leo-shell{min-height:285px;display:flex;align-items:center;padding:54px 0}
.leo-hero-copy{position:relative;z-index:1;max-width:800px}
.leo-kicker{display:inline-block;color:#c2410c;font-size:11px;font-weight:900;letter-spacing:.16em}
.leo-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.03;letter-spacing:-.05em;margin:12px 0 16px;max-width:760px}
.leo-hero-copy>p{max-width:700px;color:var(--leo-muted);font-size:17px;margin:0}
.leo-hero-cta{display:inline-flex;align-items:center;gap:10px;margin-top:24px;padding:12px 18px;border-radius:12px;background:#eefbf2;color:#166534;border:1px solid #c9f0d4;text-decoration:none;font-weight:900;font-size:14px}
.leo-hero-cta span{animation:leoArrowDown 1.2s ease-in-out infinite}
@keyframes leoArrowDown{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}

/* Events */
.leo-events-section{background:var(--leo-bg);padding:62px 0 88px}
.leo-section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}
.leo-section-head h2{font-size:36px;letter-spacing:-.035em;margin:7px 0 0}
.leo-section-head p{color:var(--leo-muted);margin:0}
.leo-event-card{display:grid;grid-template-columns:390px minmax(0,1fr);background:#fff;border:1px solid var(--leo-line);border-radius:28px;overflow:hidden;box-shadow:0 14px 45px rgba(15,23,42,.06);margin-bottom:30px}
.leo-event-visual{min-height:100%;background:linear-gradient(145deg,#123528,#1f2937);position:relative;padding:24px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;overflow:hidden;isolation:isolate}
.leo-event-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.leo-event-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,25,17,.08),rgba(5,25,17,.78));z-index:-1}
.leo-live-badge{align-self:flex-start;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;background:rgba(255,255,255,.94);color:#166534;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.leo-event-visual-title small{display:block;opacity:.82;font-weight:800;margin-bottom:6px}
.leo-event-visual-title strong{font-size:30px;line-height:1.06;display:block;text-shadow:0 2px 16px rgba(0,0,0,.25)}
.leo-event-content{padding:34px;min-width:0}
.leo-event-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px}
.leo-event-meta>div{padding:14px;background:#fbfcfd;border:1px solid #eef0f3;border-radius:14px;min-width:0}
.leo-event-meta span{display:block;color:var(--leo-muted);font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.06em}
.leo-event-meta strong{display:block;margin-top:4px;font-size:14px;overflow-wrap:anywhere}
.leo-location{color:#475467;background:#fff7ed;padding:10px 12px;border-radius:12px;font-size:13px}
.leo-description{color:#475467}


/* Form */
.leo-register-box{margin-top:28px;border:1px solid #dfe9e2;border-radius:22px;padding:25px;background:linear-gradient(180deg,#fff,#fbfefc);box-shadow:0 10px 30px rgba(22,101,52,.05)}
.leo-register-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.leo-register-head h3{font-size:23px;margin:4px 0}
.leo-secure{font-size:11px;font-weight:800;color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:999px;padding:6px 9px}
.leo-note{font-size:13px;color:#667085;margin-top:0}
.leo-reg-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:20px}
.leo-field.full{grid-column:1/-1}
.leo-field label{display:block;font-size:12px;font-weight:800;margin-bottom:6px;color:#344054}
.leo-field label b{color:var(--leo-orange)}
.leo-field input[type=text],.leo-field input[type=tel],.leo-field select{width:100%;height:48px;border:1px solid #d9dee7;border-radius:12px;background:#fff;padding:0 13px;font:inherit;color:#1d2939;outline:none;box-shadow:none}
.leo-field input:focus,.leo-field select:focus{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.10)}
.leo-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.leo-choice label{margin:0}
.leo-choice input{position:absolute;opacity:0;pointer-events:none}
.leo-choice span{height:48px;border:1px solid #d9dee7;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff;cursor:pointer;color:#475467;transition:.2s ease}
.leo-choice input:checked+span{border-color:#22c55e;background:#f0fdf4;color:#166534;box-shadow:inset 0 0 0 1px #22c55e}
.leo-level-field[hidden]{display:none!important}
.leo-submit-wrap{display:flex;justify-content:center;padding-top:8px}
.leo-submit{position:relative;isolation:isolate;overflow:hidden;width:min(100%,330px);min-height:58px;border:0;border-radius:16px;background:linear-gradient(135deg,#22c55e,#15803d);box-shadow:0 12px 26px rgba(21,128,61,.26),0 0 0 0 rgba(34,197,94,.25);color:#fff;padding:0 22px;font-weight:900;font-size:16px;display:flex;align-items:center;justify-content:center;gap:14px;cursor:pointer;animation:leoSubmitFloat 1.8s ease-in-out infinite,leoSubmitGlow 2.4s ease-out infinite;transition:transform .18s ease,box-shadow .18s ease}
.leo-submit:before{content:"";position:absolute;top:-60%;left:-40%;width:32%;height:220%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);transform:rotate(18deg);animation:leoSubmitShine 2.25s linear infinite;z-index:-1}
.leo-submit:hover{transform:translateY(-2px) scale(1.015);box-shadow:0 16px 30px rgba(21,128,61,.32)}
.leo-submit:disabled{opacity:.7;cursor:wait;animation:none}
.leo-submit strong{font-size:23px;line-height:1;animation:leoSubmitArrow 1s ease-in-out infinite}
@keyframes leoSubmitFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes leoSubmitGlow{0%{box-shadow:0 12px 26px rgba(21,128,61,.26),0 0 0 0 rgba(34,197,94,.28)}70%{box-shadow:0 12px 26px rgba(21,128,61,.26),0 0 0 12px rgba(34,197,94,0)}100%{box-shadow:0 12px 26px rgba(21,128,61,.26),0 0 0 0 rgba(34,197,94,0)}}
@keyframes leoSubmitShine{0%{left:-45%}55%,100%{left:125%}}
@keyframes leoSubmitArrow{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}

/* People - deliberately after form and larger */
.leo-people-sections{border-top:1px solid var(--leo-line);margin-top:34px;padding-top:30px;display:grid;gap:24px}
.leo-people-title{text-align:center;margin-bottom:2px}
.leo-people-title h3{font-size:25px;letter-spacing:-.03em;margin:5px 0 0}
.leo-people-group{padding:20px;border:1px solid #e5e9ee;border-radius:20px;background:#fff}
.leo-chief-group{background:linear-gradient(135deg,#fffaf3,#fff);border-color:#fed7aa}
.leo-people-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px}
.leo-people-group-head strong{font-size:18px}
.leo-people-group-head span{font-size:12px;color:var(--leo-muted)}
.leo-people-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:14px}
.leo-person-card{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid #e7ebef;border-radius:18px;background:#fff;min-width:0;box-shadow:0 7px 22px rgba(15,23,42,.04)}
.leo-person-card-chief{border-color:#fed7aa;background:linear-gradient(145deg,#fff,#fffaf5)}
.leo-person-card-organizer{border-color:#dcefe2}
.leo-person-photo{width:82px;height:82px;flex:0 0 82px;border-radius:18px;overflow:hidden;background:#f2f4f7;box-shadow:0 5px 16px rgba(15,23,42,.08)}
.leo-person-card-chief .leo-person-photo{width:96px;height:96px;flex-basis:96px}
.leo-person-photo img,.leo-avatar{width:100%;height:100%;object-fit:cover}
.leo-avatar{display:grid;place-items:center;background:#ecfdf3;color:#166534;font-size:28px;font-weight:900}
.leo-person-info{min-width:0}
.leo-person-info strong{display:block;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.leo-person-info span{display:block;color:var(--leo-muted);font-size:12px;margin-top:4px;line-height:1.35}
.leo-person-card-chief .leo-person-info strong{font-size:18px;color:#9a3412}

.leo-closed,.leo-empty{border:1px dashed #d0d5dd;border-radius:20px;padding:30px;text-align:center;background:#fff;color:#667085;margin-top:24px}

/* Footer */
.leo-footer{position:relative;overflow:hidden;background:linear-gradient(135deg,#0b4d2f 0%,#166534 54%,#14532d 100%);color:#fff;padding:42px 0 24px}
.leo-footer:before,.leo-footer:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.leo-footer:before{width:300px;height:300px;background:rgba(249,115,22,.18);right:-130px;top:-170px}
.leo-footer:after{width:240px;height:240px;background:rgba(255,255,255,.06);left:-130px;bottom:-160px}
.leo-footer .leo-shell{position:relative;z-index:1}
.leo-footer-top{display:grid;grid-template-columns:.72fr 1.28fr;gap:34px;align-items:start}
.leo-footer-brand-name{font-size:24px;font-weight:950;letter-spacing:-.03em}
.leo-footer-brand p{margin:7px 0 4px;color:#dcfce7;font-size:14px}
.leo-footer-brand>span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#fdba74;font-weight:900}
.leo-footer-title{font-size:13px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#fde68a;margin-bottom:12px}
.leo-footer-event-grid{display:grid;gap:9px}
.leo-footer-event{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;padding:11px 12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);border-radius:14px;transition:.2s ease}
.leo-footer-event:hover{background:rgba(255,255,255,.12);transform:translateX(3px)}
.leo-footer-event-date{min-width:55px;text-align:center;border-radius:10px;padding:8px 7px;background:#fff;color:#166534;font-size:12px;font-weight:950}
.leo-footer-event strong{display:block;font-size:13px;line-height:1.3}
.leo-footer-event small{display:block;color:#d1fae5;font-size:11px;margin-top:2px}
.leo-footer-empty{color:#d1fae5;font-size:13px}
.leo-footer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.13);margin-top:26px;padding-top:18px}
.leo-footer-contact{display:flex;flex-wrap:wrap;gap:8px 15px;color:#d1fae5;font-size:12px}
.leo-footer-badge{color:#fed7aa;font-size:11px;font-weight:900;letter-spacing:.08em;text-align:right}

/* Confirmation */
.leo-confirm-wrap{background:radial-gradient(circle at 50% 0,#ecfdf3 0,transparent 34%),#f8fafc;padding:62px 0 84px;min-height:75vh}
.leo-confirm-card{max-width:860px;margin:auto;background:#fff;border:1px solid var(--leo-line);border-radius:30px;padding:38px;box-shadow:0 25px 70px rgba(15,23,42,.08);text-align:center}
.leo-check{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:#f0fdf4;color:#16a34a;font-size:31px;font-weight:900;margin:0 auto 18px;border:8px solid #dcfce7}
.leo-confirm-card h1{font-size:38px;letter-spacing:-.04em;margin:8px 0}
.leo-confirm-card>p{color:#667085;max-width:600px;margin:0 auto 22px}
.leo-ref{display:inline-flex;align-items:center;gap:12px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:14px;padding:10px 14px;margin-bottom:28px}
.leo-ref span{font-size:11px;color:#166534;font-weight:800;text-transform:uppercase}
.leo-ref strong{color:#15803d;letter-spacing:.04em}
.leo-confirm-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:left}
.leo-confirm-section{border:1px solid #e8ebf0;border-radius:20px;padding:20px}
.leo-confirm-section h3{font-size:14px;margin:0 0 14px;color:#667085;text-transform:uppercase;letter-spacing:.06em}
.leo-confirm-section h4{font-size:20px;margin:0 0 14px}
.leo-confirm-section dl{margin:0}
.leo-confirm-section dl div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #f0f2f5}
.leo-confirm-section dl div:last-child{border-bottom:0}
.leo-confirm-section dt{color:#667085;font-size:13px}
.leo-confirm-section dd{margin:0;font-weight:800;font-size:13px;text-align:right}
.leo-event-confirm{background:#fcfcfd}
.leo-confirm-actions{display:flex;justify-content:center;gap:10px;margin-top:24px}
.leo-confirm-actions button,.leo-confirm-actions a{border-radius:12px;padding:12px 16px;font-weight:800;text-decoration:none;font-size:13px}
.leo-confirm-actions button{background:#166534;color:#fff;border:0;cursor:pointer}
.leo-confirm-actions a{color:#9a3412;background:#fff7ed}

body.leo-str-standalone{margin:0;background:#fff}
body.leo-str-standalone #wpadminbar~.leo-app{padding-top:0}
.leo-str-standalone{margin:0!important;background:#fff}
.leo-str-standalone .leo-app{min-height:100vh}
.leo-str-standalone .leo-app h1,.leo-str-standalone .leo-app h2,.leo-str-standalone .leo-app h3,.leo-str-standalone .leo-app h4,.leo-str-standalone .leo-app p{font-family:inherit}

@media(max-width:900px){
  .leo-event-card{grid-template-columns:1fr}
  .leo-event-visual{min-height:0;aspect-ratio:16/7}
  .leo-event-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
  .leo-footer-top{grid-template-columns:1fr}
}

@media(max-width:640px){
  .leo-shell{width:min(100% - 24px,1140px)}
  .leo-topbar-inner{min-height:68px}
  .leo-header-chip{display:none}
  .leo-hero-compact .leo-shell{min-height:auto;padding:38px 0 42px}
  .leo-hero h1{font-size:38px}
  .leo-hero-copy>p{font-size:15px}
  .leo-events-section{padding:44px 0 62px}
  .leo-section-head{align-items:flex-start;flex-direction:column;gap:9px}
  .leo-section-head h2{font-size:30px}
  .leo-event-card{border-radius:22px}
  .leo-event-visual{aspect-ratio:4/3;padding:18px}
  .leo-event-visual-title strong{font-size:25px}
  .leo-event-content{padding:20px}
  .leo-event-meta{grid-template-columns:1fr}
  .leo-reg-form{grid-template-columns:1fr}
  .leo-field.full{grid-column:auto}
  .leo-register-box{padding:18px}
  .leo-register-head{align-items:flex-start}
  .leo-type-choice{grid-template-columns:1fr 1fr}
  .leo-submit{width:min(100%,300px)}
  .leo-people-title h3{font-size:22px}
  .leo-people-group{padding:16px}
  .leo-people-group-head{display:block}
  .leo-people-group-head span{display:block;margin-top:2px}
  .leo-people-grid{grid-template-columns:1fr}
  .leo-person-card{padding:13px}
  .leo-person-photo,.leo-person-card-chief .leo-person-photo{width:80px;height:80px;flex-basis:80px}
  .leo-footer{padding-top:34px}
  .leo-footer-bottom{align-items:flex-start;flex-direction:column}
  .leo-footer-badge{text-align:left}
  .leo-confirm-wrap{padding:35px 0 55px}
  .leo-confirm-card{padding:24px 17px;border-radius:22px}
  .leo-confirm-card h1{font-size:32px}
  .leo-confirm-grid{grid-template-columns:1fr}
  .leo-confirm-actions{flex-direction:column}
  .leo-confirm-actions button,.leo-confirm-actions a{text-align:center}
}

@media(max-width:390px){
}

@media(prefers-reduced-motion:reduce){
  .leo-submit,.leo-submit:before,.leo-submit strong,.leo-hero-cta span{animation:none!important}
  .leo-submit,.leo-footer-event{transition:none!important}
}

@media print{
  .leo-topbar,.leo-footer,.leo-confirm-actions{display:none!important}
  .leo-confirm-wrap{padding:0;background:#fff}
  .leo-confirm-card{box-shadow:none;border:0}
  .leo-app{width:auto;margin:0}
}
