:root {
  --brand-primary: #1677FF;
  --brand-secondary: #F7B38B;
  --brand-accent: #F36F45;
  --brand-ink: #172033;
  --brand-muted: #667085;
  --brand-line: #DCE4EF;
  --brand-cream: #FFF9F1;
  --brand-soft-blue: #EEF5FF;
  --brand-sidebar: #FFFDF8;
  --app-radius: 22px;
  --app-shadow: 0 24px 60px rgba(23, 32, 51, 0.08);
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at top left, rgba(247, 179, 139, 0.35), transparent 28%),
    radial-gradient(circle at top right, rgba(22, 119, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #FFFCF7 0%, #F7F8FB 100%);
}

a {
  color: inherit;
}

.form-control,
.form-select,
.btn,
.card,
.alert,
.badge {
  border-radius: 16px;
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: rgba(23, 32, 51, 0.1);
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: color-mix(in srgb, var(--brand-primary) 40%, white);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--brand-primary) 16%, white);
}

.btn-primary {
  --bs-btn-bg: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--brand-primary) 90%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--brand-primary) 90%, black);
  --bs-btn-active-bg: color-mix(in srgb, var(--brand-primary) 86%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--brand-primary) 86%, black);
  --bs-btn-focus-shadow-rgb: 22, 119, 255;
  font-weight: 700;
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-primary);
  --bs-btn-border-color: color-mix(in srgb, var(--brand-primary) 25%, white);
  --bs-btn-hover-bg: var(--brand-soft-blue);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--brand-primary) 40%, white);
  --bs-btn-hover-color: var(--brand-primary);
  font-weight: 600;
}

.card,
.surface-panel {
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: var(--app-shadow);
  background: rgba(255, 255, 255, 0.92);
}

.surface-panel {
  border-radius: var(--app-radius);
  padding: 1.5rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.section-title {
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.02;
  font-weight: 800;
}

.section-copy {
  color: var(--brand-muted);
  font-size: 1.05rem;
}

.onboarding-shell {
  margin-bottom: 1.5rem;
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.onboarding-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.onboarding-step--completed {
  background: color-mix(in srgb, var(--brand-primary) 8%, white);
  border-color: color-mix(in srgb, var(--brand-primary) 14%, white);
}

.onboarding-step--current {
  background: color-mix(in srgb, var(--brand-secondary) 22%, white);
  border-color: color-mix(in srgb, var(--brand-accent) 16%, white);
}

.onboarding-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand-ink);
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.onboarding-step--completed .onboarding-step-index {
  background: var(--brand-primary);
}

.onboarding-step--current .onboarding-step-index {
  background: var(--brand-accent);
}

.onboarding-side-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 251, 0.92) 100%);
}

.onboarding-info-card {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.brand-logo {
  height: 34px;
  width: auto;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.brand-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
}

.marketing-shell {
  min-height: 100vh;
}

.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0 0;
}

.marketing-nav .shell {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1rem;
}

.marketing-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(23, 32, 51, 0.08);
}

.marketing-nav-links,
.marketing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.marketing-nav-link {
  text-decoration: none;
  color: var(--brand-muted);
  font-weight: 600;
}

.marketing-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.hero-card {
  padding: clamp(1.8rem, 4vw, 3.4rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(247, 179, 139, 0.4), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF8EE 100%);
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: var(--app-shadow);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-proof {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.proof-chip {
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 32, 51, 0.08);
  color: var(--brand-muted);
  font-weight: 600;
}

.marketing-preview {
  display: grid;
  gap: 1rem;
}

.preview-window {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.96) 100%);
  box-shadow: var(--app-shadow);
}

