:root {
  --paper:#f1e9d8;
  --white:#f5eedf;
  --porcelain:#e8dec8;
  --ink:#3a3124;
  --muted:#7c694e;
  --border:#dbceb3;
  --accent:#8c795b;
  --accent-dark:#816e51;
  --accent-wash:#e1d5bc;
  --sage:#78654a;
  --sidebar:228px;
  font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  font-size:13px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

button,input,textarea,select {
  font:inherit;
}

button,a,input,textarea,select {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button {
  color:inherit;
}

button:disabled {
  cursor:wait;
  opacity:.55;
}

a {
  color:inherit;
  text-decoration:none;
}

button,select,input,textarea {
  outline:none;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #a89675;
  outline-offset:4px;
}

button {
  background:none;
  border:0;
}

svg.icon {
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
  vertical-align:middle;
}

h1,h2,h3,p {
  margin:0;
}

h1 {
  font-size:34px;
  line-height:1.3;
  letter-spacing:-1.4px;
  font-weight:600;
}

h2 {
  font-size:17px;
  letter-spacing:-.5px;
  font-weight:650;
}

h3 {
  font-size:14px;
  font-weight:650;
  letter-spacing:-.2px;
}

small {
  font-size:11px;
}

strong {
  font-weight:650;
}

.muted {
  color:var(--muted);
}

.skip-link {
  position:fixed;
  top:-70px;
  left:12px;
  z-index:99;
  background:var(--ink);
  color:white;
  padding:10px 18px;
}

.skip-link:focus {
  top:12px;
}

.sidebar {
  width:var(--sidebar);
  position:fixed;
  inset:0 auto 0 0;
  background:#ebe2ce;
  border-right:1px solid var(--border);
  padding:34px 20px 18px;
  display:flex;
  flex-direction:column;
  z-index:20;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 10px;
  font-size:20px;
  font-weight:750;
  letter-spacing:-.85px;
  line-height:1.05;
}

.brand-second {
  display:block;
  font-size:18px;
  font-weight:500;
  letter-spacing:-.4px;
  margin-top:3px;
}

.brand-mark {
  display:grid;
  place-items:center;
  width:37px;
  height:43px;
  color:var(--accent);
}

.brand-mark .icon {
  width:34px;
  height:38px;
  stroke-width:1.35;
}

.workspace-label {
  font-size:10px;
  color:#8d7a5c;
  margin:49px 13px 13px;
  font-weight:550;
}

.primary-nav {
  display:flex;
  flex-direction:column;
  gap:6px;
}

.primary-nav a {
  padding:11px 13px;
  display:flex;
  align-items:center;
  gap:12px;
  border-radius:7px;
  color:#7d6a4e;
  font-size:12px;
  font-weight:550;
  white-space:nowrap;
  transition:background .15s,color .15s;
}

.primary-nav a:hover {
  background:#e0d3b9;
  color:var(--ink);
}

.primary-nav a.active {
  background:#ddd0b5;
  color:#826f53;
}

.primary-nav .icon {
  width:17px;
  height:17px;
}

.nav-dot {
  width:5px;
  height:5px;
  background:#9c896a;
  border-radius:50%;
  margin-left:auto;
}

.sidebar-bottom {
  margin-top:auto;
  padding-top:70px;
}

.sidebar-thought {
  padding:0 14px 30px;
  color:#8e7b5d;
}

.sidebar-thought .icon {
  width:25px;
  height:25px;
  color:#9e8b6c;
  margin-bottom:11px;
  stroke-width:1;
}

.sidebar-thought p {
  font-size:12px;
  line-height:1.9;
}

.upgrade-box {
  padding:17px 14px 14px;
  border:1px solid #d5c7aa;
  border-radius:9px;
  text-align:left;
  width:100%;
  background:#e3d7bf;
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#826f52;
  font-size:10px;
}

.upgrade-heading {
  font-size:11px;
  color:#6a5941;
  font-weight:650;
  display:flex;
  gap:7px;
  align-items:center;
}

.upgrade-heading .icon {
  width:15px;
  height:15px;
}

.upgrade-link {
  color:var(--accent-dark);
  font-weight:650;
  display:flex;
  justify-content:space-between;
  margin-top:9px;
  padding-top:10px;
  border-top:1px solid #d3c4a6;
}

.upgrade-link .icon {
  width:14px;
  height:14px;
}

.settings-link {
  font-size:11px;
  color:#837053;
  display:flex;
  align-items:center;
  gap:10px;
  margin:24px 9px 20px;
  padding:0;
}

.settings-link .icon {
  width:16px;
  height:16px;
}

.profile-button {
  border-top:1px solid var(--border);
  padding:18px 8px 0;
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  text-align:left;
}

.avatar {
  display:grid;
  place-items:center;
  background:#d7c9ac;
  color:#78654a;
  width:32px;
  height:32px;
  border-radius:50%;
  font-size:12px;
  font-weight:650;
}

.profile-button strong {
  display:block;
  font-size:11px;
}

.profile-button small {
  display:block;
  color:#8e7b5d;
  font-size:10px;
}

.profile-button>.icon {
  margin-left:auto;
  width:12px;
  color:#8e7b5d;
}

.workspace {
  margin-left:var(--sidebar);
  min-height:100vh;
}

.topbar {
  height:76px;
  padding:0 43px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#f5eedf;
}

.breadcrumb {
  display:flex;
  align-items:center;
  gap:12px;
  color:#8a7759;
  font-size:11px;
}

.breadcrumb>.icon {
  width:16px;
  height:16px;
  color:#968364;
}

.breadcrumb-divider {
  margin:0 3px;
  color:#c2b08f;
}

.breadcrumb span:last-child {
  color:#685840;
}

.topbar-actions {
  display:flex;
  align-items:center;
  gap:22px;
}

.save-status {
  font-size:10px;
  color:#897659;
  display:flex;
  align-items:center;
  gap:7px;
}

.save-status i {
  height:5px;
  width:5px;
  border-radius:50%;
  background:#8f7c5e;
}

.icon-button {
  display:inline-grid;
  place-items:center;
  border-radius:6px;
  padding:6px;
  color:#877457;
}

.icon-button:hover {
  background:var(--porcelain);
  color:var(--ink);
}

.icon-button .icon {
  width:17px;
  height:17px;
}

main {
  max-width:1510px;
  margin:0 auto;
  padding:38px 43px 32px;
  outline:none;
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:28px;
  gap:20px;
}

.heading-copy p {
  color:#867356;
  font-size:12px;
  margin-top:9px;
}

.heading-actions {
  display:flex;
  gap:9px;
  align-items:center;
}

.button {
  border:1px solid #d1c2a3;
  border-radius:7px;
  padding:10px 15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:11px;
  font-weight:600;
  background:#f5eedf;
  white-space:nowrap;
  min-height:37px;
  transition:background .15s;
}

.button:hover {
  background:var(--porcelain);
}

.button .icon {
  height:15px;
  width:15px;
}

.button-primary {
  background:var(--accent);
  border-color:var(--accent);
  color:#f5eedf;
  box-shadow:0 2px 3px #63533d0a;
}

.button-primary:hover {
  background:var(--accent-dark);
  border-color:var(--accent-dark);
}

.button-dark {
  background:var(--ink);
  border-color:var(--ink);
  color:white;
}

.button-dark:hover {
  background:#493d2d;
}

.button-quiet {
  border:0;
  background:transparent;
  color:var(--accent);
  padding-left:0;
  padding-right:0;
}

.button-quiet:hover {
  background:transparent;
  color:var(--accent-dark);
}

.button-block {
  width:100%;
}

.dashboard {
  display:grid;
  grid-template-columns:minmax(0,1fr) 286px;
  gap:23px;
  align-items:start;
}

.main-column {
  min-width:0;
}

.panel {
  border:1px solid var(--border);
  background:#f5eedf;
  border-radius:11px;
}

.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.panel-subtitle {
  font-size:11px;
  color:#8e7b5d;
  margin-top:5px;
}

.life-panel {
  padding:24px 25px 18px;
}

.life-panel .panel-heading h2 {
  font-size:16px;
}

.map-actions {
  display:flex;
  align-items:center;
  gap:8px;
}

.sample-badge {
  font-size:9px;
  background:#e7dcc6;
  color:#897659;
  border:1px solid #dbcdb2;
  padding:3px 8px;
  border-radius:4px;
  white-space:nowrap;
}

.segmented {
  display:flex;
  gap:2px;
  background:#e8dec8;
  padding:3px;
  border-radius:6px;
}

.segmented button {
  font-size:10px;
  color:#887558;
  padding:5px 11px;
  border-radius:4px;
  font-weight:550;
}

.segmented button.selected {
  background:#f5eedf;
  color:#5a4b37;
  box-shadow:0 1px 3px #39302412;
}

.life-stats {
  display:flex;
  gap:27px;
  padding:23px 0 20px;
  margin-top:3px;
  align-items:center;
}

.life-stat {
  padding-right:26px;
  border-right:1px solid var(--border);
}

.life-stat:last-child {
  border:0;
  padding:0;
}

.life-stat strong {
  font-size:27px;
  line-height:1.2;
  font-weight:550;
  letter-spacing:-1px;
  font-variant-numeric:tabular-nums;
}

.life-stat small {
  display:flex;
  align-items:center;
  gap:5px;
  color:#8d7a5c;
  font-size:10px;
  margin-top:5px;
}

.mini-dot {
  display:inline-block;
  width:5px;
  height:5px;
  border-radius:1px;
  background:#8b785a;
}

.mini-dot.future {
  background:#d4c5a8;
}

.mini-dot.current {
  background:var(--accent);
}

.life-stat:last-child strong {
  font-size:21px;
  color:var(--accent);
  letter-spacing:-.6px;
}

.map-shell {
  position:relative;
  padding:0 1px;
}

.map-axis {
  display:flex;
  justify-content:space-between;
  color:#998667;
  font-size:9px;
  margin:0 0 11px 23px;
}

.map-axis span:last-child {
  position:relative;
  right:-2px;
}

.map-body {
  display:flex;
  gap:12px;
}

.week-axis {
  width:11px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  font-size:8px;
  color:#9d8a6b;
  padding:0 0 2px;
}

.life-grid {
  display:grid;
  grid-template-columns:repeat(var(--years),minmax(0,1fr));
  grid-template-rows:repeat(52,5px);
  gap:2.5px;
  flex:1;
  min-width:0;
  outline-offset:6px!important;
  position:relative;
}

.week-cell {
  padding:0;
  margin:0;
  min-width:0;
  background:#dfd2b8;
  border-radius:1px;
  position:relative;
}

.week-cell.lived {
  background:#917e60;
}

.week-cell.current {
  background:#938062;
  box-shadow:0 0 0 2px #c0af8d;
  z-index:2;
}

.week-cell.recorded {
  background:#a39171;
}

.week-cell:hover,.week-cell:focus-visible {
  background:#8c795b;
  box-shadow:0 0 0 3px #c0af8d;
  z-index:4;
  outline:none;
}

.week-cell.current:after {
  content:'';
  position:absolute;
  inset:1px;
  background:#e2d6bd;
}

.life-grid[data-mode="reflections"] .week-cell.lived:not(.recorded) {
  background:#cfbfa0;
}

.map-callout {
  display:flex;
  gap:7px;
  align-items:center;
  font-size:10px;
  color:var(--accent-dark);
  margin:17px 0 0 23px;
}

.map-callout .mini-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#a29070;
  box-shadow:0 0 0 3px #e2d6bd;
}

.map-callout span:last-child {
  color:#958263;
  margin-left:auto;
  font-size:9px;
}

.map-legend {
  display:flex;
  align-items:center;
  gap:16px;
  border-top:1px solid #dfd2b8;
  margin-top:20px;
  padding-top:14px;
  color:#8c795b;
  font-size:9px;
  flex-wrap:wrap;
}

.map-legend>span {
  display:flex;
  gap:5px;
  align-items:center;
}

.map-legend .horizon-note {
  margin-left:auto;
  color:#9a8868;
  font-size:8px;
}

.map-help {
  font-size:9px;
  color:#978465;
  margin:10px 0 0 23px;
  min-height:15px;
}

.right-column {
  display:flex;
  flex-direction:column;
  gap:19px;
}

.ritual-panel {
  background:#e5d9c2;
  border:1px solid #d9ccb0;
  border-radius:11px;
  padding:22px 21px 20px;
  overflow:hidden;
  position:relative;
}

.ritual-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#8b785a;
  font-size:10px;
}

