:root {
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #253432;
  background: #f7f8fa;
  font-synthesis: none;
  --green: #285b4b;
  --muted: #80908a;
  --line: #e8ecea;
  --soft: #eef4f1;
  --blue: #eaf0fa;
  --orange: #f9eddd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #83b7a4;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #83b7a4;
  outline-offset: 1px;
}
button {
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -0.9px;
  line-height: 1.5;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.8;
}
small {
  font-size: 12px;
}
.muted {
  color: #84918c;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #82958d;
}
.mono {
  font-variant-numeric: tabular-nums;
}
.shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 31px 21px;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 11px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  color: white;
  background: var(--green);
  border-radius: 12px;
}
.brand-mark svg {
  width: 25px;
  height: 25px;
}
.brand-name {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: 4px;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 2px;
  color: #929d98;
  margin-top: 3px;
}
.nav-label {
  padding: 42px 14px 15px;
  font-size: 10px;
  color: #9ba5a1;
  letter-spacing: 1.6px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 9px;
  color: #7c8882;
  font-size: 13px;
}
.nav a:hover {
  background: #f7f9f8;
  text-decoration: none;
}
.nav a.active {
  background: #eaf3ee;
  color: var(--green);
  font-weight: 650;
}
.nav .nav-count {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 6px;
  background: #e5ebe8;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.sidebar-note {
  background: #f7f9f6;
  border: 1px solid #eef0e9;
  border-radius: 10px;
  padding: 15px;
  font-size: 11px;
  color: #829079;
  line-height: 1.9;
}
.sidebar-note strong {
  display: block;
  color: #65775c;
  margin-bottom: 4px;
  font-size: 12px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 6px 0;
}
.avatar {
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf0e5;
  color: #648158;
  width: 33px;
  height: 33px;
  font-size: 12px;
  font-weight: 700;
}
.profile-name {
  font-size: 12px;
  font-weight: 650;
}
.profile-caption {
  font-size: 10px;
  color: #95a098;
  margin-top: 3px;
}
.profile .icon-button {
  margin-left: auto;
}
.workspace {
  margin-left: 232px;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 43px;
  background: #ffffffb0;
  font-size: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #89948e;
}
.breadcrumb strong {
  font-weight: 550;
  color: #3e4c45;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #93a096;
}
.sync {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fa58b;
}
.content {
  max-width: 1420px;
  margin: 0 auto;
  padding: 33px 43px 42px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}
