/* Sunday Entrepreneur — integrated premium product shell */
:root {
  --base: #fffefb !important;
  --surface: #fffefb !important;
  --ink: #073a30 !important;
  --ink-muted: #60706b !important;
  --ink-light: #8b9894 !important;
  --amber: #20b980 !important;
  --amber-light: #e6fff3 !important;
  --amber-dark: #0b765e !important;
  --sage: #d9fbed !important;
  --sage-dark: #198563 !important;
  --lavender: #eef8f4 !important;
  --lavender-dark: #315c50 !important;
  --rose: #fff3f1 !important;
  --rose-dark: #a7473f !important;
  --border: rgba(7,58,48,.13) !important;
  --shadow-sm: 0 8px 22px rgba(3,42,35,.04) !important;
  --shadow-md: 0 16px 42px rgba(3,42,35,.065) !important;
  --shadow-lg: 0 26px 70px rgba(3,42,35,.10) !important;
  --shadow-card: 0 14px 36px rgba(3,42,35,.055) !important;
  --font-display: 'Inter', system-ui, sans-serif !important;
  --font-body: 'Inter', system-ui, sans-serif !important;

  --se-bg: #fffefb !important;
  --se-card: #ffffff !important;
  --se-ink: #073a30 !important;
  --se-muted: #60706b !important;
  --se-line: rgba(7,58,48,.13) !important;
  --se-soft: #f2faf6 !important;
  --se-accent: #15936d !important;
  --se-accent-soft: #e1faee !important;
  --se-green: #147a5a !important;
  --se-shadow: 0 14px 36px rgba(3,42,35,.055) !important;
  --se-radius: 22px !important;
}

html, body { background: #fffefb !important; color: #073a30 !important; }
body { letter-spacing: -.01em; }

/* ---------- shared navigation ---------- */
#mainNav {
  height: 84px !important;
  padding: 0 34px !important;
  display: grid !important;
  grid-template-columns: minmax(170px,1fr) auto minmax(170px,1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  background: rgba(255,254,251,.95) !important;
  border-bottom: 1px solid rgba(7,58,48,.13) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}
#mainNav .nav-logo {
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  color: #073a30 !important;
  cursor: pointer !important;
  line-height: 1 !important;
}
#mainNav .se-brand-logo { width: 126px !important; height: auto !important; display: block !important; object-fit: contain !important; }
#mainNav .nav-links { justify-self: center !important; display: flex !important; align-items: center !important; gap: 4px !important; }
#mainNav .nav-link {
  min-height: 38px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #31554c !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  transition: background .18s ease,color .18s ease,transform .18s ease !important;
}
#mainNav .nav-link svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; opacity: .88; }
#mainNav .nav-link:hover { background: #edf9f3 !important; color: #073a30 !important; transform: translateY(-1px); }
#mainNav .nav-link.active { background: #e1faee !important; color: #0b765e !important; }
#mainNav #navAuthArea { justify-self: end !important; }
#mainNav .nav-btn {
  min-height: 44px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: #073a30 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(7,58,48,.14) !important;
}
#mainNav .nav-btn:hover { background: #032a23 !important; transform: translateY(-1px); }
#mainNav .nav-profile { color: #073a30 !important; }
#mainNav .nav-avatar { background: #d9fbed !important; color: #073a30 !important; }

/* ---------- page rhythm ---------- */
.se-community-shell { width: min(1240px, calc(100% - 64px)) !important; grid-template-columns: 248px minmax(0,1fr) 300px !important; gap: 22px !important; padding: 112px 0 76px !important; }
.se-list-page,.se-profile-editor,.se-profile-view,.se-detail-shell { width: min(1120px, calc(100% - 64px)) !important; padding: 116px 0 76px !important; }
.se-messages-page { width: min(1220px, calc(100% - 64px)) !important; height: 100vh !important; padding: 108px 0 28px !important; gap: 20px !important; }
.se-community-sidebar,.se-discovery-rail { top: 104px !important; }

