.brand-tag,
.eyebrow,
.pill,
.mode-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tag {
  background: var(--mint-soft);
  color: var(--mint-deep);
}

.eyebrow {
  background: var(--peach);
  color: #8d6e55;
}

.pill {
  background: linear-gradient(180deg, #e6f7f2 0%, #d8f0e8 100%);
  color: var(--mint-strong);
  box-shadow: inset 0 0 0 1px rgba(63, 139, 121, 0.12);
}

.mode-label {
  background: var(--rose);
  color: #8d5b69;
  margin-top: 14px;
}

.login-quote,
.login-card,
.hero-card,
.card,
.member-card {
  box-shadow: var(--card-shadow);
}

.login-quote {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.78);
  max-width: 430px;
  position: relative;
  z-index: 1;
}

.login-card {
  width: min(100%, 430px);
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(18px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  min-height: 40px;
  padding: 10px 15px;
  font-weight: 700;
  font-size: 13px;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, var(--mint-deep) 0%, var(--mint-strong) 100%);
  color: white;
  box-shadow: 0 12px 24px rgba(63, 139, 121, 0.22);
}

.btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(63, 139, 121, 0.14);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary:hover {
  box-shadow: 0 14px 26px rgba(63, 139, 121, 0.28);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, #f3fbf8 0%, #edf7f3 100%);
}

.access-switch {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.access-chip,
.segment button,
.nav button {
  border: 0;
  cursor: pointer;
}

.access-chip {
  padding: 9px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(36, 52, 48, 0.08);
}

.segment {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(36, 52, 48, 0.06);
}

.segment button {
  background: transparent;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.segment button.active {
  background: var(--mint-soft);
  color: var(--mint-deep);
}

.nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.nav button {
  width: 100%;
  text-align: left;
  padding: 11px 13px;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
}

.nav button.active {
  background: linear-gradient(135deg, #dff4ee 0%, #eff7f2 100%);
  box-shadow: inset 0 0 0 1px rgba(91, 168, 150, 0.14);
}

.nav button:hover {
  background: rgba(255, 255, 255, 0.72);
}

.mini-card,
.task,
.event,
.timeline-item,
.calendar-row,
.info-row,
.table-card {
  background: #fff;
}

.mini-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(36, 52, 48, 0.06);
  background: linear-gradient(180deg, #fffaf4 0%, #fffefc 100%);
  min-height: 138px;
}

.accent-card {
  background: linear-gradient(180deg, #f7edf2 0%, #fff8fb 100%);
}

.member-card {
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(160deg, #89cfbe 0%, #6eb9a7 100%);
  color: #11312b;
}

.task,
.event,
.timeline-item {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(36, 52, 48, 0.06);
}

.task {
  grid-template-columns: auto 1fr auto;
}

.event {
  grid-template-columns: 78px 1fr;
  align-items: start;
}

.timeline-item {
  grid-template-columns: 64px 1fr;
}

.task-badge,
.date-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(160deg, #d9f1ea 0%, #effaf6 100%);
  color: var(--mint-deep);
  text-align: center;
  line-height: 1.1;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.status.pending {
  background: #fff2dc;
  color: var(--peach-strong);
  box-shadow: inset 0 0 0 1px rgba(177, 122, 53, 0.12);
}

.status.done {
  background: #e3f5ef;
  color: var(--mint-strong);
  box-shadow: inset 0 0 0 1px rgba(63, 139, 121, 0.12);
}

.status.live {
  background: #f7e4ea;
  color: var(--rose-strong);
  box-shadow: inset 0 0 0 1px rgba(171, 109, 125, 0.12);
}

.banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(143, 211, 193, 0.14), rgba(244, 221, 227, 0.22));
  border: 1px solid rgba(91, 168, 150, 0.12);
  font-size: 13px;
}

.inline-feedback {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(227, 245, 239, 0.95);
  border: 1px solid rgba(49, 118, 101, 0.14);
  color: #2d685b;
  font-size: 12px;
  font-weight: 600;
}

.empty-row {
  color: var(--muted);
}

.empty-row div {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.filter-bar,
.filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-bar {
  margin-bottom: 14px;
  align-items: center;
  justify-content: space-between;
}

.filter-search {
  flex: 1 1 240px;
}

.filter-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(63, 139, 121, 0.14);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.filter-chip {
  border: 0;
  cursor: pointer;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(63, 139, 121, 0.12);
}

.filter-chip.active {
  background: linear-gradient(180deg, #dff5ee 0%, #cfeee4 100%);
  color: var(--mint-strong);
  box-shadow: inset 0 0 0 1px rgba(63, 139, 121, 0.16);
}

.task-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.task-actions .btn,
.row-action {
  min-width: 104px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(26, 38, 35, 0.24);
  backdrop-filter: blur(8px);
  z-index: 40;
}

.modal-card {
  width: min(100%, 560px);
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 22px 48px rgba(33, 52, 48, 0.16);
}

.modal-header,
.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.modal-header {
  margin-bottom: 18px;
}

.modal-header h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.modal-header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.modal-close {
  flex-shrink: 0;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.modal-form .field span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.modal-form input,
.modal-form select {
  width: 100%;
  border: 1px solid rgba(36, 52, 48, 0.08);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fffdfa;
  color: var(--ink);
}

.modal-actions {
  margin-top: 8px;
  justify-content: flex-end;
  align-items: center;
}

.table-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(36, 52, 48, 0.06);
}

.compact-table .table-row {
  grid-template-columns: 130px 1fr;
}

.note-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #edf8f4 0%, #fbfffd 100%);
  border: 1px solid rgba(91, 168, 150, 0.14);
}

.event-selected {
  box-shadow: inset 0 0 0 1px rgba(91, 168, 150, 0.28);
  background: linear-gradient(180deg, #fbfffd 0%, #f6fcf9 100%);
}

.detail-actions {
  margin-top: 16px;
}

.row-action {
  margin-top: 8px;
}

.login-quote {
  max-width: 360px;
}
