:root {
  --bg-1: #f4f8ee;
  --bg-2: #e6efdd;
  --card: #ffffff;
  --olive: #7b9552;
  --olive-dark: #5f743f;
  --olive-soft: #dbe6cd;
  --text: #1f2a1a;
  --muted: #66745e;
  --line: #d2ddc8;
  --danger: #8d3d3d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(74, 92, 55, 0.15);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, #ffffff 0%, transparent 60%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2));
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.app-shell {
  width: min(1380px, calc(100% - 2rem));
  margin: 1rem auto 2rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid #d2ddc8;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 241, 0.96));
  box-shadow: 0 8px 24px rgba(69, 90, 56, 0.08);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.topbar-avatar-wrap {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(145deg, #d8e4cc, #edf4e6);
  box-shadow: inset 0 0 0 1px rgba(123, 149, 82, 0.18);
}

.topbar-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.topbar-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.dock-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.eyebrow {
  margin: 0;
  color: #6b7f5d;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 800;
}

.app-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.week-label {
  margin: 0;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

button,
.file-label {
  border: none;
  background: var(--olive);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: 600 0.85rem "Sora", sans-serif;
  cursor: pointer;
}

button:hover,
.file-label:hover {
  background: var(--olive-dark);
}

.outline {
  background: transparent;
  border: 1px solid var(--olive);
  color: var(--olive-dark);
}

.outline:hover {
  background: #edf3e6;
}

.has-inline-undo-anchor {
  position: relative;
}

.inline-undo-btn {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 6;
  padding: 0.3rem 0.62rem;
  font-size: 0.7rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
}

.active-view {
  background: #eaf4df;
  border-color: #95b56b;
  color: #3f5f2c;
}

.danger {
  background: #a54343;
}

.danger:hover {
  background: var(--danger);
}

.danger-outline {
  border-color: #a54343;
  color: #a54343;
}

.danger-outline:hover {
  background: #f7ecec;
}

.file-label input {
  display: none;
}

.user-badge {
  background: #edf4e7;
  border: 1px solid #c8d8b8;
  color: #48603c;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: 600 0.8rem "Sora", sans-serif;
}

.live-status {
  background: #e7f5e3;
  border: 1px solid #b9dcae;
  color: #32653a;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font: 700 0.75rem "Sora", sans-serif;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.main-week-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.95rem;
}

.view-subnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  padding: 0.3rem;
  border: 1px solid #d3dfc8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  box-shadow: var(--shadow);
}

.kpi p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.kpi strong {
  display: block;
  font: 700 1.3rem "Sora", sans-serif;
  margin-top: 0.3rem;
}

.layout {
  display: block;
}

.planner-panel {
  min-width: 0;
}

.planner-panel.view-switching {
  will-change: transform, opacity, filter;
}

#planner-week-view h2,
#planner-focus-view h2,
#planner-month-view h2,
#planner-habits-view h2,
#planner-places-view h2,
#planner-people-view h2 {
  margin-bottom: 0.55rem;
}

#planner-focus-view,
#planner-month-view,
#planner-habits-view,
#planner-places-view,
#planner-people-view {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem;
}

.focus-panel {
  display: grid;
  gap: 0.7rem;
}

.focus-head h2 {
  margin: 0;
}

.focus-head p {
  margin: 0.2rem 0 0;
  color: #5f7353;
  font: 500 0.82rem "IBM Plex Sans", sans-serif;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.focus-card {
  border: 1px solid #d7e4cb;
  border-radius: 12px;
  background: #fff;
  padding: 0.58rem 0.62rem;
}

.focus-card-today {
  grid-column: 1 / -1;
}

.focus-card h3 {
  margin: 0 0 0.38rem;
  color: #23331f;
  font: 700 0.84rem "Sora", sans-serif;
}

.focus-card h4 {
  margin: 0 0 0.28rem;
  color: #335126;
  font: 700 0.74rem "Sora", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.focus-card ul.focus-kv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.focus-card ul.focus-kv-list > li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.35rem;
  align-items: start;
  border: 1px solid #e1ead8;
  border-radius: 8px;
  background: #fbfdf8;
  padding: 0.24rem 0.32rem;
}

.focus-card ul.focus-kv-list > li span {
  color: #5f7253;
  font: 700 0.67rem "Sora", sans-serif;
}

.focus-card ul.focus-kv-list > li strong {
  color: #23331f;
  font: 600 0.76rem "IBM Plex Sans", sans-serif;
}

.focus-card ul.focus-kv-list > li.calendar-empty {
  display: block;
}

.focus-signal-list {
  list-style: disc;
  padding-left: 1.05rem;
  margin: 0;
  display: grid;
  gap: 0.34rem;
}

.focus-signal-list li {
  display: list-item;
  border: 1px solid #e1ead8;
  border-radius: 8px;
  background: #fbfdf8;
  padding: 0.32rem 0.38rem;
  color: #23331f;
  font: 500 0.78rem "IBM Plex Sans", sans-serif;
  line-height: 1.34;
}

.focus-day-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.focus-day-detail-grid section {
  border: 1px solid #e1ead8;
  border-radius: 9px;
  background: #fbfdf8;
  padding: 0.38rem 0.4rem;
}

.focus-day-note {
  margin: 0;
  color: #2b3f23;
  font: 500 0.78rem "IBM Plex Sans", sans-serif;
  line-height: 1.32;
}

.focus-task-editor {
  display: grid;
  gap: 0.42rem;
}

.focus-task-editor .add-task-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.focus-task-editor .add-task-row .new-task-text {
  min-height: 42px;
  font: 600 0.95rem "IBM Plex Sans", sans-serif;
  border-color: #cad8bc;
  background: #fcfef9;
}

.focus-task-editor .add-task-row .add-task-btn {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #7b9552;
  background: #7b9552;
  color: #fff;
  font: 800 1.35rem/1 "Sora", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.focus-task-editor .add-task-row .add-task-btn:hover {
  background: #6c8448;
  border-color: #6c8448;
}

.focus-task-list {
  min-height: 96px;
  max-height: 230px;
  overflow: auto;
  display: grid;
  gap: 0.42rem;
  align-content: start;
}

.focus-task-list .task-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.52rem;
  padding: 0.44rem 0.5rem;
  min-height: 42px;
  border-color: #cad9bd;
  background: #f8fcef;
}

.focus-task-list .task-item label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.focus-task-list .task-item .task-done {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.focus-task-list .task-item .task-text {
  color: #2a3f22;
  font: 600 0.94rem "IBM Plex Sans", sans-serif;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
}

.focus-task-list .task-item.done .task-text {
  color: #5e7251;
}

.focus-task-list .task-item .delete-task {
  align-self: center;
  justify-self: end;
}

.focus-task-list .focus-task-item .drag-handle {
  display: none;
}

.focus-task-list .calendar-empty {
  border: 1px dashed #d5e0ca;
  border-radius: 10px;
  padding: 0.52rem 0.58rem;
  color: #6d7f61;
  font: 600 0.82rem "IBM Plex Sans", sans-serif;
}

.strategic-insights {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.key-actions-panel {
  border: 1px solid #d7e4cb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(69, 90, 56, 0.09);
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.8rem;
}

.key-actions-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.key-actions-head h2 {
  margin: 0;
  font-size: 1rem;
}

.key-actions-subtitle {
  margin: 0.2rem 0 0;
  color: #6d8062;
  font: 500 0.76rem "IBM Plex Sans", sans-serif;
}

.key-actions-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.key-actions-meta span {
  color: #587048;
  font: 700 0.72rem "Sora", sans-serif;
}

.key-actions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.key-action-row {
  display: grid;
  grid-template-columns: 26px 1fr 150px 28px;
  align-items: center;
  gap: 0.36rem;
  border: 1px solid #d7e4cb;
  border-radius: 9px;
  background: #fbfdf8;
  padding: 0.28rem 0.34rem;
}

.key-action-row.is-done {
  opacity: 0.72;
}

.key-action-done-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.key-action-title,
.key-action-deadline {
  border: 1px solid #cadabf;
  border-radius: 8px;
  background: #fff;
  color: #24331f;
  padding: 0.34rem 0.42rem;
  font: 500 0.8rem "IBM Plex Sans", sans-serif;
}

.key-action-row.is-done .key-action-title {
  text-decoration: line-through;
}

.key-action-remove {
  border: 1px solid #e2c4c4;
  background: #fff7f7;
  color: #8f4444;
  border-radius: 8px;
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 0.9rem/1 "Sora", sans-serif;
}

.key-action-remove:hover {
  background: #fceaea;
}

.whatsapp-panel {
  border: 1px solid #d7e4cb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(69, 90, 56, 0.09);
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.8rem;
}

.whatsapp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.whatsapp-head h2 {
  margin: 0;
  font-size: 1rem;
}

.whatsapp-day-picker {
  display: grid;
  gap: 0.2rem;
  color: #587048;
  font: 700 0.72rem "Sora", sans-serif;
}

.whatsapp-day-picker select {
  min-width: 188px;
  border: 1px solid #cadabf;
  border-radius: 8px;
  background: #fff;
  color: #24331f;
  padding: 0.34rem 0.42rem;
  font: 500 0.8rem "IBM Plex Sans", sans-serif;
}

.whatsapp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.whatsapp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #d7e4cb;
  border-radius: 9px;
  background: #fbfdf8;
  padding: 0.36rem 0.42rem;
}

.whatsapp-person {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.whatsapp-person strong {
  color: #24331f;
  font: 700 0.8rem "Sora", sans-serif;
}

.whatsapp-person span {
  color: #6d8062;
  font: 500 0.76rem "IBM Plex Sans", sans-serif;
}

.whatsapp-status {
  justify-self: start;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font: 700 0.67rem "Sora", sans-serif;
}

.whatsapp-status.pending {
  color: #8a6a2b;
  background: #fff7e7;
  border: 1px solid #efd7a9;
}

.whatsapp-status.sent {
  color: #3e6e3c;
  background: #eff8eb;
  border: 1px solid #cce1c0;
}

.whatsapp-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.strategic-card {
  border: 1px solid #d7e4cb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(69, 90, 56, 0.1);
  padding: 0.65rem 0.72rem;
}

.strategic-card h3,
.strategic-card h4 {
  margin: 0 0 0.45rem;
}

.strategic-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: #23331f;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.strategic-toggle h3 {
  margin: 0;
  color: #23331f;
}

.strategic-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.34rem;
  margin-left: 0.3rem;
  border-radius: 999px;
  background: #e9f3de;
  border: 1px solid #b8cea2;
  color: #3f5e2b;
  font: 700 0.72rem "Sora", sans-serif;
}

.strategic-toggle-icon {
  color: #607553;
  font: 700 0.9rem "Sora", sans-serif;
}

.strategic-body {
  margin-top: 0.48rem;
}

.strategic-subtitle {
  margin: 0 0 0.45rem;
  color: #6f8164;
  font: 500 0.78rem "IBM Plex Sans", sans-serif;
}

.strategic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.strategic-row {
  display: grid;
  grid-template-columns: 46px 64px 1fr;
  gap: 0.35rem;
  align-items: start;
  border: 1px solid #d7e4cb;
  border-radius: 8px;
  background: #fbfdf8;
  padding: 0.28rem 0.4rem;
}

.strategic-date {
  color: #4f6b44;
  font: 700 0.7rem "Sora", sans-serif;
}

.strategic-type {
  color: #6f8164;
  font: 600 0.7rem "Sora", sans-serif;
}

.strategic-text {
  color: #23331f;
  font: 600 0.8rem "IBM Plex Sans", sans-serif;
}

.strategic-decision {
  border: 1px solid #d7e4cb;
  border-radius: 8px;
  background: #fff;
  padding: 0.28rem 0.42rem;
  color: #263a21;
  font: 600 0.78rem "IBM Plex Sans", sans-serif;
}

.strategic-decision span {
  display: inline-block;
  margin-right: 0.45rem;
  color: #6f8164;
  font: 700 0.68rem "Sora", sans-serif;
}

.strategic-decision.pending {
  border-color: #efc289;
  background: #fff8ee;
}

.strategic-decision.decided {
  border-color: #b8d8a2;
  background: #f4fbef;
}

.decision-assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.decision-assistant-head h4 {
  margin: 0;
}

.decision-assistant-list {
  margin-bottom: 0.55rem;
}

.decision-item {
  list-style: none;
}

.decision-open-btn {
  width: 100%;
  border: 1px solid #d7e4cb;
  border-radius: 10px;
  background: #fbfdf8;
  color: #23331f;
  padding: 0.44rem 0.5rem;
  text-align: left;
  display: grid;
  gap: 0.2rem;
}

.decision-open-btn:hover {
  border-color: #c3d9b0;
  background: #f5faef;
}

.decision-title {
  font: 700 0.82rem "Sora", sans-serif;
  color: #1f2f1a;
}

.decision-meta-line {
  color: #5f7454;
  font: 600 0.72rem "IBM Plex Sans", sans-serif;
}

.decision-pill-row {
  display: flex;
  gap: 0.28rem;
  flex-wrap: wrap;
}

.decision-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d2dfc6;
  padding: 0.08rem 0.42rem;
  font: 700 0.64rem "Sora", sans-serif;
  color: #3b5231;
  background: #eef5e8;
}

.decision-pill.status-decided {
  background: #eaf7dc;
  border-color: #b7d79d;
}

.decision-pill.status-blocked {
  background: #fff2e8;
  border-color: #efbe9e;
}

.decision-pill.status-in_progress {
  background: #eef4ff;
  border-color: #b9ccef;
}

.decision-pill.status-to_decide {
  background: #f8f3e8;
  border-color: #dfcfaa;
}

.decision-pill.impact-high {
  background: #ffecec;
  border-color: #efb0b0;
}

.decision-pill.impact-medium {
  background: #fff5e8;
  border-color: #e8cb9a;
}

.decision-pill.impact-low {
  background: #edf8ef;
  border-color: #b9dcbf;
}

.decision-counts {
  color: #617657;
  font: 600 0.68rem "IBM Plex Sans", sans-serif;
}

.view-fade-enter {
  animation: viewFadeIn 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.view-enter-forward {
  animation-name: viewSlideForward;
}

.view-enter-backward {
  animation-name: viewSlideBackward;
}

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

@keyframes viewSlideForward {
  from {
    opacity: 0;
    transform: translateX(18px) translateY(6px) scale(0.988);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes viewSlideBackward {
  from {
    opacity: 0;
    transform: translateX(-18px) translateY(6px) scale(0.988);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
  }
}

.view-title-enter {
  animation: viewTitleMorph 250ms cubic-bezier(0.2, 0.7, 0.3, 1);
  transform-origin: left center;
}

.view-title-forward {
  animation-name: viewTitleMorphForward;
}

.view-title-backward {
  animation-name: viewTitleMorphBackward;
}

@keyframes viewTitleMorph {
  from {
    opacity: 0.5;
    letter-spacing: 0.02em;
    transform: translateY(-3px) scale(0.99);
  }
  to {
    opacity: 1;
    letter-spacing: 0;
    transform: translateY(0) scale(1);
  }
}

@keyframes viewTitleMorphForward {
  from {
    opacity: 0.48;
    letter-spacing: 0.02em;
    transform: translateX(10px) translateY(-2px) scale(0.99);
  }
  to {
    opacity: 1;
    letter-spacing: 0;
    transform: translateX(0) translateY(0) scale(1);
  }
}

@keyframes viewTitleMorphBackward {
  from {
    opacity: 0.48;
    letter-spacing: 0.02em;
    transform: translateX(-10px) translateY(-2px) scale(0.99);
  }
  to {
    opacity: 1;
    letter-spacing: 0;
    transform: translateX(0) translateY(0) scale(1);
  }
}

.tab-pop {
  animation: tabPop 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes tabPop {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-1px) scale(1.03);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.assistant-chat {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 55;
}

.assistant-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid #9dbb7a;
  background: #4f7a3e;
  color: #fff;
  padding: 0.52rem 0.74rem;
  font: 800 0.78rem "Sora", sans-serif;
  box-shadow: 0 12px 28px rgba(37, 56, 30, 0.32);
}

.assistant-toggle-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.assistant-popup {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.55rem);
  width: min(420px, calc(100vw - 1.2rem));
  background: #ffffff;
  border: 1px solid #d6e3ca;
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(38, 54, 31, 0.24);
  padding: 0.72rem;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.assistant-chat.is-expanded .assistant-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.habits-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.habits-view-head h2 {
  margin-bottom: 0;
}

.places-view-head {
  margin-bottom: 0.75rem;
}

.places-view-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.places-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.places-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.place-city-chip {
  border: 1px solid #cfe0c1;
  background: #f7fbf2;
  color: #365131;
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font: 700 0.74rem "Sora", sans-serif;
}

.place-city-chip .chip-count {
  border-radius: 999px;
  background: #edf4e4;
  border: 1px solid #d0e0c2;
  padding: 0.06rem 0.34rem;
  font-size: 0.68rem;
}

.place-city-chip.is-active {
  border-color: #9dbb7a;
  background: #e9f4dc;
  color: #2a4925;
}

.place-add-chip {
  border-style: dashed;
  background: #fdfefb;
  color: #4a6540;
}

.place-add-chip:hover {
  background: #f2f8ea;
}

.place-card {
  border: 1px solid #d5e1cb;
  border-radius: 12px;
  background: #fcfefb;
  overflow: hidden;
}

.place-card-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.58rem 0.72rem;
}

.place-title-wrap {
  min-width: 0;
}

.place-title {
  margin: 0;
  color: #24361f;
  font: 700 0.95rem "Sora", sans-serif;
}

.place-summary {
  margin: 0.2rem 0 0;
  color: #5e7251;
  font: 600 0.78rem "IBM Plex Sans", sans-serif;
}

.place-toggle-btn {
  white-space: nowrap;
  padding: 0.34rem 0.68rem;
  font-size: 0.72rem;
}

.place-delete-btn {
  white-space: nowrap;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  border: 1px solid #dcb8b8;
  background: #fff5f5;
  color: #8a4141;
  font: 700 0.72rem "Sora", sans-serif;
}

.place-delete-btn:hover {
  background: #fdeaea;
}

.place-card-body {
  border-top: 1px solid #e0e9d8;
  padding: 0.62rem 0.72rem;
  display: grid;
  gap: 0.58rem;
}

.place-field {
  display: grid;
  gap: 0.26rem;
}

.place-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.place-field span {
  color: #4b5f3e;
  font: 700 0.68rem "Sora", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.place-plus-btn {
  padding: 0.1rem 0.45rem;
  border-radius: 8px;
  border: 1px solid #c6d6b8;
  background: #f4f9ee;
  color: #4b6540;
  font: 700 0.9rem "Sora", sans-serif;
  line-height: 1.1;
}

.place-plus-btn:hover {
  background: #eaf3df;
}

.place-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.24rem;
}

.place-item-row {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.place-item-row input {
  width: 100%;
  border: 1px solid #d2dfc5;
  border-radius: 8px;
  background: #fff;
  color: #24331f;
  padding: 0.32rem 0.42rem;
  font: 500 0.8rem "IBM Plex Sans", sans-serif;
}

.place-item-row select {
  width: 100%;
  border: 1px solid #d2dfc5;
  border-radius: 8px;
  background: #fff;
  color: #24331f;
  padding: 0.32rem 0.42rem;
  font: 500 0.8rem "IBM Plex Sans", sans-serif;
}

.place-item-remove {
  border-radius: 7px;
  padding: 0.12rem 0.36rem;
  background: #fbf1f1;
  color: #8f4a4a;
  border: 1px solid #e8d0d0;
}

.place-item-remove:hover {
  background: #f5e2e2;
}

.place-item-empty {
  color: #7a8b6e;
  padding: 0.2rem 0.08rem;
  font: 500 0.78rem "IBM Plex Sans", sans-serif;
}

.people-grid {
  display: grid;
  gap: 0.45rem;
}

.people-toolbar {
  display: flex;
  justify-content: flex-start;
}

.people-list {
  display: grid;
  gap: 0.3rem;
}

.people-header {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 1fr 0.8fr 0.9fr auto;
  gap: 0.32rem;
  align-items: center;
  color: #4b5f3e;
  font: 700 0.66rem "Sora", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 0.22rem;
}

.person-row {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 1fr 0.8fr 0.9fr auto;
  gap: 0.32rem;
  align-items: center;
  border: 1px solid #d5e1cb;
  border-radius: 10px;
  background: #fcfefb;
  padding: 0.34rem;
}

.person-name-btn {
  width: 100%;
  border: 1px solid #d2dfc5;
  border-radius: 8px;
  background: #fff;
  color: #24331f;
  padding: 0.28rem 0.34rem;
  text-align: left;
  font: 600 0.76rem "IBM Plex Sans", sans-serif;
  cursor: pointer;
}

.person-name-btn:hover {
  border-color: #b8caab;
  background: #f7fbf3;
}

.person-cell {
  min-height: 30px;
  border: 1px solid #d2dfc5;
  border-radius: 8px;
  background: #fff;
  color: #24331f;
  padding: 0.28rem 0.34rem;
  display: flex;
  align-items: center;
  font: 500 0.76rem "IBM Plex Sans", sans-serif;
}

.person-row .place-delete-btn {
  padding: 0.24rem 0.5rem;
  font-size: 0.68rem;
}

.assistant-view-head {
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.assistant-view-head h2 {
  margin: 0;
  font-size: 1rem;
}

.assistant-subhead {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.assistant-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.assistant-tab {
  border: 1px solid #d4e2c7;
  border-radius: 999px;
  background: #f6faf1;
  color: #46603d;
  padding: 0.28rem 0.5rem;
  font: 800 0.73rem "Sora", sans-serif;
  cursor: pointer;
}

.assistant-tab.is-active {
  background: #4f7a3e;
  border-color: #4f7a3e;
  color: #fff;
}

.assistant-panel {
  display: none;
}

.assistant-panel.is-active {
  display: block;
}

.assistant-close {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9px;
  border: 1px solid #d4e2c7;
  background: #f8fbf4;
  color: #365131;
  font: 900 1rem/1 "Sora", sans-serif;
  cursor: pointer;
}

.assistant-log {
  border: 1px solid #d7e4cb;
  border-radius: 12px;
  background: #fbfdf8;
  min-height: 220px;
  max-height: 360px;
  overflow: auto;
  padding: 0.5rem;
  display: grid;
  gap: 0.45rem;
}

.assistant-msg {
  border: 1px solid #dbe7d2;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.42rem 0.5rem;
}

.assistant-msg.is-user {
  background: #eff7e7;
  border-color: #cfe2bc;
}

.assistant-role {
  margin: 0 0 0.14rem;
  color: #4c6541;
  font: 700 0.67rem "Sora", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.assistant-text {
  margin: 0;
  color: #23331f;
  white-space: pre-wrap;
  font: 500 0.82rem "IBM Plex Sans", sans-serif;
}

.assistant-form {
  margin-top: 0.56rem;
  display: flex;
  gap: 0.45rem;
}

.assistant-form input {
  width: 100%;
  border: 1px solid #cadabf;
  border-radius: 10px;
  background: #fff;
  color: #24331f;
  padding: 0.52rem 0.58rem;
  font: 500 0.84rem "IBM Plex Sans", sans-serif;
}

.slack-recent-panel {
  width: 100%;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.assistant-slack-panel .calendar-list {
  max-height: 312px;
  overflow: auto;
}

.slack-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.slack-recent-head h2 {
  margin: 0;
  font-size: 1rem;
}

.slack-recent-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.slack-recent-actions .outline {
  padding: 0.28rem 0.55rem;
  font-size: 0.74rem;
}

.slack-recent-updated {
  margin: 0 0 0.42rem;
  color: #5d7350;
  font: 600 0.7rem "IBM Plex Sans", sans-serif;
}

.slack-recent-details summary {
  list-style: none;
  cursor: pointer;
}

.slack-recent-details summary::-webkit-details-marker {
  display: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 39, 22, 0.32);
  z-index: 26;
}

.drawer-backdrop[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(390px, 90vw);
  z-index: 27;
  background: transparent;
  transition: transform 180ms ease;
  pointer-events: none;
}

.drawer-left {
  left: 0;
  transform: translateX(-102%);
}

.drawer-right {
  right: 0;
  transform: translateX(102%);
}

.drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}

.drawer .settings-panel,
.drawer .habits-panel {
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: -10px 0 30px rgba(32, 45, 23, 0.18);
  overflow: auto;
}

.settings-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.85rem;
}

.settings-page-panel {
  max-width: 780px;
}

.settings-panel h2 {
  margin-bottom: 0.65rem;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.drawer-head .panel-head {
  margin-bottom: 0;
  flex: 1;
}

.settings-group + .settings-group {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #cfdcc3;
}

.settings-label {
  margin: 0 0 0.45rem;
  color: #5b6d4d;
  font: 700 0.78rem "Sora", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.settings-meta {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.settings-actions {
  display: grid;
  gap: 0.45rem;
}

.settings-actions button,
.settings-actions .file-label {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

.settings-actions input,
.settings-actions textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  font: 500 0.84rem "IBM Plex Sans", sans-serif;
  color: #24331f;
  background: #fff;
}

.settings-actions textarea {
  resize: vertical;
  min-height: 78px;
}

.settings-hint {
  margin: 0;
  color: #6f8164;
  font: 500 0.74rem "IBM Plex Sans", sans-serif;
}

.settings-actions .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #32472a;
  font: 600 0.8rem "IBM Plex Sans", sans-serif;
}

.settings-actions .checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 0.05rem;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
  grid-auto-flow: dense;
  align-items: start;
}

.day-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  --day-accent: #dbe6cd;
  --card-min-h: 360px;
  min-height: var(--card-min-h);
  height: auto;
  display: flex;
  flex-direction: column;
  transform: scale(0.97);
  transform-origin: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.day-card.current-day {
  min-height: calc(var(--card-min-h) * 1.02);
  border-color: #8ea95f;
  box-shadow: 0 0 0 2px rgba(142, 169, 95, 0.22), 0 10px 30px rgba(74, 92, 55, 0.2);
  transform: scale(1);
}

.day-card.current-day .day-head {
  box-shadow: inset 0 0 0 2px rgba(88, 111, 58, 0.24);
}

.day-card.current-day .day-head h3 {
  font-size: 1.08rem;
}

.day-card.current-day .day-head p {
  font-size: 0.86rem;
}

.day-card.current-day .day-body {
  padding: 0.92rem;
}

.day-head {
  background: var(--day-head-bg, var(--day-accent));
  color: #2f3f26;
  padding: 0.65rem 0.8rem;
  text-align: center;
}

.day-head h3 {
  font-size: 1.06rem;
}

.day-travel-marker {
  margin-left: 0.28rem;
  font-size: 0.88em;
}

.day-head p {
  margin: 0.25rem 0 0;
  opacity: 0.9;
  font-size: 0.84rem;
}

.day-habit-summary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid #cfdbc3;
  background: linear-gradient(180deg, #fbfdf8 0%, #f1f7ea 100%);
  border-radius: 12px;
  color: #39522d;
  padding: 0.46rem 0.62rem;
  font: 600 0.76rem "Sora", sans-serif;
}

.day-habit-summary:hover {
  border-color: #9bb774;
  background: linear-gradient(180deg, #f9fdf4 0%, #eaf4df 100%);
}

.day-habit-summary-title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.92;
}

.day-habit-summary-value {
  font-size: 0.88rem;
}

.day-body {
  padding: 0.8rem;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0.58rem;
  min-height: 0;
  flex: 1;
  align-content: start;
}

@media (max-width: 980px) {
  .days-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .day-card {
    min-height: auto;
  }

  .day-card.current-day {
    grid-column: span 1;
    min-height: auto;
  }

  .day-body {
    grid-template-rows: auto auto auto auto;
  }

  .task-list {
    max-height: 176px;
    min-height: 120px;
  }
}

.day-location-row {
  display: grid;
  gap: 0.33rem;
  margin-bottom: 0;
}

.day-route-section {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.5rem;
  overflow: visible;
  padding-right: 0;
}

.day-location-label {
  color: #516246;
  font: 700 0.69rem "Sora", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.day-location-control {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #c9d8bf;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf2 100%);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 18px rgba(98, 119, 73, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.day-location-control::after {
  content: "";
  position: absolute;
  right: 11px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #607355;
  border-bottom: 2px solid #607355;
  transform: rotate(45deg) translateY(-2px);
  pointer-events: none;
}

.day-location-control:focus-within {
  border-color: #8ea95f;
  box-shadow: 0 0 0 3px rgba(142, 169, 95, 0.2), 0 8px 18px rgba(98, 119, 73, 0.12);
}

.day-location-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  margin-left: 0.6rem;
  background: var(--day-dot-color, var(--day-accent, #dbe6cd));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 4px rgba(126, 148, 98, 0.2);
}

.day-location-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: #2a3a24;
  border-radius: 14px;
  padding: 0.48rem 2rem 0.48rem 0.52rem;
  font: 600 0.84rem "IBM Plex Sans", sans-serif;
  cursor: pointer;
}

.day-location-select:focus {
  outline: none;
}

.day-location-control:hover {
  border-color: #b2c4a2;
  transform: translateY(-1px);
}

.day-travel-block {
  border: 1px solid #d2dfc6;
  border-radius: 12px;
  background: #f7fbf2;
  padding: 0.34rem 0.44rem;
  margin-bottom: 0;
  min-height: 102px;
}

.day-travel-block.is-enabled {
  border-color: #b6ca9e;
  background: #f1f8e9;
}

.day-travel-block.is-empty {
  border-color: #d8e3ce;
  background: #f7faf3;
}

.day-travel-label {
  display: block;
  color: #31452a;
  font: 700 0.73rem "Sora", sans-serif;
  margin-bottom: 0.06rem;
}

.day-travel-disclosure summary {
  list-style: none;
}

.day-travel-disclosure summary::-webkit-details-marker {
  display: none;
}

.day-travel-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.day-travel-chevron {
  color: #506345;
  font: 700 0.74rem "Sora", sans-serif;
  transform: rotate(-90deg);
  transition: transform 140ms ease;
}

.day-travel-disclosure[open] .day-travel-chevron {
  transform: rotate(0deg);
}

.day-travel-content.is-hidden {
  visibility: hidden;
}

.no-travel-weather {
  margin-top: 0.28rem;
  border: 1px solid #d0dfc3;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(236, 245, 228, 0.9) 100%);
  padding: 0.34rem 0.42rem;
}

.no-travel-weather.loading,
.no-travel-weather.empty {
  color: #607455;
  font: 600 0.73rem "IBM Plex Sans", sans-serif;
}

.weather-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.36rem;
}

.weather-icon {
  font-size: 1rem;
  line-height: 1;
}

.weather-temp {
  display: grid;
  line-height: 1.1;
}

.weather-temp strong {
  color: #29411d;
  font: 800 0.84rem "Sora", sans-serif;
}

.weather-temp span {
  color: #68825a;
  font: 600 0.67rem "IBM Plex Sans", sans-serif;
}

.weather-tag {
  border: 1px solid #c3d5b3;
  border-radius: 999px;
  padding: 0.08rem 0.35rem;
  background: #f8fcf4;
  color: #4f6b41;
  font: 700 0.62rem "Sora", sans-serif;
}

.weather-meta {
  margin-top: 0.24rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.52rem;
  color: #607455;
  font: 600 0.65rem "IBM Plex Sans", sans-serif;
}

.travel-weather-mini {
  margin-top: 0.22rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem;
}

.travel-weather-mini-item {
  border: 1px solid #ccdcbf;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.2rem 0.28rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.travel-weather-mini-item span {
  color: #5f7651;
  font: 700 0.6rem "Sora", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.travel-weather-mini-item strong {
  color: #2d4620;
  font: 700 0.68rem "IBM Plex Sans", sans-serif;
}

.day-travel-fields {
  margin-top: 0.26rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.28rem;
}

.travel-field {
  display: grid;
  gap: 0.2rem;
}

.travel-field span {
  color: #59704b;
  font: 700 0.62rem "Sora", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.travel-field input,
.travel-field select {
  width: 100%;
  border: 1px solid #c6d6b8;
  border-radius: 8px;
  padding: 0.24rem 0.3rem;
  background: #fff;
  color: #203019;
  font: 600 0.72rem "IBM Plex Sans", sans-serif;
}

.travel-mode-toggle {
  width: 100%;
  border: 1px solid #c6d6b8;
  border-radius: 8px;
  padding: 0.23rem 0.28rem;
  background: #fff;
  color: #203019;
  font: 600 0.71rem "IBM Plex Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  cursor: pointer;
}

.travel-mode-toggle:disabled {
  cursor: default;
  opacity: 0.62;
}

.travel-mode-toggle:hover {
  border-color: #9eb88a;
  background: #f8fbf4;
}

.travel-mode-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(125, 173, 95, 0.28);
}

.travel-mode-icon {
  font-size: 0.88rem;
  line-height: 1;
}

.travel-mode-text {
  line-height: 1;
}

.travel-field input:disabled,
.travel-field select:disabled {
  background: #f1f4ee;
  color: #7a8774;
  border-color: #d9e1d2;
}

.day-progress {
  margin: 0;
}

.day-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.24rem;
}

.day-progress-head span {
  color: #5a6f4b;
  font: 700 0.68rem "Sora", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.day-progress-head strong {
  color: #2a3d23;
  font: 700 0.82rem "Sora", sans-serif;
}

.day-progress-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #deead2;
  overflow: hidden;
  border: 1px solid #c7d8b8;
}

.day-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7b9552 0%, #9ab96f 100%);
}

.task-title {
  margin: 0;
  color: var(--olive-dark);
  font: 700 0.9rem "Sora", sans-serif;
}

.task-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  max-height: 140px;
  min-height: 140px;
  overflow: auto;
  align-content: start;
  padding-right: 0.15rem;
}

.day-task-section {
  min-height: 0;
  display: grid;
  gap: 0.32rem;
}

.day-section-disclosure {
  border: 1px solid #d1ddc5;
  border-radius: 10px;
  background: #f8fbf4;
  padding: 0.34rem 0.4rem;
}

.day-section-disclosure summary {
  list-style: none;
}

.day-section-disclosure summary::-webkit-details-marker {
  display: none;
}

.day-section-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.day-section-title {
  color: #4c6640;
  font: 700 0.75rem "Sora", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.day-section-preview {
  color: #5f7651;
  font: 600 0.74rem "IBM Plex Sans", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  max-height: 2.4em;
}

.day-section-chevron {
  color: #4a6842;
  font: 700 0.72rem "Sora", sans-serif;
  transform: rotate(-90deg);
  transition: transform 150ms ease;
}

.day-section-disclosure[open] .day-section-chevron {
  transform: rotate(0deg);
}

.day-section-content {
  margin-top: 0.42rem;
  display: grid;
  gap: 0.38rem;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #bfd0af;
  border-radius: 10px;
  padding: 0.3rem 0.4rem;
  background: #f2f7ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  min-height: 31px;
}

.task-item:hover {
  background: #edf4e5;
  border-color: #a9bf92;
}

.drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  height: 22px;
  margin-right: 0.3rem;
  color: #708167;
  border: 1px solid #d6e2cb;
  border-radius: 6px;
  background: #f6faf2;
  cursor: grab;
  user-select: none;
  font: 700 0.68rem "Sora", sans-serif;
  letter-spacing: 0.02em;
  -webkit-user-drag: none;
  pointer-events: auto;
  touch-action: none;
}

.drag-handle:hover {
  border-color: #b9cba9;
  background: #eef5e7;
}

.task-item label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
}

.task-text {
  outline: none;
  color: #1f2d1a;
  font: 600 0.76rem "IBM Plex Sans", sans-serif;
  line-height: 1.2;
}

.task-item.auto-task .task-text::before {
  content: "⚙ ";
  color: #6e8460;
  font-weight: 700;
}

.task-item.done .task-text {
  text-decoration: line-through;
  color: #58694e;
}

.task-item.dragging {
  opacity: 0.45;
}

.task-item.dragging .drag-handle {
  cursor: grabbing;
}

.task-list.drop-target {
  outline: 2px dashed #8ea95f;
  outline-offset: 2px;
  border-radius: 8px;
}

.task-item.drop-insert {
  border-top: 3px solid #8ea95f;
}

.delete-task {
  background: transparent;
  color: #7f8e74;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

.delete-task:hover {
  background: #eef4e8;
  color: #5f6f53;
}

.add-task-row {
  display: flex;
  gap: 0.35rem;
  margin-top: 0;
  align-items: center;
}

.add-task-row input,
.habit-name-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  font: 500 0.85rem "IBM Plex Sans", sans-serif;
}

.add-task-row button {
  border-radius: 10px;
  padding-inline: 0.65rem;
  height: 30px;
}

.note-block {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fcf5;
  padding: 0.45rem;
}

.note-block.note-block-compact {
  padding: 0;
  border: none;
  background: transparent;
}

.note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  color: #5b6d4d;
  font: 700 0.76rem "Sora", sans-serif;
}

.note-clear-btn {
  background: transparent;
  color: #6b7d5a;
  border: 1px solid #cfdcc4;
  border-radius: 8px;
  padding: 0.12rem 0.4rem;
  font: 600 0.7rem "Sora", sans-serif;
}

.note-clear-btn:hover {
  background: #edf4e6;
}

.day-note-text {
  width: 100%;
  height: 62px;
  border: 1px solid #dce7d0;
  border-radius: 8px;
  background: #fcfdf9;
  color: #2e3e2a;
  padding: 0.42rem;
  resize: none;
  font: 500 0.78rem "IBM Plex Sans", sans-serif;
  line-height: 1.28;
}

.calendar-block {
  margin-top: 0;
  border: 1px dashed #c6d7b8;
  border-radius: 10px;
  background: #f8fbf4;
  padding: 0.36rem 0.4rem;
}

.day-digest-stack {
  min-height: 0;
  overflow: visible;
  display: block;
}

.calendar-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.calendar-toggle::-webkit-details-marker {
  display: none;
}

.calendar-headline {
  margin: 0;
  color: #4a6842;
  font: 700 0.76rem "Sora", sans-serif;
}

.calendar-meta {
  color: #6f8164;
  font: 600 0.72rem "IBM Plex Sans", sans-serif;
}

.calendar-update-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: #d73d3d;
  box-shadow: 0 0 0 2px #f8fbf4;
}

.calendar-chevron {
  color: #4a6842;
  font: 700 0.72rem "Sora", sans-serif;
  transform: rotate(-90deg);
  transition: transform 160ms ease;
}

.calendar-disclosure[open] .calendar-chevron {
  transform: rotate(0deg);
}

.calendar-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.calendar-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.5rem;
  border: 1px solid #d7e4cb;
  border-radius: 8px;
  background: #fff;
  padding: 0.35rem 0.45rem;
}

