@font-face {
  font-family: Quicksand;
  src: url("./assets/quicksand.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font: 500 16px/1.5 Quicksand, system-ui, sans-serif;
  font-optical-sizing: auto;
  --bg: #f7f4fb;
  --surface: #fffefd;
  --ink: #25242b;
  --muted: #494550;
  --heading-ink: #302737;
  --title-ink: #1f2025;
  --line: #d7c0e9;
  --accent: #7540b5;
  --accent-rgb: 117, 64, 181;
  --accent-strong: #4e227f;
  --accent-mid: #a074d0;
  --accent-soft: #e9daf7;
  --hero-a: #ede1fa;
  --hero-b: #d9c2f3;
  --positive: #38735e;
  --danger: #a63e59;
  --shadow: 0 10px 29px rgba(69, 44, 93, .055);
  --radius: 20px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

:root[data-theme="powder"] {
  --bg: #fcf5f7;
  --surface: #fffdfd;
  --ink: #25242b;
  --muted: #494550;
  --line: #e5b8ce;
  --accent: #ae3d73;
  --accent-rgb: 174, 61, 115;
  --accent-strong: #79234e;
  --accent-mid: #c46c97;
  --accent-soft: #f4dbe7;
  --hero-a: #f9e8ef;
  --hero-b: #f0c8d9;
  --positive: #416e59;
  --shadow: 0 10px 29px rgba(102, 43, 69, .055);
}

:root[data-theme="sage"] {
  --bg: #f3f7f0;
  --surface: #fdfffc;
  --ink: #25242b;
  --muted: #494550;
  --line: #bbd6bf;
  --accent: #34754a;
  --accent-rgb: 52, 117, 74;
  --accent-strong: #1f5532;
  --accent-mid: #659e76;
  --accent-soft: #deeddd;
  --hero-a: #eaf2e5;
  --hero-b: #c7dec1;
  --positive: #38684b;
  --shadow: 0 10px 29px rgba(41, 77, 50, .055);
}

:root[data-theme="baby-blue"] {
  --bg: #f3f7fc;
  --surface: #fdfeff;
  --ink: #25242b;
  --muted: #494550;
  --line: #bbd1e9;
  --accent: #356fa8;
  --accent-rgb: 53, 111, 168;
  --accent-strong: #214f7d;
  --accent-mid: #6a93c3;
  --accent-soft: #dce9f7;
  --hero-a: #e8f1fa;
  --hero-b: #c8dcf1;
  --positive: #356c5a;
  --shadow: 0 10px 29px rgba(47, 76, 110, .055);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 300px; background: var(--bg); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
button { cursor: pointer; font-weight: 700; }
button:disabled { opacity: .45; cursor: default; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: rgba(var(--accent-rgb), .16); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--heading-ink); }
h1 { font-weight: 700; letter-spacing: normal; line-height: 1.12; color: var(--title-ink); }
h2 { font-size: 1.12rem; line-height: 1.3; font-weight: 700; letter-spacing: normal; }
h3 { font-size: 1rem; font-weight: 700; }
summary { font-weight: 700; }
strong, b { font-weight: 700; }
time { font-weight: 500; }
small { font-size: .78rem; font-weight: 500; }
svg { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
[hidden] { display: none !important; }

#app { --sidebar-width: 236px; min-height: 100dvh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100dvh;
  overflow-y: auto;
  padding: 30px 17px 23px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; font-size: 1.23rem; font-weight: 700; letter-spacing: normal; color: var(--title-ink); }
.sidebar .brand { padding: 0 8px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--surface);
  background: var(--accent);
  border-radius: 13px;
  box-shadow: 0 5px 11px rgba(var(--accent-rgb), .21);
}
.side-nav, .side-secondary { display: grid; gap: 5px; }
.side-secondary { border-top: 1px solid var(--line); padding-top: 15px; margin-top: auto; }
.nav-link { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 9px 13px; border-radius: 12px; color: var(--muted); font-size: .94rem; font-weight: 700; }
.nav-link:hover, .nav-link.is-active { background: var(--accent-soft); color: var(--accent-strong); }
.mobile-brand { display: none; }
.workspace { width: min(100%, 1200px); margin-inline: auto; padding: 0 clamp(22px, 4vw, 58px) calc(86px + var(--safe-bottom)); }
.bottom-nav {
  position: fixed;
  z-index: 4;
  left: var(--sidebar-width);
  bottom: 0;
  right: 0;
  padding: 5px max(4px, env(safe-area-inset-right)) calc(5px + var(--safe-bottom)) max(4px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(var(--accent-rgb), .055);
  background: var(--surface);
}
.bottom-nav-items {
  width: min(100%, 640px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
}
.bottom-nav .nav-link {
  min-width: 0;
  min-height: 48px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 3px 0;
  border-radius: 9px;
  font-size: clamp(.57rem, 2.4vw, .73rem);
  line-height: 1.1;
  text-align: center;
}
.bottom-nav .nav-link > span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 93px; gap: 8px; }
.topbar-main { min-width: 0; }
.topbar h1 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.35rem, 3vw, 2.1rem); }
.topbar h1 svg { color: var(--accent); }
.page { min-width: 0; }
.page:not(.page-home) { width: min(100%, 810px); }
.page-home { padding-top: 2px; }
.page-home .topbar { min-height: 76px; }
#app:has(.page-home) .topbar { min-height: 75px; justify-content: flex-end; }

.stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.row { display: flex; align-items: center; gap: 9px; min-width: 0; }
.between { justify-content: space-between; }
.end { justify-content: flex-end; }
.wrap { flex-wrap: wrap; }
.muted { color: var(--muted); font-weight: 500; }
.danger { color: var(--danger) !important; }
.card {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.section-title { min-height: 30px; margin-bottom: 9px; }
.empty { font-size: .93rem; padding: 12px 0 4px; }
.entry { min-width: 0; padding: 7px 0; }
.entry + .entry { border-top: 1px solid var(--line); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  min-height: 42px;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--accent-strong);
  font-weight: 500;
  text-align: center;
  font-size: .9rem;
  line-height: 1.25;
}
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 3px 9px rgba(var(--accent-rgb), .17); }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { background: var(--accent-soft); border-color: var(--line); }
.button-secondary:hover, .button-ghost:hover, .button-icon:hover { background: var(--accent-soft); border-color: var(--accent-mid); }
.button-ghost { border-color: var(--line); background: var(--surface); }
.icon-button { width: 40px; height: 40px; min-height: 40px; flex: 0 0 40px; padding: 0; border-radius: 12px; background: var(--accent-soft); }
.topbar .icon-button { background: var(--surface); border-color: var(--line); }
.field { display: grid; gap: 5px; min-width: 0; font-size: .9rem; font-weight: 500; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 1rem;
  font-weight: 500;
}
textarea { resize: vertical; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; margin: 0; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-actions { justify-content: flex-end; flex-wrap: wrap; }
.form-actions.between { justify-content: space-between; }
.check { color: var(--positive); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; background: var(--accent-soft); color: var(--accent-strong); border: 0; padding: 4px 8px; border-radius: 999px; font-weight: 500; font-size: .78rem; }
.modal {
  width: min(520px, calc(100% - 22px));
  max-height: min(86dvh, 800px);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 64px rgba(25, 19, 33, .18);
}
.modal::backdrop { background: rgba(32, 25, 41, .44); }
.modal-header { padding: 12px 15px 12px 18px; position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--line); background: var(--surface); }
.modal-body { padding: 15px 18px 18px; }
.modal-body form { margin: 0; }
.date-nav { display: grid; gap: 6px; }
.date-strip {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 7px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
.date-label { text-align: center; font-size: .98rem; font-weight: 500; }
.date-actions { display: flex; justify-content: center; }
.date-actions .button { min-height: 36px; border-color: transparent; background: transparent; }
.date-actions .button:hover { background: var(--accent-soft); }
progress { display: block; width: 100%; height: 8px; overflow: hidden; appearance: none; border: 0; border-radius: 999px; color: var(--accent); background: var(--accent-soft); }
progress::-webkit-progress-bar { background: var(--accent-soft); }
progress::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, var(--accent-mid), var(--accent)); }
progress::-moz-progress-bar { border-radius: 999px; background: var(--accent); }

