:root {
  font-family: system-ui, sans-serif;
  color: #183832;
  background: #f5f4ef;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 860px;
  margin: auto;
  padding: 48px 24px;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: #58766c;
}
h1 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  max-width: 620px;
}
header p,
.hint,
footer {
  color: #5c6b65;
}
section {
  background: white;
  border: 1px solid #dce3dc;
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0;
}
h2 {
  font-size: 1.2rem;
  margin-top: 0;
}
form {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 180px;
}
input {
  font: inherit;
  padding: 12px;
  border: 1px solid #a6b9ae;
  border-radius: 8px;
  width: 100%;
}
button {
  font: inherit;
  background: #215a46;
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #b57e18;
  outline-offset: 3px;
}
.secondary {
  background: #e8eee8;
  color: #183832;
}
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
ul {
  padding: 0;
  list-style: none;
}
li {
  padding: 16px 0;
  border-bottom: 1px solid #e7ebe6;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
li span {
  flex: 1;
  min-width: 140px;
}
.hint,
footer {
  font-size: 0.85rem;
}
#notice:not(:empty) {
  padding: 14px;
  background: #fff0c8;
  border-radius: 8px;
}
footer {
  margin-top: 32px;
}
code {
  font-size: 0.85rem;
}
[hidden] {
  display: none !important;
}

textarea {
  font: inherit;
  padding: 12px;
  border: 1px solid #a6b9ae;
  border-radius: 8px;
  width: 100%;
  resize: vertical;
}
#chat li {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#ai-form {
  margin: 16px 0;
}
input[type="checkbox"] {
  width: auto;
}
summary {
  cursor: pointer;
}
#ai-disable {
  margin-top: 16px;
}

select {
  font: inherit;
  padding: 12px;
  border: 1px solid #a6b9ae;
  border-radius: 8px;
  background: white;
}
#memory-form,
#memory-editor,
#audio-form {
  margin: 20px 0;
}
#memory-editor {
  padding: 16px;
  background: #eef4ed;
}
#memories li,
#transcriptions li {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#schedule-editor {
  display: block;
  padding: 20px;
  background: #eef4ed;
  border-radius: 12px;
  margin: 16px 0;
}
#schedule-editor label {
  margin: 12px 0;
}
#schedule-editor button {
  margin: 4px;
}
#notifications li {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#tasks li button {
  padding: 8px 10px;
  font-size: 0.85rem;
}
