:root {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  line-height: 1.7;
  color: #203e33;
  background: #f3faf6;
  --green: #245f4c;
  --ink: #203e33;
  --muted: #536b60;
  --line: #e0eae4;
  --tint: #e9f3ed;
  --amber: #8a542e;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  transition:
    background-color 160ms ease-out,
    color 160ms ease-out;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: 30px;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
}
h3 {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
}
small {
  font-size: 14px;
}
:is(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid #a76736;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 24px;
  background: #fff;
  padding: 12px 20px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner,
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.header-inner {
  min-height: 80px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand strong {
  font-size: 22px;
  font-weight: 650;
  color: #164b39;
}
.brand-logo {
  width: 224px;
  height: 75px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--tint);
  color: var(--green);
}
.brand-caption {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.header-inner nav {
  display: flex;
  gap: 8px;
  margin: 0 auto;
}
.header-inner nav a {
  font-size: 16px;
  padding: 8px 17px;
  border-radius: 8px;
  white-space: nowrap;
}
.header-inner nav a:hover {
  background: #f3f7f4;
}
.header-inner nav a[aria-current='page'] {
  background: var(--tint);
  color: #164b39;
  font-weight: 600;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 15px;
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #e5efe8;
  border-radius: 50%;
  color: var(--green);
}
.main {
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100vh - 154px);
  padding: 32px 0 48px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.page-heading p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 8px;
}
.page-heading-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 48px;
  border: 1px solid #d0dfd5;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}
.search input {
  border: 0;
  background: transparent;
  width: 205px;
  min-width: 0;
  padding: 6px 0;
  outline-offset: 2px;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 19px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--green);
  color: #fff;
}
.button:hover {
  background: #194936;
}
.button.secondary {
  background: #e9f2ec;
  color: var(--green);
}
.button.secondary:hover {
  background: #dcebe1;
}
.button.outline {
  border: 1px solid #c9dbce;
  background: #fff;
  color: var(--green);
}
.button.outline:hover {
  background: #eef6f0;
}
.text-button,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green);
  padding: 5px 0;
  font-size: 16px;
}
.text-button:hover,
.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back-link {
  margin-bottom: 20px;
  color: var(--muted);
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--tint);
}
.surface {
  background: #fff;
  border-radius: var(--radius);
}
.selection-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.category-panel {
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
}
.category-panel h2 {
  font-size: 17px;
  padding: 0 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 500;
}
.category-list {
  display: grid;
  gap: 8px;
}
.category-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  min-height: 52px;
  padding: 12px;
  border-radius: 8px;
  background: transparent;
  font-size: 17px;
}
.category-list button:hover {
  background: #f2f7f3;
}
.category-list button[aria-pressed='true'] {
  background: #e5f0e8;
  color: #184d39;
  font-weight: 600;
}
.category-list button svg {
  width: 22px;
  height: 22px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 30px 12px 0;
}
.sidebar-foot p {
  color: var(--muted);
  font-size: 14px;
}
.sidebar-foot .flow {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  color: #456353;
  font-size: 14px;
  flex-wrap: wrap;
}
.sidebar-foot .flow svg {
  width: 14px;
  height: 14px;
}
.cases-panel {
  padding: 26px 32px 12px;
  min-height: 582px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 16px;
}
.section-heading .caption {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.case-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.case-list {
  margin-top: 23px;
}
.case-portrait {
  width: 76px;
  height: 92px;
  border-radius: 9px;
  object-fit: cover;
  object-position: center 30%;
}
.case-person {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 6px;
}
.case-person strong {
  color: var(--ink);
  font-size: 17px;
  margin-right: 10px;
  font-weight: 600;
}
.case-copy h3 {
  font-size: 20px;
  margin-bottom: 7px;
}
.case-copy > p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 50ch;
  font-size: 16px;
}
.case-meta {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}
.case-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case-meta svg {
  width: 16px;
  height: 16px;
}
.case-action {
  align-self: center;
}
.case-action .button {
  padding-inline: 16px;
}
.bottom-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bottom-note svg {
  width: 17px;
  height: 17px;
}
.empty-state {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px;
}
.empty-state > svg {
  width: 38px;
  height: 38px;
  color: var(--green);
}
.empty-state p {
  color: var(--muted);
  max-width: 42ch;
}
.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.student-profile {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.profile-photo {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 10px;
  margin-bottom: 22px;
}
.student-profile h2 {
  font-size: 26px;
}
.student-profile .student-meta {
  color: var(--muted);
  font-size: 16px;
  margin: 8px 0 25px;
}
.student-profile blockquote {
  font-size: 20px;
  line-height: 1.9;
}
.student-profile .profile-bottom {
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
}
.detail-content {
  padding: 30px 32px;
}
.detail-section + .detail-section {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}
.detail-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.detail-section > p {
  font-size: 17px;
  max-width: 65ch;
}
.detail-section .muted {
  font-size: 15px;
  margin-top: 10px;
}
.muted {
  color: var(--muted);
}
.goal-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.goal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}
.goal-number {
  color: #426a52;
  background: #ecf4ee;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
}
.section-optional {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  margin-left: auto;
}
.note-label {
  display: block;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 12px;
}
textarea {
  width: 100%;
  min-height: 112px;
  border: 1px solid #c7d9cd;
  border-radius: 8px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.8;
  background: #fcfefc;
}
.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}
.detail-actions small {
  color: var(--muted);
}
.conversation-heading {
  margin-bottom: 24px;
}
.conversation-heading .back-link {
  margin-bottom: 0;
}
.conversation-heading h1 {
  font-size: 26px;
}
.conversation-heading .heading-inline {
  display: flex;
  align-items: center;
  gap: 20px;
}
.conversation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: stretch;
  height: 740px;
}
.conversation-grid.transcript-closed {
  grid-template-columns: 1fr;
}
.presence {
  padding: 26px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}
