/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
  width: device-width;
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}

/*
 * TaskHero Kid-Friendly Theme
 * Large buttons, vivid colors, rounded corners
 */

:root {
  /* Brand Colors */
  --th-primary: #006b5a;
  --th-primary-light: #7ed9c3;
  --th-primary-dark: #005144;
  --th-secondary: #ff8c42;
  --th-accent-pink: #ff6b9d;
  --th-accent-purple: #9b59b6;
  --th-accent-blue: #3498db;
  --th-accent-yellow: #f1c40f;
  --th-accent-green: #2ecc71;
  --th-accent-red: #e74c3c;

  /* Backgrounds */
  --th-bg-main: #f9f9ff;
  --th-bg-card: #ffffff;
  --th-bg-hover: #e7eefe;

  /* Text */
  --th-text-primary: #151c27;
  --th-text-secondary: #3e4946;
  --th-text-muted: #6e7a75;

  /* Borders & Radius */
  --th-radius-sm: 8px;
  --th-radius-md: 12px;
  --th-radius-lg: 16px;
  --th-radius-xl: 24px;
  --th-radius-full: 9999px;

  /* Shadows */
  --th-shadow-sm: 0 2px 8px rgba(0, 107, 90, 0.06);
  --th-shadow-md: 0 4px 16px rgba(0, 107, 90, 0.08);
  --th-shadow-lg: 0 8px 24px rgba(0, 107, 90, 0.12);

  /* Spacing */
  --th-space-xs: 4px;
  --th-space-sm: 8px;
  --th-space-md: 16px;
  --th-space-lg: 24px;
  --th-space-xl: 32px;
  --th-space-2xl: 48px;

  /* Font */
  --th-font-display: 'Plus Jakarta Sans', 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  --th-font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Kid-Friendly Global Overrides */
.kid-friendly {
  /* Larger touch targets */
  --ant-button-height-default: 44px;
  --ant-button-height-lg: 52px;
  --ant-button-font-size-lg: 18px;
  --ant-button-border-radius: var(--th-radius-lg);
}

/* 消息提醒 z-index 高于 Popover(1050)，确保不被遮挡 */
.ant-message {
  z-index: 1060 !important;
}

/* Override Ant Design button sizes for kid-friendliness */
.kid-friendly .ant-btn {
  border-radius: var(--th-radius-md) !important;
  font-weight: 600;
  font-family: var(--th-font-body);
  min-height: 44px;
  transition: all 0.25s ease;
}

.kid-friendly .ant-btn-lg {
  min-height: 52px !important;
  font-size: 18px !important;
  border-radius: var(--th-radius-lg) !important;
  padding: 8px 24px !important;
}

.kid-friendly .ant-btn-sm {
  min-height: 32px;
  border-radius: var(--th-radius-sm) !important;
}

.kid-friendly .ant-btn-primary {
  background: var(--th-primary) !important;
  border-color: var(--th-primary) !important;
  box-shadow: 0 4px 12px rgba(0, 107, 90, 0.3) !important;
}

.kid-friendly .ant-btn-primary:hover {
  background: var(--th-primary-dark) !important;
  border-color: var(--th-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 107, 90, 0.35) !important;
}

.kid-friendly .ant-btn-primary:active {
  transform: translateY(0);
}

/* Card rounded corners */
.kid-friendly .ant-card {
  border-radius: var(--th-radius-lg) !important;
  border: 1px solid #e7eefe !important;
  box-shadow: var(--th-shadow-sm) !important;
}

.kid-friendly .ant-card-head {
  border-radius: var(--th-radius-lg) var(--th-radius-lg) 0 0 !important;
}

/* Input fields */
.kid-friendly .ant-input,
.kid-friendly .ant-select-selector,
.kid-friendly .ant-picker {
  border-radius: var(--th-radius-md) !important;
  min-height: 40px !important;
  font-size: 15px !important;
}

/* 出生日期只能通过日期面板选择，避免手动输入产生格式和日期校验问题。 */
.birth-date-picker-dropdown .ant-picker-panel-container {
  width: min(336px, calc(100vw - 24px));
}

/* Tag rounded */
.kid-friendly .ant-tag {
  border-radius: var(--th-radius-full) !important;
  padding: 2px 10px !important;
  font-weight: 600;
}

/* Modal rounded */
.kid-friendly .ant-modal-content {
  border-radius: var(--th-radius-xl) !important;
}

.kid-friendly .ant-modal-header {
  border-radius: var(--th-radius-xl) var(--th-radius-xl) 0 0 !important;
}

/* List items */
.kid-friendly .ant-list-item {
  padding: 12px 0 !important;
}

/* Tab rounded */
.kid-friendly .ant-tabs-tab {
  border-radius: var(--th-radius-md) var(--th-radius-md) 0 0 !important;
  font-weight: 600 !important;
}

/* Fun category colors */
.category-study { background: var(--th-accent-blue); color: white; }
.category-life { background: var(--th-accent-green); color: white; }
.category-sport { background: var(--th-secondary); color: white; }
.category-art { background: var(--th-accent-purple); color: white; }
.category-social { background: var(--th-accent-pink); color: white; }

/* Status dot indicators */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.status-dot-pending { background: var(--th-accent-yellow); }
.status-dot-in-progress { background: var(--th-accent-blue); }
.status-dot-completed { background: var(--th-accent-green); }
.status-dot-expired { background: var(--th-text-muted); }

/* Fun hover lift effect */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--th-shadow-lg);
}

