.parent-learning-card,
.parent-feedback-card {
  overflow: hidden;
}

.parent-hero-card {
  padding: 16px !important;
  margin-bottom: 16px !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.24) !important;
}

.parent-hero-glow {
  position: absolute;
  top: -42px;
  right: -36px;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.parent-hero-content {
  position: relative;
  z-index: 1;
}

.parent-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.parent-hero-greet {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.parent-hero-bell {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.parent-hero-student {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 17px;
  padding: 9px 12px;
  backdrop-filter: blur(8px);
}

.parent-hero-student-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.parent-hero-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #ff6b35;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 800;
  overflow: hidden;
}

.parent-hero-avatar-upload {
  position: relative;
  display: block;
  cursor: pointer;
  flex: none;
}

.parent-avatar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.parent-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.parent-hero-meta strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.parent-hero-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  margin-top: 3px;
}

.parent-hero-meta em {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-style: normal;
  margin-top: 1px;
  max-width: 174px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parent-hero-switch {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  color: #ff7a35;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(154, 64, 14, 0.14);
}

.parent-learning-card {
  padding: 18px;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 24px 12px, rgba(255, 244, 224, 0.82) 0, rgba(255, 255, 255, 0) 158px),
    #fff !important;
  box-shadow: 0 12px 30px rgba(62, 47, 32, 0.07) !important;
}

.parent-learning-profile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 253, 249, 0.98) 100%);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 183, 118, 0.12);
}

.parent-learning-entry {
  cursor: pointer;
}

.parent-learning-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.parent-learning-entry-head strong {
  display: block;
  color: #24211f;
  font-size: 18px;
  font-weight: 900;
}

.parent-learning-entry-head span {
  display: block;
  color: #8f8175;
  font-size: 12px;
  margin-top: 4px;
}

.parent-learning-entry-summary {
  color: #51443b;
  font-size: 14px;
  line-height: 1.65;
  background: rgba(255, 251, 246, 0.86);
  border-radius: 15px;
  padding: 12px 14px;
  box-shadow: inset 0 0 0 1px rgba(240, 223, 206, 0.64);
}

.parent-learning-focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0)),
    #fff6ec;
  border-radius: 15px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 183, 118, 0.18);
}

.parent-learning-focus label,
.parent-learning-demand-preview label {
  color: #a98150;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.parent-learning-focus strong {
  color: #2d2a27;
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.parent-learning-entry-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.parent-learning-entry-metrics div {
  border-radius: 15px;
  padding: 12px 8px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #fff9ef 0%, #fff1e1 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 95, 0.14);
}

.parent-learning-entry-metrics label {
  display: block;
  color: #a98150;
  font-size: 11px;
  margin-bottom: 7px;
}

.parent-learning-entry-metrics strong {
  display: block;
  color: #2d2a27;
  font-size: 18px;
  font-weight: 900;
}

.parent-learning-entry-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

.parent-learning-demand-preview {
  margin-top: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    #fff8f0;
  border-radius: 15px;
  padding: 13px 15px 13px 17px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 190, 112, 0.16);
}

.parent-learning-demand-preview::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb23f 0%, #ff7f2a 100%);
}

.parent-learning-demand-preview p {
  margin: 6px 0 0;
  color: #403832;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.parent-learning-entry-footer span {
  color: #9a7d58;
  background: #fff5e8;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
}

.parent-learning-open {
  border: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #ff9b50 0%, #ff6334 100%);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.22);
}