.preview-window::before {
  content: "";
  display: block;
  height: 44px;
  background:
    linear-gradient(90deg, rgba(23, 32, 51, 0.04) 0 58%, transparent 58%),
    linear-gradient(180deg, rgba(247, 179, 139, 0.24), rgba(247, 179, 139, 0.08));
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.preview-body {
  display: grid;
  grid-template-columns: 96px 1fr;
  min-height: 360px;
}

.preview-sidebar {
  padding: 1rem 0.8rem;
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF7EA 100%);
  border-right: 1px solid rgba(23, 32, 51, 0.08);
}

.preview-sidebar .bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.08);
  margin-bottom: 0.75rem;
}

.preview-sidebar .bar.active {
  background: color-mix(in srgb, var(--brand-primary) 18%, white);
  border: 1px solid rgba(22, 119, 255, 0.15);
}

.preview-content {
  padding: 1.15rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.preview-stat,
.preview-row,
.preview-column {
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.preview-stat {
  padding: 1rem;
  min-height: 110px;
}

.preview-stat .line,
.preview-row .line,
.preview-column .line {
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.08);
}

.preview-stat .line + .line,
.preview-row .line + .line,
.preview-column .line + .line {
  margin-top: 0.55rem;
}

.preview-stat .line.highlight,
.preview-row .line.highlight,
.preview-column .line.highlight {
  background: color-mix(in srgb, var(--brand-primary) 26%, white);
}

.preview-table {
  display: grid;
  gap: 0.8rem;
}

.preview-row {
  padding: 0.95rem 1rem;
}

.preview-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.preview-column {
  padding: 0.9rem;
}

.preview-column .ticket {
  border-radius: 14px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  padding: 0.75rem;
  margin-top: 0.7rem;
  background: color-mix(in srgb, var(--brand-secondary) 18%, white);
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 248, 237, 0.96) 100%);
  border-right: 1px solid rgba(23, 32, 51, 0.08);
}

.app-sidebar-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 0.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.app-sidebar-mobile-head {
  display: none;
  justify-content: flex-end;
  padding: 0.25rem 0.25rem 0;
}

.app-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
}

.app-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  min-width: 80px;
  height: 52px;
}

.app-brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.app-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(238,245,255,0.98) 100%);
  border: 1px solid rgba(23, 32, 51, 0.08);
  overflow: hidden;
}

.app-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-brand-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.app-brand-subtitle {
  color: var(--brand-muted);
  font-size: 0.82rem;
}

.event-list-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 52px;
}

.event-list-brand img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.event-card-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 40px;
}

.event-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sidebar-search {
  padding: 0 0.85rem;
}

.sidebar-search .input-group {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}

.sidebar-search .form-control {
  border: 0;
  min-height: 46px;
}

.sidebar-search .btn {
  border: 0;
  border-left: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 0;
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  overflow-y: auto;
  padding: 0 0.5rem 0.5rem;
}

.app-nav-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
  text-transform: uppercase;
}

.app-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.app-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.78rem 0.9rem;
  color: var(--brand-muted);
  font-weight: 600;
  border-radius: 16px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.app-nav-link i,
.app-nav-section-title i {
  width: 1rem;
  text-align: center;
  flex: 0 0 1rem;
}

.app-nav-link:hover,
.app-nav-link:focus {
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.9);
}

.app-nav-link.active {
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 10%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-primary) 15%, white);
}

.app-nav-footer {
  margin-top: auto;
  padding: 0.25rem 0.85rem 0.85rem;
  color: var(--brand-muted);
  font-size: 0.85rem;
}

.app-main {
  min-width: 0;
}

.app-sidebar-toggle,
.app-sidebar-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 16px;
  padding: 0;
}

.app-sidebar-overlay {
  display: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  padding: 1rem 1.5rem 0;
}

.app-topbar-main {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.app-topbar-main > div:last-child {
  min-width: 0;
}

.app-topbar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 38px rgba(23, 32, 51, 0.08);
}

.app-topbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.topbar-chip {
  border-radius: 999px;
  padding: 0.46rem 0.78rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 32, 51, 0.08);
  color: var(--brand-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.app-content {
  padding: 1.5rem;
}

.metric-card {
  height: 100%;
  padding: 1.3rem;
  border-radius: 24px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--app-shadow);
}