.calendar-event-open {
  all: unset;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.5rem;
  cursor: pointer;
}

.calendar-event-open:hover .calendar-name {
  text-decoration: underline;
}

.calendar-item.is-new {
  border-color: #f2b680;
  background: #fff5ea;
}

.calendar-time {
  color: #5c7a52;
  font: 700 0.72rem "Sora", sans-serif;
}

.calendar-name {
  color: #243720;
  font: 600 0.82rem "IBM Plex Sans", sans-serif;
}

.calendar-location {
  grid-column: 1 / -1;
  color: #6f8164;
  font: 500 0.75rem "IBM Plex Sans", sans-serif;
}

.calendar-empty {
  border: 1px solid #d7e4cb;
  border-radius: 8px;
  background: #fff;
  color: #6f8164;
  font: 500 0.8rem "IBM Plex Sans", sans-serif;
  padding: 0.4rem 0.45rem;
}

.loading-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.loading-spinner {
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid #c7d9b8;
  border-top-color: #6d9257;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.habits-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.85rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.habit-table-wrap {
  overflow: auto;
}

.habit-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
}

.habit-table th,
.habit-table td {
  border: 1px solid var(--line);
  text-align: center;
  padding: 0.45rem;
  font-size: 0.82rem;
}

.habit-table th {
  background: #eff5e8;
  color: #4e6142;
  font-family: "Sora", sans-serif;
}