.parent-profile-shortcut-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.parent-child-select {
  border: none;
  appearance: none;
  background: #fff5e8;
  color: #ff7a35;
  border-radius: 999px;
  padding: 8px 28px 8px 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  min-width: 86px;
  box-shadow: inset 0 0 0 1px rgba(255, 142, 66, 0.16);
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 15px) 50%,
    calc(100% - 10px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.parent-hero-select {
  background-color: rgba(255, 255, 255, 0.94);
  color: #ff7a35;
  box-shadow: 0 8px 18px rgba(154, 64, 14, 0.14);
}

.parent-learning-switch,
.parent-learning-edit {
  border: none;
  background: #eef5ff;
  color: #3d7fe0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.parent-learning-switch {
  background: #fff5e8;
  color: #ff8c42;
}

.parent-learning-status {
  background: linear-gradient(135deg, #eef9ff 0%, #dcf5ff 100%);
  color: #3296d8;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.parent-learning-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.parent-learning-progress-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(135deg, #fff8ec 0%, #fff0dd 100%);
  border-radius: 16px;
  padding: 13px 8px 12px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 176, 95, 0.14);
  position: relative;
  overflow: hidden;
}

.parent-learning-progress-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 48px;
  height: 48px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 141, 66, 0.08);
}

.parent-learning-progress-item:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(135deg, #fff6e5 0%, #ffecd3 100%);
}

.parent-learning-progress-item:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(135deg, #fff9ee 0%, #fff1df 100%);
}

.parent-learning-progress-item label {
  display: block;
  color: #a98150;
  font-size: 11px;
  margin-bottom: 7px;
  position: relative;
  z-index: 1;
}

.parent-learning-progress-item strong {
  display: block;
  color: #2d2a27;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.parent-learning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.parent-learning-field {
  min-width: 0;
  background: rgba(255, 250, 244, 0.74);
  border-radius: 14px;
  padding: 12px 13px;
  box-shadow: inset 0 0 0 1px rgba(240, 223, 206, 0.64);
}

.parent-learning-field label {
  display: block;
  color: #9a8b7e;
  font-size: 12px;
  margin-bottom: 7px;
}

.parent-learning-field div {
  color: #262321;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
}

.parent-learning-demand {
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, #fff7e9 0%, #fffaf2 100%);
  border-radius: 16px;
  padding: 15px 17px 15px 19px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 190, 112, 0.18);
}

.parent-learning-demand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb23f 0%, #ff7f2a 100%);
  box-shadow: 0 6px 12px rgba(255, 127, 42, 0.22);
}

.parent-learning-demand label {
  display: block;
  color: #b38b54;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.parent-learning-demand p {
  margin: 0;
  color: #35302b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.parent-learning-bottom-actions {
  margin-top: 16px;
}

.parent-learning-edit-wide {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(135deg, #ff9b50 0%, #ff7b35 45%, #ff6334 100%);
  color: #fff;
  border-radius: 15px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.24);
}

.parent-learning-edit-wide:active {
  transform: translateY(1px);
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.22);
}

.parent-feedback-card {
  border-radius: 20px !important;
  box-shadow: 0 12px 30px rgba(62, 47, 32, 0.06) !important;
}