.page-heading p {
  color: #8a968f;
  font-size: 12px;
  margin-top: 7px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.button {
  border: 1px solid transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 550;
  white-space: nowrap;
}
.button svg {
  width: 16px;
  height: 16px;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: #1f4b3d;
}
.secondary {
  background: white;
  border-color: #e0e6e2;
  color: #66746b;
}
.secondary:hover {
  background: #f5f8f6;
}
.subtle {
  background: #edf3ee;
  color: var(--green);
}
.danger {
  background: #fff2ee;
  color: #b05a46;
  border-color: #f2d6ce;
}
.text-button {
  border: none;
  background: none;
  padding: 4px 0;
  color: #64846e;
  font-size: 11px;
}
.icon-button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  border-radius: 6px;
  color: #95a298;
  font-size: 23px;
}
.icon-button:hover {
  background: #f0f4f1;
  color: #526a5d;
}
.icon-button svg {
  width: 16px;
  height: 16px;
}
.hero {
  border: 1px solid #dce7dc;
  background: #eff4ec;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 30px;
  margin-bottom: 23px;
  overflow: hidden;
  position: relative;
  min-height: 166px;
}
.hero .eyebrow {
  color: #7e9270;
}
.hero h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 10px 0 8px;
}
.hero p {
  font-size: 12px;
  color: #7b8a73;
  max-width: 610px;
}
.hero-tags {
  display: flex;
  gap: 8px;
  margin-top: 17px;
  flex-wrap: wrap;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  background: #ffffffa6;
  border: 1px solid #e0e7d9;
  border-radius: 5px;
  padding: 5px 9px;
  color: #6c815d;
}
.hero-art {
  width: 190px;
  height: 110px;
  flex-shrink: 0;
  margin-right: 10px;
  position: relative;
}
.art-node {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 1px solid #afc0a4;
  border-radius: 10px;
  background: #f6f9f1;
  color: #74925e;
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 5px 12px #60823b08;
}
.art-node:nth-of-type(1) {
  top: 36px;
  left: 10px;
}
.art-node:nth-of-type(2) {
  top: 5px;
  left: 75px;
  background: #dfead4;
}
.art-node:nth-of-type(3) {
  top: 65px;
  left: 75px;
}
.art-node:nth-of-type(4) {
  top: 36px;
  left: 140px;
  background: #4b7143;
  color: #eef6e4;
  border-color: #4b7143;
}
.art-lines {
  position: absolute;
  width: 190px;
  height: 110px;
  stroke: #b1c1a6;
  stroke-width: 1.2;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px 20px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8a958e;
}
.stat-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #edf4ee;
  color: #7b9a82;
}
.stat-icon svg {
  width: 15px;
  height: 15px;
}
.stat:nth-child(2) .stat-icon {
  background: #edf0f9;
  color: #8d9fc1;
}
.stat:nth-child(3) .stat-icon {
  background: #fcf2e7;
  color: #c4a070;
}
.stat:nth-child(4) .stat-icon {
  background: #f1eefa;
  color: #a08fbe;
}
.stat-value {
  font-size: 28px;
  font-weight: 650;
  margin: 8px 0 8px;
  letter-spacing: -1px;
}
.stat-value span {
  font-size: 12px;
  font-weight: 400;
  margin-left: 5px;
  color: #96a198;
  letter-spacing: 0;
}
.stat-caption {
  font-size: 10px;
  color: #96a197;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 21px;
}
.stacked {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 23px 17px;
  gap: 12px;
}
.panel-head h2 {
  font-size: 14px;
}
.panel-head p {
  font-size: 10px;
  color: #98a097;
  margin-top: 5px;
}
.panel-body {
  padding: 0 23px 21px;
}
.panel-heading-text {
  display: flex;
  align-items: center;
  gap: 9px;
}
.panel-heading-text svg {
  width: 16px;
  height: 16px;
  color: #7c9182;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.day {
  border: 1px solid #edf0ee;
  border-radius: 8px;
  padding: 11px 0 9px;
  text-align: center;
  background: #fcfdfc;
  font-size: 10px;
  color: #9aa49d;
}
.day strong {
  display: block;
  font-size: 16px;
  font-weight: 550;
  color: #5b6a60;
  margin: 7px 0 8px;
}
.day.today {
  background: #285b4b;
  border-color: #285b4b;
  color: #c5d7c9;
}
.day.today strong {
  color: white;
}
.day-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c0cbbf;
  margin: auto;
}
.day.today .day-dot {
  background: #cee4c7;
}
.day.has-task .day-dot {
  background: #a4b17b;
}
.task-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2ef;
}
.task-row:last-child {
  border: 0;
}
.task-check {
  appearance: none;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border: 1px solid #d8e0da;
  border-radius: 5px;
  margin: 2px 0 0;
  cursor: pointer;
  background: white;
}
.task-check:checked {
  background: var(--green);
  border-color: var(--green);
}
.task-check:checked:after {
  content: "✓";
  color: white;
  font-size: 12px;
  display: block;
  text-align: center;
}
.task-text {
  min-width: 0;
  flex: 1;
}
.task-text h3 {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.7;
}
.task-text p {
  font-size: 10px;
  color: #9ba49b;
  margin-top: 4px;
}
.task-row.done h3 {
  text-decoration: line-through;
  color: #9da59e;
}
.task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
  background: #f0f3ef;
  color: #7b8b78;
}
.badge.school {
  background: #ebf0f9;
  color: #859abd;
}
.badge.deep {
  background: #ebf3ec;
  color: #7e9b78;
}
.badge.explore {
  background: #faf0e2;
  color: #b79b72;
}
.badge.easy {
  background: #eaf4ed;
  color: #648f70;
}
.badge.medium {
  background: #fbf2e0;
  color: #b59650;
}
.badge.hard {
  background: #fbece8;
  color: #bf8174;
}
.badge.active {
  background: #e7f0e9;
  color: #537f60;
}
.badge.warning {
  background: #fff2df;
  color: #ad884e;
}
.badge.purple {
  background: #f0eefa;
  color: #9685b0;
}
.badge.premium {
  background: #f6efe2;
  color: #876631;
}
.badge.premium svg {
  width: 12px;
  height: 12px;
}
.time {
  font-size: 10px;
  color: #9da69c;
  white-space: nowrap;
}
.budget {
  padding: 13px 0 3px;
  border-top: 1px solid #f0f2ef;
  margin-top: 12px;
}
.budget-item {
  display: grid;
  grid-template-columns: 55px 1fr 35px;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  color: #8f9b91;
  margin-top: 11px;
}
progress {
  appearance: none;
  border: none;
  width: 100%;
  height: 5px;
  border-radius: 6px;
  overflow: hidden;
  background: #eef2ef;
}
progress::-webkit-progress-bar {
  background: #eef2ef;
  border-radius: 6px;
}
progress::-webkit-progress-value {
  background: #82a68a;
  border-radius: 6px;
}
progress::-moz-progress-bar {
  background: #82a68a;
  border-radius: 6px;
}
.budget-item.school progress::-webkit-progress-value {
  background: #9aaaca;
}
.budget-item.explore progress::-webkit-progress-value {
  background: #d2b689;
}
.budget-item.school progress::-moz-progress-bar {
  background: #9aaaca;
}
.budget-item.explore progress::-moz-progress-bar {
  background: #d2b689;
}
.focus-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 18px;
}
.focus-title h3 {
  font-size: 18px;
  font-weight: 650;
}
.level-track {
  display: flex;
  gap: 5px;
  margin: 14px 0 8px;
}
.level-step {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: #eef1ed;
}
.level-step.filled {
  background: #95b087;
}
.level-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9ba397;
}
.focus-note {
  font-size: 11px;
  line-height: 1.9;
  color: #8d978c;
  margin-top: 17px;
}
.callout {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f5f7f1;
  color: #879578;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 15px;
}
.callout.blue {
  background: #f1f5fc;
  color: #7f93b4;
}
.backlog-mini {
  padding: 12px 0;
  border-top: 1px solid #f0f2ed;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.backlog-mini h3 {
  font-size: 12px;
  font-weight: 500;
}
.backlog-mini p {
  font-size: 10px;
  color: #9caa9d;
  margin-top: 5px;
}
.empty {
  padding: 30px 15px;
  text-align: center;
  color: #9ba69d;
  font-size: 12px;
  line-height: 1.9;
}
.empty svg {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto 10px;
  color: #b1bfb2;
}
.empty strong {
  display: block;
  color: #697b6d;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 5px;
}
.empty .button {
  margin-top: 14px;
}
.footer-note {
  margin: 27px 0 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #acb4aa;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filters input {
  flex: 1;
  min-width: 170px;
}
.filters select {
  max-width: 200px;
}
.filters .rating-filter {
  flex: 0 1 145px;
  min-width: 120px;
}
.rating-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.field,
input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
  background: white;
  border: 1px solid #e1e7e2;
  border-radius: 7px;
  padding: 10px 12px;
  color: #526157;
  font-size: 12px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #a5afa7;
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.8;
  width: 100%;
}
select {
  cursor: pointer;
}
.pagination,
.picker-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.pagination > span {
  margin-right: auto;
  color: var(--muted);
}
.coach-picker,
.problem-picker {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.coach-picker select,
.problem-picker select,
.coach-picker input,
.problem-picker input {
  width: 100%;
  min-width: 0;
}
.coach-picker .form-grid {
  margin: 0;
}
.coach-picker label {
  min-width: 0;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  padding: 14px 20px;
  background: #fafbf9;
  border-bottom: 1px solid var(--line);
  color: #9aa498;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #eef2ec;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.problem-title {
  color: #415449;
  font-weight: 550;
  line-height: 1.8;
}
.problem-goal {
  color: #9ba599;
  font-size: 10px;
  margin-top: 5px;
  max-width: 300px;
}
.table-actions {
  display: flex;
  gap: 3px;
}
.status-select {
  font-size: 10px;
  padding: 5px 7px;
  min-width: 115px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.topic-groups {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.topic-group {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  min-width: 0;
}
.topic-group > summary {
  cursor: pointer;
  padding: 16px 20px;
  color: var(--green);
  overflow-wrap: anywhere;
}
.topic-group > summary strong {
  font-size: 14px;
}
.topic-group[data-topic-depth="1"] > summary {
  background: #eef4ef;
  border-radius: 11px;
}
.topic-group[data-topic-depth="1"] > summary strong {
  font-size: 16px;
}
.topic-group[data-topic-depth="2"] > summary {
  background: #f7faf7;
}
.topic-group > summary .topic-depth {
  margin: 0 10px 0 0;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--green);
  font-size: 10px;
}
.topic-group > summary span {
  display: inline-block;
  margin-left: 12px;
  color: #64766b;
  font-size: 11px;
}
.topic-group-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}
.topic-group-body .topic-group-body {
  margin-left: 14px;
  padding-inline: 14px;
  border-left: 2px solid var(--line);
}
.topic-card h3 {
  overflow-wrap: anywhere;
}
.topic-check-group {
  margin-top: 10px;
}
.topic-check-group > summary {
  cursor: pointer;
  color: #64766b;
  font-size: 12px;
  margin-bottom: 10px;
}
.topic-check-group label {
  overflow-wrap: anywhere;
}
.topic-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  display: flex;
  flex-direction: column;
}
.topic-card.is-focus {
  border-color: #95b294;
  background: #fbfdf8;
}
.topic-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topic-index {
  font-size: 10px;
  color: #a2afa1;
  letter-spacing: 1px;
}
.topic-card h3 {
  font-size: 16px;
  margin: 17px 0 10px;
}
.topic-card p {
  font-size: 11px;
  color: #97a391;
  line-height: 1.9;
  margin-bottom: 13px;
}
.topic-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 15px;
}
.topic-card-bottom select {
  max-width: 135px;
  font-size: 11px;
  padding: 6px 8px;
}
.topic-notes {
  white-space: pre-wrap;
  max-height: 95px;
  overflow: auto;
  font-size: 10px;
  color: #81907d;
  line-height: 1.9;
  margin: 10px 0;
}
.topic-guide {
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.9;
  color: #53634e;
  margin-bottom: 16px;
}
.list-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.list-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.list-card h3 {
  font-size: 15px;
  margin: 12px 0 8px;
  line-height: 1.6;
}
.list-card p {
  font-size: 11px;
  color: #929e92;
  white-space: pre-wrap;
  line-height: 1.9;
}
.list-card-top,
.list-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.list-card-bottom {
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid #eff2ec;
  font-size: 10px;
  color: #95a391;
}
.list-card.done {
  opacity: 0.7;
}
.intro-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #e1e8df;
  background: #f2f6ee;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 22px;
  font-size: 11px;
  line-height: 1.9;
  color: #829374;
}
.intro-strip svg {
  color: #83a071;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  gap: 20px;
}
.settings-panel {
  padding: 25px;
}
.settings-panel h2 {
  font-size: 16px;
  margin-bottom: 7px;
}
#ai-settings-form {
  margin-top: 18px;
}
.settings-panel > p {
  font-size: 11px;
  color: #929e92;
  margin-bottom: 22px;
}
.form-fields {
  display: grid;
  gap: 17px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-fields label,
.settings-panel label,
.coach-input label {
  font-size: 11px;
  color: #7d8c7f;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-fields label input,
.form-fields select {
  width: 100%;
}
.field-hint {
  font-size: 10px;
  line-height: 1.8;
  color: #9aa795;
  margin-top: 6px;
}
.check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.check-options label {
  display: flex;
  align-items: center;
  flex-direction: row;
  background: #f5f7f2;
  border: 1px solid #e6ece1;
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 10px;
  gap: 5px;
}
.check-options input {
  accent-color: var(--green);
}
.settings-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.upload-label {
  cursor: pointer;
}
.upload-label input {
  width: 100%;
  margin-top: 7px;
  font-size: 11px;
}
.coach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
}
.coach-input {
  padding: 23px;
}
.coach-input h2 {
  font-size: 16px;
  margin-bottom: 10px;
}
.coach-input > p {
  font-size: 11px;
  color: #95a291;
  margin-bottom: 21px;
}
.coach-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 20px;
}
.mode-button {
  background: white;
  border: 1px solid #e4eae0;
  border-radius: 7px;
  color: #8d9b86;
  padding: 10px 3px;
  font-size: 11px;
}
.mode-button.active {
  background: #edf3e7;
  border-color: #b4c8a5;
  color: #5c7e48;
}
.coach-input textarea {
  min-height: 160px;
  margin-bottom: 15px;
}
.coach-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.privacy-note {
  font-size: 10px;
  color: #9da699;
  line-height: 1.7;
}
.history-card {
  margin-top: 18px;
  padding: 22px;
  white-space: normal;
}
.history-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9aa793;
  font-size: 10px;
  margin-bottom: 14px;
}
.question-text {
  font-size: 12px;
  color: #637957;
  line-height: 1.9;
  white-space: pre-wrap;
  background: #f4f7f0;
  padding: 13px 15px;
  border-radius: 7px;
  margin-bottom: 16px;
}
.answer-text {
  font-family: inherit;
  font-size: 12px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  color: #687366;
}
.coach-aside {
  padding: 22px;
}
.coach-aside h3 {
  font-size: 13px;
  margin-bottom: 15px;
}
.coach-aside p {
  font-size: 11px;
  line-height: 2;
  color: #8a9b80;
  margin-bottom: 15px;
}
.step-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf1e8;
}
.step-number {
  width: 23px;
  height: 23px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #eff4e9;
  font-size: 10px;
  color: #809b6d;
  flex-shrink: 0;
}
.step-item h3 {
  font-size: 11px;
  margin: 2px 0 4px;
}
.step-item p {
  font-size: 10px;
  margin: 0;
  line-height: 1.9;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(ellipse at 20% 20%, #e9f0e4, transparent 60%), #f7f8f4;
}
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 38px;
  background: white;
  border: 1px solid #e2e9df;
  border-radius: 17px;
  box-shadow: 0 18px 60px #34582c07;
}
.login-card .brand {
  padding: 0;
  margin-bottom: 38px;
}
.login-card h1 {
  font-size: 26px;
}
.login-card > p {
  font-size: 12px;
  color: #8a9a81;
  line-height: 1.9;
  margin: 11px 0 27px;
}
.login-card label {
  font-size: 11px;
  color: #87977f;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.login-card form {
  display: grid;
  gap: 15px;
}
.login-card input {
  padding: 13px;
}
.login-card .button {
  width: 100%;
  margin-top: 19px;
  padding: 12px;
}
.login-bottom {
  font-size: 10px;
  color: #a2ad9c;
  text-align: center;
  margin-top: 23px;
}
.form-error {
  color: #b26550;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 12px;
  white-space: pre-wrap;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #285b4b;
  color: white;
  padding: 12px 21px;
  border-radius: 9px;
  font-size: 12px;
  z-index: 100;
  box-shadow: 0 10px 35px #142a2620;
  max-width: 90%;
  line-height: 1.8;
}
.toast.error {
  background: #95543f;
}
dialog {
  border: 1px solid #e2e7dc;
  border-radius: 13px;
  padding: 25px;
  max-width: calc(100vw - 32px);
  width: 570px;
  color: #344534;
  background: #fff;
  box-shadow: 0 30px 100px #25342225;
  max-height: 90vh;
}
dialog::backdrop {
  background: #263b3155;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.dialog-head h2 {
  margin-top: 8px;
  font-size: 20px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #edf0e8;
  padding-top: 20px;
  margin-top: 24px;
}
.plan-summary {
  font-size: 12px;
  line-height: 1.9;
  color: #829374;
  background: #f3f6ef;
  border-radius: 7px;
  padding: 13px 16px;
  margin-bottom: 16px;
}
.plan-note {
  font-size: 10px;
  color: #9b9f8f;
  line-height: 1.8;
  margin-top: 15px;
}
.week-navigation {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.week-navigation input {
  max-width: 170px;
}
.schedule-summary {
  font-size: 11px;
  color: #94a08f;
  margin-left: auto;
}
.banner-error {
  font-size: 12px;
  color: #a15a44;
  background: #fff3ec;
  border: 1px solid #f0dccd;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
}
.menu-toggle {
  display: none;
}
.loading {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font-size: 13px;
  color: #819376;
}
.checkbox-label {
  display: flex !important;
  align-items: center;
  flex-direction: row !important;
  gap: 8px !important;
}
.checkbox-label input {
  accent-color: var(--green);
}
input[type="checkbox"],
.form-fields label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
  flex: 0 0 auto;
}
.settings-panel label.premium-setting {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8faf8;
  cursor: pointer;
}
.premium-setting strong {
  display: block;
  color: #415449;
  font-size: 13px;
}
.premium-setting small {
  display: block;
  color: #64766b;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 4px;
}
input.switch-input,
.form-fields label input.switch-input {
  appearance: none;
  width: 40px;
  height: 24px;
  border: 0;
  border-radius: 20px;
  background: #b8c4bd;
  cursor: pointer;
}
.switch-input::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 3px;
  border-radius: 50%;
  background: #fff;
}
.switch-input:checked {
  background: var(--green);
}
.switch-input:checked::before {
  transform: translateX(16px);
}
.compact-select {
  width: 100%;
}
.break-word {
  overflow-wrap: anywhere;
}
.knowledge-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 21px;
  font-size: 10px;
  color: #91a18a;
}
.knowledge-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9c9ae;
}
.loading-mark {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid #fff6;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.muted,
.eyebrow,
.brand-sub,
.nav-label,
.profile-caption,
.breadcrumb,
.topbar-right,
.stat-top,
.stat-caption,
.time,
.task-text p,
.level-labels,
.focus-note,
.backlog-mini p,
.empty,
.footer-note,
.problem-goal,
.topic-index,
.topic-card p,
.topic-notes,
.list-card p,
.list-card-bottom,
.settings-panel > p,
.field-hint,
.coach-input > p,
.privacy-note,
.history-meta,
.coach-aside p,
.schedule-summary,
.plan-note,
.knowledge-legend,
.page-heading p,
.panel-head p {
  color: #667468;
}
.hero p,
.hero .eyebrow,
.hero-tag,
.sidebar-note,
.callout,
.intro-strip,
.empty strong {
  color: #566c4e;
}
.callout.blue {
  color: #526886;
}
.nav a,
.text-button,
.day,
.budget-item,
.form-fields label,
.settings-panel label,
.coach-input label,
th {
  color: #617163;
}
.day.today {
  color: #d2e5d8;
}
.badge {
  color: #586f51;
}
.badge.school {
  color: #526986;
}
.badge.deep,
.badge.easy,
.badge.active {
  color: #46704e;
}
.badge.explore,
.badge.medium,
.badge.warning {
  color: #84612d;
}
.badge.hard {
  color: #974f44;
}
.badge.purple {
  color: #716087;
}
.stat-value span,
.topic-card-bottom .text-button,
.login-card > p,
.login-card label,
.login-bottom,
.mode-button,
.plan-summary {
  color: #61735d;
}
input::placeholder,
textarea::placeholder {
  color: #71816f;
}

@media (min-width: 1600px) {
  .content {
    padding-top: 42px;
  }
  .hero {
    min-height: 190px;
  }
  .stat {
    padding: 22px 25px;
  }
  .hero-art {
    margin-right: 40px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
    padding: 28px 15px;
  }
  .workspace {
    margin-left: 205px;
  }
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .dashboard-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .hero-art {
    width: 160px;
    margin-right: 0;
    transform: scale(0.85);
  }
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coach-layout {
    grid-template-columns: 1fr 250px;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 185px;
    padding: 25px 12px;
  }
  .workspace {
    margin-left: 185px;
  }
  .brand-name {
    font-size: 21px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .brand {
    gap: 9px;
  }
  .content {
    padding: 25px 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  .hero-art {
    display: none;
  }
  .hero {
    padding: 24px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid,
  .settings-grid,
  .coach-layout {
    grid-template-columns: 1fr;
  }
  .stacked {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .coach-aside {
    display: none;
  }
  .list-cards {
    grid-template-columns: 1fr;
  }
  .topbar-right .sync {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading .actions {
    justify-content: flex-end;
    max-width: 240px;
  }
  .week-strip {
    gap: 5px;
  }
}
@media (max-width: 650px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 220px;
    box-shadow: 20px 0 60px #2d453111;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
  }
  .menu-toggle {
    display: grid;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .breadcrumb {
    gap: 8px;
    font-size: 11px;
  }
  .topbar-right {
    font-size: 10px;
    gap: 8px;
  }
  .content {
    padding: 23px 17px;
  }
  .page-heading {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }
  .page-heading .actions {
    max-width: none;
    justify-content: flex-start;
  }
  .hero {
    padding: 23px 20px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .hero p {
    font-size: 11px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 26px;
  }
  .stat-caption {
    font-size: 9px;
  }
  .dashboard-grid {
    gap: 16px;
  }
  .stacked {
    display: flex;
    gap: 16px;
  }
  .panel-head {
    padding: 20px 18px 15px;
  }
  .panel-body {
    padding: 0 18px 20px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .filters select {
    max-width: none;
    flex: 1;
  }
  .filters input {
    flex-basis: 100%;
  }
  .table-wrap td,
  .table-wrap th {
    padding: 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-fields {
    gap: 14px;
  }
  dialog {
    padding: 21px;
  }
  .week-navigation {
    flex-wrap: wrap;
  }
  .schedule-summary {
    width: 100%;
    margin-left: 0;
  }
  .coach-modes {
    gap: 5px;
  }
  .coach-input {
    padding: 20px;
  }
  .coach-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .coach-controls .button {
    align-self: flex-end;
  }
  .login-card {
    padding: 30px;
  }
  .topic-card {
    padding: 20px;
  }
  .intro-strip {
    padding: 14px 16px;
  }
  .sidebar-note {
    font-size: 10px;
  }
  .settings-panel {
    padding: 22px;
  }
  .topbar-right .text-button {
    display: none;
  }
}
