:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #233c32;
  background: #edf1e9;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { border-bottom: 1px solid #cbd6c8; }
.bar, main { max-width: 62rem; margin: auto; padding: 0 1.5rem; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: .7rem; }
.brand { font-size: 1.6rem; text-decoration: none; font-weight: 750; letter-spacing: -.05em; }
a { color: inherit; }
main { padding-top: clamp(2rem, 7vw, 6rem); padding-bottom: 3rem; }
.narrow { max-width: 31rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.055em; margin-bottom: 2rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; overflow-wrap: anywhere; }
.cards, .columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel, .card { display: block; background: #fafbf6; padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid #cad4c7; border-radius: 1rem; }
.card { text-decoration: none; }
.card:hover { border-color: #526e5c; }
.card h2 { margin: 1.2rem 0 .35rem; }
.card > span:last-child, small { color: #4d6659; }
.icon { color: #42614d; font-size: 1.7rem; }
.stack { display: grid; gap: 1.15rem; align-self: start; }
label { display: grid; gap: .45rem; font-weight: 600; }
input, button { font: inherit; }
input:not([type=checkbox]) { width: 100%; padding: .75rem; border: 1px solid #a8b8aa; border-radius: .5rem; background: white; color: inherit; }
button { color: inherit; cursor: pointer; background: #eff4ea; border: 1px solid #aab8aa; border-radius: .5rem; padding: .6rem .85rem; }
button.primary { background: #244b38; color: #fff; padding: .85rem; border-color: #244b38; }
.check, .signout { display: flex; align-items: center; gap: .65rem; }
.check { font-weight: 450; min-height: 2rem; }
.signout { min-width: 0; }
.signout span { overflow: hidden; text-overflow: ellipsis; }
input[type=checkbox] { accent-color: #244b38; width: 1.05rem; height: 1.05rem; }
.member { border-top: 1px solid #d6ded2; padding-top: 1rem; margin-top: 1rem; }
.member small { display: block; margin: .15rem 0 .55rem; }
.back { display: inline-block; margin-bottom: 1.2rem; }
.error { margin-bottom: 1rem; color: #8a2f20; }
:focus-visible { outline: 3px solid #557eaf; outline-offset: 2px; }
@media (max-width: 38rem) {
  .columns, .cards { grid-template-columns: minmax(0, 1fr); }
  .bar, main { padding-inline: 1rem; }
}
.conversation { display: grid; gap: .65rem; margin-bottom: 1.2rem; }
.bubble { justify-self: start; padding: .85rem 1.2rem; max-width: 90%; border-radius: .9rem; background: #fafbf6; }
.bubble.mine { justify-self: end; background: #d8e7d5; }
.bubble p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: .3rem; line-height: 1.45; }
textarea { resize: vertical; padding: .75rem; border: 1px solid #a8b8aa; border-radius: .5rem; font: inherit; color: inherit; }
button:disabled { opacity: .55; }
#voice-status:empty { display: none; }
.bubble button { margin-top: .6rem; }