.parent-learning-analysis-page {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  z-index: 4200;
  background: #f6f6f6;
  color: #292522;
  overflow: auto;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.parent-analysis-header {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.parent-analysis-back {
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f7f7f7;
  color: #2f2f2f;
  font-size: 27px;
  line-height: 1;
}

.parent-analysis-header div {
  flex: 1;
  min-width: 0;
}

.parent-analysis-header strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.parent-analysis-header span {
  display: block;
  color: #8a8a8a;
  font-size: 12px;
  margin-top: 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.parent-analysis-select {
  min-width: 82px;
  background-color: #fff5e8;
}

.parent-analysis-body {
  padding: 12px 14px calc(28px + env(safe-area-inset-bottom));
}

.parent-analysis-hero,
.parent-analysis-section,
.parent-analysis-metrics {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.parent-analysis-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  margin-top: 0;
}

.parent-analysis-hero label {
  display: block;
  color: #a68155;
  font-size: 12px;
  margin-bottom: 8px;
}

.parent-analysis-hero strong {
  color: #2b2825;
  font-size: 17px;
  line-height: 1.55;
}

.parent-analysis-hero em {
  flex: none;
  color: #ff7a35;
  background: #fff3e5;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.parent-period-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.parent-period-tab {
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #947967;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 800;
}

.parent-period-tab.active {
  background: linear-gradient(135deg, #ff9b50 0%, #ff6334 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
}

.parent-analysis-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
}

.parent-analysis-metrics div {
  text-align: center;
  padding: 15px 8px;
  background: linear-gradient(180deg, #fff 0%, #fff9f1 100%);
}

.parent-analysis-metrics label,
.parent-analysis-profile-grid label,
.parent-analysis-demand label {
  display: block;
  color: #a08b7c;
  font-size: 11px;
  margin-bottom: 7px;
}

.parent-analysis-metrics strong {
  display: block;
  color: #2c2824;
  font-size: 21px;
  font-weight: 900;
}

.parent-analysis-metrics span {
  display: block;
  color: #b08d68;
  font-size: 11px;
  margin-top: 3px;
}

.parent-analysis-section {
  margin-top: 14px;
  padding: 17px;
}

.parent-analysis-section-title {
  color: #27231f;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 14px;
}

.parent-trend-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 12px;
  min-height: 140px;
}

.parent-trend-bars div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.parent-trend-bars span {
  width: 28px;
  max-height: 118px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #ffb15f 0%, #ff7035 100%);
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.2);
}

.parent-trend-bars em {
  color: #9a8a7e;
  font-size: 11px;
  font-style: normal;
}

.parent-trend-bars strong {
  color: #312b26;
  font-size: 13px;
  font-weight: 900;
}

.parent-analysis-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.parent-analysis-timeline div {
  display: flex;
  gap: 10px;
  color: #504943;
  font-size: 14px;
  line-height: 1.55;
}

.parent-analysis-timeline i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff7a35;
  margin-top: 6px;
  box-shadow: 0 0 0 5px #fff0df;
  flex: none;
}

.parent-analysis-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.parent-analysis-profile-grid div {
  background: #fff9f2;
  border-radius: 14px;
  padding: 12px;
}

.parent-analysis-profile-grid strong {
  color: #302b27;
  font-size: 14px;
  line-height: 1.45;
}

.parent-analysis-demand {
  margin-top: 12px;
  background: #fff7e9;
  border-radius: 15px;
  padding: 13px 15px;
}

.parent-analysis-demand p {
  margin: 0;
  color: #4d4239;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.parent-analysis-edit {
  width: 100%;
  margin-top: 13px;
  border-radius: 14px;
  padding: 12px 16px;
  background: #eef5ff;
  color: #2f7ed8;
  font-size: 14px;
  font-weight: 900;
}

.parent-dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.parent-dynamic-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
}

.parent-dynamic-group span {
  color: #ff8c42;
  font-size: 13px;
  font-weight: 700;
}

.parent-dynamic-group em {
  color: #999;
  background: #f5f5f5;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-style: normal;
}

.parent-course-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-left: 4px solid var(--course-accent);
  border-radius: 14px;
  background: var(--course-background);
}

.parent-course-time {
  min-width: 60px;
  text-align: center;
}

.parent-course-time strong {
  display: block;
  color: #ff8c42;
  font-size: 15px;
  font-weight: 800;
}

.parent-course-time span {
  display: block;
  color: #888;
  font-size: 11px;
  margin-top: 2px;
}

.parent-course-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 170, 92, 0.35);
}

.parent-course-main {
  flex: 1;
  min-width: 0;
}

.parent-course-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.parent-course-head strong {
  color: #333;
  font-size: 15px;
  font-weight: 700;
}

.parent-course-head em {
  color: #ff8c42;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.parent-course-main span {
  display: block;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
}

