:root {
  color: #1f1f1f;
  background: #fff;
  font: 14px/1.45 "Segoe UI", sans-serif;
}
body { margin: 0; display: grid; grid-template-columns: 200px 1fr; min-height: 100vh; }
aside { background: #f2f2f2; border-right: 1px solid #ddd; padding: 16px 10px 14px; display: flex; flex-direction: column; }
.wordmark { font-size: 16px; font-weight: 600; margin: 8px 10px 16px; }
nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
button { font: inherit; color: inherit; background: transparent; border: 0; border-radius: 6px; text-align: left; padding: 6px 10px; cursor: pointer; }
button.selected, button:hover { background: #dcdcdc; }
button.primary { background: #1f1f1f; color: #fff; }
.settings { margin-top: 8px; }
#status, .muted { color: #6b6b6b; font-size: 12px; }
#status { margin: 8px 10px 0; }
header { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #e3e3e3; font-size: 17px; font-weight: 700; }
#banner { margin: 0; padding: 10px 20px; background: #fff6d8; border-bottom: 1px solid #e3e3e3; }
section { padding: 20px; }
.row, label, .card { display: block; width: 100%; }
.row, .card { padding: 8px 0; border-bottom: 1px solid #e3e3e3; background: transparent; }
input, select { display: block; width: min(520px, 100%); margin: 4px 0 12px; padding: 6px 8px; }
.modes { display: flex; gap: 8px; margin-bottom: 12px; }
#calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { border: 1px solid #e3e3e3; border-radius: 8px; min-height: 72px; padding: 8px; }
#note-body { white-space: pre-wrap; font: inherit; margin: 0; }
#prompt { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.2); display: grid; place-items: center; }
#prompt[hidden] { display: none; }
.sheet { width: min(420px, calc(100% - 32px)); background: #fff; border: 1px solid #eaeaea; border-radius: 12px; padding: 16px; }
.sheet h2 { margin: 0 0 8px; font-size: 15px; }
.bot { display: flex; align-items: center; gap: 8px; }
.bot input { width: auto; margin: 0; }