.metric-label {
  color: var(--brand-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-value {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
}

.brand-swatch {
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(23, 32, 51, 0.08);
}

.field-hint-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 10%, white);
  cursor: help;
  transition: transform 180ms ease, background-color 180ms ease;
}

.field-hint-trigger:hover,
.field-hint-trigger:focus-visible {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--brand-primary) 16%, white);
  outline: none;
}

.settings-preview {
  display: grid;
  gap: 1rem;
}

.settings-preview-shell {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: white;
  box-shadow: var(--app-shadow);
}

.settings-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #FFF7EB 0%, #FFFFFF 100%);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.settings-preview-body {
  display: grid;
  grid-template-columns: 96px 1fr;
  min-height: 240px;
}

.settings-preview-sidebar {
  background: var(--brand-cream);
  border-right: 1px solid rgba(23, 32, 51, 0.08);
  padding: 0.8rem;
}

.settings-preview-main {
  padding: 1rem;
}

.settings-preview-card {
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: white;
  margin-bottom: 0.8rem;
}

.tasks-workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.tasks-sidebar-panel,
.tasks-main-panel {
  min-width: 0;
}

.tasks-sidebar-header,
.tasks-sidebar-create {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.tasks-sidebar-create {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(23, 32, 51, 0.08);
  border-bottom: 0;
}

.tasks-sidebar-groups {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.tasks-sidebar-group {
  display: grid;
  gap: 0.5rem;
}

.tasks-sidebar-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.tasks-sidebar-list {
  display: grid;
  gap: 0.35rem;
}

.tasks-list-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  border-radius: 18px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.64);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.tasks-list-link:hover,
.tasks-list-link:focus {
  transform: translateY(-1px);
  border-color: rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.tasks-list-link.active {
  border-color: color-mix(in srgb, var(--brand-primary) 20%, white);
  background: color-mix(in srgb, var(--brand-primary) 10%, white);
}

.tasks-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand-primary) 10%, white);
  color: var(--brand-primary);
}

.tasks-toolbar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tasks-stream {
  display: grid;
  gap: 0.85rem;
}

.task-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--app-shadow);
}

.task-row.is-done {
  opacity: 0.72;
}

.task-row-toggle {
  padding-top: 0.15rem;
}

.task-toggle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 51, 0.14);
  background: white;
  color: var(--brand-primary);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.task-toggle-button:hover,
.task-toggle-button:focus {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand-primary) 24%, white);
  background: color-mix(in srgb, var(--brand-primary) 10%, white);
}

.task-toggle-button.static {
  cursor: default;
}

.task-row-main {
  text-decoration: none;
  min-width: 0;
}

.task-row-title {
  font-size: 1rem;
}

.task-row-meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.task-chip-danger {
  color: #B42318;
  border-color: rgba(180, 35, 24, 0.12);
  background: rgba(254, 228, 226, 0.86);
}

.calendar-shell {
  display: grid;
  gap: 1.5rem;
}

.calendar-fullcalendar-shell {
  display: grid;
  gap: 1.25rem;
}

.calendar-fullcalendar-filters {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.calendar-fullcalendar-filter {
  min-width: min(100%, 18rem);
}

.calendar-fullcalendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1rem;
  align-items: start;
}

.calendar-mobile-legend {
  display: none;
  padding: 0.95rem 1rem;
}

.calendar-mobile-legend summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--brand-ink);
}

.calendar-mobile-legend summary::-webkit-details-marker {
  display: none;
}

.calendar-mobile-legend summary i {
  transition: transform 180ms ease;
}

.calendar-mobile-legend[open] summary {
  margin-bottom: 0.85rem;
}

.calendar-mobile-legend[open] summary i {
  transform: rotate(180deg);
}