/* ---------- surfaces ---------- */
.se-side-card,.se-composer-launch,.se-post-card,.se-list-card,.se-search-card,.se-editor-card,.se-profile-hero,.se-thread-panel,.se-chat-panel,.se-event-card,.se-community-search-launch {
  border: 1px solid rgba(7,58,48,.12) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(3,42,35,.05) !important;
}
.se-side-card { padding: 20px !important; }
.se-side-card > h3 { color: #073a30 !important; font-size: 18px !important; letter-spacing: -.025em; }
.se-side-card > p { color: #60706b !important; }
.se-side-links { border-color: rgba(7,58,48,.11) !important; }
.se-side-links button { border-color: rgba(7,58,48,.11) !important; color: #073a30 !important; }
.se-side-links button:hover { color: #0b765e !important; }

/* avatars and controls */
.se-avatar { background: linear-gradient(145deg,#0b765e,#20b980) !important; }
.se-btn { min-height: 42px !important; padding: 9px 16px !important; border-radius: 999px !important; font-weight: 760 !important; }
.se-btn.dark,.se-btn.primary { background: #073a30 !important; color: #fff !important; }
.se-btn.dark:hover,.se-btn.primary:hover { background: #032a23 !important; }
.se-btn.secondary { border-color: rgba(7,58,48,.18) !important; color: #073a30 !important; background: #fff !important; }
.se-btn.secondary:hover { background: #edf9f3 !important; }
.se-icon-button { color: #31554c !important; }
.se-icon-button:hover { background: #edf9f3 !important; color: #073a30 !important; }

/* search + composer */
.se-community-search-launch { padding: 11px 14px !important; border-radius: 999px !important; }
.se-community-search-launch > span { color: #15936d !important; }
.se-community-search-launch input { color: #073a30 !important; }
.se-composer-launch { padding: 15px !important; }
.se-composer-start { border-color: rgba(7,58,48,.13) !important; color: #60706b !important; }
.se-composer-start:hover { background: #f4fbf7 !important; border-color: rgba(7,58,48,.24) !important; }
.se-composer-shortcuts { border-color: rgba(7,58,48,.10) !important; }
.se-composer-shortcuts button { color: #526962 !important; }
.se-composer-shortcuts button:hover { background: #edf9f3 !important; color: #073a30 !important; }
.se-feed-heading { color: #198563 !important; letter-spacing: .1em !important; }
.se-empty { background: #fbfdfb !important; border-color: rgba(7,58,48,.14) !important; color: #60706b !important; }

/* posts */
.se-post-author strong,.se-post-copy,.se-comment-bubble strong { color: #073a30 !important; }
.se-category { color: #0b765e !important; background: #e1faee !important; }
.se-category.opportunity,.se-category.opportunity-hiring,.se-category.opportunity-grants-funds,.se-category.opportunity-program-cohort,.se-category.opportunity-event,.se-category.opportunity-competition,.se-category.opportunity-collaboration,.se-category.opportunity-mentorship,.se-category.opportunity-investment,.se-category.question,.se-category.resource,.se-category.media { color: #0b765e !important; background: #e8f8f1 !important; }
.se-post-actions button:hover,.se-post-actions button.active { background: #f2faf6 !important; color: #073a30 !important; }
.se-comment-bubble { background: #f1f8f5 !important; }
.se-opportunity-card { background: #f3fcf8 !important; border-color: rgba(7,58,48,.15) !important; }
.se-opportunity-card > span,.se-opportunity-card h3 { color: #0b765e !important; }

/* headings across events, notifications, profile, editor */
.se-editor-heading span,.se-page-heading span { color: #198563 !important; }
.se-editor-heading h1,.se-page-heading h1,.se-profile-identity h1,.se-thread-panel h1 { font-family: 'Inter',system-ui,sans-serif !important; color: #073a30 !important; letter-spacing: -.055em !important; font-weight: 620 !important; }
.se-page-heading h1,.se-editor-heading h1 { font-size: clamp(42px,5vw,70px) !important; line-height: .94 !important; }
.se-editor-card input,.se-editor-card select,.se-editor-card textarea,.se-event-form input,.se-event-form select,.se-event-form textarea,.se-search-input-wrap input,.se-chat-composer textarea { border-color: rgba(7,58,48,.14) !important; border-radius: 14px !important; color: #073a30 !important; }
.se-editor-card input:focus,.se-editor-card select:focus,.se-editor-card textarea:focus,.se-event-form input:focus,.se-event-form select:focus,.se-event-form textarea:focus,.se-search-input-wrap input:focus,.se-chat-composer textarea:focus { border-color: #20b980 !important; box-shadow: 0 0 0 3px rgba(32,185,128,.10) !important; }

/* events */
.se-event-grid { gap: 18px !important; }
.se-event-card { overflow: hidden !important; transition: transform .2s ease,box-shadow .2s ease; }
.se-event-card:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(3,42,35,.10) !important; }
.se-event-cover,.se-event-detail img,.se-event-detail-cover { background: linear-gradient(135deg,#d9fbed,#bdf6df 55%,#f8f4ec) !important; }
.se-event-cover span { color: #073a30 !important; background: rgba(255,255,255,.88) !important; }
.se-event-copy time { color: #15936d !important; }
.se-event-copy h3 { color: #073a30 !important; letter-spacing: -.03em; }

/* messages */
.se-thread-panel,.se-chat-panel { border-radius: 24px !important; }
.se-thread-item { border-radius: 14px !important; }
.se-thread-item:hover,.se-thread-item.active { background: #edf9f3 !important; }
.se-chat-header,.se-chat-composer { border-color: rgba(7,58,48,.10) !important; }

/* notifications */
.se-notification-entry { border-color: rgba(7,58,48,.10) !important; }
.se-notification-entry.unread { background: #effbf5 !important; }
.se-notification-icon { background: #dff9ec !important; color: #0b765e !important; }

/* profile */
.se-profile-cover { background-color: #d9fbed !important; }
.se-profile-cover.preset-sunrise,.se-cover-preview.preset-sunrise { background: linear-gradient(135deg,#d9fbed,#bdf6df 55%,#fff1d8) !important; }
.se-profile-cover.preset-ocean,.se-cover-preview.preset-ocean { background: linear-gradient(135deg,#d8f5ee,#7bd9bd 55%,#2f6d5d) !important; }
.se-profile-cover.preset-forest,.se-cover-preview.preset-forest { background: linear-gradient(135deg,#e9f7ee,#87c9a7 55%,#245345) !important; }
.se-profile-cover.preset-lavender,.se-cover-preview.preset-lavender { background: linear-gradient(135deg,#f4f0fb,#c7b9e9 58%,#6d5b95) !important; }
.se-profile-cover.preset-graphite,.se-cover-preview.preset-graphite { background: linear-gradient(135deg,#e8efeb,#82958e 60%,#073a30) !important; }
.se-profile-hero { border-radius: 28px !important; }

/* infinity — same language as landing-page card section */
#page-infinity { background: #fffefb !important; }
.se-infinity-landing { width: min(1180px,calc(100% - 64px)) !important; padding: 116px 0 90px !important; }
.se-infinity-hero { background: linear-gradient(135deg,#e5fff3,#f2fff9 58%,#dff8ee) !important; border: 1px solid rgba(7,58,48,.10) !important; border-radius: 30px !important; padding: 52px !important; box-shadow: none !important; }
.se-infinity-back { color: #60706b !important; }
.se-infinity-kicker { color: #198563 !important; }
.se-infinity-title { color: #073a30 !important; font-family: 'Inter',system-ui,sans-serif !important; font-weight: 590 !important; }
.se-infinity-title em { color: #15936d !important; font-style: normal !important; }
.se-infinity-primary { background: #073a30 !important; color: #fff !important; border-color: #073a30 !important; }
.se-infinity-secondary { background: #fff !important; color: #073a30 !important; border-color: rgba(7,58,48,.17) !important; }
.se-infinity-section h2 { color: #073a30 !important; letter-spacing: -.05em !important; }
.se-infinity-card { border: 1px solid rgba(7,58,48,.12) !important; border-radius: 24px !important; box-shadow: 0 14px 36px rgba(3,42,35,.045) !important; }
.se-infinity-icon { width: 48px !important; height: 48px !important; background: #dff9ec !important; color: #0b765e !important; border-radius: 15px !important; }
.se-infinity-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.se-infinity-saved-strip { border-color: rgba(7,58,48,.12) !important; box-shadow: 0 14px 36px rgba(3,42,35,.045) !important; }

/* modals */
.se-modal-backdrop { background: rgba(3,42,35,.46) !important; backdrop-filter: blur(8px) !important; }
.se-modal-panel { border: 1px solid rgba(7,58,48,.12) !important; border-radius: 26px !important; box-shadow: 0 32px 90px rgba(3,42,35,.24) !important; }
.se-modal-footer { background: #f6fbf8 !important; border-color: rgba(7,58,48,.10) !important; }

@media (max-width: 980px) {
  #mainNav { grid-template-columns: 1fr auto !important; padding: 0 20px !important; }
  #mainNav .nav-links { display: none !important; }
  .se-community-shell { width: min(100% - 28px,100%) !important; grid-template-columns: 210px minmax(0,1fr) !important; }
  .se-discovery-rail { display: none !important; }
  .se-list-page,.se-profile-editor,.se-profile-view,.se-detail-shell,.se-messages-page,.se-infinity-landing { width: min(100% - 28px,100%) !important; }
}
@media (max-width: 720px) {
  #mainNav { height: 72px !important; }
  #mainNav .se-brand-logo { width: 126px !important; }
  .se-community-shell { grid-template-columns: 1fr !important; padding-top: 88px !important; }
  .se-community-sidebar { position: static !important; }
  .se-list-page,.se-profile-editor,.se-profile-view,.se-detail-shell { padding-top: 90px !important; }
  .se-messages-page { grid-template-columns: 1fr !important; height: auto !important; min-height: 100vh !important; padding-top: 90px !important; }
  .se-infinity-landing { padding-top: 90px !important; }
  .se-infinity-hero { padding: 30px 24px !important; border-radius: 24px !important; }
}

/* ---------- game board integration polish ---------- */
#page-board .board-page {
  padding-top: 84px !important;
  background: #fffefb !important;
}
#page-board .board-header {
  top: 84px !important;
  min-height: 70px !important;
  padding: 14px 24px !important;
  background: rgba(255,254,251,.97) !important;
  border-bottom: 1px solid rgba(7,58,48,.12) !important;
  box-shadow: 0 8px 22px rgba(3,42,35,.035) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 70 !important;
}
#page-board .board-title-area h2 {
  color: #073a30 !important;
  font-family: 'Inter',system-ui,sans-serif !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 720 !important;
  letter-spacing: -.025em !important;
  margin: 0 0 4px !important;
}
#page-board .board-meta { color: #60706b !important; line-height: 1.35 !important; }
#page-board .board-body { min-height: calc(100vh - 154px) !important; }
#page-board .board-sidebar { background: #fff !important; border-right-color: rgba(7,58,48,.10) !important; }
#page-board .board-main { background: #fffefb !important; padding: 34px 32px 72px !important; }
#page-board .deck-panel {
  border: 1px solid rgba(7,58,48,.12) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}
#page-board .deck-panel:hover:not(.locked) { border-color: rgba(7,58,48,.28) !important; background: #fbfffd !important; }
#page-board .deck-panel.active { border-color: #20b980 !important; background: #e8fff4 !important; box-shadow: 0 0 0 2px rgba(32,185,128,.06) !important; }
#page-board .deck-name { display: inline-flex !important; align-items: center !important; gap: 7px !important; color: #073a30 !important; }
#page-board .deck-mini-mark { width: 17px; height: 17px; display: inline-grid; place-items: center; color: #0b765e; flex: 0 0 auto; }
#page-board .deck-mini-mark svg { width: 15px; height: 15px; }
#page-board .deck-panel.locked .deck-mini-mark { opacity: .6; }
#page-board .deck-progress-fill { background: #20b980 !important; }
#page-board .save-status { background: #e1faee !important; color: #517068 !important; }
#page-board .save-dot { background: #15936d !important; }
#page-board .board-actions .btn-ghost {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  border-color: rgba(7,58,48,.13) !important;
  border-radius: 12px !important;
  color: #31554c !important;
  background: #fff !important;
}
#page-board .board-actions .btn-ghost:hover { background: #edf9f3 !important; color: #073a30 !important; }
#page-board .board-action-icon { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
#page-board .btn-amber {
  background: #073a30 !important;
  border-color: #073a30 !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(7,58,48,.12) !important;
}
#page-board .btn-amber:hover { background: #032a23 !important; border-color: #032a23 !important; }
#page-board .current-card { border-color: rgba(7,58,48,.12) !important; border-radius: 24px !important; box-shadow: 0 18px 46px rgba(3,42,35,.06) !important; }
#page-board .card-deck-tag { display: inline-flex !important; align-items: center !important; gap: 6px !important; background: #e1faee !important; color: #0b765e !important; }
#page-board .card-deck-tag .board-sunday-mark { width: 13px; height: 13px; }
#page-board .card-title { color: #073a30 !important; }
#page-board .card-hint { border-left-color: rgba(7,58,48,.14) !important; color: #60706b !important; }

/* Same playing-card language used on the landing page */
.board-deck-selected {
  min-height: 470px;
  padding: 38px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.board-deck-stage { margin-bottom: 24px; perspective: 1200px; }
.board-deck-card {
  width: 176px;
  aspect-ratio: 5 / 7;
  padding: 32px 18px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(7,58,48,.22);
  box-shadow: 0 22px 42px rgba(7,58,48,.14), inset 0 1px rgba(255,255,255,.5);
  transform: rotate(-2deg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.board-deck-card:hover { transform: translateY(-4px) rotate(0deg); box-shadow: 0 28px 52px rgba(7,58,48,.17); }
.board-deck-card::before {
  content: '';
  inset: 9px;
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 11px;
  opacity: .24;
  pointer-events: none;
}
.board-deck-card--problem { background: #0d5c48; color: #fff; }
.board-deck-card--people { background: #8ce6be; color: #073a30; }
.board-deck-card--product { background: #f5efe5; color: #202d29; }
.board-deck-card--path { background: #18302a; color: #fff; }
.board-deck-corner {
  position: absolute;
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .03em;
  line-height: 1;
  z-index: 3;
}
.board-deck-corner .board-sunday-mark { width: 14px; height: 14px; }
.board-deck-corner--top { left: 15px; top: 16px; }
.board-deck-corner--bottom { right: 15px; bottom: 16px; }
.board-deck-center-mark {
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .9;
}
.board-deck-center-mark .board-sunday-mark { width: 31px; height: 31px; }
.board-sunday-mark { display: block; fill: none; color: currentColor; }
.board-deck-card h4 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: 'Inter',system-ui,sans-serif !important;
  font-size: 31px;
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.055em;
  text-align: center;
}
.board-deck-selected h3 {
  margin: 0 0 7px;
  color: #073a30;
  font-family: 'Inter',system-ui,sans-serif !important;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.board-deck-selected p { margin: 0 0 22px; color: #60706b; font-size: 14px; }

@media (max-width: 720px) {
  #page-board .board-page { padding-top: 72px !important; }
  #page-board .board-header { top: 72px !important; position: sticky !important; align-items: flex-start !important; flex-direction: column !important; }
  #page-board .board-body { grid-template-columns: 1fr !important; }
  #page-board .board-sidebar { border-right: 0 !important; border-bottom: 1px solid rgba(7,58,48,.10) !important; }
  .board-deck-selected { min-height: 390px; }
  .board-deck-card { width: 146px; }
}
#page-board .deck-lock-badge { width: 18px !important; height: 18px !important; display: grid !important; place-items: center !important; color: #60706b !important; }
#page-board .deck-lock-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }


/* =====================================================================
   V5 — clean routing, community hierarchy, progressive comments,
   Founder House, event studio, and true mobile navigation
   ===================================================================== */

body { overflow-x: hidden !important; }
.page.active { min-width: 0; }

/* Main product header: only four product-level destinations. */
#mainNav {
  grid-template-columns: minmax(170px,1fr) auto minmax(170px,1fr) !important;
}
#mainNav .nav-links { gap: 8px !important; }
#mainNav .nav-link {
  min-height: 42px !important;
  padding: 0 13px !important;
  font-size: 12px !important;
}
#mainNav .nav-link svg,
.se-community-subnav svg,
.se-mobile-bottom-nav svg,
.se-action-icon svg,
.se-founder-sidebar svg,
.se-search-line-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- community-level secondary navigation ---------- */
.se-community-subnav {
  width: min(1120px, calc(100% - 64px));
  min-height: 58px;
  margin: 84px auto 0;
  padding: 7px;
  position: sticky;
  top: 84px;
  z-index: 72;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255,254,251,.94);
  border: 1px solid rgba(7,58,48,.10);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 28px rgba(3,42,35,.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.se-community-subnav button {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  border-radius: 999px;
  color: #526962;
  font-size: 12px;
  font-weight: 700;
  transition: .18s ease;
}
.se-community-subnav button:hover { background:#f0faf5; color:#073a30; }
.se-community-subnav button.active { background:#e1faee; color:#0b765e; }
.se-community-subnav [data-se-alert-badge] {
  min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-grid; place-items: center;
  border-radius: 999px; background:#073a30; color:#fff;
  font-style: normal; font-size: 9px; line-height:1;
}
.se-community-subnav [data-se-alert-badge][hidden] { display:none !important; }

/* Pages that sit under the community sub-navigation no longer need a giant
   top spacer. */
#page-community > .se-community-subnav + .se-community-shell { padding-top: 28px !important; }
#page-messages > .se-community-subnav + .se-messages-page,
#page-notifications > .se-community-subnav + .se-list-page,
#page-profile > .se-community-subnav + .se-profile-editor,
#page-savedPosts > .se-community-subnav + .se-list-page,
#page-search > .se-community-subnav + .se-list-page { padding-top: 28px !important; }


.se-side-link-main { display:inline-flex !important; align-items:center !important; gap:8px !important; }
.se-side-link-main svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.se-side-links button[hidden] { display:none !important; }
/* ---------- community polish + iconography ---------- */
.se-founder-sidebar {
  margin-top: 10px !important;
  background: linear-gradient(135deg,#d9fbed,#c5f6e2) !important;
  color:#073a30 !important;
  border:1px solid rgba(7,58,48,.12) !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
}
.se-founder-sidebar:hover { background:#c9f8e5 !important; transform:translateY(-1px); }
.se-founder-sidebar .se-sidebar-mark { width:14px; height:14px; margin-left:auto; color:#0b765e; }
.se-founder-sidebar svg:first-child { width:17px; height:17px; }

.se-community-search-launch {
  display:grid !important;
  grid-template-columns: 24px minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:8px !important;
  min-height:58px !important;
  padding:8px 10px 8px 16px !important;
}
.se-community-search-launch input {
  min-width:0 !important;
  width:100% !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
}
.se-search-line-icon {
  width:20px; height:20px; display:grid; place-items:center; color:#15936d;
}
.se-community-search-launch .se-btn { min-height:40px !important; padding:0 16px !important; }

.se-composer-shortcuts {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:0 !important;
}
.se-composer-shortcuts button {
  min-height:48px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  border-radius:12px !important;
}
.se-action-icon { display:inline-grid; place-items:center; flex:0 0 auto; }
.se-action-icon svg { width:17px; height:17px; }
.se-icon-button[data-post-menu] svg { width:20px; height:20px; }

.se-post-actions {
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
}
.se-post-actions button {
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  white-space:nowrap !important;
}
.se-post-actions button.active .se-action-icon svg { fill:currentColor; }
.se-post-actions [data-save-post].active .se-action-icon svg { fill:rgba(11,118,94,.15); }

.se-feed-heading .se-icon-button {
  width:38px !important; height:38px !important;
  display:grid !important; place-items:center !important;
  border-radius:999px !important;
}
.se-feed-heading .se-action-label { display:none; }

/* ---------- comments: one visible, then +3, then view all ---------- */
.se-comments {
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  padding-top:8px !important;
}
.se-comment-list { order:1; display:grid; gap:10px; }
.se-comment-composer { order:3; margin-top:4px; }
.se-comment-progress {
  order:2;
  width:100%;
  min-height:38px;
  padding:6px 2px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#0b765e;
  border-top:1px solid rgba(7,58,48,.08);
  font-size:12px;
  font-weight:750;
  text-align:left;
}
.se-comment-progress:hover { color:#073a30; }
.se-comment[hidden], .se-replies[hidden] { display:none !important; }
.se-comment-bubble {
  border:1px solid rgba(7,58,48,.08) !important;
  border-radius:15px !important;
  padding:10px 12px !important;
}
.se-comment-meta { padding-left:4px !important; }
.se-replies {
  margin-left:44px !important;
  padding-left:12px !important;
  border-left:1px solid rgba(7,58,48,.10) !important;
}

/* ---------- Founder House product page ---------- */
#page-founderHouse { background:#fffefb !important; }
.se-founder-house-page {
  width:min(1240px,calc(100% - 64px));
  margin:0 auto;
  padding:116px 0 88px;
  display:grid;
  gap:26px;
}
.se-founder-house-hero {
  min-height:650px;
  padding:34px;
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(460px,1.14fr);
  gap:34px;
  align-items:stretch;
  background:linear-gradient(135deg,#e2fff2,#f6fffb 58%,#d8f7eb);
  border:1px solid rgba(7,58,48,.10);
  border-radius:34px;
  overflow:hidden;
}
.se-founder-house-copy {
  padding:28px 10px 24px 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.se-founder-pill {
  min-height:34px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  background:rgba(255,255,255,.68);
  border:1px solid rgba(7,58,48,.10);
  color:#0b765e;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:10px;
  font-weight:850;
}
.se-founder-pill .se-mini-mark { width:13px;height:13px; }
.se-founder-house-copy h1 {
  margin:28px 0 8px;
  color:#073a30;
  font-size:clamp(64px,7vw,104px);
  line-height:.88;
  letter-spacing:-.078em;
  font-weight:610;
}
.se-founder-house-manifesto {
  margin:0 0 24px;
  color:#15936d;
  font-size:clamp(30px,3.5vw,50px);
  line-height:1;
  letter-spacing:-.055em;
  font-weight:700;
}
.se-founder-house-lede {
  max-width:570px;
  margin:0 0 28px;
  color:#526962;
  font-size:17px;
  line-height:1.7;
}
.se-founder-house-actions { display:flex; flex-wrap:wrap; gap:9px; }
.se-founder-house-primary { display:inline-flex !important; align-items:center !important; gap:10px !important; }
.se-button-mark { width:15px; height:15px; }
.se-founder-house-facts {
  margin-top:34px;
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  color:#526962;
  font-size:12px;
}
.se-founder-house-facts span { display:flex; align-items:baseline; gap:6px; }
.se-founder-house-facts b { color:#073a30; font-size:24px; letter-spacing:-.05em; }
.se-founder-house-image {
  min-height:580px;
  position:relative;
  overflow:hidden;
  border-radius:25px;
  background:#cfeee2;
}
.se-founder-house-image img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.se-founder-house-image::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(3,42,35,.28));
}
.se-founder-house-stamp {
  width:112px; height:112px;
  position:absolute; right:18px; top:18px; z-index:2;
  display:grid; place-content:center; text-align:center;
  border-radius:999px;
  background:rgba(255,254,251,.9);
  border:1px solid rgba(7,58,48,.14);
  color:#073a30;
  transform:rotate(6deg);
}
.se-founder-house-stamp span,.se-founder-house-stamp small { font-size:8px; font-weight:800; letter-spacing:.12em; }
.se-founder-house-stamp strong { margin:3px 0; font-size:15px; line-height:.9; }

.se-founder-house-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.se-founder-house-grid article {
  min-height:300px;
  padding:28px;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid rgba(7,58,48,.11);
  border-radius:26px;
  box-shadow:0 14px 36px rgba(3,42,35,.035);
}
.se-founder-house-grid article>span {
  color:#15936d;
  font-size:11px;
  font-weight:850;
  letter-spacing:.12em;
}
.se-founder-house-grid h2 {
  margin:auto 0 12px;
  color:#073a30;
  font-size:31px;
  line-height:1;
  letter-spacing:-.055em;
}
.se-founder-house-grid p { margin:0; color:#60706b; line-height:1.65; }

.se-founder-house-day {
  padding:48px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:50px;
  background:#17342d;
  color:#fff;
  border-radius:32px;
}
.se-founder-kicker { color:#8ce6be; text-transform:uppercase; letter-spacing:.11em; font-size:10px; font-weight:850; }
.se-founder-house-day h2 { margin:18px 0 0; font-size:clamp(42px,5vw,68px); line-height:.96; letter-spacing:-.06em; }
.se-founder-house-rhythm { display:grid; gap:10px; align-content:center; }
.se-founder-house-rhythm div { padding:18px 0; display:grid; grid-template-columns:90px 1fr; gap:20px; border-bottom:1px solid rgba(255,255,255,.14); }
.se-founder-house-rhythm b { color:#8ce6be; }
.se-founder-house-rhythm p { margin:0; color:rgba(255,255,255,.75); line-height:1.6; }

.se-founder-house-final {
  min-height:360px;
  padding:50px;
  display:grid;
  place-items:center;
  align-content:center;
  text-align:center;
  background:linear-gradient(135deg,#effbf5,#dff8ee);
  border:1px solid rgba(7,58,48,.10);
  border-radius:32px;
}
.se-founder-final-mark { width:48px; height:48px; color:#15936d; margin-bottom:20px; }
.se-founder-house-final h2 { max-width:820px; margin:14px 0 10px; font-size:clamp(42px,6vw,76px); line-height:.95; letter-spacing:-.065em; }
.se-founder-house-final>p:not(.se-founder-kicker) { max-width:620px; margin:0 0 24px; color:#60706b; font-size:17px; }

/* ---------- Events: calmer, cleaner, still fully operational ---------- */
.se-events-v340 {
  width:min(1240px,calc(100% - 64px)) !important;
  padding:116px 0 90px !important;
  gap:26px !important;
}
.se-events-v340-hero {
  padding:42px !important;
  grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr) !important;
  gap:42px !important;
  border:1px solid rgba(7,58,48,.10) !important;
  border-radius:34px !important;
  background:linear-gradient(135deg,#e2fff2,#f7fffb 62%,#daf6eb) !important;
  box-shadow:none !important;
}
.se-events-v340-copy>span,
.se-events-v340-browser>header>div>span,
.se-events-v340-system>header>span {
  color:#198563 !important;
}
.se-events-v340-copy h1 {
  max-width:720px !important;
  color:#073a30 !important;
  font-size:clamp(56px,6.5vw,88px) !important;
  line-height:.92 !important;
  letter-spacing:-.07em !important;
  font-weight:610 !important;
}
.se-events-v340-copy>p { max-width:650px !important; color:#526962 !important; font-size:16px !important; line-height:1.7 !important; }
.se-events-v340-copy .se-btn.light { background:#073a30 !important; color:#fff !important; border-color:#073a30 !important; }
.se-events-v340-ghost { background:rgba(255,255,255,.72) !important; color:#073a30 !important; border:1px solid rgba(7,58,48,.14) !important; }
.se-events-v340-copy ul li { background:rgba(255,255,255,.62) !important; border:1px solid rgba(7,58,48,.08) !important; border-radius:15px !important; }
.se-events-v340-dashboard {
  background:#fff !important;
  border:1px solid rgba(7,58,48,.12) !important;
  border-radius:26px !important;
  box-shadow:0 24px 58px rgba(3,42,35,.10) !important;
  transform:rotate(1.2deg) !important;
}
.se-events-v340-dashboard .hero-event { background:#f2faf6 !important; }
.se-events-v340-dashboard .hero-event>div { background:#073a30 !important; color:#fff !important; }
.se-events-v340-dashboard .metrics article { border-color:rgba(7,58,48,.10) !important; }
.se-events-v340-dashboard .metrics i { background:#e6f6ef !important; }
.se-events-v340-dashboard .metrics i b { background:#15936d !important; }
.se-events-v340-dashboard .flow b { background:#e1faee !important; color:#0b765e !important; }

.se-events-v340-browser {
  padding:34px !important;
  background:#fff !important;
  border:1px solid rgba(7,58,48,.10) !important;
  border-radius:30px !important;
  box-shadow:0 14px 36px rgba(3,42,35,.035) !important;
}
.se-events-v340-browser>header h2 { color:#073a30 !important; font-size:clamp(34px,4vw,54px) !important; letter-spacing:-.055em !important; }
.se-events-v340-browser>header p { color:#60706b !important; }
.se-events-v340-tools {
  border:1px solid rgba(7,58,48,.11) !important;
  border-radius:17px !important;
  overflow:hidden !important;
  background:#fbfffd !important;
}
.se-events-v340-tools label { min-width:0; }
.se-events-v340-tools input { min-width:0 !important; }
.se-events-v340-filters {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:7px !important;
}
.se-events-v340-filters button {
  min-height:38px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  color:#526962 !important;
  border:1px solid rgba(7,58,48,.10) !important;
  background:#fff !important;
}
.se-events-v340-filters button.active { color:#0b765e !important; background:#e1faee !important; border-color:rgba(11,118,94,.12) !important; }
.se-events-v340-grid { gap:14px !important; }
.se-event-tile-v331 {
  border:1px solid rgba(7,58,48,.11) !important;
  border-radius:24px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:0 12px 30px rgba(3,42,35,.04) !important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease !important;
}
.se-event-tile-v331:hover { transform:translateY(-3px); border-color:rgba(7,58,48,.22) !important; box-shadow:0 20px 42px rgba(3,42,35,.07) !important; }
.se-event-tile-date { background:#fff !important; color:#073a30 !important; }
.se-event-tile-type,.se-event-tile-overline { color:#0b765e !important; }
.se-event-tile-progress b { background:#15936d !important; }
.se-events-v340-empty { border-color:rgba(7,58,48,.14) !important; background:#fbfffd !important; }
.se-events-v340-empty>span { color:#198563 !important; }

.se-events-v340-featured {
  border-color:rgba(7,58,48,.11) !important;
  border-radius:30px !important;
  box-shadow:0 18px 45px rgba(3,42,35,.05) !important;
}
.se-events-v340-featured-cover { background-color:#bfeeda !important; }
.se-events-v340-featured>div>span { color:#198563 !important; }
.se-events-v340-featured dl div { background:#f2faf6 !important; }
.se-events-v340-featured dt { color:#60706b !important; }
.se-events-v340-featured h2 { color:#073a30 !important; }

/* Public event experience */
.se-event-page {
  width:min(1180px,calc(100% - 64px)) !important;
  padding:116px 0 80px !important;
}
.se-event-page-hero,
.se-event-page-content>section,
.se-event-register-card {
  border-color:rgba(7,58,48,.11) !important;
  box-shadow:0 14px 36px rgba(3,42,35,.045) !important;
}
.se-event-page-hero { border-radius:30px !important; }
.se-event-page-cover { min-height:420px !important; }
.se-event-page-title>div:first-child>span,.se-kicker,.se-event-takeaways strong,.se-event-agenda span { color:#15936d !important; }
.se-event-page-title h1 { color:#073a30 !important; font-weight:610 !important; }
.se-event-page-actions .se-btn { border-radius:999px !important; }
.se-event-register-card { top:104px !important; border-radius:24px !important; }
.se-event-speakers article>div { background:#073a30 !important; }

/* Event Studio: preserve every field/feature, improve the operating experience. */
.se-modal-panel:has(.se-event-studio) {
  width:min(1500px,calc(100vw - 28px)) !important;
  height:min(900px,calc(100vh - 28px)) !important;
  max-width:none !important;
  border-radius:28px !important;
  overflow:hidden !important;
}
.se-event-studio {
  grid-template-columns:230px minmax(0,1fr) 320px !important;
  background:#f7fbf8 !important;
}
.se-event-studio-nav {
  padding:26px 16px !important;
  background:#073a30 !important;
  border-right:0 !important;
  color:#fff !important;
}
.se-event-studio-nav>div:first-child>span { color:#8ce6be !important; }
.se-event-studio-nav h3 { color:#fff !important; letter-spacing:-.035em !important; }
.se-event-studio-nav p { color:rgba(255,255,255,.62) !important; }
.se-event-studio-nav nav button { color:rgba(255,255,255,.72) !important; border:1px solid transparent !important; }
.se-event-studio-nav nav button:hover { background:rgba(255,255,255,.07) !important; }
.se-event-studio-nav nav button.active { background:#fff !important; color:#073a30 !important; }
.se-event-studio-nav nav button>span {
  position:relative;
  overflow:hidden;
  color:#073a30 !important;
  background:#d9fbed !important;
}
.se-event-step-mark { width:9px; height:9px; position:absolute; right:3px; bottom:3px; color:#15936d; }
.se-event-studio-nav nav small { color:inherit !important; opacity:.62; }
.se-event-builder-progress>div { color:rgba(255,255,255,.7) !important; }
.se-event-builder-progress i { background:rgba(255,255,255,.14) !important; }
.se-event-builder-progress b { background:#8ce6be !important; }

.se-event-studio-form-wrap { padding:30px clamp(18px,3vw,42px) 110px !important; }
.se-event-form-v331 { max-width:860px !important; gap:16px !important; }
.se-event-builder-section {
  padding:28px !important;
  border-color:rgba(7,58,48,.10) !important;
  border-radius:24px !important;
  box-shadow:0 12px 32px rgba(3,42,35,.035) !important;
}
.se-event-builder-section>header>span {
  color:#0b765e !important;
  background:#e1faee !important;
  border-radius:12px !important;
}
.se-event-builder-section h3 { color:#073a30 !important; letter-spacing:-.04em !important; }
.se-event-field b { color:#15936d !important; }
.se-event-field input:focus,.se-event-field select:focus,.se-event-field textarea:focus {
  border-color:#15936d !important;
  box-shadow:0 0 0 3px rgba(21,147,109,.10) !important;
}
.se-event-choice-field input:checked+span,.se-event-mode-field input:checked+span {
  color:#fff !important; background:#073a30 !important; border-color:#073a30 !important;
}
.se-event-dropzone {
  background:#f4fbf7 !important;
  border-color:rgba(7,58,48,.18) !important;
}
.se-event-dropzone-icon {
  color:#0b765e !important;
  background:#e1faee !important;
}
.se-event-dropzone-icon svg { width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
.se-event-dropzone em { color:#0b765e !important; }
.se-event-studio-preview {
  padding:24px 18px !important;
  background:#eaf7f1 !important;
  border-left-color:rgba(7,58,48,.10) !important;
}
.se-event-preview-heading>span { color:#198563 !important; }
.se-event-builder-preview-card,.se-event-preview-note { border-color:rgba(7,58,48,.10) !important; box-shadow:none !important; }
.se-registration-manager-v331 {
  border-top:1px solid rgba(7,58,48,.10) !important;
  background:#fff !important;
}

/* ---------- mobile bottom navigation ---------- */
.se-mobile-bottom-nav { display:none; }

/* ---------- responsive product shell ---------- */
@media (max-width: 980px) {
  #mainNav {
    height:76px !important;
    padding:0 20px !important;
    grid-template-columns:1fr auto !important;
  }
  #mainNav .nav-links { display:none !important; }
  .se-community-subnav {
    width:100%;
    min-height:56px;
    margin-top:76px;
    top:76px;
    justify-content:flex-start;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    border-left:0; border-right:0; border-radius:0;
    padding:7px 14px;
  }
  .se-community-subnav::-webkit-scrollbar { display:none; }
  #page-community > .se-community-subnav + .se-community-shell { padding-top:18px !important; }

  .se-founder-house-page,.se-events-v340,.se-event-page {
    width:min(100% - 28px,100%) !important;
  }
  .se-founder-house-hero { grid-template-columns:1fr !important; }
  .se-founder-house-image { min-height:480px; }
  .se-founder-house-grid { grid-template-columns:1fr !important; }
  .se-founder-house-grid article { min-height:240px; }
  .se-founder-house-day { grid-template-columns:1fr !important; }

  .se-events-v340-hero { grid-template-columns:1fr !important; }
  .se-events-v340-dashboard { max-width:none !important; transform:none !important; }
  .se-event-page-layout { grid-template-columns:1fr !important; }
  .se-event-register-card { position:static !important; }

  .se-event-studio { grid-template-columns:190px minmax(0,1fr) !important; }
  .se-event-studio-preview { display:none !important; }
}

@media (max-width: 720px) {
  body { padding-bottom:74px !important; }
  #mainNav {
    height:70px !important;
    padding:0 16px !important;
  }
  #mainNav .se-brand-logo { width:126px !important; height:auto !important; }
  #mainNav .nav-btn { min-height:40px !important; padding:0 16px !important; }

  .se-mobile-bottom-nav {
    height:66px;
    padding:6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
    position:fixed;
    left:0; right:0; bottom:0;
    z-index:120;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    align-items:stretch;
    background:rgba(255,254,251,.96);
    border-top:1px solid rgba(7,58,48,.11);
    box-shadow:0 -10px 30px rgba(3,42,35,.06);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  .se-mobile-bottom-nav button {
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    color:#71807b;
    border-radius:12px;
    font-size:9px;
    font-weight:750;
  }
  .se-mobile-bottom-nav button svg { width:20px;height:20px; }
  .se-mobile-bottom-nav button.active { color:#0b765e; background:#effaf5; }
  .se-mobile-bottom-nav button.founder { color:#073a30; }
  .se-mobile-bottom-nav button.founder svg { padding:3px; width:28px; height:28px; border-radius:999px; background:#d9fbed; }

  .se-community-subnav {
    margin-top:70px;
    top:70px;
    padding:6px 10px;
    min-height:54px;
  }
  .se-community-subnav button { min-height:38px; padding:0 11px; font-size:11px; }
  .se-community-subnav button svg { width:17px;height:17px; }

  .se-community-shell {
    width:100% !important;
    padding:14px 14px 86px !important;
    grid-template-columns:1fr !important;
  }
  .se-community-sidebar,.se-discovery-rail { display:none !important; }
  .se-feed-column { min-width:0 !important; }

  .se-community-search-launch {
    min-height:54px !important;
    grid-template-columns:20px minmax(0,1fr) auto !important;
    border-radius:18px !important;
    padding:7px 8px 7px 13px !important;
  }
  .se-community-search-launch input { font-size:14px !important; }
  .se-community-search-launch .se-btn { min-height:38px !important; padding:0 12px !important; font-size:11px !important; }

  .se-composer-launch { padding:12px !important; border-radius:18px !important; }
  .se-composer-launch>.se-avatar { width:44px !important;height:44px !important; }
  .se-composer-start { min-height:46px !important; }
  .se-composer-shortcuts { margin-top:10px !important; }
  .se-composer-shortcuts button {
    min-height:44px !important;
    padding:5px 3px !important;
    flex-direction:column !important;
    gap:3px !important;
    font-size:10px !important;
  }
  .se-composer-shortcuts .se-action-icon svg { width:18px;height:18px; }

  .se-post-card { border-radius:20px !important; }
  .se-post-header { padding:15px 15px 8px !important; }
  .se-post-copy { padding-left:15px !important; padding-right:15px !important; font-size:15px !important; }
  .se-post-stats { padding-left:15px !important; padding-right:15px !important; }
  .se-post-actions button {
    min-height:48px !important;
    padding:5px 2px !important;
    flex-direction:column !important;
    gap:2px !important;
    font-size:9.5px !important;
  }
  .se-post-actions .se-action-icon svg { width:17px;height:17px; }
  .se-comments { padding:8px 14px 14px !important; }
  .se-comment-composer>.se-avatar { display:none !important; }
  .se-comment-input-wrap { width:100% !important; }
  .se-replies { margin-left:24px !important; }

  .se-list-page,.se-profile-editor,.se-profile-view,.se-detail-shell {
    width:100% !important;
    padding-left:14px !important;
    padding-right:14px !important;
    padding-bottom:88px !important;
  }
  #page-notifications > .se-community-subnav + .se-list-page,
  #page-profile > .se-community-subnav + .se-profile-editor,
  #page-savedPosts > .se-community-subnav + .se-list-page,
  #page-search > .se-community-subnav + .se-list-page { padding-top:18px !important; }

  .se-messages-page {
    width:100% !important;
    height:auto !important;
    min-height:calc(100vh - 190px) !important;
    padding:18px 14px 86px !important;
    grid-template-columns:1fr !important;
  }
  .se-thread-panel,.se-chat-panel { min-height:420px !important; border-radius:20px !important; }

  /* Founder House mobile */
  .se-founder-house-page { width:100% !important; padding:84px 14px 86px !important; gap:14px; }
  .se-founder-house-hero { min-height:0; padding:18px; gap:20px; border-radius:24px; }
  .se-founder-house-copy { padding:14px 2px 4px; }
  .se-founder-house-copy h1 { margin-top:22px; font-size:clamp(58px,18vw,82px); }
  .se-founder-house-manifesto { font-size:34px; }
  .se-founder-house-lede { font-size:15px; }
  .se-founder-house-actions { width:100%; }
  .se-founder-house-actions .se-btn { width:100%; justify-content:center !important; }
  .se-founder-house-facts { gap:12px; }
  .se-founder-house-image { min-height:360px; border-radius:20px; }
  .se-founder-house-stamp { width:88px;height:88px;right:12px;top:12px; }
  .se-founder-house-grid { gap:10px; }
  .se-founder-house-grid article { min-height:220px; padding:22px; border-radius:22px; }
  .se-founder-house-grid h2 { font-size:30px; }
  .se-founder-house-day { padding:26px 22px; gap:26px; border-radius:24px; }
  .se-founder-house-day h2 { font-size:44px; }
  .se-founder-house-rhythm div { grid-template-columns:72px 1fr; gap:12px; }
  .se-founder-house-final { min-height:340px; padding:30px 20px; border-radius:24px; }
  .se-founder-house-final h2 { font-size:46px; }

  /* Events mobile */
  .se-events-v340 { width:100% !important; padding:84px 14px 88px !important; gap:14px !important; }
  .se-events-v340-hero { padding:24px 18px !important; gap:28px !important; border-radius:24px !important; }
  .se-events-v340-copy h1 { font-size:52px !important; }
  .se-events-v340-copy>div { width:100%; display:grid !important; grid-template-columns:1fr !important; }
  .se-events-v340-copy .se-btn { width:100% !important; justify-content:center !important; }
  .se-events-v340-copy ul { display:none !important; }
  .se-events-v340-dashboard { border-radius:20px !important; }
  .se-events-v340-browser { padding:20px 14px !important; border-radius:22px !important; }
  .se-events-v340-browser>header { gap:16px !important; }
  .se-events-v340-browser>header>div:last-child { width:100%; display:grid !important; grid-template-columns:1fr 1fr; }
  .se-events-v340-tools { grid-template-columns:1fr !important; }
  .se-events-v340-tools select { border-left:0 !important; border-top:1px solid rgba(7,58,48,.10) !important; }
  .se-events-v340-filters { flex-wrap:nowrap !important; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
  .se-events-v340-filters::-webkit-scrollbar { display:none; }
  .se-events-v340-filters button { flex:0 0 auto; }
  .se-events-v340-grid,.se-events-v340-featured { grid-template-columns:1fr !important; }
  .se-events-v340-featured-cover { min-height:250px !important; }
  .se-events-v340-featured dl { grid-template-columns:1fr !important; }
  .se-event-page { width:100% !important; padding:84px 14px 88px !important; }
  .se-event-page-cover { min-height:260px !important; }
  .se-event-page-title { align-items:flex-start !important; flex-direction:column !important; padding:22px !important; }
  .se-event-page-title h1 { font-size:44px !important; }
  .se-event-page-actions { width:100%; }
  .se-event-page-actions .se-btn { flex:1 1 auto; }
  .se-event-page-layout { gap:12px !important; }
  .se-event-page-content>section,.se-event-register-card { border-radius:20px !important; }
  .se-event-takeaways,.se-event-speakers { grid-template-columns:1fr !important; }
  .se-event-agenda article { grid-template-columns:76px 1fr !important; gap:10px !important; }

  /* Event creator becomes a true full-screen mobile studio. */
  .se-modal-panel:has(.se-event-studio) {
    width:100vw !important;
    height:100dvh !important;
    max-height:none !important;
    margin:0 !important;
    border-radius:0 !important;
  }
  .se-event-studio { grid-template-columns:1fr !important; }
  .se-event-studio-nav { display:block !important; padding:14px !important; overflow:visible !important; }
  .se-event-studio-nav>div:first-child p { display:none; }
  .se-event-studio-nav nav {
    margin-top:10px;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:5px !important;
  }
  .se-event-studio-nav nav button {
    min-width:0 !important;
    padding:7px !important;
    grid-template-columns:1fr !important;
    place-items:center !important;
    text-align:center !important;
  }
  .se-event-studio-nav nav button>span { width:30px;height:30px; }
  .se-event-studio-nav nav p { display:none !important; }
  .se-event-builder-progress { display:none !important; }
  .se-event-studio-form-wrap { padding:16px 12px 110px !important; }
  .se-event-builder-section { padding:20px 16px !important; border-radius:20px !important; }
  .se-event-form-grid-v331,.se-event-upload-grid-v331,.se-event-choice-field,.se-event-mode-field {
    grid-template-columns:1fr !important;
  }
  .se-event-choice-field,.se-event-mode-field {
    display:grid !important;
  }
  .se-event-structured-block>header { align-items:flex-start !important; flex-direction:column !important; }
  .se-event-studio-preview { display:none !important; }

  /* Game board mobile: preserve deck context without a desktop sidebar. */
  #page-board .board-page { padding-top:70px !important; padding-bottom:72px !important; }
  #page-board .board-header {
    top:70px !important;
    min-height:62px !important;
    padding:10px 12px !important;
    gap:8px !important;
    flex-wrap:wrap !important;
  }
  #page-board .board-title-area { min-width:0 !important; }
  #page-board .board-title-area h2 { max-width:190px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  #page-board .save-status { display:none !important; }
  #page-board .board-actions { margin-left:auto; }
  #page-board .board-actions .btn-ghost { min-height:34px !important; padding:0 10px !important; font-size:11px !important; }
  #page-board .board-body { display:block !important; min-height:calc(100vh - 132px) !important; }
  #page-board .board-sidebar {
    width:100% !important;
    position:static !important;
    padding:10px 12px !important;
    display:flex !important;
    gap:8px !important;
    overflow-x:auto !important;
    border-right:0 !important;
    border-bottom:1px solid rgba(7,58,48,.10) !important;
    scrollbar-width:none;
  }
  #page-board .board-sidebar::-webkit-scrollbar { display:none; }
  #page-board .board-sidebar>h3,#page-board .board-sidebar>h4,#page-board #boardPlayersList { display:none !important; }
  #page-board .deck-panel { flex:0 0 160px !important; min-height:82px !important; padding:10px !important; }
  #page-board .board-main { padding:18px 12px 88px !important; }
  #page-board .current-card { padding:20px 16px !important; border-radius:20px !important; }
  #page-board .card-title { font-size:24px !important; }
  #page-board .board-deck-selected { min-height:390px !important; padding:24px 10px !important; }
  .board-deck-card { width:154px !important; }
}

@media (max-width: 430px) {
  .se-community-subnav button { padding:0 10px; }
  .se-community-subnav button span { font-size:10px; }
  .se-mobile-bottom-nav button span { font-size:8.5px; }
  .se-post-actions .se-action-label { font-size:8.5px; }
  .se-events-v340-copy h1 { font-size:46px !important; }
}

/* =========================================================
   V6 — Founder House copy polish + completely fresh Events
   ========================================================= */

/* Founder House: keep the rhythm compact and make the closing kicker readable. */
.se-founder-house-rhythm-two { grid-template-columns:1fr !important; }
.se-founder-house-rhythm-two div { grid-template-columns:92px minmax(0,1fr) !important; }
.se-founder-kicker-strong {
  display:inline-flex !important;
  align-items:center;
  width:max-content;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  color:#075744 !important;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(7,58,48,.10);
  letter-spacing:.12em !important;
  font-size:10px !important;
  box-shadow:0 6px 18px rgba(7,58,48,.06);
}

/* Events V6: a human-first discovery page, not an admin dashboard. */
.se-events-v6 {
  width:min(1320px,calc(100% - 64px));
  margin:0 auto;
  padding:116px 0 104px;
  color:#073a30;
}
.se-events-v6 * { box-sizing:border-box; }
.se-events-v6-hero {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);
  gap:28px;
  align-items:stretch;
  padding:28px;
  background:#f1fbf6;
  border:1px solid rgba(7,58,48,.09);
  border-radius:36px;
  overflow:hidden;
}
.se-events-v6-copy {
  min-height:620px;
  padding:36px 28px 34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.se-events-v6-kicker,
.se-events-v6-browser-head>div>span,
.se-events-v6-host-copy>span {
  display:block;
  color:#15936d;
  font-size:11px;
  line-height:1;
  font-weight:850;
  letter-spacing:.14em;
}
.se-events-v6-copy h1 {
  max-width:760px;
  margin:20px 0 22px;
  color:#073a30;
  font-size:clamp(70px,7vw,102px);
  line-height:.86;
  letter-spacing:-.072em;
  font-weight:620;
}
.se-events-v6-copy>p {
  max-width:650px;
  margin:0;
  color:#526962;
  font-size:17px;
  line-height:1.72;
}
.se-events-v6-actions {
  display:flex;
  gap:10px;
  margin-top:30px;
  flex-wrap:wrap;
}
.se-events-v6-actions .se-btn { min-height:52px; padding:0 22px; border-radius:999px !important; }
.se-events-v6-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
  padding-top:44px;
}
.se-events-v6-tags span {
  min-height:34px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(7,58,48,.09);
  color:#355a51;
  font-size:12px;
  font-weight:700;
}

.se-events-v6-next {
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#073a30;
  color:#fff;
  border-radius:30px;
  box-shadow:0 26px 60px rgba(5,48,40,.14);
}
.se-events-v6-next-cover {
  position:relative;
  width:100%;
  min-height:340px;
  padding:22px;
  background-color:#bfeeda;
  background-size:cover !important;
  background-position:center !important;
  text-align:left;
  overflow:hidden;
}
.se-events-v6-next-cover::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,38,32,.03),rgba(4,38,32,.38));
  pointer-events:none;
}
.se-events-v6-next-cover>span {
  position:relative;
  z-index:1;
  display:inline-flex;
  min-height:30px;
  align-items:center;
  padding:0 11px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  color:#073a30;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.se-events-v6-next-date {
  position:absolute;
  z-index:1;
  left:22px;
  bottom:22px;
  width:78px;
  height:88px;
  padding:12px 8px 9px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:#fff;
  color:#073a30;
  box-shadow:0 10px 30px rgba(3,37,31,.15);
}
.se-events-v6-next-date strong { font-size:36px; line-height:.9; letter-spacing:-.05em; }
.se-events-v6-next-date small { margin-top:7px; font-size:10px; font-weight:850; letter-spacing:.1em; }
.se-events-v6-next-body { padding:28px 28px 30px; }
.se-events-v6-next-body>span,
.se-events-v6-next-empty>span {
  color:#8ce6be;
  font-size:10px;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.se-events-v6-next-body>button:not(.se-btn) {
  display:block;
  width:100%;
  margin:11px 0 10px;
  color:#fff;
  text-align:left;
  font-size:clamp(28px,3vw,42px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:700;
}
.se-events-v6-next-body>p { margin:0; color:rgba(255,255,255,.72); line-height:1.65; }
.se-events-v6-next-body>div { display:grid; gap:6px; margin:22px 0; padding-top:18px; border-top:1px solid rgba(255,255,255,.13); }
.se-events-v6-next-body>div span { color:rgba(255,255,255,.82); font-size:12px; }
.se-events-v6-next .se-btn.light { width:max-content; background:#d9fff0 !important; color:#073a30 !important; border-color:#d9fff0 !important; border-radius:999px !important; }
.se-events-v6-next-empty { min-height:100%; padding:44px 34px; display:flex; flex-direction:column; justify-content:flex-end; }
.se-events-v6-next-empty h2 { max-width:420px; margin:14px 0 12px; color:#fff; font-size:50px; line-height:.96; letter-spacing:-.06em; }
.se-events-v6-next-empty p { max-width:420px; margin:0 0 24px; color:rgba(255,255,255,.7); }

.se-events-v6-browser { padding:82px 0 22px; }
.se-events-v6-browser-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:28px;
}
.se-events-v6-browser-head h2 {
  margin:14px 0 0;
  color:#073a30;
  font-size:clamp(48px,5vw,72px);
  line-height:.92;
  letter-spacing:-.065em;
  font-weight:620;
}
.se-events-v6-browser-actions { display:flex; gap:9px; flex-wrap:wrap; }
.se-events-v6-browser-actions .se-btn { border-radius:999px !important; }
.se-events-v6-tools {
  display:grid;
  grid-template-columns:minmax(0,1fr) 190px;
  min-height:58px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(7,58,48,.11);
  border-radius:18px;
  box-shadow:0 10px 28px rgba(3,42,35,.035);
}
.se-events-v6-tools label { display:flex; align-items:center; gap:10px; padding:0 18px; min-width:0; }
.se-events-v6-tools label>span { width:22px; color:#15936d; font-size:20px; }
.se-events-v6-tools input { width:100%; min-width:0; border:0 !important; outline:0 !important; background:transparent !important; color:#073a30 !important; font-size:14px; }
.se-events-v6-tools select { border:0 !important; border-left:1px solid rgba(7,58,48,.09) !important; padding:0 16px !important; background:#fbfffd !important; color:#294f45 !important; outline:0 !important; }
.se-events-v6-filters { display:flex; gap:7px; flex-wrap:wrap; margin:14px 0 24px; }
.se-events-v6-filters button {
  min-height:38px;
  padding:0 14px;
  border:1px solid rgba(7,58,48,.10);
  border-radius:999px;
  background:#fff;
  color:#526962;
  font-size:12px;
  font-weight:700;
}
.se-events-v6-filters button.active { background:#073a30; color:#fff; border-color:#073a30; }
.se-events-v6-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start; }

/* Existing event-card markup, fully restyled without touching its behavior. */
.se-events-v6 .se-event-tile-v331 {
  min-width:0;
  border:1px solid rgba(7,58,48,.10) !important;
  border-radius:26px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:none !important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease !important;
}
.se-events-v6 .se-event-tile-v331:hover { transform:translateY(-3px); border-color:rgba(7,58,48,.20) !important; box-shadow:0 18px 44px rgba(3,42,35,.07) !important; }
.se-events-v6 .se-event-tile-cover { min-height:220px !important; }
.se-events-v6 .se-event-tile-date { border-radius:18px !important; box-shadow:0 8px 24px rgba(3,42,35,.10) !important; }
.se-events-v6 .se-event-tile-body { padding:20px !important; }
.se-events-v6 .se-event-tile-title { color:#073a30 !important; font-size:23px !important; line-height:1.08 !important; letter-spacing:-.035em !important; }
.se-events-v6 .se-event-tile-body>p { min-height:48px; color:#62746f !important; }
.se-events-v6 .se-event-tile-location>span { color:#15936d !important; }
.se-events-v6 .se-event-tile-location>strong { color:#355a51 !important; }
.se-events-v6 .se-event-tile-type,.se-events-v6 .se-event-tile-overline { color:#0b765e !important; }
.se-events-v6 .se-event-tile-progress b { background:#15936d !important; }
.se-events-v6 .se-event-tile-actions { gap:7px !important; flex-wrap:wrap !important; }
.se-events-v6 .se-event-tile-actions .se-btn { border-radius:999px !important; }
.se-events-v6-empty {
  grid-column:1/-1;
  min-height:360px;
  padding:44px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  border:1px dashed rgba(7,58,48,.16);
  border-radius:28px;
  background:linear-gradient(135deg,#f8fffb,#effaf5);
}
.se-events-v6-empty>span { color:#15936d; font-size:10px; font-weight:850; letter-spacing:.14em; }
.se-events-v6-empty h3 { max-width:620px; margin:12px 0 10px; font-size:48px; line-height:.95; letter-spacing:-.055em; }
.se-events-v6-empty p { max-width:620px; margin:0 0 22px; color:#60706b; line-height:1.65; }

.se-events-v6-host {
  margin-top:86px;
  padding:48px;
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(440px,1.2fr);
  gap:56px;
  align-items:center;
  background:#073a30;
  color:#fff;
  border-radius:34px;
  overflow:hidden;
}
.se-events-v6-host-copy h2 { margin:16px 0 18px; color:#fff; font-size:clamp(52px,5vw,76px); line-height:.9; letter-spacing:-.065em; }
.se-events-v6-host-copy p { max-width:560px; margin:0 0 26px; color:rgba(255,255,255,.72); font-size:15px; line-height:1.7; }
.se-events-v6-host-copy .se-btn { background:#d9fff0 !important; color:#073a30 !important; border-color:#d9fff0 !important; border-radius:999px !important; }
.se-events-v6-host-steps { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.se-events-v6-host-steps article {
  min-height:174px;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid rgba(255,255,255,.13);
  border-radius:22px;
  background:rgba(255,255,255,.055);
}
.se-events-v6-host-steps article>b { color:#8ce6be; font-size:11px; letter-spacing:.12em; }
.se-events-v6-host-steps article strong { display:block; margin-bottom:7px; color:#fff; font-size:20px; letter-spacing:-.03em; }
.se-events-v6-host-steps article span { color:rgba(255,255,255,.65); font-size:12px; line-height:1.5; }

/* Event Studio itself keeps all original controls/features, but feels less like a legacy admin modal. */
.se-modal-panel:has(.se-event-studio) { box-shadow:0 30px 90px rgba(2,36,30,.18) !important; }
.se-event-studio-nav { background:#062f28 !important; }
.se-event-studio-nav button.active { background:#d9fff0 !important; color:#073a30 !important; }
.se-event-studio-main { background:#fbfefc !important; }
.se-event-studio-side { background:#f1f8f4 !important; }
.se-event-studio .se-event-editor-section,
.se-event-studio .se-event-builder-preview-card { border-radius:22px !important; border-color:rgba(7,58,48,.10) !important; box-shadow:none !important; }
.se-event-studio input,.se-event-studio textarea,.se-event-studio select { border-radius:13px !important; border-color:rgba(7,58,48,.12) !important; }

@media (max-width: 1100px) {
  .se-events-v6 { width:min(100% - 36px,1120px); }
  .se-events-v6-hero { grid-template-columns:1fr; }
  .se-events-v6-copy { min-height:500px; }
  .se-events-v6-next { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr); }
  .se-events-v6-next-cover { min-height:330px; }
  .se-events-v6-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .se-events-v6-host { grid-template-columns:1fr; }
}

@media (max-width: 700px) {
  .se-founder-house-rhythm-two div { grid-template-columns:76px minmax(0,1fr) !important; }

  .se-events-v6 {
    width:100%;
    padding:84px 14px 96px;
  }
  .se-events-v6-hero { padding:12px; gap:12px; border-radius:26px; }
  .se-events-v6-copy { min-height:0; padding:28px 14px 24px; }
  .se-events-v6-copy h1 { margin:15px 0 18px; font-size:clamp(52px,15vw,70px); }
  .se-events-v6-copy>p { font-size:14px; line-height:1.65; }
  .se-events-v6-actions { display:grid; grid-template-columns:1fr; width:100%; }
  .se-events-v6-actions .se-btn { width:100%; justify-content:center; }
  .se-events-v6-tags { margin-top:0; padding-top:28px; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .se-events-v6-tags::-webkit-scrollbar { display:none; }
  .se-events-v6-tags span { flex:0 0 auto; }

  .se-events-v6-next { display:flex; border-radius:22px; }
  .se-events-v6-next-cover { min-height:240px; }
  .se-events-v6-next-body { padding:22px 20px 24px; }
  .se-events-v6-next-body>button:not(.se-btn) { font-size:31px; }
  .se-events-v6-next-empty { min-height:390px; padding:28px 22px; }
  .se-events-v6-next-empty h2 { font-size:44px; }

  .se-events-v6-browser { padding-top:56px; }
  .se-events-v6-browser-head { align-items:flex-start; flex-direction:column; }
  .se-events-v6-browser-head h2 { font-size:48px; }
  .se-events-v6-browser-actions { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .se-events-v6-browser-actions .se-btn { width:100%; justify-content:center; }
  .se-events-v6-tools { grid-template-columns:1fr; }
  .se-events-v6-tools label { min-height:56px; }
  .se-events-v6-tools select { min-height:48px; border-left:0 !important; border-top:1px solid rgba(7,58,48,.09) !important; }
  .se-events-v6-filters { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
  .se-events-v6-filters::-webkit-scrollbar { display:none; }
  .se-events-v6-filters button { flex:0 0 auto; }
  .se-events-v6-grid { grid-template-columns:1fr; }
  .se-events-v6 .se-event-tile-cover { min-height:230px !important; }
  .se-events-v6-empty { min-height:330px; padding:28px 22px; }
  .se-events-v6-empty h3 { font-size:40px; }

  .se-events-v6-host { margin-top:58px; padding:28px 18px; gap:30px; border-radius:26px; }
  .se-events-v6-host-copy h2 { font-size:52px; }
  .se-events-v6-host-steps { grid-template-columns:1fr; }
  .se-events-v6-host-steps article { min-height:132px; }
}


/* =========================================================
   V7 — Founder House type scale + alignment polish
   ========================================================= */

/* Founder House hero: deliberate lines, no accidental word wrapping. */
.se-founder-house-hero {
  min-height: 610px !important;
  grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr) !important;
  gap: 30px !important;
  padding: 30px !important;
}
.se-founder-house-copy {
  padding: 26px 8px 22px 16px !important;
  justify-content: center !important;
}
.se-founder-house-copy h1 {
  width: 100%;
  margin: 24px 0 12px !important;
  font-size: clamp(58px,5.25vw,82px) !important;
  line-height: .92 !important;
  letter-spacing: -.068em !important;
  font-weight: 620 !important;
}
.se-founder-house-copy h1 > span {
  display: block;
  white-space: nowrap;
}
.se-founder-house-manifesto {
  margin-bottom: 20px !important;
  font-size: clamp(30px,2.6vw,40px) !important;
  letter-spacing: -.045em !important;
}
.se-founder-house-lede {
  max-width: 520px !important;
  margin-bottom: 24px !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}
.se-founder-house-facts {
  margin-top: 26px !important;
  gap: 20px !important;
}
.se-founder-house-image { min-height: 550px !important; }

/* The three principles should read as one aligned set, not three oversized boxes. */
.se-founder-house-grid { gap: 16px !important; }
.se-founder-house-grid article {
  min-height: 246px !important;
  padding: 26px 28px 28px !important;
  justify-content: flex-start !important;
}
.se-founder-house-grid article > span { margin-bottom: 56px !important; }
.se-founder-house-grid h2 {
  margin: 0 0 10px !important;
  font-size: clamp(25px,2vw,30px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
}
.se-founder-house-grid p {
  max-width: 34ch;
  font-size: 15px !important;
  line-height: 1.58 !important;
}
.se-founder-house-day {
  padding: 44px 46px !important;
  grid-template-columns: .86fr 1.14fr !important;
  gap: 46px !important;
  align-items: center !important;
}
.se-founder-house-day h2 {
  max-width: 560px;
  font-size: clamp(42px,4.2vw,60px) !important;
  line-height: .96 !important;
}
.se-founder-house-rhythm-two div {
  grid-template-columns: 86px minmax(0,1fr) !important;
  gap: 18px !important;
  align-items: start;
}

/* Community sidebar CTA: one clean line, aligned with the other primary actions. */
#page-community .se-self-card .se-btn,
#page-community .se-self-card > button {
  min-height: 44px !important;
}
.se-founder-sidebar {
  width: 100% !important;
  min-height: 46px !important;
  margin: 8px 0 !important;
  padding: 0 13px !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 999px !important;
  background: #073a30 !important;
  border-color: #073a30 !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(7,58,48,.10) !important;
  font-size: 12px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
}
.se-founder-sidebar:hover {
  background: #0b4a3c !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}
.se-founder-sidebar > span {
  white-space: nowrap !important;
  flex: 0 1 auto !important;
}
.se-founder-sidebar svg:first-child {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px;
  color: #9ce8c7 !important;
}
.se-founder-sidebar .se-sidebar-mark {
  width: 13px !important;
  height: 13px !important;
  margin-left: 2px !important;
  flex: 0 0 13px;
  color: #9ce8c7 !important;
}
#page-community .se-self-card [data-nav="infinity"] {
  margin-top: 0 !important;
}
#page-community .se-side-links { margin-top: 12px !important; }

@media (max-width: 1120px) and (min-width: 761px) {
  .se-founder-house-hero {
    grid-template-columns: minmax(0,.95fr) minmax(430px,1.05fr) !important;
  }
  .se-founder-house-copy h1 { font-size: clamp(54px,6vw,70px) !important; }
  .se-founder-house-grid article > span { margin-bottom: 42px !important; }
}

@media (max-width: 760px) {
  .se-founder-house-hero {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
    gap: 18px !important;
  }
  .se-founder-house-copy { padding: 12px 2px 4px !important; }
  .se-founder-house-copy h1 {
    margin-top: 18px !important;
    font-size: clamp(48px,14vw,62px) !important;
    line-height: .94 !important;
    letter-spacing: -.06em !important;
  }
  .se-founder-house-manifesto { font-size: 31px !important; }
  .se-founder-house-lede { font-size: 15px !important; line-height: 1.55 !important; }
  .se-founder-house-facts { gap: 14px !important; }
  .se-founder-house-image { min-height: 340px !important; }
  .se-founder-house-grid article {
    min-height: 0 !important;
    padding: 22px !important;
  }
  .se-founder-house-grid article > span { margin-bottom: 34px !important; }
  .se-founder-house-grid h2 { font-size: 27px !important; }
  .se-founder-house-day { padding: 26px 22px !important; gap: 24px !important; }
  .se-founder-house-day h2 { font-size: 42px !important; }
  .se-founder-house-rhythm-two div {
    grid-template-columns: 72px minmax(0,1fr) !important;
    gap: 12px !important;
  }
}

/* =========================================================
   V8 — Founder House cleanup + Infinity mobile redesign
   ========================================================= */

/* The Founder House hero no longer carries a redundant stats strip. */
.se-founder-house-facts { display:none !important; }
.se-founder-house-copy { align-self:center !important; }

/* Infinity now uses the same Sunday visual system as the landing page. */
#page-infinity {
  background:#fbfaf6 !important;
}
#page-infinity .se-infinity-landing {
  width:min(1240px, calc(100% - 48px)) !important;
  padding:104px 0 96px !important;
}
#page-infinity .se-infinity-hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#effcf6 0%,#fbfaf6 58%,#e7f8f0 100%) !important;
  border:1px solid rgba(7,58,48,.10) !important;
  border-radius:34px !important;
  padding:54px !important;
  box-shadow:none !important;
}
#page-infinity .se-infinity-hero::after {
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  right:-125px;
  top:-155px;
  border:1px solid rgba(21,147,109,.12);
  border-radius:50%;
  pointer-events:none;
}
#page-infinity .se-infinity-back {
  border:0 !important;
  background:transparent !important;
  color:#60706b !important;
  padding:0 !important;
  margin:0 0 30px !important;
  font-size:13px !important;
  font-weight:800 !important;
}
#page-infinity .se-infinity-kicker {
  display:inline-flex !important;
  align-items:center !important;
  min-height:30px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  background:#ddf8eb !important;
  color:#0b765e !important;
  border:1px solid rgba(21,147,109,.10) !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.10em !important;
  margin:0 0 20px !important;
}
#page-infinity .se-infinity-title {
  max-width:830px;
  color:#073a30 !important;
  font-size:clamp(52px,6.6vw,88px) !important;
  line-height:.92 !important;
  letter-spacing:-.065em !important;
}
#page-infinity .se-infinity-title em {
  color:#15936d !important;
  font-style:normal !important;
}
#page-infinity .se-infinity-sub {
  max-width:700px !important;
  color:#60706b !important;
  font-size:18px !important;
  line-height:1.58 !important;
  margin:24px 0 0 !important;
}
#page-infinity .se-infinity-actions {
  gap:10px !important;
  margin-top:30px !important;
}
#page-infinity .se-infinity-actions button,
#page-infinity .se-infinity-saved-strip button {
  min-height:48px !important;
  border-radius:999px !important;
  padding:0 20px !important;
  font-size:13px !important;
  font-weight:900 !important;
}
#page-infinity .se-infinity-primary {
  background:#073a30 !important;
  color:#fff !important;
  border:1px solid #073a30 !important;
  box-shadow:0 10px 24px rgba(7,58,48,.12) !important;
}
#page-infinity .se-infinity-secondary {
  background:#fff !important;
  color:#073a30 !important;
  border:1px solid rgba(7,58,48,.14) !important;
}
#page-infinity .se-infinity-section {
  margin-top:42px !important;
}
#page-infinity .se-infinity-section h2 {
  color:#073a30 !important;
  font-size:34px !important;
  line-height:1.02 !important;
  letter-spacing:-.045em !important;
  margin:0 0 18px !important;
}

/* Real playing-card deck language. */
#page-infinity .se-infinity-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
  margin-top:18px !important;
}
#page-infinity .se-infinity-card {
  --deck-bg:#fff;
  --deck-fg:#073a30;
  position:relative !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:350px !important;
  padding:24px !important;
  border-radius:28px !important;
  background:var(--deck-bg) !important;
  color:var(--deck-fg) !important;
  border:1px solid color-mix(in srgb, var(--deck-fg) 19%, transparent) !important;
  box-shadow:0 16px 34px rgba(7,58,48,.055) !important;
}
#page-infinity .se-infinity-card::before {
  content:attr(data-deck-number);
  position:absolute;
  top:22px;
  left:22px;
  font-size:13px;
  font-weight:950;
  letter-spacing:.05em;
}
#page-infinity .se-infinity-card::after {
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid color-mix(in srgb, var(--deck-fg) 30%, transparent);
  border-radius:21px;
  pointer-events:none;
}
#page-infinity .se-infinity-deck-problem { --deck-bg:#0f624f; --deck-fg:#fff; }
#page-infinity .se-infinity-deck-people { --deck-bg:#8ee4bf; --deck-fg:#073a30; }
#page-infinity .se-infinity-deck-product { --deck-bg:#f4efe4; --deck-fg:#19342d; }
#page-infinity .se-infinity-deck-path { --deck-bg:#18362f; --deck-fg:#fff; }
#page-infinity .se-infinity-icon {
  width:82px !important;
  height:82px !important;
  flex:0 0 82px !important;
  display:grid !important;
  place-items:center !important;
  align-self:center !important;
  margin:38px auto 0 !important;
  border-radius:50% !important;
  background:transparent !important;
  color:var(--deck-fg) !important;
  border:1.5px solid color-mix(in srgb, var(--deck-fg) 72%, transparent) !important;
}
#page-infinity .se-infinity-icon svg {
  width:38px !important;
  height:38px !important;
  stroke:currentColor !important;
}
#page-infinity .se-infinity-card h3 {
  position:relative;
  z-index:1;
  margin:auto 0 8px !important;
  color:inherit !important;
  font-size:34px !important;
  line-height:.95 !important;
  letter-spacing:-.05em !important;
}
#page-infinity .se-infinity-card p {
  position:relative;
  z-index:1;
  max-width:190px;
  margin:0 0 28px !important;
  color:color-mix(in srgb, var(--deck-fg) 78%, transparent) !important;
  font-size:13px !important;
  line-height:1.45 !important;
}
#page-infinity .se-infinity-card small {
  position:absolute;
  z-index:1;
  left:24px;
  bottom:18px;
  color:color-mix(in srgb, var(--deck-fg) 58%, transparent) !important;
  font-size:8px !important;
  font-weight:900 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
}

#page-infinity .se-mode-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:14px !important;
}
#page-infinity .se-mode-card {
  min-height:150px;
  padding:22px !important;
  border-radius:22px !important;
  background:#fff !important;
  border:1px solid rgba(7,58,48,.10) !important;
  box-shadow:none !important;
}
#page-infinity .se-mode-card strong {
  color:#073a30 !important;
  font-size:18px !important;
  letter-spacing:-.02em !important;
}
#page-infinity .se-mode-card span {
  color:#60706b !important;
  font-size:14px !important;
  line-height:1.55 !important;
}
#page-infinity .se-infinity-saved-strip {
  margin-top:28px !important;
  padding:20px 22px !important;
  border-radius:22px !important;
  background:#eefaf4 !important;
  border:1px solid rgba(7,58,48,.10) !important;
  box-shadow:none !important;
}
#page-infinity .se-infinity-saved-title { color:#073a30 !important; }

@media (max-width:900px) {
  #page-infinity .se-infinity-landing { width:min(100% - 28px, 100%) !important; }
  #page-infinity .se-infinity-hero { padding:38px 28px !important; }
  #page-infinity .se-infinity-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  #page-infinity .se-mode-grid { grid-template-columns:1fr !important; }
  #page-infinity .se-mode-card { min-height:0; }
}

@media (max-width:620px) {
  #page-infinity .se-infinity-landing {
    width:100% !important;
    padding:78px 0 90px !important;
  }
  #page-infinity .se-infinity-hero {
    width:calc(100% - 28px) !important;
    margin:0 14px !important;
    padding:26px 20px 22px !important;
    border-radius:24px !important;
  }
  #page-infinity .se-infinity-hero::after {
    width:210px;
    height:210px;
    right:-105px;
    top:-105px;
  }
  #page-infinity .se-infinity-back { display:none !important; }
  #page-infinity .se-infinity-kicker {
    min-height:28px !important;
    margin-bottom:18px !important;
    font-size:9px !important;
  }
  #page-infinity .se-infinity-title {
    max-width:330px !important;
    font-size:clamp(45px,14vw,60px) !important;
    line-height:.94 !important;
    letter-spacing:-.06em !important;
  }
  #page-infinity .se-infinity-sub {
    max-width:100% !important;
    margin-top:18px !important;
    font-size:15px !important;
    line-height:1.55 !important;
  }
  #page-infinity .se-infinity-actions {
    display:grid !important;
    grid-template-columns:1fr !important;
    margin-top:22px !important;
  }
  #page-infinity .se-infinity-actions > * {
    width:100% !important;
    min-height:50px !important;
    justify-content:center !important;
  }
  #page-infinity .se-infinity-section {
    width:100% !important;
    margin-top:30px !important;
  }
  #page-infinity .se-infinity-section > h2 {
    padding:0 14px !important;
    margin-bottom:14px !important;
    font-size:29px !important;
    line-height:1.0 !important;
  }
  #page-infinity .se-infinity-grid {
    display:flex !important;
    grid-template-columns:none !important;
    gap:12px !important;
    overflow-x:auto !important;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    margin:0 !important;
    padding:2px 14px 12px !important;
  }
  #page-infinity .se-infinity-grid::-webkit-scrollbar { display:none; }
  #page-infinity .se-infinity-card {
    flex:0 0 min(76vw,292px) !important;
    min-height:360px !important;
    padding:22px !important;
    border-radius:26px !important;
    scroll-snap-align:start;
  }
  #page-infinity .se-infinity-card::before { top:21px; left:21px; }
  #page-infinity .se-infinity-card::after { inset:9px; border-radius:19px; }
  #page-infinity .se-infinity-icon {
    width:78px !important;
    height:78px !important;
    flex-basis:78px !important;
    margin-top:40px !important;
  }
  #page-infinity .se-infinity-card h3 { font-size:36px !important; }
  #page-infinity .se-infinity-card p { font-size:13px !important; }
  #page-infinity .se-mode-grid {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    padding:0 14px !important;
    margin-top:0 !important;
  }
  #page-infinity .se-mode-card {
    min-height:0 !important;
    padding:17px 18px !important;
    border-radius:18px !important;
  }
  #page-infinity .se-mode-card strong { font-size:16px !important; margin-bottom:5px !important; }
  #page-infinity .se-mode-card span { font-size:13px !important; line-height:1.5 !important; }
  #page-infinity .se-infinity-saved-strip {
    width:calc(100% - 28px) !important;
    margin:22px 14px 0 !important;
    padding:18px !important;
    border-radius:20px !important;
    align-items:stretch !important;
  }
  #page-infinity .se-infinity-saved-strip button { width:100% !important; }
}


/* ===== V13 ATOMIC ROUTE + RENDER SAFETY ===== */
html.se-route-switching .page.active {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.se-app-ready .page.active {
  transition: opacity .12s ease !important;
}
#page-home { display: none !important; }


/* V13: no intermediate legacy DOM state is paintable during runtime renders. */
html.se-rendering .page.active,
html.se-route-switching .page.active {
  visibility: hidden !important;
  pointer-events: none !important;
}
html.se-app-ready:not(.se-rendering):not(.se-route-switching) .page.active {
  visibility: visible !important;
}
