:root {
  color-scheme: light;
  --paper: #faf9f6;
  --panel: #f0f0e9;
  --soft: #e5e9e4;
  --ink: #233b35;
  --muted: #60716b;
  --line: #d6ddd4;
  --accent: #275c46;
  --hover: #1b4533;
  --error: #a12d2d;
  --white: #fff;
  --radius: 16px;
  font:
    16px/1.6 ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 44px;
  padding: 9px 17px;
  background: var(--white);
  color: var(--ink);
  transition: background 0.15s;
}
button:hover {
  background: var(--panel);
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  color: var(--hover);
}
:focus-visible {
  outline: 3px solid #6b8051;
  outline-offset: 4px;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
textarea,
select {
  width: 100%;
  display: block;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
}
small,
.fine {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.build-info {
  color: var(--muted);
  font-size: 12px;
}
.build-info summary {
  cursor: pointer;
  font-weight: 600;
  width: fit-content;
}
.build-info dl {
  border-left: 2px solid var(--line);
  margin: 10px 0 0 3px;
  padding-left: 10px;
}
.build-info dt {
  color: var(--muted);
  font-size: 11px;
}
.build-info dd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  margin: 2px 0 8px;
  overflow-wrap: anywhere;
}
.sidebar-build-info {
  flex: 0 0 auto;
}
label small {
  display: block;
  margin-top: 5px;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.primary:hover {
  background: var(--hover);
}
.quiet {
  background: transparent;
  border-color: transparent;
}
.error {
  color: var(--error);
  white-space: pre-wrap;
}
.error:empty {
  display: none;
}
.muted {
  color: var(--muted);
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-family: ui-serif, Georgia, "Songti SC", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.35;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.eyebrow {
  letter-spacing: 0.19em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--white);
  border-radius: 12px;
  font-family: Georgia, serif;
}
.skip {
  position: absolute;
  left: 10px;
  top: -80px;
  z-index: 20;
  padding: 10px;
  background: var(--white);
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.auth-story {
  background: var(--panel);
  min-height: 100vh;
  padding: 48px 9%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-story h1 {
  font-size: clamp(34px, 4vw, 58px);
}
.auth-story > div {
  padding: 70px 0;
}
.auth-story p:not(.eyebrow) {
  color: var(--muted);
}
#auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 48px 35px;
}
.auth-card {
  width: 100%;
  max-width: 380px;
}
.auth-card h1 {
  font-size: 30px;
}
.auth-card > p {
  color: var(--muted);
}
#auth-submit {
  width: 100%;
}
.register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 16px;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin: 22px 0 35px;
}
#boot {
  padding: 40px;
}
#workspace {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  height: 100dvh;
  position: sticky;
  top: 0;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 27px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.sidebar > .primary {
  width: 100%;
}
.nav {
  display: grid;
  gap: 4px;
}
.nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
}
.nav a[aria-current="page"] {
  background: #e0e7db;
  color: var(--ink);
  font-weight: 600;
}
.history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.history-head h2 {
  font-size: 13px;
  margin: 0;
}
.history-head span {
  font-size: 11px;
  color: var(--muted);
}
.topic-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}
.topic-search input,
.topic-search button {
  min-height: 40px;
  margin: 0;
}
#topics {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  border-radius: 9px;
}
#topics .topic-open {
  display: block;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  background: none;
  border: none;
  font-size: 14px;
  padding: 10px;
}
#topics .topic-open[aria-current="true"] {
  background: #e0e7db;
}
#topics .topic-action {
  width: auto;
  padding: 8px 4px;
  font-size: 11px;
}
.danger {
  color: #8d2d24;
}
.identity {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.identity > div {
  min-width: 0;
  flex: 1;
}
.identity strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}
.identity small {
  display: block;
  font-size: 11px;
}
.identity button {
  padding: 4px 6px;
  font-size: 13px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dce4d4;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  font-size: 14px;
}
.private-badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px 12px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
#global-status {
  max-width: 360px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-trigger {
  min-height: 44px;
  padding: 5px 10px;
  font-size: 12px;
}
.view {
  max-width: 850px;
  margin: auto;
  padding: 38px;
}
.global-error {
  margin: 20px 38px;
}
#chat-view {
  min-height: calc(100dvh - 79px);
  display: flex;
  flex-direction: column;
}
#welcome {
  margin: auto 0;
  padding: 52px 0 70px;
}
#welcome p:not(.eyebrow) {
  color: var(--muted);
  max-width: 480px;
}
.suggestions {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}
.suggestions button {
  display: flex;
  justify-content: space-between;
  text-align: left;
  flex: 1;
  padding: 18px;
  border-radius: var(--radius);
  font-size: 14px;
}
.suggestions span {
  color: var(--muted);
  margin-left: 15px;
}
#transcript {
  flex: 1;
  overflow-wrap: anywhere;
}
.message {
  display: grid;
  gap: 5px;
  max-width: min(82%, 760px);
  margin-bottom: 28px;
}
.message.user {
  justify-items: end;
  margin-left: auto;
}
.message.assistant {
  justify-items: start;
  margin-right: auto;
}
.message h2 {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.route-chip {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #dcebdd;
  color: #285536;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.route-chip.work {
  background: #e9e2d4;
  color: #69542f;
}
.message .bubble {
  min-width: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px 15px 15px;
  background: var(--panel);
  overflow-wrap: anywhere;
}
.message .body {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.message.user .body {
  white-space: pre-wrap;
}
.message .body > :first-child {
  margin-top: 0;
}
.message .body > :last-child {
  margin-bottom: 0;
}
.message .body h1,
.message .body h2,
.message .body h3,
.message .body h4,
.message .body h5,
.message .body h6 {
  margin: 1em 0 0.45em;
  color: var(--ink);
  font-size: 1.08em;
}
.message .body p,
.message .body ul,
.message .body ol {
  margin: 0.55em 0;
}
.message .body pre,
.message .body code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.message .body pre {
  max-width: min(760px, calc(100vw - 92px));
  overflow: auto;
  padding: 12px;
  border-radius: 8px;
  background: #18201d;
  color: #f5f7f6;
  white-space: pre;
}
.message .body :not(pre) > code {
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: var(--soft);
}
.table-scroll {
  max-width: min(760px, calc(100vw - 92px));
  overflow-x: auto;
}
.message .body table {
  width: 100%;
  border-collapse: collapse;
}
.message .body th,
.message .body td {
  padding: 7px 9px;
  border: 1px solid var(--line);
  text-align: left;
}
.answer-sources {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.answer-sources h3 {
  margin: 0 0 8px !important;
}
.answer-sources ol {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}
.answer-sources li > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.answer-sources li p {
  color: var(--muted);
  font-size: 12px;
}
.citation-ref {
  font-size: 0.78em;
  vertical-align: super;
}
.message.user .bubble {
  border-color: var(--accent);
  border-radius: 15px 5px 15px 15px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 7px 18px #275c4625;
}
.tool-stack {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
}
.tool-stack:empty,
.message-runtime:empty {
  display: none;
}
.tool-card {
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  font-size: 12px;
}
.tool-card.failed {
  border-color: #c98e85;
}
.tool-card summary {
  cursor: pointer;
  padding: 8px 11px;
  color: var(--muted);
}
.tool-card pre {
  margin: 0;
  border-radius: 0 0 9px 9px;
  border-top: 1px solid var(--line);
  padding: 10px 11px;
  font-size: 11px;
}
.message-runtime {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}
.message-runtime span + span {
  padding-left: 7px;
  border-left: 1px solid var(--line);
}
.message-actions,
.action-row,
#document-version-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.message-actions {
  margin-top: 8px;
}
.message-actions a,
.action-row a,
.generated-documents a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
}
#document-version-context {
  justify-content: space-between;
  margin: 0 0 8px;
}
.chat-media {
  width: min(100%, 720px);
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.chat-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #f4f6f1;
}
.chat-media figcaption {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.chat-media.unavailable::before {
  display: block;
  padding: 18px 12px 4px;
  color: var(--muted);
  content: "图片暂时无法加载";
}
.stream-status {
  font-size: 13px;
  color: var(--muted);
  min-height: 30px;
  margin: 8px 0;
}
.stream-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.stream-status span {
  margin-right: auto;
}
#composer {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 13px 12px;
  border-radius: var(--radius);
  box-shadow: 0 5px 22px #233b3506;
}
#message {
  border: none;
  resize: vertical;
  min-height: 95px;
  max-height: 280px;
  margin: 0;
  box-shadow: none;
}
.attachment-picker {
  padding: 8px 10px;
  border-top: 1px solid var(--line);
}
.attachment-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
}
.attachment-picker > small {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-weight: 400;
}
.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.attachment-item,
.message-attachment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--ink);
  font-size: 12px;
}
.attachment-item span,
.message-attachment span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-item button {
  min-width: 44px;
  min-height: 44px;
  padding: 5px 9px;
}
.message-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}
#attachments-status {
  min-height: 1.5em;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.composer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 3px 0 0 10px;
}
.composer-options {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.reasoning-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.reasoning-control select {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 5px 28px 5px 9px;
  font-size: 12px;
}
#reasoning-status {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.disclaimer {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 13px 0 0;
}
.content-view {
  max-width: 900px;
  padding-top: 54px;
}
.search {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 30px;
}
.search label {
  margin-bottom: 0;
}
.search label:nth-child(2) {
  flex: 1;
}
.notice {
  background: var(--panel);
  border-radius: 9px;
  padding: 15px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
.asset-row,
.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.asset-row button {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}
.session-row small {
  display: block;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  background: var(--panel);
  padding: 20px;
  border-radius: 9px;
}
.settings-card {
  margin-top: 30px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.settings-card form {
  max-width: 440px;
}
.memory-filter {
  display: grid;
  grid-template-columns: minmax(130px, 0.6fr) minmax(180px, 1fr) auto;
  align-items: end;
  gap: 8px 12px;
  max-width: none !important;
}
.memory-filter label {
  grid-row: 1;
}
.memory-filter select,
.memory-filter input,
.memory-filter button {
  grid-row: 2;
  margin: 0;
}
.memory-record {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.memory-record h3 {
  overflow-wrap: anywhere;
}
.memory-record textarea {
  width: 100%;
}
.memory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.profile-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.profile-summary-card h2,
.profile-summary-card p {
  margin-bottom: 5px;
}
.profile-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(880px, calc(100dvh - 32px));
  margin: auto;
  padding: 28px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 80px #233b3540;
}
.profile-dialog::backdrop {
  background: #233b356e;
}
.profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.profile-heading .eyebrow {
  margin-bottom: 8px;
}
.profile-heading h1 {
  margin-bottom: 5px;
  font-size: 30px;
}
.profile-heading p:last-child {
  color: var(--muted);
}
.close-button {
  flex: 0 0 auto;
  width: 44px;
  padding: 0;
  font-size: 25px;
  line-height: 1;
}
.profile-optional,
.profile-privacy {
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.profile-grid .full {
  grid-column: 1 / -1;
}
.profile-grid label > small {
  display: inline;
  margin-left: 5px;
}
#profile-notes-help {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-left: 0;
}
.profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
dl {
  font-size: 14px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 3px 0 16px;
  overflow-wrap: anywhere;
}
#asset-detail {
  margin-top: 35px;
}
@media (max-width: 800px) {
  #workspace {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding: 22px 14px;
  }
  .view {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  #global-status {
    display: none;
  }
  .history-head span {
    display: none;
  }
  .auth-story {
    padding: 35px;
  }
}
@media (max-width: 600px) {
  #auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: 0;
    padding: 22px;
  }
  .auth-story > div,
  .auth-story > .fine {
    display: none;
  }
  .auth-panel {
    padding: 32px 24px;
  }
  #workspace {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 18px;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar > .brand {
    font-size: 20px;
  }
  .sidebar > .primary {
    width: auto;
    position: absolute;
    top: 18px;
    right: 18px;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    gap: 6px;
  }
  .nav a {
    padding: 8px 10px;
    font-size: 14px;
  }
  .history-head {
    display: none;
  }
  .topic-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  #topics {
    display: flex;
    gap: 8px;
    max-height: 60px;
    overflow-x: auto;
    flex: auto;
  }
  .topic-row {
    display: flex;
    flex: 0 0 auto;
  }
  #topics .topic-open {
    width: auto;
    max-width: 190px;
    flex-shrink: 0;
  }
  .identity {
    display: none;
  }
  .topbar {
    height: 55px;
    padding: 0 22px;
  }
  .view {
    padding: 24px 20px;
  }
  #chat-view {
    min-height: calc(100dvh - 230px);
  }
  #welcome {
    padding: 30px 0 45px;
  }
  .suggestions {
    flex-direction: column;
  }
  .message {
    max-width: 92%;
    margin-bottom: 20px;
  }
  .content-view {
    padding-top: 35px;
  }
  .search {
    flex-wrap: wrap;
  }
  .search label:nth-child(2) {
    min-width: 160px;
  }
  .settings-card {
    padding: 20px;
  }
  .memory-filter {
    display: block;
  }
  .memory-filter button {
    margin-top: 10px;
  }
  .profile-summary-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .profile-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 20px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid .full {
    grid-column: auto;
  }
  .profile-actions > button {
    flex: 1;
  }
  .composer-bottom small {
    font-size: 11px;
  }
  .composer-bottom {
    align-items: flex-end;
  }
  .composer-options {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .attachment-picker > small {
    display: block;
    margin: 6px 0 0;
  }
  #reasoning-status {
    max-width: 120px;
  }
  .session-row {
    align-items: start;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 601px) {
  #chat-view {
    height: calc(100dvh - 79px);
  }
  #transcript {
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
}

#schedule-history {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
}
#schedule-list section {
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid #d3dcd1;
}
#schedule-list button,
#schedule-list a {
  margin-right: 0.5rem;
}

.memory-saved-notice {
  margin-block: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-inline-start: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.memory-saved-notice p { margin: 0; }
.memory-saved-notice a { display: inline-flex; align-items: center; min-height: 44px; }