.parent-course-management-add {
  border: none;
  width: 30px;
  height: 30px;
  margin-left: auto;
  background: linear-gradient(135deg, #ff9b50 0%, #ff6334 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.22);
}

.parent-training-modal-open .parent-course-management-add {
  visibility: hidden;
  pointer-events: none;
}

.parent-training-management-head {
  width: 100%;
  margin-bottom: 0 !important;
}

.parent-training-management-section {
  gap: 10px !important;
}

.parent-training-management-section > .animate-slideUp {
  border-radius: 14px !important;
  padding: 13px !important;
  box-shadow: 0 6px 16px rgba(62, 47, 32, 0.05) !important;
}

.parent-managed-training-course {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
    #fffaf4;
  border-radius: 16px;
  padding: 13px;
  box-shadow: 0 8px 20px rgba(62, 47, 32, 0.06);
  border: 1px dashed rgba(255, 122, 53, 0.42);
  border-left: 4px solid #ff7a35;
}

.parent-managed-course-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.parent-managed-course-head strong {
  display: block;
  color: #302b27;
  font-size: 16px;
  font-weight: 800;
}

.parent-managed-course-head span {
  display: block;
  color: #ff7a35;
  font-size: 12px;
  margin-top: 3px;
  font-weight: 700;
}

.parent-managed-course-head em {
  flex: none;
  color: #ff7a35;
  background: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.parent-managed-course-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #6f6258;
  font-size: 13px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 139, 66, 0.28);
}

.parent-managed-training-course p {
  margin: 9px 0 0;
  color: #a27652;
  background: #fff;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
}

.parent-course-note {
  margin: 7px 0 0;
  color: #a27652;
  background: rgba(255, 245, 232, 0.9);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.45;
}

.parent-training-tip {
  margin-top: 12px;
  color: #a27652;
  background: #fff7ea;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
}

.parent-compact-stats {
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.parent-compact-stat-item {
  border-radius: 13px !important;
  min-height: 0 !important;
  padding: 10px 8px !important;
}

.parent-compact-stat-item > div:first-child {
  font-size: 23px !important;
  line-height: 1.05 !important;
  margin-bottom: 2px !important;
}

.parent-compact-stat-item > div:last-child {
  font-size: 11px !important;
  line-height: 1.25 !important;
  margin-top: 3px !important;
}

.parent-homework-item {
  display: flex;
  gap: 10px;
  padding: 13px;
  border: 2px solid #ffd4a3;
  border-radius: 14px;
  background: #fff;
}

.parent-homework-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ff6b35;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex: none;
}

.parent-homework-main {
  flex: 1;
  min-width: 0;
}

.parent-homework-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.parent-homework-head strong {
  color: #333;
  font-size: 15px;
  font-weight: 700;
}

.parent-homework-head em {
  color: #ff8c42;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.parent-homework-main span {
  display: block;
  color: #8a8a8a;
  font-size: 12px;
  margin-bottom: 8px;
}

.parent-homework-main p {
  margin: 0;
  background: #fff5e9;
  border-radius: 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 12px;
}

.parent-homework-add-bottom {
  width: 100%;
  margin-top: 14px;
  border: 1.5px dashed #ff7a35;
  background: #fffaf6;
  color: #ff6b35;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 800;
}

.parent-homework-date-summary {
  margin-bottom: 12px !important;
}

.parent-homework-date-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffaa5c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.22);
}

.parent-homework-date-title {
  color: #333;
  font-size: 18px;
  font-weight: 800;
}

.parent-homework-date-subtitle {
  color: #999;
  font-size: 13px;
  margin-top: 3px;
}

.parent-homework-category-bar {
  align-items: flex-start !important;
}

.parent-homework-category-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.parent-homework-category-list::-webkit-scrollbar {
  display: none;
}

.parent-homework-category-list button {
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #7b6657;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
}

.parent-homework-category-list button.active {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffaa5c 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.28);
}

.parent-homework-category-list .parent-homework-training-filter {
  background: #fff5e9;
  color: #ff6b35;
  border: 1px solid rgba(255, 107, 53, 0.18);
}

.parent-homework-training-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  padding: 15px;
}

.parent-homework-training-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.parent-homework-training-title strong {
  color: #333;
  font-size: 17px;
  font-weight: 800;
}

