/* Screen design system. Print is deliberately governed by weekly-print.css. */
@font-face {
  font-family: Family Sans;
  src: url(fonts/NotoSans-Regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Family Sans;
  src: url(fonts/NotoSans-Bold.ttf) format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
@media screen {
  :root {
    --blue: #246dcc;
    --ink: #19344b;
    --muted: #52697a;
    --green: #24745d;
    --mint: #e5f3eb;
    --line: #dfe7e8;
    --bg: #fafaf6;
    --panel: #fff;
    --sky: #edf5ff;
    --radius: 22px;
    --shadow: 0 8px 28px #163c5210;
  }
  body {
    font-family:
      Family Sans,
      system-ui,
      sans-serif;
    background: var(--bg);
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink);
  }
  body[data-theme="mint"] {
    --blue: #23735e;
    --sky: #edf7f1;
  }
  body[data-theme="peach"] {
    --blue: #9b512f;
    --sky: #fff2e9;
  }
  body[data-theme="simple"] {
    --blue: #345779;
    --sky: #f1f4f7;
  }
  h1,
  h2,
  h3,
  p {
    overflow-wrap: break-word;
  }
  h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
  }
  h2 {
    font-size: 23px;
    line-height: 1.4;
    letter-spacing: -0.45px;
  }
  h3 {
    font-size: 19px;
    line-height: 1.45;
  }
  .muted {
    color: var(--muted);
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #4e6f83;
    font-weight: 700;
  }
  .ui-icon {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    vertical-align: middle;
  }
  button,
  input,
  select,
  textarea {
    font-family: inherit;
    font-size: 16px;
    border-radius: 12px;
  }
  button,
  button.small {
    min-height: 48px;
    padding: 11px 16px;
    line-height: 1.45;
    font-size: 16px;
    font-weight: 600;
    border-color: var(--line);
    transition:
      background 0.15s,
      border-color 0.15s;
  }
  button:hover {
    background: #f0f5fa;
    border-color: #a0b5c5;
  }
  button.primary {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 4px 10px #246dcc16;
  }
  button.primary:hover {
    filter: brightness(0.94);
    color: white;
  }
  button.green {
    background: #e5f3eb;
    border-color: #badbca;
    color: #235d49;
  }
  button.danger {
    background: #fff9f8;
    border-color: #ead6d1;
    color: #963c39;
  }
  button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
  }
  :focus-visible {
    outline: 3px solid #b57316;
    outline-offset: 3px;
  }
  input,
  select,
  textarea {
    min-height: 48px;
    border: 1px solid #b9cbd2;
    background: #fff;
    padding: 11px 13px;
    color: var(--ink);
  }
  textarea {
    min-height: 110px;
    resize: vertical;
  }
  input[type="checkbox"] {
    min-height: 24px;
    width: 24px;
    height: 24px;
    accent-color: var(--blue);
    flex: none;
  }
  label {
    line-height: 1.6;
  }
  .field {
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
  }
  .field small {
    font-weight: 400;
  }
  .field input,
  .field textarea,
  .field select {
    font-weight: 400;
  }
  .form-grid {
    gap: 12px 20px;
  }
  .actions {
    gap: 9px;
    flex-wrap: wrap;
  }
  .toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
  }
  .grid {
    gap: 20px;
  }
  .empty {
    background: #f4f7f5;
    border: 1px dashed #c2d1cc;
    border-radius: 20px;
    padding: 30px;
    color: var(--muted);
    font-size: 18px;
  }
  .notice {
    border-radius: 14px;
    background: #f0f6fa;
    color: #29495f;
    padding: 16px 18px;
    font-size: 16px;
    line-height: 1.65;
    border: 1px solid #d8e5ed;
  }
  .notice.warn {
    background: #fff7e3;
    border-color: #ead5a4;
    color: #715319;
  }
  #sidebar {
    width: 248px;
    padding: 30px 20px 22px;
    background: #fff;
    border-right: 1px solid var(--line);
  }
  .brand {
    font-size: 18px;
    letter-spacing: 0.4px;
    gap: 11px;
  }
  .brand-icon {
    width: 43px;
    height: 46px;
    background: #e5f3eb;
    color: #286d50;
    border-radius: 14px;
  }
  .brand-icon svg {
    width: 26px;
    height: 26px;
  }
  .brand small {
    font-size: 10px;
    letter-spacing: 1.8px;
  }
  .profile {
    padding: 18px 0 22px;
    margin-top: 24px;
    border-bottom: 1px solid var(--line);
    gap: 11px;
  }
  .profile strong {
    font-size: 16px;
  }
  .profile small {
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
  }
  .avatar {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #f1eace;
    color: #756332;
  }
  #nav {
    gap: 7px;
    margin-top: 22px;
  }
  #nav button {
    font-size: 16px;
    min-height: 52px;
    border: 0;
    padding: 12px 15px;
    gap: 12px;
    color: #516878;
    background: transparent;
    justify-content: flex-start;
    border-radius: 12px;
  }
  #nav button.active {
    background: var(--sky);
    color: var(--blue);
  }
  #nav button.active:before {
    display: none;
  }
  #nav .parent-nav {
    font-size: 14px;
  }
  #nav button[data-view="parent"] {
    margin-top: 22px;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding-top: 20px;
  }
  #nav .nav-icon {
    width: 24px;
  }
  .side-bottom {
    background: #f6f8f4;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 17px;
    font-size: 13px;
  }
  .side-bottom strong {
    font-size: 14px;
  }
  .side-bottom p {
    font-size: 12px;
    color: var(--muted);
  }
  .side-bottom button {
    font-size: 13px;
    min-height: 44px;
    background: #fff;
  }
  .kiki {
    display: none;
  }
  body > main {
    margin-left: 248px;
  }
  body > main > header {
    height: 86px;
    background: #ffffffec;
    border-bottom: 1px solid var(--line);
    padding: 0 36px;
    gap: 18px;
    backdrop-filter: blur(8px);
  }
  #breadcrumb {
    font-size: 13px;
    letter-spacing: 0.1px;
  }
  .profile-picker {
    gap: 9px;
  }
  .profile-picker span {
    font-size: 12px;
    color: var(--muted);
  }
  .profile-picker select {
    max-width: 190px;
    font-size: 15px;
    background: #f8faf9;
    min-height: 46px;
  }
  .parent-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    font-size: 14px;
    min-height: 46px;
    padding: 10px 14px;
  }
  .parent-link svg {
    width: 19px;
  }
  .parent-link span {
    white-space: nowrap;
  }
  #app {
    padding: 32px 36px 40px;
    max-width: 1440px;
    margin: 0 auto;
  }
  .page-head {
    margin-bottom: 27px;
    gap: 20px;
    align-items: center;
  }
  .page-head h1 {
    margin: 6px 0 9px;
  }
  .page-head p {
    font-size: 15px;
  }
  .page-head .eyebrow {
    font-size: 10px;
  }
  body > main > footer {
    font-size: 12px;
    padding: 20px 24px 30px;
    color: #597181;
  }
  body > main > footer small {
    font-size: 11px;
  }
  #connection-status {
    margin-left: 248px;
    font-size: 12px;
    padding: 7px 20px;
    line-height: 1.45;
  }
  #connection-status button {
    font-size: 12px;
    min-height: 36px;
  }
  .welcome-strip {
    padding: 0 0 25px;
    margin: 0;
    gap: 20px;
    align-items: center;
  }
  .welcome-strip h2 {
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.45;
  }
  .welcome-strip p {
    font-size: 18px;
  }
  .welcome-illustration {
    width: 150px;
    height: 145px;
    background: #eef4e9;
    border-radius: 80px 80px 26px 26px;
    box-shadow: none;
  }
  .welcome-illustration > .ui-icon {
    width: 65px;
    height: 65px;
    color: #548663;
  }
  .welcome-illustration p {
    font-size: 11px;
    color: #436c50;
    letter-spacing: 0.3px;
  }
  .orbit,
  .tiny-star,
  .spark {
    display: none;
  }
  .mood-row {
    gap: 8px;
    margin-top: 18px;
  }
  .mood-row button {
    font-size: 15px;
    min-height: 48px;
    background: #fff;
    border-color: var(--line);
    padding: 9px 14px;
    border-radius: 24px;
  }
  .mood-row button.chosen {
    background: #eaf5ee;
    border-color: #a3cbb4;
    color: #2b624c;
  }
  .mood-symbol {
    font-size: 16px;
  }
  .child-dashboard {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 24px;
  }
  .spotlight {
    border: 1px solid #bed5eb;
    background: var(--sky);
    box-shadow: none;
    padding: 26px;
  }
  .spotlight-top {
    gap: 12px;
  }
  .spotlight .eyebrow {
    color: #346991;
    font-size: 11px;
  }
  .spotlight-body {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 20px;
    margin: 20px 0;
  }
  .activity-art {
    width: 86px;
    height: 94px;
    background: #fff;
    border: 1px solid #cfdfec;
    border-radius: 24px;
    box-shadow: 0 5px 0 #dbe9f4;
  }
  .activity-art > .ui-icon {
    width: 43px;
    height: 43px;
    color: var(--blue);
  }
  .spotlight-body h2 {
    font-size: 29px;
    line-height: 1.3;
    margin: 5px 0 12px;
  }
  .spotlight-body p {
    font-size: 18px;
    line-height: 1.6;
    margin: 7px 0;
  }
  .spotlight-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
  .spotlight-actions button {
    min-height: 52px;
    font-size: 17px;
  }
  .spotlight-actions .primary {
    min-width: 165px;
  }
  .choose-next {
    font-size: 16px;
    margin-top: 20px;
    border-top: 1px solid #cfdfec;
    padding-top: 16px;
  }
  .choose-next summary {
    cursor: pointer;
    min-height: 40px;
  }
  .focus-time {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    margin-top: 18px;
  }
  .focus-time strong {
    font-variant-numeric: tabular-nums;
    font-size: 30px;
  }
  .focus-time span {
    font-size: 15px;
  }
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 20px;
    line-height: 1.4;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: normal;
    background: #f0f4f5;
    color: #4b6171;
  }
  .pill .ui-icon {
    width: 15px;
    height: 15px;
  }
  .pill.green {
    background: #e7f4ec;
    color: #216247;
  }
  .pill.gold {
    background: #fff3d8;
    color: #715219;
  }
  .pill.red {
    background: #fcebe7;
    color: #933f37;
  }
  .daily-progress {
    box-shadow: none;
  }
  .section-title h2 {
    font-size: 22px;
  }
  .section-title {
    gap: 12px;
  }
  .progress-track {
    height: 10px;
    border-radius: 20px;
    background: #e9efee;
  }
  .progress-track i {
    background: #4c9b7c;
  }
  .point-summaries {
    gap: 18px;
    padding-top: 17px;
  }
  .point-summaries strong {
    font-size: 27px;
    font-variant-numeric: tabular-nums;
  }
  .point-summaries > div > span:last-child {
    font-size: 13px;
    line-height: 1.5;
  }
  .score-symbol {
    display: none;
  }
  .day-section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 15px;
    box-shadow: none;
  }
  .day-section-head {
    border-bottom: 1px solid #edf1f1;
    padding-bottom: 13px;
  }
  .day-section-head h3 {
    font-size: 17px;
  }
  .day-section-head > span {
    font-size: 13px;
  }
  .day-task {
    background: white;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid #ecf0f1;
    border-radius: 0;
    gap: 13px;
    min-height: 80px;
  }
  .day-task:last-child {
    border-bottom: 0;
  }
  .day-task:hover {
    background: #fafcfd;
  }
  .day-task-copy {
    min-width: 0;
  }
  .day-task-copy strong {
    font-size: 18px;
    line-height: 1.5;
  }
  .day-task-copy > span {
    font-size: 15px;
    margin-top: 4px;
  }
  .task-icon {
    width: 43px;
    height: 45px;
    border-radius: 13px;
    background: #eef4fa;
    color: #3d6d8e;
    flex: none;
    display: grid;
    place-items: center;
  }
  .task-icon svg {
    width: 23px;
    height: 23px;
  }
  .day-task > .ui-icon:last-child {
    width: 17px;
    color: #708a98;
  }
  .quiet-time {
    font-size: 16px;
    margin: 17px 0 4px;
  }
  .mini-garden {
    text-align: center;
    background: #f3f8f1;
    box-shadow: none;
    border-color: #dce7d7;
    padding: 24px 20px;
  }
  .mini-garden h2 {
    font-size: 21px;
  }
  .mini-garden p {
    font-size: 16px;
    line-height: 1.7;
  }
  .mini-garden > .eyebrow {
    font-size: 10px;
  }
  .garden-art {
    height: 180px;
  }
  .tomorrow-card {
    background: #fff8e9;
    box-shadow: none;
    border-color: #eddfbd;
  }
  .tomorrow-card h2 {
    font-size: 21px;
  }
  .tomorrow-card p {
    font-size: 16px;
  }
  .gentle-note {
    font-size: 17px;
    color: #697d70;
  }
  .empty-next {
    background: var(--sky);
    border-color: #c8ddee;
    padding: 32px;
  }
  .empty-next h2 {
    font-size: 27px;
  }
  .empty-next > svg {
    background: #fff;
    padding: 12px;
    box-sizing: content-box;
    border-radius: 20px;
    margin-bottom: 8px;
  }
  .plan-controls {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
  }
  .segmented {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f0f4f3;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .segmented button {
    border: 0;
    background: transparent;
    box-shadow: none;
    min-width: 80px;
    color: #536a78;
    font-size: 15px;
  }
  .segmented button[aria-pressed="true"] {
    background: #fff;
    box-shadow: 0 2px 6px #22445914;
    color: var(--blue);
  }
  .plan-shell .page-head .eyebrow {
    display: none;
  }
  .plan-date-tabs {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin: 22px 0;
  }
  .plan-date-tabs button {
    font-size: 14px;
    padding: 9px 4px;
  }
  .plan-date-tabs button[aria-pressed="true"] {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
  }
  .plan-day-mode .week-days {
    display: none;
  }
  .plan-day-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 25px;
  }
  .plan-day-panel .section-title span {
    font-size: 14px;
  }
  .week-days {
    gap: 10px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .week-day {
    padding: 12px 9px;
    background: #fff;
    border-color: var(--line);
    border-radius: 16px;
  }
  .week-day h3 {
    font-size: 14px;
    line-height: 1.7;
    border-bottom: 1px solid #e9eeef;
    padding-bottom: 10px;
  }
  .week-day.today {
    border-color: #8bb6dd;
    background: #f5f9ff;
  }
  .week-task {
    border: 1px solid #e0e8ed;
    border-radius: 12px;
    padding: 9px 8px;
    margin-top: 10px;
    box-shadow: none;
  }
  .week-task button {
    font-size: 14px !important;
    line-height: 1.6;
    min-height: 48px !important;
  }
  .week-task button .ui-icon {
    width: 17px;
    height: 17px;
    margin-right: 4px;
  }
  .week-task small {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 5px;
  }
  .week-load {
    background: white;
    box-shadow: none;
  }
  .load-days {
    gap: 9px;
  }
  .load-days > div {
    border-radius: 12px;
    background: #f5f8f6;
    padding: 13px;
  }
  .load-days span,
  .load-days small {
    font-size: 12px;
  }
  .load-days strong {
    font-size: 15px;
  }
  .overload {
    font-size: 12px;
    color: #8b5421;
  }
  .parent-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #edf5fb;
    border: 1px solid #d1e1ed;
    border-radius: 22px;
    padding: 27px 30px;
    margin-bottom: 23px;
    gap: 25px;
  }
  .parent-summary h2 {
    font-size: 28px;
    margin: 8px 0;
  }
  .parent-summary p {
    font-size: 16px;
    margin: 0;
  }
  .parent-metric {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #c7d9e4;
    padding-left: 30px;
    min-width: 180px;
  }
  .parent-metric strong {
    font-size: 46px;
    line-height: 1.25;
    color: var(--blue);
  }
  .parent-metric span {
    font-size: 13px;
  }
  .parent-controls {
    margin-bottom: 22px;
  }
  .parent-controls button {
    font-size: 14px;
  }
  .parent-filters {
    margin-bottom: 20px;
  }
  .parent-workspace > .page-head {
    margin-top: 8px;
  }
  .parent-workspace > .page-head h1 {
    font-size: 25px;
  }
  .parent-workspace > .notice:first-of-type {
    font-size: 13px;
    background: transparent;
    border: 0;
    padding: 0 0 16px;
  }
  .parent-task-card {
    box-shadow: none;
    border-left: 4px solid #dbe6eb;
  }
  .parent-task-card[data-parent-status="pending"] {
    border-left-color: #c7963e;
    background: #fffefa;
  }
  .pending-only .parent-task-card:not([data-parent-status="pending"]) {
    display: none;
  }
  .parent-task h3 {
    font-size: 21px;
    margin: 0 0 8px;
  }
  .parent-task h3 svg {
    width: 22px;
    height: 22px;
    margin-right: 6px;
  }
  .parent-task p,
  .parent-task-card > p {
    font-size: 15px;
  }
  .parent-task .actions {
    flex: none;
  }
  .parent-task-card .actions button {
    font-size: 14px;
  }
  .parent-task-card .history {
    font-size: 13px;
    background: #f4f7f5;
    padding: 10px 14px;
    border-radius: 10px;
  }
  .parent-task-card > .actions {
    padding-top: 10px;
  }
  .parent-task-card .actions:has([data-action="grade10"]) {
    border-top: 1px solid #e8edea;
    margin-top: 17px;
    padding-top: 16px;
  }
  .achievement-garden {
    background: #eef6ed;
    border-color: #d5e3cf;
    box-shadow: none;
    padding: 30px;
  }
  .achievement-garden h2 {
    font-size: 29px;
  }
  .garden-mark {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
  }
  .garden-mark svg {
    width: 55px;
    height: 55px;
  }
  .badge-grid {
    gap: 18px;
  }
  .badge {
    border-radius: 20px;
    border-color: var(--line);
    background: #fff;
    padding: 23px;
  }
  .badge.locked {
    opacity: 1;
    background: #f4f6f3;
    color: #5c7168;
    filter: none;
  }
  .badge h3 {
    font-size: 19px;
  }
  .badge p {
    font-size: 16px;
  }
  .reward-summary {
    background: #f0f7ef;
    border-color: #d7e4d0;
    box-shadow: none;
    gap: 20px;
  }
  .reward-summary h2 {
    font-size: 22px;
  }
  .reward-summary p {
    font-size: 16px;
  }
  .reward-summary .available strong {
    font-size: 35px;
  }
  .reward-summary .available span {
    font-size: 13px;
  }
  .reward-art {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #fff3de;
    color: #88642a;
  }
  .reward-art svg {
    width: 36px;
    height: 36px;
  }
  .reward-card {
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .reward-card h2 {
    font-size: 23px;
  }
  .reward-card p {
    font-size: 17px;
  }
  .reward-card > .primary {
    margin-top: auto;
    width: 100%;
  }
  .reward-card .bar {
    width: 100%;
    height: 9px;
  }
  .reward-card .bar i {
    background: #509c7c;
  }
  .reward-card > strong {
    font-size: 20px;
  }
  .reward-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
  dialog {
    border: 1px solid #d4dfe4;
    border-radius: 24px;
    max-width: min(760px, calc(100vw - 32px));
    padding: 0;
    box-shadow: 0 28px 100px #15304630;
  }
  dialog::backdrop {
    background: #16314470;
    backdrop-filter: blur(3px);
  }
  #modal-content {
    padding: 28px;
  }
  .modal-head {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  .modal-head h2 {
    font-size: 25px;
    margin: 0;
  }
  .modal-head .close {
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #f7faf9;
    font-size: 25px;
    padding: 0;
  }
  .checklist {
    padding: 8px 0;
    gap: 9px;
  }
  .checklist label {
    font-size: 18px;
    min-height: 54px;
    padding: 13px 15px;
    background: #f5f8f7;
    border: 1px solid #dfe7e3;
    border-radius: 12px;
    gap: 14px;
  }
  .checklist label:has(input:checked) {
    background: #edf6ef;
    border-color: #b9d6c1;
  }
  .criteria {
    font-size: 18px;
    background: #eef5fc;
    padding: 16px 18px;
    border-radius: 14px;
  }
  .task-title h2 {
    font-size: 25px;
    line-height: 1.4;
  }
  .meta {
    font-size: 16px;
    line-height: 1.8;
  }
  .timer {
    background: #f6f8f4;
    border: 1px solid #dfe6db;
    border-radius: 18px;
    padding: 18px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .timer strong {
    font-size: 40px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1.5px;
  }
  .timer select {
    font-size: 16px;
  }
  .history {
    font-size: 15px;
  }
  .suggestion-option {
    border-bottom-color: #e6edeb;
    padding: 15px 0;
    align-items: center;
  }
  .suggestion-option label:first-child {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 16px;
  }
  .suggestion-option label:last-child {
    font-size: 12px;
    width: 78px;
  }
  .suggestion-option input[type="number"] {
    font-size: 16px;
  }
  .suggestion-option input[type="checkbox"] {
    width: 24px;
    height: 24px;
  }
  .suggestion-option + .primary {
    margin-top: 22px;
  }
  .table-wrap {
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  table {
    font-size: 15px;
  }
  th {
    background: #f1f6f4;
    color: #4a6672;
  }
  td,
  th {
    padding: 14px;
  }
  .library-icon svg {
    width: 34px;
    height: 34px;
  }
  .library-icon {
    background: #edf4fa;
    border-radius: 16px;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
  }
  .bar {
    overflow: hidden;
  }
  #toast {
    border-radius: 14px;
    font-size: 16px;
    max-width: calc(100vw - 32px);
  }
  #auth-screen {
    background: #f5f7f2;
    padding: 50px 24px;
    place-items: center;
  }
  .auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1040px;
    width: 100%;
    background: white;
    border: 1px solid #dce5df;
    border-radius: 30px;
    box-shadow: 0 24px 80px #25433712;
    overflow: hidden;
  }
  .auth-story {
    padding: 48px;
    background: #eaf3e8;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .auth-story-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 55px;
    color: #365e49;
  }
  .auth-story-brand svg {
    width: 26px;
    height: 26px;
  }
  .auth-story > .eyebrow {
    font-size: 10px;
    color: #597762;
  }
  .auth-story h2 {
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: -1.2px;
    margin: 15px 0 22px;
  }
  .auth-story > p {
    font-size: 18px;
    color: #50695b;
    line-height: 1.9;
  }
  .auth-garden {
    border-top: 1px solid #cbddc8;
    padding-top: 25px;
    margin-top: 35px;
    display: flex;
    gap: 22px;
    align-items: center;
    color: #4f745c;
  }
  .auth-garden svg {
    width: 64px;
    height: 64px;
  }
  .auth-garden span {
    font-size: 15px;
  }
  .auth-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    width: 100%;
    padding: 48px 44px;
    background: white;
  }
  .auth-card > .eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
    margin-top: 18px;
  }
  .auth-card h1 {
    font-size: 30px;
    margin: 8px 0 14px;
  }
  .auth-card > .muted {
    font-size: 14px;
    line-height: 1.8;
  }
  .auth-card .field {
    font-size: 14px;
    margin-top: 19px;
    margin-bottom: 0;
  }
  .auth-card .field input,
  .auth-card .field select {
    font-size: 17px;
    min-height: 52px;
    border-radius: 12px;
    background: #fdfefd;
  }
  .auth-card .primary {
    margin-top: 24px;
    min-height: 54px;
    font-size: 17px;
  }
  .auth-mark {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    background: #edf5fe;
    border-radius: 15px;
    color: #376fa4;
  }
  .auth-mark svg {
    width: 26px;
    height: 26px;
  }
  .auth-card input[name="pin"] {
    letter-spacing: 8px;
    font-size: 24px;
    font-variant-numeric: tabular-nums;
  }
  #auth-error,
  #account-error {
    font-size: 14px;
    line-height: 1.6;
    color: #993e34;
  }
  .signed-out #connection-status {
    margin-left: 0;
  }
  @media (min-width: 1800px) {
    #app {
      max-width: 1440px;
    }
  }
  @media (max-width: 1250px) {
    .child-dashboard {
      grid-template-columns: minmax(0, 1fr) 240px;
      gap: 18px;
    }
    #app {
      padding: 28px 25px;
    }
    .spotlight-body {
      grid-template-columns: 65px minmax(0, 1fr);
      gap: 16px;
    }
    .activity-art {
      width: 65px;
      height: 75px;
    }
    .spotlight-body h2 {
      font-size: 25px;
    }
    .week-days {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .welcome-illustration {
      display: none;
    }
    .point-summaries {
      gap: 13px;
    }
  }
  @media (max-width: 1100px) {
    #sidebar {
      width: 210px;
      padding: 25px 15px;
    }
    body > main {
      margin-left: 210px;
    }
    #connection-status {
      margin-left: 210px;
    }
    .brand {
      font-size: 16px;
    }
    .brand-icon {
      width: 35px;
      height: 40px;
    }
    .brand small {
      font-size: 9px;
    }
    #nav button {
      font-size: 15px;
      padding: 12px;
    }
    .child-dashboard {
      grid-template-columns: minmax(0, 1fr);
    }
    .journey-aside {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }
    .gentle-note {
      display: none;
    }
    .mini-garden,
    .tomorrow-card {
      margin: 0;
    }
    .garden-art {
      height: 150px;
    }
    .welcome-strip h2 {
      font-size: 28px;
    }
    .parent-task {
      display: block;
    }
    .parent-task > .actions {
      margin-top: 15px;
    }
    .parent-summary {
      padding: 23px;
    }
    .parent-metric {
      min-width: 140px;
      padding-left: 20px;
    }
    .parent-summary h2 {
      font-size: 25px;
    }
    body > main > header {
      padding: 0 25px;
    }
    #breadcrumb {
      display: none;
    }
    .profile-picker {
      margin-left: 0;
      flex: 1;
      min-width: 0;
    }
    .profile-picker span {
      display: none;
    }
    .profile-picker select {
      max-width: 100%;
      width: 100%;
    }
    .load-days {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .auth-story {
      padding: 35px;
    }
    .auth-card {
      padding: 35px;
    }
    .auth-story h2 {
      font-size: 30px;
    }
  }
  @media (max-width: 760px) {
    body {
      font-size: 18px;
    }
    body > main {
      margin-left: 0;
      margin-bottom: 90px;
    }
    #sidebar {
      width: 100%;
      height: 83px;
      inset: auto 0 0;
      padding: 0 8px 4px;
      background: #fff;
      border-top: 1px solid var(--line);
      border-right: 0;
      z-index: 15;
    }
    .brand,
    .profile,
    .side-bottom {
      display: none;
    }
    #nav {
      margin: 0;
      display: flex;
      gap: 0;
      height: 76px;
      align-items: center;
    }
    #nav button {
      flex: 1;
      max-width: none;
      min-height: 64px;
      height: 67px;
      padding: 7px 3px;
      flex-direction: column;
      justify-content: center;
      gap: 3px;
      border-radius: 12px;
      font-size: 12px;
      line-height: 1.4;
    }
    #nav button:nth-child(n + 5) {
      display: none;
    }
    #nav .nav-icon {
      height: 24px;
      width: 24px;
    }
    #nav .ui-icon {
      width: 23px;
      height: 23px;
    }
    #nav button.active {
      background: #eef5fc;
    }
    #connection-status {
      margin-left: 0;
      font-size: 11px;
      padding: 6px 13px;
    }
    body > main > header {
      height: 74px;
      padding: 11px 16px;
      gap: 10px;
      position: relative;
      top: auto;
    }
    .profile-picker select {
      font-size: 14px;
      min-height: 48px;
      max-width: 100%;
      padding: 9px 10px;
    }
    .parent-link {
      min-height: 48px;
      padding: 9px 11px;
      font-size: 12px;
      gap: 6px;
    }
    .parent-link svg {
      width: 18px;
    }
    #app {
      padding: 25px 16px 26px;
    }
    .page-head {
      margin-bottom: 20px;
      align-items: flex-start;
      flex-wrap: wrap;
    }
    .page-head h1 {
      font-size: 28px;
      letter-spacing: -0.7px;
    }
    .page-head p {
      font-size: 16px;
    }
    .page-head .eyebrow {
      font-size: 9px;
      line-height: 1.6;
      letter-spacing: 1.2px;
    }
    body[data-screen="today"] .page-head h1 {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
    }
    .welcome-strip {
      padding: 0 0 22px;
      margin: 0;
    }
    .welcome-strip h2 {
      font-size: 26px;
      line-height: 1.45;
      letter-spacing: -0.8px;
    }
    .welcome-strip p {
      font-size: 18px;
    }
    .welcome-illustration {
      display: none;
    }
    .mood-row {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 17px;
    }
    .mood-row button {
      font-size: 16px;
      min-height: 48px;
      flex: 1 1 auto;
      padding: 10px 11px;
    }
    .mood-symbol {
      display: none;
    }
    .card {
      padding: 21px;
      border-radius: 20px;
      margin-bottom: 20px;
    }
    .child-dashboard {
      gap: 20px;
    }
    .spotlight {
      padding: 22px 19px;
      background: var(--sky);
      border-color: #c1d9ed;
    }
    .spotlight-top {
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 10px;
    }
    .spotlight .eyebrow {
      font-size: 10px;
      letter-spacing: 1.2px;
    }
    .spotlight-body {
      display: block;
      margin: 20px 0;
    }
    .activity-art {
      width: 60px;
      height: 62px;
      border-radius: 17px;
      margin-bottom: 17px;
      box-shadow: 0 4px 0 #dbe9f4;
    }
    .activity-art > .ui-icon {
      width: 30px;
      height: 30px;
    }
    .spotlight-body h2 {
      font-size: 27px;
      margin: 8px 0 14px;
      line-height: 1.35;
    }
    .spotlight-body p {
      font-size: 18px;
    }
    .spotlight-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .spotlight-actions button {
      width: 100%;
      font-size: 18px;
      min-height: 54px;
    }
    .choose-next {
      font-size: 17px;
    }
    .daily-progress {
      padding: 22px 18px;
    }
    .section-title h2 {
      font-size: 21px;
    }
    .point-summaries {
      gap: 13px;
    }
    .point-summaries strong {
      font-size: 25px;
    }
    .point-summaries > div > span:last-child {
      font-size: 14px;
    }
    .day-section {
      padding: 16px;
    }
    .day-section-head h3 {
      font-size: 18px;
    }
    .day-section-head > span {
      font-size: 13px;
    }
    .day-task {
      display: grid;
      grid-template-columns: 37px minmax(0, 1fr);
      gap: 10px 12px;
      min-height: 90px;
      padding: 16px 0;
    }
    .day-task > .pill {
      grid-column: 2;
      justify-self: start;
      font-size: 14px;
    }
    .day-task > .ui-icon:last-child {
      display: none;
    }
    .day-task .task-icon {
      width: 37px;
      height: 40px;
      align-self: start;
    }
    .day-task-copy strong {
      font-size: 18px;
    }
    .day-task-copy > span {
      font-size: 16px;
    }
    .quiet-time,
    body[data-audience="child"] .quiet-time {
      font-size: 18px;
    }
    .journey-aside {
      grid-template-columns: 1fr;
      gap: 18px;
    }
    .mini-garden p,
    .tomorrow-card p {
      font-size: 18px;
    }
    .mini-garden h2,
    .tomorrow-card h2 {
      font-size: 22px;
    }
    .garden-art {
      height: 165px;
    }
    .pill,
    body[data-audience="child"] .day-task .pill {
      font-size: 14px;
    }
    .pill .ui-icon {
      width: 15px;
    }
    .plan-controls {
      gap: 8px;
    }
    .plan-controls > .primary {
      font-size: 14px;
      padding: 10px 12px;
    }
    .segmented button {
      min-width: 65px;
      font-size: 14px;
    }
    .plan-shell .toolbar {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .plan-shell .toolbar input {
      grid-column: 1/-1;
      grid-row: 1;
      width: 100%;
    }
    .plan-shell .toolbar button {
      font-size: 14px;
      padding: 10px 8px;
    }
    .plan-shell > .muted {
      font-size: 15px;
    }
    .week-days {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .week-day {
      padding: 18px;
    }
    .week-day h3 {
      font-size: 18px;
      display: flex;
      gap: 10px;
      align-items: center;
      margin: 0;
    }
    .week-day h3 br {
      display: none;
    }
    .week-task {
      padding: 14px;
    }
    .week-task button,
    body[data-audience="child"] .week-task button {
      font-size: 18px !important;
      line-height: 1.6;
    }
    .week-task small,
    body[data-audience="child"] .week-task small {
      font-size: 16px;
    }
    .week-task button .ui-icon {
      width: 21px;
      height: 21px;
    }
    .week-load {
      padding: 20px 16px;
    }
    .load-days {
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .load-days strong {
      font-size: 16px;
    }
    .load-days span,
    .load-days small {
      font-size: 14px;
    }
    .plan-date-tabs {
      gap: 3px;
    }
    .plan-date-tabs button {
      font-size: 12px;
      padding: 10px 2px;
      min-height: 48px;
    }
    .plan-day-panel {
      padding: 20px 16px;
    }
    .plan-day-panel .section-title {
      display: block;
    }
    .plan-day-panel .section-title span {
      font-size: 16px;
    }
    .plan-day-mode .week-days {
      display: none;
    }
    .parent-summary {
      display: block;
      padding: 24px 21px;
    }
    .parent-summary h2 {
      font-size: 27px;
    }
    .parent-summary p {
      font-size: 17px;
    }
    .parent-summary .eyebrow {
      font-size: 10px;
    }
    .parent-metric {
      margin-top: 20px;
      padding: 18px 0 0;
      border-left: 0;
      border-top: 1px solid #cadce8;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 15px;
    }
    .parent-metric strong {
      font-size: 36px;
    }
    .parent-metric span {
      font-size: 15px;
    }
    .parent-controls {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .parent-controls button {
      font-size: 14px;
      min-height: 54px;
      padding: 10px 8px;
    }
    .parent-workspace > .toolbar {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .parent-workspace > .toolbar input {
      grid-column: 1/-1;
      width: 100%;
    }
    .parent-workspace .page-head h1 {
      font-size: 26px;
    }
    .parent-task-card {
      padding: 20px 17px;
    }
    .parent-task h3 {
      font-size: 22px;
    }
    .parent-task p,
    .parent-task-card > p {
      font-size: 16px;
    }
    .parent-task-card .actions {
      display: flex;
      gap: 8px;
    }
    .parent-task-card .actions button {
      flex: 1 1 130px;
      font-size: 15px;
      min-height: 48px;
    }
    .parent-filters button {
      font-size: 14px;
      min-height: 48px;
    }
    .parent-workspace .notice {
      font-size: 16px;
    }
    .parent-workspace > .notice:first-of-type {
      font-size: 14px;
    }
    .achievement-garden {
      padding: 24px 21px;
      gap: 15px;
    }
    .achievement-garden h2 {
      font-size: 26px;
    }
    .achievement-garden p {
      font-size: 18px;
    }
    .garden-mark {
      padding: 12px;
    }
    .garden-mark svg {
      width: 34px;
      height: 34px;
    }
    .reward-summary {
      display: flex;
      flex-wrap: wrap;
      padding: 23px 20px;
    }
    .reward-summary h2 {
      font-size: 23px;
    }
    .reward-summary p {
      font-size: 18px;
    }
    .reward-summary .available {
      width: 100%;
      border-top: 1px solid #d1e1cd;
      padding-top: 16px;
      text-align: left;
    }
    .reward-card p {
      font-size: 18px;
    }
    .reward-card {
      padding: 24px;
    }
    .badge h3 {
      font-size: 21px;
    }
    .badge p {
      font-size: 18px;
    }
    dialog {
      max-width: calc(100vw - 20px);
      width: calc(100vw - 20px);
      max-height: calc(100dvh - 28px);
      border-radius: 21px;
    }
    #modal-content {
      padding: 22px 18px;
    }
    .modal-head h2 {
      font-size: 23px;
    }
    .modal-head {
      gap: 12px;
    }
    .field {
      font-size: 17px;
    }
    .field input,
    .field textarea,
    .field select {
      font-size: 18px;
    }
    .form-grid {
      grid-template-columns: 1fr;
    }
    .checklist label {
      font-size: 18px;
      padding: 14px 12px;
    }
    .criteria {
      font-size: 18px;
    }
    .task-title h2 {
      font-size: 25px;
    }
    .meta {
      font-size: 17px;
    }
    .timer strong {
      font-size: 36px;
    }
    .timer small {
      font-size: 15px;
    }
    .suggestion-option label:first-child {
      font-size: 17px;
    }
    .suggestion-option {
      gap: 10px;
    }
    .suggestion-option label:last-child {
      width: 65px;
    }
    .suggestion-option input[type="number"] {
      font-size: 17px;
      padding: 9px 6px;
    }
    body > main > footer {
      padding: 20px 16px;
      font-size: 12px;
    }
    .auth-layout {
      display: block;
      max-width: 480px;
      border-radius: 24px;
    }
    .auth-story {
      padding: 25px 28px;
      background: #eaf3e8;
    }
    .auth-story-brand {
      font-size: 11px;
      margin: 0 0 17px;
    }
    .auth-story > h2 {
      font-size: 27px;
      margin: 0;
      line-height: 1.4;
      letter-spacing: -0.7px;
    }
    .auth-story > h2 br {
      display: none;
    }
    .auth-story > .eyebrow,
    .auth-story > p,
    .auth-garden {
      display: none;
    }
    .auth-card {
      padding: 28px 25px;
    }
    .auth-card > .eyebrow {
      font-size: 9px;
      margin-top: 12px;
    }
    .auth-card h1 {
      font-size: 28px;
    }
    .auth-card > .muted {
      font-size: 16px;
    }
    .auth-card .field {
      font-size: 16px;
    }
    .auth-card .field input,
    .auth-card .field select {
      font-size: 18px;
    }
    .auth-mark {
      display: none;
    }
    #auth-screen {
      padding: 20px 14px;
      align-items: start;
    }
    .auth-card input[name="pin"] {
      font-size: 25px;
    }
    .auth-card button {
      font-size: 18px;
    }
    #toast {
      bottom: 95px;
      font-size: 15px;
    }
    body[data-age="4-6"] .day-task-copy strong {
      font-size: 20px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
  body.reduced *,
  body.reduced *:before,
  body.reduced *:after {
    animation: none !important;
    transition: none !important;
  }
}

@media screen {
  .parent-link span {
    color: inherit;
  }
  .parent-workspace > .page-head {
    margin-top: 0;
    margin-bottom: 24px;
  }
  .parent-workspace > .page-head h1 {
    font-size: 32px;
  }
  .badge > span {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    background: #eaf4ed;
    color: #3b7c58;
    margin: 0 auto 17px;
  }
  .badge > span > .ui-icon {
    width: 29px;
    height: 29px;
  }
  .badge.locked > span {
    background: #e9eeea;
    color: #667d70;
  }
  .badge strong {
    font-size: 20px;
    line-height: 1.5;
  }
  .badge small {
    font-size: 18px;
    line-height: 1.7;
    margin-top: 12px;
  }
  body[data-screen="today"] .day-task-copy > span,
  body[data-screen="today"] .point-summaries > div > span:last-child,
  body[data-screen="today"] .day-section-head h3 {
    font-size: 18px;
  }
  body[data-screen="today"] .day-task .pill,
  body[data-screen="today"] .spotlight .pill {
    font-size: 18px;
  }
  .week-task button,
  .week-task small {
    font-size: 18px !important;
  }
  .stat small {
    font-size: 18px;
    line-height: 1.5;
  }
  body[data-screen="rewards"] .reward-card p {
    font-size: 18px;
  }
  @media (max-width: 760px) {
    .parent-workspace > .page-head h1 {
      font-size: 28px;
    }
    .parent-workspace > .page-head {
      margin-bottom: 20px;
    }
    .point-summaries {
      grid-template-columns: 1fr 1fr;
    }
    .point-summaries > div:last-child {
      grid-column: 1/-1;
      border-top: 1px solid var(--line);
      padding-top: 12px;
    }
    .point-summaries > div > span:last-child {
      font-size: 18px;
    }
    .stat-grid {
      grid-template-columns: 1fr 1fr;
    }
    .stat small {
      font-size: 18px;
    }
  }
}

@media screen {
  .daily-checkin {
    border-top: 1px solid var(--line);
    margin-top: 21px;
    padding-top: 17px;
  }
  .daily-checkin > p {
    font-size: 18px;
    margin: 0 0 12px;
  }
  .daily-checkin .mood-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }
  .daily-checkin .mood-row button {
    font-size: 18px;
  }
  @media (max-width: 760px) {
    .welcome-strip {
      padding-bottom: 19px;
    }
    .welcome-strip h2 {
      font-size: 25px;
      margin: 0 0 10px;
    }
    .welcome-strip > div > p {
      margin: 0;
      font-size: 18px;
    }
    .spotlight-body {
      display: grid;
      grid-template-columns: 43px minmax(0, 1fr);
      gap: 14px;
      margin: 17px 0;
    }
    .activity-art {
      width: 43px;
      height: 48px;
      border-radius: 13px;
      margin-bottom: 0;
    }
    .activity-art > .ui-icon {
      width: 24px;
      height: 24px;
    }
    .spotlight-body h2 {
      font-size: 24px;
      margin: 6px 0 10px;
    }
    .spotlight-body p {
      font-size: 18px;
    }
    .spotlight-body > div:last-child > p:first-child {
      font-size: 16px;
    }
    .point-summaries {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .daily-checkin .mood-row button {
      flex: 1 1 auto;
      font-size: 18px;
      min-height: 48px;
    }
  }
}
@media screen {
  .parent-link,
  .profile-picker select,
  .side-bottom button,
  #connection-status button,
  #demo-bar button {
    min-height: 48px;
  }
  summary {
    min-height: 48px;
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media screen {
  .self-score-entry {
    border: 1px solid #c9deee;
    background: #f1f7fd;
    padding: 18px;
    border-radius: 16px;
    margin: 20px 0;
  }
  .self-score-entry p {
    font-size: 18px;
    margin: 10px 0;
  }
  .self-score-note {
    background: #fff6df;
    border: 1px solid #e6d4a8;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 18px;
  }
  .self-score-options {
    border: 1px solid #d4e2e8;
    border-radius: 18px;
    padding: 18px;
    margin: 20px 0;
  }
  .self-score-options legend {
    padding: 0 8px;
    font-size: 20px;
    font-weight: 700;
  }
  .self-score-options label {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    background: #f4f8fa;
    border: 1px solid #e0e8ec;
    border-radius: 12px;
    padding: 14px;
    margin: 10px 0;
    font-size: 18px;
  }
  .self-score-options label:has(input:checked) {
    border-color: #82b6d9;
    background: #edf5ff;
  }
  .self-score-options input {
    width: 24px;
    height: 24px;
    flex: none;
    accent-color: var(--blue);
  }
  .self-score-options label strong {
    display: block;
  }
  .self-score-options label:has(input:disabled) {
    opacity: 0.6;
  }
  .self-score-options p {
    font-size: 18px;
    line-height: 1.6;
  }
  .live-day-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #edf6f0;
    border: 1px solid #d0e1d4;
    border-radius: 16px;
    padding: 19px;
    margin: 20px 0;
  }
  .live-day-points > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .live-day-points span {
    font-size: 16px;
  }
  .live-day-points strong {
    font-size: 32px;
    line-height: 1.4;
    color: #245e45;
  }
  .live-day-points strong small {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: var(--ink);
  }
  .live-day-points b {
    font-size: 20px;
  }
  .live-day-points small {
    font-size: 14px;
    color: var(--muted);
  }
  @media (max-width: 760px) {
    .live-day-points {
      grid-template-columns: 1fr;
      padding: 18px;
      gap: 17px;
    }
    .live-day-points > div + div {
      border-top: 1px solid #cddfd1;
      padding-top: 15px;
    }
    .live-day-points span,
    .live-day-points small {
      font-size: 18px;
    }
    .self-score-options {
      padding: 14px;
    }
    .self-score-options label {
      padding: 12px;
    }
  }
}

@media screen {
  .criteria > p {
    margin: 10px 0 16px;
  }
  .criteria-score {
    margin: 18px 0 0;
    padding: 17px 0 0;
    border: 0;
    border-top: 1px solid #c7daeb;
    min-width: 0;
  }
  .criteria-score legend {
    padding: 0 8px 0 0;
    font-size: 18px;
    font-weight: 600;
  }
  .criteria-score label {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #cbdce9;
    background: #fff;
    border-radius: 13px;
    font-size: 18px;
    min-height: 62px;
  }
  .criteria-score label:has(input:checked) {
    border-color: #4783b7;
    background: #e5f1ff;
  }
  .criteria-score label:has(input:disabled) {
    opacity: 0.6;
  }
  .criteria-score input {
    width: 24px;
    height: 24px;
    min-height: 24px;
    flex: none;
    accent-color: var(--blue);
  }
  .criteria-score small {
    display: block;
    font-size: 16px;
    line-height: 1.7;
    margin-top: 13px;
  }
  .criteria-score p {
    font-size: 16px;
    margin: 12px 0;
  }
  .criteria-score strong {
    white-space: nowrap;
  }
  @media (max-width: 760px) {
    .criteria-score label {
      align-items: flex-start;
      padding: 13px 11px;
    }
    .criteria-score input {
      margin-top: 3px;
    }
    .criteria-score small,
    .criteria-score p {
      font-size: 18px;
    }
  }
}

/* Bright two-tone pictograms: colour supplements the label and unique silhouette. */
@media screen {
  .ui-icon[data-icon] {
    --icon-ink: #2873bd;
    --icon-soft: #dceeff;
    stroke: var(--icon-ink);
  }
  .ui-icon .icon-halo {
    fill: var(--icon-soft);
    stroke: none;
  }
  .ui-icon[data-icon="math"],
  .ui-icon[data-icon="calendar"] {
    --icon-ink: #5866b5;
    --icon-soft: #e9e9ff;
  }
  .ui-icon[data-icon="letters"],
  .ui-icon[data-icon="bag"] {
    --icon-ink: #bd663c;
    --icon-soft: #ffeadc;
  }
  .ui-icon[data-icon="language"],
  .ui-icon[data-icon="leaf"],
  .ui-icon[data-icon="home"] {
    --icon-ink: #267d68;
    --icon-soft: #d9f3e8;
  }
  .ui-icon[data-icon="music"],
  .ui-icon[data-icon="moon"] {
    --icon-ink: #8061ac;
    --icon-soft: #eee4fa;
  }
  .ui-icon[data-icon="paint"],
  .ui-icon[data-icon="gift"],
  .ui-icon[data-icon="kite"] {
    --icon-ink: #b3556c;
    --icon-soft: #ffe3ec;
  }
  .ui-icon[data-icon="sun"],
  .ui-icon[data-icon="star"],
  .ui-icon[data-icon="sport"] {
    --icon-ink: #a97819;
    --icon-soft: #fff0bd;
  }
  .ui-icon[data-icon="family"],
  .ui-icon[data-icon="chat"] {
    --icon-ink: #287e96;
    --icon-soft: #ddf3fa;
  }
  .ui-icon[data-icon="check"],
  .ui-icon[data-icon="arrow"],
  .pill .ui-icon {
    stroke: currentColor;
  }
  .pill .icon-halo {
    display: none;
  }
  .task-icon,
  .activity-art,
  .reward-art,
  .garden-mini,
  .auth-mark {
    border: 1px solid #d6e7f3;
    background: #eef7ff;
  }
  .task-icon:has([data-icon="math"]),
  .activity-art:has([data-icon="math"]),
  .task-icon:has([data-icon="music"]),
  .activity-art:has([data-icon="music"]),
  .task-icon:has([data-icon="moon"]),
  .activity-art:has([data-icon="moon"]) {
    background: #f2edff;
    border-color: #e0d7f2;
  }
  .task-icon:has([data-icon="language"]),
  .activity-art:has([data-icon="language"]),
  .task-icon:has([data-icon="home"]),
  .activity-art:has([data-icon="home"]),
  .task-icon:has([data-icon="leaf"]) {
    background: #e8f8ee;
    border-color: #cfe8da;
  }
  .task-icon:has([data-icon="letters"]),
  .activity-art:has([data-icon="letters"]),
  .task-icon:has([data-icon="bag"]),
  .activity-art:has([data-icon="bag"]) {
    background: #fff0e4;
    border-color: #f1dcca;
  }
  .task-icon:has([data-icon="paint"]),
  .activity-art:has([data-icon="paint"]),
  .task-icon:has([data-icon="kite"]),
  .activity-art:has([data-icon="kite"]),
  .reward-art {
    background: #fff0f3;
    border-color: #f1d7de;
  }
  .task-icon:has([data-icon="sport"]),
  .activity-art:has([data-icon="sport"]),
  .task-icon:has([data-icon="sun"]),
  .activity-art:has([data-icon="sun"]) {
    background: #fff6d9;
    border-color: #ecdfb9;
  }
  .task-icon .ui-icon {
    width: 28px;
    height: 28px;
  }
  .activity-art > .ui-icon {
    width: 48px;
    height: 48px;
  }
  .activity-art {
    box-shadow: none;
  }
  #nav .ui-icon {
    width: 27px;
    height: 27px;
  }
  #nav button.active .ui-icon {
    stroke: var(--icon-ink);
  }
  .reward-art > .ui-icon {
    width: 42px;
    height: 42px;
  }
  .brand-icon > .ui-icon {
    width: 29px;
    height: 29px;
  }
  @media (max-width: 760px) {
    .task-icon .ui-icon {
      width: 26px;
      height: 26px;
    }
    .activity-art > .ui-icon {
      width: 30px;
      height: 30px;
    }
    #nav .ui-icon {
      width: 26px;
      height: 26px;
    }
  }
}
@media print {
  .ui-icon {
    stroke: currentColor !important;
  }
  .ui-icon .icon-halo {
    fill: none !important;
  }
}

