/* Sunday Entrepreneur v40.2 — unified shell, search controls, event studio legibility */

/* Event Studio: progressive light template picker should never inherit white-on-white type. */
.v39-progressive .v34-template-picker{background:#f7fbf9!important;border:1px solid #d5e3dc!important;box-shadow:none!important}
.v39-progressive .v34-template-picker h3{color:#0b3d32!important;font-size:19px!important;font-weight:780!important;letter-spacing:-.025em!important}
.v39-progressive .v34-template-picker>p{color:#5a7068!important;font-size:12px!important;line-height:1.45!important;opacity:1!important}
.v39-progressive .v34-template{background:#fff!important;border:1px solid #cfded7!important;color:#173f34!important;opacity:1!important;box-shadow:0 1px 0 rgba(7,58,48,.02)!important}
.v39-progressive .v34-template b{color:#173f34!important;opacity:1!important;font-size:12px!important;font-weight:800!important}
.v39-progressive .v34-template small{color:#60766e!important;opacity:1!important}
.v39-progressive .v34-template:hover{background:#eff9f4!important;border-color:#9fc8b7!important;transform:none!important}
.v39-progressive .v34-template.active{background:#dff9ec!important;border-color:#86cbb0!important;color:#07513f!important}
.v39-progressive .v34-template.active b{color:#07513f!important}
.v39-progressive .v34-template.active small{color:#37675a!important}
.v39-progressive .v39-quickbar{background:#eef9f4!important;border-color:#cfe2d9!important}
.v39-progressive .v39-quick-actions button,.v39-progressive .v39-inline-more{color:#244f43!important;border-color:#bfd4cb!important;background:#fff!important;opacity:1!important}
.v39-progressive .se-event-builder-section>header h3,.v39-progressive .se-event-field>span,.v39-progressive .se-event-choice-field legend,.v39-progressive .se-event-mode-field legend{color:#0b3d32!important;opacity:1!important}
.v39-progressive .se-event-builder-section>header p,.v39-progressive .se-event-field small{color:#586e67!important;opacity:1!important}
.v39-progressive .se-event-field input,.v39-progressive .se-event-field textarea,.v39-progressive .se-event-field select{border-color:#bfcfc8!important;color:#102f27!important;background:#fff!important;opacity:1!important}
.v39-progressive .se-event-field input::placeholder,.v39-progressive .se-event-field textarea::placeholder{color:#80938c!important;opacity:1!important}

/* Search surfaces: stable geometry, readable inputs, dropdowns that do not clip. */
.se-community-search-launch,.se-search-card,.se-search-toolbar,.se-search-sort,.se-registration-manager,.se-registration-manager .v34-grid{overflow:visible!important}
.se-community-search-launch{position:relative!important;z-index:12!important;min-height:58px!important;padding:9px 10px 9px 14px!important;grid-template-columns:22px minmax(0,1fr) auto!important;align-items:center!important}
.se-community-search-launch input,.se-search-input-wrap input,[data-v34-reg-search]{width:100%!important;color:#103a30!important;background:#fff!important;border:1px solid #bdcec6!important;outline:0!important;font-size:14px!important;line-height:1.3!important;opacity:1!important}
.se-community-search-launch input{border:0!important;background:transparent!important;min-height:40px!important;padding:0 4px!important}
.se-community-search-launch input::placeholder,.se-search-input-wrap input::placeholder,[data-v34-reg-search]::placeholder{color:#7d9089!important;opacity:1!important}
.se-search-input-wrap{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important}
.se-search-input-wrap input{min-height:48px!important;padding:12px 16px!important;border-radius:14px!important}
.se-search-toolbar{position:relative!important;z-index:20!important;align-items:center!important}
.se-search-sort{position:relative!important;min-width:170px!important;justify-content:flex-end!important;color:#49645b!important}
.se-search-sort select,[data-v34-reg-filter]{-webkit-appearance:none!important;appearance:none!important;min-height:42px!important;border:1px solid #bdcec6!important;border-radius:12px!important;background-color:#fff!important;color:#173f34!important;font:inherit!important;font-size:12px!important;font-weight:750!important;line-height:1!important;padding:0 38px 0 13px!important;cursor:pointer!important;opacity:1!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2331544b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important}
.se-search-sort select:focus,[data-v34-reg-filter]:focus,[data-v34-reg-search]:focus,.se-search-input-wrap input:focus{border-color:#15936d!important;box-shadow:0 0 0 3px rgba(21,147,109,.12)!important;outline:0!important}
.se-search-sort select option,[data-v34-reg-filter] option{color:#173f34!important;background:#fff!important}
.se-registration-manager .v34-grid.three{grid-template-columns:minmax(260px,1.25fr) minmax(160px,.65fr) minmax(220px,.9fr)!important;align-items:end!important;gap:12px!important}
.se-registration-manager .v34-field>span{color:#173f34!important;font-size:11px!important;font-weight:800!important}
[data-v34-reg-search]{min-height:44px!important;padding:10px 12px!important;border-radius:11px!important}
@media(max-width:760px){.se-search-toolbar{align-items:stretch!important}.se-search-sort{width:100%!important;min-width:0!important;justify-content:space-between!important}.se-search-sort select{min-width:150px!important}.se-registration-manager .v34-grid.three{grid-template-columns:1fr!important}}

/* v40.3 — event sort is a body-level popover so live event rerenders cannot collapse it. */
.se-events-v6-tools .se-event-sort-native-v403{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
}
.se-event-sort-trigger-v403{
  width:100%;
  min-width:190px;
  min-height:58px;
  border:0;
  border-left:1px solid #d6e1dc;
  background:#fbfffd;
  color:#294f45;
  padding:0 18px 0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font:inherit;
  font-size:14px;
  font-weight:650;
  cursor:pointer;
  text-align:left;
}
.se-event-sort-trigger-v403:hover{background:#f5fbf8}
.se-event-sort-trigger-v403:focus-visible{
  outline:0;
  box-shadow:inset 0 0 0 2px #15936d,0 0 0 3px rgba(21,147,109,.12);
}
.se-event-sort-chevron-v403{
  width:9px;
  height:9px;
  border-right:1.8px solid #31544b;
  border-bottom:1.8px solid #31544b;
  transform:rotate(45deg) translateY(-2px);
  flex:0 0 auto;
  transition:transform .16s ease;
}
.se-event-sort-trigger-v403[aria-expanded="true"] .se-event-sort-chevron-v403{
  transform:rotate(225deg) translate(-1px,-1px);
}
.se-event-sort-popover-v403{
  z-index:2147483000;
  background:#fff;
  border:1px solid #c9d8d1;
  border-radius:14px;
  padding:6px;
  box-shadow:0 18px 48px rgba(7,58,48,.16),0 3px 10px rgba(7,58,48,.08);
  overflow:hidden;
}
.se-event-sort-option-v403{
  width:100%;
  min-height:43px;
  border:0;
  border-radius:9px;
  padding:0 11px 0 12px;
  background:transparent;
  color:#173f34;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font:inherit;
  font-size:13px;
  font-weight:650;
  text-align:left;
  cursor:pointer;
}
.se-event-sort-option-v403:hover,.se-event-sort-option-v403:focus-visible{background:#eff9f4;outline:0}
.se-event-sort-option-v403.active{background:#e3f8ee;color:#07513f;font-weight:800}
.se-event-sort-check-v403{font-size:14px;color:#0b8f69}
@media(max-width:760px){
  .se-event-sort-trigger-v403{min-width:0;min-height:50px;border-left:0;border-top:1px solid #d6e1dc}
}