.parent-homework-training-title span {
  color: #ff8c42;
  background: #fff5e9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.parent-homework-training-card {
  background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
  border: 1px solid rgba(255, 140, 66, 0.2);
  border-left: 4px solid #ff8c42;
  border-radius: 15px;
  padding: 13px;
}

.parent-homework-training-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.parent-homework-training-head strong {
  color: #333;
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.parent-homework-training-head span {
  color: #9b8a7a;
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.parent-homework-training-head em {
  color: #ff6b35;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.08);
  flex: none;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  padding: 5px 9px;
}

.parent-homework-training-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
}

.parent-homework-training-meta span {
  color: #8a6b55;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 8px;
}

.parent-homework-training-card p {
  color: #66584d;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  padding: 10px 12px;
}

.parent-homework-training-empty {
  border-left-color: #ffd4a3;
}

.parent-homework-training-empty strong {
  color: #8a6b55;
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.parent-homework-page-add {
  flex: none;
}

.parent-profile-shortcut {
  margin: 0 0 16px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.parent-profile-shortcut-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.parent-profile-shortcut-head strong {
  color: #2f2f2f;
  font-size: 16px;
}

.parent-profile-shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.parent-profile-shortcut-grid span {
  display: block;
  color: #9a9a9a;
  font-size: 12px;
  margin-bottom: 4px;
}

.parent-profile-shortcut-grid strong {
  display: block;
  color: #303030;
  font-size: 14px;
  line-height: 1.45;
}

.parent-profile-shortcut-demand {
  margin-top: 14px;
  background: #fff7e9;
  color: #6b5a38;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
}

.parent-feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.parent-feedback-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e1e1e;
  font-size: 17px;
  font-weight: 800;
}

.parent-feedback-title::before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1768d6 0%, #2fa2ff 100%);
}

.parent-feedback-link {
  color: #2873cb;
  font-size: 14px;
  font-weight: 700;
}

.parent-feedback-body {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.7);
}

.parent-feedback-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.parent-feedback-entry {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.7);
}

.parent-feedback-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.parent-feedback-time {
  color: #9a9a9a;
  font-size: 13px;
}

.parent-feedback-tag {
  background: #eef5ff;
  color: #3d7fe0;
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.parent-feedback-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a3a3a;
  font-size: 14px;
  margin-bottom: 10px;
}

.parent-feedback-point::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37a6ff;
  flex: none;
}

.parent-feedback-score {
  color: #2f2f2f;
  font-size: 15px;
  margin-bottom: 12px;
}

.parent-feedback-score strong {
  color: #6ec346;
  font-size: 18px;
  font-weight: 800;
}

.parent-feedback-teacher {
  background: linear-gradient(180deg, #f5ffe9 0%, #efffe2 100%);
  color: #5cab3c;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.parent-profile-modal.hidden {
  display: none;
}

.parent-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.parent-profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.parent-profile-modal-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 420px);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.parent-profile-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.parent-profile-modal-header strong {
  color: #2f2f2f;
  font-size: 18px;
}

.parent-profile-modal-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #666;
  font-size: 22px;
  line-height: 1;
}

.parent-profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.parent-profile-form-grid label,
.parent-profile-textarea {
  display: block;
}

.parent-profile-form-grid span,
.parent-profile-textarea span {
  display: block;
  color: #7f7f7f;
  font-size: 12px;
  margin-bottom: 6px;
}

.parent-profile-form-grid input,
.parent-profile-form-grid select,
.parent-profile-textarea textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
  color: #2f2f2f;
  background: #fff;
}

.parent-profile-form-grid select {
  border-color: #ffd5b6;
  background: #fffaf4;
  color: #4d4038;
  font-weight: 700;
}

.parent-profile-textarea {
  margin-top: 12px;
}

.parent-profile-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.parent-profile-cancel,
.parent-profile-submit {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.parent-profile-cancel {
  border: 1px solid #d6d9de;
  background: #fff;
  color: #6b7280;
}

.parent-profile-submit {
  border: none;
  background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
  color: #fff;
}