.home-content { gap: 25px; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(225px, .85fr);
  min-height: 285px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(105deg, var(--hero-a) 30%, var(--hero-b));
  box-shadow: var(--shadow);
}
.hero-copy { position: relative; z-index: 1; padding: clamp(24px, 5vw, 49px); align-self: center; }
.hero-date { display: flex; align-items: center; gap: 7px; color: var(--accent-strong); font-size: .84rem; font-weight: 500; }
.hero-copy h1 { margin: 10px 0 6px; font-size: clamp(2.6rem, 6vw, 4.7rem); color: var(--accent-strong); }
.hero-copy p { color: var(--accent-strong); font-size: clamp(.92rem, 1.5vw, 1.12rem); font-weight: 500; }
.hero-button { margin-top: 19px; flex-direction: row-reverse; }
.hero-art { position: relative; align-self: stretch; min-height: 230px; display: grid; place-items: center; overflow: hidden; color: var(--accent); }
.hero-calendar {
  display: grid;
  place-items: center;
  width: 158px;
  height: 158px;
  transform: rotate(-9deg);
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 40px;
  background: linear-gradient(138deg, rgba(255,255,255,.78), rgba(255,255,255,.24));
  box-shadow: 12px 14px 30px rgba(var(--accent-rgb), .19), inset 0 0 25px rgba(255,255,255,.27);
}
.hero-calendar svg { filter: drop-shadow(0 3px 3px rgba(var(--accent-rgb), .15)); }
.hero-orbit { position: absolute; width: 232px; height: 232px; border: 1px solid rgba(255,255,255,.63); border-radius: 50%; }
.orbit-b { width: 297px; height: 297px; opacity: .7; }
.hero-spark { position: absolute; }
.spark-a { top: 17%; right: 14%; }
.spark-b { bottom: 16%; left: 15%; opacity: .65; }
.home-body { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(200px, .9fr); gap: 20px; align-items: end; }
.home-menu h2 { margin: 0 0 9px 2px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.menu-tile {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  min-height: 71px;
  padding: 9px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.menu-tile:hover { border-color: var(--accent-mid); background: var(--accent-soft); }
.tile-icon { display: grid; place-items: center; width: 43px; height: 43px; background: var(--accent-soft); color: var(--accent); border-radius: 12px; }
.tile-label { min-width: 0; overflow-wrap: anywhere; }
.tile-label strong, .tile-label small { display: block; line-height: 1.3; }
.tile-label small { margin-top: 3px; color: var(--muted); }
.menu-tile > svg { color: var(--accent); }
.home-aside { gap: 10px; }
.home-aside .card { display: grid; min-height: 148px; gap: 5px; padding: 14px 16px; }
.home-aside h2 { font-size: 1rem; }
.home-aside .card svg { color: var(--accent); }
.home-aside p { font-size: .82rem; }
.home-percentage { color: var(--accent-strong); font-size: 1.65rem; line-height: 1.4; }

.meal-table-wrap { overflow: hidden; padding: 0; }
.meal-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; font-size: .93rem; }
.meal-table thead { color: var(--accent-strong); background: var(--accent-soft); }
.meal-table th { padding: 10px; font-weight: 700; overflow-wrap: anywhere; }
.meal-table th svg { margin-right: 5px; }
.meal-table th:first-child { width: 26%; }
.meal-table td, .meal-table tbody th { border-top: 1px solid var(--line); }
.meal-table td { border-left: 1px solid var(--line); padding: 3px; }
.meal-table th small { display: block; color: var(--muted); }
.meal-today th { background: var(--accent-soft); color: var(--accent-strong); }
.meal-cell { display: block; width: 100%; min-height: 50px; border: 0; background: transparent; text-align: left; padding: 8px; border-radius: 8px; overflow-wrap: anywhere; }
.meal-cell:hover { background: var(--accent-soft); }
.meal-cell.is-empty { color: var(--muted); font-size: .8rem; }
.meal-cell .row { gap: 4px; }
.meal-hint { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; font-size: .85rem; color: var(--accent-strong); background: var(--accent-soft); }
.shopping-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 5px; }
.shopping-entry .icon-button { width: 36px; height: 36px; min-height: 36px; }
.shopping-entry .icon-button:first-of-type { grid-column: 3; }
.product-check { display: flex; align-items: center; gap: 9px; font-weight: 500; cursor: pointer; min-height: 38px; overflow-wrap: anywhere; }
.product-check:has(input:checked) { color: var(--positive); }
.product-quantity { max-width: 100px; overflow-wrap: anywhere; font-size: .82rem; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-panel { gap: 9px; }
.share-panel label { font-size: .87rem; cursor: pointer; }
.purchase-history summary { cursor: pointer; font-weight: 700; }
.purchase-history time { flex: 0 0 auto; font-size: .75rem; }
.theme-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.theme-option { border: 1px solid var(--line); border-radius: 12px; padding: 7px; text-align: left; font-size: .83rem; font-weight: 500; background: var(--bg); }
.theme-option[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-strong); box-shadow: inset 0 0 0 1px var(--accent); }
.theme-preview { display: flex; overflow: hidden; border-radius: 7px; height: 24px; margin-bottom: 6px; }
.theme-preview span { flex: 1; }
.water-goal-form { display: flex; align-items: flex-end; gap: 9px; }
.water-goal-form input { max-width: 180px; }
.settings-actions { margin-top: 11px; }
.settings-screen .card > p + .button { margin-top: 10px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-160%); background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.toast { position: fixed; z-index: 5; bottom: calc(72px + var(--safe-bottom)); right: 20px; padding: 10px 15px; border-radius: 12px; max-width: min(430px, calc(100% - 32px)); background: var(--ink); color: var(--surface); box-shadow: var(--shadow); font-size: .89rem; font-weight: 500; }

