:root {
  --bg: #f7f5f1;
  --paper: #fffefa;
  --ink: #38343e;
  --muted: #938d99;
  --purple: #8c72ac;
  --purple-dark: #73578e;
  --lavender: #eee8f5;
  --line: #eae6e1;
  --green: #7e9c88;
  --radius: 24px;
  --shadow: 0 12px 40px #49403308;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color-scheme: light;
  font-family: var(--font);
  color: var(--ink);
  font-size: 15px;
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
textarea,
select {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--purple);
}
.icon {
  display: inline-block;
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--lavender);
  color: var(--purple-dark);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1px;
}
h2 {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.muted {
  color: var(--muted);
  line-height: 1.7;
}
.small {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.sidebar {
  width: 233px;
  height: 100dvh;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 33px 22px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #f6f3ee;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
  padding: 0 7px;
}
.brand img {
  border-radius: 12px;
}
.brand-dot {
  color: var(--purple);
}
.sidebar-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #aaa2ac;
  margin: 49px 12px 18px;
}
.desktop-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.desktop-nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 14px 13px;
  font-size: 13px;
  border-radius: 13px;
  color: #89828d;
  transition:
    background 0.2s,
    color 0.2s;
}
.desktop-nav button:hover {
  background: #f0ece7;
}
.desktop-nav button.active {
  background: #eae3f0;
  color: #7e6099;
  font-weight: 600;
}
.tiny-spark {
  margin-left: auto;
  font-size: 15px;
  color: #b8a5cb;
}
.sidebar-capture {
  margin-top: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--purple);
  color: white;
  border-radius: 13px;
  padding: 13px;
  font-size: 12px;
  box-shadow: 0 5px 12px #8c72ac18;
  transition:
    background 0.2s,
    transform 0.2s;
}
.sidebar-capture:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 10px 0;
}
.little-flower {
  font-size: 43px;
  line-height: 1;
  color: #c9b78e;
  transform: rotate(15deg);
  display: inline-block;
}
.sidebar-bottom > p {
  margin: 11px 0 24px;
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
  color: #aaa08f;
}
.storage-link {
  width: 100%;
  font-size: 10px;
  color: #9b939b;
  display: flex;
  gap: 7px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 0 0;
}
.storage-link .icon {
  width: 13px;
  height: 13px;
  margin-left: auto;
}
.storage-dot {
  width: 5px;
  height: 5px;
  background: #8eab91;
  border-radius: 50%;
  flex-shrink: 0;
}
.workspace {
  margin-left: 233px;
  padding: 0 46px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  max-width: 1190px;
  width: 100%;
  margin: auto;
}
.topbar-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #a198a2;
}
.mini-sun {
  color: #baa16d;
  font-size: 19px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.avatar {
  border-radius: 50%;
  background: #e6e9de;
  color: #87917c;
  width: 35px;
  height: 35px;
  font-size: 12px;
  font-weight: 600;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px #e8e6df;
}
main {
  flex: 1;
  max-width: 1190px;
  width: 100%;
  margin: 0 auto;
  padding: 37px 0 25px;
  animation: appear 0.35s ease-out;
}
.view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.view-heading .eyebrow {
  margin-bottom: 9px;
  display: block;
}
.view-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}
.day-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.day-controls .icon-button {
  width: 30px;
  height: 32px;
}
.date-label {
  position: relative;
  font-size: 12px;
  color: #83798c;
  padding: 10px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.date-label .icon {
  width: 15px;
  height: 15px;
}
.date-label input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 23px;
}
.hero {
  background: #eee8f3;
  border-radius: var(--radius);
  min-height: 334px;
  padding: 31px;
  position: relative;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8e0ef;
}
.hero::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -95px;
  top: -91px;
  border-radius: 50%;
  border: 1px solid #ded1e980;
  box-shadow:
    0 0 0 24px #e5daee35,
    0 0 0 49px #e5daee25;
}
.hero::after {
  content: "✧";
  position: absolute;
  left: 34px;
  bottom: 35px;
  color: #bba7d0;
  font-size: 28px;
}
.hero .eyebrow {
  color: #ab93bc;
  position: relative;
}
.hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  color: #60516d;
  margin-top: 11px;
  position: relative;
}
.hero-description {
  font-size: 12px;
  color: #9c8eaa;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 300px;
}
.hero-mic {
  position: relative;
  width: 77px;
  height: 77px;
  min-height: 77px;
  background: #9b82b7;
  color: #fff;
  border-radius: 50%;
  margin: 25px 0 18px;
  box-shadow:
    0 0 0 9px #a48ac213,
    0 0 0 18px #a48ac20a,
    0 8px 15px #80629f12;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.hero-mic .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.6;
}
.hero-mic:hover {
  transform: translateY(-3px);
  background: #8a6ba7;
  box-shadow:
    0 0 0 12px #a48ac21a,
    0 0 0 25px #a48ac20a,
    0 9px 20px #80629f22;
}
.hero-text-button {
  font-size: 11px;
  color: #917aab;
  display: flex;
  gap: 7px;
  align-items: center;
  position: relative;
}
.hero-text-button .icon {
  width: 14px;
  height: 14px;
}
.hero-text-button:hover {
  color: var(--purple-dark);
}
.quick-overview {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 23px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 334px;
}
.overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.overview-top .icon {
  color: #baa980;
  width: 19px;
}
.overview-title {
  font-size: 13px;
  font-weight: 600;
}
.stat-number {
  font-size: 45px;
  line-height: 1;
  color: #7d688f;
  font-weight: 350;
  margin-top: 28px;
  letter-spacing: -2px;
}
.stat-label {
  font-size: 12px;
  color: #a49aa8;
  margin-top: 8px;
}
.overview-divider {
  height: 1px;
  background: var(--line);
  margin: 23px 0 17px;
}
.overview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #a298a5;
  margin-bottom: 14px;
}
.overview-row strong {
  font-weight: 500;
  color: #6c6076;
}
.overview-bottom {
  font-size: 10px;
  line-height: 1.7;
  color: #b0a7b2;
  margin-top: auto;
  display: flex;
  gap: 7px;
}
.overview-bottom .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: #a7b697;
}
.notes-section {
  margin-top: 29px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-title .icon {
  width: 18px;
  height: 18px;
  color: #b49cc3;
}
.count-pill {
  background: #ece7ef;
  color: #ab95b8;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  margin-left: 3px;
}
.text-button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--purple);
  font-size: 11px;
  padding: 7px 0;
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.empty-notes {
  min-height: 189px;
  border: 1px dashed #ded7e3;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: #faf8f5;
}
.empty-symbol {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: #ede7f1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b39dc7;
  margin-bottom: 13px;
}
.empty-symbol .icon {
  width: 22px;
  height: 22px;
}
.empty-notes h3 {
  font-size: 14px;
  font-weight: 500;
  color: #8d7e99;
}
.empty-notes p {
  font-size: 11px;
  line-height: 1.8;
  color: #aaa0ae;
  margin-top: 6px;
  max-width: 330px;
}
.notes-list {
  display: grid;
  gap: 12px;
}
.entry-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 19px;
  padding: 20px 23px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.entry-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.entry-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #aaa0b0;
  margin-bottom: 10px;
}
.entry-meta .icon {
  width: 13px;
  height: 13px;
}
.entry-meta time {
  margin-left: auto;
}
.entry-card p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: #655d6b;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-mood {
  margin-left: 4px;
  font-size: 13px;
}
.summary-card {
  background: #f0f0e7;
  border: 1px solid #e6e6d9;
  border-radius: 19px;
  padding: 21px 23px;
  margin-top: 16px;
}
.summary-card .section-title {
  color: #8f9478;
}
.summary-card p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-line;
}
.summary-card.error {
  background: #f7eeeb;
  border-color: #efdfda;
  color: #9b776d;
}
.plans-preview {
  margin-top: 27px;
}
.plan-mini,
.task-row {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px 17px;
}
.plan-mini > span {
  color: #ada2b7;
}
.plan-mini p {
  font-size: 12px;
  line-height: 1.6;
}
.plan-mini small {
  font-size: 10px;
  color: var(--muted);
}
.page-footer {
  max-width: 1190px;
  margin: 8px auto 0;
  width: 100%;
  border-top: 1px solid var(--line);
  padding: 19px 0 23px;
  font-size: 10px;
  color: #b9b0bc;
  display: flex;
  justify-content: space-between;
}
.page-footer > span {
  color: #bdb4bf;
  font-size: 9px;
}
.page-footer > span span {
  color: #bba787;
  margin-left: 5px;
}
.mobile-nav {
  display: none;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  padding: 13px 19px;
  font-size: 12px;
  font-weight: 550;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary-button {
  background: var(--purple);
  color: white;
}
.primary-button:hover {
  background: var(--purple-dark);
}
.secondary-button {
  background: #eeebe6;
  color: #8c8291;
}
.secondary-button:hover {
  background: #e7e1ec;
}
.primary-button .icon,
.secondary-button .icon {
  width: 17px;
  height: 17px;
}
.full-width {
  width: 100%;
}
.danger {
  color: #b16c6c;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
dialog {
  border: 1px solid #ece4ef;
  background: var(--paper);
  color: var(--ink);
  padding: 29px;
  border-radius: 27px;
  box-shadow: 0 28px 100px #3c2e4b25;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
}
dialog::backdrop {
  background: #3226394d;
  backdrop-filter: blur(5px);
}
dialog[open] {
  animation: dialog-in 0.24s ease-out;
}
.capture-dialog {
  width: min(550px, calc(100% - 28px));
}
.small-dialog {
  width: min(440px, calc(100% - 28px));
}
.small-dialog h2 {
  margin: 6px 0 14px;
}
.small-dialog > .muted {
  font-size: 13px;
}
.small-dialog > .small {
  margin-top: 13px;
}
.capture-subtitle {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 8px;
}
.recorder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 20px 0 15px;
}
.record-button {
  width: 65px;
  height: 65px;
  background: #eee6f5;
  color: #9c7db5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.record-button .icon {
  width: 27px;
  height: 27px;
}
.record-button.recording {
  background: var(--purple);
  color: white;
  animation: breathe 2s ease-in-out infinite;
}
.record-button.transcribing {
  animation: breathe 2s ease-in-out infinite;
}
.record-button.recording .icon {
  fill: white;
  stroke: none;
  width: 17px;
  height: 17px;
}
.recorder-info {
  min-width: 145px;
}
.recorder-status {
  font-size: 12px;
  color: #8c769d;
  display: flex;
  gap: 7px;
  align-items: center;
}
.record-timer {
  font-size: 11px;
  color: #b0a4b9;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.waveform {
  height: 25px;
  display: flex;
  gap: 3px;
  align-items: center;
  margin-top: 7px;
}
.waveform span {
  display: block;
  width: 3px;
  border-radius: 5px;
  height: 4px;
  background: #ac93c3;
  transition: height 0.08s linear;
}
.capture-text {
  display: block;
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid #e7dfee;
  border-radius: 17px;
  background: #faf8fc;
  padding: 17px;
  font-size: 14px;
  line-height: 1.85;
  color: #66576f;
  outline-color: #baa2d0;
}
.capture-text::placeholder {
  color: #b4a7be;
}
.capture-text:read-only {
  color: #a18ab5;
  background: #f7f2fb;
}
.capture-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.capture-date {
  font-size: 11px;
  color: #9e90a8;
  border: 1px solid #e8e0ee;
  border-radius: 9px;
  padding: 7px;
  background: transparent;
}
.moods {
  display: flex;
  gap: 4px;
}
.mood-button {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 17px;
  filter: saturate(0.65);
  transition:
    background 0.2s,
    transform 0.2s;
}
.mood-button:hover {
  background: var(--lavender);
  transform: translateY(-2px);
}
.mood-button.selected {
  background: #e9dff1;
  box-shadow: 0 0 0 1px #d4c1e3;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}
.dialog-actions .delete-entry {
  margin-right: auto;
  font-size: 11px;
  padding: 9px;
}
.inline-error {
  background: #f8eeea;
  border: 1px solid #efdfd8;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  color: #a77368;
  line-height: 1.6;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.inline-error:empty {
  display: none;
}
.audio-preview {
  width: 100%;
  height: 32px;
  margin-top: 13px;
}
.audio-upload-row {
  display: flex;
  justify-content: center;
  margin: -9px 0 12px;
}
.audio-upload-row .text-button {
  font-size: 10px;
  color: #9a82aa;
}
.record-retry {
  font-size: 11px;
  color: var(--purple);
  margin-top: 9px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  flex-shrink: 0;
}
.toast {
  position: fixed;
  bottom: 27px;
  left: calc(50% + 100px);
  transform: translate(-50%, 20px);
  border: 1px solid #e5dcec;
  padding: 13px 20px;
  border-radius: 14px;
  background: #fffcfa;
  box-shadow: 0 9px 30px #4d3f5c14;
  color: #8a719f;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 50;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.storage-info {
  display: flex;
  gap: 15px;
  margin: 20px 0 24px;
  padding: 16px;
  background: #f0ecef;
  border-radius: 15px;
}
.storage-info > .icon {
  color: #9f8bae;
  margin-top: 2px;
}
.storage-info strong {
  font-size: 12px;
  font-weight: 550;
}
.storage-info p {
  font-size: 11px;
  line-height: 1.7;
  color: #a092aa;
  margin-top: 5px;
}
.history-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 25px;
}
.calendar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 18px;
  align-self: start;
}
.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 15px;
}
.calendar-heading > div {
  display: flex;
  gap: 0;
}
.calendar-heading .icon-button {
  width: 26px;
  height: 26px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
}
.calendar-weekday {
  font-size: 9px;
  color: #b3a9b9;
  padding: 8px 0;
}
.calendar-day {
  position: relative;
  font-size: 11px;
  border-radius: 9px;
  height: 32px;
  color: #8e8298;
}
.calendar-day.outside {
  color: #d3cbd8;
}
.calendar-day.current {
  box-shadow: inset 0 0 0 1px #ddcee7;
}
.calendar-day.selected {
  background: var(--purple);
  color: white;
}
.calendar-day.has-notes::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #bca2ce;
}
.calendar-day.selected::after {
  background: white;
}
.calendar-note {
  font-size: 10px;
  line-height: 1.8;
  color: #b3a7b9;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 15px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 14px;
  margin-bottom: 20px;
  color: #b0a2ba;
}
.search-field input {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  font-size: 12px;
  color: var(--ink);
}
.search-field .icon {
  width: 17px;
  height: 17px;
}
.search-field input::placeholder {
  color: #b4a9bb;
}
.history-day-label {
  font-size: 11px;
  color: #ad9fb6;
  margin: 19px 0 11px;
}
.task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.task-row {
  padding: 17px 19px;
  gap: 13px;
}
.task-toggle {
  width: 23px;
  height: 23px;
  border: 1.5px solid #cfc2db;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.task-toggle.done {
  background: #a0b29a;
  border-color: #a0b29a;
  color: white;
}
.task-toggle .icon {
  width: 14px;
  height: 14px;
}
.task-copy {
  min-width: 0;
  flex: 1;
}
.task-copy strong {
  font-size: 13px;
  font-weight: 450;
  overflow-wrap: anywhere;
  display: block;
  line-height: 1.5;
}
.task-copy.completed strong {
  text-decoration: line-through;
  color: #b4aab9;
}
.task-copy small {
  font-size: 10px;
  color: #ae9fb7;
  display: block;
  margin-top: 4px;
}
.task-row > .icon-button {
  width: 28px;
  height: 28px;
}
.task-row > .icon-button .icon {
  width: 15px;
  height: 15px;
}
.task-group-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #ad9eb6;
  margin: 25px 0 13px;
}
.task-form label {
  font-size: 11px;
  color: #95859f;
  display: block;
  margin: 18px 0 7px;
}
.task-form input,
.task-form select {
  width: 100%;
  border: 1px solid #e5ddeb;
  border-radius: 12px;
  padding: 12px;
  background: #faf8fc;
  color: #71617e;
  outline-color: var(--purple);
}
.task-form .fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.chat-layout {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 310px);
}
.chat-empty {
  padding: 48px 15px 35px;
  text-align: center;
  max-width: 490px;
  margin: auto;
}
.chat-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 24px;
  background: #eae3f1;
  color: #a48ab9;
  margin: 0 auto 23px;
  transform: rotate(-6deg);
}
.chat-symbol .icon {
  width: 30px;
  height: 30px;
  transform: rotate(6deg);
}
.chat-empty h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 29px;
  color: #7f678e;
}
.chat-empty p {
  font-size: 12px;
  line-height: 1.9;
  color: #a99aaf;
  margin: 14px 0 23px;
}
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.suggestion {
  padding: 9px 12px;
  border: 1px solid #e2d9e9;
  border-radius: 12px;
  font-size: 10px;
  color: #9b84ab;
  background: #faf8fc;
}
.suggestion:hover {
  background: #ede4f4;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding: 8px 0 28px;
  flex: 1;
}
.message {
  max-width: 88%;
  font-size: 13px;
  line-height: 1.9;
  animation: appear 0.3s ease-out;
}
.message.user {
  align-self: flex-end;
  padding: 14px 20px;
  border-radius: 19px 19px 5px 19px;
  background: #eae3f1;
  color: #7c638e;
}
.message.assistant {
  align-self: flex-start;
  display: flex;
  gap: 12px;
  max-width: 100%;
}
.assistant-avatar {
  width: 28px;
  height: 28px;
  background: #ece6f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a38ab7;
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 4px;
}
.message-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.assistant {
  width: 100%;
  min-width: 0;
}
.assistant-body {
  flex: 1;
  min-width: 0;
}
.ai-markdown {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.85;
}
.ai-markdown > :first-child {
  margin-top: 0;
}
.ai-markdown > :last-child {
  margin-bottom: 0;
}
.ai-markdown p {
  margin: 0 0 0.85em;
  font-size: inherit;
  line-height: inherit;
  white-space: normal;
}
.ai-markdown strong {
  font-weight: 650;
  color: var(--ink);
}
.ai-markdown em {
  font-style: italic;
}
.ai-markdown h3,
.ai-markdown h4,
.ai-markdown h5,
.ai-markdown h6 {
  margin: 1.3em 0 0.55em;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 650;
}
.ai-markdown h3 {
  font-size: 1.2em;
}
.ai-markdown h4 {
  font-size: 1.1em;
}
.ai-markdown h5,
.ai-markdown h6 {
  font-size: 1em;
}
.ai-markdown ul,
.ai-markdown ol {
  margin: 0.55em 0 1em;
  padding-left: 1.65em;
}
.ai-markdown li {
  padding-left: 0.2em;
  margin: 0.3em 0;
}
.ai-markdown li::marker {
  color: #9a86ac;
}
.ai-markdown li > p {
  margin: 0.4em 0;
}
.ai-markdown li > ul,
.ai-markdown li > ol {
  margin: 0.3em 0;
}
.ai-markdown blockquote {
  margin: 1em 0;
  padding: 0.7em 1em;
  border-left: 3px solid #bdcbb3;
  background: #eef1e9;
  border-radius: 0 12px 12px 0;
  color: #78836e;
}
.ai-markdown blockquote > :last-child {
  margin-bottom: 0;
}
.ai-markdown a {
  color: var(--purple-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ai-markdown a:hover {
  color: var(--purple);
}
.ai-markdown code {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.92em;
}
.ai-markdown :not(pre) > code {
  background: #eee8f3;
  color: #826695;
  padding: 0.15em 0.4em;
  border-radius: 5px;
}
.ai-markdown pre {
  margin: 1em 0;
  padding: 14px 16px;
  border: 1px solid #e5dfea;
  border-radius: 13px;
  background: #f2eef5;
  overflow-x: auto;
  white-space: pre;
  overflow-wrap: normal;
  line-height: 1.65;
  tab-size: 2;
}
.ai-markdown pre code {
  white-space: inherit;
}
.ai-markdown hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.4em 0;
}
.ai-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 1em 0;
  border: 1px solid #e5dfea;
  border-radius: 12px;
}
.ai-markdown table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
  line-height: 1.6;
}
.ai-markdown th,
.ai-markdown td {
  padding: 10px 12px;
  min-width: 110px;
  text-align: left;
  border-bottom: 1px solid #e8e2ec;
}
.ai-markdown th {
  background: #eee8f3;
  font-weight: 600;
  color: #80678f;
}
.ai-markdown tbody tr:last-child td {
  border-bottom: 0;
}
.ai-markdown tbody tr:nth-child(even) {
  background: #f9f7fa;
}
.summary-content {
  margin-top: 12px;
  font-size: 13px;
}
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.source-chip {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e1d8e7;
  padding: 5px 9px;
  border-radius: 9px;
  color: #9b83ad;
}
.source-chip .icon {
  width: 12px;
  height: 12px;
}
.chat-composer {
  position: sticky;
  bottom: 15px;
  margin-top: auto;
  z-index: 3;
}
.chat-form {
  background: var(--paper);
  border: 1px solid #e1d6e9;
  box-shadow: 0 5px 25px #50405f07;
  border-radius: 19px;
  display: flex;
  align-items: flex-end;
  padding: 11px 12px 11px 18px;
  gap: 10px;
}
.chat-form textarea {
  width: 100%;
  min-width: 0;
  resize: none;
  min-height: 30px;
  max-height: 120px;
  outline: none;
  border: 0;
  background: transparent;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #746180;
}
.chat-form textarea::placeholder {
  color: #b6a8be;
}
.send-button {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--purple);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.send-button .icon {
  width: 18px;
  height: 18px;
}
.chat-mic-button {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--purple);
  background: #eee8f4;
  transition:
    background 0.2s,
    color 0.2s;
}
.chat-mic-button:hover {
  background: #e4daed;
}
.chat-mic-button .icon {
  width: 19px;
  height: 19px;
}
.chat-mic-button.recording {
  color: #a0596d;
  background: #f6e5eb;
  box-shadow: 0 0 0 4px #f6e5eb88;
}
.chat-voice-panel {
  padding: 14px 16px;
  margin-bottom: 9px;
  background: #f1edf6;
  border: 1px solid #e6dfee;
  border-radius: 18px;
  color: #806d92;
  box-shadow: 0 5px 20px #50405f06;
}
.chat-voice-panel.recording {
  background: #f8edf1;
  border-color: #f0dfe6;
}
.chat-voice-panel.ready {
  background: #edf2e9;
  border-color: #e0e8da;
  color: #7d9470;
}
.chat-voice-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-voice-copy {
  flex: 1;
  min-width: 0;
}
.chat-voice-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
}
.chat-voice-status .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.chat-voice-time {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #ad91a0;
  font-variant-numeric: tabular-nums;
}
.chat-voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  color: #c08b9f;
}
.chat-voice-wave span {
  display: block;
  width: 3px;
  height: 4px;
  border-radius: 3px;
  background: currentColor;
  transition: height 70ms linear;
}
.chat-voice-panel .icon-button {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.chat-voice-error {
  font-size: 12px;
  line-height: 1.7;
  color: #a56d7f;
  margin: 8px 0 0;
}
.chat-voice-panel .text-button {
  margin-top: 8px;
  font-size: 12px;
}
.chat-voice-partial {
  font-size: 12px;
  line-height: 1.7;
  margin: 10px 0 0;
  max-height: 90px;
  overflow-y: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-length-warning {
  padding: 8px 12px;
  font-size: 11px;
  line-height: 1.6;
  color: #a56d7f;
  background: var(--paper);
  margin: 0;
  border-radius: 0 0 12px 12px;
}
.chat-footnote {
  font-size: 9px;
  color: #b9acbf;
  text-align: center;
  margin-top: 10px;
}
.chat-error {
  margin-bottom: 14px;
}
.initial-loading {
  text-align: center;
  padding: 90px 0;
  color: #a38ab4;
  font-size: 12px;
}
.initial-loading img {
  animation: breathe 2s ease-in-out infinite;
}
.initial-loading p {
  margin-top: 18px;
}
.no-results {
  color: #a895b3;
  font-size: 12px;
  text-align: center;
  padding: 35px;
}
.plan-empty {
  margin-top: 35px;
  min-height: 280px;
}
.toolbar-buttons {
  display: flex;
  gap: 8px;
}
.all-history-button {
  width: 100%;
  font-size: 11px;
  color: #9b82ad;
  border-top: 1px solid var(--line);
  padding: 13px 0 0;
  margin-top: 12px;
}
.connection-error {
  max-width: 440px;
  margin: 50px auto;
  text-align: center;
}
.connection-error p {
  margin: 16px 0 25px;
}
.chat-thinking {
  color: #ab97ba;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px 42px;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes breathe {
  0%,
  100% {
    box-shadow: 0 0 0 5px #a48ac210;
  }
  50% {
    box-shadow: 0 0 0 13px #a48ac20a;
  }
}
@media (min-width: 1600px) {
  .workspace {
    padding: 0 70px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .hero {
    min-height: 370px;
  }
  .hero h2 {
    font-size: 35px;
  }
}
@media (max-width: 1100px) {
  .workspace {
    padding: 0 28px;
  }
  .sidebar {
    width: 205px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .workspace {
    margin-left: 205px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 16px;
  }
  .quick-overview {
    padding: 20px;
  }
  .hero {
    padding: 25px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .topbar-note {
    font-size: 11px;
  }
  .history-layout {
    grid-template-columns: 240px 1fr;
  }
}
@media (max-width: 850px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .quick-overview {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
    padding: 19px 23px;
  }
  .overview-top {
    grid-column: 1/-1;
  }
  .stat-number {
    font-size: 32px;
    margin-top: 12px;
    grid-column: 1;
    grid-row: 2;
  }
  .stat-label {
    margin-top: 0;
    grid-column: 1;
    grid-row: 3;
    font-size: 10px;
  }
  .overview-divider,
  .overview-bottom {
    display: none;
  }
  .overview-row {
    grid-column: 2;
    margin: 10px 0 0;
    font-size: 10px;
  }
  .overview-row:last-of-type {
    margin-top: 2px;
  }
  .hero {
    min-height: 315px;
  }
  .history-layout {
    grid-template-columns: 1fr;
  }
  .calendar-card {
    max-width: 100%;
  }
  .calendar-day {
    height: 34px;
  }
  .calendar-note {
    display: none;
  }
  .chat-empty {
    padding: 25px 0;
  }
  .view-heading {
    align-items: flex-start;
  }
  .view-heading h1 {
    font-size: 28px;
  }
  .date-label {
    padding: 9px;
    font-size: 10px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
    padding: 0 21px;
    min-height: 100dvh;
    padding-bottom: calc(83px + env(safe-area-inset-bottom));
  }
  .topbar {
    height: 68px;
  }
  .topbar-note {
    font-size: 10px;
  }
  .topbar-actions {
    gap: 10px;
  }
  .avatar {
    width: 31px;
    height: 31px;
  }
  .topbar .icon-button {
    width: 30px;
    height: 30px;
  }
  .topbar .icon {
    width: 19px;
    height: 19px;
  }
  main {
    padding-top: 27px;
    padding-bottom: 20px;
  }
  .view-heading {
    margin-bottom: 22px;
    gap: 8px;
  }
  .view-heading h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .view-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
  }
  .view-subtitle {
    font-size: 10px;
    margin-top: 7px;
  }
  .day-controls {
    gap: 0;
    margin-top: 15px;
  }
  .day-controls .icon-button {
    width: 25px;
    height: 28px;
  }
  .day-controls .icon {
    width: 15px;
    height: 15px;
  }
  .date-label {
    font-size: 10px;
    border: 0;
    background: none;
    padding: 6px;
    gap: 4px;
  }
  .date-label .icon {
    display: none;
  }
  .hero {
    min-height: 330px;
    padding: 27px 20px;
    border-radius: 25px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-description {
    font-size: 11px;
    max-width: 245px;
  }
  .hero-mic {
    width: 78px;
    height: 78px;
    min-height: 78px;
    margin-top: 29px;
  }
  .hero-text-button {
    font-size: 10px;
  }
  .hero::after {
    left: 23px;
    bottom: 27px;
  }
  .dashboard-grid {
    gap: 14px;
  }
  .quick-overview {
    border-radius: 18px;
    padding: 17px 20px;
  }
  .overview-title {
    font-size: 11px;
  }
  .overview-top .icon {
    width: 16px;
    height: 16px;
  }
  .stat-number {
    font-size: 30px;
  }
  .notes-section {
    margin-top: 25px;
  }
  .section-top {
    margin-bottom: 14px;
  }
  h3 {
    font-size: 15px;
  }
  .section-title {
    gap: 7px;
  }
  .section-title .icon {
    width: 17px;
  }
  .text-button {
    font-size: 10px;
  }
  .empty-notes {
    min-height: 175px;
    border-radius: 19px;
    padding: 23px 19px;
  }
  .empty-notes p {
    font-size: 10px;
  }
  .empty-notes h3 {
    font-size: 12px;
  }
  .page-footer {
    padding: 16px 0 4px;
    font-size: 9px;
    justify-content: center;
  }
  .page-footer > span {
    display: none;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 10px 11px calc(9px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr 1fr 1fr;
    align-items: center;
    background: #fffcf8f5;
    border-top: 1px solid #ebe4ef;
    backdrop-filter: blur(14px);
  }
  .mobile-nav > button:not(.mobile-record) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #b0a3b9;
    font-size: 9px;
    padding: 4px;
  }
  .mobile-nav > button.active {
    color: #8b6da4;
  }
  .mobile-nav .icon {
    width: 20px;
    height: 20px;
  }
  .mobile-record {
    width: 53px;
    height: 53px;
    border-radius: 19px;
    background: #9b80b6;
    color: white;
    margin: -26px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
      0 0 0 6px var(--bg),
      0 5px 12px #8e70a62a;
    transform: rotate(-4deg);
  }
  .mobile-record .icon {
    width: 24px;
    height: 24px;
    transform: rotate(4deg);
  }
  .toast {
    bottom: calc(89px + env(safe-area-inset-bottom));
    left: 50%;
    font-size: 11px;
  }
  .entry-card {
    padding: 17px 18px;
    border-radius: 17px;
  }
  .entry-card p {
    font-size: 12px;
  }
  .entry-meta {
    font-size: 9px;
  }
  .capture-dialog {
    padding: 22px 20px;
    border-radius: 24px;
    max-height: calc(100dvh - 22px);
  }
  .capture-dialog h2 {
    font-size: 24px;
  }
  .capture-subtitle {
    font-size: 11px;
  }
  .recorder {
    padding: 20px 0;
  }
  .capture-text {
    font-size: 13px;
    min-height: 135px;
    padding: 14px;
  }
  .dialog-actions {
    margin-top: 18px;
    gap: 7px;
  }
  .primary-button,
  .secondary-button {
    font-size: 11px;
    padding: 12px 15px;
  }
  .capture-details {
    gap: 8px;
  }
  .mood-button {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  .capture-date {
    font-size: 10px;
    width: 132px;
  }
  .small-dialog {
    padding: 23px;
  }
  .summary-card {
    padding: 19px;
  }
  .summary-card p {
    font-size: 12px;
  }
  .history-layout {
    gap: 18px;
  }
  .calendar-card {
    padding: 16px 20px;
  }
  .calendar-day {
    height: 35px;
    font-size: 11px;
  }
  .calendar-heading {
    margin-bottom: 6px;
  }
  .calendar-weekday {
    padding: 6px 0;
  }
  .calendar-note {
    display: none;
  }
  .search-field {
    margin-bottom: 16px;
  }
  .chat-layout {
    min-height: calc(100dvh - 290px);
  }
  .chat-empty {
    padding: 25px 0 30px;
  }
  .chat-empty h2 {
    font-size: 26px;
  }
  .chat-empty p {
    font-size: 11px;
  }
  .suggestion {
    font-size: 10px;
    padding: 9px 10px;
  }
  .message {
    font-size: 12px;
    max-width: 92%;
  }
  .chat-composer {
    bottom: calc(79px + env(safe-area-inset-bottom));
  }
  .chat-form {
    border-radius: 16px;
    padding: 9px 10px 9px 15px;
  }
  .chat-form textarea {
    font-size: 12px;
  }
  .chat-voice-panel {
    padding: 11px 12px;
    border-radius: 15px;
  }
  .chat-voice-status {
    font-size: 11px;
  }
  .chat-voice-top {
    gap: 7px;
  }
  .chat-voice-wave {
    gap: 2px;
  }
  .chat-voice-wave span {
    width: 2px;
  }
  .chat-footnote {
    font-size: 8px;
  }
  .toolbar-buttons .secondary-button {
    padding: 11px;
  }
  .task-row {
    padding: 15px;
  }
  .task-copy strong {
    font-size: 12px;
  }
  .plan-empty {
    min-height: 240px;
  }
  .plans-preview {
    margin-top: 24px;
  }
  .chat-thinking {
    margin-left: 0;
  }
  .plan-mini {
    padding: 14px;
  }
  .plan-mini p {
    font-size: 11px;
  }
}
.planning-root .view-heading {
  align-items: flex-start;
}
.planning-root .view-subtitle {
  max-width: 510px;
  line-height: 1.8;
}
.planning-toolbar {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
  padding-top: 8px;
}
.planning-tabs {
  display: flex;
  gap: 5px;
  width: fit-content;
  background: #eeebe6;
  border: 1px solid #e6e1dc;
  padding: 5px;
  border-radius: 15px;
  margin: 0 0 27px;
}
.planning-tabs button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  border-radius: 11px;
  color: #8a7c95;
  font-size: 12px;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.planning-tabs button.active {
  background: #fffdf9;
  color: #806198;
  box-shadow: 0 3px 9px #4a355b07;
}
.planning-tabs button > span {
  font-size: 10px;
  background: #e7e0eb;
  border-radius: 6px;
  padding: 2px 6px;
  min-width: 20px;
}
.project-tone-lavender {
  --project-wash: #eee8f5;
  --project-accent: #9579b2;
  --project-border: #e3daec;
}
.project-tone-sage {
  --project-wash: #eaf0e6;
  --project-accent: #7c9770;
  --project-border: #dce6d7;
}
.project-tone-peach {
  --project-wash: #f7ece1;
  --project-accent: #bb9270;
  --project-border: #edddcc;
}
.project-tone-blue {
  --project-wash: #e9edf4;
  --project-accent: #7a91b5;
  --project-border: #d9e2ef;
}
.project-tone-rose {
  --project-wash: #f4e9ed;
  --project-accent: #b38198;
  --project-border: #ead9e1;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
  padding: 23px;
  border-radius: 23px;
  background: var(--project-wash);
  border: 1px solid var(--project-border);
  min-height: 257px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px #5a44650c;
}
.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 21px;
}
.project-symbol {
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #ffffff9c;
  color: var(--project-accent);
  flex-shrink: 0;
}
.project-symbol .icon {
  width: 23px;
  height: 23px;
}
.project-card-arrow {
  color: var(--project-accent);
  opacity: 0.7;
}
.project-card h3 {
  font-size: 18px;
  line-height: 1.45;
  color: #65546f;
  overflow-wrap: anywhere;
  font-weight: 550;
}
.project-card > p {
  color: #93829c;
  font-size: 12px;
  line-height: 1.85;
  margin: 9px 0 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.project-card-bottom {
  margin-top: auto;
}
.project-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #94839e;
  font-size: 11px;
  margin-bottom: 10px;
}
.project-progress-copy strong {
  color: var(--project-accent);
  font-weight: 600;
}
.project-progress {
  height: 5px;
  border-radius: 20px;
  background: #ffffff9c;
  overflow: hidden;
}
.project-progress > span {
  display: block;
  height: 100%;
  background: var(--project-accent);
  border-radius: 20px;
  transition: width 0.3s;
}
.personal-tasks {
  margin-top: 34px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.personal-tasks .task-group-label:first-child {
  margin-top: 17px;
}
.personal-empty {
  font-size: 12px;
  color: #a08faa;
  line-height: 1.8;
  padding: 16px 0 6px;
}
.projects-empty {
  padding: 45px 25px 38px;
  background: #faf8f5;
  border: 1px dashed #ded5e5;
  border-radius: 24px;
  text-align: center;
}
.projects-empty h2 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  color: #816b90;
}
.projects-empty p {
  font-size: 12px;
  line-height: 1.9;
  color: #a18eac;
  margin: 13px 0 23px;
}
.project-empty-art {
  position: relative;
  width: 72px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee7f5;
  border-radius: 25px;
  transform: rotate(-5deg);
  margin: 0 auto 25px;
  color: #ad92c2;
}
.project-empty-art > .icon {
  width: 33px;
  height: 33px;
  transform: rotate(5deg);
}
.project-empty-art > span {
  position: absolute;
  right: -9px;
  top: 0;
  color: #c0a779;
  font-size: 24px;
}
.project-back {
  margin: 0 0 19px;
}
.project-summary {
  background: var(--project-wash);
  border: 1px solid var(--project-border);
  border-radius: 25px;
  padding: 27px 30px;
}
.project-summary-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.project-summary-heading > div {
  min-width: 0;
}
.project-summary-heading h1 {
  font-size: 29px;
  overflow-wrap: anywhere;
  margin-top: 5px;
  line-height: 1.35;
  color: #66516f;
}
.project-summary-heading .eyebrow {
  color: var(--project-accent);
  font-size: 9px;
}
.project-summary-heading > .icon-button {
  margin-left: auto;
  color: var(--project-accent);
  flex-shrink: 0;
}
.project-description {
  margin: 18px 0 21px;
  color: #91809a;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
  max-width: 750px;
}
.project-detail-progress {
  max-width: 400px;
  margin-top: 20px;
}
.project-tasks-heading {
  margin: 29px 0 14px;
}
.task-project-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eee7f3;
  color: #9980ac;
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 9px;
  margin-top: 7px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}
.task-project-label .icon {
  width: 11px;
  height: 11px;
}
.plan-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #9a88a6;
  margin: 7px 0 23px;
}
.plan-filter select {
  font: inherit;
  max-width: 100%;
  padding: 10px 13px;
  border: 1px solid #e1d9e9;
  background: var(--paper);
  color: #8a719b;
  border-radius: 11px;
}
.planning-note {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #efede8;
  border: 1px solid #e7e2dc;
  border-radius: 15px;
  padding: 16px 18px;
  color: #99899e;
  font-size: 12px;
  line-height: 1.7;
}
.planning-note > .icon {
  color: #ad9dba;
}
.task-form textarea {
  width: 100%;
  border: 1px solid #e5ddeb;
  border-radius: 12px;
  padding: 12px;
  background: #faf8fc;
  color: #71617e;
  outline-color: var(--purple);
  resize: vertical;
  line-height: 1.8;
}
.optional-label {
  color: #b3a3bc;
  font-size: 10px;
  margin-left: 7px;
}
.project-colors {
  display: flex;
  gap: 11px;
  padding: 5px 2px;
}
.project-color {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--project-wash);
  border: 1px solid var(--project-border);
  color: var(--project-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-color.selected {
  outline: 2px solid var(--project-accent);
  outline-offset: 3px;
}
.project-color .icon {
  width: 16px;
  height: 16px;
}
.event-form-note {
  font-size: 11px;
  line-height: 1.8;
  color: #a08eab;
  background: #f2edf6;
  padding: 11px 13px;
  border-radius: 11px;
  margin-top: 17px;
}
[hidden] {
  display: none !important;
}
.planning-actions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.planning-action-card {
  background: #f4eff8;
  border: 1px solid #e4d9ec;
  border-radius: 17px;
  padding: 17px 19px;
  min-width: 0;
}
.planning-action-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #a58eb6;
  line-height: 1.5;
  margin-bottom: 11px;
}
.planning-action-label .icon {
  width: 15px;
  height: 15px;
}
.planning-action-card > strong {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 550;
  color: #7b628d;
  overflow-wrap: anywhere;
}
.planning-action-card > p {
  font-size: 11px;
  line-height: 1.8;
  color: #9a83a9;
  white-space: pre-line;
  margin-top: 5px;
}
.planning-action-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.planning-action-buttons .primary-button {
  font-size: 11px;
  padding: 10px 13px;
}
.planning-action-buttons .text-button {
  font-size: 10px;
}
.planning-action-card.resolved {
  background: #f1f2ec;
  border-color: #e2e5dc;
}
.planning-action-card.resolved .planning-action-label {
  color: #94a187;
}
@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .planning-root > .view-heading {
    flex-direction: column;
    gap: 13px;
  }
  .planning-toolbar {
    padding-top: 0;
  }
}
@media (max-width: 700px) {
  .planning-tabs {
    width: 100%;
    padding: 4px;
    gap: 3px;
    margin-bottom: 21px;
  }
  .planning-tabs button {
    flex: 1;
    justify-content: center;
    font-size: 10px;
    padding: 11px 8px;
    gap: 5px;
  }
  .planning-tabs button > span {
    font-size: 9px;
    padding: 1px 5px;
    min-width: 17px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .project-card {
    padding: 20px;
    min-height: 224px;
  }
  .project-card-top {
    margin-bottom: 15px;
  }
  .project-card h3 {
    font-size: 18px;
  }
  .project-card > p {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .planning-toolbar {
    width: 100%;
  }
  .planning-toolbar > .primary-button {
    flex: 1;
  }
  .planning-root .view-subtitle {
    font-size: 11px;
  }
  .projects-empty {
    padding: 32px 20px;
  }
  .projects-empty h2 {
    font-size: 25px;
    line-height: 1.4;
  }
  .projects-empty p {
    font-size: 11px;
  }
  .personal-tasks {
    margin-top: 26px;
    padding-top: 23px;
  }
  .personal-tasks .section-top {
    align-items: flex-start;
    gap: 15px;
  }
  .personal-empty {
    font-size: 11px;
  }
  .project-summary {
    padding: 21px 20px;
    border-radius: 22px;
  }
  .project-summary-heading {
    gap: 11px;
  }
  .project-summary-heading .project-symbol {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }
  .project-summary-heading h1 {
    font-size: 23px;
  }
  .project-summary-heading .eyebrow {
    font-size: 8px;
  }
  .project-description {
    font-size: 12px;
    line-height: 1.9;
    margin-top: 16px;
  }
  .project-tasks-heading {
    align-items: flex-start;
    gap: 14px;
    margin-top: 25px;
  }
  .project-tasks-heading .primary-button {
    font-size: 10px;
    padding: 11px 12px;
  }
  .planning-note {
    font-size: 11px;
    padding: 14px;
  }
  .planning-action-card {
    padding: 15px;
  }
  .planning-action-card > strong {
    font-size: 13px;
  }
  .plan-filter {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .plan-filter select {
    width: 100%;
  }
  .project-back {
    font-size: 11px;
  }
  .task-project-label {
    font-size: 9px;
    line-height: 1.6;
  }
  .project-progress-copy {
    font-size: 10px;
  }
  .planning-action-buttons {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