.ritual-top .icon {
  width:17px;
  height:17px;
}

.ritual-panel h2 {
  font-size:21px;
  line-height:1.4;
  letter-spacing:-.75px;
  margin-top:19px;
  font-weight:550;
  max-width:220px;
}

.ritual-panel p {
  color:#8b785a;
  font-size:11px;
  line-height:1.9;
  margin-top:11px;
}

.ritual-panel .button {
  margin-top:22px;
  background:#8b785a;
  border-color:#8b785a;
  font-size:11px;
}

.ritual-panel .button:hover {
  background:#816e52;
}

.ritual-foot {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  color:#958263;
  font-size:9px;
  margin-top:11px;
}

.ritual-foot .icon {
  width:11px;
  height:11px;
}

.year-panel {
  padding:20px 20px 17px;
}

.year-panel .panel-heading h3 {
  font-size:12px;
}

.year-panel .panel-heading span {
  font-size:10px;
  color:#8e7b5d;
}

.year-grid {
  display:grid;
  grid-template-columns:repeat(13,1fr);
  gap:5px;
  margin:18px 0 13px;
}

.year-dot {
  height:12px;
  border-radius:2px;
  background:#e1d4bb;
}

.year-dot.past {
  background:#a89676;
}

.year-dot.now {
  background:#897659;
  outline:2px solid #cebe9f;
  outline-offset:1px;
}