.habit-name {
  min-width: 170px;
  text-align: left;
  background: #f8fbf4;
}

.habit-actions {
  width: 40px;
}

.habit-remove-btn {
  background: #f8efef;
  color: #8d3d3d;
  border: 1px solid #e5c7c7;
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
  font: 600 0.72rem "Sora", sans-serif;
}

.habit-remove-btn:hover {
  background: #f2dfdf;
}

input[type="checkbox"] {
  accent-color: var(--olive);
  width: 16px;
  height: 16px;
}

@media (max-width: 960px) {
  .strategic-insights {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-brand {
    width: 100%;
  }

  .topbar-avatar-wrap {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  .dock-buttons {
    width: 100%;
  }

  .dock-buttons button {
    flex: 1;
  }

  .focus-day-detail-grid {
    grid-template-columns: 1fr;
  }

  .key-action-row {
    grid-template-columns: 24px 1fr;
    grid-template-areas:
      "done title"
      "done deadline"
      "done remove";
  }

  .key-action-done-wrap {
    grid-area: done;
    align-self: start;
    margin-top: 0.22rem;
  }

  .key-action-title {
    grid-area: title;
  }

  .key-action-deadline {
    grid-area: deadline;
    width: 100%;
  }

  .key-action-remove {
    grid-area: remove;
    justify-self: end;
  }

  .whatsapp-head {
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-day-picker select {
    min-width: 0;
    width: 100%;
  }

  .whatsapp-row {
    grid-template-columns: 1fr;
    gap: 0.34rem;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card li {
    grid-template-columns: 66px 1fr;
  }

  .main-week-controls button {
    flex: 1;
  }

  .drawer {
    width: 100%;
  }

  .day-travel-fields {
    grid-template-columns: 1fr;
  }

  .assistant-chat {
    right: 0.6rem;
    bottom: 0.6rem;
  }

  .assistant-popup {
    width: min(420px, calc(100vw - 1.2rem));
    max-height: min(72vh, 560px);
  }

  .people-header {
    display: none;
  }

  .person-row {
    grid-template-columns: 1fr;
  }
}

.auth-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(240, 247, 234, 0.86);
  backdrop-filter: blur(3px);
  z-index: 30;
}

.auth-overlay[hidden] {
  display: none;
}

.guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: auto;
}

.guide-spotlight {
  position: fixed;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 9999px rgba(17, 26, 14, 0.58);
  transition: top 160ms ease, left 160ms ease, width 160ms ease, height 160ms ease;
  pointer-events: none;
}

.guide-panel {
  position: fixed;
  width: min(360px, calc(100vw - 1.5rem));
  border-radius: 12px;
  border: 1px solid #d4e0c8;
  background: #fff;
  box-shadow: 0 16px 34px rgba(34, 48, 27, 0.28);
  padding: 0.68rem 0.72rem;
}

.guide-progress {
  margin: 0 0 0.24rem;
  color: #6d8062;
  font: 700 0.68rem "Sora", sans-serif;
}

.guide-panel h3 {
  margin: 0 0 0.22rem;
  color: #22321e;
  font-size: 0.92rem;
}

.guide-panel p {
  margin: 0;
  color: #3f5540;
  font: 500 0.8rem "IBM Plex Sans", sans-serif;
  line-height: 1.35;
}

.guide-actions {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.38rem;
  justify-content: flex-end;
}

.auth-card {
  width: min(420px, calc(100% - 2rem));
  background: #ffffff;
  border: 1px solid #cfdbc3;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(74, 92, 55, 0.2);
  padding: 1.1rem;
}

.meeting-prep-card {
  width: min(760px, calc(100% - 2rem));
  max-height: min(86vh, 860px);
  overflow: auto;
}

.meeting-prep-section {
  margin-top: 0.5rem;
}

.auth-subtitle {
  color: var(--muted);
  margin: 0.45rem 0 0.8rem;
  font-size: 0.9rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.auth-tab {
  background: #eef5e9;
  color: #4d6542;
}

.auth-tab.active {
  background: var(--olive);
  color: #fff;
}

.auth-form {
  display: grid;
  gap: 0.5rem;
}

.auth-form input,
.auth-form select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  font: 500 0.9rem "IBM Plex Sans", sans-serif;
  background: #fff;
}

.auth-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  font: 500 0.86rem "IBM Plex Sans", sans-serif;
  background: #fff;
  min-height: 78px;
  resize: vertical;
}

.decision-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.45rem;
}

