.login-brand h1,
.brand h1,
.hero-card h2 {
  font-family: "Cormorant Garamond", serif;
}

.login-brand h1 {
  font-size: 52px;
  line-height: 0.95;
  margin: 14px 0 12px;
  max-width: 360px;
}

.login-brand p,
.brand p,
.hero-card p,
.section-header p,
.mini-card p,
.task-meta p,
.event-meta p,
.timeline-meta p,
.calendar-row span,
.table-row.header,
.banner,
.login-note {
  color: var(--muted);
}

.login-brand p {
  max-width: 420px;
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
}

.login-quote strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.login-card h2,
.topbar h2,
.panel-header h2 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.login-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
}

.login-form,
.mini-grid,
.timeline,
.task-list,
.event-list,
.calendar-box,
.quick-actions,
.info-list {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

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

.login-row,
.topbar,
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.login-row {
  font-size: 13px;
}

.login-row a,
.inline-link {
  color: var(--mint-deep);
  text-decoration: none;
  font-weight: 700;
}

.login-submit {
  width: 100%;
  justify-content: center;
}

.login-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 52, 48, 0.08);
  font-size: 13px;
}

.brand {
  margin-bottom: 22px;
}

.brand h1 {
  font-size: 30px;
  line-height: 0.95;
  margin: 16px 0 8px;
}

.brand p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.panel-header h2 {
  margin: 0;
  font-size: 22px;
}

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

.hero-card,
.card {
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 249, 0.86);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(143, 211, 193, 0.18);
  top: -70px;
  right: -55px;
}

.hero-card h2 {
  font-size: 38px;
  line-height: 0.98;
  margin: 12px 0 10px;
  max-width: 460px;
}

.hero-card p {
  margin: 0;
  max-width: 500px;
  line-height: 1.65;
  font-size: 13px;
}

.mini-card h3,
.section-header h3 {
  margin: 0;
  font-size: 15px;
}

.mini-card strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.member-card small,
.member-card p {
  margin: 0;
  color: rgba(17, 49, 43, 0.8);
}

.member-card h2 {
  margin: 8px 0 10px;
  font-size: 17px;
  line-height: 1.1;
}

.task-meta h4,
.event-meta h4,
.timeline-meta h4,
.note-box h4 {
  margin: 0;
  font-size: 14px;
}

.task-meta p,
.event-meta p,
.timeline-meta p,
.note-box p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.event-actions .btn {
  min-width: 124px;
  padding: 9px 12px;
  font-size: 12px;
}

.event-actions .btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
}

.calendar-row,
.info-row {
  display: grid;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
}

.calendar-row {
  grid-template-columns: 78px 1fr;
}

.info-row {
  grid-template-columns: 120px 1fr;
}

.calendar-row strong,
.info-row strong {
  font-size: 11px;
  color: var(--ink);
}

.info-row strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.info-row span {
  font-size: 12px;
  color: var(--ink);
}

.table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 12px;
  padding: 14px 16px;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid rgba(36, 52, 48, 0.05);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row.header {
  background: #f9f6f0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.table-row.row-selected {
  background: linear-gradient(180deg, #fbfffd 0%, #f4fbf8 100%);
}

@media (max-width: 720px) {
  .login-brand h1 {
    font-size: 40px;
  }

  .hero-card h2 {
    font-size: 32px;
  }

  .task,
  .timeline-item,
  .table-row,
  .event,
  .calendar-row,
  .info-row {
    grid-template-columns: 1fr;
  }

  .event-actions .btn,
  .task-actions .btn,
  .row-action {
    width: 100%;
    min-width: 0;
  }
}