.year-summary {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:#958263;
}

.year-summary strong {
  color:#806d51;
  font-weight:550;
}

.perspective-panel {
  padding:22px 22px 20px;
  min-height:236px;
  position:relative;
  background:#ebe1cc;
  overflow:hidden;
  border:1px solid #ded2b8;
  border-radius:11px;
}

.orbit-art {
  height:83px;
  width:110px;
  position:relative;
  margin:2px auto 21px;
  overflow:hidden;
}

.orbit-art:before {
  content:'';
  position:absolute;
  width:62px;
  height:62px;
  top:10px;
  left:25px;
  border-radius:50%;
  background:repeating-linear-gradient(0deg,transparent,transparent 2px,#a89676 2.5px,#a89676 3px);
  opacity:.8;
}

.orbit-art:after {
  content:'';
  position:absolute;
  width:106px;
  height:45px;
  border:1px solid #a39171;
  border-radius:50%;
  transform:rotate(-33deg);
  left:2px;
  top:21px;
  background:linear-gradient(transparent 45%,#ebe1cc 46%,#ebe1cc 49%,transparent 50%);
}

.orbit-star {
  position:absolute;
  left:4px;
  top:25px;
  font-size:17px;
  color:#a08d6d;
  z-index:1;
}

.perspective-panel blockquote {
  margin:0;
  text-align:center;
  font-family:Georgia,serif;
  font-size:17px;
  line-height:1.6;
  color:#7f6c50;
}

.perspective-panel .quote-caption {
  text-align:center;
  font-size:8px;
  color:#968364;
  margin-top:13px;
}

.intention-section {
  margin-top:25px;
}

.section-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:13px;
}

.section-top h2 {
  font-size:14px;
}

.section-top .button {
  font-size:10px;
  min-height:auto;
  padding:0;
}

.intention-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.intention-card {
  border:1px solid var(--border);
  border-radius:8px;
  padding:17px 16px 14px;
  background:white;
  position:relative;
  text-align:left;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:142px;
}

.intention-card:hover {
  border-color:#c3b190;
}

.category-icon {
  color:#8c795c;
  background:#e5d9c2;
  width:28px;
  height:28px;
  border-radius:7px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
}

.category-icon.health {
  background:#e0d3b9;
  color:#877457;
}

.category-icon.relationships {
  background:#e4d8c0;
  color:#958263;
}

.category-icon .icon {
  height:15px;
  width:15px;
}

.intention-card h3 {
  font-size:11px;
  line-height:1.6;
  margin-bottom:8px;
  overflow-wrap:anywhere;
}

.intention-meta {
  font-size:9px;
  color:#948162;
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:6px;
}

.intention-meta .icon {
  width:11px;
  height:11px;
}

.intention-check {
  position:absolute;
  right:14px;
  top:18px;
  color:#b09e7e;
}

.intention-check .icon {
  width:15px;
  height:15px;
}

.intention-card.done h3 {
  text-decoration:line-through;
  color:#8d7a5c;
}

.intention-card.done .intention-check {
  color:var(--sage);
}

.app-footer {
  max-width:1510px;
  margin:auto;
  padding:14px 43px 25px;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:#9d8a6b;
}

.app-footer>span:first-child {
  font-size:11px;
  color:#8b785a;
}

.footer-translation {
  font-family:Georgia,serif;
  font-style:italic;
  font-size:11px;
  color:#968364;
  margin-left:13px;
}

.app-footer .icon {
  width:10px;
  height:10px;
  margin-right:4px;
}

.intro-banner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:23px;
  padding:13px 17px;
  border:1px solid #d8cbaf;
  border-radius:8px;
  background:#ece3cf;
}