.topbar-actions { flex: 0 0 auto; gap: 5px; }
.reminder-indicator { position: relative; display: inline-flex; }
.reminder-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  padding: 1px 4px;
  text-align: center;
  border: 1px solid var(--surface);
  border-radius: 20px;
  background: var(--accent-strong);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  pointer-events: none;
}
.reminder-active { border-color: var(--accent-mid); color: var(--accent-strong); }
.shortcut-heading { margin-bottom: 9px; }
.shortcut-heading h2 { margin-bottom: 0; }
.shortcut-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shortcut-options svg { color: var(--accent); }
.shortcut-options label { font-size: .9rem; cursor: pointer; }
.meal-choice-info, .stock-name small, .search-result small { display: block; }
.house-entry { gap: 5px; padding: 10px 0; }
.house-entry:first-child { margin-top: 4px; }
.house-entry .muted { font-size: .85rem; }
.house-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 12px; text-align: center; }
.house-calendar-cell { min-width: 0; min-height: 40px; padding: 3px 0; border: 1px solid transparent; border-radius: 9px; display: grid; place-content: center; }
button.house-calendar-cell { background: var(--accent-soft); color: var(--accent-strong); border-color: var(--line); font-weight: 500; }
.house-dots, .house-key { display: flex; align-items: center; justify-content: center; gap: 4px; }
.house-key { gap: 7px; font-size: .78rem; margin-top: 10px; }
.house-dots i, .house-key i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.house-dots i.done, .house-key i.done { background: var(--positive); }
.search-result { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; background: none; border: 0; border-radius: 8px; text-align: left; padding: 7px 5px; overflow-wrap: anywhere; }
.search-result:hover { background: var(--accent-soft); }
.search-result svg { color: var(--accent); }
.record-target { outline: 2px solid var(--accent-mid); outline-offset: 3px; scroll-margin-block: 24px 80px; border-radius: 9px; }

