/* Community Events pilot. Flyer artwork carries the color; chrome stays quiet. */
#teajr-community-events#teajr-community-events {
  --ev-bg:var(--pc-page,var(--background-color));
  --ev-ink:var(--pc-ink,var(--text-primary));
  --ev-panel:var(--pc-card,color-mix(in srgb,var(--ev-bg) 96%,var(--ev-ink)));
  --ev-raised:var(--pc-soft,color-mix(in srgb,var(--ev-bg) 92%,var(--ev-ink)));
  --ev-dim:var(--pc-dim,var(--text-secondary));--ev-line:var(--pc-line,var(--border-color));
  --ev-action:var(--pc-btn,var(--ev-ink));--ev-on-action:var(--pc-on-btn,var(--ev-bg));
  position:fixed;z-index:2147483646;inset:0;width:100%;max-width:none;height:100%;max-height:100%;margin:0;padding:0;border:0;border-radius:0;
  background:var(--ev-bg);color:var(--ev-ink)!important;color-scheme:inherit;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  font-family:var(--font-family,Manrope),-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.5;font-weight:400!important;
}
#teajr-community-events#teajr-community-events::backdrop{background:var(--pc-page,var(--background-color))}
#teajr-community-events#teajr-community-events *{box-sizing:border-box;font-family:inherit!important;font-weight:inherit!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}
#teajr-community-events#teajr-community-events [hidden]{display:none!important}
#teajr-community-events#teajr-community-events :is(button,input,select,textarea,a){font:inherit;letter-spacing:normal;-webkit-text-fill-color:currentColor}
#teajr-community-events#teajr-community-events button{cursor:pointer;touch-action:manipulation;box-shadow:none;text-shadow:none;filter:none;transition:background .15s ease;}
#teajr-community-events#teajr-community-events button:disabled{opacity:.55;cursor:default}
#teajr-community-events#teajr-community-events button:focus-visible,#teajr-community-events#teajr-community-events a:focus-visible{outline:2px solid var(--ev-action);outline-offset:3px}
#teajr-community-events#teajr-community-events :is(h1,h2,h3,p){margin:0}
#teajr-community-events#teajr-community-events h1{font-size:24px;line-height:1.2;font-weight:650!important;letter-spacing:-.5px}
#teajr-community-events#teajr-community-events h2{font-size:17px;line-height:1.4;font-weight:600!important;letter-spacing:0}
#teajr-community-events#teajr-community-events .ev-app{max-width:960px;margin:auto;min-height:100%;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));background:var(--ev-bg)}
#teajr-community-events#teajr-community-events .ev-header{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:3;padding:calc(16px + env(safe-area-inset-top,0px)) 20px 16px;background:var(--ev-bg);}
#teajr-community-events#teajr-community-events .ev-header>div{flex:1;min-width:0}
#teajr-community-events#teajr-community-events .ev-header p{font-size:12px;color:var(--ev-dim)!important;margin-top:4px}
#teajr-community-events#teajr-community-events .ev-icon{width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:var(--ev-panel);color:var(--ev-ink)!important;display:inline-flex;align-items:center;justify-content:center;font-size:16px}
#teajr-community-events#teajr-community-events .ev-create{background:var(--ev-action);color:var(--ev-on-action)!important}
#teajr-community-events#teajr-community-events .ev-header--branded {
  gap:8px;
  padding:calc(5px + env(safe-area-inset-top,0px)) 12px 5px;
}
#teajr-community-events#teajr-community-events .ev-header--branded [data-ev="back"] {
  margin-inline-start:-4px;
  background:transparent;
}
#teajr-community-events#teajr-community-events .ev-feed{padding:0 20px}
#teajr-community-events#teajr-community-events .ev-viewbar{display:flex;gap:12px;align-items:center;margin:4px 0 16px}
#teajr-community-events#teajr-community-events .ev-segments{display:flex;align-items:center;background:var(--ev-panel);padding:4px;border:1px solid var(--ev-line);border-radius:24px;flex:1;min-width:0}
#teajr-community-events#teajr-community-events .ev-segments button{flex:1;min-height:36px;padding:6px 8px;border:0;border-radius:20px;background:transparent;color:var(--ev-dim)!important;font-size:12px;font-weight:500!important}
#teajr-community-events#teajr-community-events .ev-segments .is-active{background:var(--ev-action);color:var(--ev-on-action)!important}
#teajr-community-events#teajr-community-events .ev-categories{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:0 0 8px;}
#teajr-community-events#teajr-community-events .ev-categories button{border:1px solid var(--ev-line);background:transparent;color:var(--ev-dim)!important;padding:8px 14px;border-radius:20px;font-size:12px;min-height:36px;white-space:nowrap;}
#teajr-community-events#teajr-community-events .ev-categories .is-active{background:var(--ev-ink);color:var(--ev-bg)!important;border-color:var(--ev-ink)}
#teajr-community-events#teajr-community-events .ev-host-tools{display:flex;align-items:center;gap:16px;padding:4px 0 16px;}
#teajr-community-events#teajr-community-events .ev-host-tools:empty{display:none}
#teajr-community-events#teajr-community-events .ev-text{background:none;border:0;padding:4px 0;color:var(--ev-dim)!important;display:inline-flex;align-items:center;gap:8px;font-size:12px;min-height:36px;text-decoration:none}
#teajr-community-events#teajr-community-events .ev-text.is-active{color:var(--ev-ink)!important}
#teajr-community-events#teajr-community-events .ev-host-tools>span{margin-left:auto;font-size:11px;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-host-tools b{padding:0 6px;background:var(--ev-action);color:var(--ev-on-action)!important;border-radius:4px;font-size:11px}
#teajr-community-events#teajr-community-events .ev-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px 0 12px}
#teajr-community-events#teajr-community-events .ev-section-heading>span{font-size:12px;color:var(--ev-dim)!important;white-space:nowrap}
#teajr-community-events#teajr-community-events .ev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
#teajr-community-events#teajr-community-events .ev-card{border:1px solid var(--ev-line);border-radius:20px;overflow:hidden;background:var(--ev-panel);min-width:0;}
#teajr-community-events#teajr-community-events .ev-poster{position:relative;aspect-ratio:1.8;overflow:hidden;background:var(--ev-raised)}
#teajr-community-events#teajr-community-events .ev-cover-button{display:block;border:0;margin:0;padding:0;width:100%;height:100%;background:transparent;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-poster img,#teajr-community-events#teajr-community-events .ev-detail-art>img{display:block;width:100%;height:100%;object-fit:cover;}
#teajr-community-events#teajr-community-events .ev-no-photo{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;color:var(--ev-dim)!important;font-size:20px;}
#teajr-community-events#teajr-community-events .ev-save{position:absolute;top:12px;right:12px;background:rgba(8,9,12,.7);color:#fff!important;border:1px solid rgba(255,255,255,.25);border-radius:50%;width:36px;height:36px;padding:0;}
#teajr-community-events#teajr-community-events .ev-save.is-saved{background:var(--ev-action);color:var(--ev-on-action)!important}
#teajr-community-events#teajr-community-events .ev-demo{position:absolute;bottom:12px;left:12px;background:rgba(8,9,12,.8);color:#e6e6ec!important;border:1px solid rgba(255,255,255,.18);border-radius:6px;padding:3px 7px;font-size:10px;letter-spacing:.1px;pointer-events:none}
#teajr-community-events#teajr-community-events .ev-card-body{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;border:0;background:var(--ev-panel);color:var(--ev-ink)!important}
#teajr-community-events#teajr-community-events .ev-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:52px;height:64px;flex:0 0 52px;background:var(--ev-raised);border-radius:12px;line-height:1.1;}
#teajr-community-events#teajr-community-events .ev-date small{text-transform:uppercase;font-size:11px;font-weight:500!important;color:var(--ev-dim)!important;}
#teajr-community-events#teajr-community-events .ev-date b{font-size:26px;font-weight:600!important;margin-top:4px;font-variant-numeric:tabular-nums}
#teajr-community-events#teajr-community-events .ev-card-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
#teajr-community-events#teajr-community-events .ev-card-copy strong{font-size:14px;font-weight:600!important;line-height:1.3;overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-card-copy>span{font-size:11px;line-height:1.4;color:var(--ev-dim)!important;display:flex;align-items:center;gap:6px}
#teajr-community-events#teajr-community-events .ev-card-copy>.ev-card-schedule{font-size:12px;color:var(--ev-ink)!important;margin-bottom:2px}
#teajr-community-events#teajr-community-events .ev-arrow{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--ev-raised);color:var(--ev-dim)!important;font-size:11px;}
#teajr-community-events#teajr-community-events .ev-footnote{font-size:11px;color:var(--ev-dim)!important;padding:20px 0 8px;text-align:center}
#teajr-community-events#teajr-community-events .ev-primary,#teajr-community-events#teajr-community-events .ev-secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:24px;padding:12px 20px;border:0;background:var(--ev-action);color:var(--ev-on-action)!important;font-size:14px;font-weight:600!important;text-decoration:none;}
#teajr-community-events#teajr-community-events .ev-primary:disabled{opacity:.7;}
#teajr-community-events#teajr-community-events .ev-secondary{background:var(--ev-raised);color:var(--ev-ink)!important;border:1px solid var(--ev-line)}
#teajr-community-events#teajr-community-events .ev-block{width:100%;justify-content:space-between}
#teajr-community-events#teajr-community-events .ev-loading,#teajr-community-events#teajr-community-events .ev-empty{padding:64px 24px;text-align:center;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-empty>i{font-size:28px;margin-bottom:20px;}
#teajr-community-events#teajr-community-events .ev-empty h2{color:var(--ev-ink)!important;margin-bottom:8px}
#teajr-community-events#teajr-community-events .ev-empty p{max-width:320px;margin:0 auto 20px;}
#teajr-community-events#teajr-community-events .ev-detail{max-width:680px;margin:auto}
#teajr-community-events#teajr-community-events .ev-detail-art{position:relative;aspect-ratio:1.45;background:var(--ev-raised);overflow:hidden}
#teajr-community-events#teajr-community-events .ev-detail-tools{position:absolute;inset:0 0 auto;display:flex;gap:8px;padding:calc(16px + env(safe-area-inset-top,0px)) 20px 16px;}
#teajr-community-events#teajr-community-events .ev-detail-tools>span{flex:1}
#teajr-community-events#teajr-community-events .ev-detail-tools .ev-icon{background:rgba(8,9,12,.65);color:white!important;border:1px solid rgba(255,255,255,.12)}
#teajr-community-events#teajr-community-events .ev-detail-tools [aria-pressed=true]{background:var(--ev-action);color:var(--ev-on-action)!important}
#teajr-community-events#teajr-community-events .ev-detail-content{padding:24px 20px;}
#teajr-community-events#teajr-community-events .ev-category-line{display:flex;justify-content:space-between;font-size:12px;color:var(--ev-dim)!important;margin-bottom:8px}
#teajr-community-events#teajr-community-events .ev-detail-content h1{font-size:28px;max-width:520px;}
#teajr-community-events#teajr-community-events .ev-detail-info{display:flex;align-items:center;gap:16px;padding:20px 0 24px;}
#teajr-community-events#teajr-community-events .ev-detail-info strong{font-weight:500!important;font-size:14px}
#teajr-community-events#teajr-community-events .ev-detail-info p{font-size:12px;color:var(--ev-dim)!important;margin-top:4px;}
#teajr-community-events#teajr-community-events .ev-detail-info p i{margin-right:6px}
#teajr-community-events#teajr-community-events .ev-detail-tabs{display:flex;gap:4px;border-top:1px solid var(--ev-line);border-bottom:1px solid var(--ev-line);margin:24px 0;}
#teajr-community-events#teajr-community-events .ev-detail-tabs button{display:flex;flex:1;flex-direction:column;align-items:center;gap:8px;color:var(--ev-dim)!important;background:none;padding:14px 4px;border:0;border-bottom:2px solid transparent;font-size:11px;}
#teajr-community-events#teajr-community-events .ev-detail-tabs button i{font-size:16px}
#teajr-community-events#teajr-community-events .ev-detail-tabs button.is-active{color:var(--ev-ink)!important;border-bottom-color:var(--ev-action)}
#teajr-community-events#teajr-community-events .ev-detail-panel>p{color:var(--ev-dim)!important;margin-top:12px;line-height:1.7;}
#teajr-community-events#teajr-community-events .ev-description{white-space:pre-wrap;overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-pending-note{display:flex;gap:10px;align-items:flex-start;background:var(--ev-panel);color:var(--ev-dim)!important;padding:16px;border:1px solid var(--ev-line);border-radius:12px;font-size:12px;margin-top:16px;}
#teajr-community-events#teajr-community-events .ev-pending-note i{margin-top:3px;flex:none}
#teajr-community-events#teajr-community-events .ev-edit{margin-top:12px}
#teajr-community-events#teajr-community-events .ev-review-actions{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}
#teajr-community-events#teajr-community-events .ev-schedule{display:flex;gap:24px;padding:20px 0;border-bottom:1px solid var(--ev-line)}
#teajr-community-events#teajr-community-events .ev-schedule>span{color:var(--ev-dim)!important;min-width:80px}
#teajr-community-events#teajr-community-events .ev-schedule p{color:var(--ev-dim)!important;font-size:12px;margin-top:4px}
#teajr-community-events#teajr-community-events .ev-muted{font-size:12px;color:var(--ev-dim)!important;margin-top:12px}
#teajr-community-events#teajr-community-events .ev-map{margin-top:20px}
#teajr-community-events#teajr-community-events .ev-search,#teajr-community-events#teajr-community-events .ev-copy-link{width:100%;background:var(--ev-panel);color:var(--ev-ink)!important;border:1px solid var(--ev-line);border-radius:12px;padding:12px 16px;margin-bottom:16px;font-size:16px;}
#teajr-community-events#teajr-community-events .ev-calendar{border-bottom:1px solid var(--ev-line);padding-bottom:16px;margin-top:16px;}
#teajr-community-events#teajr-community-events .ev-calendar header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
#teajr-community-events#teajr-community-events .ev-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
#teajr-community-events#teajr-community-events .ev-calendar-days small{padding:8px 0;color:var(--ev-dim)!important;font-size:11px}
#teajr-community-events#teajr-community-events .ev-calendar-days button{position:relative;background:none;color:var(--ev-ink)!important;min-height:44px;padding:8px 0 12px;border:0;border-radius:12px;}
#teajr-community-events#teajr-community-events .ev-calendar-days button.is-selected{background:var(--ev-action);color:var(--ev-on-action)!important}
#teajr-community-events#teajr-community-events .ev-calendar-days button i{position:absolute;width:4px;height:4px;background:currentColor;border-radius:50%;bottom:5px;left:calc(50% - 2px)}
/* The composer shares the event cards' surfaces, rather than native form chrome. */
html.community-events-open,body.community-events-open{overflow:hidden!important;overscroll-behavior-x:none!important}
#teajr-community-events#teajr-community-events#teajr-community-events{overflow-x:hidden;max-inline-size:100%;overscroll-behavior-x:none;touch-action:pan-y;}
#teajr-community-events#teajr-community-events#teajr-community-events:not([open]){display:none!important}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-app,
#teajr-community-events#teajr-community-events#teajr-community-events .ev-content{min-width:0;max-width:100%;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer{width:100%;max-width:600px;min-width:0;margin:auto;padding:4px 20px 32px;display:flex;flex-direction:column;gap:28px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer :is(input,select,textarea){box-sizing:border-box!important;display:block;min-inline-size:0!important;max-inline-size:100%!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--ev-ink)!important;-webkit-text-fill-color:var(--ev-ink)!important;font-size:16px!important;font-weight:400!important;border-radius:0;outline-offset:3px;appearance:none;-webkit-appearance:none;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer input::placeholder,
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer textarea::placeholder{color:var(--ev-dim)!important;-webkit-text-fill-color:var(--ev-dim)!important;opacity:.8!important}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer input::-webkit-date-and-time-value{text-align:left;min-height:24px}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer input::-webkit-datetime-edit{padding:0;min-width:0}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer input::-webkit-inner-spin-button{appearance:none;display:none}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer input::-webkit-calendar-picker-indicator{max-width:18px;margin:0 0 0 4px;padding:2px;opacity:.55}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-editor{min-width:0}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-pick{position:relative;display:block;width:100%;aspect-ratio:1.85;min-width:0;padding:0;background:var(--ev-panel);border:1px solid var(--ev-line);border-radius:20px;color:var(--ev-dim)!important;overflow:hidden;text-align:center;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-pick>[data-ev-upload-preview]{position:absolute;inset:0;display:block}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-pick img{width:100%;height:100%;display:block;object-fit:cover;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:100%;padding:20px 16px 56px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-empty>i{font-size:24px;margin-bottom:4px;color:var(--ev-dim)!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-empty strong{font-size:14px;font-weight:500!important;color:var(--ev-ink)!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-empty small{font-size:12px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-edit{position:absolute;bottom:12px;right:12px;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:20px;background:var(--ev-action);color:var(--ev-on-action)!important;font-size:12px;font-weight:500!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-cover-hint{font-size:11px;color:var(--ev-dim)!important;margin-top:8px;text-align:center;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-event-name{display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px;background:var(--ev-panel);border:1px solid var(--ev-line);border-radius:16px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-event-name input{width:100%;padding:0!important;min-height:32px;font-size:22px!important;line-height:1.4!important;font-weight:500!important;letter-spacing:-.3px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-editor-section{display:flex;flex-direction:column;gap:12px;min-width:0;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-editor-section h2{font-size:14px;font-weight:600!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-field-card{min-width:0;max-width:100%;background:var(--ev-panel);border:1px solid var(--ev-line);border-radius:16px;overflow:hidden;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer-row{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;min-height:64px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer-row+.ev-composer-row{border-top:1px solid var(--ev-line);}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-row-icon{display:flex;align-items:center;justify-content:center;width:20px;flex:0 0 20px;color:var(--ev-dim)!important;font-size:15px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-field{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-field>span,
#teajr-community-events#teajr-community-events#teajr-community-events .ev-field-label{display:block;font-size:12px;color:var(--ev-dim)!important;font-weight:400!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-field input{width:100%!important;height:28px;min-height:28px;padding:0!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-time-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;min-width:0;flex:1;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-row-content{flex:1;display:block;min-width:0;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-row-content :is(input,select){width:100%;padding:4px 0!important;min-height:28px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-zone-row select{text-overflow:ellipsis;white-space:nowrap;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-zone-row>i,
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-row>i{font-size:10px;color:var(--ev-dim)!important;flex:none;pointer-events:none;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-location-field{display:flex;align-items:center;gap:12px;padding:14px 16px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-about-field{display:block;padding:14px 16px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-about-field textarea{width:100%;min-height:80px;padding:0!important;resize:vertical;line-height:1.6;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-row{font-size:14px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-row>span:not(.ev-row-icon){min-width:0;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-row>span>small{display:block;font-size:11px;color:var(--ev-dim)!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-row select{flex:1;width:auto;min-width:0;text-align:right;text-align-last:right;padding:8px 0!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-row input{flex:1;width:0;min-width:0;text-align:right;padding:8px 0!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-value{margin-left:auto;color:var(--ev-dim)!important;font-size:13px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-publish-area{display:flex;flex-direction:column;gap:16px;min-width:0;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-publish-note{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--ev-dim)!important;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-publish-note i{flex:none;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-publish-area .ev-primary{min-height:52px;}
@media(max-width:360px){#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer{padding-inline:16px;gap:24px}#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer-row{padding-inline:12px;gap:8px}#teajr-community-events#teajr-community-events#teajr-community-events .ev-time-pair{gap:8px}}
#teajr-community-events#teajr-community-events .ev-form-error{color:var(--ev-ink)!important;padding:12px;background:var(--ev-raised);border-radius:8px}
#teajr-community-events#teajr-community-events .ev-form-footer{text-align:center;margin:0}
#teajr-community-events#teajr-community-events .ev-notice{position:sticky;bottom:calc(16px + env(safe-area-inset-bottom,0px));margin:0 20px;padding:14px 16px;background:var(--ev-action);color:var(--ev-on-action)!important;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,.25);z-index:10;font-size:13px;}
@media(max-width:600px){#teajr-community-events#teajr-community-events .ev-grid{grid-template-columns:minmax(0,1fr)}#teajr-community-events#teajr-community-events .ev-poster{aspect-ratio:1.85}#teajr-community-events#teajr-community-events .ev-feed{padding:0 16px}#teajr-community-events#teajr-community-events .ev-header{padding-right:16px;padding-left:16px}#teajr-community-events#teajr-community-events .ev-detail-art{aspect-ratio:1.5}}
@media(min-width:900px){#teajr-community-events#teajr-community-events .ev-header{padding-top:24px}#teajr-community-events#teajr-community-events .ev-grid{gap:24px}#teajr-community-events#teajr-community-events .ev-detail-art{aspect-ratio:1.8}}
@media(prefers-reduced-motion:reduce){#teajr-community-events#teajr-community-events button{transition:none}}

/* Glass uses the same shared photo, frosted fills and owner tint as the app. */
html[data-appearance="glass"] #teajr-community-events#teajr-community-events {
  --ev-bg:var(--gl-sheet-base);--ev-ink:var(--gl-ink);--ev-panel:var(--gl-fill);--ev-raised:var(--gl-fill-strong);
  --ev-dim:var(--gl-dim);--ev-line:var(--gl-rim);--ev-action:var(--gl-cta);--ev-on-action:var(--gl-cta-ink);
  background:transparent;
}
html[data-appearance="glass"] #teajr-community-events#teajr-community-events::backdrop {background:var(--gl-sheet);backdrop-filter:var(--gl-blur);-webkit-backdrop-filter:var(--gl-blur)}
html[data-appearance="glass"] #teajr-community-events#teajr-community-events .ev-app {background:transparent}
html[data-appearance="glass"] #teajr-community-events#teajr-community-events .ev-card-body {background:transparent}

#teajr-community-events#teajr-community-events .ev-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#teajr-community-events#teajr-community-events .ev-categories button i{margin-right:6px;font-size:11px}
#teajr-community-events#teajr-community-events#teajr-community-events .fas{font-family:"Font Awesome 6 Free","Font Awesome 5 Free"!important;font-weight:900!important;font-style:normal!important}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer .ev-field-card:focus-within{border-color:color-mix(in srgb,var(--ev-ink) 45%,var(--ev-bg));box-shadow:0 0 0 2px color-mix(in srgb,var(--ev-ink) 12%,transparent)}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-composer .ev-field-card :is(input,select,textarea):focus{outline:none!important}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-row input[name=category]{max-width:60%;text-overflow:ellipsis}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-option-row select[name=ticket_item_id]{max-width:65%;text-overflow:ellipsis;white-space:nowrap}
#teajr-community-events#teajr-community-events .ev-ticket-options{display:flex;flex-direction:column;gap:8px;margin-top:12px}
#teajr-community-events#teajr-community-events .ev-ticket-options h2{font-size:15px;font-weight:600!important}
#teajr-community-events#teajr-community-events .ev-ticket-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--ev-panel);color:var(--ev-ink)!important;border:1px solid var(--ev-line);border-radius:12px;padding:14px 16px;text-align:left;width:100%;min-width:0}
#teajr-community-events#teajr-community-events .ev-ticket-choice>span{display:flex;flex-direction:column;gap:4px;min-width:0}
#teajr-community-events#teajr-community-events .ev-ticket-choice strong{font-weight:500!important;overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-ticket-choice small{color:var(--ev-dim)!important;font-size:12px}
#addItemModal[data-community-event-draft] [data-shop-product-kind]:not([data-shop-product-kind="ticket"]){display:none!important}
/* Category and Registration use the same application chevron. Keep native
   category autocomplete; suppress only its additional browser indicator. */
#teajr-community-events#teajr-community-events#teajr-community-events input[name="category"]::-webkit-calendar-picker-indicator{display:none!important;opacity:0!important}
#teajr-community-events#teajr-community-events#teajr-community-events input[name="category"]::-webkit-list-button{display:none!important;opacity:0!important}

#teajr-community-events#teajr-community-events .ev-app{container-type:inline-size;container-name:community-events;width:100%}

/* Registration shares the event's artwork, surfaces and action colors. */
#teajr-community-events#teajr-community-events .ev-registration-layout{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:64px;padding:24px 32px 48px;align-items:start}
#teajr-community-events#teajr-community-events .ev-registration-summary{min-width:0;position:sticky;top:104px}
#teajr-community-events#teajr-community-events .ev-registration-art{aspect-ratio:1.3;overflow:hidden;border-radius:20px;background:var(--ev-panel);margin-bottom:24px}
#teajr-community-events#teajr-community-events .ev-registration-art img{width:100%;height:100%;object-fit:cover}
#teajr-community-events#teajr-community-events .ev-registration-host{font-size:12px;color:var(--ev-dim)!important;margin-bottom:8px}
#teajr-community-events#teajr-community-events .ev-registration-summary h2{font-size:28px;line-height:1.15;font-weight:600!important;overflow-wrap:anywhere;margin-bottom:24px}
#teajr-community-events#teajr-community-events .ev-registration-fact{display:flex;gap:12px;margin:16px 0;align-items:flex-start}
#teajr-community-events#teajr-community-events .ev-registration-fact>i{width:20px;padding-top:4px;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-registration-fact div{display:grid;gap:4px;min-width:0}
#teajr-community-events#teajr-community-events .ev-registration-fact strong{font-weight:500!important;overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-registration-fact span{font-size:12px;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-registration-admission{display:flex;justify-content:space-between;padding-top:20px;margin-top:24px;border-top:1px solid var(--ev-line)}
#teajr-community-events#teajr-community-events .ev-registration-admission strong{font-weight:600!important}
#teajr-community-events#teajr-community-events .ev-registration-main{min-width:0;padding:8px 0}
#teajr-community-events#teajr-community-events .ev-registration-kicker{display:inline-block;font-size:12px;color:var(--ev-dim)!important;margin-bottom:12px}
#teajr-community-events#teajr-community-events .ev-registration-main h1{font-size:32px;line-height:1.15;letter-spacing:-.6px;font-weight:600!important}
#teajr-community-events#teajr-community-events .ev-registration-intro{color:var(--ev-dim)!important;margin-top:12px;line-height:1.6}
#teajr-community-events#teajr-community-events .ev-registration-form{margin-top:28px}
#teajr-community-events#teajr-community-events .ev-registration-fields{display:grid;gap:16px}
#teajr-community-events#teajr-community-events .ev-registration-field{display:grid;gap:8px;min-width:0;font-size:13px}
#teajr-community-events#teajr-community-events .ev-registration-field>span{font-weight:500!important}
#teajr-community-events#teajr-community-events .ev-registration-field small{font-size:11px;color:var(--ev-dim)!important;margin-left:4px;font-weight:400!important}
#teajr-community-events#teajr-community-events .ev-registration-field :is(input,textarea,select){width:100%;min-width:0;max-width:100%;min-height:52px;border:1px solid var(--ev-line)!important;border-radius:14px!important;background:var(--ev-panel)!important;padding:14px 16px!important;color:var(--ev-ink)!important;box-shadow:none!important;outline:none;font-size:16px!important;appearance:none;-webkit-appearance:none;resize:vertical}
#teajr-community-events#teajr-community-events .ev-registration-field :is(input,textarea,select):focus{border-color:var(--ev-action)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--ev-action) 12%,transparent)!important}
#teajr-community-events#teajr-community-events .ev-registration-field input::placeholder{color:var(--ev-dim)!important;opacity:.7}
#teajr-community-events#teajr-community-events .ev-registration-quantity{position:relative}
#teajr-community-events#teajr-community-events .ev-registration-quantity>i{position:absolute;right:16px;bottom:20px;font-size:12px;pointer-events:none}
#teajr-community-events#teajr-community-events .ev-registration-questions{display:grid;gap:16px;margin-top:28px;padding-top:24px;border-top:1px solid var(--ev-line)}
#teajr-community-events#teajr-community-events .ev-registration-questions h2{font-size:15px}
#teajr-community-events#teajr-community-events .ev-registration-private{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:var(--ev-dim)!important;line-height:1.6;margin:24px 0}
#teajr-community-events#teajr-community-events .ev-registration-private>i{padding-top:4px}
#teajr-community-events#teajr-community-events .ev-registration-no-payment{text-align:center;color:var(--ev-dim)!important;font-size:12px;margin-top:12px}
#teajr-community-events#teajr-community-events .ev-registration-main>.ev-block{margin-top:12px;min-height:52px}
#teajr-community-events#teajr-community-events .ev-registration-check{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--ev-raised);font-size:24px;margin-bottom:24px}
#teajr-community-events#teajr-community-events .ev-registration-confirmation{border:1px solid var(--ev-line);border-radius:20px;padding:4px 20px;margin:28px 0 0;background:var(--ev-panel)}
#teajr-community-events#teajr-community-events .ev-registration-confirmation>div{display:grid;gap:4px;padding:16px 0}
#teajr-community-events#teajr-community-events .ev-registration-confirmation>div+div{border-top:1px solid var(--ev-line)}
#teajr-community-events#teajr-community-events .ev-registration-confirmation span,#teajr-community-events#teajr-community-events .ev-registration-confirmation small{font-size:12px;color:var(--ev-dim)!important;overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-registration-confirmation strong{font-size:16px;font-weight:500!important}
#teajr-community-events#teajr-community-events .ev-registration-code{font-variant-numeric:tabular-nums;letter-spacing:1px}
#teajr-community-events#teajr-community-events .ev-registration-question-editor{padding:16px;border:1px solid var(--ev-line);border-radius:16px;margin:12px 0;background:var(--ev-panel)}
#teajr-community-events#teajr-community-events .ev-registration-question-editor>div{display:flex;justify-content:space-between;align-items:center;margin-top:12px}
#teajr-community-events#teajr-community-events .ev-registration-question-editor input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:16px;height:16px;min-height:0;padding:0;margin:0 8px 0 0;accent-color:var(--ev-action)}
#teajr-community-events#teajr-community-events .ev-registration-question-editor>div>label{display:flex;align-items:center;font-size:13px}
#teajr-community-events#teajr-community-events .ev-registration-roster{display:grid;gap:12px;margin-top:20px}
#teajr-community-events#teajr-community-events .ev-registration-roster article{display:grid;gap:4px;padding:20px;border:1px solid var(--ev-line);border-radius:16px;background:var(--ev-panel);overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-registration-roster article>span,#teajr-community-events#teajr-community-events .ev-registration-roster small{color:var(--ev-dim)!important;font-size:12px}
#teajr-community-events#teajr-community-events .ev-registration-roster article p{display:grid;gap:4px;margin-top:12px}
#teajr-community-events#teajr-community-events .ev-registration-roster article p span{color:var(--ev-dim)!important;font-size:12px}
#teajr-community-events#teajr-community-events .ev-registration-cancel-note{padding:16px;border:1px solid var(--ev-line);border-radius:16px;margin-top:20px}
#teajr-community-events#teajr-community-events .ev-registration-cancel-note p{margin-bottom:12px}
@container community-events (max-width:680px){
 #teajr-community-events#teajr-community-events .ev-registration-layout{grid-template-columns:minmax(0,1fr);gap:28px;padding:4px 20px 32px}
 #teajr-community-events#teajr-community-events .ev-registration-summary{position:static;display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:16px;align-items:start;padding-bottom:24px;border-bottom:1px solid var(--ev-line)}
 #teajr-community-events#teajr-community-events .ev-registration-art{grid-column:1;grid-row:1/4;width:88px;height:104px;margin:0;border-radius:16px}
 #teajr-community-events#teajr-community-events .ev-registration-host{grid-column:2;font-size:11px;margin-bottom:4px}
 #teajr-community-events#teajr-community-events .ev-registration-summary h2{grid-column:2;font-size:21px;margin-bottom:8px}
 #teajr-community-events#teajr-community-events .ev-registration-fact{grid-column:2;margin:4px 0;gap:8px;font-size:12px}
 #teajr-community-events#teajr-community-events .ev-registration-fact>i{font-size:12px;width:12px}
 #teajr-community-events#teajr-community-events .ev-registration-fact span{font-size:11px}
 #teajr-community-events#teajr-community-events .ev-registration-admission{grid-column:1/-1;margin-top:16px;padding-top:16px;font-size:13px}
 #teajr-community-events#teajr-community-events .ev-registration-main{padding:0}
 #teajr-community-events#teajr-community-events .ev-registration-main h1{font-size:28px}
 #teajr-community-events#teajr-community-events .ev-registration-form{margin-top:24px}
}

/* Registration and organizer workspace: content-led hierarchy and clear states. */
#teajr-community-events#teajr-community-events .ev-registration-main>h2{font-size:32px;line-height:1.15;letter-spacing:-.6px;font-weight:600!important}
#teajr-community-events#teajr-community-events [data-screen-heading]:focus{outline:none}
#teajr-community-events#teajr-community-events .ev-registration-field>label{font-weight:500!important}
#teajr-community-events#teajr-community-events .ev-registration-field .ev-registration-hint{font-size:12px;line-height:1.5;color:var(--ev-dim)!important;margin:0;font-weight:400!important}
#teajr-community-events#teajr-community-events .ev-registration-quantity>i{top:46px;bottom:auto}
#teajr-community-events#teajr-community-events .ev-registration-questions h3{font-size:15px;font-weight:600!important;margin:0}
#teajr-community-events#teajr-community-events .ev-registration-field [aria-invalid=true]{border:2px solid var(--ev-ink)!important;padding:13px 15px!important}
#teajr-community-events#teajr-community-events .ev-registration-field-error{font-size:12px;font-weight:500!important;line-height:1.5;margin:0}
#teajr-community-events#teajr-community-events .ev-registration-errors{margin:0 0 20px;padding:16px 20px;border:1px solid var(--ev-ink);border-radius:16px;background:var(--ev-panel);font-size:13px;line-height:1.6}
#teajr-community-events#teajr-community-events .ev-registration-errors strong{font-weight:600!important}
#teajr-community-events#teajr-community-events .ev-registration-errors ul{padding-left:20px;margin:8px 0 0}
#teajr-community-events#teajr-community-events .ev-registration-errors a{text-decoration:underline;text-underline-offset:3px}
#teajr-community-events#teajr-community-events .ev-registration-errors:focus{outline:2px solid var(--ev-action);outline-offset:3px}
#teajr-community-events#teajr-community-events .ev-registration-saved-note{display:flex;gap:12px;align-items:flex-start;margin:24px 0;padding:16px;border:1px solid var(--ev-line);border-radius:16px;background:var(--ev-panel);font-size:13px}
#teajr-community-events#teajr-community-events .ev-registration-saved-note>i{margin-top:4px}
#teajr-community-events#teajr-community-events .ev-registration-saved-note span{display:block;color:var(--ev-dim)!important;font-size:12px;line-height:1.6;margin-top:4px}
#teajr-community-events#teajr-community-events .ev-registration-state{max-width:480px;margin:48px auto;padding:24px;text-align:center}
#teajr-community-events#teajr-community-events .ev-registration-state h2{font-size:24px;margin:20px 0 12px}
#teajr-community-events#teajr-community-events .ev-registration-state p{color:var(--ev-dim)!important;line-height:1.7;margin-bottom:24px}
#teajr-community-events#teajr-community-events .ev-registration-state-icon{display:grid;place-items:center;width:56px;height:56px;margin:auto;border-radius:50%;background:var(--ev-raised);font-size:20px}
#teajr-community-events#teajr-community-events .ev-registration-state .ev-block{margin-top:12px}
#teajr-community-events#teajr-community-events .ev-registration-open-toggle{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--ev-line);border-radius:16px;background:var(--ev-panel);margin:12px 0}
#teajr-community-events#teajr-community-events .ev-registration-open-toggle input{appearance:auto;-webkit-appearance:checkbox;accent-color:var(--ev-action);width:20px;height:20px;min-height:0;padding:0;margin:0}
#teajr-community-events#teajr-community-events .ev-registration-open-toggle small{display:block;color:var(--ev-dim)!important;font-size:12px;margin-top:4px}
#teajr-community-events#teajr-community-events .ev-roster{padding:16px 32px 40px;max-width:960px;margin:auto}
#teajr-community-events#teajr-community-events .ev-roster-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}
#teajr-community-events#teajr-community-events .ev-roster-heading h2{font-size:28px;line-height:1.2;font-weight:600!important}
#teajr-community-events#teajr-community-events .ev-roster-heading p{color:var(--ev-dim)!important;margin-top:8px}
#teajr-community-events#teajr-community-events .ev-roster-heading button{white-space:nowrap;min-height:44px;display:flex;gap:8px;align-items:center}
#teajr-community-events#teajr-community-events .ev-roster-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:28px 0;border:1px solid var(--ev-line);border-radius:20px;background:var(--ev-panel);padding:20px 0}
#teajr-community-events#teajr-community-events .ev-roster-stats>div{display:grid;gap:4px;padding:0 20px}
#teajr-community-events#teajr-community-events .ev-roster-stats>div+div{border-left:1px solid var(--ev-line)}
#teajr-community-events#teajr-community-events .ev-roster-stats strong{font-size:28px;line-height:1.3;font-weight:600!important;font-variant-numeric:tabular-nums}
#teajr-community-events#teajr-community-events .ev-roster-stats span{color:var(--ev-dim)!important;font-size:12px}
#teajr-community-events#teajr-community-events .ev-roster-tools{display:flex;gap:12px;margin-bottom:16px}
#teajr-community-events#teajr-community-events .ev-roster-search,#teajr-community-events#teajr-community-events .ev-roster-sort{display:flex;align-items:center;gap:12px;min-width:0;min-height:48px;border:1px solid var(--ev-line);border-radius:14px;padding:0 16px;background:var(--ev-panel)}
#teajr-community-events#teajr-community-events .ev-roster-search{flex:1}
#teajr-community-events#teajr-community-events .ev-roster-search input,#teajr-community-events#teajr-community-events .ev-roster-sort select{appearance:none;-webkit-appearance:none;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:12px 0!important;min-width:0;width:100%;font-size:16px}
#teajr-community-events#teajr-community-events .ev-roster-sort>i{font-size:10px;pointer-events:none}
#teajr-community-events#teajr-community-events .ev-roster-search:focus-within,#teajr-community-events#teajr-community-events .ev-roster-sort:focus-within{outline:2px solid var(--ev-action);outline-offset:2px}
#teajr-community-events#teajr-community-events .ev-roster-search input:focus,#teajr-community-events#teajr-community-events .ev-roster-sort select:focus{outline:none}
#teajr-community-events#teajr-community-events .ev-roster-results-count{font-size:12px;color:var(--ev-dim)!important;margin:0 0 12px}
#teajr-community-events#teajr-community-events .ev-roster-table{border:1px solid var(--ev-line);border-radius:20px;background:var(--ev-panel);overflow:hidden}
#teajr-community-events#teajr-community-events .ev-roster-table>div+div{border-top:1px solid var(--ev-line)}
#teajr-community-events#teajr-community-events .ev-roster-row{display:flex;align-items:center;gap:16px;text-align:left;width:100%;min-width:0;padding:20px;border:0;background:transparent;color:var(--ev-ink)!important;border-radius:0}
#teajr-community-events#teajr-community-events .ev-roster-row:hover{background:var(--ev-raised)}
#teajr-community-events#teajr-community-events .ev-roster-row:focus-visible{outline-offset:-4px;border-radius:16px}
#teajr-community-events#teajr-community-events .ev-roster-avatar{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid var(--ev-line);background:var(--ev-raised);border-radius:50%;font-weight:500!important}
#teajr-community-events#teajr-community-events .ev-roster-person{display:grid;gap:4px;flex:1;min-width:0}
#teajr-community-events#teajr-community-events .ev-roster-person strong{font-size:14px;font-weight:500!important;overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-roster-person small{font-size:12px;color:var(--ev-dim)!important;overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-roster-group{display:grid;text-align:right;gap:2px;flex:none;font-weight:500!important;font-variant-numeric:tabular-nums}
#teajr-community-events#teajr-community-events .ev-roster-group small{color:var(--ev-dim)!important;font-size:11px;font-weight:400!important}
#teajr-community-events#teajr-community-events .ev-roster-row>i{font-size:12px;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-roster-empty{display:grid;gap:12px;justify-items:center;text-align:center;padding:48px 24px;border:1px dashed var(--ev-line);border-radius:20px}
#teajr-community-events#teajr-community-events .ev-roster-empty>i{font-size:24px;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-roster-empty h3{margin:4px 0 0;font-size:18px;font-weight:500!important}
#teajr-community-events#teajr-community-events .ev-roster-empty p{max-width:360px;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-roster-loading{padding:40px 24px;text-align:center;color:var(--ev-dim)!important}
#teajr-community-events#teajr-community-events .ev-registrant{max-width:560px;padding:16px 24px 40px;margin:auto}
#teajr-community-events#teajr-community-events .ev-registrant>h2{font-size:28px;font-weight:600!important;overflow-wrap:anywhere}
#teajr-community-events#teajr-community-events .ev-registrant>p{margin-top:8px}
#teajr-community-events#teajr-community-events .ev-registrant-form{margin-top:28px}
#teajr-community-events#teajr-community-events .ev-registrant-form>.ev-block{margin-top:16px;min-height:52px}
#teajr-community-events#teajr-community-events .ev-registrant-danger{border-top:1px solid var(--ev-line);margin-top:32px;padding-top:24px}
#teajr-community-events#teajr-community-events .ev-registrant-danger h3{font-size:15px;font-weight:500!important;margin:0 0 8px}
#teajr-community-events#teajr-community-events .ev-registrant-danger p{font-size:13px;color:var(--ev-dim)!important;line-height:1.7;margin-bottom:12px}
#teajr-community-events#teajr-community-events :is(.ev-roster,.ev-registrant,.ev-registration-main) :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--ev-action);outline-offset:3px}
@container community-events (max-width:680px){
 #teajr-community-events#teajr-community-events .ev-registration-main>h2{font-size:28px}
 #teajr-community-events#teajr-community-events .ev-roster{padding:8px 20px 32px}
 #teajr-community-events#teajr-community-events .ev-roster-heading{display:grid;gap:20px}
 #teajr-community-events#teajr-community-events .ev-roster-heading>button{justify-content:center;width:100%}
 #teajr-community-events#teajr-community-events .ev-roster-stats{margin:24px 0;padding:16px 0}
 #teajr-community-events#teajr-community-events .ev-roster-stats>div{padding:0 12px}
 #teajr-community-events#teajr-community-events .ev-roster-stats strong{font-size:24px}
 #teajr-community-events#teajr-community-events .ev-roster-stats span{font-size:11px}
 #teajr-community-events#teajr-community-events .ev-roster-tools{flex-wrap:wrap}
 #teajr-community-events#teajr-community-events .ev-roster-search{flex-basis:100%}
 #teajr-community-events#teajr-community-events .ev-roster-sort{margin-left:auto;min-height:44px;font-size:12px}
 #teajr-community-events#teajr-community-events .ev-roster-sort select{font-size:14px}
 #teajr-community-events#teajr-community-events .ev-roster-row{padding:16px 12px;gap:12px}
 #teajr-community-events#teajr-community-events .ev-roster-avatar{width:32px;height:32px}
 #teajr-community-events#teajr-community-events .ev-roster-row>i{display:none}
}
@media(prefers-reduced-motion:reduce){#teajr-community-events#teajr-community-events *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
#teajr-community-events#teajr-community-events .ev-registration-inform{padding:16px;border:1px solid var(--ev-line);border-radius:16px;background:var(--ev-panel);font-size:13px;line-height:1.6;margin-top:20px}

/* Native iPhone date/time controls have no empty placeholder. */
#teajr-community-events#teajr-community-events#teajr-community-events .ev-temporal{position:relative;display:block;min-width:0;min-height:28px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-temporal-hint{display:none;position:absolute;inset:0;align-items:center;color:var(--ev-ink)!important;font-size:16px;pointer-events:none;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-temporal.is-empty:not(:focus-within) .ev-temporal-hint{display:flex;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-temporal.is-empty:not(:focus-within) input{opacity:0;}

/* Explicit switch avoids global composer input resets hiding the checkbox. */
#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-open-toggle{position:relative;cursor:pointer;user-select:none;-webkit-user-select:none;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-open-toggle input{position:absolute;opacity:0;width:44px!important;height:28px;min-height:28px;margin:0;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-switch{display:block;position:relative;width:44px;height:28px;flex:0 0 44px;border-radius:999px;background:var(--ev-dim);pointer-events:none;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-switch::after{content:"";position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:var(--ev-bg);}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-open-toggle input:checked+.ev-registration-switch{background:var(--ev-action);}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-open-toggle input:checked+.ev-registration-switch::after{transform:translateX(16px);background:var(--ev-on-action);}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-open-toggle input:focus-visible+.ev-registration-switch{outline:2px solid var(--ev-ink);outline-offset:4px;}
#teajr-community-events#teajr-community-events#teajr-community-events .ev-registration-open-toggle:has(input:disabled){opacity:.5;cursor:default;}

#teajr-community-events#teajr-community-events .ev-dashboard-entry {
  color: var(--ev-ink) !important;
  font-weight: 600 !important;
}

#teajr-community-events#teajr-community-events .ev-dashboard {
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
  min-height: calc(100dvh - 80px);
  background: color-mix(in srgb, var(--ev-bg) 76%, var(--ev-panel));
  border: 1px solid var(--ev-line);
  border-radius: 20px;
  overflow: hidden;
}

#teajr-community-events#teajr-community-events .ev-dashboard nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 12px;
  border-inline-end: 1px solid var(--ev-line);
  background: var(--ev-bg);
}

#teajr-community-events#teajr-community-events .ev-dashboard nav > span {
  padding: 0 12px 12px;
  color: var(--ev-dim) !important;
  font-size: 12px;
}

#teajr-community-events#teajr-community-events .ev-dashboard nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: start;
  white-space: nowrap;
}

#teajr-community-events#teajr-community-events .ev-dashboard nav button:is(:hover,[aria-current="page"]) {
  background: var(--ev-raised);
}

#teajr-community-events#teajr-community-events .ev-dashboard nav button[aria-current="page"] {
  box-shadow: inset 2px 0 var(--ev-action);
  font-weight: 600 !important;
}

#teajr-community-events#teajr-community-events .ev-dashboard-main {
  min-width: 0;
  padding: clamp(16px, 3vw, 32px);
}

#teajr-community-events#teajr-community-events .ev-dashboard-heading,
#teajr-community-events#teajr-community-events .ev-dashboard-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

#teajr-community-events#teajr-community-events .ev-dashboard-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

#teajr-community-events#teajr-community-events .ev-dashboard-heading p {
  margin-top: 4px;
  color: var(--ev-dim) !important;
}

#teajr-community-events#teajr-community-events .ev-dashboard-picker {
  display: grid;
  gap: 4px;
  margin-block: 24px 16px;
}

#teajr-community-events#teajr-community-events .ev-dashboard-picker select {
  width: min(100%, 460px);
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ev-line);
  border-radius: 10px;
  background: var(--ev-bg);
}

#teajr-community-events#teajr-community-events .ev-dashboard-card,
#teajr-community-events#teajr-community-events .ev-dashboard-metrics {
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid var(--ev-line);
  border-radius: 16px;
  background: var(--ev-bg);
  overflow-wrap: anywhere;
}

#teajr-community-events#teajr-community-events .ev-dashboard-card h3 {
  font-size: 16px;
  font-weight: 600 !important;
}

#teajr-community-events#teajr-community-events .ev-dashboard-card p {
  margin-top: 8px;
}

#teajr-community-events#teajr-community-events .ev-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  padding: 0;
  overflow: hidden;
}

#teajr-community-events#teajr-community-events .ev-dashboard-card .ev-dashboard-metrics {
  background: var(--ev-panel);
}

#teajr-community-events#teajr-community-events .ev-dashboard-metrics > div {
  padding: 16px;
  box-shadow: 1px 0 var(--ev-line), 0 1px var(--ev-line);
}

#teajr-community-events#teajr-community-events .ev-dashboard-metrics dt,
#teajr-community-events#teajr-community-events .ev-dashboard :is(.ev-dashboard-row,.ev-dashboard-question) small {
  color: var(--ev-dim) !important;
  font-size: 12px;
}

#teajr-community-events#teajr-community-events .ev-dashboard-metrics dd {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
}

#teajr-community-events#teajr-community-events .ev-dashboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--ev-line);
  background: transparent;
  text-align: start;
}

#teajr-community-events#teajr-community-events .ev-dashboard-row:first-of-type {
  margin-top: 12px;
}

#teajr-community-events#teajr-community-events .ev-dashboard-row strong {
  font-weight: 600 !important;
}

#teajr-community-events#teajr-community-events .ev-dashboard-row small {
  display: block;
}

#teajr-community-events#teajr-community-events .ev-dashboard-response-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

#teajr-community-events#teajr-community-events .ev-dashboard-response {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ev-line);
  overflow-wrap: anywhere;
}

#teajr-community-events#teajr-community-events .ev-dashboard-response h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

#teajr-community-events#teajr-community-events .ev-dashboard-response dl {
  display: grid;
  gap: 12px;
  margin: 12px 0 0;
}

#teajr-community-events#teajr-community-events .ev-dashboard-response dt {
  color: var(--ev-dim);
  font-size: .875rem;
}

#teajr-community-events#teajr-community-events .ev-dashboard-response dd {
  margin: 3px 0 0;
  white-space: pre-wrap;
}

@media (max-width: 760px) {
  #teajr-community-events#teajr-community-events .ev-dashboard {
    grid-template-columns: minmax(0, 1fr);
    border-inline: 0;
    border-radius: 0;
  }

  #teajr-community-events#teajr-community-events .ev-dashboard nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 8px 16px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--ev-line);
  }

  #teajr-community-events#teajr-community-events .ev-dashboard nav > span { display: none; }

  #teajr-community-events#teajr-community-events .ev-dashboard nav button[aria-current="page"] {
    box-shadow: inset 0 -2px var(--ev-action);
  }
}
