:root {
  --bs-primary: #088fc1;
  --bs-primary-rgb: 8, 143, 193;
  --bs-info: #00a7b8;
  --bs-info-rgb: 0, 167, 184;
}

body {
  background: #f7fbfc;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #088fc1, #00a7b8);
  font-weight: 800;
}

.hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #eefbff 100%);
}

.stat-card {
  min-height: 160px;
}

.avatar-initial {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.dashboard-clock {
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 800;
  color: #088fc1;
}

.time-panel {
  min-height: 62vh;
  display: grid;
  place-content: center;
}

.time-large {
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 1;
  color: #088fc1;
  font-weight: 800;
}

.date-large {
  margin-top: 18px;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: #697a8d;
}

.note-list {
  display: grid;
  gap: 10px;
}

.note-row {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  background: #f3fbfe;
  color: #233446;
}

.note-row:hover,
.note-row.active {
  background: #dff6ff;
}

.note-row strong,
.note-row span {
  display: block;
}

.note-row span {
  margin-top: 4px;
  color: #697a8d;
  font-size: 0.8125rem;
}

.note-editor {
  min-height: 360px;
  resize: vertical;
}

.markdown-preview,
.rich-box {
  min-height: 220px;
  border: 1px solid #d9dee3;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.markdown-preview {
  background: #fbfdfe;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rich-size {
  width: 110px;
}

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

.calendar-head {
  margin-bottom: 10px;
  color: #697a8d;
  font-weight: 700;
  text-align: center;
}

.calendar-cell {
  min-height: 88px;
  padding: 12px;
  border: 1px solid #d9dee3;
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
}

.calendar-cell.today {
  color: #fff;
  background: linear-gradient(135deg, #088fc1, #00a7b8);
  border-color: transparent;
}

.submenu-select {
  width: calc(100% - 2rem);
  margin: 0.5rem 1rem 0.75rem;
}

@media (max-width: 768px) {
  .calendar-cell {
    min-height: 54px;
    padding: 8px;
  }
}
