:root {
  color-scheme: dark;
  --bg: #080914;
  --text: #f2f1ff;
  --muted: #a0a4c0;
  --cyan: #58dcff;
  --violet: #a28cff;
  --line: #ffffff13;
  --accent: #8269ff;
  font:
    16px/1.5 "Inter",
    "SF Pro Display",
    system-ui,
    -apple-system,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
button {
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 74% 8%, #371a724d, transparent 45%),
    radial-gradient(ellipse at 29% 58%, #152b5730, transparent 50%);
  pointer-events: none;
}
.sidebar {
  position: fixed;
  width: 240px;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  background: #090b17e8;
  padding: 34px 20px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.brand small {
  font-size: 0.63rem;
  display: block;
  color: #8c92ad;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 4px;
}
.os {
  color: var(--violet);
  margin-left: 4px;
}
.brand-icon {
  width: 39px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #7e9bff, #6644d9);
  border-radius: 12px;
  border: 1px solid #c3caff88;
  box-shadow:
    inset 2px 2px 5px #ffffff55,
    inset -3px -3px 6px #2d1a83,
    0 6px 25px #7348ff33;
  transform: rotate(-7deg);
  font-size: 1.6rem;
  font-style: italic;
}
.nav-label {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: #777e9c;
  margin: 50px 10px 15px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 13px 12px;
  color: #abb0c8;
  font-size: 0.9rem;
}
.sidebar nav button.active {
  background: linear-gradient(100deg, #7161d733, #34317b33);
  color: #e1dcff;
  border-color: #9588ff30;
  box-shadow: inset 3px 0 #9984ff;
}
.nav-icon {
  font-size: 1.25rem;
  width: 29px;
}
.nav-number {
  margin-left: auto;
  color: #77718e;
  font-size: 0.72rem;
}
.sidebar-bottom {
  margin-top: auto;
}
.system-note {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  background: #ffffff03;
}
.system-note p {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 4px 0 0 16px;
}
.pulse-dot,
.badge i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px #58dcff;
  margin-right: 8px;
}
.user {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 0.8rem;
}
.avatar {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25243d;
  border: 1px solid #514966;
  font-size: 0.7rem;
}
.user small {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 3px;
}
main {
  margin-left: 240px;
  padding: 0 38px 24px;
  max-width: 1640px;
}
.topbar {
  height: 83px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.breadcrumb {
  font-size: 0.75rem;
  color: #8a90ac;
  letter-spacing: 0.05em;
}
.breadcrumb span {
  padding: 0 12px;
  color: #4c536b;
}
.breadcrumb b {
  font-weight: 500;
  color: #d7d8e5;
  letter-spacing: 0;
}
.date {
  margin-left: auto;
  color: #a9afc5;
  font-size: 0.8rem;
}
.motion-short {
  background: #171b2d;
  border: 1px solid #30374c;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.eyebrow {
  color: #969bbb;
  letter-spacing: 0.14em;
  font-size: 0.67rem;
  font-weight: 650;
  margin: 0 0 10px;
}
.greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 20px;
}
h1 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 720;
  margin: 0;
}
h1 span {
  background: linear-gradient(90deg, #e9e5ff, #b4a1ff 70%, #70c5ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.daily-summary {
  text-align: right;
  display: grid;
}
.daily-summary b {
  font-weight: 400;
  letter-spacing: -0.06em;
  font-size: 2rem;
}
.daily-summary span {
  color: var(--muted);
  font-size: 0.8rem;
}
.glass {
  background: linear-gradient(125deg, #1c203b8c, #111426cf);
  border: 1px solid #ffffff13;
  border-radius: 20px;
  box-shadow:
    inset 0 1px #ffffff08,
    0 18px 45px #00000024;
}
.command {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 328px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% 30%, #5835b636, transparent 62%),
    linear-gradient(105deg, #161a30, #111426);
  border-color: #7770af42;
  box-shadow:
    inset 0 1px #c4b3ff24,
    0 20px 70px #0003;
}
.command:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #b89cff88,
    #56d0ff77,
    transparent
  );
}
.command-copy {
  padding: 32px 8px 32px 32px;
  z-index: 2;
  align-self: center;
  min-width: 0;
}
.badge {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #bbb4e8;
  display: inline-flex;
  align-items: center;
  border: 1px solid #ac8eff26;
  background: #a787ff0a;
  padding: 7px 10px;
  border-radius: 7px;
}
.command h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 21px 0 9px;
  font-weight: 650;
}
.command p {
  color: #b0b4cb;
  margin: 0;
  max-width: 380px;
  font-size: 0.95rem;
}
.focus-meta {
  display: flex;
  gap: 15px;
  margin: 15px 0 21px;
  font-size: 0.75rem;
  color: #a49dc9;
}
.focus-meta span:last-child {
  color: var(--cyan);
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.primary,
.secondary,
.danger {
  border: 1px solid #ac97ff66;
  border-radius: 10px;
  padding: 11px 16px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.primary {
  background: linear-gradient(125deg, #9575fa, #6557d7);
  box-shadow:
    inset 0 1px #ddd2ff66,
    0 5px 18px #6250df3d;
  color: white;
}
.primary span {
  margin-left: 15px;
}
.primary:hover {
  box-shadow: 0 5px 24px #866bff66;
}
.secondary {
  background: #ffffff05;
  border-color: #ffffff1f;
  color: #c8c9df;
}
.secondary:hover {
  background: #ffffff0b;
}
.core-scene {
  position: relative;
  min-width: 0;
  min-height: 310px;
  touch-action: pan-y;
}
canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.core-readout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 20px #070819;
  display: grid;
}
.core-readout > span:first-child {
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: #c4c3f6;
}
.core-readout strong {
  font-size: 3.2rem;
  line-height: 1.35;
  font-weight: 350;
  letter-spacing: -0.07em;
}
.core-readout small {
  font-size: 1.3rem;
  font-weight: 400;
  margin-left: 3px;
  color: #a4abcb;
}
.core-status {
  font-size: 0.65rem;
  color: #b5bada;
}
.coordinate,
.core-tag {
  position: absolute;
  font: 10px/1.4 monospace;
  letter-spacing: 0.1em;
  color: #787fa4;
  bottom: 18px;
}
.coordinate {
  left: 18px;
}
.core-tag {
  right: 23px;
}
.core-fallback {
  position: absolute;
  inset: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #9186db;
  border-radius: 50%;
  background: radial-gradient(circle, #5b3f8033, #56ccff22, transparent);
  box-shadow: 0 0 30px #9161ff44;
}
.core-fallback span {
  font-size: 8rem;
  color: #8a82ff22;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.metric {
  padding: 19px;
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.metric-symbol {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffffff05;
  border: 1px solid currentColor;
  box-shadow: inset 0 0 16px #ffffff05;
  width: 39px;
  height: 43px;
  font-size: 1.45rem;
  transform: perspective(200px) rotateY(-15deg) rotateX(5deg);
  flex-shrink: 0;
}
.metric > div > span {
  font-size: 0.75rem;
  color: var(--muted);
}
.metric b {
  display: block;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.35;
}
.metric b small {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0;
}
.cyan {
  color: var(--cyan);
}
.violet {
  color: var(--violet);
}
.orange {
  color: #ffa174;
}
.tiny-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff05;
}
.tiny-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6e69ff, var(--cyan));
  width: 0;
  transition: width 0.6s;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 15px;
  gap: 12px;
}
.section-heading h2 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-heading .eyebrow {
  margin-bottom: 5px;
}
.text-button {
  background: none;
  border: 0;
  color: #b4a2f1;
  font-size: 0.85rem;
  min-height: 44px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.task {
  background: linear-gradient(135deg, #1c203482, #121628);
  border: 1px solid #75779c26;
  border-radius: 15px;
  padding: 18px;
  position: relative;
  transition:
    transform 0.22s,
    border-color 0.22s,
    box-shadow 0.22s;
  transform-style: preserve-3d;
  box-shadow:
    inset 0 1px #ffffff05,
    0 12px 22px #0002;
  min-width: 0;
}
.task:hover {
  border-color: #a490e45c;
  box-shadow:
    0 15px 30px #06081788,
    inset 0 1px #ffffff15;
}
.task.done {
  border-color: #59dbbd55;
  background: linear-gradient(125deg, #18414044, #111b2d);
}
.task-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.task-icon {
  color: var(--task-color);
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid color-mix(in srgb, var(--task-color) 35%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--task-color) 12%, transparent);
  font-size: 1.2rem;
  box-shadow: inset 0 1px #ffffff25;
  transform: translateZ(15px);
}
.task-xp {
  font: 12px monospace;
  color: #939dbb;
}
.task h3 {
  font-size: 1rem;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.task p {
  font-size: 0.875rem;
  color: #a7adc6;
  margin: 0 0 17px;
  min-height: 42px;
}
.task-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.task select {
  background: #171b30;
  border: 1px solid #444864;
  color: #cccfe6;
  border-radius: 8px;
  padding: 8px 5px;
  font-size: 0.875rem;
  max-width: calc(100% - 44px);
  min-height: 44px;
}
.check {
  border: 1px solid #8375bf77;
  color: #c3b4fc;
  background: #8e76f614;
  display: grid;
  place-items: center;
  width: 40px;
  min-height: 44px;
  border-radius: 9px;
  font-size: 1.05rem;
}
.done .check {
  background: #65dfbb;
  color: #103529;
  border-color: #65dfbb;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.water,
.quote-panel {
  padding: 22px;
}
.compact {
  margin: 0 0 18px;
}
.compact h3 {
  font-size: 1.06rem;
  margin: 0;
}
.water strong {
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 500;
}
.cups {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.cup {
  background: linear-gradient(140deg, #21324a, #141c30);
  border: 1px solid #6284a355;
  box-shadow:
    inset 0 1px #99c1d822,
    0 3px #070b17;
  border-radius: 8px;
  width: calc(12.5% - 7px);
  min-width: 30px;
  height: 42px;
  color: #9ab6ce;
  font-size: 0.85rem;
}
.cup.on {
  background: linear-gradient(140deg, #7fe5ff, #477bd8);
  color: #081532;
  border-color: #91e5ff;
  box-shadow:
    inset 0 1px #ddffff,
    0 3px #203668,
    0 0 18px #47d7ff22;
}
.muted {
  color: var(--muted);
  font-size: 0.875rem;
}
.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(ellipse at 90% 100%, #582f7944, transparent 75%),
    linear-gradient(120deg, #25203a, #17182f);
  border-color: #9c7ec033;
}
.quote-panel blockquote {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.025em;
  margin: 13px 0 18px;
}
.quote-foot {
  color: #a390c7;
  font-size: 0.8rem;
}
.view-description {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 25px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filters button {
  background: #161a2b;
  border: 1px solid #303750;
  color: #aeb5d4;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 9px;
  font-size: 0.875rem;
}
.filters .selected {
  color: #e5ddff;
  background: #8269ff2b;
  border-color: #8971de;
}
.history-panel {
  padding: 25px;
  margin: 20px 0;
}
.history-panel h2 {
  font-size: 1.2rem;
  font-weight: 600;
}
.history-bars {
  height: 240px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  align-items: end;
  padding-top: 25px;
}
.history-day {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 10px;
  font-size: 0.8rem;
  color: #adb4cd;
}
.history-bar {
  height: var(--height);
  min-height: 3px;
  background: linear-gradient(#ab8fff, #465dda);
  border-radius: 6px 6px 0 0;
  max-width: 65px;
  width: 100%;
  margin: 0 auto;
}
.history-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.history-row span {
  color: var(--muted);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.settings-card {
  padding: 24px;
}
.settings-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
}
.settings-card p {
  color: #abb1ca;
  font-size: 0.9rem;
}
.setting {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.setting b {
  font-size: 0.9rem;
}
.setting small {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}
.setting input {
  width: 23px;
  height: 23px;
  accent-color: #a28cff;
  flex-shrink: 0;
}
.goal-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.goal-row input {
  min-width: 0;
  width: 85px;
  background: #0d1121;
  border: 1px solid #555b76;
  padding: 10px;
  border-radius: 9px;
  color: var(--text);
}
.danger {
  background: #ff677c15;
  color: #ff9fb0;
  border-color: #d96c8544;
}
.empty {
  padding: 30px;
  border: 1px dashed #43465b;
  border-radius: 15px;
  color: var(--muted);
}
footer {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  color: #757d9a;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 20px;
}
.local-note {
  margin-left: auto;
}
.mobile-nav {
  display: none;
}
#toast {
  position: fixed;
  z-index: 30;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #ddd6ff;
  color: #171130;
  border: 1px solid #ede7ff;
  padding: 13px 20px;
  box-shadow: 0 10px 50px #0008;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
  font-size: 0.9rem;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  max-width: 440px;
  width: 90vw;
  color: var(--text);
  background: #171c32;
  border: 1px solid #666385;
  border-radius: 20px;
  padding: 25px;
}
dialog::backdrop {
  background: #050719c9;
  backdrop-filter: blur(8px);
}
dialog p {
  color: var(--muted);
}
.warning {
  background: #40283d;
  color: #ffc8d3;
  border: 1px solid #a4667c;
  padding: 15px;
  border-radius: 12px;
  margin: 15px 0;
}
@media (min-width: 1700px) {
  main {
    margin-right: auto;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 200px;
    padding: 28px 14px;
  }
  .brand {
    font-size: 0.95rem;
  }
  .brand small {
    font-size: 0.5rem;
  }
  main {
    margin-left: 200px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .command-copy {
    padding-left: 24px;
  }
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    gap: 9px;
    padding: 15px;
  }
  .metric-symbol {
    width: 30px;
    height: 36px;
  }
  .metric > div > span {
    font-size: 0.72rem;
  }
}
@media (max-width: 860px) {
  .sidebar {
    display: none;
  }
  main {
    margin: 0;
    padding: 0 20px 110px;
  }
  .topbar {
    height: 68px;
    margin-bottom: 25px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 20;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #16192fe8;
    border: 1px solid #8384ae44;
    border-radius: 18px;
    padding: 7px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 12px 35px #0006;
  }
  .mobile-nav button {
    border: 0;
    border-radius: 12px;
    background: none;
    color: #9dabc9;
    font-size: 0.75rem;
    min-height: 52px;
  }
  .mobile-nav span {
    display: block;
    font-size: 1.3rem;
    line-height: 1.3;
  }
  .mobile-nav button.active {
    background: #9c85ff1f;
    color: #d5c8ff;
  }
  .nav-label {
    display: none;
  }
  #toast {
    bottom: 110px;
  }
  h1 {
    font-size: 2.4rem;
  }
}
@media (max-width: 580px) {
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .breadcrumb {
    font-size: 0.65rem;
  }
  .breadcrumb span {
    padding: 0 7px;
  }
  .date {
    font-size: 0.65rem;
    max-width: 108px;
    text-align: right;
  }
  .topbar {
    gap: 10px;
  }
  .greeting {
    align-items: flex-end;
  }
  .greeting h1 {
    font-size: 2.12rem;
  }
  .greeting .eyebrow {
    font-size: 0.57rem;
    letter-spacing: 0.08em;
  }
  .daily-summary b {
    font-size: 1.5rem;
  }
  .daily-summary span {
    max-width: 83px;
    font-size: 0.7rem;
  }
  .command {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .command-copy {
    padding: 24px;
    order: 2;
    background: linear-gradient(180deg, transparent, #191b3355);
  }
  .command h2 {
    font-size: 1.9rem;
    margin-top: 14px;
  }
  .core-scene {
    min-height: 220px;
    height: 220px;
    order: 1;
    margin-bottom: -14px;
  }
  .core-readout strong {
    font-size: 2.65rem;
  }
  .core-tag,
  .coordinate {
    font-size: 8px;
    bottom: 14px;
  }
  .core-readout > span:first-child {
    font-size: 0.48rem;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 13px 10px;
    display: block;
    border-radius: 12px;
  }
  .metric-symbol {
    display: none;
  }
  .metric > div > span {
    display: block;
    min-height: 31px;
    font-size: 0.68rem;
    line-height: 1.3;
  }
  .metric b {
    font-size: 1.4rem;
    margin-top: 6px;
  }
  .metric b small {
    font-size: 0.65rem;
  }
  .task-grid {
    gap: 10px;
  }
  .task {
    padding: 14px 12px;
  }
  .task h3 {
    font-size: 0.95rem;
  }
  .task p {
    font-size: 0.875rem;
    min-height: 63px;
  }
  .task select {
    font-size: 0.8rem;
    min-width: 0;
  }
  .task-actions {
    gap: 4px;
  }
  .check {
    width: 34px;
  }
  .task-top {
    margin-bottom: 13px;
  }
  .task-xp {
    font-size: 10px;
  }
  .bottom-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .section-heading h2 {
    font-size: 1.08rem;
  }
  .section-heading .eyebrow {
    font-size: 0.56rem;
  }
  .text-button {
    font-size: 0.75rem;
  }
  .quote-panel blockquote {
    font-size: 1.18rem;
  }
  .history-bars {
    gap: 8px;
  }
  .history-panel {
    padding: 18px;
  }
  .history-row {
    font-size: 0.8rem;
  }
  .local-note {
    margin-left: 0;
  }
  .eyebrow {
    font-size: 0.6rem;
  }
  .settings-card {
    padding: 20px;
  }
}
@media (max-width: 350px) {
  .task-grid {
    grid-template-columns: 1fr;
  }
  .task p {
    min-height: 0;
  }
  .actions {
    flex-direction: column;
  }
  .greeting {
    display: block;
  }
  .daily-summary {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .task {
    transform: none !important;
  }
}
