:root {
  --ink: #243d36;
  --muted: #687a71;
  --green: #246349;
  --line: #dee4dc;
  --paper: #f7f8f2;
  --white: #fffefa;
  --light: #edf2e8;
  --rose: #a5453f;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
label.upload-button {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #82ad8b;
  outline-offset: 3px;
}
a {
  color: var(--green);
}
.topbar {
  max-width: 1440px;
  margin: auto;
  height: 104px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 43px;
  letter-spacing: -3px;
}
.brand span {
  display: inline-block;
  font: 25px Georgia;
  margin-left: 4px;
  color: #679270;
  vertical-align: top;
  letter-spacing: 0;
  padding-top: 6px;
}
.tagline,
.muted {
  color: var(--muted);
}
.tagline {
  font-size: 13px;
}
.top-actions {
  margin-left: auto;
  display: flex;
  gap: 16px;
  align-items: center;
}
.pill {
  font-size: 11px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 30px;
  color: var(--muted);
}
main {
  max-width: 1328px;
  padding: 0 56px;
  margin: auto;
}
.welcome {
  padding: 77px 0 40px;
  max-width: 850px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 650;
  color: #70816f;
  margin: 0 0 24px;
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 76px;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -3px;
  margin: 0 0 26px;
}
h2 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 16px;
}
.intro {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 32px;
}
.connect-card {
  max-width: 610px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 14px;
}
.connect-card label,
form > label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 12px;
}
.input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
input,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
  color: var(--ink);
  min-width: 0;
}
input {
  width: 100%;
}
textarea {
  width: 100%;
  resize: vertical;
  line-height: 1.65;
}
.primary,
.secondary,
.upload-button {
  font-size: 12px;
  white-space: nowrap;
  border-radius: 7px;
  padding: 12px 16px;
  font-weight: 550;
}
.primary {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
}
.primary:hover {
  background: #1b5039;
}
.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.secondary:hover,
.upload-button:hover {
  background: var(--light);
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 4px 0;
  font-size: 12px;
}
.hint {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  margin: 12px 0 0;
}
code {
  font-size: 10px;
  background: var(--light);
  padding: 3px 5px;
  border-radius: 4px;
}
.welcome-notes {
  margin-top: 70px;
  display: flex;
  gap: 46px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.heading {
  padding-top: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.heading .eyebrow {
  margin-bottom: 12px;
}
.heading h1 {
  font-size: 44px;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 13px;
  color: var(--muted);
  font-size: 13px;
}
.tabs button.active {
  color: var(--ink);
  border-color: var(--green);
}
.today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr);
  gap: 30px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.composer label {
  font-family: Georgia, serif;
  font-size: 23px;
  letter-spacing: -0.4px;
  font-weight: 400;
  margin-bottom: 12px;
}
.composer textarea {
  border: 0;
  padding: 0;
  background: none;
  font-size: 14px;
  min-height: 130px;
  max-height: 430px;
}
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.voice-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.composer .upload-button {
  font:
    11px Inter,
    -apple-system,
    sans-serif;
  cursor: pointer;
  letter-spacing: 0;
  margin: 0;
  padding: 12px 8px;
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.conversation-column > .section-heading {
  margin-top: 30px;
}
.section-heading h2 {
  margin-bottom: 16px;
}
.small {
  font-size: 11px;
}
.right-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.focus-card {
  background: #e8eedf;
  border-radius: 12px;
  padding: 24px;
}
.focus-card .eyebrow {
  margin-bottom: 12px;
}
.focus-card h2 {
  font:
    27px/1.25 Georgia,
    serif;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.focus-card p {
  font-size: 13px;
  line-height: 1.6;
}
.focus-card p:last-child {
  margin-bottom: 0;
}
.counter {
  font-size: 11px;
  background: var(--light);
  border-radius: 20px;
  padding: 3px 8px;
}
.empty {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  padding: 10px 0;
  margin: 0;
}
.task,
.schedule,
.notification {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.task:last-child,
.schedule:last-child,
.notification:last-child {
  padding-bottom: 0;
}
.task {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.task input {
  width: 16px;
  height: 16px;
  margin: 1px 0;
  accent-color: var(--green);
  flex-shrink: 0;
}
.task label {
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
.task time {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.task.done label {
  text-decoration: line-through;
  color: var(--muted);
}
.schedule h3,
.notification h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 0 0 6px;
}
.schedule p,
.notification p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 6px;
}
.message {
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--white);
}
.message.user {
  margin-left: 40px;
  background: transparent;
}
.message .message-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 9px;
}
.message .message-text {
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message .status {
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.memory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.memory-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-wrap: anywhere;
}
.memory-card .eyebrow {
  margin: 0;
}
.memory-card p {
  font:
    19px/1.5 Georgia,
    serif;
  margin: 0;
}
.evidence {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  border-left: 2px solid var(--line);
  padding-left: 10px;
  margin-top: auto;
}
.card-actions {
  display: flex;
  gap: 18px;
}
.history-tools {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.history-tools form {
  flex: 1;
}
.history-tools input[type='date'] {
  width: 155px;
}
#history-results {
  max-width: 850px;
}
.result {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.result .eyebrow {
  margin-bottom: 8px;
}
.result p {
  font-size: 14px;
  line-height: 1.7;
}
.capabilities {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 24px;
}
.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.activity-row {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.activity-row .muted {
  font-size: 11px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  margin-top: 50px;
  padding: 22px 0 35px;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 8px;
  max-width: 90vw;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 8px 30px #243d3620;
  z-index: 10;
}
#notice.error {
  background: #803e39;
}
dialog {
  width: 500px;
  max-width: 92vw;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 28px;
  color: var(--ink);
}
dialog::backdrop {
  background: #243d3650;
  backdrop-filter: blur(3px);
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.attachment-heading {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 12px;
  margin: 12px 0;
}
audio {
  width: 100%;
  height: 36px;
}
#schedule-form {
  padding-bottom: 20px;
}
#schedule-form label {
  margin: 12px 0 6px;
  font-size: 11px;
}
#schedule-form button {
  margin-top: 10px;
}
#record.recording {
  color: var(--rose);
  border-color: var(--rose);
  background: #fff0ed;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .topbar {
    padding: 0 30px;
  }
  main {
    padding: 0 30px;
  }
  .today-grid {
    gap: 20px;
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr);
  }
  .memory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .history-tools {
    flex-direction: column;
  }
  .composer-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .composer-footer > .primary {
    align-self: flex-end;
  }
}
@media (max-width: 720px) {
  .topbar {
    height: 78px;
    padding: 0 22px;
  }
  .tagline {
    display: none;
  }
  main {
    padding: 0 22px;
  }
  .brand {
    font-size: 36px;
  }
  .welcome {
    padding-top: 55px;
  }
  h1 {
    font-size: 56px;
    letter-spacing: -2px;
  }
  .intro {
    font-size: 15px;
  }
  .connect-card {
    padding: 18px;
  }
  .welcome-notes {
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
  }
  .input-row {
    flex-wrap: wrap;
  }
  .connect-card .input-row input {
    flex: 1;
    min-width: 150px;
  }
  .today-grid,
  .activity-grid,
  .memory-grid {
    grid-template-columns: 1fr;
  }
  .right-column {
    margin-top: 8px;
  }
  .heading {
    padding-top: 30px;
  }
  .heading h1 {
    font-size: 35px;
  }
  .tabs {
    gap: 27px;
  }
  .message.user {
    margin-left: 20px;
  }
  .composer-footer {
    flex-direction: row;
    align-items: center;
  }
  .voice-actions {
    gap: 0;
  }
  .primary,
  .secondary {
    padding: 11px 13px;
  }
  .panel {
    padding: 19px;
  }
  .section-heading .small {
    display: none;
  }
  .history-tools .input-row input {
    flex: 1;
  }
  .history-tools input[type='date'] {
    width: 130px;
  }
  .top-actions {
    gap: 10px;
  }
  .pill {
    font-size: 9px;
    padding: 7px 9px;
  }
  footer {
    font-size: 9px;
  }
  .greeting {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background-color 0.15s ease,
      color 0.15s ease;
  }
  .view {
    animation: appear 0.2s ease;
  }
  @keyframes appear {
    from {
      opacity: 0.6;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