/* Bounce animation for completed tasks */
@keyframes kid-bounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.05); }
}

.kid-bounce {
  animation: kid-bounce 0.5s ease;
}

/* Wiggle animation */
@keyframes kid-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.kid-wiggle {
  animation: kid-wiggle 0.4s ease;
}

/* Sparkle text */
.sparkle-text {
  background: linear-gradient(135deg, var(--th-primary), var(--th-accent-purple), var(--th-accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Score display */
.score-display {
  font-family: var(--th-font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--th-primary);
  text-shadow: 0 2px 8px rgba(0, 107, 90, 0.15);
}

.score-display-small {
  font-family: var(--th-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--th-primary);
}

/* Streak fire effect */
.streak-fire {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--th-secondary);
  text-shadow: 0 0 8px rgba(255, 140, 66, 0.3);
}

/* Fun button variants */
.btn-fun {
  border-radius: var(--th-radius-lg) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 10px 28px !important;
  min-height: 48px !important;
  transition: all 0.25s ease !important;
}

.btn-fun:hover {
  transform: translateY(-2px) !important;
}

.btn-fun-success {
  background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3) !important;
}

.btn-fun-success:hover {
  box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4) !important;
}

.btn-fun-warning {
  background: linear-gradient(135deg, #ff8c42, #e67e22) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3) !important;
}

.btn-fun-danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3) !important;
}

/* Page header style */
.page-header {
  font-family: var(--th-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--th-primary);
  margin-bottom: var(--th-space-lg);
}

/* Card grid for task boards */
.kid-card-grid {
  display: grid;
  gap: var(--th-space-md);
}

.kid-card {
  background: var(--th-bg-card);
  border-radius: var(--th-radius-lg);
  border: 1px solid #e7eefe;
  padding: var(--th-space-lg);
  box-shadow: var(--th-shadow-sm);
  transition: all 0.25s ease;
}