.calendar-fullcalendar-legend {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.calendar-legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.calendar-fullcalendar-root {
  min-height: 720px;
}

.calendar-fullcalendar-sidebar {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
  position: sticky;
  top: 5.6rem;
}

.calendar-fullcalendar-sidebar-title {
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.calendar-fullcalendar-sidebar-list {
  display: grid;
  gap: 0.65rem;
}

.calendar-fullcalendar-sidebar-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.fc {
  --fc-border-color: rgba(23, 32, 51, 0.08);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(247, 248, 251, 0.85);
  --fc-list-event-hover-bg-color: rgba(22, 119, 255, 0.06);
  --fc-today-bg-color: color-mix(in srgb, var(--brand-primary) 8%, white);
  --fc-button-bg-color: var(--brand-primary);
  --fc-button-border-color: var(--brand-primary);
  --fc-button-hover-bg-color: color-mix(in srgb, var(--brand-primary) 90%, black);
  --fc-button-hover-border-color: color-mix(in srgb, var(--brand-primary) 90%, black);
  --fc-button-active-bg-color: color-mix(in srgb, var(--brand-primary) 86%, black);
  --fc-button-active-border-color: color-mix(in srgb, var(--brand-primary) 86%, black);
}

.fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 1rem;
}

.fc .fc-toolbar-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fc .fc-button {
  border-radius: 14px;
  box-shadow: none !important;
  font-weight: 700;
}

.fc .fc-button-group > .fc-button {
  margin-right: 0.25rem;
}

.fc .fc-button-group > .fc-button:last-child {
  margin-right: 0;
}

.fc .fc-scrollgrid,
.fc .fc-timegrid-slot,
.fc .fc-timegrid-axis,
.fc .fc-col-header-cell,
.fc .fc-daygrid-day {
  border-color: rgba(23, 32, 51, 0.08) !important;
}

.fc .fc-scrollgrid {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
}

.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number,
.fc .fc-timegrid-axis-cushion {
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 700;
}

.fc .fc-daygrid-day-number {
  padding: 0.55rem 0.7rem;
}

.fc .fc-timegrid-slot-label-cushion,
.fc .fc-timegrid-axis-cushion {
  color: var(--brand-muted);
  font-size: 0.78rem;
}

.fc .fc-event {
  border-radius: 12px;
  padding: 0.2rem 0.3rem;
  border-width: 1px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.fc .fc-event-main {
  padding: 0.1rem 0.2rem;
}

.fc .fc-event-title {
  font-weight: 700;
}

.fc .fc-daygrid-event-dot {
  border-color: currentColor;
}

.fc .fc-daygrid-day.fc-day-today,
.fc .fc-timegrid-col.fc-day-today {
  background: color-mix(in srgb, var(--brand-primary) 8%, white);
}

.fc .fc-timegrid-now-indicator-line {
  border-color: var(--brand-accent);
}

.fc .fc-timegrid-now-indicator-arrow {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.fc .fc-timegrid-slot:hover,
.fc .fc-daygrid-day-frame:hover {
  background: rgba(22, 119, 255, 0.04);
}

.calendar-scheduler-panel {
  overflow: hidden;
}

.calendar-scheduler-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.calendar-scheduler-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.calendar-scheduler-period {
  font-size: 1.1rem;
  font-weight: 800;
  min-width: 13rem;
}

.calendar-filter-form {
  min-width: min(100%, 32rem);
}

.calendar-scheduler-rubrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.calendar-scheduler-rubric {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.calendar-scheduler-rubric.is-active {
  border-color: color-mix(in srgb, var(--brand-primary) 24%, white);
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 10%, white);
}

.calendar-rubric-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  display: inline-flex;
}

.calendar-scheduler-month {
  margin-bottom: 0;
  --bs-table-bg: transparent;
}

.calendar-scheduler-month > :not(caption) > * > * {
  border-color: rgba(23, 32, 51, 0.08);
  background: transparent;
  padding: 0;
  vertical-align: top;
}

.calendar-scheduler-month thead th {
  padding: 0.85rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--brand-muted);
  font-weight: 800;
  background: rgba(247, 248, 251, 0.92);
}

.scheduler-week-column-cell {
  width: 3.75rem;
  min-width: 3.75rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 0.85rem 0.5rem !important;
  color: var(--brand-muted);
  background: rgba(247, 248, 251, 0.92) !important;
}

.scheduler-week-column-cell a {
  text-decoration: none;
}

.calendar-scheduler-day-cell {
  position: relative;
  min-width: 9.75rem;
  min-height: 10rem;
  background: rgba(255, 255, 255, 0.9);
}

.calendar-scheduler-day-cell.is-muted {
  background: rgba(245, 247, 250, 0.78);
}

.calendar-scheduler-day-cell.is-today,
.calendar-scheduler-week-column.is-today {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand-primary) 22%, white);
}