.auth-message {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  color: #8d3d3d;
  font-size: 0.85rem;
}

.month-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.month-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.month-grid-dragging {
  cursor: grabbing;
  user-select: none;
}

.month-grid-task-dragging {
  user-select: none;
}

.month-weekday {
  text-align: center;
  color: #5d7050;
  font: 700 0.78rem "Sora", sans-serif;
  text-transform: uppercase;
}

.month-cell {
  min-height: 140px;
  border: 1px solid #d7e4cb;
  border-radius: 10px;
  background: var(--month-bg, #fbfdf8);
  padding: 0.45rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.month-day-top,
.month-task-list {
  position: relative;
  z-index: 1;
}

.month-wx-temps {
  position: absolute;
  right: 0.38rem;
  bottom: 0.34rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font: 800 0.68rem "Sora", sans-serif;
  letter-spacing: 0.01em;
  color: rgba(29, 43, 24, 0.72);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(202, 219, 184, 0.7);
  border-radius: 999px;
  padding: 0.12rem 0.28rem;
  pointer-events: none;
}

.month-wx-icon {
  font: 900 0.78rem "Sora", sans-serif;
  line-height: 1;
  opacity: 0.85;
}

.month-wx-temp {
  font: inherit;
}

.month-empty {
  background: #f3f6ef;
}

.month-today {
  border-color: #8ea95f;
  box-shadow: inset 0 0 0 1px rgba(142, 169, 95, 0.28);
}

.month-day-num {
  font: 700 0.94rem "Sora", sans-serif;
  color: #314428;
}

.month-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.month-location-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  max-width: 76%;
  border: 1px solid rgba(200, 216, 184, 0.9);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  color: #2f4126;
  border-radius: 999px;
  padding: 0.16rem 0.36rem;
  font: 700 0.7rem "IBM Plex Sans", sans-serif;
  cursor: pointer;
}

.month-location-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(60, 80, 48, 0.25);
}

