.events-page{padding-bottom:50px}
.events-page .site-header nav{display:flex;gap:20px;align-items:center}
.events-page .site-header nav [aria-current]{font-weight:bold;text-decoration-thickness:2px}
.events-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:28px;align-items:start}
.events-page .os-window{width:100%}
.events-page .window-content{padding:clamp(24px,3vw,42px)}
.event-kicker{font-size:11px;letter-spacing:.1em;color:#75508f;font-weight:bold}
.events-page h1{font-size:clamp(54px,6vw,92px);letter-spacing:-.07em;line-height:.93;margin:16px 0 24px}
.events-page h2{font-size:clamp(28px,3vw,37px)}
.event-subtitle{font-size:clamp(18px,2vw,25px);font-weight:bold;max-width:24ch;line-height:1.3}
.event-tagline{display:inline-block;background:#fbe99c;border:1px solid #34233e;border-radius:50%;padding:12px 22px;transform:rotate(-5deg);font-size:11px;font-weight:bold;margin:10px 0 30px}
.event-details .window-content>p:not(.event-kicker):not(.event-subtitle):not(.event-footnote){max-width:52ch;font-size:14px;line-height:1.8}
.event-facts{margin-top:32px;border-top:1px dotted #876f93}
.event-facts>div{display:grid;grid-template-columns:125px 1fr;gap:15px;padding:16px 0;border-bottom:1px dotted #876f93}
.event-facts span{font-size:10px;color:#79568b;letter-spacing:.04em}
.event-facts strong{font-size:13px;font-weight:normal}
.event-footnote{margin:24px 0 0;font-size:12px;color:#604575}
.registration .window-content>p,.registration #formPanel>p{font-size:13px}
.events-page form{display:grid;gap:18px}
.events-page label.field,.events-page fieldset,.event-opt-in{font-size:12px;font-weight:bold}
.events-page .field input,.events-page .field select{display:block;width:100%;margin-top:8px;border:1px solid #816a8b;background:#fffdf9;border-radius:8px;padding:13px;font:14px 'Lucida Console','Courier New',monospace;color:#34233e;min-height:46px}
.events-page fieldset{border:1px solid #b69dc6;border-radius:12px;padding:18px;margin:0;min-width:0}
.events-page legend{padding:0 8px}
#nameFields{display:grid;gap:12px}
.field-note{font-size:11px;font-weight:normal;margin:0 0 15px!important}
.amount-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:16px}
.amount-choices button{border:1px solid #876f93;border-radius:8px;background:#fffdf7;color:#34233e;padding:12px 4px;font:12px 'Lucida Console','Courier New',monospace;cursor:pointer;min-height:44px}
.amount-choices button[aria-pressed=true]{background:#fbe99c;box-shadow:inset 0 0 0 2px #34233e;font-weight:bold}
.total-line{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f4e8fa;border-radius:8px;padding:15px 14px;margin-top:16px;font-size:12px}
.total-line strong{font-size:19px}
.event-opt-in{display:flex;align-items:flex-start;gap:10px;font-weight:normal;line-height:1.5}
.event-opt-in input{width:18px;height:18px;flex:none;margin:0;accent-color:#7d4995}
.form-privacy{font-size:10px;color:#66516d;line-height:1.6;margin:0!important}
.submit-registration{width:100%;font-size:14px!important;min-height:50px!important}
.form-status{min-height:20px;font-size:12px;color:#714089}
.bot-field{position:absolute;left:-9999px;height:0;overflow:hidden}
#confirmedPanel{padding:25px 0;outline:none}
#confirmedPanel h2{margin:12px 0 22px}
#confirmedPanel p{font-size:14px;line-height:1.7}
.event-outro{text-align:center;font-size:13px;margin:45px 0}
.events-page>footer{justify-content:center}
@media(max-width:900px){.events-layout{grid-template-columns:1fr}.events-page .site-header nav{gap:11px}.events-page .site-header nav a{display:inline;font-size:11px}}
@media(max-width:650px){.events-page .site-header{flex-direction:column;gap:10px}.events-page h1{font-size:61px}.events-page .window-content{padding:23px}.event-facts>div{grid-template-columns:1fr;gap:4px}.events-page .site-header nav{flex-wrap:wrap;justify-content:center}.events-page .desktop-label span:last-child{max-width:180px}}

/* The Make a Lil Guy flyer, brought into its existing DoraOS windows. */
body.events-page{
  --os-ink:#25152f;--os-paper:#fffbff;--os-lav:#d8c6ff;--os-pink:#ffc9e5;
  background-color:#fffaff;
  background-image:radial-gradient(circle,#eee2fb 2px,transparent 2.5px);
  background-size:20px 20px;
}
.events-page .os-window{box-shadow:5px 7px 0 #dfc7ed55,0 12px 25px #5129670c}
.events-page .window-bar{background:linear-gradient(#e9dfff,#d1bcf5);color:#25152f}
.events-page .window-bar.pink{background:linear-gradient(#ffe0ef,#f5badc)}
.event-window-dots{display:flex;gap:6px}
.event-window-dots i{width:8px;height:8px;border-radius:50%;background:#f5a0cc;border:1px solid #9175a6;box-shadow:inset 1px 1px 2px #fff}
.event-window-dots i:nth-child(2){background:#fff091}
.event-window-dots i:nth-child(3){background:#bcebdc}
.event-hero{margin-bottom:28px}
.events-page .event-hero-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.42fr);gap:24px;padding:36px 48px;background:linear-gradient(125deg,#fffaff,#f0e5ff)}
.event-hero-copy{min-width:0}
.event-hero .event-kicker{margin:0 0 18px}
.events-page .event-hero h1{font-size:clamp(64px,8.2vw,106px);font-weight:900;letter-spacing:-.065em;line-height:.9;color:#09050b;text-shadow:-2px 0 #28c5f0,2px 1px #f000a5;margin:0 0 24px}
.event-hero .event-subtitle{font-size:clamp(18px,2.1vw,25px);max-width:27ch;margin-bottom:16px}
.event-hero .event-tagline{background:#ffe2f2;border-color:#b478a2;border-radius:5px;transform:rotate(-3deg);margin:0 0 24px;padding:10px 14px;font-size:11px}
.events-page .event-hero-when{font-size:15px;font-weight:bold;line-height:1.55;margin:0 0 22px;letter-spacing:.02em}
.event-hero-when span{font-size:13px;font-weight:normal;letter-spacing:0}
.event-bunny{width:100%;max-width:270px;aspect-ratio:445/556;height:auto;align-self:center;justify-self:center}
.event-rsvp{display:flex;align-items:center;gap:18px}
.event-rsvp>img{width:115px;height:auto;flex:none}
.event-rsvp .os-button{font-weight:bold;background:#f9c7e7;box-shadow:3px 3px 0 #ceabe8}
.event-rsvp .os-button:hover{background:#f5b2dc}
.event-details .window-content{background-image:url('/assets/events/purple-dots.png');background-repeat:no-repeat;background-position:right bottom;background-size:200px 200px;background-blend-mode:screen;background-color:#fffbff}
.event-equation{display:block;width:100%;height:auto;margin:0 0 24px}
.events-page .event-details h2{font-size:30px;margin-bottom:20px}
.event-facts{border-color:#ba8fc9}
.event-facts>div{border-color:#ba8fc9}
.event-facts span{color:#69417d}
.event-facts strong{font-weight:600;font-size:14px}
.event-flyer{margin:30px 0 0;padding-top:24px;border-top:1px dotted #ba8fc9;text-align:center}
.event-flyer>a{display:block;width:min(100%,464px);margin:auto}
.event-flyer img{display:block;width:100%;height:auto;border:1px solid #d3b2e4;box-shadow:5px 6px 0 #f4c8e4}
.event-flyer figcaption{margin-top:14px;font-size:11px}
.registration{scroll-margin-top:24px}
.registration .window-content{box-shadow:inset 0 0 24px #f9e2f3}
.events-page .submit-registration{background:#f6c6e3;font-weight:bold;box-shadow:3px 3px 0 #d3b2e8}
.events-page .submit-registration:hover{background:#f5b2dc}
.events-page .amount-choices button[aria-pressed=true]{background:#eadbff}
.events-page .total-line{background:#fbe4f1}
@media(max-width:900px){
  .events-page .event-hero-content{padding:30px;grid-template-columns:minmax(0,1fr) minmax(0,.45fr)}
  .events-layout{gap:24px}
}
@media(max-width:650px){
  .events-page .event-hero-content{padding:26px 22px;gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,.5fr)}
  .events-page .event-hero h1{font-size:clamp(40px,10.5vw,64px);text-shadow:-1px 0 #28c5f0,1px 1px #f000a5;margin-bottom:18px}
  .event-hero .event-subtitle{font-size:15px}
  .event-hero .event-tagline{font-size:9px;padding:8px;margin-bottom:18px}
  .event-hero .event-kicker{font-size:9px;line-height:1.6;margin-bottom:14px}
  .events-page .event-hero-when{font-size:12px;margin-bottom:18px}
  .event-hero-when span{font-size:11px}
  .event-rsvp>img{display:none}
  .event-rsvp .os-button{padding:10px 12px;font-size:11px}
  .event-bunny{align-self:center}
  .event-flyer>a{width:min(100%,464px)}
}

/* Phone controls stay readable and comfortable to tap. */
@media(max-width:650px){
  .events-page .site-header nav{gap:2px;justify-content:center;width:100%}
  .events-page .site-header nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 8px;font-size:12px}
  .event-rsvp .os-button{min-height:48px;display:inline-flex;align-items:center}
  .events-page .field input,.events-page .field select{font-size:16px}
  .events-page label.field,.events-page fieldset,.event-opt-in{font-size:13px}
  .events-page fieldset{padding:16px}
  .amount-choices{gap:6px}
  .amount-choices button{font-size:14px;min-height:46px}
  .event-flyer figcaption a{display:inline-flex;align-items:center;min-height:44px}
  .events-page>footer a{display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:380px){
  .events-page .event-hero h1{font-size:34px}
  .amount-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Share a public invitation, without collecting anyone else's details. */
.events-page .event-invite-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:10px 14px;border:1px solid #9d78b3;border-radius:8px;background:#fffbff;color:#513065;font:inherit;font-size:12px;font-weight:bold;cursor:pointer;text-decoration:none}
.events-page .event-invite-trigger:hover{background:#f0e5ff}
.event-invite-trigger[hidden],.invite-native-share[hidden]{display:none!important}
.confirmation-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.confirmation-actions .event-invite-trigger{margin-top:0}
.invite-dialog{width:min(560px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:2px solid #513065;border-radius:14px;background:#fffbff;color:#25152f;box-shadow:6px 7px 0 #d3b2e8;overflow:auto}
.invite-dialog::backdrop{background:#25152f99}
.invite-dialog .window-bar{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:5px 12px}
.invite-dialog #closeInvite{width:44px;height:44px;border:0;background:transparent;color:inherit;font-size:26px;cursor:pointer}
.invite-content{padding:24px}
.events-page .invite-dialog h2{font-size:27px;margin:0 0 14px}
.invite-content>p{font-size:13px;line-height:1.65}
.invite-content label{display:block;font-size:12px;font-weight:bold;margin:20px 0 8px}
.invite-content textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:215px;resize:vertical;border:1px solid #9d78b3;border-radius:8px;padding:12px;background:#f6eefe;color:#25152f;font:16px/1.5 'Lucida Console','Courier New',monospace}
.invite-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.invite-actions .os-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;padding:10px 12px;text-decoration:none}
.invite-status{min-height:22px;color:#513065}
.invite-content .invite-privacy{font-size:11px;margin-bottom:0}
.invite-dialog :focus-visible,.event-invite-trigger:focus-visible{outline:3px solid #713d9b;outline-offset:3px}
@media(max-width:450px){.invite-content{padding:18px}.invite-actions{display:grid;grid-template-columns:1fr}.invite-actions .os-button{width:100%}.invite-dialog{box-shadow:3px 4px 0 #d3b2e8}.event-invite-trigger{max-width:100%}}

/* Compact event directory with expandable workshop details */
.event-directory{max-width:980px;margin:20px auto 0}
.events-page .directory-title{font-size:clamp(32px,5vw,54px);letter-spacing:-.05em;margin:12px 0}
.directory-intro{margin-bottom:25px;font-size:14px}
.event-entry{margin:0 0 18px;border:2px solid #8f6caa;border-radius:13px;background:#fffbff;overflow:hidden;box-shadow:4px 5px 0 #e5cbed}
.event-card{display:flex;flex-direction:column;gap:8px;cursor:pointer;padding:25px 30px;list-style:none;background:linear-gradient(110deg,#fffaff,#f2e6ff)}
.event-card::-webkit-details-marker{display:none}
.event-card-date{font-size:11px;font-weight:bold;color:#75448d;letter-spacing:.08em}
.event-card-title{font-size:clamp(26px,4vw,43px);font-weight:900;letter-spacing:-.05em;line-height:1.1;color:#211027}
.event-card-desc{font-size:15px;font-weight:bold}
.event-card-meta{font-size:12px;color:#654b73}
.event-card-action{font-size:12px;font-weight:bold;color:#713d8b;margin-top:8px}
.event-card-action span{float:right;font-size:20px}
.event-entry[open] .event-card{border-bottom:2px solid #bda1d0;background:#f6e8ff}
.event-entry[open] .event-card-action span{transform:rotate(45deg)}
.event-expanded{padding:20px}
.event-expanded .event-hero{margin-bottom:20px}
.event-expanded .event-details,.event-expanded .registration{max-width:100%}
.event-expanded .event-hero-content{grid-template-columns:minmax(0,1fr) minmax(0,.3fr)}
.event-card:focus-visible{outline:3px solid #713d9b;outline-offset:-5px}
@media(max-width:650px){.event-card{padding:21px 18px}.event-expanded{padding:10px}.event-expanded .event-hero-content{grid-template-columns:1fr}.event-expanded .event-bunny{display:none}}

/* Compact event directory, preserving event artwork and expanded registration. */
@media(max-width:650px){
 .events-page .event-card{padding:16px!important;gap:6px!important}
 .events-page .event-card-title{font-size:clamp(21px,5.5vw,26px)!important;line-height:1.15!important;letter-spacing:-.025em!important}
 .events-page .event-card-desc{font-size:13px!important;line-height:1.45!important;font-weight:normal!important}
 .events-page .event-card-meta{font-size:11px!important;line-height:1.4!important}
 .events-page .event-card-action{font-size:12px!important;margin-top:5px!important}
 .events-page .directory-title{font-size:clamp(28px,7vw,34px)!important;line-height:1.15!important}
 .events-page .directory-intro{font-size:13px!important;line-height:1.45!important}
 .events-page .event-card img{max-width:95px;max-height:95px;object-fit:contain}
}

/* Condensed event registration: essentials first, optional guidance on demand. */
.events-page .event-expanded{padding:10px!important}
.events-page .event-expanded .registration{margin:0!important}
.events-page .event-expanded .registration .window-content{padding:16px!important}
.events-page .event-expanded .registration .window-bar{padding:7px 11px!important;min-height:0!important}
.events-page .event-registration-intro{display:flex;flex-direction:column;gap:5px;margin:0 0 12px!important;font:13px/1.45 Arial,Helvetica,sans-serif!important}
.events-page .event-registration-intro strong{font:700 15px/1.25 'Lucida Console','Courier New',monospace}
.events-page .event-extra-info{border:1px solid #bca2c9;border-radius:8px;background:#fff7db;margin:0 0 12px;padding:0}
.events-page .event-extra-info summary{padding:9px 11px;font:700 12px 'Lucida Console','Courier New',monospace;cursor:pointer}
.events-page .event-extra-info p{padding:0 11px;font:12px/1.5 Arial,Helvetica,sans-serif}
.events-page .registration form{display:grid;gap:10px}
.events-page .registration form>.field{margin:0!important}
.events-page .registration form .field{font-size:12px!important;line-height:1.35!important}
.events-page .registration form input:not([type=checkbox]),.events-page .registration form select{min-height:40px!important;padding:8px 10px!important;font:14px Arial,Helvetica,sans-serif!important}
.events-page .registration form fieldset{margin:0!important;padding:10px!important;border-radius:9px!important}
.events-page .registration form fieldset legend{font-size:12px!important;padding:0 5px}
.events-page .registration form .field-note{font:11px/1.4 Arial,Helvetica,sans-serif!important;margin:0 0 7px!important}
.events-page .registration form .amount-choices{display:flex;gap:5px;flex-wrap:wrap}
.events-page .registration form .amount-choices button{flex:1 1 52px;min-width:0;padding:8px 5px!important;font-size:12px!important}
.events-page .registration form .custom-amount[hidden]{display:none!important}
.events-page .registration form .total-line{padding:10px 12px!important;margin:0!important;font-size:13px!important}
.events-page .registration form .shirt-subtotal,.events-page .registration form .shirt-tee-subtotal{display:none!important}
.events-page .registration form .form-privacy{font:11px/1.4 Arial,Helvetica,sans-serif!important;margin:0!important}
.events-page .registration form .event-opt-in{font:12px/1.4 Arial,Helvetica,sans-serif!important;margin:0!important}
.events-page .registration form .submit-registration{margin:0!important;min-height:43px}
@media(max-width:650px){.events-page .event-expanded{padding:7px!important}.events-page .event-expanded .registration .window-content{padding:12px!important}.events-page .registration form{gap:8px}.events-page .registration form fieldset{padding:8px!important}}

/* Registration v2: remove nested chrome and oversized spacing */
.events-page .event-expanded .registration{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fffafc!important}
.events-page .event-expanded .registration .window-content{padding:14px!important}
.events-page .event-expanded .registration .window-content>form{margin-top:9px!important}
.events-page .event-registration-intro strong{display:block;margin-bottom:4px}
.events-page .event-registration-intro span{display:block}
.events-page .registration form fieldset{border:0!important;padding:0!important;margin:0!important;min-width:0!important;background:transparent!important}
.events-page .registration form fieldset legend{padding:0!important;margin-bottom:6px!important;font-size:12px!important}
.events-page .registration form .amount-choices{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;margin:5px 0!important}
.events-page .registration form .amount-choices button{width:100%!important;min-width:0!important;min-height:38px!important;padding:6px 2px!important;flex:none!important;font-size:11px!important;white-space:nowrap!important}
.events-page .registration form .total-line{padding:10px 12px!important;border-radius:9px!important;min-height:0!important}
.events-page .registration form .total-line:not(.compact-total){display:none!important}
.events-page .registration form .compact-total{display:flex!important;justify-content:space-between!important;align-items:center!important;background:#f9e1ee!important}
.events-page .registration form .compact-total strong{font-size:20px!important}
.events-page .registration form .shirt-person-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;padding:0 0 8px;margin:0 0 8px;border-bottom:1px solid #e7d8e8}
.events-page .registration form .shirt-person-row>.field{margin:0!important;min-width:0}
.events-page .registration form .shirt-tee-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.events-page .registration form .shirt-tee-options[hidden]{display:none!important}
.events-page .registration form .shirt-tee-options>.field{min-width:0;margin:0!important}
.events-page .registration form .shirt-person-row input,.events-page .registration form .shirt-person-row select{width:100%!important}
.events-page .registration form .event-opt-in{font-size:11px!important}
.events-page .registration form .field-note[hidden],.events-page .event-extra-info[hidden]{display:none!important}
.events-page .registration form .submit-registration{width:100%!important}
@media(max-width:650px){.events-page .event-expanded .registration .window-content{padding:11px!important}.events-page .registration form .shirt-tee-options{grid-template-columns:1fr 1fr}.events-page .registration form .shirt-tee-options>.field:last-child{grid-column:1/-1}}

/* Final form polish: readable compact labels and no unnecessary card depth. */
.events-page .event-expanded .registration .window-content{font-size:13px!important;line-height:1.45!important}
.events-page .event-registration-intro{border-bottom:1px solid #e5d4e9;padding-bottom:10px;margin-bottom:10px!important}
.events-page .registration form .field{display:block}
.events-page .registration form .field>input,.events-page .registration form .field>select{margin-top:5px!important}
.events-page .registration form .shirt-person-row .field>input,.events-page .registration form .shirt-person-row .field>select{margin-top:5px!important}
.events-page .registration form .amount-choices button[aria-pressed=true]{background:#e4cff1!important;border:2px solid #34233e!important;font-weight:700!important}
.events-page .registration form .amount-choices button:focus-visible{outline:3px solid #754497;outline-offset:2px}
.events-page .registration form .compact-total{margin-top:3px!important}
.events-page .registration form .submit-registration{border-radius:12px!important;box-shadow:2px 3px 0 #cdaaf0!important}
@media(max-width:650px){.events-page .event-extra-info summary{font-size:11px!important}.events-page .registration form .shirt-person-row{gap:7px!important}.events-page .registration form .amount-choices{gap:4px!important}}
