:root {
  --navy: #172c46;
  --ink: #263b52;
  --muted: #72808e;
  --line: #e8ecef;
  --bg: #f8fafb;
  --blue: #eaf1f7;
  --sage: #edf3ed;
  --sand: #f8f0e3;
  --white: #fff;
  --accent: #365d77;
  --radius: 16px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--sans);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #98bbd7;
  outline-offset: 3px;
}
button {
  color: inherit;
}
svg {
  display: block;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.demo-banner {
  min-height: 34px;
  background: #edf1ec;
  border-bottom: 1px solid #dde5dc;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.25px;
  color: #4b665b;
}
.demo-banner > span:not(.demo-dot):before {
  content: "·";
  margin-right: 12px;
}
.demo-dot {
  width: 5px;
  height: 5px;
  background: #67896e;
  border-radius: 50%;
}
.app-shell {
  display: grid;
  grid-template-columns: 242px 1fr;
  min-height: calc(100vh - 34px);
}
.sidebar {
  background: white;
  border-right: 1px solid var(--line);
  padding: 36px 22px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: -0.6px;
}
.brand-mark {
  color: var(--navy);
}
.brand-mark svg {
  width: 34px;
  height: 38px;
  stroke: currentColor;
  stroke-width: 1.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand small {
  font-family: var(--sans);
  display: block;
  letter-spacing: 1.25px;
  font-size: 6.3px;
  color: var(--muted);
  margin-top: 5px;
}
.role-switch {
  display: flex;
  background: #f0f3f5;
  border-radius: 9px;
  padding: 4px;
  margin: 39px 0 28px;
  gap: 2px;
}
.role-switch button {
  width: 50%;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 3px;
  color: #78828c;
}
.role-switch button.active {
  background: white;
  color: var(--navy);
  box-shadow: 0 1px 4px #23344c13;
}
.sidebar-eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: #96a0aa;
  margin: 0 0 12px 13px;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  text-align: left;
  background: transparent;
  padding: 13px 15px;
  border-radius: 8px;
  color: #7b8794;
  font-size: 12px;
}
nav button.active {
  background: var(--blue);
  color: var(--navy);
  font-weight: 600;
}
nav button:hover:not(.active) {
  background: #f6f8fa;
}
nav .icon {
  width: 18px;
  height: 18px;
}
.nav-count {
  margin-left: auto;
  border-radius: 6px;
  min-width: 19px;
  font-size: 10px;
  padding: 1px 5px;
  background: white;
  text-align: center;
}
.sidebar-note {
  margin-top: 70px;
  padding: 20px 16px;
  background: #f7f6f2;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.small-sun {
  font-size: 26px;
  color: #b79b68;
}
.sidebar-note p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
  margin: 10px 0;
}
.sidebar-note > span:last-child {
  font-size: 10px;
  color: #8a8d88;
  line-height: 1.7;
}
.architecture-link {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6a7b8b;
  text-decoration: none;
  margin: 32px 12px 22px;
}
.profile {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: auto;
  display: flex;
  gap: 11px;
  align-items: center;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #edf1e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  color: #6b7a5f;
  flex-shrink: 0;
}
.profile strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.profile small {
  display: block;
  font-size: 10px;
  color: #939ba3;
  margin-top: 2px;
}
.profile-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #b7c3ad;
  margin-left: auto;
}
.main-column {
  min-width: 0;
}
.topbar {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
  border-bottom: 1px solid var(--line);
  background: #ffffff9c;
  font-size: 11px;
  color: #7a8793;
}
.topbar > div {
  display: flex;
  gap: 22px;
  align-items: center;
}
.demo-label {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #9ba3ab;
}
.icon-button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  position: relative;
}
.icon-button:hover {
  background: #edf2f6;
}
.notification-dot {
  position: absolute;
  right: 5px;
  top: 4px;
  width: 6px;
  height: 6px;
  border: 1px solid white;
  border-radius: 50%;
  background: #b39364;
}
.text-button {
  background: none;
  border: 0;
  font-size: 11px;
  color: #6c7b89;
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
main {
  padding: 39px 45px 30px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: calc(100vh - 167px);
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: #80909d;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 39px;
  line-height: 1.18;
  letter-spacing: -1.2px;
  color: var(--navy);
  margin: 0 0 12px;
}
.page-heading p:not(.eyebrow) {
  color: #85909a;
  font-size: 12px;
  margin: 0;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 11px 17px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  box-shadow: 0 4px 9px #172c4610;
}
.button.primary:hover {
  background: #28425f;
}
.button:hover {
  border-color: #c9d4dd;
}
.button.subtle {
  background: #f4f7f9;
  border-color: transparent;
}
.button.danger {
  color: #9c4949;
  border-color: #ead6d6;
}
.page-heading > .button {
  margin-bottom: 5px;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 23px;
}
.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 104px;
  display: flex;
  gap: 15px;
  padding: 23px 20px;
  align-items: center;
}
.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7894aa;
}
.stat-icon.sage {
  background: #eff3ec;
  color: #8c9b7d;
}
.stat-icon.sand {
  background: var(--sand);
  color: #b8a075;
}
.stat-value {
  font: 27px/1 var(--serif);
  letter-spacing: -0.5px;
}
.stat-value small {
  font: 10px var(--sans);
  color: #95a08d;
  letter-spacing: 0;
  margin-left: 6px;
}
.stat-label {
  font-size: 10px;
  color: #8a949f;
  margin-top: 7px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 23px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.panel-padding {
  padding: 23px;
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.panel h2,
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.3px;
  font-size: 20px;
  margin: 0;
  color: var(--navy);
}
.mini-label {
  font-size: 8px;
  color: #a0a6ad;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.panel-caption {
  font-size: 10px;
  color: #8c98a3;
  margin: 0;
}
.chart-panel {
  padding: 23px 23px 12px;
  margin-bottom: 29px;
}
.chart-wrap {
  position: relative;
  height: 149px;
  margin-top: 12px;
}
.mood-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-legend {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  color: #8c98a1;
  padding-top: 4px;
}
.chart-legend span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8da7bd;
}
.chart-empty {
  padding: 42px;
  text-align: center;
  color: #8c98a3;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 12px;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.filter-row button {
  font-size: 9px;
  color: #8c98a3;
  border: 0;
  background: transparent;
  border-radius: 5px;
  padding: 6px 9px;
}
.filter-row button.active {
  background: #eaf0f4;
  color: #405e76;
}
.entry-list {
  display: grid;
  gap: 11px;
}
.entry-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 20px 16px;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.entry-card:hover {
  border-color: #cdd9e2;
  box-shadow: 0 4px 14px #1d385409;
}
.entry-top {
  display: flex;
  gap: 13px;
  align-items: center;
}
.mood-symbol {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef3eb;
  color: #8a9c73;
  flex-shrink: 0;
}
.mood-symbol[data-mood="-1"],
.mood-symbol[data-mood="-2"] {
  background: #f6eddf;
  color: #b89b69;
}
.mood-symbol[data-mood="0"] {
  background: #ecf1f7;
  color: #88a0b6;
}
.entry-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.15px;
}
.entry-title button {
  text-align: left;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--navy);
}
.entry-date {
  font-size: 9px;
  color: #98a1aa;
  margin-top: 3px;
}
.entry-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  border-radius: 5px;
  padding: 4px 6px;
  white-space: nowrap;
  background: #f5f7f8;
  color: #939ea8;
}
.entry-status .icon {
  width: 10px;
  height: 10px;
}
.entry-status.shared {
  background: #eef3ed;
  color: #879878;
}
.entry-excerpt {
  font-size: 11px;
  color: #83909c;
  margin: 13px 0 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  background: #f3f6f8;
  color: #8997a3;
  border-radius: 4px;
  font-size: 8px;
  padding: 3px 7px;
}
.tag.followup {
  background: #faf0df;
  color: #a38a5c;
}
.entry-actions {
  display: flex;
  gap: 6px;
}
.entry-actions button {
  border: 0;
  background: transparent;
  font-size: 9px;
  color: #7b90a1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
}
.entry-actions .icon {
  width: 12px;
  height: 12px;
}
.right-stack {
  display: grid;
  gap: 20px;
}
.moment-card {
  background: #edf2f6;
  border: 1px solid #e2eaf0;
  border-radius: 14px;
  padding: 25px 22px;
  text-align: center;
  min-height: 252px;
}
.orbit-art {
  width: 110px;
  height: 86px;
  margin: 4px auto 12px;
  position: relative;
}
.orbit-art:before,
.orbit-art:after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid #b8cad6;
  left: 16px;
  top: 4px;
}
.orbit-art:after {
  transform: scale(0.7);
  border-style: dashed;
}
.orbit-art svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.moment-card .eyebrow {
  font-size: 8px;
  color: #829bac;
  letter-spacing: 1.4px;
}
.moment-card h2 {
  font: 25px/1.22 var(--serif);
  margin: 0 0 12px;
  color: #34506a;
}
.moment-card p {
  font-size: 10px;
  color: #8296a7;
  line-height: 1.7;
  margin: 0 0 18px;
}
.moment-card .button {
  background: #fff9;
  border: 1px solid #d2dfe8;
  color: #52728b;
  font-size: 10px;
}
.privacy-card {
  padding: 21px;
}
.privacy-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.privacy-heading .icon {
  width: 17px;
  height: 17px;
  color: #899b7c;
}
.privacy-heading h2 {
  font: 18px var(--serif);
}
.privacy-card p {
  font-size: 10px;
  line-height: 1.8;
  color: #8e99a2;
  margin: 0 0 14px;
}
.privacy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  padding-top: 11px;
  border-top: 1px solid #edf0f2;
  color: #8d9a88;
}
.privacy-row span:last-child {
  display: flex;
  align-items: center;
  gap: 4px;
}
.privacy-row .icon {
  width: 11px;
  height: 11px;
}
.quote-card {
  padding: 2px 13px;
}
.quote-mark {
  color: #c9d2d7;
  font: 40px/1 var(--serif);
}
.quote-card blockquote {
  font: italic 16px/1.6 var(--serif);
  color: #8995a0;
  margin: -9px 0 13px;
}
.quote-card p {
  font-size: 8px;
  color: #a3abb2;
  letter-spacing: 1px;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 45px 22px;
  font-size: 8px;
  color: #a3adb5;
}
.page-footer > span:last-child span {
  margin: 0 7px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  background: #f7f1e6;
  border: 1px solid #efe4d1;
  color: #95805b;
  border-radius: 9px;
  font-size: 10px;
  margin: 0 0 22px;
  line-height: 1.7;
}
.notice .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}
.empty-state {
  text-align: center;
  background: white;
  border: 1px dashed #dce3e8;
  border-radius: 12px;
  padding: 37px 20px;
  color: #8b97a2;
}
.empty-state h3 {
  font: 22px var(--serif);
  color: var(--navy);
  margin: 8px 0;
}
.empty-state p {
  font-size: 11px;
}
.empty-state .button {
  margin-top: 7px;
}
.wide-chart {
  height: 260px;
}
.trend-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
}
.summary-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.summary-list li {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 11px;
}
.summary-list li span {
  color: #8f9ca7;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  padding: 25px;
}
.resource-art {
  height: 110px;
  border-radius: 10px;
  background: #edf2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #819cb0;
}
.resource-art.sage {
  background: #eff3ec;
  color: #91a080;
}
.resource-art.sand {
  background: #f9f1e6;
  color: #b39a71;
}
.resource-art .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1;
}
.resource-card h2 {
  font-size: 24px;
  line-height: 1.2;
}
.resource-card p {
  font-size: 11px;
  color: #8b98a3;
  line-height: 1.8;
  margin: 12px 0 22px;
}
.resource-card .button {
  width: 100%;
}
.resource-footer {
  margin-top: 25px;
  font-size: 11px;
  color: #8d98a2;
  line-height: 1.8;
}
.message-layout {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 480px;
}
.conversation-list {
  border-right: 1px solid var(--line);
  padding: 18px;
}
.conversation-person {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #edf2f6;
  border-radius: 9px;
  padding: 12px;
}
.conversation-person strong {
  font-size: 11px;
}
.conversation-person small {
  display: block;
  font-size: 9px;
  color: #8b99a6;
  margin-top: 3px;
}
.conversation-note {
  font-size: 10px;
  line-height: 1.8;
  color: #97a2ac;
  margin: 22px 9px;
}
.message-thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.thread-header {
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.thread-header small {
  display: block;
  font-size: 9px;
  color: #96a1aa;
  margin-top: 3px;
}
.message-bubbles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  padding: 24px;
  max-height: 380px;
  overflow: auto;
  min-height: 250px;
}
.bubble {
  background: #f2f5f7;
  padding: 13px 16px;
  border-radius: 12px 12px 12px 3px;
  max-width: 85%;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bubble.mine {
  align-self: flex-end;
  background: #eaf0f5;
  border-radius: 12px 12px 3px 12px;
}
.bubble small {
  display: block;
  font-size: 8px;
  color: #92a0ac;
  margin-top: 7px;
}
.message-compose {
  margin-top: auto;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  gap: 12px;
}
.message-compose textarea {
  flex: 1;
  min-width: 0;
  height: 55px;
  resize: vertical;
  font-size: 11px;
}
.message-compose .button {
  height: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: block;
  margin-bottom: 17px;
}
.field > span,
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #607486;
  margin-bottom: 7px;
}
.field small {
  display: block;
  font-size: 10px;
  color: #94a0aa;
  margin-top: 5px;
}
.field input:not([type="range"]),
.field textarea,
.field select,
.message-compose textarea {
  display: block;
  width: 100%;
  border: 1px solid #dce4e9;
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: white;
  outline-offset: 2px;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.7;
}
.field input::placeholder,
.field textarea::placeholder,
.message-compose textarea::placeholder {
  color: #a3adb5;
}
.field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.mood-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.mood-options button {
  border: 1px solid var(--line);
  padding: 10px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 8px;
  font-size: 9px;
  color: #8a99a6;
}
.mood-options button.active {
  border-color: #89a4b9;
  background: #edf3f7;
  color: #4b6a83;
}
.mood-options .icon {
  width: 24px;
  height: 24px;
}
.mood-field {
  margin-bottom: 20px;
}
dialog {
  border: 1px solid #e1e7eb;
  border-radius: 17px;
  padding: 0;
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100dvh - 50px);
  box-shadow: 0 25px 100px #15273c33;
  color: var(--ink);
  overflow: auto;
}
dialog::backdrop {
  background: #162b4652;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 28px 0;
  gap: 12px;
}
.modal-head h2 {
  font: 28px/1.25 var(--serif);
  margin: 0;
  color: var(--navy);
}
.modal-head p {
  font-size: 11px;
  line-height: 1.7;
  color: #8b98a4;
  margin: 9px 0 0;
}
.modal-body {
  padding: 24px 28px;
}
.modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 18px 28px;
  flex-wrap: wrap;
}
.modal-footer > div {
  display: flex;
  gap: 9px;
}
.mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.mode-tabs button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  font-size: 11px;
}
.mode-tabs button.active {
  border-color: #91a7b9;
  background: #eef3f6;
}
.mode-tabs .icon {
  width: 16px;
  height: 16px;
}
.voice-box {
  border: 1px dashed #c8d6e1;
  border-radius: 10px;
  background: #f6f9fb;
  padding: 17px;
  margin-bottom: 17px;
  text-align: center;
}
.voice-box p {
  font-size: 10px;
  color: #8a9ba8;
}
.voice-box .button {
  margin: 5px;
}
.voice-box audio {
  width: 100%;
  height: 36px;
  margin: 10px 0;
}
.voice-warning {
  font-size: 10px;
  color: #a1804e;
  background: #faf2e4;
  padding: 10px;
  border-radius: 7px;
  text-align: left;
  line-height: 1.6;
}
.review-block {
  padding: 17px;
  background: #f5f8fa;
  border-radius: 9px;
  margin-bottom: 16px;
}
.review-block h3 {
  font: 21px var(--serif);
  margin: 0 0 10px;
}
.review-block p {
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #708293;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.review-grid dt {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #96a2ac;
  margin-bottom: 3px;
}
.review-grid dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.check-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px 0;
  cursor: pointer;
}
.check-row input {
  margin-top: 4px;
  accent-color: var(--navy);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.check-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.check-row small {
  display: block;
  font-size: 10px;
  color: #92a0aa;
  margin-top: 4px;
  line-height: 1.7;
}
.check-row + .check-row {
  border-top: 1px solid var(--line);
}
.sharing-person {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px;
  background: #f3f6f8;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 13px;
}
.sharing-person small {
  display: block;
  font-size: 9px;
  color: #8e9ba6;
  margin-top: 2px;
}
.sharing-warning {
  font-size: 10px;
  line-height: 1.7;
  color: #8796a3;
  margin-top: 15px;
}
.detail-text {
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #708293;
}
.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}
.detail-section h3 {
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #8c9aa7;
}
.redacted {
  font-size: 11px;
  color: #91a0ad;
  padding: 14px;
  background: #f5f7f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.redacted .icon {
  width: 14px;
  height: 14px;
}
.breathing-container {
  text-align: center;
  padding: 20px 0;
}
.breathing-circle {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5eef4;
  border: 1px solid #c9dbe7;
  border-radius: 50%;
  margin: 35px auto;
  color: #59778e;
  transition: transform 4s ease-in-out;
  font: 25px var(--serif);
}
.breathing-circle.expand {
  transform: scale(1.16);
}
.breathing-caption {
  font-size: 11px;
  color: #92a0aa;
}
.resource-steps {
  padding-left: 22px;
  margin: 0;
}
.resource-steps li {
  padding: 8px 0;
  color: #7f919f;
  font-size: 12px;
  line-height: 1.8;
}
.notification-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}
.notification-item p {
  margin: 3px 0;
  font-size: 10px;
  color: #91a0ac;
}
.error-text {
  font-size: 11px;
  color: #a25151;
  margin-top: 10px;
}
.privacy-points {
  font-size: 12px;
  color: #7c8e9d;
  line-height: 1.9;
  padding-left: 19px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: min(600px, 90vw);
  padding: 13px 20px;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  box-shadow: 0 6px 25px #182d4725;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
  text-align: center;
}
#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
.full-width {
  grid-column: 1/-1;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .main-column {
    background: var(--bg);
  }
}
@media (max-width: 1150px) {
  .app-shell {
    grid-template-columns: 214px 1fr;
  }
  .sidebar {
    padding: 30px 16px 20px;
  }
  .brand {
    font-size: 21px;
  }
  .brand small {
    font-size: 5.6px;
  }
  .brand-mark svg {
    width: 30px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 32px 28px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 225px;
    gap: 18px;
  }
  .overview-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 18px 14px;
    gap: 10px;
  }
  .stat-icon {
    width: 35px;
    height: 35px;
  }
  .stat-value {
    font-size: 24px;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .page-footer {
    padding: 15px 28px 22px;
  }
  .moment-card {
    padding: 20px 16px;
  }
  .resource-grid {
    gap: 14px;
  }
  .resource-card {
    padding: 19px;
  }
  .resource-card h2 {
    font-size: 22px;
  }
}
@media (max-width: 960px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .right-stack {
    grid-template-columns: 1fr 1fr;
  }
  .quote-card {
    display: none;
  }
  .moment-card {
    min-height: 0;
    text-align: left;
    position: relative;
    padding: 23px;
  }
  .moment-card .orbit-art {
    display: none;
  }
  .moment-card h2 {
    font-size: 23px;
  }
  .moment-card p {
    max-width: 210px;
  }
  .privacy-card {
    padding: 23px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .stat-value small {
    display: block;
    font-size: 8px;
    margin: 4px 0 0;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-art {
    height: 70px;
  }
  .resource-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 20px;
  }
  .resource-card .resource-art {
    grid-row: span 3;
    margin: 0;
  }
  .resource-card .button {
    grid-column: 2;
    width: max-content;
  }
  .resource-card p {
    margin: 8px 0 15px;
  }
  .trend-grid {
    grid-template-columns: 1fr;
  }
  .message-layout {
    grid-template-columns: 1fr;
  }
  .conversation-list {
    display: none;
  }
  .demo-label {
    display: none;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat-card {
    min-height: 98px;
  }
}
@media (max-width: 700px) {
  .demo-banner {
    font-size: 8px;
    gap: 8px;
    padding: 7px 9px;
    flex-wrap: wrap;
    min-height: 32px;
  }
  .demo-banner > span:not(.demo-dot):before {
    margin-right: 8px;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    display: block;
    padding: 18px 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 23px;
    width: max-content;
  }
  .brand small {
    font-size: 6px;
  }
  .role-switch {
    position: absolute;
    right: 18px;
    top: 53px;
    margin: 0;
    width: 172px;
  }
  .sidebar-eyebrow,
  .sidebar-note,
  .profile,
  .architecture-link {
    display: none;
  }
  nav {
    display: flex;
    margin: 20px -5px 0;
    gap: 0;
  }
  nav button {
    flex: 1;
    justify-content: center;
    gap: 7px;
    font-size: 10px;
    padding: 12px 5px;
    border-radius: 7px 7px 0 0;
  }
  nav .icon {
    width: 16px;
    height: 16px;
  }
  .nav-count {
    display: none;
  }
  .topbar {
    height: 51px;
    padding: 0 21px;
    font-size: 10px;
  }
  .topbar > div {
    gap: 13px;
  }
  .reset-button {
    font-size: 10px;
  }
  main {
    padding: 27px 20px 22px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 31px;
    letter-spacing: -0.8px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 10px;
    max-width: 230px;
  }
  .page-heading > .button {
    padding: 10px 11px;
    margin-top: 27px;
    font-size: 10px;
    gap: 5px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .overview-grid {
    gap: 9px;
    margin-bottom: 17px;
  }
  .stat-card {
    display: block;
    padding: 13px 12px;
    min-height: 119px;
  }
  .stat-icon {
    height: 25px;
    width: 25px;
    border-radius: 7px;
    margin-bottom: 11px;
  }
  .stat-icon .icon {
    width: 15px;
    height: 15px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-value small {
    display: inline;
    font-size: 8px;
    margin-left: 3px;
  }
  .stat-label {
    font-size: 8px;
    margin-top: 6px;
  }
  .chart-panel {
    padding: 19px 16px 12px;
    margin-bottom: 24px;
  }
  .panel h2,
  .section-heading h2 {
    font-size: 19px;
  }
  .panel-caption {
    font-size: 9px;
  }
  .chart-wrap {
    height: 139px;
  }
  .mini-label {
    font-size: 7px;
  }
  .entry-card {
    padding: 17px 16px 13px;
  }
  .entry-title {
    font-size: 18px;
  }
  .entry-excerpt {
    font-size: 10px;
  }
  .entry-date {
    font-size: 8px;
  }
  .entry-status {
    font-size: 7px;
  }
  .entry-top {
    gap: 10px;
  }
  .mood-symbol {
    width: 32px;
    height: 32px;
  }
  .entry-actions button {
    font-size: 9px;
  }
  .filter-row button {
    font-size: 8px;
    padding: 5px 7px;
  }
  .section-heading {
    margin-bottom: 12px;
  }
  .right-stack {
    gap: 13px;
    margin-top: 2px;
  }
  .moment-card {
    padding: 20px 16px;
  }
  .moment-card h2 {
    font-size: 22px;
  }
  .moment-card p {
    font-size: 9px;
  }
  .moment-card .button {
    padding: 9px 10px;
    font-size: 9px;
  }
  .privacy-card {
    padding: 19px 16px;
  }
  .privacy-heading {
    gap: 6px;
  }
  .privacy-heading h2 {
    font-size: 17px;
  }
  .privacy-card p {
    font-size: 9px;
  }
  .privacy-row {
    font-size: 8px;
    gap: 7px;
  }
  .page-footer {
    padding: 15px 20px 20px;
    font-size: 7px;
    flex-wrap: wrap;
    gap: 7px;
  }
  .wide-chart {
    height: 210px;
  }
  .resource-card {
    padding: 21px 18px;
  }
  .message-bubbles {
    padding: 20px 16px;
  }
  .message-compose {
    padding: 14px 16px;
  }
  .modal-head {
    padding: 23px 21px 0;
  }
  .modal-head h2 {
    font-size: 25px;
  }
  .modal-body {
    padding: 21px;
  }
  .modal-footer {
    padding: 17px 21px;
  }
  .form-grid {
    gap: 12px;
  }
  .review-grid {
    gap: 13px;
  }
  .notification-item {
    align-items: flex-start;
  }
  .notice {
    font-size: 9px;
    padding: 12px;
  }
  .mood-options button {
    font-size: 8px;
  }
  .button {
    padding: 10px 13px;
  }
}
@media (max-width: 390px) {
  .brand {
    font-size: 20px;
    gap: 6px;
  }
  .brand small {
    font-size: 5px;
  }
  .brand-mark svg {
    width: 27px;
  }
  .role-switch {
    width: 153px;
    right: 12px;
  }
  .sidebar {
    padding: 17px 13px 0;
  }
  .role-switch button {
    font-size: 9px;
  }
  main {
    padding: 25px 15px 20px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading > .button {
    font-size: 9px;
    padding: 9px;
  }
  .right-stack {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 12px 10px;
  }
  .stat-value small {
    display: block;
    margin: 3px 0 0;
  }
  .entry-status .icon {
    display: none;
  }
  .entry-date {
    font-size: 7px;
  }
  .entry-actions button {
    font-size: 8px;
  }
  .entry-bottom {
    align-items: flex-start;
  }
  .demo-banner {
    gap: 5px;
    font-size: 7px;
  }
  .demo-banner > span:not(.demo-dot):before {
    margin-right: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .breathing-circle.expand {
    transform: none;
  }
}
@media print {
  .demo-banner,
  .sidebar,
  .topbar,
  .page-footer,
  .entry-actions,
  .button {
    display: none;
  }
  .app-shell {
    display: block;
  }
  main {
    padding: 0;
  }
  .panel,
  .entry-card {
    break-inside: avoid;
  }
  body {
    background: white;
  }
}

/* Keep small, functional copy readable against the quiet palette. */
.reflection-prompt-panel {
  margin-top: 22px;
}
.topbar,
.text-button,
.page-heading p:not(.eyebrow),
.stat-label,
.panel-caption,
.chart-legend,
.entry-date,
.entry-excerpt,
.entry-actions button,
.tag,
.mini-label,
.filter-row button,
.entry-status,
.privacy-card p,
.privacy-row,
.resource-card p,
.conversation-note,
.thread-header small,
.bubble small,
.field small,
.sharing-warning,
.sharing-person small,
.breathing-caption,
.resource-footer,
.entry-status.shared,
.moment-card p,
.moment-card .eyebrow,
.profile small,
.architecture-link {
  color: #617487;
}
.notice {
  color: #7a6440;
}
.tag.followup {
  color: #806437;
}
.privacy-row .text-button {
  color: #61765f;
}
.sidebar-note > span:last-child,
.quote-card blockquote,
.quote-card p,
.page-footer {
  color: #677886;
}
input::placeholder,
textarea::placeholder {
  color: #6c8090 !important;
}
.redacted {
  color: #64798a;
}
.voice-warning {
  color: #816031;
}
.notification-item p {
  color: #617487;
}
nav button {
  color: #637889;
}
.demo-label {
  color: #6c8192;
}
.stat-value small {
  color: #60734e;
}