.month-location-name {
  max-width: 7.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.month-location-chevron {
  font: 900 0.7rem "Sora", sans-serif;
  opacity: 0.7;
}

.month-location-picker:hover {
  background: rgba(255, 255, 255, 0.93);
}

.month-location-picker:focus-visible {
  outline: 2px solid rgba(95, 130, 56, 0.55);
  outline-offset: 2px;
}

.month-location-popover {
  position: fixed;
  z-index: 50;
  width: min(320px, calc(100vw - 24px));
  max-height: min(360px, calc(100vh - 24px));
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(202, 219, 184, 0.95);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(20, 32, 18, 0.18);
}

.month-location-popover-head {
  padding: 0.5rem 0.55rem 0.45rem;
  border-bottom: 1px solid rgba(215, 228, 203, 0.85);
}

.month-location-search {
  width: 100%;
  border: 1px solid rgba(200, 216, 184, 0.95);
  border-radius: 12px;
  padding: 0.42rem 0.5rem;
  font: 600 0.82rem "IBM Plex Sans", sans-serif;
  color: #21301c;
  background: rgba(255, 255, 255, 0.96);
}

.month-location-popover-list {
  padding: 0.3rem;
  display: grid;
  gap: 0.25rem;
  overflow: auto;
  max-height: 300px;
}

.month-location-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: 1px solid rgba(215, 228, 203, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 0.5rem;
  cursor: pointer;
  text-align: left;
}

.month-location-option:hover {
  background: rgba(248, 251, 244, 0.95);
}

.month-location-option.is-active {
  border-color: rgba(142, 169, 95, 0.85);
  box-shadow: inset 0 0 0 1px rgba(142, 169, 95, 0.22);
}

.month-location-option-name {
  font: 800 0.86rem "IBM Plex Sans", sans-serif;
  color: #1f2d1a;
}

.month-location-option-meta {
  font: 700 0.74rem "Sora", sans-serif;
  color: rgba(51, 68, 42, 0.62);
}

.rollover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(22, 34, 18, 0.45);
  padding: 1rem;
}

