:root {
  --blue: #235ed8;
  --ink: #1d304c;
  --muted: #6c7b90;
  --green: #168368;
  --line: #e5ebf2;
  --bg: #f5f8fc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
  padding: 11px 16px;
  color: var(--ink);
  font-weight: 600;
  min-height: 44px;
}
button:hover {
  border-color: #8daee9;
  background: #f1f6ff;
}
button.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
button.green {
  background: #158366;
  color: white;
}
button.danger {
  color: #b33144;
}
button.small {
  font-size: 12px;
  padding: 7px 10px;
  min-height: 36px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: var(--blue);
}
#sidebar {
  width: 250px;
  background: white;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
.brand-icon {
  background: var(--blue);
  color: #ffe48a;
  display: grid;
  place-items: center;
  width: 42px;
  height: 45px;
  border-radius: 13px;
  font-size: 31px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.9px;
  margin-top: 6px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-block: 1px solid var(--line);
  padding: 23px 0;
  margin: 28px 0 18px;
}
.avatar {
  font-size: 29px;
  background: #fff2d5;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  text-align: center;
}
.profile strong {
  font-size: 12px;
}
.profile small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
nav {
  display: grid;
  gap: 7px;
}
nav button {
  text-align: left;
  border: 0;
  color: var(--muted);
  padding: 13px 16px;
  font-size: 14px;
  display: flex;
  gap: 13px;
  align-items: center;
}
nav button.active {
  background: #eaf1ff;
  color: var(--blue);
}
nav .nav-icon {
  font-size: 21px;
  width: 23px;
}
.side-bottom {
  margin-top: auto;
  border-radius: 18px;
  background: #f1f8f5;
  padding: 16px;
  text-align: center;
  font-size: 12px;
}
.side-bottom p {
  font-size: 10px;
  color: var(--muted);
}
.kiki {
  font-size: 39px;
}
.local-dot {
  color: var(--green);
  font-size: 10px;
}
main {
  margin-left: 250px;
}
header {
  height: 83px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 42px;
  font-size: 12px;
  color: var(--muted);
}
header span {
  margin: 0 12px;
  color: #b6c2d1;
}
.parent-link {
  font-size: 12px;
}
#app {
  max-width: 1330px;
  margin: auto;
  padding: 30px 42px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 23px;
}
h1 {
  font-size: 29px;
  line-height: 1.4;
  margin: 5px 0 7px;
  letter-spacing: -0.8px;
}
h2 {
  font-size: 19px;
  margin: 0 0 10px;
}
h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
p {
  margin: 6px 0 12px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.eyebrow {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.date-badge {
  font-size: 12px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
}
.hero {
  position: relative;
  background: #eaf2ff;
  border: 1px solid #d7e6ff;
  border-radius: 23px;
  padding: 26px 30px;
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 182px;
}
.hero h2 {
  font-size: 25px;
  margin: 0 0 9px;
}
.hero p {
  max-width: 570px;
  color: #536a8c;
  font-size: 13px;
}
.hero-art {
  flex: 0 0 170px;
  text-align: center;
  position: relative;
  font-size: 87px;
  line-height: 1.2;
  transform: rotate(-5deg);
}
.hero-art:before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 30px;
  color: #edb643;
}
.hero-art:after {
  content: "✧";
  position: absolute;
  right: 10px;
  bottom: 0;
  font-size: 32px;
  color: #70b49c;
}
.mood-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.mood-row button {
  font-size: 12px;
  padding: 8px 12px;
  min-height: 37px;
  background: #ffffffb5;
}
.mood-row .chosen {
  border: 1px solid #5b86cf;
  background: white;
  color: var(--blue);
}
.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 24px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 0 15px;
}
.section-title h2 {
  margin: 0;
}
.pill {
  display: inline-block;
  border-radius: 7px;
  background: #edf3ff;
  color: #3864aa;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 600;
}
.pill.green {
  background: #e6f6ee;
  color: #21735d;
}
.pill.gold {
  background: #fff2cf;
  color: #866316;
}
.pill.red {
  background: #fff0f0;
  color: #ac3a47;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px #20365003;
}
.focus-list {
  display: flex;
  gap: 9px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}