.intro-banner p {
  font-size:11px;
  color:#8b785a;
}

.intro-banner strong {
  font-weight:600;
  color:#79664b;
}

.intro-banner .button {
  padding:5px 11px;
  font-size:10px;
  min-height:30px;
}

.wide-view {
  max-width:940px;
}

.view-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:24px;
  align-items:start;
}

.editor-panel {
  padding:30px;
}

.editor-date {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:#917e5f;
  margin-bottom:26px;
}

.editor-date .icon {
  width:15px;
  height:15px;
}

.editor-panel h2 {
  font-size:24px;
  font-weight:550;
  letter-spacing:-.8px;
  line-height:1.5;
}

.editor-panel .editor-intro {
  font-size:12px;
  color:#8c795b;
  margin-top:9px;
  line-height:1.9;
}

.reflection-field {
  margin-top:27px;
}

.reflection-field label,.form-field label {
  display:block;
  font-size:11px;
  font-weight:600;
  color:#736046;
  margin-bottom:9px;
}

.reflection-field textarea {
  display:block;
  width:100%;
  min-height:220px;
  padding:16px;
  background:#efe6d4;
  border:1px solid #d8caae;
  border-radius:8px;
  resize:vertical;
  font-size:13px;
  line-height:1.9;
  color:#554734;
}