.rollover-modal {
  width: min(720px, calc(100vw - 24px));
  max-height: min(82vh, 720px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(215, 228, 203, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(12, 18, 10, 0.28);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
}

.rollover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.9rem 0.6rem;
  border-bottom: 1px solid rgba(215, 228, 203, 0.75);
}

.rollover-title {
  margin: 0;
  color: #243720;
  font: 900 1.05rem "Sora", sans-serif;
}

.rollover-close {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(215, 228, 203, 0.95);
  background: rgba(255, 255, 255, 0.9);
  color: #2f4126;
  font: 900 1.1rem/1 "Sora", sans-serif;
  cursor: pointer;
}

.rollover-subtitle {
  margin: 0;
  padding: 0.65rem 0.9rem 0;
  color: rgba(37, 55, 32, 0.78);
  font: 600 0.86rem "IBM Plex Sans", sans-serif;
}

.rollover-controls {
  padding: 0.55rem 0.9rem 0.4rem;
}

.rollover-checkall {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(37, 55, 32, 0.78);
  font: 700 0.82rem "IBM Plex Sans", sans-serif;
}

.rollover-list {
  overflow: auto;
  padding: 0.55rem 0.9rem 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.rollover-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  border: 1px solid rgba(215, 228, 203, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.55rem 0.6rem;
}

.rollover-row-check {
  display: grid;
  place-items: start center;
  padding-top: 0.18rem;
}

.rollover-row-body {
  display: grid;
  gap: 0.35rem;
}

.rollover-row-text {
  color: #22301c;
  font: 800 0.92rem "IBM Plex Sans", sans-serif;
  line-height: 1.18;
}

.rollover-row-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(37, 55, 32, 0.68);
  font: 700 0.78rem "IBM Plex Sans", sans-serif;
}

.rollover-row-day {
  border: 1px solid rgba(200, 216, 184, 0.95);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.22rem 0.35rem;
  font: 700 0.8rem "IBM Plex Sans", sans-serif;
  color: #21301c;
}

.rollover-actions {
  padding: 0.75rem 0.9rem 0.9rem;
  border-top: 1px solid rgba(215, 228, 203, 0.75);
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.rollover-btn {
  border: 1px solid rgba(200, 216, 184, 0.95);
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
  font: 900 0.85rem "IBM Plex Sans", sans-serif;
  cursor: pointer;
}

.rollover-btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  color: #2f4126;
}

.rollover-btn-primary {
  background: #4f7a3e;
  border-color: rgba(64, 105, 52, 0.95);
  color: #fff;
}

.rollover-btn-primary:hover {
  filter: brightness(1.04);
}

.month-task-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.18rem;
}