@media screen {
  .ui-icon[data-icon="meal"] {
    --icon-ink: #bc6733;
    --icon-soft: #ffead7;
  }
  .task-icon:has([data-icon="meal"]),
  .activity-art:has([data-icon="meal"]) {
    background: #fff0e2;
    border-color: #f0d8c0;
  }
}

@media screen {
  .quick-delete-list {
    margin: 20px 0;
    max-height: 40vh;
    overflow: auto;
    border-top: 1px solid var(--line);
  }
  .quick-delete-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
  }
  .quick-delete-item:has(input:checked) {
    background: #fff1ed;
  }
  .quick-delete-item input {
    flex: none;
    margin-top: 4px;
  }
  .quick-delete-item > span {
    min-width: 0;
  }
  .quick-delete-item strong {
    display: block;
    font-size: 18px;
    overflow-wrap: anywhere;
  }
  .quick-delete-item small {
    display: block;
    font-size: 15px;
    color: var(--muted);
    margin-top: 6px;
  }
  @media (max-width: 760px) {
    .plan-controls {
      flex-wrap: wrap;
    }
    .quick-delete-item {
      padding: 14px 4px;
    }
    .quick-delete-item small {
      font-size: 16px;
    }
  }
}

@media screen {
  .parent-workspace:not(.cancelled-only)
    .parent-task-card[data-task-status="cancelled"] {
    display: none;
  }
  .cancelled-only .parent-task-card:not([data-task-status="cancelled"]) {
    display: none;
  }
}