@media (max-width: 1050px) {
  .home-body { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .home-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .home-aside .card { min-height: 0; }
}

@media (max-width: 760px) {
  #app { --sidebar-width: 0px; display: block; }
  .sidebar { display: none; }
  .mobile-brand { display: block; }
  .workspace { padding: 0 max(13px, env(safe-area-inset-right)) calc(86px + var(--safe-bottom)) max(13px, env(safe-area-inset-left)); }
  .topbar, #app:has(.page-home) .topbar { min-height: 65px; justify-content: space-between; }
  .topbar h1 svg { width: 20px; height: 20px; }
  .toast { bottom: calc(72px + var(--safe-bottom)); right: 13px; }
  .card { padding: 13px; border-radius: 16px; }
  .meal-table-wrap { padding: 0; }
  .home-content { gap: 16px; }
  .home-hero { min-height: 202px; grid-template-columns: minmax(0, 1fr) 114px; border-radius: 21px; }
  .hero-copy { padding: 17px 0 18px 16px; }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 3.8rem); }
  .hero-date { font-size: .74rem; }
  .hero-art { min-height: 0; overflow: visible; }
  .hero-calendar { width: 77px; height: 77px; border-radius: 20px; }
  .hero-calendar svg { width: 49px; height: 49px; }
  .hero-orbit { width: 108px; height: 108px; }
  .orbit-b { width: 139px; height: 139px; }
  .spark-a { top: 23%; right: 10%; }
  .spark-b { bottom: 19%; left: 7%; }
  .hero-spark svg { width: 17px; height: 17px; }
  .home-body { gap: 11px; }
  .menu-grid { gap: 7px; }
  .menu-tile { grid-template-columns: 32px minmax(0, 1fr) 12px; min-height: 62px; padding: 7px; gap: 5px; }
  .tile-icon { width: 32px; height: 32px; border-radius: 9px; }
  .tile-icon svg { width: 18px; height: 18px; }
  .tile-label strong { font-size: .88rem; }
  .tile-label small { font-size: .69rem; }
  .home-aside { gap: 7px; align-items: stretch; }
  .home-aside .card { padding: 9px 10px; }
  .home-aside h2 { font-size: .82rem; }
  .home-percentage { font-size: 1.15rem; }
  .home-aside p { font-size: .72rem; }
  .meal-table th { padding: 8px 5px; font-size: .78rem; }
  .meal-table th:first-child { width: 29%; }
  .meal-table th svg { display: none; }
  .meal-cell { font-size: .82rem; padding: 6px 4px; }
  .meal-table th small { font-size: .71rem; }
}

@media (max-width: 355px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) 90px; }
  .tile-label small { display: none; }
  .action-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar-actions .icon-button { width: 34px; min-height: 34px; height: 34px; flex-basis: 34px; }
  .topbar-main:has(h1) { gap: 6px; }
  .topbar-main:has(h1) > .icon-button { width: 34px; min-height: 34px; height: 34px; flex-basis: 34px; }
  .topbar h1 { font-size: 1.23rem; gap: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .menu-tile, .nav-link { transition: background-color .14s, border-color .14s, color .14s; }
}

/* Sayfalar ve açılır pencerelerde aynı yazı hiyerarşisi. */
.page .habit-filter,
.page .report-tabs button { font-weight: 700; }
.page .practice-details > summary,
.page .learning-timer-details > summary,
.page .report-stat > span,
.page .report-table-heading { font-weight: 700; }
.page .journal-history-date time,
.page .report-day-date strong,
.page .report-day-time,
.page .report-task-duration,
.page .report-activity-duration,
.page .report-clock-center strong,
.page .report-clock-center small,
.page .report-clock-hour,
.page .report-clock-key,
.page .practice-calendar-day small,
.page .habit-week-day strong,
.page .learning-clock,
.page .focus-clock,
.modal .task-dialog-clock,
.modal .task-time-record-copy > strong,
.page .report-manual-time strong { font-weight: 500; }

/* Metinler koyu kalırken tema vurgu renkleri simge ve düğmelerde korunur. */
.page .task-entry-name,
.page .top-tasks .button { color: var(--ink); }
.page .task-entry.done .task-entry-name { color: var(--muted); }
.page .top-tasks .button svg { color: var(--accent-strong); }

#app .brand,
.page .today-heading-title { font-weight: 700; }
.page .task-entry-name,
#app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#app textarea,
#app select,
.modal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.modal textarea,
.modal select { font-weight: 500; }

/* Ortak hiyerarşi, bileşenlerin font: inherit kurallarında da korunur. */
#app button,
.modal button,
.button,
.nav-link,
.menu-sheet-link,
.journal-tab,
.page .task-list-label strong,
.page .practice-name h2 { font-weight: 700; }