.focus-chip {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 13px;
  font-size: 11px;
  flex: 1;
  min-width: 125px;
}
.focus-chip b {
  display: inline-grid;
  place-items: center;
  background: #fff4d9;
  color: #a77715;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  margin-right: 6px;
}
.next-card {
  border: 2px solid #a4c0f2;
  position: relative;
  padding: 24px;
}
.next-heading {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 1.1px;
  margin-bottom: 17px;
}
.task-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.task-icon {
  width: 51px;
  height: 51px;
  background: #eef3ff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 27px;
  flex-shrink: 0;
}
.task-title h2 {
  font-size: 21px;
  margin-bottom: 3px;
}
.meta {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
}
.criteria {
  background: #f6f8fb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  margin: 15px 0;
}
.checklist {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}
.checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
}
.checklist input {
  width: 19px;
  height: 19px;
  accent-color: var(--blue);
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.actions button {
  font-size: 12px;
}
.timer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 16px;
}
.timer strong {
  font-size: 29px;
  letter-spacing: 1px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.timer select {
  font-size: 12px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.timeline {
  display: grid;
  gap: 0;
}
.timeline-row {
  display: grid;
  grid-template-columns: 55px 15px 1fr;
  gap: 10px;
  position: relative;
  padding: 13px 0;
}
.timeline-time {
  font-size: 11px;
  color: var(--muted);
  padding-top: 10px;
}
.timeline-dot {
  width: 11px;
  height: 11px;
  border: 3px solid #c4d4ea;
  border-radius: 50%;
  margin-top: 15px;
  position: relative;
}
.timeline-dot:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 1px;
  height: calc(100% + 78px);
  background: #e3eaf3;
}
.timeline-row:last-child .timeline-dot:after {
  display: none;
}
.timeline-item {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
}
.timeline-item strong {
  font-size: 13px;
}
.timeline-item small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.timeline-item button {
  background: none;
  border: 0;
  padding: 4px;
  min-height: 30px;
  font-size: 12px;
  color: var(--blue);
}
.progress-ring {
  width: 113px;
  height: 113px;
  background: conic-gradient(var(--green) var(--progress), #edf2f4 0);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 18px auto;
}
.progress-inner {
  width: 91px;
  height: 91px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
}
.progress-inner strong {
  font-size: 26px;
  line-height: 1.2;
}
.progress-inner small {
  font-size: 10px;
  color: var(--muted);
}
.center {
  text-align: center;
}
.score-row {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 19px;
}
.score-row strong {
  font-size: 25px;
  display: block;
  color: var(--blue);
}
.score-row small {
  font-size: 10px;
  color: var(--muted);
}
.warm-card {
  background: #fff9e9;
  border-color: #f2e7c8;
}
.warm-card p {
  font-size: 12px;
  color: #776a4c;
}
.quote {
  font-size: 13px !important;
  font-weight: 500;
}
.week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.week-day {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px;
  min-height: 220px;
}
.week-day h3 {
  font-size: 12px;
}
.week-day.today {
  border-color: #82aaf0;
  background: #f1f6ff;
}
.week-task {
  font-size: 10px;
  border: 1px solid #e5eaf1;
  background: #f9fbff;
  border-radius: 7px;
  padding: 9px 7px;
  margin: 8px 0;
  cursor: pointer;
}
.week-task small {
  display: block;
  color: var(--muted);
}
.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.toolbar input {
  width: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.grid .card {
  margin: 0;
}
.library-icon {
  font-size: 30px;
  margin-bottom: 12px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 20px 0;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  padding: 17px;
  border-radius: 13px;
}
.stat b {
  display: block;
  font-size: 29px;
  color: var(--blue);
}
.stat small {
  font-size: 11px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  margin-bottom: 12px;
}
.field.full {
  grid-column: 1/-1;
}
input,
select,
textarea {
  border: 1px solid #cfdae6;
  border-radius: 9px;
  padding: 10px;
  background: white;
  color: var(--ink);
  min-width: 0;
  width: 100%;
}
textarea {
  resize: vertical;
  min-height: 78px;
}
input[type="checkbox"] {
  width: auto;
}
dialog {
  width: min(680px, calc(100% - 28px));
  max-height: 90vh;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 20px 100px #0e204244;
}
dialog::backdrop {
  background: #152b4b75;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.modal-head h2 {
  margin: 0;
}
.close {
  border: 0;
  padding: 2px 10px;
  font-size: 24px;
}
.notice {
  background: #edf4ff;
  border: 1px solid #d5e4ff;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 12px;
  margin: 12px 0;
}
.notice.warn {
  background: #fff7df;
  border-color: #efdc9e;
  color: #786222;
}
.notice.error {
  background: #fff0f0;
  color: #a83446;
}
.parent-task {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.parent-task .actions {
  margin-top: 9px;
}
.history {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.badge {
  border: 1px solid #e8dfc5;
  background: #fffaf0;
  border-radius: 13px;
  padding: 16px;
  text-align: center;
}
.badge.locked {
  filter: grayscale(1);
  opacity: 0.65;
}
.badge span {
  display: block;
  font-size: 35px;
}
.badge strong {
  font-size: 12px;
}
.badge small {
  display: block;
  font-size: 10px;
}
.empty {
  padding: 35px;
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd8e8;
  border-radius: 15px;
  color: var(--muted);
}
#demo-bar:empty {
  display: none;
}
#demo-bar {
  background: #fff4d9;
  font-size: 11px;
  padding: 9px 42px;
  color: #7b601f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#demo-bar button {
  font-size: 11px;
  padding: 5px 11px;
  min-height: 32px;
  border-color: #ead697;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
td,
th {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 11px 9px;
}
th {
  color: var(--muted);
  font-weight: 500;
}
footer {
  text-align: center;
  padding: 27px;
  color: #8b97a7;
  font-size: 10px;
}
footer span {
  color: #d6887d;
}
footer small {
  font-size: 9px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #183652;
  color: white;
  border-radius: 12px;
  padding: 13px 22px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 99;
  max-width: 90vw;
  font-size: 13px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.bar {
  height: 8px;
  background: #edf1f6;
  border-radius: 8px;
  margin: 8px 0;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: #5885d9;
}
.print-only {
  display: none;
}
.muted-link {
  color: var(--blue);
  font-size: 12px;
}
body.reduced * {
  animation: none !important;
  transition: none !important;
}
@media (min-width: 1500px) {
  #app {
    padding-top: 38px;
  }
  .hero {
    min-height: 195px;
  }
}
@media (max-width: 1100px) {
  #sidebar {
    width: 210px;
    padding: 25px 15px;
  }
  main {
    margin-left: 210px;
  }
  #app {
    padding: 25px;
  }
  header {
    padding: 0 25px;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
    gap: 18px;
  }
  .week-days {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  #sidebar {
    position: fixed;
    bottom: 0;
    top: auto;
    width: 100%;
    height: 73px;
    padding: 4px 3px;
    z-index: 20;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .brand,
  .profile,
  .side-bottom {
    display: none;
  }
  nav {
    display: flex;
    justify-content: space-around;
    gap: 0;
  }
  nav button {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 2px;
    font-size: 8px;
    min-width: 0;
    border-radius: 8px;
  }
  nav .nav-icon {
    font-size: 20px;
    line-height: 1.5;
  }
  main {
    margin: 0 0 73px;
  }
  header {
    height: 60px;
    padding: 0 17px;
  }
  header #breadcrumb {
    font-size: 10px;
  }
  .parent-link {
    font-size: 10px;
    padding: 7px 10px;
    min-height: 35px;
  }
  #app {
    padding: 20px 16px;
  }
  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 17px;
  }
  h1 {
    font-size: 24px;
  }
  .date-badge {
    font-size: 10px;
    padding: 7px 10px;
  }
  .hero {
    padding: 20px;
    border-radius: 17px;
    min-height: 170px;
  }
  .hero h2 {
    font-size: 21px;
  }
  .hero-art {
    flex-basis: 70px;
    font-size: 53px;
    align-self: flex-start;
    margin-top: 10px;
  }
  .hero p {
    font-size: 11px;
  }
  .hero-art:before,
  .hero-art:after {
    font-size: 18px;
  }
  .mood-row {
    margin-top: 12px;
    gap: 5px;
  }
  .mood-row button {
    font-size: 10px;
    padding: 7px 8px;
  }
  .dashboard {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .dashboard > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .focus-list {
    gap: 6px;
  }
  .focus-chip {
    min-width: 90px;
    padding: 8px;
    font-size: 9px;
  }
  .focus-chip b {
    width: 18px;
    height: 18px;
    margin-right: 3px;
  }
  .card {
    padding: 18px;
  }
  .next-card {
    padding: 20px;
  }
  .task-title h2 {
    font-size: 18px;
  }
  .actions button {
    flex-grow: 1;
  }
  .week-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  #demo-bar {
    padding: 8px 16px;
    font-size: 10px;
  }
  #demo-bar span {
    max-width: 65%;
  }
  .parent-task {
    display: block;
  }
  .toolbar button {
    font-size: 11px;
  }
  .page-head p {
    font-size: 12px;
  }
  dialog {
    padding: 20px;
  }
  #toast {
    bottom: 90px;
    width: max-content;
  }
  .timeline-row {
    grid-template-columns: 43px 10px 1fr;
    gap: 8px;
  }
  .timeline-time {
    font-size: 10px;
  }
  .timeline-item {
    padding: 11px;
  }
  .timeline-item strong {
    font-size: 11px;
  }
}
@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }
  body {
    background: white;
    font-size: 10px;
  }
  #sidebar,
  header,
  footer,
  #demo-bar,
  .no-print,
  dialog,
  #toast {
    display: none !important;
  }
  main {
    margin: 0;
  }
  #app {
    padding: 0;
    max-width: none;
  }
  .week-days {
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
  }
  .week-day {
    border-color: #aaa;
    background: white !important;
    break-inside: avoid;
    padding: 7px;
  }
  .week-task {
    background: white;
  }
  .print-only {
    display: block;
  }
  .card {
    box-shadow: none;
  }
  .page-head h1 {
    font-size: 20px;
  }
}