@media screen {
  .print-options {
    background: #f1f6fa;
    border: 1px solid #d7e3eb;
    border-radius: 16px;
    padding: 17px 20px;
    margin: 0 0 24px;
  }
  .print-options label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    flex-wrap: wrap;
  }
  .print-options select {
    max-width: 100%;
    min-width: 0;
    font-size: 16px;
  }
  .print-options p {
    font-size: 14px;
    color: var(--muted);
    margin: 10px 0 0;
  }
  @media (max-width: 760px) {
    .print-options {
      padding: 17px;
    }
    .print-options select {
      width: 100%;
    }
  }
}

/* Weekly overview: readable days, consistent activity cards, focused mobile agenda. */
@media screen {
  .week-redesign .week-summary {
    display: flex;
    gap: 32px;
    padding: 20px 24px;
    background: #edf6ff;
    border-radius: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
  }
  .week-summary > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .week-summary strong {
    font-size: 30px;
    color: #205c91;
  }
  .week-summary span {
    font-size: 16px;
    color: #36556b;
  }
  .week-redesign .week-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .week-redesign .week-navigation input {
    width: auto;
    max-width: 100%;
  }
  .week-overview-tabs button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 14px 5px;
    min-width: 0;
    color: #24465e;
  }
  .week-overview-tabs strong {
    font-size: 19px;
  }
  .week-overview-tabs small {
    font-size: 13px;
  }
  .week-overview-tabs em {
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
  }
  .week-overview-tabs .is-today {
    border: 2px solid #3683c6;
  }
  .day-mini-progress {
    display: block;
    width: 75%;
    height: 4px;
    border-radius: 4px;
    background: #dce7ef;
    overflow: hidden;
  }
  .day-mini-progress b {
    display: block;
    height: 100%;
    background: #258a72;
  }
  .week-overview-tabs [aria-pressed="true"] .day-mini-progress {
    background: #ffffff55;
  }
  .week-overview-tabs [aria-pressed="true"] .day-mini-progress b {
    background: white;
  }
  .week-redesign .plan-controls {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
  }
  .plan-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
  }
  .plan-filter-label select {
    width: auto;
    max-width: 100%;
    font-size: 16px;
  }
  .week-parent-tools {
    margin-bottom: 24px;
  }
  .week-redesign .weekly-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }
  .week-redesign.plan-day-mode .weekly-board {
    display: none;
  }
  .week-redesign .week-day {
    padding: 18px;
    min-width: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 3px 12px #24465e08;
  }
  .week-redesign .week-day.today {
    background: #f3f9ff;
    border: 2px solid #8cbae0;
  }
  .week-day-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    color: #203e56 !important;
    min-height: 48px;
  }
  .week-day-select strong {
    font-size: 20px;
  }
  .week-day-select > span {
    font-size: 14px;
  }
  .week-day-meta {
    font-size: 14px;
    color: #536b7b;
    margin: 0 0 16px;
  }
  .plan-period {
    margin: 18px 0;
  }
  .plan-period h4 {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 16px;
    margin: 0 0 10px;
    color: #36556b;
  }
  .plan-period h4 > .ui-icon {
    width: 20px;
    height: 20px;
  }
  .plan-period h4 > span {
    margin-left: auto;
    font-size: 13px;
    font-weight: 400;
  }
  .week-redesign .plan-week-task {
    padding: 0;
    margin: 10px 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce6eb;
  }
  .week-redesign .plan-week-task button,
  .week-redesign .plan-agenda-task {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    padding: 14px !important;
    background: white;
    border: 0;
    color: #203e56;
    white-space: normal;
  }
  .week-redesign .plan-week-task button {
    font-size: 18px !important;
  }
  .plan-task-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }
  .plan-task-copy strong {
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .week-redesign .plan-task-copy small {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #536b7b;
  }
  .plan-activity-icon {
    flex: 0 0 30px;
  }
  .week-redesign .plan-activity-icon > .ui-icon {
    width: 28px;
    height: 28px;
    margin: 0;
  }
  .plan-task-status {
    font-size: 14px;
    line-height: 1.5;
  }
  .plan-task-status .badge {
    font-size: 13px !important;
    white-space: normal;
  }
  .week-redesign [data-state="active"] {
    border-left: 4px solid #367cc0;
  }
  .week-redesign [data-state="pending"] {
    border-left: 4px solid #c29328;
    background: #fffaf0;
  }
  .week-redesign [data-state="done"] {
    border-left: 4px solid #48a38b;
  }
  .week-redesign .plan-agenda-task {
    border: 1px solid #dce6eb;
    border-radius: 16px;
    margin: 10px 0;
    min-height: 80px;
  }
  .plan-empty {
    padding: 18px 0;
    color: #536b7b;
  }
  .plan-empty p {
    font-size: 16px;
  }
  .plan-empty > .ui-icon {
    width: 28px;
    height: 28px;
  }
  .week-add {
    width: 100%;
    margin-top: 12px;
  }
  .day-overload {
    font-size: 14px;
    color: #945425;
  }
  .plan-legend {
    font-size: 14px;
    line-height: 1.8;
    color: #536b7b;
    margin: 24px 0;
  }
  .plan-legend > .ui-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
  }
  .week-redesign .print-options summary {
    cursor: pointer;
    font-weight: 700;
    min-height: 32px;
  }
  .week-redesign .print-options label {
    margin-top: 16px;
  }
  @media (min-width: 1700px) {
    .week-redesign .weekly-board {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  @media (max-width: 1050px) {
    .week-redesign .weekly-board {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 760px) {
    .week-redesign .weekly-board {
      grid-template-columns: 1fr;
    }
    .week-redesign .week-summary {
      gap: 16px;
      padding: 16px;
    }
    .week-summary > div {
      flex: 1;
      min-width: 75px;
      display: block;
    }
    .week-summary strong {
      display: block;
      font-size: 26px;
    }
    .week-summary span {
      font-size: 13px;
    }
    .week-overview-tabs {
      gap: 3px;
    }
    .week-overview-tabs button {
      padding: 10px 1px;
      border-radius: 10px;
    }
    .week-overview-tabs strong {
      font-size: 13px;
    }
    .week-overview-tabs small {
      font-size: 10px;
    }
    .week-overview-tabs em {
      font-size: 9px;
    }
    .week-redesign .plan-controls {
      display: block;
    }
    .plan-filter-label {
      margin-top: 16px;
      justify-content: space-between;
    }
    .plan-filter-label select {
      max-width: 70%;
    }
    .week-redesign .week-navigation input {
      width: 100%;
      order: -1;
    }
    .week-redesign .week-navigation button {
      flex: 1;
    }
    .week-redesign .plan-task-copy small {
      font-size: 16px;
    }
    .week-redesign .plan-day-panel {
      padding: 18px 14px;
    }
  }
}

@media screen {
  .task-edit-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #edf6ff;
    border: 1px solid #d5e6f5;
  }
  .task-edit-toolbar strong {
    font-size: 18px;
  }
  .task-edit-toolbar p {
    font-size: 15px;
    color: #456178;
    margin: 5px 0 0;
  }
  .task-edit-toolbar button {
    flex-shrink: 0;
    min-height: 48px;
  }
  @media (max-width: 600px) {
    .task-edit-toolbar {
      display: block;
      padding: 16px;
    }
    .task-edit-toolbar button {
      width: 100%;
      margin-top: 14px;
    }
  }
}

@media screen {
  .skills-page .card {
    padding: 24px;
    margin: 22px 0;
  }
  .skills-page h1 {
    margin-top: 8px;
  }
  .skill-phases {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .skill-phases button {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    white-space: normal;
    padding: 18px;
    border-radius: 18px;
  }
  .skill-phases button[aria-pressed="true"] {
    background: #eaf4ff;
    border: 2px solid #3783c8;
  }
  .skill-phases span {
    font-size: 16px;
    font-weight: 400;
  }
  .skill-phases small {
    font-size: 13px;
    color: #46647a;
  }
  .skill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .skills-page .skill-card {
    margin: 0;
    min-width: 0;
  }
  .skill-card > .ui-icon {
    width: 36px;
    height: 36px;
  }
  .skill-card h3 {
    font-size: 22px;
  }
  .skill-card p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .skill-tags span {
    font-size: 14px;
    background: #e9f5ef;
    border-radius: 12px;
    padding: 8px 12px;
    color: #275e4a;
  }
  .skill-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
  }
  .skill-stats > div {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 16px;
    background: #edf6ff;
  }
  .skill-stats strong {
    font-size: 26px;
  }
  .skill-stats span {
    font-size: 15px;
  }
  .skill-history-entry {
    padding: 18px 0;
    border-top: 1px solid #dce7eb;
    overflow-wrap: anywhere;
  }
  .skill-history-entry p {
    font-size: 16px;
  }
  .skill-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
  }
  .skill-check {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px;
    font-size: 16px !important;
    font-weight: 400 !important;
  }
  .skill-check input {
    flex: 0 0 22px;
    width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
  }
  .skill-filters label {
    min-width: 160px;
  }
  .skill-filters select {
    width: 100%;
    max-width: 100%;
  }
  #skill-form fieldset {
    border: 1px solid #dce7eb;
    border-radius: 16px;
    margin: 20px 0;
    max-height: 320px;
    overflow: auto;
  }
  #skill-error {
    color: #a33427;
  }
  @media (max-width: 1000px) {
    .skill-phases {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (max-width: 600px) {
    .skill-grid {
      grid-template-columns: 1fr;
    }
    .skill-phases {
      gap: 8px;
    }
    .skill-phases button {
      padding: 12px;
      font-size: 14px;
    }
    .skill-phases span {
      font-size: 14px;
    }
    .skill-phases small {
      font-size: 12px;
    }
    .skills-page .card {
      padding: 18px;
    }
    .skill-checks {
      grid-template-columns: 1fr;
    }
    .skill-stats {
      grid-template-columns: 1fr 1fr;
    }
    .skill-stats strong {
      font-size: 23px;
    }
    .skills-page .section-title {
      display: block;
    }
    .skills-page select,
    .skills-page input {
      max-width: 100%;
      min-width: 0;
    }
    .skills-page .skill-filters {
      display: block;
    }
    .skill-filters label {
      display: block;
      margin: 14px 0;
    }
  }
}

@media screen {
  .thinking-panel {
    margin: 24px 0;
    padding: 24px;
    border-radius: 22px;
    background: #fffdf6;
    border: 1px solid #e8e3ce;
  }
  .thinking-panel h2 {
    font-size: 28px;
  }
  .thinking-weeks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
  }
  .thinking-week {
    background: white;
    border: 1px solid #dce7eb;
    border-radius: 18px;
    padding: 20px;
    min-width: 0;
  }
  .thinking-week.thinking-current {
    border: 2px solid #5b9bd2;
    background: #f5faff;
  }
  .thinking-week h3 {
    font-size: 22px;
    line-height: 1.5;
  }
  .thinking-week p,
  .thinking-review p {
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
  .thinking-detail {
    border: 1px solid #d4e5f1;
    border-radius: 18px;
    padding: 20px;
    background: #f1f8ff;
    margin: 0 0 22px;
  }
  .thinking-detail p {
    font-size: 18px;
  }
  .thinking-detail h3 {
    font-size: 24px;
  }
  .thought-check {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 0;
    font-size: 16px;
  }
  .thought-check input {
    width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    flex: 0 0 22px;
  }
  .thinking-review {
    padding: 20px;
    background: #eaf5ef;
    border-radius: 18px;
  }
  #thinking-error {
    color: #a33427;
  }
  .thinking-panel blockquote,
  .thinking-detail blockquote {
    border-left: 4px solid #8ebca9;
    padding: 8px 16px;
    margin: 14px 0;
    font-size: 18px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  @media (max-width: 760px) {
    .thinking-weeks {
      grid-template-columns: 1fr;
    }
    .thinking-panel {
      padding: 18px;
    }
    .thinking-panel h2 {
      font-size: 24px;
    }
    .thinking-panel .section-title {
      display: block;
    }
    .thinking-week {
      padding: 16px;
    }
    .thinking-week p {
      font-size: 18px;
    }
    .thinking-detail {
      padding: 16px;
    }
  }
}
@media screen {
  .thinking-jump {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #eaf6ef;
    border: 1px solid #d1e8dc;
    border-radius: 18px;
    margin: 0 0 24px;
  }
  .thinking-jump > span {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 18px;
  }
  .thinking-jump .ui-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .thinking-jump button {
    flex-shrink: 0;
  }
  .thinking-panel {
    scroll-margin-top: 90px;
  }
  @media (max-width: 600px) {
    .thinking-jump {
      display: block;
      padding: 16px;
    }
    .thinking-jump button {
      width: 100%;
      margin-top: 14px;
    }
  }
}