.month-task-list .month-task-item {
  font: 600 0.73rem "IBM Plex Sans", sans-serif;
  color: #2b3d24;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(202, 219, 184, 0.7);
  border-radius: 6px;
  padding: 0.12rem 0.28rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: grab;
}

.month-task-list .month-task-item.auto-task::before,
.month-detail-list .month-task-item.auto-task::before {
  content: "⚙ ";
  color: #6e8460;
  font-weight: 700;
}

.month-task-list .month-task-item.done {
  text-decoration: line-through;
  color: #4f6250;
}

.month-task-list .month-task-item.month-task-dragging {
  opacity: 0.42;
  cursor: grabbing;
}

.month-cell.month-task-drop-target {
  outline: 2px dashed rgba(95, 130, 56, 0.5);
  outline-offset: -2px;
}

.month-task-list .month-task-item.month-task-drop-insert {
  border-top: 2px solid #7a9a55;
}

.month-task-empty {
  font: 500 0.72rem "IBM Plex Sans", sans-serif;
  color: #617358;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  padding: 0.12rem 0.28rem;
}

.month-task-add-wrap {
  list-style: none;
}

.month-task-add-btn {
  width: 100%;
  border: 1px dashed #b8caa5;
  background: rgba(255, 255, 255, 0.72);
  color: #3f552f;
  border-radius: 6px;
  padding: 0.14rem 0.3rem;
  font: 600 0.72rem "IBM Plex Sans", sans-serif;
}

.month-task-add-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.month-drag-target {
  outline: 2px dashed rgba(85, 111, 57, 0.4);
  outline-offset: -2px;
  transform: translateY(-1px);
}

.month-day-note {
  margin: 0.2rem 0 0.8rem;
  border: 1px solid #d7e4cb;
  background: #fbfdf8;
  border-radius: 8px;
  padding: 0.45rem;
  font: 500 0.84rem "IBM Plex Sans", sans-serif;
  color: #2f4126;
  white-space: pre-wrap;
}

.month-detail-list {
  list-style: none;
  margin: 0.2rem 0 0.8rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