.presence-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--tint);
  color: #315b46;
  font-size: 14px;
}
.presence-photo {
  width: 200px;
  height: 210px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 10px;
}
.presence-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 17px;
}
.current-response {
  width: 100%;
  background: #edf6ef;
  border-radius: 9px;
  padding: 20px 24px;
}
.current-response blockquote {
  font-size: 21px;
  line-height: 1.8;
}
.current-response .response-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
}
.response-footer .text-button {
  font-size: 14px;
}
.response-footer .text-button svg {
  width: 17px;
  height: 17px;
}
.microphone-area {
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
}
.wave-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}
.wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40px;
}
.wave i {
  background: #4e8468;
  width: 4px;
  border-radius: 4px;
}
.mic-controls {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.mic-controls .button {
  min-height: 58px;
  font-size: 18px;
  width: min(360px, 100%);
}
.mic-controls svg {
  width: 25px;
  height: 25px;
}
.presence-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 22px;
}
.presence-bottom .text-button {
  font-size: 15px;
}
.transcript {
  padding: 26px 26px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  min-height: 0;
  overflow: hidden;
}
.transcript-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.transcript-heading small {
  color: var(--muted);
}
.transcript-messages {
  height: 0;
  overflow-y: auto;
  min-height: 0;
  padding: 20px 2px 10px;
  flex: 1;
}
.message + .message {
  margin-top: 20px;
}
.message .speaker {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.message p {
  padding: 14px 17px;
  background: #f0f4f1;
  border-radius: 9px;
  line-height: 1.85;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.message.teacher {
  padding-left: 16px;
}
.message.student {
  padding-right: 16px;
}
.message.teacher .speaker {
  text-align: right;
}
.message.teacher p {
  background: #eaf4ed;
}
.transcript-caption {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.preview-notice {
  background: #e5f0e8;
  color: #2e5942;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 15px;
  margin-top: 18px;
}
.takeaway {
  display: flex;
  gap: 15px;
  background: #e2efe5;
  padding: 21px 26px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.coach-avatar {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border-radius: 50%;
  background: #f7faf6;
}
.coach-avatar img {
  position: absolute;
  width: 96px;
  height: 110px;
  max-width: none;
  left: -20px;
  top: -3px;
  object-fit: cover;
  object-position: top;
}
.coach-signature {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: #315b46;
}
.takeaway > svg {
  margin-top: 3px;
  color: var(--green);
  width: 24px;
  height: 24px;
}
.takeaway h2 {
  font-size: 20px;
  margin-bottom: 5px;
}
.takeaway p {
  color: #42604e;
  font-size: 16px;
}
.review-overview {
  padding: 28px 32px;
  margin-bottom: 24px;
}
.evaluation-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.radar {
  width: 100%;
  height: 320px;
  max-width: 480px;
  display: block;
  margin: 0 auto;
}
.dimensions {
  display: grid;
  gap: 17px;
  padding-block: 20px;
}
.dimension-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 17px;
  margin-bottom: 9px;
}
.dimension-label span:last-child {
  color: var(--muted);
  font-size: 16px;
}
.bar-track {
  height: 7px;
  background: #e6efe8;
  border-radius: 7px;
  overflow: hidden;
}
.bar-track i {
  display: block;
  height: 100%;
  width: var(--value);
  background: #3d7659;
  border-radius: inherit;
}
.review-panel {
  padding: 28px 32px;
  margin-top: 24px;
}
.review-panel > .section-heading {
  margin-bottom: 24px;
}
.evidence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #346148;
  font-size: 14px;
  white-space: nowrap;
}
.status.attention {
  color: var(--amber);
}
.status.pending {
  color: #606d65;
}
.student-context {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.comparison > div {
  padding: 20px 24px;
  background: #f4f7f4;
  border-radius: 8px;
}
.comparison > div + div {
  background: #edf6ef;
}
.comparison h4 {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 10px;
}
.comparison blockquote {
  font-size: 18px;
  line-height: 1.8;
}
.evidence-reason {
  color: var(--muted);
  font-size: 16px;
  margin-top: 16px;
}
.evidence-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 24px;
}
.evidence-dialogue {
  padding: 24px;
  background: #f4f6f5;
  border-radius: 10px;
}
.evidence-dialogue h4,
.suggested-response h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
}
.original-quote {
  font-size: 21px;
  line-height: 1.9;
  margin: 20px 0;
  color: #35443e;
}
.coach-commentary {
  min-width: 0;
}
.coach-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.coach-identity h4 {
  font-size: 18px;
  color: var(--green);
}
.coach-keypoint {
  font-size: 23px;
  font-weight: 650;
  line-height: 1.55;
  text-wrap: pretty;
}
.coach-commentary .evidence-reason {
  margin-top: 12px;
  font-size: 17px;
  max-width: 65ch;
}
.suggested-response {
  margin-top: 24px;
  padding: 20px;
  border-radius: 10px;
  background: #eaf3ed;
}
.suggested-response h4 {
  color: var(--green);
  margin-bottom: 10px;
}
.suggested-response blockquote {
  font-size: 19px;
  line-height: 1.85;
}
.response-guidance {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}
.review-heading {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(280px, 340px) auto;
  min-height: 154px;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
}
.coach-welcome {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: end;
  gap: 12px;
}
.coach-welcome p {
  margin: 0;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: #3b6152;
}
.coach-welcome-portrait {
  position: relative;
  width: 132px;
  height: 154px;
  flex: 0 0 132px;
  overflow: hidden;
}
.coach-welcome-portrait img {
  position: absolute;
  top: 0;
  left: -16px;
  width: 164px;
  height: 188px;
  max-width: none;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 1100px) {
  .review-heading {
    grid-template-columns: minmax(170px, 1fr) 280px auto;
    gap: 16px;
  }
  .review-heading .page-heading-tools {
    gap: 8px;
  }
  .review-heading .page-heading-tools .button {
    padding-inline: 12px;
  }
}
@media (max-width: 820px) {
  .review-heading {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .review-heading .coach-welcome {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }
  .review-heading .page-heading-tools {
    width: auto;
    align-self: center;
  }
  .evidence-workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 520px) {
  .review-heading {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }
  .review-heading .page-heading-tools {
    grid-row: 3;
    width: 100%;
  }
  .review-heading .coach-welcome {
    width: 100%;
  }
}
details {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 18px;
}
summary {
  cursor: pointer;
  color: var(--green);
  font-size: 16px;
}
details p {
  margin-top: 15px;
  line-height: 1.85;
}
.review-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.review-lower .review-panel {
  padding: 25px 28px;
}
.target-status-list {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}
.target-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.history-chart {
  margin-top: 23px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #3d7659;
}
.swatch.previous {
  background: #c6d6cb;
}
.history-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 35px;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  font-size: 14px;
}
.history-item .pair {
  display: grid;
  gap: 4px;
}
.history-item .pair i {
  display: block;
  height: 6px;
  background: #c6d6cb;
  width: var(--value);
  border-radius: 3px;
}
.history-item .pair i:last-child {
  background: #3d7659;
}
.history-item .difference {
  color: var(--muted);
  text-align: right;
}
.review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}
.review-actions p {
  color: var(--muted);
  font-size: 16px;
}
.record-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.record-tabs {
  display: flex;
  gap: 6px;
}
.record-tabs button {
  background: transparent;
  padding: 10px 17px;
  font-size: 16px;
  border-radius: 8px;
}
.record-tabs button[aria-pressed='true'] {
  background: var(--green);
  color: #fff;
}
.records-panel {
  padding: 0 28px;
}
.record-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(170px, 1fr) minmax(100px, 0.65fr) 190px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}
.record-row + .record-row {
  border-top: 1px solid var(--line);
}
.record-table-head {
  color: var(--muted);
  padding: 19px 0;
  font-size: 15px;
}
.record-person {
  display: flex;
  align-items: center;
  gap: 16px;
}
.record-person img,
.record-initial {
  width: 52px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 30%;
}
.record-initial {
  display: grid;
  place-items: center;
  background: #e6f0e8;
  font-size: 23px;
  color: var(--green);
}
.record-person h2 {
  font-size: 18px;
}
.record-person p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 3px;
}
.record-time {
  font-size: 16px;
}
.record-time small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.record-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.record-actions .button {
  min-height: 44px;
  font-size: 15px;
  padding: 8px 14px;
}
.record-menu {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
}
.record-menu summary {
  list-style: none;
}
.record-menu summary::-webkit-details-marker {
  display: none;
}
.record-menu[open] summary {
  background: #e9f2ec;
}
.record-menu-body {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 49px;
  min-width: 160px;
  padding: 8px;
  border: 1px solid #d5e3d9;
  border-radius: 9px;
  background: #fff;
}
.record-menu-body a,
.record-menu-body button {
  padding: 9px 12px;
  display: flex;
  width: 100%;
  white-space: nowrap;
  background: #fff;
  font-size: 15px;
  text-align: left;
  border-radius: 5px;
}
.record-menu-body a:hover,
.record-menu-body button:hover {
  background: var(--tint);
}
.record-footer {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #eef6f0;
}
.footer-inner {
  min-height: 72px;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 1380px) {
  .header-inner,
  .main,
  .footer-inner {
    margin-inline: 40px;
  }
  .brand-caption {
    display: none;
  }
}
@media (max-width: 1100px) {
  .header-inner,
  .main,
  .footer-inner {
    margin-inline: 28px;
  }
  .header-inner {
    gap: 12px;
  }
  .header-inner nav {
    gap: 0;
  }
  .header-inner nav a {
    padding: 8px 12px;
  }
  .selection-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .category-panel {
    padding: 24px 14px;
  }
  .cases-panel {
    padding-inline: 24px;
  }
  .case-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }
  .case-portrait {
    width: 64px;
    height: 78px;
    grid-row: span 2;
  }
  .case-initial {
    width: 64px;
    height: 78px;
    grid-row: span 2;
  }
  .case-action {
    grid-column: 2;
  }
  .case-action .button {
    min-height: 40px;
    padding: 7px 13px;
    font-size: 15px;
  }
  .detail-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .student-profile {
    padding: 24px;
  }
  .profile-photo {
    height: 260px;
  }
  .detail-content {
    padding: 26px;
  }
  .conversation-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 1fr);
  }
  .presence {
    padding: 24px;
  }
  .transcript {
    padding: 24px 20px;
  }
  .evaluation-body {
    gap: 20px;
  }
  .record-row {
    grid-template-columns: minmax(180px, 1.3fr) minmax(145px, 1fr) 95px 155px;
    gap: 14px;
  }
  .records-panel {
    padding-inline: 22px;
  }
  .record-actions {
    gap: 1px;
  }
}
@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 16px 0 12px;
    gap: 14px;
  }
  .header-inner nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  .account {
    margin-left: auto;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .page-heading-tools {
    width: 100%;
  }
  .search {
    flex: 1;
  }
  .search input {
    width: 100%;
  }
  .selection-layout {
    grid-template-columns: 1fr;
  }
  .category-panel {
    padding: 18px;
  }
  .category-panel h2,
  .sidebar-foot {
    display: none;
  }
  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .category-list button {
    width: auto;
    min-height: 44px;
    padding: 8px 11px;
    font-size: 15px;
  }
  .category-list button svg {
    width: 18px;
    height: 18px;
  }
  .cases-panel {
    min-height: 0;
  }
  .detail-layout,
  .conversation-grid,
  .evaluation-body,
  .review-lower {
    grid-template-columns: 1fr;
  }
  .conversation-grid {
    height: auto;
  }
  .student-profile {
    display: grid;
    grid-template-columns: 130px 1fr;
    column-gap: 24px;
    text-align: left;
    align-items: center;
  }
  .profile-photo {
    width: 130px;
    height: 160px;
    grid-row: span 4;
    margin: 0;
  }
  .student-profile h2 {
    font-size: 24px;
  }
  .student-profile .student-meta {
    margin: 4px 0 10px;
  }
  .student-profile blockquote {
    font-size: 18px;
  }
  .student-profile .profile-bottom {
    padding-top: 8px;
    margin-top: 0;
  }
  .presence {
    min-height: 0;
  }
  .microphone-area {
    margin-top: 10px;
  }
  .transcript {
    height: 650px;
    max-height: 650px;
  }
  .presence-bottom {
    gap: 12px;
    flex-wrap: wrap;
  }
  .review-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .record-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .record-table-head {
    display: none;
  }
  .record-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .record-person {
    grid-column: 1;
  }
  .record-time {
    grid-column: 1;
    padding-left: 68px;
  }
  .record-row > .status {
    grid-column: 2;
    grid-row: 1;
  }
  .record-actions {
    grid-column: 2;
    grid-row: 2;
  }
  .footer-inner {
    flex-wrap: wrap;
    padding-block: 20px;
    gap: 8px;
  }
}
@media (max-width: 520px) {
  .brand-logo {
    width: 200px;
    height: 67px;
  }
  .header-inner,
  .main,
  .footer-inner {
    margin-inline: 20px;
  }
  .main {
    padding-top: 24px;
  }
  h1 {
    font-size: 27px;
  }
  .brand strong {
    font-size: 21px;
  }
  .header-inner nav a {
    font-size: 15px;
    padding: 8px 10px;
  }
  .account {
    font-size: 14px;
    gap: 7px;
  }
  .account-avatar {
    width: 30px;
    height: 30px;
  }
  .page-heading-tools {
    flex-wrap: wrap;
  }
  .page-heading-tools .button {
    flex: 1;
  }
  .case-row {
    gap: 12px;
  }
  .cases-panel {
    padding-inline: 20px;
  }
  .case-copy h3 {
    font-size: 19px;
  }
  .case-person {
    font-size: 14px;
  }
  .case-person strong {
    display: block;
  }
  .case-meta {
    gap: 6px;
    flex-direction: column;
    align-items: flex-start;
  }
  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .section-heading .caption {
    white-space: normal;
    text-align: right;
  }
  .student-profile {
    display: flex;
    text-align: center;
  }
  .profile-photo {
    width: 170px;
    height: 190px;
    margin-bottom: 18px;
  }
  .student-profile .profile-bottom {
    padding-top: 18px;
  }
  .detail-content,
  .presence,
  .review-panel,
  .review-overview {
    padding: 24px 20px;
  }
  .detail-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .presence-top {
    align-items: flex-start;
    gap: 12px;
  }
  .presence-top .text-button {
    font-size: 14px;
  }
  .current-response {
    padding: 18px;
  }
  .current-response blockquote {
    font-size: 20px;
  }
  .wave-row {
    gap: 10px;
  }
  .wave {
    gap: 4px;
  }
  .wave i {
    width: 3px;
  }
  .wave-row > span:first-child {
    display: none;
  }
  .wave {
    margin-right: auto;
  }
  .conversation-heading .heading-inline {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .conversation-heading {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .conversation-heading .page-heading-tools {
    width: auto;
  }
  .conversation-heading h1 {
    font-size: 23px;
  }
  .conversation-heading .button {
    font-size: 14px;
    padding-inline: 12px;
  }
  .comparison {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .comparison > div {
    padding: 18px;
  }
  .review-lower .review-panel {
    padding: 24px 20px;
  }
  .radar {
    height: auto;
  }
  .evidence-header {
    align-items: flex-start;
  }
  .target-status {
    font-size: 15px;
  }
  .target-status .status {
    font-size: 14px;
  }
  .record-tabs button {
    padding: 9px 12px;
  }
  .record-row {
    grid-template-columns: 1fr;
  }
  .record-row > .status {
    grid-column: 1;
    grid-row: auto;
    padding-left: 68px;
  }
  .record-time {
    padding-left: 68px;
  }
  .record-actions {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
    padding-left: 68px;
  }
  .bottom-note {
    align-items: flex-start;
  }
}
.review-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 24px;
  font-size: 17px;
}
.review-directory a {
  padding: 4px 0;
  color: var(--green);
}
.review-directory a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
body[data-page='review'] [id] {
  scroll-margin-top: 24px;
}
.review-verdict {
  padding: 28px 32px;
  margin-bottom: 24px;
}
.verdict-lead {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.6;
  margin: 18px 0 10px;
  text-wrap: pretty;
}
.verdict-description {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
  max-width: 70ch;
}
.verdict-findings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--line);
  margin: 24px 0 0;
  padding-top: 24px;
}
.verdict-findings dt {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
}
.verdict-findings dd {
  margin: 10px 0;
  font-size: 18px;
}
.verdict-findings a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.dimension-explanation {
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
}
.commentary-reasons {
  margin: 20px 0 0;
  display: grid;
  gap: 18px;
}
.commentary-reasons dt {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.commentary-reasons dd {
  margin: 0;
  font-size: 18px;
  color: #41594d;
  line-height: 1.85;
}
.context-followup {
  border-top: 1px solid #dbe4df;
  padding-top: 20px;
  margin-bottom: 18px;
}
.context-followup h4 {
  color: var(--muted);
  margin-bottom: 10px;
}
.context-followup p {
  font-size: 18px;
  line-height: 1.85;
}
.retained-quote {
  padding: 20px;
  background: #edf5ef;
  border-radius: 8px;
  font-size: 20px;
}
.positive-observations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}
.positive-observations h4 {
  font-size: 18px;
}
.positive-observations p {
  font-size: 17px;
  margin-top: 8px;
  color: var(--muted);
}
.review-practice-plan {
  margin-top: 32px;
  padding: 28px 32px;
}
.practice-sequence {
  list-style: none;
  counter-reset: practice;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.practice-sequence li {
  counter-increment: practice;
}
.practice-sequence h3::before {
  content: counter(practice) '. ';
  color: var(--green);
}
.practice-sequence p {
  font-size: 18px;
  line-height: 1.8;
  margin: 12px 0 8px;
}
.practice-sequence span {
  font-size: 16px;
  color: var(--muted);
}
.plan-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.plan-check svg {
  margin-top: 4px;
}
@media (max-width: 820px) {
  .verdict-findings,
  .practice-sequence,
  .positive-observations {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .verdict-findings > div + div,
  .practice-sequence li + li {
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
}
@media (max-width: 520px) {
  .review-verdict,
  .review-practice-plan {
    padding: 24px 20px;
  }
  .review-directory {
    gap: 8px 20px;
    font-size: 16px;
  }
  .verdict-lead {
    font-size: 22px;
  }
  .review-practice-plan > .section-heading {
    flex-direction: column;
  }
}
.coach-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) auto;
  min-height: 154px;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.coach-conversation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px auto;
  align-items: center;
  gap: 20px;
  min-height: 80px;
}
.coach-conversation-heading .coach-welcome {
  align-self: center;
  gap: 8px;
}
.coach-conversation-heading .coach-welcome p {
  font-size: 16px;
  letter-spacing: 0;
}
.coach-conversation-heading .coach-welcome-portrait {
  width: 65px;
  height: 80px;
  flex-basis: 65px;
}
.coach-conversation-heading .coach-welcome-portrait img {
  width: 88px;
  height: 100px;
  left: -11px;
}
@media (max-width: 1100px) {
  .coach-page-heading {
    grid-template-columns: minmax(0, 1fr) 260px auto;
    gap: 16px;
  }
  .coach-page-heading .coach-welcome p {
    font-size: 16px;
    letter-spacing: 0;
  }
  .coach-conversation-heading {
    grid-template-columns: minmax(0, 1fr) 200px auto;
    gap: 12px;
  }
}
@media (max-width: 820px) {
  .coach-page-heading {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .coach-page-heading .coach-welcome {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: center;
  }
  .coach-page-heading .page-heading-tools {
    width: auto;
  }
  .coach-conversation-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .coach-conversation-heading .coach-welcome {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .coach-page-heading {
    grid-template-columns: 1fr;
  }
  .coach-page-heading .page-heading-tools,
  .coach-page-heading > a,
  .coach-page-heading > .badge {
    grid-row: 3;
    width: 100%;
  }
  .coach-page-heading .search {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* PPT-aligned jade glass skin. Geometry, typography and content stay unchanged. */
:root {
  --green: #086644;
  --ink: #163f34;
  --muted: #416758;
  --line: #cde8dc;
  --tint: #e0f5e9;
  --glass-surface: rgba(255, 255, 255, 0.9);
  --glass-rim: rgba(43, 171, 120, 0.34);
  color: var(--ink);
  background: #effbf5;
}
body {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 95% 0%, rgba(88, 220, 166, 0.2), transparent 48%),
    radial-gradient(ellipse at 0% 65%, rgba(144, 232, 197, 0.18), transparent 46%),
    linear-gradient(145deg, #f8fffc 0%, #eaf9f1 55%, #f4fff9 100%);
  background-attachment: fixed;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 5% 23%, rgba(34, 172, 111, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 96% 74%, rgba(34, 172, 111, 0.2) 0 2px, transparent 3px),
    linear-gradient(118deg, transparent 10%, rgba(255, 255, 255, 0.8) 10.08%, transparent 10.2%),
    linear-gradient(118deg, transparent 93%, rgba(83, 199, 147, 0.15) 93.08%, transparent 93.2%),
    linear-gradient(164deg, transparent 82%, rgba(255, 255, 255, 0.9) 82.08%, transparent 82.3%);
}
.site-header {
  background: rgba(249, 255, 252, 0.86);
  border-bottom-color: #c7ead9;
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.94);
}
.surface {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 255, 250, 0.46)),
    var(--glass-surface);
  box-shadow:
    inset 0 0 0 1px var(--glass-rim),
    inset 0 2px 0 rgba(255, 255, 255, 0.96),
    0 6px 14px rgba(10, 100, 66, 0.055);
}
.header-inner nav a[aria-current='page'],
.category-list button[aria-pressed='true'] {
  background: linear-gradient(155deg, #0a7850, #075b41);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(220, 255, 237, 0.45),
    0 2px 5px rgba(6, 91, 62, 0.12);
}
.header-inner nav a:hover,
.category-list button:hover {
  background-color: #dcf4e6;
}
.button,
.record-tabs button[aria-pressed='true'] {
  background: linear-gradient(170deg, #0a7951 0%, #056042 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(232, 255, 245, 0.42),
    0 2px 5px rgba(7, 100, 67, 0.12);
}
.button:hover {
  background: linear-gradient(170deg, #096c49, #064e38);
}
.button.secondary {
  background: linear-gradient(160deg, #effcf5, #dff4e8);
  color: #075d40;
  box-shadow:
    inset 0 0 0 1px #c7e8d7,
    inset 0 1px 0 #fff;
}
.button.outline {
  background: rgba(255, 255, 255, 0.84);
  color: #075d40;
  border-color: #aed9c3;
  box-shadow: inset 0 1px 0 #fff;
}
.button.secondary:hover,
.button.outline:hover {
  background: #daf3e4;
}
.search,
textarea {
  background: rgba(255, 255, 255, 0.86);
  border-color: #b9ddca;
  box-shadow: inset 0 1px 3px rgba(18, 98, 64, 0.035);
}
.coach-avatar {
  background: linear-gradient(145deg, #ffffff, #d8f4e4);
  box-shadow: inset 0 0 0 1px #b9e5cd;
}
.account-avatar,
.badge,
.goal-number {
  background: #dff4e8;
  color: #155d40;
}
.current-response,
.suggested-response {
  background: linear-gradient(140deg, #edfdf4, #e1f5e9);
  box-shadow:
    inset 0 0 0 1px rgba(72, 170, 118, 0.18),
    inset 0 1px 0 #fff;
}
.message.teacher p {
  background: #e0f4e8;
}
.message.student p,
.evidence-dialogue {
  background: #f0f7f3;
}
.retained-quote {
  background: #e9f8ef;
}
.bar-track {
  background: #e1f0e7;
}
.bar-track i,
.history-item .pair i:last-child {
  background: linear-gradient(90deg, #087449, #54a47a);
}
.wave i {
  background: #16835a;
}
.review-directory,
.transcript-heading,
.transcript-caption,
.case-row,
.record-row + .record-row {
  border-color: #cfe7da;
}
.site-footer {
  background: rgba(236, 250, 242, 0.86);
  border-top-color: #c6e8d5;
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: #f8fffb;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .surface {
    background: #fbfffd;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
/* 2026-10-23：标题与关键信息改用按钮式底框。主标题用主按钮的深绿，次级信息用浅一档的绿。 */
:root {
  --chip-bg: linear-gradient(170deg, #0a7951 0%, #056042 100%);
  --chip-line: #075c41;
  --chip-ink: #ffffff;
  --chip-tint: #d9eee2;
  --chip-tint-line: #a9cfba;
  --chip-tint-ink: #0b3d2a;
}
.category-panel h2,
.section-heading h2,
.detail-section h2,
.transcript-heading h2,
.empty-state h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 5px 14px;
  border: 1px solid var(--chip-line);
  border-radius: 9px;
  background: var(--chip-bg);
  box-shadow:
    inset 0 1px 0 rgba(232, 255, 245, 0.35),
    0 2px 5px rgba(7, 100, 67, 0.14);
  color: var(--chip-ink);
  font-weight: 650;
  line-height: 1.5;
}
.category-panel h2 {
  padding: 4px 12px;
  border-color: var(--chip-tint-line);
  background: var(--chip-tint);
  box-shadow: none;
  color: var(--chip-tint-ink);
  font-size: 16px;
}
.section-heading h2 {
  font-size: 22px;
}
.detail-section h2,
.transcript-heading h2,
.empty-state h2 {
  font-size: 19px;
}
.detail-section h2 [data-icon],
.detail-section h2 svg {
  color: #d8f3e5;
}
.section-optional {
  padding: 1px 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #eafaf1;
  font-size: 13px;
  font-weight: 500;
  margin-left: 4px;
}
/* 画像与详情的结构化信息表 */
.recap {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
}
.recap > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #e2ede7;
  font-size: 14px;
  line-height: 1.6;
}
.recap dt {
  color: #4b6558;
}
.recap dd {
  margin: 0;
  color: #1d3529;
}
.recap-inline {
  margin-top: 6px;
}
.recap-inline > div {
  padding: 2px 0;
  border-bottom: 0;
}
.case-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 0 0 18px;
  padding: 0;
}
.case-facts > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #e9f1ec;
  font-size: 15px;
  line-height: 1.6;
}
.case-facts dt {
  color: var(--muted);
}
.case-facts dd {
  margin: 0;
  color: #1d3529;
}
/* 侧栏「我的案例」改为整条深色块，与选中分类同一档。 */
.my-case-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--chip-bg);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(232, 255, 245, 0.35),
    0 2px 5px rgba(7, 100, 67, 0.14);
}
.my-case-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.my-case-label {
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
}
.my-case-bar strong {
  font-size: 19px;
  font-weight: 700;
}
.my-case-meta {
  color: #cde9d8;
  font-size: 14px;
}
.my-case-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 8px;
  background: #fff;
  color: #0b3d2a;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.my-case-open:hover {
  background: #e6f6ee;
}
.status {
  padding: 2px 10px;
  border: 1px solid var(--chip-tint-line);
  border-radius: 999px;
  background: var(--chip-tint);
  color: var(--chip-tint-ink);
  font-size: 13.5px;
  justify-self: start;
  align-self: center;
}
.status.pending {
  border-color: #cfdad3;
  background: #eef2ef;
  color: #40514a;
}
/* 学生原话做一个浅框，和后面的面板区分开。 */
.student-profile blockquote {
  padding: 10px 12px;
  border: 1px solid #d9ece2;
  border-radius: 8px;
  background: #f5fbf7;
}
.student-profile .profile-source {
  margin: 12px 0 2px;
  color: var(--muted);
  font-size: 13.5px;
}
.current-response {
  border: 1px solid #cfe7d9;
}

/* 案例导入：三步向导、脱敏提示、画像核对、我的案例。 */
.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.wizard-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--chip-tint-line);
  border-radius: 999px;
  background: #fff;
  color: #33513f;
  font-size: 14.5px;
  font-weight: 600;
}
.wizard-steps .step-number {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--chip-tint);
  color: #0b3d2a;
  font-size: 12px;
  font-weight: 700;
}
.wizard-steps li[aria-current='step'] {
  border-color: var(--chip-line);
  background: var(--chip-bg);
  box-shadow:
    inset 0 1px 0 rgba(232, 255, 245, 0.35),
    0 2px 5px rgba(7, 100, 67, 0.14);
  color: #fff;
}
.wizard-steps li[aria-current='step'] .step-number {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.wizard-steps li.is-done .step-number {
  background: #0b6b48;
  color: #fff;
}
.wizard-panel {
  display: grid;
  gap: 18px;
}
.wizard-panel[hidden] {
  display: none;
}
.wizard-card {
  padding: 22px 24px;
}
.wizard-card h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  padding: 5px 14px;
  border: 1px solid var(--chip-line);
  border-radius: 9px;
  background: var(--chip-bg);
  box-shadow:
    inset 0 1px 0 rgba(232, 255, 245, 0.35),
    0 2px 5px rgba(7, 100, 67, 0.14);
  color: #fff;
  font-size: 19px;
  font-weight: 650;
}
.wizard-card > p.lead {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 16px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #cfe0d6;
  border-left: 4px solid #0a7951;
  border-radius: 8px;
  background: #f4fbf7;
  font-size: 15px;
  line-height: 1.6;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0a7951;
  flex: 0 0 auto;
}
.consent strong {
  color: #0b3d2a;
}
.mode-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid #cfe0d6;
  border-radius: 10px;
  background: #f2faf6;
}
.mode-tabs button {
  padding: 6px 16px;
  border-radius: 7px;
  background: transparent;
  color: #33533f;
  font-size: 15px;
  font-weight: 600;
}
.mode-tabs button[aria-selected='true'] {
  background: #fff;
  box-shadow:
    inset 0 0 0 1px #b9dcc9,
    0 1px 2px rgba(10, 100, 66, 0.08);
  color: #0b3d2a;
}
.field-block {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field-block > label,
.field-block > span.caption {
  color: #2b4a38;
  font-size: 15px;
  font-weight: 600;
}
.field-block > span.caption {
  display: inline-block;
  justify-self: start;
  padding: 2px 10px;
  border-radius: 6px;
  background: #eef7f2;
  color: #1d3529;
  font-size: 13.5px;
  font-weight: 700;
}
#f-detail {
  min-height: 120px;
}
#f-goals {
  min-height: 104px;
}
#f-family,
#f-other {
  min-height: 88px;
}
.field-block .hint {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
}
.field-block textarea {
  min-height: 168px;
}
.counter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 13.5px;
}
.counter-row span:last-child {
  margin-left: auto;
  white-space: nowrap;
}
.counter-row .over {
  color: #a3402c;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.form-grid .field-block {
  margin-bottom: 0;
}
.form-grid .field-block.wide {
  grid-column: 1 / -1;
}
.input,
.form-grid input[type='text'],
.form-grid select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfe0d6;
  border-radius: 8px;
  background: #fff;
  font-size: 15.5px;
}
.input:focus-visible,
.form-grid input:focus-visible,
.form-grid select:focus-visible {
  outline: 3px solid #2c7546;
  outline-offset: 2px;
}
.detect-panel {
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid #e2c9b4;
  border-left: 4px solid #b4743f;
  border-radius: 8px;
  background: #fdf7f1;
}
.detect-panel h3 {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  color: #7a4a22;
}
.detect-panel p {
  color: #6b4a2c;
  font-size: 14px;
}
.detect-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}
.detect-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e7d3c1;
  border-radius: 8px;
  background: #fffdfa;
  font-size: 14.5px;
}
.detect-item .kind {
  padding: 1px 8px;
  border-radius: 999px;
  background: #f6e7d8;
  color: #7a4a22;
  font-size: 12.5px;
  font-weight: 700;
}
.detect-item .value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #4a331f;
  font-family: 'Consolas', 'Microsoft YaHei', monospace;
}
.detect-item button {
  padding: 3px 12px;
  border: 1px solid #b9dcc9;
  border-radius: 999px;
  background: #fff;
  color: #0b5c3e;
  font-size: 13px;
  font-weight: 600;
}
.detect-panel.is-done {
  border-color: #cfe0d6;
  border-left-color: #0a7951;
  background: #f4fbf7;
}
.detect-panel.is-done h3 {
  color: #0b3d2a;
}
.detect-panel.is-done p {
  color: #33513f;
}
.detect-item.is-resolved {
  border-color: #cfe0d6;
  background: #f6fbf8;
  opacity: 0.72;
}
.detect-item.is-resolved .value {
  text-decoration: line-through;
  color: #566b60;
}
.detect-item.is-resolved button {
  border-color: transparent;
  background: transparent;
  color: #2f6a4d;
}
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e2ece6;
}
.wizard-actions .right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.wizard-actions .note {
  color: var(--muted);
  font-size: 13.5px;
}
.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
/* 第二步：左原文右画像 */
.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}
.source-card,
.profile-card {
  padding: 16px 18px;
  border: 1px solid #cfe0d6;
  border-radius: 10px;
  background: #fff;
}
.source-card {
  position: sticky;
  top: 20px;
  background: #f8fcfa;
  font-size: 15px;
  line-height: 1.8;
  color: #24402f;
}
.source-card .source-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #dbe8e0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.source-card .button {
  margin-top: 10px;
  min-height: 38px;
  padding: 4px 12px;
  font-size: 14px;
}
.source-card mark {
  padding: 0 2px;
  background: #d9eee2;
  color: #0b3d2a;
}
.profile-card {
  display: grid;
  gap: 0;
  padding-top: 2px;
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0 10px;
  border-bottom: 2px solid #0b3d2a;
}
.profile-head strong {
  font-size: 22px;
  line-height: 1.3;
  color: #0b3d2a;
}
.profile-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
.profile-field {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #e6efe9;
}
.profile-field:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.profile-field .label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2b4a38;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.profile-field .origin {
  justify-self: end;
  white-space: nowrap;
}
.profile-field .origin {
  padding: 0 7px;
  border-radius: 999px;
  background: #eef4f0;
  color: #4b6558;
  font-size: 11.5px;
  font-weight: 600;
}
.profile-field .origin.guess {
  background: #fdf1e4;
  color: #8a542e;
}
.profile-field .origin.manual {
  background: #e6f2ea;
  color: #1d5b3d;
}
.profile-field input,
.profile-field textarea {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #e0ece5;
  border-radius: 7px;
  background: #fbfdfc;
  font-size: 15px;
  line-height: 1.6;
}
.profile-field input:focus,
.profile-field textarea:focus {
  border-color: #7fb89b;
  background: #fff;
}
.profile-field textarea {
  min-height: 68px;
}
.profile-field .empty-hint {
  color: var(--muted);
  font-size: 13.5px;
}
.result-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #cfe0d6;
  border-radius: 10px;
  background: #f8fcfa;
}
.result-card img {
  width: 112px;
  height: 128px;
  border-radius: 8px;
  object-fit: cover;
}
.result-card h3 {
  font-size: 20px;
  color: #0b3d2a;
}
.result-card .result-meta {
  color: var(--muted);
  font-size: 14.5px;
  margin: 4px 0 8px;
}
.result-card ul {
  margin: 0;
  padding-left: 20px;
  color: #24402f;
  font-size: 14.5px;
  line-height: 1.7;
}
/* 侧栏「我的案例」 */
.my-cases {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.my-case {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #cfe0d6;
  border-left: 3px solid #0a7951;
  border-radius: 8px;
  background: #f7fcfa;
}
.my-case:hover,
.my-case:focus-visible {
  background: #eaf7f0;
}
.my-case strong {
  font-size: 15px;
  color: #0b3d2a;
}
.my-case span {
  color: var(--muted);
  font-size: 13px;
}
.my-case-empty {
  padding: 12px;
  border: 1px dashed #bcd4c6;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}
.sidebar-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 6px 12px;
  border: 1px solid #a9cfba;
  border-radius: 999px;
  background: #fff;
  color: #0b5c3e;
  font-size: 13.5px;
  font-weight: 600;
  justify-self: start;
}
.sidebar-add:hover {
  background: #eaf7f0;
}
@media (max-width: 820px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .my-case-bar {
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 12px 14px;
  }
  .my-case-info {
    width: 100%;
  }
  .my-case-open {
    margin-left: auto;
  }
  .profile-pair {
    grid-template-columns: 1fr;
  }
  .profile-field {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }
  .case-facts {
    grid-template-columns: 1fr;
  }
  .counter-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .counter-row span:last-child {
    margin-left: 0;
    align-self: flex-end;
  }
  .detect-item .value {
    white-space: normal;
  }
  .wizard-card {
    padding: 16px 14px;
  }
  .result-card {
    grid-template-columns: 1fr;
  }
  .result-card img {
    width: 100%;
    height: 180px;
  }
  .wizard-actions {
    flex-wrap: wrap;
  }
  .wizard-actions .right {
    width: 100%;
    justify-content: flex-end;
  }
}
/* 2026-10-24：整体收紧比例。原来在 1280×720 窗口里要缩到 65% 才看得完首页，
   现在把页头、标题区、面板内边距和字号统一收到约 78%，100% 即可看到首页主体。 */
.header-inner {
  min-height: 44px;
  gap: 16px;
}
.brand-logo {
  width: 132px;
  height: 44px;
}
.brand-caption {
  font-size: 13px;
}
.header-inner nav a {
  font-size: 14.5px;
  padding: 6px 13px;
}
.account {
  font-size: 14px;
}
.main {
  min-height: calc(100vh - 90px);
  padding: 8px 0 12px;
}
.coach-page-heading {
  min-height: 88px;
  margin-bottom: 10px;
  gap: 16px;
}
.coach-conversation-heading {
  min-height: 64px;
  gap: 16px;
}
.coach-conversation-heading .coach-welcome p {
  font-size: 13.5px;
}
.coach-conversation-heading .coach-welcome-portrait {
  width: 56px;
  height: 68px;
  flex-basis: 56px;
}
.coach-conversation-heading .coach-welcome-portrait img {
  width: 76px;
  height: 88px;
  left: -10px;
}
h1 {
  font-size: 24px;
  line-height: 1.35;
}
h2 {
  font-size: 18px;
}
.page-heading {
  gap: 18px;
  margin-bottom: 16px;
}
.page-heading p {
  font-size: 14.5px;
  margin-top: 5px;
}
.back-link {
  font-size: 14px;
  margin-bottom: 12px;
}
.button {
  min-height: 38px;
  padding: 7px 14px;
  gap: 7px;
  font-size: 14.5px;
}
.coach-welcome {
  gap: 10px;
}
.coach-page-heading .coach-welcome-portrait {
  width: 80px;
  height: 94px;
  flex: 0 0 80px;
}
.coach-page-heading .coach-welcome-portrait img {
  width: 100px;
  height: 115px;
  left: -10px;
}
.coach-welcome p {
  font-size: 14px;
  line-height: 1.7;
}
.coach-welcome-portrait {
  width: 96px;
  height: 112px;
  flex: 0 0 96px;
}
.coach-welcome-portrait img {
  left: -12px;
  width: 120px;
  height: 138px;
}
.my-case-bar {
  margin-bottom: 10px;
  padding: 5px 12px;
}
.my-case-bar strong {
  font-size: 15px;
}
.my-case-label {
  font-size: 12px;
  padding: 1px 9px;
}
.my-case-meta {
  font-size: 12.5px;
}
.my-case-open {
  padding: 5px 12px;
  font-size: 13.5px;
}
.selection-layout {
  gap: 18px;
}
.category-panel {
  padding: 12px 12px;
}
.category-panel h2 {
  font-size: 14px;
  margin-bottom: 12px;
  padding: 3px 10px;
}
.category-list button {
  min-height: 36px;
  padding: 6px 10px;
  gap: 9px;
  font-size: 15px;
}
.category-list button svg {
  width: 18px;
  height: 18px;
}
.sidebar-foot {
  font-size: 12.5px;
}
.cases-panel {
  padding: 14px 20px 6px;
  min-height: 0;
}
.section-heading h2 {
  font-size: 18px;
  padding: 3px 11px;
}
.section-heading p {
  font-size: 14px;
}
.section-heading .caption {
  font-size: 12.5px;
}
.case-row {
  gap: 14px;
  padding: 5px 0;
}
.case-portrait {
  width: 48px;
  height: 60px;
  border-radius: 7px;
}
.case-person {
  font-size: 13.5px;
}
.case-copy h3 {
  font-size: 15.5px;
  margin-bottom: 2px;
}
.case-copy > p {
  font-size: 13px;
  line-height: 1.55;
}
/* 没有人物照片的案例用姓氏头像，尺寸与照片一致。 */
.case-initial {
  display: grid;
  place-items: center;
  width: 52px;
  height: 64px;
  border-radius: 7px;
  background: linear-gradient(160deg, #e9f7ef, #d6ecdf);
  color: #1d5b3d;
  font-size: 20px;
  font-weight: 700;
}
.case-meta {
  font-size: 12px;
  gap: 4px 12px;
  margin-top: 4px;
}
.case-action .button {
  min-height: 34px;
  padding: 5px 12px;
  font-size: 13.5px;
}
.site-footer {
  padding: 4px 0;
}
.site-footer,
.footer-inner {
  font-size: 12px;
}
.footer-inner {
  min-height: 28px;
}
/* 详情、谈话、记录、导入页同样收紧 */
.detail-layout {
  gap: 18px;
}
.student-profile {
  padding: 18px;
}
.student-profile h2 {
  font-size: 21px;
}
.student-profile blockquote {
  font-size: 16px;
  line-height: 1.8;
}
.detail-content {
  padding: 20px 22px;
}
.detail-section + .detail-section {
  margin-top: 16px;
  padding-top: 16px;
}
.detail-section h2 {
  font-size: 16px;
  margin-bottom: 10px;
  padding: 3px 11px;
}
.detail-section > p {
  font-size: 15px;
}
.goal-list li {
  font-size: 15px;
}
.goal-number {
  width: 22px;
  height: 22px;
  font-size: 12px;
}
.note-label {
  font-size: 14px;
  margin-bottom: 8px;
}
.detail-actions {
  margin-top: 16px;
}
.conversation-grid {
  min-height: 600px;
}
.transcript-messages {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px);
}
.presence {
  padding: 18px;
}
.presence-photo {
  height: 150px;
}
.transcript {
  padding: 16px;
}
.transcript-heading {
  padding-bottom: 10px;
}
.transcript-heading h2 {
  font-size: 16px;
  padding: 3px 11px;
}
.message p {
  font-size: 15px;
}
.current-response blockquote {
  font-size: 17px;
  line-height: 1.7;
}
.current-response {
  padding: 14px 18px;
}
.records-panel {
  padding: 18px 22px;
}
.record-row {
  padding: 12px 0;
}
.record-time {
  font-size: 14px;
}
.record-person h2 {
  font-size: 16px;
}
.wizard-card {
  padding: 16px 18px;
}
.wizard-card h2 {
  font-size: 16px;
  padding: 3px 11px;
}
.wizard-card > p.lead {
  font-size: 14.5px;
  margin: 6px 0 12px;
}
.wizard-steps li {
  padding: 4px 12px 4px 6px;
  font-size: 13.5px;
}
.field-block > label,
.field-block > span.caption {
  font-size: 14px;
}
.input,
.form-grid input[type='text'],
.form-grid select {
  min-height: 38px;
  padding: 7px 10px;
  font-size: 14.5px;
}
#f-detail {
  min-height: 96px;
}
#f-goals {
  min-height: 84px;
}
#f-family,
#f-other {
  min-height: 70px;
}
.consent {
  padding: 9px 12px;
  font-size: 13.5px;
  margin-bottom: 12px;
}
.detect-panel {
  padding: 11px 13px;
}
.detect-item {
  padding: 6px 9px;
  font-size: 13.5px;
}
.profile-field {
  padding: 5px 0;
}
.result-card {
  padding: 14px;
}
.result-card img {
  width: 92px;
  height: 106px;
}
.result-card h3 {
  font-size: 17px;
}
.result-card ul {
  font-size: 13.5px;
}

/* 桌面的列宽与对话区高度单独限定，避免覆盖 1100/820 的窄屏布局。 */
@media (min-width: 1101px) {
  .selection-layout {
    grid-template-columns: 212px minmax(0, 1fr);
  }
  .case-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }
  .coach-page-heading {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 250px) auto;
  }
  .coach-conversation-heading {
    grid-template-columns: minmax(0, 1fr) 200px auto;
  }
  .result-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}
@media (min-width: 821px) {
  .conversation-grid {
    height: calc(100vh - 196px);
    max-height: 780px;
  }
}
@media print {
  body {
    background: #fff;
  }
  body::before {
    display: none;
  }
  .site-header,
  .surface {
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