#connection-status {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-left: 250px;
  padding: 7px 20px;
  font-size: 11px;
  background: #eaf3ff;
  color: #235088;
  min-height: 32px;
}
#connection-status.error {
  background: #ffefef;
  color: #982639;
}
#connection-status.pending {
  background: #fff5d9;
  color: #7d5d0c;
}
#connection-status.ok {
  background: #eaf6ef;
  color: #216b4f;
}
#connection-status button {
  min-height: 28px;
  padding: 3px 8px;
  font-size: 10px;
}
#auth-screen {
  position: fixed;
  inset: 0;
  z-index: 29;
  overflow: auto;
  display: grid;
  place-items: center;
  background: #f1f6fd;
  padding: 55px 18px 24px;
}
.auth-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 23px;
  width: min(460px, 100%);
  padding: 30px;
}
.signed-out > main,
.signed-out > #sidebar {
  visibility: hidden;
}
.signed-out #connection-status {
  margin-left: 0;
}
.signed-out dialog {
  display: none;
}
#auth-error,
#account-error {
  font-size: 12px;
  color: #a32d40;
}
.auth-card button {
  width: 100%;
}
@media (max-width: 1100px) {
  #connection-status {
    margin-left: 210px;
  }
}
@media (max-width: 760px) {
  #connection-status {
    margin-left: 0;
    padding: 7px 15px;
    font-size: 10px;
  }
  .auth-card {
    padding: 24px;
  }
}
@media print {
  #connection-status,
  #auth-screen {
    display: none !important;
  }
}
/* Experience 3 — shared visual tokens, child-first typography. */
:root {
  --bg: #fafbf7;
  --blue: #2777c9;
  --ink: #203951;
  --muted: #536779;
  --line: #e1e9e9;
  --green: #2f8c74;
  --mint: #e8f4ec;
  --peach: #fff0e4;
  --gold: #faf1d8;
  --radius: 22px;
  --shadow: 0 7px 24px #243f5010;
}
body {
  background: var(--bg);
  font-size: 18px;
  line-height: 1.65;
}
body[data-theme="mint"] {
  --blue: #247e68;
  --bg: #f7fbf8;
}
body[data-theme="peach"] {
  --blue: #a9502b;
  --bg: #fdfaf6;
}
body[data-theme="simple"] {
  --blue: #355a7f;
  --bg: #f7f8fa;
}
button,
input,
select,
textarea {
  font-size: 18px;
}
button {
  min-height: 48px;
  border-radius: 13px;
  font-weight: 600;
}
button.small {
  min-height: 48px;
  font-size: 16px;
}
.card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 27px;
}
h1 {
  font-size: 32px;
  letter-spacing: -0.7px;
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 20px;
}
.muted {
  font-size: 17px;
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #446f84;
}
.ui-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.brand-icon {
  background: #e3f1e9;
  color: var(--green);
  box-shadow: none;
}
.brand {
  font-size: 20px;
}
.brand small {
  font-size: 11px;
  letter-spacing: 2.2px;
}
#sidebar {
  padding: 28px 20px;
}
.profile {
  margin-top: 28px;
}
.profile strong {
  font-size: 17px;
}
.profile small {
  font-size: 13px;
}
.avatar {
  background: var(--mint);
}
nav button {
  font-size: 17px;
  min-height: 54px;
  color: var(--muted);
  border-radius: 13px;
}
nav button.active {
  background: #e8f2fc;
  color: #215e96;
}
nav .nav-icon {
  display: grid;
  place-items: center;
}
.side-bottom {
  background: #f1f6f0;
  font-size: 14px;
}
.side-bottom p {
  font-size: 12px;
}
.side-bottom .kiki {
  display: none;
}
.side-bottom button {
  width: 100%;
}
header {
  height: 90px;
  background: #fff;
  border-color: var(--line);
  gap: 16px;
  padding: 0 35px;
}
header #breadcrumb {
  font-size: 13px;
}
.parent-link {
  font-size: 14px;
  background: #f8fafb;
  white-space: nowrap;
}
.profile-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.profile-picker select {
  max-width: 210px;
  min-height: 48px;
  font-size: 16px;
  background: #f7fafb;
}
.profile-picker span {
  white-space: nowrap;
}
#app {
  padding: 32px 35px;
  max-width: 1390px;
}
.page-head {
  margin-bottom: 24px;
}
.page-head p {
  margin: 0;
}
.welcome-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin: 6px 0 30px;
}
.welcome-strip h2 {
  font-size: 30px;
  line-height: 1.45;
  letter-spacing: -0.5px;
  margin-bottom: 9px;
}
.welcome-strip p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}
.mood-row {
  gap: 10px;
  margin-top: 17px;
}
.mood-row button {
  font-size: 16px;
  min-height: 48px;
  padding: 8px 14px;
  background: white;
  border: 1px solid #dce7e8;
}
.mood-row button.chosen {
  border-color: #8bb8a2;
  background: #f0f8f1;
  color: #235f4a;
}
.mood-symbol {
  font-size: 22px;
  margin-right: 7px;
  color: #8b6a24;
}
.welcome-illustration {
  width: 190px;
  height: 160px;
  flex: none;
  background: #eef5e9;
  border-radius: 45% 55% 40% 60%;
  display: grid;
  place-content: center;
  text-align: center;
  position: relative;
  color: #4e8f69;
  overflow: hidden;
}
.welcome-illustration > .ui-icon {
  width: 70px;
  height: 70px;
  margin: auto;
}
.welcome-illustration p {
  font-size: 12px;
  color: #4f735a;
  font-weight: 600;
}
.tiny-star {
  position: absolute;
  right: 26px;
  top: 17px;
  color: #a98332;
}
.orbit {
  position: absolute;
  border: 1px solid #cfdfc1;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  left: -60px;
  top: -60px;
}
.orbit.two {
  left: auto;
  right: -85px;
  top: 60px;
}
.child-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 26px;
}
.journey-aside {
  min-width: 0;
}
.spotlight {
  border: 1px solid #bfdaec;
  background: #f0f7ff;
  padding: 27px;
  box-shadow: 0 8px 24px #235a7e0c;
}
.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.spotlight .eyebrow {
  color: #396986;
}
.spotlight-body {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 23px 0;
}
.spotlight-body > div:last-child {
  min-width: 0;
  flex: 1;
}
.spotlight-body h2 {
  font-size: 29px;
  line-height: 1.4;
  margin: 4px 0 9px;
}
.spotlight-body p {
  font-size: 18px;
  margin: 3px 0;
}
.spotlight-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.spotlight-actions button {
  flex: 1;
  min-height: 55px;
}
.spotlight-actions .primary {
  box-shadow: 0 4px 8px #235d9220;
}
.activity-art {
  position: relative;
  width: 111px;
  height: 111px;
  flex: none;
  background: #dbeafb;
  border: 1px solid #cce0f4;
  border-radius: 25px;
  display: grid;
  place-items: center;
  transform: rotate(-4deg);
  color: #426d9d;
}
.activity-art > .ui-icon {
  width: 55px;
  height: 55px;
  transform: rotate(4deg);
}
.activity-art.mint {
  background: #def0e6;
  color: #448268;
  border-color: #cae7d7;
}
.spark {
  position: absolute;
  color: #bd9344;
}
.spark-one {
  right: 4px;
  top: 2px;
  font-size: 23px;
}
.spark-two {
  bottom: -15px;
  left: 10px;
  font-size: 44px;
}
.pill {
  font-size: 13px;
  border-radius: 20px;
  padding: 5px 11px;
  white-space: normal;
}
.pill.green {
  background: #e1f0e7;
  color: #23583d;
}
.pill.gold {
  background: #fff3d5;
  color: #72571b;
}
.pill.red {
  color: #903844;
}
.choose-next {
  margin-top: 19px;
  font-size: 16px;
  color: #496784;
}
.choose-next summary {
  cursor: pointer;
}
.focus-time {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.focus-time strong {
  font-size: 30px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.focus-time span {
  font-size: 16px;
}
.empty-next {
  background: #f0f7f1;
  text-align: left;
}
.empty-next > .ui-icon {
  width: 43px;
  height: 43px;
  color: #3e8666;
  margin-bottom: 10px;
}
.empty-next p {
  font-size: 18px;
  color: var(--muted);
}
.daily-progress {
  padding-top: 23px;
}
.daily-progress .section-title strong {
  font-size: 25px;
}
.daily-progress .section-title .muted {
  margin-left: 4px;
}
.progress-track {
  height: 12px;
  background: #edf1ed;
  margin: 20px 0 25px;
  border-radius: 15px;
}
.progress-track i {
  background: #6aaf91;
  border-radius: 15px;
}
.point-summaries {
  display: flex;
  gap: 18px;
  justify-content: space-between;
}
.point-summaries > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  flex: 1;
}
.point-summaries strong {
  font-size: 25px;
  color: #2a587d;
}
.point-summaries > div > span:last-child {
  font-size: 15px;
  color: var(--muted);
  flex-basis: 100%;
}
.score-symbol {
  color: #b68a22;
}
.day-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
  margin-bottom: 14px;
  overflow: hidden;
}
.day-section-head {
  padding: 16px 20px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.day-section-head h3 {
  font-size: 18px;
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
}
.day-section-head > span {
  font-size: 13px;
  color: var(--muted);
}
.day-task {
  border: 0;
  border-radius: 0;
  border-top: 1px solid #edf0f1;
  width: 100%;
  padding: 17px 20px;
  text-align: left;
  display: flex;
  gap: 13px;
  align-items: center;
  background: white;
}
.day-task:hover {
  background: #f8faf8;
}
.day-task > .task-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #edf3fc;
  color: #4b719b;
}
.day-task-copy {
  flex: 1;
  min-width: 0;
}
.day-task-copy > strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.day-task-copy > span {
  display: block;
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.day-task > .ui-icon {
  width: 18px;
  color: #6e879a;
}
.quiet-time {
  margin: 0;
  padding: 6px 20px 20px;
  font-size: 16px;
}
.mini-garden {
  background: #f1f7ed;
  border-color: #dce8d4;
}
.mini-garden h2 {
  font-size: 21px;
  line-height: 1.5;
}
.mini-garden p {
  font-size: 17px;
  color: #4e6657;
}
.mini-garden .eyebrow {
  font-size: 10px;
  color: #59764b;
}
.garden-art {
  height: 190px;
  position: relative;
  margin: 10px 0 15px;
  overflow: hidden;
}
.garden-sun {
  position: absolute;
  right: 15px;
  top: 25px;
  background: #eed896;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  box-shadow: 0 0 0 9px #f5eac7;
}
.soil {
  position: absolute;
  bottom: 15px;
  left: 14%;
  width: 72%;
  height: 25px;
  border-radius: 50%;
  background: #d9e7c9;
}
.plant {
  position: absolute;
  bottom: 29px;
  left: 50%;
  width: 6px;
  height: 90px;
  transform: translateX(-50%);
  background: #658955;
  border-radius: 5px;
  z-index: 1;
}
.plant i,
.plant b,
.plant em,
.plant span {
  position: absolute;
  background: #82b47b;
  width: 47px;
  height: 29px;
  border-radius: 75% 0 75% 0;
  left: -45px;
  top: 15px;
  transform: rotate(15deg);
}
.plant b {
  left: 5px;
  top: 30px;
  transform: rotate(-15deg) scaleX(-1);
  background: #6a9c66;
}
.plant em {
  top: 52px;
  left: -35px;
  width: 36px;
  height: 23px;
  background: #a0c18e;
}
.plant span {
  top: 0;
  left: 7px;
  width: 30px;
  height: 22px;
  transform: rotate(-22deg) scaleX(-1);
}
.plant.grown {
  height: 115px;
}
.tomorrow-card {
  box-shadow: none;
  background: #fffaf0;
  border-color: #eee4ce;
}
.tomorrow-card > .ui-icon {
  color: #a38444;
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
}
.tomorrow-card h2 {
  font-size: 20px;
}
.tomorrow-card p {
  font-size: 17px;
  color: #6f6146;
}
.tomorrow-card button {
  width: 100%;
  font-size: 16px;
  background: #fffdf7;
}
.gentle-note {
  font-size: 17px;
  text-align: center;
  color: #6d7b6f;
  font-style: italic;
  margin: 22px 0;
}
.reward-summary {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 25px 0;
}
.reward-summary h2 {
  font-size: 23px;
}
.reward-summary p {
  font-size: 17px;
  color: var(--muted);
}
.garden-mini {
  width: 80px;
  height: 80px;
  border-radius: 25px;
  background: var(--mint);
  display: grid;
  place-items: center;
  color: var(--green);
  flex: none;
}
.garden-mini > .ui-icon {
  width: 40px;
  height: 40px;
}
.available {
  margin-left: auto;
  text-align: center;
  min-width: 110px;
}
.available strong {
  display: block;
  font-size: 35px;
  color: var(--blue);
}
.available span {
  font-size: 15px;
}
.reward-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reward-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reward-card h2 {
  font-size: 22px;
}
.reward-card .reward-art {
  background: #fff4df;
  color: #9e7e32;
  border-radius: 15px;
  width: 100%;
  height: 120px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.reward-art > .ui-icon {
  width: 47px;
  height: 47px;
}
.reward-card button {
  margin-top: auto;
  width: 100%;
}
.reward-card .bar {
  margin: 0;
}
.achievement-garden {
  background: #f0f7ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.garden-mark > .ui-icon {
  width: 75px;
  height: 75px;
  color: #6d9e6b;
}
.week-load {
  margin-top: 24px;
}
.load-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.load-days > div {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
}
.load-days small {
  font-size: 11px;
  color: var(--muted);
}
.overload {
  font-size: 11px;
  color: #9d4e2d;
  font-weight: 500;
}
.parent-controls {
  padding: 16px;
  background: #edf4f7;
  border-radius: 15px;
}
.parent-controls button {
  font-size: 15px;
}
body[data-audience="child"] #nav button[data-view="parent"],
body[data-audience="child"] #nav button[data-view="library"],
body[data-audience="child"] #nav button[data-view="reflect"] {
  display: none;
}
body[data-audience="child"] .checklist label,
body[data-audience="child"] .criteria,
body[data-audience="child"] .meta,
body[data-audience="child"] .actions button {
  font-size: 18px;
}
body[data-age="4-6"] .day-task-copy strong,
body[data-age="4-6"] .spotlight-body p {
  font-size: 20px;
}
body[data-age="4-6"] .activity-art {
  width: 130px;
  height: 130px;
}
body[data-age="11-15"] .welcome-illustration,
body[data-theme="simple"] .welcome-illustration {
  display: none;
}
body[data-age="11-15"] .activity-art {
  width: 85px;
  height: 85px;
}
body[data-theme="simple"] .spark {
  display: none;
}
#connection-status {
  font-size: 11px;
  padding: 5px 20px;
  min-height: 28px;
}
.week-task button {
  line-height: 1.6;
}
.week-task {
  overflow-wrap: anywhere;
}
.auth-card {
  width: min(510px, 100%);
  padding: 35px;
}
.auth-card h1 {
  font-size: 32px;
}
.auth-card .field {
  font-size: 16px;
}
.auth-card .library-icon {
  font-size: 30px;
}
.auth-card .muted {
  font-size: 16px;
}
dialog {
  width: min(760px, calc(100% - 28px));
}
dialog .field {
  font-size: 16px;
}
dialog button {
  min-height: 48px;
}
footer {
  font-size: 12px;
}
footer small {
  font-size: 11px;
}
@media (max-width: 1200px) {
  .child-dashboard {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 20px;
  }
  .card {
    padding: 23px;
  }
  .spotlight-body {
    gap: 17px;
  }
  .activity-art {
    width: 85px;
    height: 85px;
  }
  .spotlight-body h2 {
    font-size: 25px;
  }
  .welcome-strip h2 {
    font-size: 27px;
  }
  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .child-dashboard {
    grid-template-columns: 1fr;
  }
  .journey-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .journey-aside .card {
    margin: 0;
  }
  .gentle-note {
    grid-column: 1/-1;
  }
  .welcome-illustration {
    width: 140px;
    height: 140px;
  }
  .welcome-strip h2 {
    font-size: 26px;
  }
  .welcome-strip p {
    font-size: 17px;
  }
  .mood-row button {
    font-size: 15px;
  }
  header {
    padding: 0 22px;
  }
  header #breadcrumb {
    display: none;
  }
  #app {
    padding: 28px 23px;
  }
  .load-days {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 760px) {
  body {
    font-size: 18px;
  }
  #sidebar {
    height: 79px;
    padding: 3px 2px;
    background: white;
  }
  #nav {
    height: 72px;
    align-items: center;
  }
  #nav button {
    height: 68px;
    min-height: 0;
    padding: 6px 3px;
    font-size: 11px;
    line-height: 1.5;
    flex: 1;
    max-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #nav button:nth-child(n + 5) {
    display: none;
  }
  #nav .nav-icon {
    width: 24px;
    height: 29px;
  }
  #nav .ui-icon {
    width: 24px;
    height: 24px;
  }
  main {
    margin-bottom: 79px;
  }
  header {
    height: 78px;
    padding: 0 16px;
    gap: 9px;
  }
  .profile-picker {
    margin-left: 0;
    flex: 1;
    min-width: 0;
    display: block;
    line-height: 1.2;
  }
  .profile-picker span {
    display: none;
  }
  .profile-picker select {
    font-size: 16px;
    max-width: 100%;
    padding: 10px;
    min-height: 48px;
  }
  .parent-link {
    font-size: 13px;
    min-height: 48px;
    padding: 8px 11px;
  }
  #app {
    padding: 23px 16px;
  }
  .page-head {
    margin-bottom: 19px;
    gap: 11px;
  }
  h1 {
    font-size: 27px;
    line-height: 1.35;
  }
  .page-head .muted {
    font-size: 16px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  h2 {
    font-size: 22px;
  }
  .welcome-strip {
    margin-bottom: 23px;
  }
  .welcome-strip h2 {
    font-size: 25px;
    line-height: 1.4;
  }
  .welcome-strip p {
    font-size: 18px;
  }
  .welcome-illustration {
    display: none;
  }
  .mood-row {
    gap: 7px;
  }
  .mood-row button {
    font-size: 15px;
    padding: 8px 9px;
    min-height: 48px;
  }
  .mood-symbol {
    margin-right: 4px;
    font-size: 19px;
  }
  .card {
    padding: 22px;
    border-radius: 20px;
  }
  .spotlight {
    padding: 22px 19px;
  }
  .spotlight-top {
    align-items: flex-start;
    gap: 8px;
  }
  .spotlight .eyebrow {
    font-size: 10px;
    letter-spacing: 0.7px;
    max-width: 150px;
  }
  .pill {
    font-size: 12px;
    padding: 4px 9px;
    line-height: 1.5;
  }
  .spotlight-body {
    align-items: flex-start;
    gap: 14px;
    margin: 21px 0;
  }
  .activity-art {
    width: 63px;
    height: 70px;
    border-radius: 17px;
    flex: none;
    margin-top: 5px;
  }
  .activity-art > .ui-icon {
    width: 36px;
    height: 36px;
  }
  .spotlight-body h2 {
    font-size: 24px;
    line-height: 1.4;
    margin: 4px 0 10px;
  }
  .spotlight-body p {
    font-size: 18px;
  }
  .spotlight-body .muted {
    font-size: 16px;
  }
  .spotlight-actions {
    gap: 9px;
  }
  .spotlight-actions button {
    font-size: 18px;
    min-height: 52px;
    flex-basis: 100%;
  }
  .spotlight-actions button:not(.primary) {
    background: #ffffffab;
  }
  .spotlight-body .ui-icon:not(.activity-art .ui-icon) {
    width: 19px;
    height: 19px;
  }
  .spark-one {
    right: 0;
    font-size: 18px;
  }
  .spark-two {
    display: none;
  }
  .choose-next {
    font-size: 17px;
  }
  .section-title {
    gap: 9px;
  }
  .section-title h2 {
    font-size: 22px;
  }
  .section-title button {
    font-size: 14px;
    padding: 8px 10px;
  }
  .daily-progress .section-title {
    align-items: flex-start;
  }
  .daily-progress .section-title strong {
    font-size: 24px;
    white-space: nowrap;
  }
  .point-summaries {
    gap: 9px;
  }
  .point-summaries strong {
    font-size: 26px;
  }
  .point-summaries > div > span:last-child {
    font-size: 14px;
    line-height: 1.6;
  }
  .score-symbol {
    display: none;
  }
  .progress-track {
    margin: 18px 0 21px;
  }
  .day-section-head {
    padding: 15px 16px 12px;
  }
  .day-section-head > span {
    font-size: 12px;
  }
  .day-section-head h3 {
    font-size: 19px;
  }
  .day-task {
    padding: 15px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .day-task > .task-icon {
    width: 38px;
    height: 41px;
    border-radius: 10px;
  }
  .day-task-copy {
    flex-basis: calc(100% - 80px);
  }
  .day-task-copy > strong {
    font-size: 18px;
  }
  .day-task-copy > span {
    font-size: 16px;
  }
  .day-task > .pill {
    margin-left: 48px;
    font-size: 14px;
  }
  .day-task > .ui-icon {
    margin-left: auto;
  }
  .quiet-time {
    font-size: 18px;
    padding: 7px 16px 20px;
  }
  .journey-aside {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .mini-garden {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0 15px;
    align-items: center;
  }
  .mini-garden .eyebrow {
    grid-column: 1/-1;
  }
  .mini-garden .garden-art {
    grid-column: 1;
    grid-row: 2/5;
    height: 145px;
    margin: 0;
  }
  .mini-garden h2,
  .mini-garden p,
  .mini-garden button {
    grid-column: 2;
  }
  .mini-garden h2 {
    font-size: 21px;
    margin-top: 12px;
  }
  .mini-garden p {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .mini-garden .garden-sun {
    width: 23px;
    height: 23px;
    right: 3px;
    top: 19px;
    box-shadow: none;
  }
  .mini-garden .plant {
    height: 67px;
  }
  .mini-garden .plant.grown {
    height: 90px;
  }
  .mini-garden .soil {
    width: 100%;
    left: 0;
  }
  .tomorrow-card h2 {
    font-size: 22px;
  }
  .tomorrow-card p {
    font-size: 18px;
  }
  .gentle-note {
    margin: 4px 0 15px;
    font-size: 18px;
  }
  .reward-summary {
    gap: 14px;
    flex-wrap: wrap;
  }
  .reward-summary .garden-mini {
    width: 57px;
    height: 57px;
    border-radius: 17px;
  }
  .reward-summary > div:nth-child(2) {
    flex: 1;
    min-width: 160px;
  }
  .reward-summary h2 {
    font-size: 22px;
  }
  .reward-summary .available {
    border-top: 1px solid var(--line);
    width: 100%;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .available strong {
    font-size: 32px;
  }
  .reward-grid {
    grid-template-columns: 1fr;
  }
  .reward-card h2 {
    font-size: 24px;
  }
  .reward-card p,
  .reward-card > .muted {
    font-size: 18px;
  }
  .reward-card button {
    font-size: 18px;
  }
  .load-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .parent-controls {
    padding: 11px;
    gap: 7px;
  }
  .parent-controls button {
    font-size: 14px;
  }
  .grid .card {
    min-width: 0;
  }
  .parent-task h3 {
    font-size: 20px;
  }
  .parent-task .actions button {
    font-size: 14px;
  }
  .checklist label {
    font-size: 18px;
  }
  .criteria {
    font-size: 18px;
  }
  .task-title h2 {
    font-size: 24px;
  }
  .task-icon {
    width: 48px;
    height: 48px;
  }
  .meta {
    font-size: 17px;
  }
  .timer select {
    min-height: 48px;
    font-size: 16px;
  }
  .actions button {
    font-size: 16px;
  }
  .date-badge {
    font-size: 14px;
  }
  .week-days {
    gap: 10px;
  }
  .week-day h3 {
    font-size: 17px;
  }
  .week-task button {
    font-size: 14px !important;
  }
  .week-task small {
    font-size: 13px;
  }
  .week-day .muted {
    font-size: 14px;
  }
  .stat b {
    font-size: 27px;
  }
  .stat small {
    font-size: 14px;
  }
  .badge strong {
    font-size: 17px;
  }
  .badge small {
    font-size: 14px;
  }
  .toolbar input {
    max-width: 100%;
  }
  .toolbar button {
    font-size: 16px;
  }
  #toast {
    font-size: 16px;
    bottom: 95px;
  }
  #connection-status {
    font-size: 10px;
    padding: 5px 13px;
  }
  .auth-card {
    padding: 26px;
  }
  .auth-card h1 {
    font-size: 30px;
  }
  .auth-card .field {
    font-size: 18px;
  }
  .auth-card .muted {
    font-size: 17px;
  }
  #auth-screen {
    align-items: center;
  }
  .field {
    font-size: 17px;
  }
  dialog {
    padding: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  dialog .field {
    font-size: 17px;
  }
  .achievement-garden .garden-mark {
    display: none;
  }
  footer {
    font-size: 12px;
  }
  body[data-age="4-6"] .activity-art {
    width: 68px;
    height: 78px;
  }
}
@media print {
  .welcome-strip,
  .profile-picker,
  .parent-controls {
    display: none !important;
  }
  .week-days {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .week-load {
    display: none;
  }
  .week-task button {
    font-size: 10px !important;
  }
  .week-day h3 {
    font-size: 12px;
  }
  .week-task small {
    font-size: 9px;
  }
  main {
    margin: 0;
  }
  .card {
    box-shadow: none;
  }
  #app {
    padding: 0;
  }
}
.profile-picker span {
  color: var(--muted);
}
.profile .avatar {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 24px;
}
.profile .avatar .ui-icon {
  width: 26px;
  height: 26px;
}
body[data-audience="child"] .spotlight-body .muted,
body[data-audience="child"] .point-summaries > div > span:last-child,
body[data-audience="child"] .day-task-copy > span,
body[data-audience="child"] .mini-garden p,
body[data-audience="child"] .tomorrow-card p,
body[data-audience="child"] .pill,
body[data-audience="child"] .meta,
body[data-audience="child"] .quiet-time {
  font-size: 18px;
}
body[data-audience="child"] .day-task .pill {
  font-size: 16px;
}
body[data-audience="child"] .week-task button {
  font-size: 18px !important;
}
body[data-audience="child"] .week-task small {
  font-size: 16px;
}
@media (max-width: 760px) {
  #nav button {
    font-size: 13px;
  }
  .point-summaries > div {
    min-width: 0;
  }
  .point-summaries > div > span:last-child {
    overflow-wrap: anywhere;
  }
  .point-summaries {
    gap: 13px;
  }
}
@media (max-width: 760px) {
  body[data-screen="today"] .page-head h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    margin: 0;
  }
  body[data-screen="today"] .page-head {
    margin-bottom: 17px;
  }
  body[data-screen="today"] .welcome-strip {
    margin-bottom: 21px;
  }
  .mood-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .mood-row button {
    font-size: 15px;
    padding: 8px 5px;
    min-height: 50px;
    line-height: 1.45;
  }
  .mood-symbol {
    display: none;
  }
  .welcome-strip h2 {
    font-size: 24px;
    line-height: 1.4;
  }
  .welcome-strip p {
    font-size: 18px;
  }
  .welcome-strip .mood-row {
    margin-top: 13px;
  }
  .spotlight-body .muted:last-child {
    font-size: 18px;
  }
}
.profile-picker select:disabled {
  opacity: 1;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  background: #f7fafb;
}