.reflection-field textarea::placeholder {
  color:#a69474;
}

.editor-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:19px;
}

.editor-bottom small {
  color:#948162;
  font-size:10px;
}

.mood-selector {
  display:flex;
  gap:8px;
  margin-top:12px;
  flex-wrap:wrap;
}

.mood-button {
  padding:7px 12px;
  border:1px solid #d7c9ad;
  border-radius:6px;
  font-size:11px;
  color:#8f7c5e;
}

.mood-button.selected {
  border-color:#a99777;
  background:#e3d7bf;
  color:#7f6c50;
}

.prompt-card {
  padding:23px;
  background:#e5d9c2;
  border-radius:10px;
  color:#7e6b4f;
}

.prompt-card h3 {
  font-size:12px;
  margin:14px 0 9px;
}

.prompt-card p {
  font-size:11px;
  line-height:1.9;
  color:#8e7b5d;
}

.prompt-card ul {
  margin:16px 0 0;
  padding-left:16px;
  font-size:11px;
  line-height:2.4;
  color:#897659;
}

.prompt-card .icon {
  color:#968364;
}

.journal-list {
  display:flex;
  flex-direction:column;
  gap:15px;
}

.journal-entry {
  padding:24px;
  display:block;
  width:100%;
  text-align:left;
}

.journal-entry:hover {
  border-color:#bdac8b;
}

.journal-entry .entry-meta {
  display:flex;
  justify-content:space-between;
  color:#927f61;
  font-size:10px;
  margin-bottom:11px;
}

.journal-entry p {
  font-size:13px;
  line-height:1.9;
  color:#726046;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

.journal-entry .entry-meta .icon {
  height:14px;
  width:14px;
}

.search-input {
  width:250px;
  border:1px solid #d5c7aa;
  background:#f5eedf;
  padding:10px 13px;
  border-radius:7px;
  font-size:11px;
}

.empty-state {
  padding:58px 28px;
  text-align:center;
  border:1px dashed #cab998;
  border-radius:12px;
  background:#efe6d4;
}

.empty-state>.icon {
  width:32px;
  height:32px;
  color:#a29070;
  margin-bottom:15px;
}

.empty-state h2 {
  font-size:21px;
  font-weight:550;
}

.empty-state p {
  color:#917e60;
  font-size:12px;
  max-width:350px;
  margin:12px auto 23px;
  line-height:1.9;
}

.intention-view-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px;
}

.intention-view-grid .intention-card {
  min-height:190px;
  padding:24px;
}

.intention-view-grid .intention-card h3 {
  font-size:14px;
}

.local-note {
  font-size:11px;
  color:#927f61;
  display:flex;
  gap:7px;
  align-items:center;
  margin-top:20px;
}

.local-note .icon {
  width:13px;
  height:13px;
}

.filter-row {
  display:flex;
  gap:7px;
  margin-bottom:25px;
}

.filter-row button {
  font-size:11px;
  padding:7px 13px;
  border:1px solid #d3c4a6;
  border-radius:6px;
  color:#8f7c5e;
}

.filter-row button.selected {
  background:#e0d4ba;
  color:#7b684c;
  border-color:#c6b593;
}

.pricing-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:27px;
  max-width:830px;
}

.price-card {
  padding:30px;
}

.price-card.plus {
  border-color:#b6a483;
  background:#f0e7d6;
  position:relative;
}

.price-card h2 {
  font-size:19px;
}

.price-card p {
  font-size:12px;
  color:#8b785a;
  margin-top:7px;
}

.price-number {
  font-size:43px;
  font-weight:550;
  letter-spacing:-2px;
  margin-top:25px;
}

.price-number small {
  font-size:12px;
  letter-spacing:0;
  color:#917e60;
  font-weight:400;
}

.price-card ul {
  list-style:none;
  padding:0;
  margin:24px 0;
  display:flex;
  flex-direction:column;
  gap:15px;
  font-size:12px;
  color:#816e52;
}

.price-card li {
  display:flex;
  align-items:center;
  gap:9px;
}

.price-card li .icon {
  width:15px;
  height:15px;
  color:#927f60;
}

.price-card .price-note {
  font-size:10px;
  min-height:32px;
  margin-top:9px;
  text-align:center;
}

.plan-picker {
  display:flex;
  width:max-content;
  background:#e1d4bb;
  padding:4px;
  border-radius:8px;
  margin-top:24px;
}

.plan-picker button {
  font-size:11px;
  border-radius:5px;
  padding:9px 16px;
  color:#887558;
}