.calendar-day-hit-area {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 1;
}

.scheduler-day-head,
.scheduler-day-list {
  position: relative;
  z-index: 2;
}

.scheduler-day-head {
  display: flex;
  justify-content: flex-end;
  padding: 0.65rem 0.7rem 0.35rem;
}

.scheduler-day-link {
  text-decoration: none;
  color: var(--brand-ink);
  font-size: 1rem;
}

.calendar-scheduler-day-cell:hover .scheduler-day-link,
.calendar-scheduler-day-cell:focus-within .scheduler-day-link {
  color: var(--brand-primary);
}

.scheduler-day-list {
  display: grid;
  gap: 0.35rem;
  padding: 0 0.45rem 0.55rem;
}

.scheduler-day-more {
  padding: 0.1rem 0.25rem;
  font-size: 0.78rem;
  color: var(--brand-muted);
}

.scheduler-occurrence-button {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--item-color) 18%, white);
  background: color-mix(in srgb, var(--item-color) 11%, white);
  text-decoration: none;
  color: #172033;
}

.scheduler-occurrence-button:last-child {
  margin-bottom: 0;
}

.scheduler-occurrence-button:hover {
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.scheduler-occurrence-time {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--item-color) 78%, #111827);
}

.scheduler-occurrence-title {
  font-size: 0.88rem;
  font-weight: 700;
}

.scheduler-occurrence-subtitle {
  font-size: 0.76rem;
  color: #5B6476;
}

.calendar-scheduler-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
}

.calendar-scheduler-week-column {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.calendar-scheduler-week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(247, 248, 251, 0.86);
}

.scheduler-week-day-link {
  display: grid;
  gap: 0.08rem;
  text-decoration: none;
  color: var(--brand-ink);
}

.scheduler-week-day-link span {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-muted);
}

.scheduler-week-day-link strong {
  font-size: 1rem;
  font-weight: 800;
}

.calendar-week-hit-area {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-scheduler-day-table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
}

.calendar-scheduler-day-table > :not(caption) > * > * {
  border-color: rgba(23, 32, 51, 0.08);
  background: transparent;
  vertical-align: top;
}

.scheduler-slot-time {
  width: 5rem;
  min-width: 5rem;
  padding: 0 !important;
}