.kid-card:hover {
  box-shadow: var(--th-shadow-md);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .birth-date-picker-dropdown {
    max-width: calc(100vw - 16px);
  }

  .birth-date-picker-dropdown .ant-picker-panel-container,
  .birth-date-picker-dropdown .ant-picker-panel,
  .birth-date-picker-dropdown .ant-picker-content {
    width: 100%;
  }

  .kid-friendly .ant-modal {
    max-width: 95vw !important;
    margin: 12px auto;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .kid-friendly .ant-modal-content {
    max-height: calc(100vh - 96px - env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .kid-friendly .ant-modal-body {
    max-height: calc(100vh - 220px - env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  .kid-friendly .ant-drawer-content-wrapper {
    max-width: 95vw;
  }

  .kid-friendly .ant-btn-primary,
  .kid-friendly .btn-fun {
    min-height: 44px !important;
  }

  .btn-fun {
    width: 100%;
    font-size: 15px !important;
  }

  .score-display {
    font-size: 36px;
  }

  .page-header {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.notification-panel[data-v-48f75d05] {
  max-height: 400px;
  overflow-y: auto;
}
.notification-header[data-v-48f75d05] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 8px;
}
.notification-title[data-v-48f75d05] {
  font-weight: 600;
  font-size: 15px;
  color: var(--th-text-primary);
}
.notification-list[data-v-48f75d05] {
  display: flex;
  flex-direction: column;
}
.notification-item[data-v-48f75d05] {
  padding: 10px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f5f5f5;
}
.notification-item[data-v-48f75d05]:hover {
  background: var(--th-bg-hover);
}
.notification-item[data-v-48f75d05]:last-child {
  border-bottom: none;
}
.notification-unread[data-v-48f75d05] {
  background: #f0f7ff;
}
.notification-item-header[data-v-48f75d05] {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.notification-type-icon[data-v-48f75d05] {
  font-size: 16px;
  flex-shrink: 0;
}
.notification-item-title[data-v-48f75d05] {
  font-weight: 600;
  font-size: 13px;
  color: var(--th-text-primary);
  flex: 1;
}
.notification-dot[data-v-48f75d05] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--th-primary);
  flex-shrink: 0;
}
.notification-item-content[data-v-48f75d05] {
  font-size: 12px;
  color: var(--th-text-muted);
  line-height: 1.5;
  padding-left: 22px;
}
.notification-item-time[data-v-48f75d05] {
  font-size: 11px;
  color: #aaa;
  padding-left: 22px;
  margin-top: 2px;
}
.notification-empty[data-v-48f75d05] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 0;
  color: #999;
  font-size: 14px;
}
.notification-empty-icon[data-v-48f75d05] {
  font-size: 32px;
  opacity: 0.5;
}
.notification-badge[data-v-48f75d05] {
  margin-right: 20px;
}
.notification-bell[data-v-48f75d05] {
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.notification-bell[data-v-48f75d05]:hover {
  transform: scale(1.1);
}
.notification-bell-active[data-v-48f75d05] {
  animation: bell-ring-48f75d05 0.5s ease;
}
@keyframes bell-ring-48f75d05 {
0% { transform: rotate(0);
}
20% { transform: rotate(15deg);
}
40% { transform: rotate(-10deg);
}
60% { transform: rotate(5deg);
}
80% { transform: rotate(-3deg);
}
100% { transform: rotate(0);
}
}


.navbar-wrapper[data-v-2be5e439] {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar[data-v-2be5e439] {
  background: #ffffff;
  border-bottom: 1px solid var(--th-bg-hover);
  box-shadow: 0 2px 12px rgba(0, 107, 90, 0.06);
}
.navbar-inner[data-v-2be5e439] {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}
.navbar-brand[data-v-2be5e439] {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--th-primary);
  flex-shrink: 0;
}
.navbar-brand[data-v-2be5e439]:hover {
  opacity: 0.85;
}
.brand-icon[data-v-2be5e439] {
  font-size: 28px;
}
.brand-text[data-v-2be5e439] {
  font-family: var(--th-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--th-primary);
  letter-spacing: -0.02em;
}
.navbar-nav[data-v-2be5e439] {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link[data-v-2be5e439] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--th-text-secondary);
  font-family: var(--th-font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link[data-v-2be5e439]:hover {
  background: var(--th-bg-hover);
  color: var(--th-primary);
}
.nav-link.active[data-v-2be5e439] {
  background: var(--th-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 107, 90, 0.2);
}
.nav-link.active[data-v-2be5e439]:hover {
  background: var(--th-primary-dark);
}
.nav-icon[data-v-2be5e439] {
  font-size: 16px;
}
.nav-label[data-v-2be5e439] {
  line-height: 1;
}
.navbar-user[data-v-2be5e439] {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.manual-help-btn[data-v-2be5e439] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--th-primary);
  font-size: 18px;
  flex-shrink: 0;
}
.manual-help-btn[data-v-2be5e439]:hover {
  background: var(--th-bg-hover);
  color: var(--th-primary-dark);
}
.family-selector[data-v-2be5e439] {
  min-width: 140px;
}
.family-role-badge[data-v-2be5e439] {
  color: var(--th-text-muted);
  font-size: 12px;
  margin-left: 2px;
}
.user-greeting[data-v-2be5e439] {
  font-family: var(--th-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--th-text-primary);
}
.user-tag[data-v-2be5e439] {
  border-radius: 9999px;
}
@media (max-width: 768px) {
.navbar-inner[data-v-2be5e439] {
    padding: 0 12px;
    height: 56px;
    gap: 8px;
}
.brand-text[data-v-2be5e439] {
    display: none;
}
.family-selector[data-v-2be5e439] {
    min-width: 94px;
    max-width: 128px;
}
.user-greeting[data-v-2be5e439] {
    display: none;
}
.family-role-badge[data-v-2be5e439] {
    display: none;
}
.navbar-user[data-v-2be5e439] {
    gap: 6px;
    margin-left: auto;
}
.manual-help-btn[data-v-2be5e439] {
    display: none;
}
}


.mobile-tabbar[data-v-d379e1ae] {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  height: calc(64px + env(safe-area-inset-bottom));
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 107, 90, 0.1);
  box-shadow: 0 -6px 18px rgba(21, 28, 39, 0.08);
  backdrop-filter: blur(12px);
}
.tabbar-item[data-v-d379e1ae] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 50px;
  color: var(--th-text-muted);
  text-decoration: none;
  border-radius: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}
.tabbar-item.active[data-v-d379e1ae] {
  color: var(--th-primary);
  background: rgba(0, 107, 90, 0.08);
}
.tabbar-icon[data-v-d379e1ae] {
  font-size: 21px;
}
.tabbar-label[data-v-d379e1ae] {
  font-family: var(--th-font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 768px) {
.mobile-tabbar[data-v-d379e1ae] {
    display: grid;
}
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: #f9f9ff;
}
.main-content {
  min-height: calc(100vh - 64px);
}
@media (max-width: 768px) {
#app {
    background: #f5f7fb;
}
.main-content {
    min-height: calc(100vh - 56px);
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
}


/*# sourceMappingURL=main.0f64a112221d194c534f.css.map*/