:root {
  color-scheme: light;
  --background: #f6f7f2;
  --foreground: #293a32;
  --muted: #879087;
  --card: #fffefa;
  --popover: #fffefa;
  --secondary: #f1f3ec;
  --border: #e7eae2;
  --ring: #73947a;
  --primary: #37634d;
  --primary-foreground: #fffefa;
  --accent: #eaf0e5;
  --destructive: #a65e56;
  --warning: #a87b3d;
  --success: #527a5d;
  --info: #657da0;
  --radius: 16px;
  --font-sans:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;
  --work: #668b73;
  --work-bg: #e8efe5;
  --work-text: #3f6349;
  --life: #cb9572;
  --life-bg: #f8ede1;
  --life-text: #966d48;
  --growth: #9891b2;
  --growth-bg: #eeebf5;
  --growth-text: #75678c;
  --hour: 52px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  color: var(--foreground);
  font: 13px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #9bb19c;
  outline-offset: 1px;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.app {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 936px;
  overflow: hidden;
}
.sidebar {
  background: #f3f4ed;
  padding: 31px 20px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 7px;
}
.brand-mark {
  width: 34px;
  height: 38px;
  color: var(--primary);
  stroke-width: 1.7;
}
.brand-name {
  font:
    600 25px/1.1 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.8px;
}
.brand-cn {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 3px;
  color: #7c897b;
}
.create {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin: 32px 0 23px;
  padding: 12px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 9px #37634d13;
  transition:
    background 0.2s,
    transform 0.2s;
}
.create:hover {
  background: #294e3b;
  transform: translateY(-1px);
}
.create svg {
  width: 17px;
  height: 17px;
}
.create kbd {
  margin-left: 18px;
  background: #ffffff18;
  border: 1px solid #ffffff25;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 10px;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav-btn {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  color: #768073;
}
.nav-btn svg {
  width: 18px;
  height: 18px;
}
.nav-btn:hover {
  background: #e9ece3;
}
.nav-btn.active {
  background: #e3eadc;
  color: #3a5e42;
  font-weight: 600;
}
.nav-btn .key {
  margin-left: auto;
  font-size: 10px;
  color: #9aa292;
}
.mini {
  margin: 29px 0 27px;
  padding: 0 5px;
}
.mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
}
.mini-heading .arrows {
  display: flex;
}
.mini-heading .icon-btn {
  width: 23px;
  height: 23px;
}
.mini-heading svg {
  width: 13px;
  height: 13px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 4px;
  text-align: center;
  font-size: 10px;
}
.mini-weekday {
  color: #9aa190;
  margin-bottom: 4px;
  font-size: 9px;
}
.mini-date {
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
  font-size: 10px;
  color: #717a6a;
}
.mini-date:hover {
  background: #e1e7d9;
}
.mini-date.in-week {
  background: #e5eadf;
  border-radius: 6px;
}
.mini-date.today {
  background: var(--primary);
  color: white;
  border-radius: 50%;
}
.mini-date.other {
  opacity: 0.3;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  margin-bottom: 11px;
  color: #9aa08f;
  font-size: 10px;
  letter-spacing: 1px;
}
.label-row svg {
  width: 14px;
  height: 14px;
}
.calendar-filters {
  display: grid;
  gap: 3px;
}
.filter {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 8px 11px;
  gap: 10px;
  text-align: left;
  color: #727b6d;
}
.filter:hover {
  background: #e9ece3;
  border-radius: 7px;
}
.check {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--tone);
  color: white;
  border: 1px solid var(--tone);
}
.check svg {
  width: 9px;
  height: 9px;
  stroke-width: 2.5;
}
.filter[aria-pressed="false"] .check {
  background: transparent;
}
.filter[aria-pressed="false"] .check svg {
  visibility: hidden;
}
.filter-count {
  margin-left: auto;
  font-size: 10px;
  color: #a1a795;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.demo-badge {
  border: 1px solid #e0e5d8;
  background: #fafbf5;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 10px;
  color: #8b947e;
}
.demo-badge strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #63765b;
  margin-bottom: 3px;
}
.profile {
  margin-top: 19px;
  border-top: 1px solid #e3e7db;
  padding: 17px 5px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3e9d7;
  color: #6c7c53;
  font:
    16px Georgia,
    serif;
}
.profile strong {
  font-size: 11px;
  font-weight: 500;
}
.profile small {
  display: block;
  font-size: 9px;
  color: #a0a68f;
}
.profile .icon-btn {
  margin-left: auto;
}
.main {
  min-width: 0;
  background: var(--card);
}
.topbar {
  height: 68px;
  margin: 0 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 11px;
  color: #909688;
}
.breadcrumb svg {
  width: 14px;
  height: 14px;
  color: #8a9582;
}
.breadcrumb strong {
  font-weight: 500;
  color: #59674e;
}
.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.local-status {
  color: #919986;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}
.local-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8ba27c;
}
.icon-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0;
  color: #86907d;
}
.icon-btn:hover {
  background: #edf0e7;
  color: var(--primary);
}
.icon-btn svg {
  width: 17px;
  height: 17px;
}
.page-heading {
  margin: 27px 29px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #98a18b;
  text-transform: uppercase;
  margin-bottom: 7px;
}
h1 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.7px;
  margin: 0;
  line-height: 1.5;
}
h1 .greeting-dot {
  color: #9da78a;
}
.subheading {
  margin-top: 6px;
  color: #969d8e;
  font-size: 11px;
}
.leaf-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    italic 13px Georgia,
    serif;
  color: #9ca28c;
  padding-right: 6px;
}
.leaf-note svg {
  width: 30px;
  height: 35px;
  color: #a2b18f;
  stroke-width: 1;
}
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 24px;
  padding: 0 29px 28px;
}
.calendar-panel {
  min-width: 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  min-height: 34px;
  flex-wrap: wrap;
}
.date-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-right: 3px;
}
.week-tag {
  font-size: 9px;
  padding: 2px 6px;
  background: #eff2e8;
  color: #8b9679;
  border-radius: 4px;
}
.date-navigation {
  display: flex;
  align-items: center;
  gap: 1px;
}
.date-navigation .icon-btn {
  width: 24px;
  height: 27px;
}
.date-navigation svg {
  width: 14px;
  height: 14px;
}
.today-btn {
  border: 1px solid #e1e6d9;
  padding: 4px 10px;
  font-size: 10px;
  border-radius: 6px;
  color: #78856c;
}
.today-btn:hover {
  background: var(--secondary);
}
.view-tabs {
  display: flex;
  padding: 3px;
  background: #f0f2eb;
  border-radius: 7px;
  margin-left: auto;
  gap: 1px;
}
.view-tab {
  font-size: 10px;
  min-width: 31px;
  padding: 4px 8px;
  border-radius: 5px;
  color: #929a87;
}
.view-tab.active {
  background: var(--card);
  color: #586b4a;
  box-shadow: 0 1px 4px #293a3210;
}
.view-tab svg {
  width: 12px;
  height: 12px;
  vertical-align: -2px;
}
.calendar-frame {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fffffc;
}
.week-header {
  display: grid;
  grid-template-columns: 43px repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
}
.timezone {
  align-self: end;
  text-align: center;
  font-size: 7px;
  color: #abb19f;
  padding-bottom: 12px;
}
.day-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 11px;
  gap: 5px;
  font-size: 9px;
  color: #9ba18f;
  border-left: 1px solid #f0f1eb;
}
.day-heading:hover {
  background: #f7f9f2;
}
.day-heading strong {
  font-size: 18px;
  font-weight: 450;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #68745c;
}
.day-heading.current strong {
  border-radius: 50%;
  background: var(--primary);
  color: white;
}
.day-heading.current span {
  color: var(--primary);
}
.day-heading.selected:not(.current) strong {
  border-radius: 50%;
  background: #eaf0e4;
}
.week-scroll {
  max-height: 622px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #e0e5d7 transparent;
}
.week-body {
  display: grid;
  grid-template-columns: 43px repeat(7, minmax(0, 1fr));
  position: relative;
}
.time-axis {
  height: calc(var(--hour) * var(--hour-count, 13));
  position: relative;
}
.hour-label {
  position: absolute;
  right: 8px;
  color: #a6ad9b;
  font-size: 8px;
  transform: translateY(-50%);
  font-variant-numeric: tabular-nums;
}
.hour-label:first-child {
  transform: translateY(3px);
}
.day-column {
  position: relative;
  height: calc(var(--hour) * var(--hour-count, 13));
  border-left: 1px solid #ecefe5;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--hour) / 2 - 1px),
    #f5f6f0 calc(var(--hour) / 2 - 1px),
    #f5f6f0 calc(var(--hour) / 2),
    transparent calc(var(--hour) / 2),
    transparent calc(var(--hour) - 1px),
    #e9ede2 calc(var(--hour) - 1px),
    #e9ede2 var(--hour)
  );
}
.day-column.is-today {
  background-color: #f7f9f280;
}
.day-column.drag-over {
  background-color: #e5eddf;
}
.event {
  position: absolute;
  z-index: 2;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--event-color) 15%, transparent);
  border-left: 2px solid var(--event-color);
  background: var(--event-bg);
  color: var(--event-text);
  text-align: left;
  padding: 6px 5px 5px 7px;
  overflow: hidden;
  transition:
    box-shadow 0.15s,
    filter 0.15s;
  min-height: 24px;
}
.event:hover {
  z-index: 5;
  box-shadow: 0 3px 10px #293a3216;
  filter: saturate(1.15);
}
.event.dragging {
  opacity: 0.4;
}
.event-title {
  display: block;
  font-size: 10px;
  line-height: 1.55;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.event-time {
  display: block;
  font-size: 8px;
  opacity: 0.7;
  margin-top: 3px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.event-source {
  position: absolute;
  bottom: 6px;
  right: 6px;
  opacity: 0.55;
}
.event-source svg {
  width: 10px;
  height: 10px;
}
.event.compact {
  padding-top: 3px;
}
.event.compact .event-time {
  display: none;
}
.now-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid #b78067;
  z-index: 6;
  pointer-events: none;
}
.now-line::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  width: 5px;
  height: 5px;
  background: #b78067;
  border-radius: 50%;
}
.now-label {
  position: absolute;
  right: calc(100% + 5px);
  top: -7px;
  color: #ac7e66;
  font-size: 8px;
  background: #fffffc;
  padding: 0 2px;
}
.calendar-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: #a5ac9a;
  font-size: 9px;
}
.calendar-footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.calendar-footer svg {
  width: 11px;
  height: 11px;
}
.rightbar {
  padding-top: 4px;
  min-width: 0;
}
.day-overview {
  background: #f6f7f0;
  border: 1px solid #eceee3;
  border-radius: 12px;
  padding: 20px 17px 17px;
}
.aside-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.aside-title h2 {
  font-size: 13px;
  font-weight: 550;
  margin: 0;
}
.aside-title span {
  color: #8d967f;
  font-size: 9px;
  background: #e9eddf;
  padding: 2px 7px;
  border-radius: 5px;
}
.aside-date {
  margin: 5px 0 18px;
  color: #a0a78f;
  font-size: 10px;
}
.agenda-event {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  position: relative;
  margin-bottom: 17px;
  width: 100%;
  text-align: left;
  padding: 0;
}
.agenda-event:last-child {
  margin-bottom: 3px;
}
.agenda-event .time {
  color: #939d83;
  font-size: 9px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.agenda-event .agenda-detail {
  padding-left: 11px;
  border-left: 2px solid var(--event-color);
}
.agenda-event strong {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: #5f6e51;
}
.agenda-event small {
  display: block;
  color: #a1a78f;
  font-size: 9px;
  margin-top: 4px;
}
.agenda-event:hover strong {
  color: var(--primary);
}
.breathing-space {
  border-top: 1px dashed #dde3d1;
  padding-top: 14px;
  margin-top: 18px;
  font-size: 10px;
  color: #9aa58b;
  display: flex;
  align-items: center;
  gap: 7px;
}
.breathing-space svg {
  width: 13px;
  height: 13px;
}
.agent-card {
  border: 1px solid #e7e9df;
  border-radius: 12px;
  margin-top: 17px;
  overflow: hidden;
}
.agent-card-head {
  padding: 14px 15px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #76866a;
  font-size: 11px;
}
.agent-card-head svg {
  width: 14px;
  height: 14px;
}
.sample-tag {
  margin-left: auto;
  font-size: 8px;
  background: #f0f2ea;
  color: #a0a68f;
  padding: 1px 5px;
  border-radius: 4px;
}
.agent-card-body {
  padding: 0 15px 13px;
  font-size: 10px;
  color: #9a9f90;
  line-height: 1.8;
}
.agent-card-body strong {
  font-weight: 500;
  color: #68765d;
}
.agent-card-foot {
  background: #f8f9f3;
  padding: 10px 15px;
  font-size: 9px;
  color: #8a987c;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eff1e8;
}
.agent-card-foot:hover {
  background: #edf2e5;
}
.agent-card-foot svg {
  width: 12px;
  height: 12px;
}
.quote-card {
  position: relative;
  padding: 26px 14px 9px;
  min-height: 175px;
  overflow: hidden;
}
.quote-card blockquote {
  color: #9ca68d;
  font:
    13px/2 Georgia,
    "Songti SC",
    "SimSun",
    serif;
  margin: 3px 0 0;
}
.quote-card small {
  display: block;
  margin-top: 12px;
  font-size: 8px;
  color: #b2b9a3;
  letter-spacing: 1px;
}
.plant {
  position: absolute;
  right: -5px;
  bottom: -14px;
  width: 95px;
  height: 115px;
  stroke-width: 1.1;
  color: #bac7a6;
  opacity: 0.7;
}
.plant path.filled {
  fill: #e4ead8;
  stroke: none;
}
.empty {
  padding: 35px 18px;
  color: #a0a88f;
  text-align: center;
  font-size: 12px;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.month-weekday {
  text-align: center;
  padding: 12px 0;
  font-size: 10px;
  color: #9ca48e;
  border-bottom: 1px solid var(--border);
}
.month-cell {
  min-height: 103px;
  border-right: 1px solid #edf0e6;
  border-bottom: 1px solid #edf0e6;
  padding: 6px 4px;
  cursor: pointer;
}
.month-cell:hover {
  background: #f8faf3;
}
.month-cell.outside {
  opacity: 0.4;
}
.month-number {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 10px;
  color: #8c967d;
  margin-bottom: 4px;
}
.month-number.today {
  background: var(--primary);
  color: white;
  border-radius: 50%;
}
.month-event {
  display: block;
  width: 100%;
  padding: 3px 4px;
  border-radius: 3px;
  margin-bottom: 3px;
  background: var(--event-bg);
  color: var(--event-text);
  font-size: 9px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.month-more {
  color: #97a087;
  font-size: 8px;
  padding: 2px 4px;
}
.list-view {
  min-height: 590px;
  padding: 6px 20px 20px;
}
.list-group h3 {
  font-size: 11px;
  font-weight: 500;
  color: #929c83;
  margin: 23px 0 7px;
}
.list-item {
  width: 100%;
  text-align: left;
  padding: 13px 0;
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #eef0e7;
}
.list-item:hover {
  background: #f8faf3;
}
.list-item .list-time {
  font-size: 10px;
  width: 88px;
  color: #8e9980;
  font-variant-numeric: tabular-nums;
}
.list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--event-color);
  flex-shrink: 0;
}
.list-item strong {
  font-size: 12px;
  font-weight: 500;
}
.list-item small {
  margin-left: auto;
  color: #a2aa94;
  font-size: 9px;
}
.mobile-create {
  display: none;
}
dialog {
  border: 1px solid #e5e9dd;
  background: var(--card);
  color: var(--foreground);
  border-radius: 17px;
  padding: 0;
  box-shadow: 0 22px 80px #2637252e;
  max-width: calc(100% - 24px);
}
dialog::backdrop {
  background: #26342530;
  backdrop-filter: blur(3px);
}
.event-dialog {
  width: 390px;
  max-height: calc(100% - 32px);
  margin: 16px 16px 16px auto;
}
.dialog-head {
  padding: 23px 24px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.dialog-head h2 {
  font-size: 16px;
  font-weight: 550;
  margin: 0;
}
.dialog-form {
  padding: 21px 24px 24px;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field > span {
  display: block;
  font-size: 11px;
  color: #8a957d;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid #e1e7d8;
  background: #fcfdf8;
  padding: 10px 11px;
  border-radius: 7px;
  color: #526648;
  min-height: 39px;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #b0b9a3;
}
.field.title-field input {
  font-size: 18px;
  background: transparent;
  padding: 6px 0 12px;
  border: 0;
  border-bottom: 1px solid #e5eadc;
  border-radius: 0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.form-error {
  color: var(--destructive);
  font-size: 11px;
  margin: -3px 0 14px;
  min-height: 0;
}
.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 23px;
  align-items: center;
}
.primary-btn {
  background: var(--primary);
  color: white;
  padding: 10px 17px;
  border-radius: 8px;
  font-size: 12px;
}
.primary-btn:hover {
  background: #294e3b;
}
.secondary-btn {
  border: 1px solid var(--border);
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 12px;
  color: #8b967e;
}
.delete-btn {
  color: #b08273;
  margin-right: auto;
  font-size: 11px;
  padding: 6px 0;
}
.event-origin {
  font-size: 10px;
  color: #a0aa91;
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 15px;
}
.event-origin svg {
  width: 12px;
  height: 12px;
}
.search-dialog {
  width: 550px;
  margin-top: 100px;
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
  color: #9aa88c;
}
.search-input-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 14px;
  color: #566a49;
  outline: none;
}
.search-input-row input::placeholder {
  color: #a6b098;
}
.search-results {
  max-height: 370px;
  overflow: auto;
  padding: 8px 18px 18px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 4px;
  border-bottom: 1px solid #edf0e4;
  text-align: left;
}
.search-result:hover {
  background: #f6f8ef;
}
.search-result strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.search-result small {
  font-size: 10px;
  color: #a2ac93;
  display: block;
  margin-top: 4px;
}
.info-dialog {
  width: 440px;
}
.info-body {
  padding: 21px 24px 26px;
  color: #89967b;
  font-size: 12px;
  line-height: 1.9;
}
.info-body p {
  margin: 0 0 16px;
}
.connect-option {
  border: 1px solid var(--border);
  padding: 13px 15px;
  border-radius: 9px;
  margin: 10px 0;
}
.connect-option strong {
  color: #596d4d;
  font-weight: 500;
  display: block;
}
.connect-option small {
  display: block;
  margin-top: 3px;
  color: #9eaa8f;
}
.prototype-notice {
  color: #a5926c;
  background: #f6f1e6;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 10px;
}
.toast {
  position: fixed;
  bottom: 27px;
  left: 50%;
  transform: translate(-50%, 10px);
  padding: 11px 20px;
  border-radius: 10px;
  background: #304e3f;
  color: #f3f7ed;
  box-shadow: 0 6px 25px #26372522;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 100;
  max-width: calc(100% - 30px);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1550px) {
  .content {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 30px;
  }
  .sidebar {
    padding-left: 25px;
    padding-right: 25px;
  }
  .app {
    grid-template-columns: 235px minmax(0, 1fr);
  }
  .event-title {
    font-size: 12px;
  }
  .event-time {
    font-size: 9px;
  }
}
@media (max-width: 1210px) {
  .content {
    grid-template-columns: minmax(0, 1fr);
  }
  .rightbar {
    display: none;
  }
  .app {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 850px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
    min-height: 900px;
  }
  .sidebar {
    display: none;
  }
  .topbar {
    margin: 0 22px;
    height: 57px;
  }
  .breadcrumb .home-icon,
  .breadcrumb .slash {
    display: none;
  }
  .breadcrumb strong {
    font:
      600 18px Georgia,
      serif;
  }
  .breadcrumb strong::before {
    content: "Timeleaf";
  }
  .breadcrumb strong span {
    display: none;
  }
  .breadcrumb::after {
    content: "时光手帐";
    font-size: 10px;
    letter-spacing: 2px;
  }
  .page-heading {
    margin: 22px 22px 21px;
  }
  .content {
    padding-left: 22px;
    padding-right: 22px;
  }
  .mobile-create {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    padding: 7px 12px;
    color: white;
    border-radius: 7px;
    font-size: 11px;
  }
  .mobile-create svg {
    width: 13px;
    height: 13px;
  }
  .local-status {
    display: none;
  }
  .leaf-note {
    font-size: 12px;
  }
}
@media (max-width: 540px) {
  .app {
    min-height: 875px;
    border-radius: 11px;
  }
  .topbar {
    margin: 0 14px;
  }
  .breadcrumb {
    gap: 7px;
  }
  .breadcrumb::after {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions .connect-trigger {
    display: none;
  }
  .mobile-create {
    font-size: 10px;
    padding: 7px 9px;
  }
  .page-heading {
    margin: 21px 14px 19px;
  }
  h1 {
    font-size: 21px;
  }
  .subheading {
    font-size: 10px;
  }
  .leaf-note {
    display: none;
  }
  .content {
    padding-left: 12px;
    padding-right: 12px;
  }
  .toolbar {
    gap: 5px;
    margin-bottom: 13px;
  }
  .date-label {
    font-size: 13px;
  }
  .week-tag {
    display: none;
  }
  .view-tab {
    padding: 4px 6px;
    min-width: 25px;
    font-size: 9px;
  }
  .today-btn {
    padding: 4px 7px;
  }
  .week-header,
  .week-body {
    grid-template-columns: 34px repeat(3, minmax(0, 1fr));
  }
  .day-heading {
    padding-top: 9px;
  }
  .hour-label {
    right: 5px;
    font-size: 7px;
  }
  .timezone {
    font-size: 6px;
  }
  .event-title {
    font-size: 10px;
  }
  .calendar-footer {
    font-size: 8px;
  }
  .calendar-footer .shortcut-hint {
    display: none;
  }
  .event-dialog {
    margin: 12px auto;
    max-height: calc(100% - 24px);
  }
  .month-cell {
    min-height: 84px;
  }
  .month-event {
    font-size: 8px;
    padding: 2px;
  }
  .month-more {
    font-size: 7px;
  }
  .list-view {
    padding-left: 12px;
    padding-right: 12px;
  }
  .list-item {
    gap: 8px;
  }
  .list-item .list-time {
    width: 71px;
    font-size: 9px;
  }
  .list-item strong {
    font-size: 11px;
  }
  .list-item small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Timeleaf workspace: daily planning, linked tasks, and reflection. */
.app {
  min-height: 980px;
}
.sidebar {
  padding-top: 29px;
}
.sidebar .create {
  margin-top: 29px;
  margin-bottom: 21px;
}
.section-caption {
  padding: 0 12px;
  margin: 28px 0 10px;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #a0a890;
}
.project-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 11px;
  text-align: left;
  color: #79866f;
  border-radius: 7px;
}
.project-item:hover,
.project-item.chosen {
  background: #e9ede1;
}
.project-dot {
  width: 7px;
  height: 7px;
  background: var(--project-color);
  border-radius: 3px;
  flex-shrink: 0;
}
.project-item small {
  margin-left: auto;
  color: #a6ae97;
  font-size: 9px;
}
.nav-count {
  font: 9px var(--font-sans);
  margin-left: auto;
  color: #94a184;
  padding: 1px 5px;
  border-radius: 4px;
  background: #e8eddf;
}
.nav-separator {
  height: 1px;
  background: #e4e8db;
  margin: 16px 10px;
}
.sidebar-bottom {
  padding-top: 23px;
}
.mini {
  margin-top: 23px;
  margin-bottom: 23px;
}
.topbar {
  margin: 0 32px;
}
.top-actions .review-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-size: 10px;
  color: #869679;
}
.top-actions .review-top svg {
  width: 14px;
  height: 14px;
}
.mobile-nav {
  display: none;
}
.page-heading {
  margin: 30px 32px 26px;
}
.page-heading h1 {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.5;
}
.page-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 2.2px;
}
.page-heading .subheading {
  font-size: 11px;
  margin-top: 7px;
}
.heading-action {
  border: 1px solid #e2e8d9;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #899a79;
}
.heading-action svg {
  width: 14px;
  height: 14px;
}
.heading-action:hover {
  background: #f0f4e8;
}
.today-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(265px, 0.78fr);
  gap: 29px;
  padding: 0 32px 30px;
  align-items: start;
}
.daily-main {
  min-width: 0;
}
.day-metrics {
  display: flex;
  gap: 0;
  padding: 0 0 23px;
  margin-bottom: 21px;
  border-bottom: 1px solid var(--border);
}
.metric {
  flex: 1;
  padding-left: 22px;
  border-left: 1px solid #e8ecdf;
}
.metric:first-child {
  padding-left: 0;
  border-left: 0;
}
.metric-value {
  font-size: 24px;
  font-weight: 450;
  color: #536c43;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.metric-value small {
  font-size: 11px;
  color: #a4ae94;
  margin-left: 3px;
  font-weight: 400;
}
.metric-label {
  margin-top: 6px;
  font-size: 10px;
  color: #9ba58d;
}
.day-date {
  color: #a2ad94;
  font-size: 9px;
  letter-spacing: 0.4px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.section-title h2 {
  font-size: 13px;
  font-weight: 550;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title h2 svg {
  width: 14px;
  height: 14px;
  color: #97a383;
}
.section-title .section-hint {
  font-size: 9px;
  font-weight: 400;
  color: #a8af9c;
}
.section-title .text-button {
  color: #96a187;
  font-size: 10px;
  padding: 0;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 23px;
}
.focus-card {
  background: #f3f6ed;
  border: 1px solid #e6ecdc;
  padding: 14px 13px 11px;
  border-radius: 10px;
  min-width: 0;
  position: relative;
}
.focus-card:hover {
  border-color: #cad8bd;
}
.focus-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.focus-index {
  color: #a4b093;
  font:
    italic 20px/1 Georgia,
    serif;
}
.focus-top .icon-btn {
  height: 20px;
  width: 23px;
  color: #91a27d;
}
.focus-top .icon-btn svg {
  height: 13px;
  width: 13px;
  fill: #dbe5cd;
}
.focus-main {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.task-check {
  border: 1px solid #c9d2bd;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  margin-top: 2px;
  color: transparent;
  background: transparent;
}
.task-check svg {
  width: 10px;
  height: 10px;
  stroke-width: 2.4;
}
.task-check:hover {
  color: #87a070;
  border-color: #87a070;
  background: #eaf0e0;
}
.task-check.is-done {
  color: white;
  border-color: #96aa83;
  background: #96aa83;
}
.task-check.high {
  border-color: #be9b80;
}
.task-title-button {
  text-align: left;
  padding: 0;
  min-width: 0;
  flex: 1;
}
.focus-card .task-title {
  font-size: 12px;
  line-height: 1.7;
  min-height: 40px;
  display: block;
  color: #4d6840;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.task-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin-top: 6px;
  color: #a1aa95;
  font-size: 9px;
}
.task-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.task-meta svg {
  width: 10px;
  height: 10px;
}
.focus-card .task-meta {
  margin-top: 11px;
  font-size: 8px;
}
.focus-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 9px;
  color: #8e9f7b;
}
.schedule-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 5px;
  border-radius: 4px;
  color: #859873;
  font-size: 9px;
  white-space: nowrap;
}
.schedule-btn svg {
  width: 11px;
  height: 11px;
}
.schedule-btn:hover {
  background: #e4ecd8;
}
.focus-empty {
  min-height: 120px;
  border: 1px dashed #dce4d1;
  border-radius: 10px;
  color: #a5b095;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.focus-empty svg {
  width: 14px;
  height: 14px;
}
.task-section {
  margin-top: 21px;
}
.task-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0e6;
  min-width: 0;
}
.task-row .task-title {
  font-size: 12px;
  font-weight: 450;
  line-height: 1.7;
  color: #596d4c;
  overflow-wrap: anywhere;
}
.task-row:hover .task-title {
  color: var(--primary);
}
.task-row.is-done .task-title {
  text-decoration: line-through;
  color: #a3ad96;
}
.task-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  align-self: center;
}
.task-actions .icon-btn {
  width: 23px;
  height: 23px;
  color: #b0b9a4;
}
.task-actions .icon-btn svg {
  width: 12px;
  height: 12px;
}
.task-actions .icon-btn.pinned {
  color: #94a779;
}
.task-actions .icon-btn.pinned svg {
  fill: #e0e8d6;
}
.drag-grip {
  color: #c5cdbb;
  width: 12px;
  cursor: grab;
  align-self: center;
}
.drag-grip svg {
  width: 12px;
  height: 15px;
}
.task-row.dragging,
.focus-card.dragging {
  opacity: 0.4;
}
.task-meta .due-soon {
  color: #b08d68;
}
.task-meta .overdue-text {
  color: #b17e6e;
}
.task-meta .planned-chip {
  color: #8b9f78;
  background: #f0f4e8;
  padding: 1px 4px;
  border-radius: 3px;
}
.quick-add {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 15px 0 0;
  background: #f9faf5;
  border: 1px solid #e9ede0;
  border-radius: 8px;
  padding: 10px 12px;
}
.quick-add svg {
  width: 14px;
  height: 14px;
  color: #99aa86;
}
.quick-add input {
  background: transparent;
  border: none;
  flex: 1;
  min-width: 0;
  color: #69805a;
  font-size: 11px;
  padding: 2px 0;
  outline: none;
}
.quick-add input::placeholder {
  color: #a8b29b;
}
.quick-add button {
  color: #9eab8b;
  font-size: 9px;
  padding: 2px 3px;
}
.overdue-notice {
  border-radius: 7px;
  background: #faf4eb;
  margin: 0 0 21px;
  color: #aa9275;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.overdue-notice span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.overdue-notice svg {
  width: 12px;
  height: 12px;
}
.overdue-notice button {
  font-size: 9px;
  color: #aa9275;
  white-space: nowrap;
}
.completed-details {
  margin-top: 19px;
}
.completed-details > summary {
  cursor: pointer;
  font-size: 10px;
  color: #a7b098;
  list-style: none;
  display: flex;
  gap: 7px;
  align-items: center;
}
.completed-details > summary svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}
.completed-details[open] > summary svg {
  transform: rotate(180deg);
}
.planner-invite {
  background: #f4f5ef;
  border: 1px solid #e7ebdf;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}
.planner-invite > svg {
  color: #8a9d75;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.planner-invite strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #738667;
}
.planner-invite p {
  font-size: 9px;
  margin: 5px 0 10px;
  color: #a1ac93;
  line-height: 1.8;
}
.planner-invite button {
  padding: 0;
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: #718a5e;
}
.planner-invite button svg {
  width: 12px;
  height: 12px;
}
.soft-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 26px;
  font-size: 10px;
  color: #acb59f;
}
.soft-note svg {
  width: 16px;
  height: 20px;
  stroke-width: 1.2;
}
.timeline-card {
  border: 1px solid #e5eadd;
  border-radius: 12px;
  overflow: hidden;
  background: #fdfef9;
}
.timeline-head {
  padding: 16px 16px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9eddf;
}
.timeline-head h2 {
  font-size: 12px;
  font-weight: 550;
  margin: 0;
}
.timeline-head small {
  color: #a4ae95;
  font-size: 9px;
}
.timeline-head .icon-btn {
  width: 23px;
  height: 23px;
}
.timeline-head .icon-btn svg {
  width: 14px;
  height: 14px;
}
.today-timeline-scroll {
  max-height: 615px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e0e7d4 transparent;
  padding-right: 10px;
}
.today-time-grid {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
}
.today-time-grid .event {
  padding: 7px 10px;
  border-radius: 5px;
}
.today-time-grid .event-title {
  font-size: 11px;
}
.today-time-grid .event-time {
  font-size: 9px;
  margin-top: 3px;
}
.today-time-grid .day-column {
  border-left-color: #e6ecdc;
}
.timeline-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border-top: 1px solid #e9eddf;
  font-size: 9px;
  color: #a5af96;
}
.timeline-footer svg {
  width: 11px;
  height: 11px;
}
.timeline-caption {
  margin-top: 11px;
  font-size: 9px;
  color: #abb69b;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.event.completed {
  opacity: 0.6;
  filter: saturate(0.4);
}
.event.completed .event-title {
  text-decoration: line-through;
}
.tasks-workspace {
  padding: 0 32px 35px;
}
.task-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--border);
}
.task-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.task-tab {
  padding: 6px 10px;
  border-radius: 6px;
  color: #98a28a;
  font-size: 10px;
}
.task-tab:hover {
  background: #f3f6eb;
}
.task-tab.active {
  background: #eaf0e1;
  color: #64804f;
}
.project-select {
  margin-left: auto;
  border: 1px solid #e5eadb;
  background: transparent;
  border-radius: 6px;
  color: #94a186;
  padding: 5px 8px;
  max-width: 150px;
  font-size: 10px;
}
.task-group {
  margin-top: 24px;
}
.task-group-title {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #8c9a7e;
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 1px;
}
.task-group-title small {
  font-size: 9px;
  font-weight: 400;
  color: #b0b9a3;
}
.task-list-empty {
  padding: 60px 15px;
  text-align: center;
  color: #a4b095;
  font-size: 12px;
}
.task-list-empty svg {
  display: block;
  margin: 0 auto 12px;
  width: 28px;
  height: 28px;
  stroke-width: 1.1;
  color: #b5c1a8;
}
.task-list-empty p {
  font-size: 10px;
  color: #b0baa1;
}
.tasks-bottom-note {
  border-top: 1px dashed #e7ebdd;
  margin-top: 27px;
  padding-top: 15px;
  font-size: 10px;
  color: #a6b096;
}
.task-editor {
  width: 430px;
}
.task-editor .field > span {
  font-size: 10px;
}
.field-help {
  display: block;
  font-size: 9px;
  color: #a7b299;
  margin-top: 6px;
}
.task-priority {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8d9e7c;
  font-size: 11px;
  margin: 8px 0 5px;
}
.task-priority input {
  accent-color: var(--primary);
}
.form-section-label {
  font-size: 10px;
  color: #a3ae95;
  margin: 17px 0 13px;
  padding-top: 16px;
  border-top: 1px solid #e9edde;
}
.task-sessions {
  font-size: 10px;
  color: #99a88a;
  margin-top: 15px;
  line-height: 1.9;
}
.task-sessions button {
  color: #819b6e;
  font-size: 10px;
  margin-left: 5px;
}
.schedule-dialog {
  width: 390px;
}
.schedule-task-label {
  padding: 13px 15px;
  background: #f2f6e9;
  border: 1px solid #e5ecd9;
  color: #70845f;
  font-size: 12px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.suggest-dialog {
  width: 520px;
}
.suggest-explainer {
  font-size: 11px;
  color: #95a486;
  line-height: 1.9;
  margin: 0 0 16px;
}
.suggestion {
  border: 1px dashed #b9c9a6;
  border-left: 3px solid #a8bd92;
  background: #f6f9ef;
  border-radius: 7px;
  margin: 10px 0;
  padding: 12px 13px;
}
.suggestion strong {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: #657d53;
}
.suggestion span {
  display: block;
  font-size: 10px;
  color: #9cab8b;
  margin-top: 5px;
}
.review-dialog {
  width: 540px;
}
.review-date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  gap: 10px;
}
.review-date-row input {
  border: 1px solid #e4eadb;
  border-radius: 6px;
  background: #fafcf4;
  color: #8a9c79;
  padding: 6px 9px;
  font-size: 11px;
}
.review-date-row span {
  font-size: 9px;
  color: #a9b39a;
}
.review-summary {
  background: #f4f7ee;
  border: 1px solid #e7eddd;
  border-radius: 9px;
  padding: 14px 15px;
  margin-bottom: 19px;
}
.review-summary strong {
  color: #778d65;
  font-size: 11px;
  font-weight: 500;
}
.review-summary ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.review-summary li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #9cab8c;
  margin: 6px 0;
}
.review-summary li svg {
  width: 11px;
  height: 11px;
}
.mood-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 17px;
  flex-wrap: wrap;
}
.mood-row > span {
  color: #a1ad93;
  font-size: 10px;
  margin-right: 6px;
}
.mood {
  border: 1px solid #e5ebda;
  border-radius: 15px;
  padding: 4px 10px;
  font-size: 10px;
  color: #99a88b;
}
.mood.active {
  background: #edf3e4;
  border-color: #c9d7b9;
  color: #789367;
}
.review-dialog textarea {
  min-height: 150px;
  line-height: 1.9;
}
.toast {
  display: flex;
  align-items: center;
  gap: 17px;
  z-index: 1000;
}
.toast button {
  font-size: 11px;
  color: #d4e3c6;
  padding: 0 0 0 12px;
  border-left: 1px solid #73916a;
  white-space: nowrap;
}
.reference-links {
  padding-left: 16px;
  font-size: 11px;
}
.reference-links li {
  margin: 12px 0;
}
.reference-links a {
  color: #6e8b59;
  text-underline-offset: 3px;
}
@media (min-width: 1550px) {
  .today-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 40px;
  }
  .task-row .task-title {
    font-size: 13px;
  }
  .focus-card .task-title {
    font-size: 14px;
  }
  .focus-card {
    padding: 18px;
  }
}
@media (max-width: 1210px) {
  .today-layout {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.85fr);
  }
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .focus-card {
    padding: 12px;
  }
  .focus-main .task-title {
    min-height: 0;
  }
  .focus-top {
    margin-bottom: 8px;
  }
  .focus-bottom {
    margin-top: 7px;
  }
  .focus-card .task-meta {
    margin-top: 6px;
  }
  .focus-empty {
    min-height: 75px;
  }
  .task-actions .task-pin {
    display: none;
  }
}
@media (max-width: 1000px) and (min-width: 851px) {
  .app {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand {
    gap: 7px;
  }
  .brand-name {
    font-size: 23px;
  }
  .brand-mark {
    width: 29px;
  }
  .today-layout {
    padding-left: 22px;
    padding-right: 22px;
    gap: 17px;
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .page-heading,
  .topbar {
    margin-left: 22px;
    margin-right: 22px;
  }
  .metric {
    padding-left: 12px;
  }
  .metric-value {
    font-size: 20px;
  }
  .task-actions .schedule-btn {
    font-size: 0;
    gap: 0;
  }
  .task-actions .schedule-btn svg {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 850px) {
  .app {
    min-height: 980px;
  }
  .topbar {
    margin: 0 22px;
  }
  .breadcrumb strong::before {
    content: "Timeleaf";
  }
  .breadcrumb strong span {
    display: none;
  }
  .breadcrumb::after {
    content: "时光手帐";
  }
  .mobile-nav {
    display: flex;
    gap: 5px;
    margin: 15px 22px 0;
    padding: 4px;
    background: #f1f4e9;
    border-radius: 8px;
    width: fit-content;
  }
  .mobile-nav button {
    font-size: 10px;
    padding: 6px 15px;
    color: #99a68b;
    border-radius: 5px;
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .mobile-nav svg {
    width: 12px;
    height: 12px;
  }
  .mobile-nav button.active {
    background: var(--card);
    color: #6f875c;
    box-shadow: 0 1px 4px #2637250a;
  }
  .page-heading {
    margin: 23px 22px 24px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .today-layout {
    padding-left: 22px;
    padding-right: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(255px, 0.85fr);
    gap: 22px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .focus-card {
    padding: 11px 12px;
  }
  .focus-top {
    margin-bottom: 7px;
  }
  .focus-index {
    font-size: 17px;
  }
  .focus-bottom {
    margin-top: 7px;
  }
  .focus-card .task-title {
    min-height: 0;
    font-size: 12px;
  }
  .focus-card .task-meta {
    margin-top: 5px;
  }
  .metric {
    padding-left: 15px;
  }
  .metric-value {
    font-size: 22px;
  }
  .top-actions .review-top {
    display: none;
  }
  .tasks-workspace {
    padding: 0 22px 30px;
  }
  .today-time-grid .event-title {
    font-size: 10px;
  }
}
@media (max-width: 640px) {
  .today-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .focus-card .task-title {
    min-height: 40px;
    font-size: 11px;
  }
  .today-timeline-scroll {
    max-height: 470px;
  }
  .page-heading .heading-action {
    padding: 7px 9px;
    font-size: 9px;
    white-space: nowrap;
  }
  .heading-action svg {
    width: 12px;
    height: 12px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .timeline-caption {
    font-size: 8px;
  }
  .today-time-grid .event-title {
    font-size: 11px;
  }
  .task-actions .task-pin {
    display: inline-flex;
  }
  .project-select {
    margin-left: 0;
  }
}
@media (max-width: 540px) {
  .topbar {
    margin: 0 14px;
  }
  .mobile-nav {
    margin-left: 14px;
    margin-right: 14px;
  }
  .mobile-nav button {
    padding: 6px 12px;
    font-size: 9px;
  }
  .page-heading {
    margin: 22px 14px;
    gap: 9px;
  }
  .today-layout {
    padding: 0 14px 25px;
  }
  .tasks-workspace {
    padding-left: 14px;
    padding-right: 14px;
  }
  .page-heading .subheading {
    font-size: 10px;
  }
  .page-heading .heading-action {
    border: none;
    padding: 4px;
  }
  .page-heading .heading-action span {
    display: none;
  }
  .page-heading .heading-action svg {
    width: 18px;
    height: 18px;
  }
  .focus-card {
    padding: 11px;
  }
  .focus-card .task-meta {
    gap: 5px;
  }
  .focus-card .task-meta .due-meta {
    display: none;
  }
  .task-tabs {
    gap: 2px;
  }
  .task-tab {
    padding: 6px 8px;
    font-size: 9px;
  }
  .task-row .task-title {
    font-size: 12px;
  }
  .focus-bottom {
    font-size: 8px;
  }
  .focus-bottom .schedule-btn {
    font-size: 8px;
  }
  .focus-index {
    font-size: 17px;
  }
  .planner-invite {
    margin-top: 20px;
  }
  .soft-note {
    margin-top: 18px;
  }
  .task-toolbar {
    gap: 9px;
  }
  .task-meta {
    font-size: 8px;
  }
  .task-actions {
    gap: 0;
  }
  .drag-grip {
    display: none;
  }
  .review-dialog .dialog-form,
  .task-editor .dialog-form {
    padding-left: 20px;
    padding-right: 20px;
  }
  .task-dialog {
    max-width: calc(100% - 20px);
  }
  .task-priority {
    font-size: 10px;
  }
}

body {
  background: #f6f7f2;
}
.app {
  max-width: 1800px;
  margin: auto;
}
.auth-page {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  min-height: 760px;
  max-width: 1160px;
  margin: 50px auto;
  background: #fffefa;
  border: 1px solid #e4e9da;
  border-radius: 20px;
  overflow: hidden;
}
.auth-story {
  padding: 70px 52px;
  background: #edf2e5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-leaf {
  width: 65px;
  height: 85px;
  color: #7d9870;
  margin-bottom: 25px;
}
.auth-story .brand-name {
  font-size: 38px;
  color: #3f6245;
}
.auth-story .brand-cn {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 5px;
}
.auth-story h1 {
  font-size: 23px;
  line-height: 1.9;
  margin-top: 65px;
}
.auth-story p {
  color: #95a486;
  font-size: 12px;
  line-height: 2;
}
.auth-story > span {
  margin-top: 48px;
  color: #a8b39b;
  font-size: 9px;
  letter-spacing: 2px;
}
.auth-panel {
  padding: 70px 55px;
  align-self: center;
}
.auth-panel h2 {
  font-size: 24px;
  font-weight: 500;
  color: #4c6840;
  margin: 10px 0;
}
.auth-panel > p {
  font-size: 11px;
  color: #a1ae94;
  line-height: 1.9;
  margin: 0 0 30px;
}
.auth-panel .primary-btn {
  width: 100%;
  margin-top: 10px;
}
.auth-toggle {
  font-size: 11px;
  color: #91a47f;
  margin-top: 23px;
  padding: 0;
  display: block;
}
.auth-help {
  display: block;
  color: #a7b49a;
  font-size: 10px;
  margin-top: 35px;
  text-decoration: none;
}
.saving-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: #fffffc70;
  display: grid;
  place-items: center;
  color: #66834e;
  font-size: 13px;
  cursor: wait;
}
.keys-dialog {
  width: 590px;
}
.endpoint {
  padding: 13px 15px;
  border: 1px solid #e4ead8;
  border-radius: 8px;
  background: #f5f8ee;
  margin-bottom: 20px;
}
.endpoint span {
  display: block;
  font-size: 9px;
  color: #9aa98c;
  margin: 5px 0;
}
.endpoint code {
  font: 11px var(--font-mono);
  color: #6d8759;
  overflow-wrap: anywhere;
}
.key-entry {
  border-bottom: 1px solid #e9edde;
  padding: 13px 0;
  position: relative;
}
.key-entry strong {
  font-size: 12px;
  font-weight: 500;
  color: #778d64;
  display: block;
}
.key-entry small {
  font-size: 9px;
  color: #a6b297;
  display: block;
  line-height: 1.9;
  padding-right: 55px;
  overflow-wrap: anywhere;
}
.key-entry .delete-btn {
  position: absolute;
  top: 13px;
  right: 0;
  font-size: 9px;
}
.new-key-result {
  padding: 15px;
  background: #eff5e4;
  border: 1px solid #dce8ca;
  border-radius: 9px;
  margin-top: 20px;
}
.new-key-result strong {
  font-size: 11px;
  color: #7f986a;
  display: block;
}
.new-key-result input {
  display: block;
  width: 100%;
  padding: 9px;
  margin: 10px 0;
  background: #fffefa;
  border: 1px solid #dfe7d2;
  border-radius: 5px;
  color: #617c4e;
  font: 11px var(--font-mono);
}
.repeat-settings {
  padding: 14px 12px;
  margin: 0 0 15px;
  background: #f7f9f2;
  border: 1px solid #e9edde;
  border-radius: 8px;
}
.repeat-settings .field {
  margin-bottom: 10px;
}
.repeat-settings .series-editor {
  font-size: 10px;
  padding: 6px 9px;
  margin-top: 9px;
}
.task-sessions svg {
  width: 11px;
  height: 11px;
  vertical-align: -2px;
}
.week-allday {
  display: grid;
  grid-template-columns: 43px repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid #e8eddd;
  font-size: 8px;
  color: #a2af93;
}
.week-allday > span {
  padding: 7px 3px;
  text-align: center;
}
.week-allday > div {
  padding: 4px 2px;
  border-left: 1px solid #edf0e5;
  min-width: 0;
}
.week-allday button {
  width: 100%;
  display: block;
  font-size: 8px;
  border-radius: 3px;
  padding: 3px 4px;
  background: var(--event-bg);
  color: var(--event-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.all-day-band {
  padding: 8px 12px;
  background: #f6f9ef;
  border-bottom: 1px solid #e7edde;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.all-day-band button {
  font-size: 10px;
  color: #8da476;
  background: #eaf1df;
  padding: 4px 8px;
  border-radius: 5px;
}
body[data-busy="true"] .app {
  pointer-events: none;
}
.field input[type="color"] {
  height: 42px;
  padding: 4px;
}
.info-body a {
  color: #789661;
}
.task-check {
  transition: background 0.12s;
}
.today-time-grid .event-title {
  font-size: 12px;
}
.task-row .task-title {
  font-size: 13px;
}
.task-meta {
  font-size: 10px;
}
.focus-card .task-title {
  font-size: 13px;
}
@media (max-width: 750px) {
  .auth-page {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 18px 14px;
    min-height: 650px;
  }
  .auth-story {
    padding: 30px 28px;
    position: relative;
  }
  .auth-story .auth-leaf {
    position: absolute;
    right: 30px;
    top: 25px;
    width: 35px;
    height: 50px;
  }
  .auth-story .brand-name {
    font-size: 30px;
  }
  .auth-story .brand-cn {
    font-size: 10px;
  }
  .auth-story h1,
  .auth-story p,
  .auth-story > span {
    display: none;
  }
  .auth-panel {
    padding: 34px 28px 40px;
  }
  .auth-panel h2 {
    font-size: 22px;
  }
  .today-time-grid .event-title {
    font-size: 11px;
  }
  .task-meta {
    font-size: 9px;
  }
}
@media (max-width: 540px) {
  .week-allday {
    grid-template-columns: 34px repeat(3, minmax(0, 1fr));
  }
  .task-row .task-title {
    font-size: 12px;
  }
  .focus-card .task-title {
    font-size: 12px;
  }
}

.toast.visible {
  pointer-events: auto;
}