.scheduler-slot-add {
  width: 100%;
  min-height: 3.5rem;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  color: var(--brand-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.scheduler-slot-add:hover,
.scheduler-slot-add:focus {
  color: var(--brand-primary);
  background: var(--brand-soft-blue);
}

.scheduler-slot-cell {
  min-width: 12rem;
  padding: 0.35rem !important;
}

.scheduler-slot-ghost {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  border: 1px dashed rgba(23, 32, 51, 0.12);
  border-radius: 12px;
  background: transparent;
}

.scheduler-slot-ghost:hover,
.scheduler-slot-ghost:focus {
  border-color: color-mix(in srgb, var(--brand-primary) 32%, white);
  background: color-mix(in srgb, var(--brand-primary) 8%, white);
}

.calendar-modal {
  border: 0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
}

.surface-subpanel {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 20px;
  background: rgba(244, 247, 255, 0.72);
  padding: 1rem 1.1rem;
}

.meeting-editor-shell {
  display: grid;
  gap: 0.6rem;
}

.meeting-editor {
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.meeting-attendance-picker {
  display: grid;
  gap: 0.6rem;
}

.meeting-attendance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-height: 2.5rem;
}

.meeting-attendance-empty {
  font-size: 0.95rem;
}

.meeting-attendance-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 0.85rem;
  color: inherit;
  cursor: pointer;
}

.meeting-attendance-chip:hover {
  border-color: color-mix(in srgb, var(--brand-primary) 26%, white);
  background: color-mix(in srgb, var(--brand-primary) 8%, white);
}

.meeting-attendance-search-shell {
  position: relative;
}

.meeting-attendance-suggestions {
  position: absolute;
  inset: calc(100% + 0.3rem) 0 auto;
  z-index: 20;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.meeting-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.9rem 1rem 0;
}

.meeting-editor-surface {
  min-height: 20rem;
  padding: 1rem;
  outline: none;
  line-height: 1.65;
}

.meeting-editor-surface:focus {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-primary) 35%, white);
}

.meeting-richtext {
  line-height: 1.7;
}

.meeting-richtext > *:last-child {
  margin-bottom: 0;
}

.meeting-richtext h3,
.meeting-editor-surface h3 {
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem;
}

.meeting-richtext h4,
.meeting-editor-surface h4 {
  font-size: 1rem;
  margin: 0.85rem 0 0.45rem;
}

.meeting-richtext ul,
.meeting-richtext ol,
.meeting-editor-surface ul,
.meeting-editor-surface ol {
  padding-left: 1.2rem;
}

.meeting-richtext blockquote,
.meeting-editor-surface blockquote {
  border-left: 3px solid color-mix(in srgb, var(--brand-primary) 28%, white);
  margin: 1rem 0;
  padding-left: 0.9rem;
  color: var(--brand-ink-soft, #516074);
}

.meeting-todo-builder {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 22px;
  background: rgba(248, 250, 255, 0.86);
  padding: 1rem 1.1rem;
}

.meeting-existing-todos {
  border: 1px dashed rgba(23, 32, 51, 0.12);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.68);
}

.meeting-todo-list {
  display: grid;
  gap: 0.9rem;
}

.meeting-todo-item {
  display: grid;
  gap: 0.85rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 1rem;
}

.meeting-todo-item-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.event-overview-shell {
  display: grid;
  gap: 1.5rem;
}

.event-overview-hero {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1.5rem;
}

.event-overview-actions {
  justify-content: flex-end;
}

.event-overview-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.event-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
}

.event-overview-main,
.event-overview-side {
  display: grid;
  gap: 1.5rem;
}

.event-overview-agenda {
  display: grid;
  gap: 0.8rem;
}

.event-overview-agenda-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 20px;
  padding: 0.95rem 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.event-overview-agenda-item:hover {
  border-color: color-mix(in srgb, var(--brand-primary) 26%, white);
  background: color-mix(in srgb, var(--brand-primary) 6%, white);
}

.event-overview-agenda-date {
  min-width: 4.5rem;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border-radius: 16px;
  background: rgba(244, 247, 255, 0.9);
}

.event-overview-agenda-date span {
  font-weight: 700;
  line-height: 1;
}

.event-overview-agenda-date small {
  color: #516074;
}

.event-overview-agenda-body {
  min-width: 0;
}