.plan-picker button.selected {
  background:white;
  color:#6e5d44;
  box-shadow:0 1px 4px #493d2d1c;
}

.plan-picker small {
  font-size:9px;
  color:#897659;
  margin-left:5px;
}

.price-card .pill {
  position:absolute;
  top:28px;
  right:28px;
  font-size:9px;
  color:#897659;
  border:1px solid #cbbb9a;
  padding:3px 8px;
  border-radius:4px;
}

.pricing-foot {
  font-size:11px;
  line-height:1.9;
  color:#927f60;
  max-width:720px;
  margin-top:24px;
}

dialog {
  border:1px solid #d2c4a6;
  border-radius:15px;
  background:#f5eedf;
  color:var(--ink);
  padding:0;
  width:min(510px,calc(100% - 32px));
  max-height:90dvh;
  box-shadow:0 30px 100px #3c322630;
  overflow:auto;
}

dialog::backdrop {
  background:#3d332655;
  backdrop-filter:blur(4px);
}

.modal-inner {
  padding:32px;
}

.modal-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:10px;
}

.modal-top h2 {
  font-size:23px;
  font-weight:550;
  letter-spacing:-.8px;
}

.modal-subtitle {
  font-size:12px;
  color:#8f7c5e;
  line-height:1.9;
  margin-bottom:25px;
}

.form-field {
  margin-top:19px;
}

.form-field input,.form-field select {
  width:100%;
  padding:11px 12px;
  border:1px solid #d1c2a3;
  border-radius:7px;
  background:#f2eada;
  color:#746247;
  min-height:43px;
  font-size:12px;
}

.form-field small {
  font-size:10px;
  color:#917e60;
  display:block;
  margin-top:7px;
  line-height:1.8;
}

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

.modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:9px;
  margin-top:27px;
  flex-wrap:wrap;
}

.error-message {
  color:#7f6c50;
  font-size:11px;
  margin-top:16px;
  line-height:1.7;
}

.success-message {
  color:var(--sage);
  font-size:12px;
  margin-top:16px;
  line-height:1.8;
}

.danger-button {
  color:#8a775a;
  font-size:11px;
  margin-right:auto;
}

.settings-extra {
  border-top:1px solid #d8cbaf;
  padding-top:18px;
  margin-top:25px;
}

.settings-extra h3 {
  font-size:12px;
}

.settings-extra p {
  font-size:11px;
  color:#8f7c5e;
  margin:7px 0 15px;
}

.toast {
  position:fixed;
  bottom:27px;
  left:calc(50% + var(--sidebar)/2);
  transform:translate(-50%,20px);
  background:#413628;
  color:#f0e7d6;
  padding:12px 19px;
  border-radius:9px;
  font-size:12px;
  box-shadow:0 8px 30px #3d332620;
  z-index:100;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s,transform .2s;
  max-width:calc(100vw - 35px);
}

.toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}

.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.noscript {
  position:fixed;
  inset:30%;
  background:white;
  border:1px solid #cbbb9a;
  padding:30px;
  z-index:100;
}

.delete-confirm {
  padding:14px;
  background:#e9dfca;
  border-radius:8px;
  font-size:12px;
  line-height:1.8;
  color:#7c694d;
  margin-top:20px;
}

.header-badge {
  font-size:10px;
  color:#927f60;
  border:1px solid #d6c7aa;
  border-radius:5px;
  padding:5px 9px;
}

.load-in {
  animation:appear .35s ease-out;
}