.event-overview-agenda-badge {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.event-overview-empty {
  border: 1px dashed rgba(23, 32, 51, 0.12);
  border-radius: 20px;
  padding: 1.2rem;
  background: rgba(248, 250, 255, 0.74);
}

.event-overview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.volunteer-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.volunteer-public-link {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(248, 250, 255, 0.82);
}

.volunteer-public-link code {
  display: block;
  white-space: normal;
  word-break: break-all;
}

.volunteer-empty-state {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px dashed rgba(23, 32, 51, 0.14);
  background: rgba(255, 255, 255, 0.64);
}

.volunteer-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.volunteer-role-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.volunteer-day-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.volunteer-shift-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  color: inherit;
}

.volunteer-shift-row:hover {
  border-color: color-mix(in srgb, var(--brand-primary) 22%, white);
  background: color-mix(in srgb, var(--brand-primary) 4%, white);
}

.volunteer-table td,
.volunteer-table th {
  vertical-align: middle;
}

.volunteer-public-body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--brand-secondary) 40%, transparent), transparent 30%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand-primary) 18%, transparent), transparent 32%),
    linear-gradient(180deg, #FFFCF7 0%, #F7F8FB 100%);
}

.volunteer-public-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.volunteer-public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.volunteer-public-logo {
  max-height: 68px;
  width: auto;
  object-fit: contain;
}

.volunteer-public-brand img {
  height: 40px;
  width: auto;
}

.volunteer-public-alert {
  margin-bottom: 1.5rem;
}

.volunteer-public-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 1.5rem;
  align-items: start;
}

.volunteer-public-sidebar {
  position: sticky;
  top: 1.25rem;
}

.volunteer-public-form {
  background: rgba(255, 255, 255, 0.94);
}

.volunteer-category-filters {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.volunteer-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.volunteer-category-chip:hover {
  border-color: color-mix(in srgb, var(--brand-primary) 24%, white);
  background: color-mix(in srgb, var(--brand-primary) 5%, white);
  color: var(--brand-primary);
}

.volunteer-category-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 62%, white));
  color: white;
  box-shadow: 0 16px 32px -22px color-mix(in srgb, var(--brand-primary) 52%, transparent);
}