@keyframes appear {
  from {
    opacity:0;
    transform:translateY(5px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

@media(min-width:1500px) {
  .dashboard {
    grid-template-columns:minmax(0,1fr) 315px;
    gap:27px;
  }
  .life-grid {
    grid-template-rows:repeat(52,6px);
    gap:3px;
  }
  .life-panel {
    padding:27px 30px 21px;
  }
  .ritual-panel {
    padding:26px;
  }
  .ritual-panel h2 {
    font-size:24px;
  }
  .perspective-panel {
    min-height:268px;
  }
  .orbit-art {
    margin-top:16px;
    margin-bottom:26px;
  }
  .year-panel {
    padding:24px;
  }
  .year-dot {
    height:15px;
  }
}

@media(max-width:1190px) {
  :root {
    --sidebar:198px;
  }
  .sidebar {
    padding-left:13px;
    padding-right:13px;
  }
  .topbar {
    padding:0 28px;
  }
  main {
    padding:30px 28px;
  }
  .dashboard {
    grid-template-columns:minmax(0,1fr) 253px;
    gap:18px;
  }
  .life-panel {
    padding:21px 18px 17px;
  }
  .life-stats {
    gap:18px;
  }
  .life-stat {
    padding-right:18px;
  }
  .life-stat strong {
    font-size:24px;
  }
  .life-grid {
    gap:2px;
    grid-template-rows:repeat(52,4.5px);
  }
  .map-actions .sample-badge {
    display:none;
  }
  .ritual-panel {
    padding:20px 17px;
  }
  .ritual-panel h2 {
    font-size:20px;
  }
  .perspective-panel {
    min-height:218px;
  }
  .year-grid {
    gap:4px;
  }
  .year-dot {
    height:11px;
  }
  .intention-grid {
    gap:8px;
  }
  .intention-card {
    padding:14px 12px;
  }
  .map-legend {
    gap:10px;
  }
  .map-legend .horizon-note {
    width:100%;
    margin-left:0;
  }
  .app-footer {
    padding-left:28px;
    padding-right:28px;
  }
  h1 {
    font-size:30px;
  }
}

@media(max-width:1000px) {
  :root {
    --sidebar:180px;
  }
  .sidebar {
    padding-left:10px;
    padding-right:10px;
  }
  .brand {
    font-size:18px;
  }
  .primary-nav a {
    font-size:11px;
    gap:9px;
    padding-left:10px;
  }
  .dashboard {
    grid-template-columns:1fr;
  }
  .right-column {
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .perspective-panel {
    display:none;
  }
  .ritual-panel h2 {
    margin-top:12px;
  }
  .ritual-panel .button {
    margin-top:16px;
  }
  .life-grid {
    grid-template-rows:repeat(52,5px);
    gap:2.5px;
  }
  .life-stats {
    gap:32px;
  }
  .life-stat {
    padding-right:32px;
  }
  .year-panel {
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .year-grid {
    gap:6px;
  }
  .year-dot {
    height:18px;
  }
  .page-heading {
    align-items:flex-start;
  }
  .heading-actions {
    flex-direction:column;
    align-items:stretch;
  }
  .sidebar-thought {
    padding-left:10px;
  }
  .view-layout {
    grid-template-columns:1fr;
  }
  .prompt-card {
    max-width:none;
  }
  .save-status {
    font-size:9px;
  }
  .intention-view-grid {
    grid-template-columns:1fr 1fr;
  }
  .editor-panel {
    padding:25px;
  }
}

@media(max-width:700px) {
  :root {
    --sidebar:0px;
  }
  .sidebar {
    position:fixed;
    inset:auto 0 0;
    width:100%;
    height:68px;
    padding:0 10px;
    background:#f2eadaf5;
    backdrop-filter:blur(15px);
    border:0;
    border-top:1px solid #d9cbaf;
    z-index:30;
    display:block;
  }
  .brand,.workspace-label,.sidebar-bottom {
    display:none;
  }
  .primary-nav {
    height:100%;
    flex-direction:row;
    justify-content:space-around;
    align-items:center;
    gap:0;
  }
  .primary-nav a {
    flex:1;
    flex-direction:column;
    gap:4px;
    padding:8px 4px;
    font-size:9px;
    line-height:1.4;
    border-radius:7px;
    max-width:110px;
  }
  .primary-nav a .icon {
    width:19px;
    height:19px;
  }
  .nav-dot {
    display:none;
  }
  .topbar {
    height:59px;
    padding:0 21px;
  }
  .breadcrumb {
    font-size:9px;
    gap:8px;
  }
  .topbar-actions {
    gap:10px;
  }
  .save-status {
    font-size:0;
  }
  .save-status i {
    width:6px;
    height:6px;
  }
  .workspace {
    padding-bottom:68px;
  }
  .breadcrumb-divider {
    margin:0;
  }
  main {
    padding:28px 20px;
  }
  .page-heading {
    margin-bottom:22px;
    gap:10px;
  }
  h1 {
    font-size:27px;
    letter-spacing:-1.2px;
  }
  .heading-copy p {
    font-size:11px;
    max-width:235px;
    line-height:1.8;
    margin-top:9px;
  }
  .heading-actions .button {
    padding:8px 10px;
    font-size:10px;
    min-height:32px;
  }
  .heading-actions .button .icon {
    width:13px;
    height:13px;
  }
  .dashboard {
    gap:20px;
  }
  .life-panel {
    padding:20px 16px 15px;
  }
  .life-panel .panel-heading h2 {
    font-size:14px;
  }
  .panel-subtitle {
    font-size:9px;
  }
  .segmented button {
    padding:4px 7px;
    font-size:9px;
  }
  .life-stats {
    gap:21px;
    padding-top:21px;
    padding-bottom:22px;
  }
  .life-stat {
    padding-right:21px;
  }
  .life-stat strong {
    font-size:23px;
  }
  .life-stat:last-child strong {
    font-size:18px;
  }
  .life-stat small {
    font-size:8px;
  }
  .map-body {
    gap:8px;
  }
  .map-axis {
    font-size:8px;
    margin-left:18px;
  }
  .week-axis {
    font-size:7px;
    width:10px;
  }
  .life-grid {
    gap:1.7px;
    grid-template-rows:repeat(52,4px);
  }
  .map-callout {
    margin-left:18px;
    font-size:9px;
  }
  .map-callout span:last-child {
    font-size:8px;
  }
  .map-help {
    font-size:8px;
    margin-left:18px;
  }
  .map-legend {
    font-size:8px;
    gap:12px;
  }
  .map-legend .horizon-note {
    font-size:8px;
  }
  .intro-banner {
    padding:12px;
    gap:10px;
    margin-bottom:20px;
  }
  .intro-banner p {
    font-size:10px;
  }
  .intro-banner p strong {
    display:block;
  }
  .intro-banner .button {
    padding:6px 9px;
    font-size:9px;
  }
  .intention-grid {
    grid-template-columns:1fr;
  }
  .intention-card {
    min-height:85px;
    padding:14px 15px 14px 58px;
    justify-content:center;
  }
  .intention-card .category-icon {
    position:absolute;
    top:19px;
    left:16px;
  }
  .intention-card h3 {
    font-size:12px;
    max-width:calc(100% - 20px);
    margin-bottom:4px;
  }
  .intention-meta {
    margin-top:0;
  }
  .intention-check {
    top:26px;
    right:18px;
  }
  .right-column {
    gap:13px;
    grid-template-columns:1fr;
  }
  .ritual-panel {
    padding:22px;
  }
  .ritual-panel h2 {
    max-width:100%;
    font-size:22px;
  }
  .ritual-panel p {
    font-size:12px;
  }
  .year-panel {
    padding:20px 22px;
  }
  .year-dot {
    height:15px;
  }
  .year-grid {
    margin-top:15px;
  }
  .app-footer {
    padding:0 20px 25px;
    display:block;
    text-align:center;
  }
  .app-footer>span {
    display:block;
  }
  .app-footer>span:last-child {
    margin-top:9px;
  }
  .footer-translation {
    margin-left:7px;
  }
  .view-layout {
    gap:18px;
  }
  .editor-panel {
    padding:22px 19px;
  }
  .editor-panel h2 {
    font-size:22px;
  }
  .editor-bottom {
    align-items:flex-start;
  }
  .editor-bottom small {
    max-width:150px;
  }
  .editor-intro {
    font-size:11px;
  }
  .reflection-field textarea {
    min-height:230px;
    font-size:12px;
  }
  .mood-button {
    font-size:10px;
    padding:7px 9px;
  }
  .search-input {
    width:145px;
    max-width:40vw;
  }
  .journal-entry {
    padding:20px;
  }
  .intention-view-grid {
    grid-template-columns:1fr;
  }
  .intention-view-grid .intention-card {
    padding:22px 22px 22px 68px;
    min-height:118px;
  }
  .intention-view-grid .category-icon {
    top:25px;
    left:24px;
  }
  .intention-view-grid .intention-card h3 {
    font-size:14px;
  }
  .pricing-layout {
    grid-template-columns:1fr;
  }
  .price-card {
    padding:25px;
  }
  .modal-inner {
    padding:25px;
  }
  .modal-top h2 {
    font-size:21px;
  }
  .toast {
    bottom:84px;
    width:max-content;
    max-width:calc(100vw - 40px);
    font-size:11px;
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0;
  }
  .wide-view>.page-heading {
    flex-wrap:wrap;
  }
  .intention-view-grid .intention-check {
    top:28px;
  }
  .topbar .icon-button {
    color:#7e6b4f;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

[hidden] {
  display:none!important;
}

/* Preserve readable secondary copy without competing with the life map. */
.heading-copy p,.panel-subtitle,.life-stat small,.map-legend,.year-summary,.editor-panel .editor-intro {
  color:#7b684d;
}

.ritual-panel p {
  color:#806d51;
}

.ritual-foot {
  color:#877457;
}

.map-help {
  color:#7f6c50;
}

.workspace-label {
  color:#826f53;
}

.save-status {
  color:#7a674c;
}

.intention-meta {
  color:#847155;
}

.app-footer {
  color:#857255;
}

@media(max-width:700px) {
  .page-heading {
    flex-direction:column;
    align-items:stretch;
  }
  .heading-actions {
    flex-direction:row;
    align-items:center;
    margin-top:7px;
  }
  .heading-copy p {
    max-width:none;
  }
  .life-grid {
    grid-template-rows:repeat(52,3px);
  }
  .search-input {
    max-width:none;
    width:100%;
  }
  .heading-actions:has(.search-input) {
    display:block;
  }
}