.volunteer-public-shift-card {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.volunteer-public-shift-card.is-full {
  opacity: 0.72;
  cursor: default;
}

@media (max-width: 1199.98px) {
  .marketing-hero {
    grid-template-columns: 1fr;
  }

  .surface-panel {
    padding: 1.2rem;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  body.app-sidebar-open {
    overflow: hidden;
  }

  .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(90vw, 360px);
    height: 100dvh;
    z-index: 1040;
    padding: 0.85rem;
    border-right: 1px solid rgba(23, 32, 51, 0.08);
    border-bottom: 0;
    transform: translateX(calc(-100% - 1rem));
    transition: transform 220ms ease;
    box-shadow: 0 28px 64px rgba(17, 24, 39, 0.18);
  }

  body.app-sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .app-sidebar-shell {
    gap: 0.9rem;
    padding: 0.35rem;
    border-radius: 24px;
    overflow-y: auto;
  }

  .app-sidebar-mobile-head {
    display: flex;
  }

  .app-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1030;
    background: rgba(17, 24, 39, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  body.app-sidebar-open .app-sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .app-brand {
    padding: 0.75rem;
  }

  .app-topbar {
    padding: 0.9rem 0.95rem 0;
  }

  .app-topbar-card {
    padding: 0.95rem 1rem;
    border-radius: 22px;
  }

  .app-topbar-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .app-content {
    padding: 1rem;
  }

  .tasks-workspace {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tasks-sidebar-header,
  .tasks-sidebar-create {
    padding-bottom: 0.85rem;
  }

  .tasks-sidebar-create {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .tasks-sidebar-groups {
    gap: 0.85rem;
  }

  .tasks-sidebar-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-scheduler-week {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-mobile-legend {
    display: block;
  }

  .calendar-fullcalendar-layout {
    grid-template-columns: 1fr;
  }

  .calendar-fullcalendar-root {
    min-height: 620px;
  }

  .calendar-fullcalendar-filters {
    align-items: stretch;
  }

  .calendar-fullcalendar-filter {
    width: 100%;
    min-width: 0;
  }

  .event-overview-hero {
    flex-direction: column;
    gap: 1rem;
  }

  .event-overview-actions {
    justify-content: flex-start;
  }

  .event-overview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-overview-main,
  .event-overview-side {
    gap: 1rem;
  }

  .event-overview-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .volunteer-dashboard-grid,
  .volunteer-public-grid,
  .volunteer-public-hero {
    grid-template-columns: 1fr;
  }

  .volunteer-public-sidebar {
    position: static;
  }

  .volunteer-public-shell {
    padding: 1.5rem 1rem 2.5rem;
  }

  .volunteer-public-brand {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  .tasks-sidebar-list,
  .event-overview-side {
    grid-template-columns: 1fr;
  }

  .task-row-meta {
    justify-content: flex-start;
  }

  .event-overview-agenda-item {
    grid-template-columns: auto 1fr;
  }

  .event-overview-agenda-badge {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .marketing-nav-links {
    display: none;
  }

  .marketing-nav-card,
  .app-topbar-card {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-body,
  .settings-preview-body {
    grid-template-columns: 1fr;
  }

  .preview-sidebar,
  .settings-preview-sidebar {
    display: none;
  }

  .preview-grid,
  .preview-kanban {
    grid-template-columns: 1fr;
  }

  .surface-panel {
    padding: 1rem;
    border-radius: 22px;
  }

  .section-title {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .section-copy {
    font-size: 0.96rem;
  }

  .app-content,
  .app-topbar {
    padding: 0.85rem;
  }

  .app-brand {
    padding: 0.65rem;
  }

  .app-brand-logo {
    width: 64px;
    min-width: 64px;
    height: 42px;
  }

  .app-sidebar-shell {
    border-radius: 22px;
  }

  .app-nav {
    padding: 0 0.35rem 0.35rem;
  }

  .app-nav-link {
    padding: 0.72rem 0.8rem;
  }

  .sidebar-search {
    padding: 0 0.65rem;
  }

  .app-topbar-card {
    gap: 0.85rem;
    padding: 0.9rem;
  }

  .app-topbar-main {
    align-items: center;
  }

  .app-topbar-meta {
    gap: 0.45rem;
  }

  .topbar-chip {
    padding: 0.42rem 0.68rem;
    font-size: 0.78rem;
  }

  .tasks-sidebar-list {
    grid-template-columns: 1fr;
  }

  .tasks-toolbar {
    width: 100%;
  }

  .tasks-toolbar .btn {
    flex: 1 1 calc(33.333% - 0.5rem);
  }

  .task-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.95rem;
  }

  .task-row-toggle {
    padding-top: 0;
  }

  .calendar-scheduler-toolbar {
    align-items: stretch;
  }

  .calendar-scheduler-week {
    grid-template-columns: 1fr;
  }

  .calendar-fullcalendar-root {
    min-height: 480px;
  }

  .fc .fc-toolbar.fc-header-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .fc .fc-toolbar-chunk {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .fc .fc-toolbar-title {
    font-size: 1.05rem;
  }

  .fc .fc-button {
    padding: 0.38rem 0.6rem;
    font-size: 0.82rem;
  }

  .fc .fc-col-header-cell-cushion,
  .fc .fc-daygrid-day-number {
    font-size: 0.82rem;
  }

  .event-overview-agenda-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .event-overview-agenda-date {
    min-width: 0;
    justify-items: start;
    grid-auto-flow: column;
    justify-content: start;
  }

  .event-overview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .volunteer-public-shell {
    padding: 1rem 0.85rem 2rem;
  }

  .volunteer-public-hero {
    margin-bottom: 1rem;
  }

  .volunteer-category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .volunteer-category-chip {
    white-space: nowrap;
  }
}
