/* 放课后统一设计系统 · 2026-11-14
 * 唯一站点样式入口：公共页、认证、四角色工作台、弹窗、管理与付款页。
 * 旧版本已归档至 docs/archive/styles-20261114/，不参与运行。
 * 本文件为可直接维护的源文件；迁移脚本仅保留迁移证据，不用于构建。
 * 展示标题使用衬线，界面文字使用无衬线；纸面／森林绿／品牌橙。
 */

/* Shared semantic tokens and accessible control states. */
:root {
  --action-fill: #234c3b;
  --action-text: #fffdf7;
  --accent-fill: #b04a12;
  --accent-text: #fffdf7;
  --status-danger: #a13f2e;
  --status-success: #28613b;
  --status-warning: #93400e;
  --radius-tag: 12px;
  --placeholder: #596454;
}
@media (prefers-color-scheme: dark) {
  :root {
    --action-fill: #315e48;
    --action-text: #fff9ed;
    --accent-fill: #f4a56e;
    --accent-text: #241a12;
    --status-danger: #ffb8a8;
    --status-success: #b8d6bd;
    --status-warning: #f4a56e;
    --placeholder: #b8c2b3;
  }
}
body input::placeholder, body textarea::placeholder,
body #profileForm input::placeholder, body #profileForm textarea::placeholder,
body #authForm input::placeholder, body #authForm textarea::placeholder {
  color: var(--placeholder) !important;
  opacity: 1 !important;
}


/*  Migrated component rules: index.html#layout  */
* {
  box-sizing:border-box;
}
body {
  min-height:100svh;
  margin:0;
  -webkit-font-smoothing:antialiased;
}
button {
  font:inherit;
  border:0;
  cursor:pointer;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid rgba(255,107,94,.55);
}
.app {
  min-height:100vh;
  display:flex;
}
.sidebar {
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:0 auto 0 0;
  z-index:5;
}
.brand small {
  color:var(--mint);
  font-size:10px;
  letter-spacing:2px;
  margin-top:7px;
}
.nav {
  display:grid;
}
.nav button {
  text-align:left;
  display:flex;
  align-items:center;
  transition:.2s;
}
.nav .icon {
  text-align:center;
}
.side-bottom {
  margin-top:auto;
}
.home-link {
  background:transparent;
  color:#a9a8b5;
  font-size:11px;
  padding:0 0 15px;
  display:block;
}
.home-link:hover {
  color:#fff;
}
.subject-picker {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.subject-chip {
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-tag);
  padding:7px 9px;
  font-size:11px;
  color:var(--muted);
}
.subject-chip.on {
  background:#fff0e8;
  border-color:#ffb8ae;
  color:var(--coral);
}
.file-input {
  font-size:11px;
  color:var(--muted);
  padding:9px 0;
}
.profile {
  display:flex;
  align-items:center;
  gap:10px;
}
.avatar {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  font-weight:700;
}
.profile b {
  display:block;
  font-size:13px;
}
.profile span {
  font-size:11px;
}
.profile-edit {
  display:block;
  margin-top:8px;
  padding:0;
  background:transparent;
  color:#a9a8b5;
  font-size:11px;
  text-align:left;
}
.profile-edit:hover {
  color:#fff;
}
.topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;

  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
.top-actions {
  display:flex;
  align-items:center;
  gap:12px;
}
.role-switch {
  display:none;
  padding:4px;
  border-radius:var(--radius-control);
}
.role-switch.preview {
  display:flex;
}
.role-switch button {
  padding:8px 13px;
  border-radius:var(--radius-control);
  background:transparent;
  color:var(--muted);
  font-size:12px;
}
.role-switch button.active {
  background:var(--white);
  color:var(--ink);
  box-shadow:0 2px 8px rgba(35,76,59,.08);
  font-weight:700;
}
.notify {
  width:34px;
  height:34px;
  background:var(--white);
  color:var(--muted);
  position:relative;
}
.notify:after {
  content:"";
  width:6px;
  height:6px;
  background:var(--coral);
  border-radius:50%;
  position:absolute;
  top:7px;
  right:7px;
}
.hero {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:30px;
}
.eyebrow {
  color:var(--coral);
  font-weight:700;
}
.hero h1 {
  line-height:1.2;
  margin:11px 0 0;
}
.hero p {
  color:var(--muted);
  font-size:14px;
  margin:11px 0 0;
}
.date {
  text-align:right;
  color:var(--muted);
  line-height:1.8;
}
.date strong {
  color:var(--ink);
  display:block;
}
.grid {
  display:grid;
  gap:20px;
}
.student-grid {
  grid-template-columns:minmax(0,1.5fr) minmax(290px,.8fr);
}
.card {
  background:var(--white);
  animation:rise .46s cubic-bezier(.22,1,.36,1) both;
}
.card.dark {
  color:#fff;
}
.card-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:19px;
}
.card h2 {
  margin:0;
}
.card .sub {
  font-size:12px;
  color:var(--muted);
  margin-top:7px;
}
.dark .sub {
  color:#a9a8b5;
}
.pill {
  font-size:11px;
  padding:6px 10px;
  border-radius:var(--radius-tag);
}
.tasks {
  display:grid;
  gap:10px;
}
.task {
  display:flex;
  align-items:center;
  gap:13px;
  padding:14px;
  border:1px solid var(--line);
  transition:.2s;
}
.task:hover {
  transform:translateY(-1px);
  border-color:#d6d0c6;
}
.task.done .task-title {
  text-decoration:line-through;
}
.task-check {
  width:22px;
  height:22px;
  border:2px solid #d4d0c7;
  border-radius:7px;
  display:grid;
  place-items:center;
  color:transparent;
  flex:none;
}
.task-copy {
  flex:1;
}
.task-title {
  font-size:14px;
  font-weight:650;
}
.task-meta {
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
}
.task-tag {
  font-weight:700;
  color:#fff;
  padding:4px 7px;
  border-radius:6px;
}
.progress-line {
  display:flex;
  justify-content:space-between;
  margin-top:18px;
  font-size:12px;
  color:var(--muted);
}
.progress {
  height:9px;
  border-radius:var(--radius-card);
  margin-top:9px;
  overflow:hidden;
}
.progress i {
  display:block;
  width:66%;
  height:100%;
  border-radius:var(--radius-card);
  transition:width .35s;
}
.checkin {
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
}
.checkin:after {
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  border-radius:50%;
  right:-70px;
  top:-70px;
}
.checkin>* {
  position:relative;
  z-index:1;
}
.checkin .big {
  font-size:68px;
  letter-spacing:-4px;
  color:var(--mint);
  font-weight:700;
  margin:24px 0 0;
}
.checkin .unit {
  font-size:14px;
  color:var(--mint);
  margin-left:7px;
  letter-spacing:1px;
}
.btn-primary {
  color:#fff;
  padding:13px 18px;
  font-size:13px;
  box-shadow:0 10px 25px rgba(255,107,94,.25);
  transition:.2s;
}
.btn-primary:hover {
  filter:saturate(1.1);
}
.lower-grid {
  grid-template-columns:1.3fr .7fr;
  margin-top:20px;
}
.course-card {
  display:flex;
  align-items:center;
  gap:24px;
}
.course-mark {
  width:72px;
  height:72px;
  font-size:30px;
  display:grid;
  place-items:center;
  flex:none;
}
.course-card h3 {
  margin:0;
  font-size:16px;
}
.course-card p {
  color:var(--muted);
  font-size:12px;
  margin:8px 0 0;
}
.course-card .progress {
  margin:17px 0 0;
  width:100%;
  height:8px;
}
.course-card .progress i {
  background:var(--violet);
  width:50%;
}
.course-side {
  margin-left:auto;
  text-align:right;
}
.link {
  font-size:13px;
  color:var(--coral);
  font-weight:700;
  background:none;
}
.review .review-score {
  font-size:33px;
  font-weight:700;
  margin:24px 0 7px;
}
.heat-card {
  margin-top:20px;
}
.heat {
  display:grid;
  grid-template-columns:repeat(30,1fr);
  gap:4px;
  margin-top:14px;
}
.heat i {
  height:13px;
  border-radius:3px;
  background:#e9e7e1;
}
.heat i:nth-child(3n) {
  background:#d9ebbc;
}
.heat i:nth-child(4n) {
  background:#b7f36b;
}
.heat i:nth-child(8n) {
  background:#78bd3d;
}
.heat i:nth-child(11n) {
  background:#ff9b8c;
}
.section-view {
  display:none;
}
.metric-grid {
  grid-template-columns:repeat(3,1fr);
}
.teacher-metrics {
  grid-template-columns:repeat(4,1fr);
}
.metric {
  padding:21px;
}
.metric small {
  color:var(--muted);
  font-size:12px;
}
.metric strong {
  display:block;
  margin-top:12px;
}
.metric .delta {
  font-size:12px;
  margin-top:8px;
}
.report-layout {
  grid-template-columns:1.1fr .9fr;
  margin-top:20px;
}
.radar-card {
  min-height:335px;
}
.radar {
  width:210px;
  height:210px;
  border-radius:50%;
  margin:16px auto 0;
  position:relative;
  clip-path:polygon(50% 0,96% 30%,79% 88%,21% 88%,4% 30%);
}
.radar:after {
  content:"";
  position:absolute;
  inset:24px;
  background:var(--white);
  clip-path:polygon(50% 0,96% 30%,79% 88%,21% 88%,4% 30%);
}
.radar:before {
  content:"";
  position:absolute;
  inset:48px;
  clip-path:polygon(50% 0,96% 30%,79% 88%,21% 88%,4% 30%);
  z-index:1;
}
.radar-labels {
  display:flex;
  justify-content:space-around;
  color:var(--muted);
  font-size:11px;
  margin-top:11px;
}
.bar-list {
  display:grid;
  gap:17px;
}
.metricbar label {
  display:flex;
  justify-content:space-between;
  font-size:12px;
  margin-bottom:7px;
}
.metricbar em {
  font-style:normal;
  font-weight:700;
}
.metricbar .progress {
  height:8px;
}
.metricbar .progress i {
  background:var(--violet);
}
.metricbar:nth-child(2) .progress i {
  background:var(--coral);
}
.metricbar:nth-child(3) .progress i {
  background:var(--mint);
}
.metricbar:nth-child(4) .progress i {
  background:#f3c66a;
}
.todo-list {
  display:grid;
  gap:13px;
}
.todo {
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
}
.todo .todo-icon {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  font-size:17px;
}
.todo b {
  font-size:13px;
}
.todo span {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
}
.todo .arrow {
  margin-left:auto;
  color:var(--coral);
}
.table {
  width:100%;
  border-collapse:collapse;
  font-size:12px;
}
.table th {
  text-align:left;
  color:var(--muted);
  font-weight:650;
  padding:0 0 12px;
  border-bottom:1px solid var(--line);
}
.table td {
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.status {
  font-size:11px;
  padding:5px 8px;
  border-radius:6px;
}
.service-path {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:0 0 20px;
}
.service-step {
  padding:16px 17px;
  background:var(--white);
  border:1px solid rgba(35,76,59,.06);
  position:relative;
}
.service-step:not(:last-child):after {
  content:"→";
  position:absolute;
  right:-9px;
  top:25px;
  color:var(--coral);
  font-weight:700;
  z-index:2;
}
.service-step small {
  display:block;
  color:var(--muted);
  font-size:11px;
}
.service-step b {
  display:block;
  font-size:14px;
  margin-top:7px;
}
.service-step em {
  display:block;
  font-size:11px;
  font-style:normal;
  margin-top:7px;
}
.revenue-grid {
  grid-template-columns:1.1fr .9fr;
  margin-top:20px;
}
.revenue-card .revenue-line {
  display:flex;
  justify-content:space-between;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
}
.revenue-card .revenue-line:last-child {
  border:0;
}
.revenue-card .revenue-line b {
  font-size:15px;
}
.revenue-card .revenue-line span {
  color:var(--muted);
}
.ops-hero {
  border-radius:var(--radius);
  padding:25px 28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}
.ops-hero h2 {
  margin:0;
  font-size:20px;
}
.ops-hero p {
  font-size:12px;
  margin:8px 0 0;
}
.ops-badge {
  padding:10px 13px;
  border-radius:var(--radius-tag);
  font-size:12px;
}
.chart {
  height:170px;
  display:flex;
  align-items:end;
  gap:10px;
  padding:20px 4px 0;
}
.bar-col {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  height:100%;
  justify-content:end;
}
.bar-col i {
  width:100%;
  max-width:35px;
  background:linear-gradient(180deg,var(--violet),var(--green-soft));
  border-radius:8px 8px 3px 3px;
  min-height:10px;
}
.bar-col span {
  font-size:10px;
  color:var(--muted);
}
.note {
  padding:13px 15px;
  border-left:3px solid var(--coral);
  border-radius:0 10px 10px 0;
  font-size:12px;
  line-height:1.7;
  margin-top:20px;
}
@keyframes rise {
  from {
    opacity:0;
    transform:translateY(10px);
  }
  to {
    opacity:1;
    transform:none;
  }
}
.media-card {
  transition:transform .35s cubic-bezier(.22,1,.36,1),filter .35s;
}
.media-card:hover {
  transform:scale(1.035);
  filter:saturate(1.12);
}
.public-art {
  transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s;
}
.public-art:hover {
  transform:translateY(-3px);
  box-shadow:0 24px 55px rgba(0,0,0,.25);
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation-duration:.01ms!important;
    transition-duration:.01ms!important;
  }
}
@media(max-width:920px) {
  .sidebar {
    width:76px;
    padding:20px 10px;
  }
  .brand {
    padding:2px 10px 30px;
  }
  .brand strong {
    font-size:0;
  }
  .brand strong:after {
    content:"放";
    font-size:25px;
  }
  .brand small,.role-label,.nav button span:not(.icon),.profile>div,.home-link {
    display:none;
  }
  .nav button {
    justify-content:center;
    padding:13px;
  }
  .side-bottom {
    padding:15px 0 0;
  }
  .profile {
    justify-content:center;
  }
  .profile-edit {
    font-size:0;
    text-align:center;
    margin:8px auto 0;
  }
  .profile-edit:after {
    content:"";
    font-size:0;
  }
  .main {
    margin-left:76px;
  }
  .topbar {
    padding:0 22px;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .content {
    padding:32px 22px;
  }
  .hero {
    align-items:flex-start;
    gap:15px;
  }
  .hero h1 {
    font-size:31px;
  }
  .student-grid,.lower-grid,.report-layout,.revenue-grid {
    grid-template-columns:1fr;
  }
  .metric-grid {
    grid-template-columns:repeat(3,1fr);
  }
  .teacher-metrics {
    grid-template-columns:repeat(4,1fr);
  }
  .service-path {
    grid-template-columns:repeat(2,1fr);
  }
  .service-step:not(:last-child):after {
    display:none;
  }
}
@media(max-width:620px) {
  .topbar {
    height:auto;
    min-height:70px;
    gap:9px;
    align-items:flex-start;
    padding:14px 14px;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .crumb {
    display:none;
  }
  .top-actions {
    margin-left:auto;
  }
  .role-switch button {
    padding:8px 7px;
    font-size:11px;
  }
  .content {
    padding:24px 14px 50px;
  }
  .hero {
    display:block;
    margin-bottom:22px;
  }
  .date {
    text-align:left;
    margin-top:14px;
  }
  .hero h1 {
    font-size:29px;
  }
  .card {
    padding:20px;
    border-radius:var(--radius-sub);
  }
  .metric-grid {
    grid-template-columns:1fr;
    gap:10px;
  }
  .metric strong {
    font-size:28px;
  }
  .service-path {
    grid-template-columns:1fr;
  }
  .course-card {
    align-items:flex-start;
  }
  .course-side {
    display:none;
  }
  .ops-hero {
    display:block;
  }
  .ops-badge {
    display:inline-block;
    margin-top:15px;
  }
}
.app.gated {
  display:none;
}
.public-page {
  min-height:100vh;
}
.public-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:auto;
}
.public-brand {
  font-weight:700;
}
.public-brand small {
  color:var(--mint);
  font-size:9px;
  letter-spacing:1.5px;
  margin-top:5px;
}
.public-nav-actions button {
  border-radius:var(--radius-control);
  background:transparent;
}
.api-status {
  letter-spacing:.5px;
  display:flex;
  align-items:center;
  gap:6px;
}
.api-status i {
  width:6px;
  height:6px;
  border-radius:50%;
}
.api-status.live i {
  box-shadow:0 0 9px var(--mint);
}
.public-hero h1 em {
  font-style:normal;
}
.public-cta {
  display:flex;
}
.public-art {
  position:relative;
}
.public-art:before {
  content:"";
  position:absolute;
  border-radius:50%;
}
.art-note {
  position:absolute;
  left:28px;
  bottom:28px;
  background:rgba(35,76,59,.68);
  backdrop-filter:blur(12px);
  padding:15px 17px;
  border-radius:15px;
  border:1px solid var(--green);
}
.art-note b {
  font-size:14px;
}
.art-note span {
  display:block;
  color:#a9a8b5;
  font-size:11px;
  margin-top:6px;
}
.art-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  position:absolute;
  top:30px;
  right:30px;
  left:30px;
}
.art-grid i {
  height:80px;
  border-radius:15px;
  background:linear-gradient(135deg,#ff9b8c,#ff6b5e);
  opacity:.88;
}
.art-grid i:nth-child(2) {
  background:linear-gradient(135deg,#b7f36b,#5eae37);
  margin-top:24px;
}
.art-grid i:nth-child(3) {
  background:linear-gradient(135deg,var(--green-soft),var(--action-fill));
}
.art-grid i:nth-child(4) {
  height:130px;
  background:#faf7ef;
  grid-column:span 2;
}
.art-grid i:nth-child(5) {
  height:130px;
  background:linear-gradient(135deg,#ffdbc8,#ff8a78);
  margin-top:-12px;
}
.media-row {
  display:flex;
  overflow:auto;
  scroll-snap-type:x mandatory;
}
.media-card {
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  position:relative;
  overflow:hidden;
}
.media-card:after {
  position:absolute;
}
.media-card span {
  margin-top:6px;
}
.trust-item span {
  margin-top:7px;
}
.auth-page {
  display:none;
  min-height:100vh;
}
.auth-page.visible {
  place-items:center;
}
.auth-head {
  display:flex;
  justify-content:space-between;
}
.auth-head p {
  margin:8px 0 0;
}
.auth-tabs button {
  padding:10px;
}
.auth-tabs button.active {
  font-weight:700;
}
.auth-role {
  display:flex;
}
.auth-role button {
  font-size:12px;
}
.auth-role button.active {
  color:var(--coral);
  font-weight:700;
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
}
.form-field {
  display:grid;
}
.form-field.full {
  grid-column:1/-1;
}
.form-field input,.form-field select,.form-field textarea {
  width:100%;
  font:inherit;
  color:var(--ink);
  outline:0;
}
.form-field textarea {
  resize:vertical;
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus {
  box-shadow:0 0 0 3px rgba(255,107,94,.1);
}
.week-picker {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.week-picker button {
  padding:8px 10px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-control);
  font-size:11px;
  color:var(--muted);
}
.week-picker button.active {
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}
.slot-panel {
  display:none;
  gap:7px;
  flex-wrap:wrap;
  margin-top:8px;
}
.slot {
  padding:7px 10px;
  border-radius:var(--radius-control);
  background:#f0ede6;
  color:var(--muted);
  font-size:11px;
}
.slot.on {
  background:#fff0e8;
  color:var(--coral);
}
.map-box {
  background:linear-gradient(135deg,#e5e8e1,#d4d7cd);
  display:grid;
  place-items:center;
  font-size:12px;
}
.map-box span {
  background:#fff;
  padding:7px 10px;
  border-radius:var(--radius-control);
}
.auth-submit {
  width:100%;
  padding:14px;
  color:#fff;
  font-weight:700;
}
.auth-foot {
  text-align:center;
}
@media(max-width:760px) {
  .screen-overlay {
    padding:0;
  }
  .screen-drawer {
    width:100%;
    border-radius:0;
    padding:22px;
  }
  .sub-grid {
    grid-template-columns:1fr;
  }
}
@media(max-width:760px) {
  .public-hero {
    grid-template-columns:1fr;
    gap:30px;
    padding-top:45px;
  }
  .public-hero h1 {
    font-size:43px;
  }
  .public-art {
    min-height:310px;
  }
  .trust-row {
    grid-template-columns:1fr;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
  .form-field.full {
    grid-column:auto;
  }
  .auth-card {
    padding:22px;
  }
  .public-nav {
    padding:0 18px;
  }
  .public-nav-actions button {
    padding:8px 11px;
  }
  .public-section {
    padding-left:18px;
    padding-right:18px;
  }
}
.screen-overlay {
  display:none;
  position:fixed;
  inset:0;
}
.screen-drawer-head {
  justify-content:space-between;
}
.sub-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:13px;
}
.sub-card {
  padding:17px;
  border:1px solid var(--line);
}
.sub-card small {
  font-size:11px;
  color:var(--muted);
}
.sub-card strong {
  display:block;
  font-size:22px;
  margin-top:9px;
}
.sub-card p {
  font-size:12px;
  color:var(--muted);
  line-height:1.7;
  margin:7px 0 0;
}
.sub-table {
  width:100%;
  border-collapse:collapse;
  font-size:12px;
  margin-top:6px;
}
.sub-table th {
  text-align:left;
  color:var(--muted);
  font-weight:650;
  padding:11px 0;
  border-bottom:1px solid var(--line);
}
.sub-table td {
  padding:13px 0;
  border-bottom:1px solid var(--line);
}
.form-bar {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:15px 0;
}
.form-bar .filter {
  padding:10px 12px;
  color:var(--muted);
  font-size:12px;
}
.progress-step {
  display:flex;
  gap:8px;
  align-items:center;
  margin:19px 0;
}
.progress-step i {
  width:25px;
  height:25px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--mint);
  font-size:11px;
  font-style:normal;
}
.progress-step span {
  font-size:12px;
  color:var(--muted);
}
.empty-note {
  padding:20px;
  border-radius:var(--radius-sub);
  line-height:1.8;
}
@keyframes drawerIn {
  from {
    opacity:0;
    transform:translateX(28px);
  }
  to {
    opacity:1;
    transform:none;
  }
}
.main,.card,.form-field,.sub-card {
  min-width:0;
}
.hero {
  gap:24px;
}
.hero>div:first-child {
  min-width:0;
}
.hero .date {
  flex-shrink:0;
}
.card-head,.auth-head,.screen-drawer-head {
  gap:16px;
}
.auth-close,.drawer-close {
  flex-shrink:0;
  white-space:nowrap;
  min-height:40px;
  font-size:13px;
}
.form-field small {
  color:var(--muted);
}
.budget-range {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:10px;
  align-items:center;
}
.budget-range span {
  font-size:13px;
  color:var(--muted);
}
.form-feedback {
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.slot-panel.visible {
  display:grid;
}
.day-slots {
  display:grid;
}
.day-slots strong {
  font-size:13px;
}
.slot-buttons {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.slot {
  min-height:36px;
  border:1px solid var(--line);
}
.day-slots input {
  font-size:13px;
}
.photo-previews {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.photo-preview {
  display:grid;
  gap:6px;
}
.photo-preview img {
  width:96px;
  height:72px;
  border-radius:var(--radius-control);
  object-fit:cover;
}
.photo-preview button {
  font-size:12px;
  min-height:32px;
  background:#f0ede6;
  border-radius:var(--radius-control);
}
.profile-edit {
  min-height:40px;
}
.sidebar {
  overflow-y:auto;
}
.profile-editor-note {
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
  margin:0 0 20px;
}
.screen-drawer {
  scrollbar-gutter:stable;
}
.child-switch {
  flex-wrap:wrap;
}
.child-switch .pill {
  white-space:nowrap;
}
.radar-labels {
  flex-wrap:wrap;
  gap:8px 14px;
  line-height:1.5;
}
.status {
  display:inline-block;
  white-space:nowrap;
}
.table th,.table td,.sub-table th,.sub-table td {
  padding-right:12px;
}
@media(max-width:1100px) {
  .teacher-metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .student-grid {
    grid-template-columns:1fr;
  }
  .hero {
    display:block;
  }
  .hero .date {
    text-align:left;
    margin-top:16px;
  }
}
@media(max-width:920px) {
  .home-link {
    display:block;
    min-height:40px;
    font-size:12px;
    padding:10px 0;
    text-align:center;
    width:100%;
  }
  .home-link .home-label {
    display:none;
  }
  .home-link:after {
    content:"首页";
  }
  .profile-edit {
    font-size:12px;
    width:100%;
    margin:4px 0 0;
    text-align:center;
  }
  .profile-edit:after {
    content:none;
  }
}
@media(max-width:760px) {
  .screen-overlay {
    padding:12px;
  }
  .screen-drawer {
    width:100%;
    border-radius:var(--radius-sub);
    padding:20px;
  }
  .screen-drawer-head {
    top:-20px;
  }
  .sub-grid {
    grid-template-columns:1fr;
  }
  .form-field input,.form-field select,.form-field textarea {
    font-size:16px;
  }
  .auth-head {
    flex-wrap:wrap;
  }
  .auth-close {
    order:-1;
    margin-left:auto;
  }
  .auth-head>div {
    width:100%;
  }
  .form-grid {
    gap:18px;
  }
}
@media(max-width:620px) {
  .teacher-metrics {
    grid-template-columns:1fr;
  }
  .card-head {
    flex-wrap:wrap;
  }
  .revenue-line {
    gap:12px;
    flex-wrap:wrap;
  }
  .public-nav .api-status {
    display:none;
  }
  .public-nav-actions button {
    min-height:40px;
  }
  .week-picker button,.subject-chip {
    min-height:40px;
  }
  .hero h1 {
    font-size:28px;
    line-height:1.35;
  }
  .child-switch .link {
    margin-left:0!important;
  }
  .progress-step {
    flex-wrap:wrap;
  }
  .course-card {
    flex-wrap:wrap;
  }
  .course-side {
    display:block;
    text-align:left;
    margin-left:0;
  }
  .radar {
    max-width:100%;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
  .media-card:hover,.public-art:hover,.btn-primary:hover {
    transform:none;
  }
}

/*  Migrated component rules: frontend/reference-theme.css  */
a {
  text-decoration:none;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid color-mix(in srgb, var(--coral) 30%, transparent);
  outline-offset:3px;
}
.identity {
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:18px;
  font-weight:650;
  letter-spacing:-.03em;
  white-space:nowrap;
}
.identity-mark {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:var(--radius-control);
  background:var(--ink);
  color:white;
  font-size:16px;
  font-weight:700;
  flex:none;
}
.public-brand small {
  display:none;
}
.public-nav-actions button {
  color:var(--ink);
  font-size:14px;
  padding:10px 0;
}
.public-nav-actions .solid {
  background:transparent;
  border:1px solid color-mix(in srgb, var(--coral) 25%, transparent);
  color:var(--coral);
  padding:9px 16px;
}
.public-nav-actions .solid:hover {
  background:var(--coral);
  color:#fff;
}
.public-hero-copy {
  padding-left:clamp(0px,4vw,56px);
}
.public-kicker {
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:var(--radius-tag);
  color:var(--coral);
  background:color-mix(in srgb, var(--coral) 9%, transparent);
  letter-spacing:.01em;
  font-size:13px;
  font-weight:650;
}
.public-hero h1 {
  font-size:clamp(46px,5.4vw,74px);
  line-height:1.12;
  letter-spacing:-.065em;
  font-weight:700;
  margin:22px 0 20px;
}
.public-hero h1 em {
  color:var(--muted);
}
.public-hero p {
  font-size:18px;
  line-height:1.7;
  letter-spacing:-.015em;
  color:var(--muted);
  margin:0;
  max-width:500px;
}
.public-cta {
  align-items:center;
}
.public-cta .primary {
  box-shadow:0 5px 14px color-mix(in srgb, var(--coral) 19%, transparent);
}
.public-cta .primary:hover {
  background:var(--action-fill);
  transform:translateY(-1px);
}
.public-cta .secondary {
  padding:0;
}
.public-hero .quiet-note {
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:24px;
  color:var(--muted);
}
.quiet-note i {
  width:7px;
  height:7px;
  border-radius:50%;
  flex:none;
}
.public-art {
  background:none;
  border:0;
  border-radius:0;
  overflow:visible;
  place-items:center;
}
.public-art:before {
  width:390px;
  height:390px;
  right:2%;
  top:25px;
  bottom:auto;
  background:radial-gradient(circle,#abd5ff8c,transparent 68%);
  filter:blur(2px);
}
.public-art:after {
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  left:0;
  bottom:0;
  background:radial-gradient(circle,#ffddb06b,transparent 70%);
  pointer-events:none;
}
.reference-teacher {
  position:relative;
  z-index:1;
  width:min(100%,390px);
  padding:27px;
  background:#fff;
  border-radius:var(--radius-control);
  box-shadow:0 16px 45px #0000001a;
  transform:rotate(1.5deg);
  transition:transform .25s,box-shadow .25s;
}
.reference-teacher:hover {
  transform:rotate(0);
  box-shadow:0 20px 55px #0000001f;
}
.preview-topline,.preview-foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  color:var(--muted);
}
.preview-topline small {
  font-size:10px;
}
.teacher-identity {
  display:flex;
  align-items:center;
  gap:13px;
  margin:26px 0 20px;
}
.teacher-identity h2 {
  margin:0 0 5px;
  font-size:21px;
  letter-spacing:-.03em;
}
.teacher-identity p {
  margin:0;
  font-size:12px;
  line-height:1.5;
}
.teacher-avatar {
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  flex:none;
  background:var(--green-soft);
  color:var(--green);
  border-radius:var(--radius-control);
  font-size:20px;
  font-weight:650;
}
.verified {
  width:20px;
  height:20px;
  margin-left:auto;
  display:grid;
  place-items:center;
  background:var(--coral);
  color:#fff;
  border-radius:50%;
  font-size:12px;
}
.teacher-tags {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.teacher-tags span {
  font-size:11px;
  padding:7px 10px;
  color:var(--muted);
  background:var(--paper);
  border-radius:var(--radius-tag);
}
.preview-divider {
  height:1px;
  margin:24px 0 17px;
  background:var(--line);
}
.preview-foot strong {
  font-size:12px;
  color:var(--ink);
  font-weight:650;
}
.preview-caption {
  margin-top:22px;
  color:var(--coral);
  font-size:13px;
  font-weight:650;
}
.float-note {
  z-index:2;
  position:absolute;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 15px;
  background:#ffffffde;
  border:1px solid #ffffffe6;
  border-radius:var(--radius-control);
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
}
.float-note strong,.float-note small {
  display:block;
}
.float-note small {
  margin-top:4px;
}
.float-symbol {
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border-radius:var(--radius-control);
  font-size:13px;
  color:white;
  background:var(--mint);
}
.float-note-bottom .float-symbol {
  background:var(--green-soft);
  color:var(--coral);
}
.reference-trust {
  background:#ffffff7a;
  border-block:1px solid var(--line);
}
.reference-trust-inner {
  max-width:1200px;
  width:calc(100% - 48px);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
}
.reference-trust-inner>div {
  padding:22px 16px;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:10px;
  border-right:1px solid var(--line);
}
.reference-trust-inner>div:first-child {
  border-left:1px solid var(--line);
}
.reference-trust strong {
  font-size:20px;
  letter-spacing:-.04em;
}
.reference-trust span {
  font-size:13px;
  color:var(--muted);
}
.section-kicker {
  color:var(--coral);
  font-size:11px;
  letter-spacing:.15em;
  font-weight:700;
  margin:0 0 18px;
}
.public-section .lead {
  margin:0 0 36px;
}
.trust-item {
  transition:transform .2s,box-shadow .2s;
}
.trust-item:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.trust-item strong {
  font-weight:650;
}
.trust-item h3 {
  letter-spacing:-.04em;
}
.trust-item span {
  margin:0;
}
.learning-banner {
  margin-top:48px;
  width:100%;
  height:auto;
  border-radius:var(--radius-card);
}
.welfare-section {
  padding-top:10px;
}
.welfare-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:36px;
  margin-bottom:30px;
}
.welfare-heading .lead {
  margin-bottom:0;
}
.welfare-aside {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  max-width:230px;
  margin:0 0 2px;
}
.media-row {
  gap:18px;
  padding:0 0 18px;
  scrollbar-color:var(--green-soft) transparent;
  scrollbar-width:thin;
}
.media-card {
  min-width:320px;
  height:264px;
  padding:24px;
  flex:0 0 29%;
  color:var(--ink);
  border:1px solid #00000008;
  border-radius:var(--radius-card);
  isolation:isolate;
}
.media-card:nth-child(1) {
  background:var(--green-soft);
}
.media-card:nth-child(2) {
  background:#f5e9dd;
}
.media-card:nth-child(3) {
  background:#e4eee6;
}
.media-card:nth-child(4) {
  background:var(--green-soft);
}
.media-card:after {
  color:var(--muted);
  top:20px;
  right:22px;
}
.media-card b {
  font-size:17px;
  letter-spacing:-.03em;
  z-index:1;
}
.media-card span {
  color:#626a72;
  font-size:12px;
  z-index:1;
}
.welfare-art {
  position:absolute;
  inset:16px 12px auto;
  width:calc(100% - 24px);
  height:160px;
  opacity:.8;
  z-index:0;
}
.public-footer {
  max-width:1200px;
  width:calc(100% - 48px);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
}
.public-footer p {
  margin:0;
}
.auth-page.visible {
  display:block;
}
.auth-brandbar {
  width:calc(100% - 48px);
  height:82px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.auth-brandbar>span {
  font-size:12px;
}
.auth-intro {
  padding-top:10px;
}
.auth-intro>p:not(.section-kicker) {
  max-width:280px;
  color:var(--muted);
  font-size:15px;
  line-height:1.8;
  margin:0;
}
.auth-assurance {
  color:var(--muted);
  font-size:13px;
}
.auth-assurance i {
  font-size:12px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  flex:none;
}
.auth-illustration {
  width:280px;
  max-width:100%;
  margin-top:42px;
  border-radius:var(--radius-control);
  opacity:.9;
}
.auth-card {
  width:100%;
}
.auth-head {
  flex-wrap:wrap;
  margin-bottom:24px;
}
.auth-head>div {
  width:100%;
}
.auth-head h2 {
  letter-spacing:-.05em;
}
.auth-close {
  order:-1;
  min-height:26px;
  margin-left:0;
}
.auth-close:hover {
  color:var(--green);
}
.auth-role button {
  display:flex;
  align-items:center;
  text-align:left;
}
.auth-role button.active,.auth-role button:hover {
  border-color:color-mix(in srgb, var(--coral) 50%, transparent);
  background:var(--green-soft);
  color:var(--ink);
}
.role-symbol {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:none;
  border-radius:var(--radius-control);
  font-size:14px;
  font-weight:700;
  background:var(--green-soft);
  color:var(--green);
}
[data-auth-role=parent] .role-symbol {
  background:#fff0dd;
  color:#a26830;
}
[data-auth-role=teacher] .role-symbol {
  background:#e6f5e8;
  color:#47865a;
}
.role-copy b,.role-copy small {
  display:block;
}
.role-copy b {
  font-size:14px;
  font-weight:650;
}
.role-copy small {
  font-size:11px;
  font-weight:400;
  color:var(--muted);
  margin-top:5px;
}
.role-tick {
  margin-left:auto;
  color:var(--coral);
  opacity:0;
}
.auth-role button.active .role-tick {
  opacity:1;
}
.form-grid {
  gap:22px 14px;
}
.form-field {
  gap:8px;
}
.form-field label {
  color:var(--ink);
  font-size:12px;
  font-weight:650;
  line-height:1.6;
}
.form-field input,.form-field select,.form-field textarea {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  min-height:49px;
  padding:12px 14px;
  font-size:14px;
}
.form-field textarea {
  min-height:100px;
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus {
  border-color:var(--coral);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--coral) 9%, transparent);
}
.form-field input::placeholder,.form-field textarea::placeholder {
  color:var(--muted);
}
.form-field small {
  font-size:11px;
  line-height:1.65;
}
.subject-picker,.week-picker {
  gap:9px;
}
.subject-chip,.week-picker button,.slot {
  font-size:12px;
  min-height:40px;
  border-radius:var(--radius-tag);
  color:var(--muted);
  padding:9px 11px;
  background:#fff;
  border:1px solid var(--line);
}
.subject-chip.on,.week-picker button.active,.slot.on {
  background:var(--green-soft);
  border-color:color-mix(in srgb, var(--coral) 50%, transparent);
  color:var(--coral);
}
.day-slots {
  background:var(--green-soft);
  padding:14px;
  border-radius:var(--radius-control);
  gap:10px;
}
.map-box {
  background-color:var(--green-soft);
  background-image:linear-gradient(30deg,transparent 46%,#fff 47%,#fff 50%,transparent 51%),linear-gradient(120deg,transparent 45%,#fff 46%,#fff 50%,transparent 51%);
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  height:128px;
  color:var(--muted);
}
.map-box span {
  box-shadow:var(--shadow);
}
.auth-submit {
  border-radius:var(--radius-card);
  min-height:48px;
  background:var(--coral);
  font-size:15px;
  box-shadow:0 5px 14px color-mix(in srgb, var(--coral) 19%, transparent);
  margin-top:26px;
}
.auth-submit:hover {
  background:var(--action-fill);
}
.auth-submit.checked {
  background:var(--green-soft);
  color:#26743c;
  box-shadow:none;
}
.auth-foot {
  margin-top:18px;
  line-height:1.8;
  color:var(--muted);
  font-size:11px;
}
.file-input::file-selector-button {
  background:var(--paper);
  color:var(--ink);
  border:0;
  border-radius:7px;
  padding:7px 10px;
  margin-right:10px;
  font:inherit;
}
.form-feedback {
  color:#c33d32;
}
.form-feedback.success {
  color:#26743c;
}
.brand {
  display:flex;
  align-items:center;
  padding:0 8px 34px;
}
.brand:before {
  content:"放";
  display:grid;
  place-items:center;
  background:var(--ink);
  color:white;
  width:30px;
  height:30px;
  font-size:16px;
  font-weight:700;
  border-radius:var(--radius-control);
  flex:none;
}
.brand strong {
  letter-spacing:-.03em;
}
.role-label {
  letter-spacing:0;
}
.nav button:hover,.nav button.active {
  background:var(--green-soft);
  color:var(--coral);
}
.side-bottom {
  border-top:1px solid var(--line);
  padding:16px 8px 0;
}
.home-link,.profile-edit {
  color:var(--coral);
}
.home-link:hover,.profile-edit:hover {
  color:var(--green);
}
.avatar {
  color:var(--green);
  background:var(--green-soft);
  border-radius:12px;
}
.profile span {
  color:var(--muted);
}
.topbar {
  background: var(--paper);
  border-color:var(--line);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
.role-switch {
  background:var(--green-soft);
}
.notify {
  border:1px solid var(--line);
  border-radius:50%;
}
.hero h1 {
  font-size:38px;
  letter-spacing:-.05em;
  font-weight:650;
}
.hero p {
  line-height:1.7;
}
.eyebrow {
  font-size:11px;
  letter-spacing:.12em;
}
.date {
  font-size:11px;
}
.date strong {
  font-size:12px;
  font-weight:650;
}
.card {
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  padding:26px;
}
.card h2 {
  font-size:18px;
  font-weight:650;
  letter-spacing:-.03em;
}
.card .sub {
  line-height:1.65;
}
.card.dark {
  background:var(--ink);
  border-color:var(--ink);
}
.checkin:after {
  background:radial-gradient(circle,#6ca2d542,transparent 68%);
}
.checkin .big,.checkin .unit {
  color:var(--green-soft);
}
.btn-primary {
  background:var(--coral);
  border-radius:var(--radius-control);
  box-shadow:0 5px 14px color-mix(in srgb, var(--coral) 13%, transparent);
  min-height:44px;
  font-weight:650;
}
.btn-primary:hover {
  background:var(--action-fill);
  transform:translateY(-1px);
}
.btn-primary.checked {
  background:var(--green-soft);
  color:#26743c;
}
.pill {
  color:var(--amber-ink,var(--coral));
  background:var(--blue-soft);
  font-weight:650;
}
.pill.mint {
  color:#287a3e;
  background:var(--green-soft);
}
.task {
  background:#fafafa;
  border-color:var(--line);
  border-radius:var(--radius-control);
}
.task.done {
  background:#f1f8f3;
  border-color:#dbe9df;
}
.task.done .task-check {
  background:#34a853;
  border-color:#34a853;
  color:white;
}
.task-tag {
  background:var(--coral);
  font-size:10px;
}
.task-tag.b {
  background:var(--action-fill);
}
.task-tag.c {
  background:#72a889;
}
.task.done .task-title {
  color:#6c8172;
}
.progress {
  background:var(--green-soft);
}
.progress i {
  background:var(--coral);
}
.course-mark {
  background:var(--green-soft);
  color:var(--coral);
  border-radius:var(--radius-control);
}
.review {
  background:var(--green-soft);
  color:var(--ink);
  border-color:var(--line);
}
.review h2 {
  color:var(--ink);
}
.review .sub {
  color:var(--muted);
}
.review .link {
  color:var(--coral)!important;
}
.review .review-score {
  color:var(--coral);
}
.metric strong {
  font-size:32px;
  font-weight:650;
  letter-spacing:-.05em;
}
.metric .delta {
  color:#287a3e;
}
.service-step {
  box-shadow:none;
  border-color:var(--line);
  border-radius:var(--radius-control);
}
.service-step.active {
  background:var(--green-soft);
  border-color:var(--line);
}
.service-step b {
  font-weight:650;
}
.service-step em {
  color:var(--coral);
}
.radar {
  background:conic-gradient(#b4d4f74d,#d9e5f44d,#c4e1e34d,#b4d4f74d);
}
.radar:before {
  background:#84afdb66;
}
.note {
  background:var(--green-soft);
  border-color:var(--coral);
  color:var(--muted);
}
.todo {
  background:var(--green-soft);
  border-radius:var(--radius-control);
}
.todo .todo-icon {
  background:var(--green-soft);
  color:var(--coral);
  border-radius:var(--radius-control);
}
.status {
  background:var(--green-soft);
  color:#287a3e;
}
.status.pending {
  background:var(--peach-soft);
  color:#96632c;
}
.ops-hero {
  background:var(--green-soft);
  border:1px solid var(--line);
  color:var(--ink);
}
.ops-hero p {
  color:var(--muted);
}
.ops-badge {
  color:#287a3e;
  background:#e0f0e4;
  font-weight:650;
}
.bar-col i,.bar-col:nth-child(2n) i {
  background:linear-gradient(var(--action-fill),var(--green-soft));
}
.bar-col:nth-child(2n) i {
  background:linear-gradient(var(--green-soft),var(--green-soft));
}
.screen-overlay {
  -webkit-backdrop-filter:blur(14px);
}
.sub-card {
  background:#fafafa;
  border-color:var(--line);
  border-radius:var(--radius-sub);
}
.sub-card strong {
  font-weight:650;
}
.empty-note {
  background:var(--paper);
  color:var(--muted);
  font-size:13px;
}
.form-bar .filter {
  background:var(--paper);
  border-radius:var(--radius-card);
}
.form-bar .filter.on {
  background:var(--blue-soft);
  color:var(--coral);
}
.photo-preview {
  background:var(--paper);
  padding:10px;
  border-radius:var(--radius-control);
  width:auto;
  max-width:100%;
  font-size:12px;
}
.photo-preview small {
  color:#96632c;
}
.brand:before,.identity-mark {
  display:none!important;
}
.brand {
  gap:0;
}
.brand strong:after {
  content:none!important;
}
@media(max-width:920px) {
  .brand strong {
    display:block!important;
    font-size:14px!important;
    letter-spacing:1px!important;
  }
}
@media(min-width:1600px) {
  .public-hero {
    gap:80px;
  }
}
@media(max-width:1100px) {
  .public-hero {
    gap:32px;
  }
  .public-hero-copy {
    padding-left:0;
  }
  .public-hero h1 {
    font-size:58px;
  }
  .public-links {
    gap:22px;
  }
  .public-hero {
    min-height:610px;
  }
  .auth-layout {
    grid-template-columns:280px minmax(0,1fr);
    gap:48px;
  }
  .auth-intro h1 {
    font-size:52px;
  }
  .float-note-top {
    right:-8px;
  }
  .float-note-bottom {
    left:-12px;
  }
}
@media(max-width:920px) {
  .sidebar {
    width:76px;
    padding:24px 10px;
  }
  .brand {
    padding:0 0 28px;
    justify-content:center;
  }
  .brand strong {
    display:none;
  }
  .brand:before {
    width:32px;
    height:32px;
  }
  .main {
    margin-left:76px;
  }
  .content {
    padding:34px 24px 64px;
  }
  .topbar {
    padding:0 24px;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .role-label {
    display:none;
  }
  .side-bottom {
    padding:14px 0 0;
  }
  .nav button {
    justify-content:center;
    padding:13px;
  }
  .public-links {
    display:none;
  }
  .public-hero h1 {
    font-size:48px;
  }
  .reference-teacher {
    padding:22px;
  }
  .teacher-identity {
    gap:10px;
  }
  .teacher-identity p {
    font-size:11px;
  }
  .float-note {
    padding:10px 12px;
  }
  .float-note-top {
    top:54px;
  }
  .float-note-bottom {
    bottom:40px;
  }
  .public-hero {
    min-height:570px;
    padding:32px 0 56px;
  }
  .public-art {
    min-height:440px;
  }
  .public-hero p {
    font-size:16px;
  }
  .public-cta {
    gap:16px;
  }
  .public-cta button {
    font-size:13px;
    padding:0 17px;
  }
  .auth-layout {
    grid-template-columns:240px minmax(0,1fr);
    gap:32px;
  }
  .auth-card {
    padding:28px;
  }
  .auth-intro h1 {
    font-size:46px;
  }
  .auth-illustration {
    margin-top:32px;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
  .form-field.full {
    grid-column:auto;
  }
  .trust-item {
    padding:24px;
  }
  .welfare-heading {
    align-items:flex-start;
  }
  .welfare-aside {
    max-width:180px;
  }
}
@media(max-width:760px) {
  .auth-layout {
    grid-template-columns:1fr;
    max-width:560px;
    gap:30px;
    padding:24px 0 56px;
  }
  .auth-intro {
    position:static;
    padding:0;
  }
  .auth-intro h1 {
    font-size:42px;
    line-height:1.18;
    margin:12px 0;
  }
  .auth-intro h1 br {
    display:none;
  }
  .auth-intro>p:not(.section-kicker) {
    max-width:100%;
    font-size:14px;
  }
  .auth-intro .section-kicker {
    margin-bottom:10px;
  }
  .auth-assurance,.auth-illustration {
    display:none;
  }
  .auth-brandbar {
    height:70px;
  }
  .auth-card {
    padding:26px;
  }
  .auth-head>div {
    width:100%;
  }
  .auth-close {
    margin-left:0;
  }
  .form-field input,.form-field select,.form-field textarea {
    font-size:16px;
  }
  .screen-drawer {
    padding:24px;
    border-radius:var(--radius-card);
  }
  .screen-drawer-head {
    top:-24px;
  }
  .public-hero {
    grid-template-columns:1fr;
    gap:14px;
    max-width:560px;
    padding:40px 0 40px;
  }
  .public-hero h1 {
    font-size:clamp(43px,8vw,62px);
  }
  .public-hero-copy {
    padding:0;
  }
  .public-art {
    min-height:400px;
    width:100%;
    max-width:460px;
    margin:auto;
  }
  .reference-teacher {
    width:min(88%,390px);
    padding:25px;
  }
  .float-note-top {
    right:0;
    top:32px;
  }
  .float-note-bottom {
    left:0;
    bottom:24px;
  }
  .public-hero p {
    font-size:16px;
  }
  .public-hero .quiet-note {
    font-size:11px;
  }
  .public-cta button {
    font-size:14px;
  }
  .public-section {
    padding:72px 0;
  }
  .trust-row {
    grid-template-columns:1fr;
    gap:12px;
    margin-top:30px;
  }
  .trust-item {
    min-height:0;
    padding:26px;
  }
  .trust-item h3 {
    margin:18px 0 10px;
  }
  .learning-banner {
    margin-top:26px;
    border-radius:var(--radius-control);
  }
  .reference-trust-inner {
    width:100%;
  }
  .reference-trust-inner>div {
    padding:20px 6px;
    flex-direction:column;
    align-items:center;
    gap:6px;
  }
  .reference-trust-inner>div:first-child {
    border-left:0;
  }
  .reference-trust-inner>div:last-child {
    border-right:0;
  }
  .reference-trust strong {
    font-size:19px;
  }
  .reference-trust span {
    font-size:11px;
  }
  .welfare-heading {
    display:block;
  }
  .welfare-aside {
    max-width:none;
    margin-top:20px;
    font-size:11px;
  }
  .welfare-section {
    padding-top:0;
  }
  .media-card {
    min-width:280px;
    height:254px;
  }
  .public-section .lead {
    font-size:15px;
  }
  .public-section h2 {
    font-size:36px;
  }
  .public-footer {
    align-items:flex-start;
    flex-direction:column;
    gap:15px;
    padding:26px 0;
  }
  .public-footer p {
    font-size:11px;
  }
}
@media(max-width:620px) {
  .public-nav {
    gap:12px;
  }
  .public-nav-actions {
    gap:16px;
  }
  .public-nav-actions button {
    font-size:12px;
  }
  .public-nav-actions .solid {
    padding:9px 13px;
  }
  .public-kicker {
    font-size:11px;
  }
  .public-hero h1 {
    font-size:46px;
  }
  .public-hero {
    padding-top:30px;
  }
  .public-art:before {
    width:100%;
    height:350px;
    top:10px;
  }
  .teacher-identity p {
    font-size:11px;
  }
  .preview-foot {
    font-size:11px;
  }
  .preview-foot strong {
    font-size:11px;
  }
  .float-note strong {
    font-size:11px;
  }
  .float-note small {
    font-size:10px;
  }
  .auth-layout {
    width:calc(100% - 32px);
  }
  .auth-brandbar {
    width:calc(100% - 40px);
  }
  .auth-card {
    padding:24px;
  }
  .auth-intro {
    padding:0 8px;
  }
  .auth-intro h1 {
    font-size:38px;
  }
  .auth-intro h1 br {
    display:block;
  }
  .auth-intro>p:not(.section-kicker) {
    max-width:290px;
  }
  .auth-head h2 {
    font-size:25px;
  }
  .role-copy small {
    font-size:11px;
  }
  .hero h1 {
    font-size:28px;
  }
  .content {
    padding:30px 18px 56px;
  }
  .topbar {
    padding:0 18px;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .card {
    padding:22px;
  }
  .metric-grid {
    grid-template-columns:1fr;
  }
  .screen-drawer {
    padding:22px;
  }
  .screen-drawer-head {
    top:-22px;
  }
  .screen-drawer-head h2 {
    font-size:25px;
  }
  .screen-overlay {
    padding:10px;
  }
  .teacher-metrics {
    grid-template-columns:1fr;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  .reference-teacher {
    transform:none;
  }
  .trust-item:hover {
    transform:none;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

/*  Migrated component rules: frontend/demo-motion.css  */
.demo-auth-panel {
  display:grid;
  gap:8px;
  margin-top:14px;
  padding:14px 16px;
  background:var(--green-soft);
  border:1px solid color-mix(in srgb, var(--coral) 20%, transparent);
  border-radius:var(--radius-sub);
}
.demo-auth-panel[hidden] {
  display:none;
}
.demo-auth-panel button {
  min-height:44px;
  border:0;
  border-radius:var(--radius-control);
  background:var(--green-soft);
  color:var(--green);
  font-size:14px;
  font-weight:650;
}
.demo-auth-panel button:hover {
  background:var(--green-soft);
  transform:translateY(-1px);
}
.demo-auth-panel p {
  margin:0;
  color:#6e6e73;
  font-size:11px;
  line-height:1.6;
}
.hero-carousel {
  container-type:inline-size;
}
.hero-slide-stage {
  position:relative;
}
.hero-slide {
  grid-area:1/1;
  opacity:0;
  pointer-events:none;
  filter:blur(8px);
  transform:translateY(18px);
  transition:opacity 240ms ease,filter 420ms ease,transform 420ms cubic-bezier(.2,.75,.25,1);
}
.hero-slide.is-active {
  opacity:1;
  pointer-events:auto;
  filter:none;
  transform:none;
}
.hero-slide.is-leaving {
  opacity:0;
  filter:blur(8px);
  transform:translateY(-15px);
}
.hero-slide h1 {
  white-space:normal;
}
.hero-slide-nav button {
  border-bottom:2px solid transparent;
}
.hero-slide-nav button.is-active {
  color:var(--coral);
}
.hero-slide-nav button:hover {
  color:var(--green);
}
.hero-slide-nav button:focus-visible {
  outline-offset:5px;
}
.public-art,.public-art:hover {
  box-shadow:none!important;
  border:0!important;
  outline:0!important;
  background:none!important;
  transform:none!important;
}
.reference-teacher {
  outline:0;
  border:1px solid var(--line);
}
.reference-teacher:focus-within {
  outline:3px solid color-mix(in srgb, var(--coral) 20%, transparent);
  outline-offset:4px;
}
.reference-teacher:hover {
  border-color:var(--line);
}
.reveal-on-scroll.is-visible {
  opacity:1;
  transform:none;
  filter:none;
}
@supports (font-size:1cqi) {
  .hero-slide h1 {
    font-size:clamp(35px,10.6cqi,68px);
  }
  .hero-slide p {
    font-size:clamp(14px,3.1cqi,18px);
  }
}
@media(max-width:920px) {
  .hero-slide-stage {
    min-height:288px;
  }
  .hero-slide-nav {
    margin-top:22px;
  }
  .hero-slide-nav button {
    padding-inline:6px;
  }
  .hero-slide-nav button span {
    display:none;
  }
}
@media(max-width:760px) {
  .hero-slide-stage {
    min-height:270px;
  }
  .hero-slide h1 {
    white-space:normal;
    min-height:2.25em;
  }
  .hero-slide p {
    min-height:6.8em;
  }
  .hero-slide-nav {
    margin-top:8px;
  }
  .hero-slide-nav button {
    min-height:40px;
  }
  .demo-auth-panel {
    margin-top:12px;
  }
}
@media(max-width:620px) {
  .hero-slide-stage {
    min-height:287px;
  }
  .hero-slide h1 {
    font-size:46px;
  }
  .hero-slide p {
    font-size:16px;
    line-height:1.7;
  }
  .hero-slide-nav {
    gap:5px;
  }
  .hero-slide-nav button {
    font-size:10px;
    padding-inline:4px;
  }
  .hero-slide-nav button b {
    font-size:10px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .hero-slide,.reveal-on-scroll,.reveal-on-scroll.is-visible {
    transition:none!important;
    filter:none!important;
    transform:none!important;
  }
  .hero-slide:not(.is-active) {
    display:none;
  }
  .demo-auth-panel button:hover {
    transform:none;
  }
}

/*  Migrated component rules: frontend/family.css  */
.public-nav {
  background:color-mix(in srgb, var(--paper) 94%, transparent);
}
.public-links {
  font-size:17px;
  font-weight:650;
  color:var(--ink);
}
.public-links a {
  white-space:nowrap;
}
.public-links .charity-link {
  background:var(--green-soft);
  border-radius:var(--radius-card);
  padding:0 16px;
}
.hero-slide-nav button {
  font-size:14px!important;
}
.hero-slide-nav span {
  font-weight:650;
}
.public-hero .hero-slide-nav button {
  min-height:44px;
}
.public-links a:hover {
  background:var(--green-soft);
  border-radius:var(--radius-card);
}
.mobile-charity {
  display:none;
}
.growth-section {
  padding-top:50px;
}
.growth-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px;
}
.growth-heading .lead {
  max-width:480px;
}
.growth-grid {
  display:grid;
}
.growth-card {
  background:white;
  border:1px solid var(--line);
  position:relative;
  min-width:0;
}
.growth-icon {
  width:48px;
  height:48px;
  color:var(--course-color,var(--green));
  border-radius:var(--radius-control);
  font-size:26px;
  margin-bottom:30px;
}
.growth-card p {
  color:var(--muted);
}
.growth-card .course-status {
  font-size:11px;
  right:22px;
  top:28px;
  color:var(--muted);
}
.growth-card .link {
  text-align:left;
}
.growth-selector {
  background:var(--sand);
  padding:20px;
  border-radius:var(--radius-control);
}
.growth-selector h3 {
  margin:0 0 8px;
  font-size:20px;
}
.growth-selector>p {
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
  margin:0 0 20px;
}
.growth-selector .growth-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.growth-selector .growth-card {
  padding:16px;
  border-radius:var(--radius-control);
}
.growth-selector .growth-icon {
  width:34px;
  height:34px;
  font-size:21px;
  margin-bottom:16px;
}
.growth-selector .growth-card h3 {
  font-size:16px;
}
.growth-selector .growth-card p {
  font-size:12px;
  margin-bottom:12px;
}
.growth-selector .course-status {
  top:20px;
  right:12px;
  font-size:10px;
}
.growth-selector .subject-chip {
  width:100%;
  text-align:center;
  font-size:12px;
  min-height:40px;
}
.growth-selector .growth-card:has(.subject-chip.on) {
  border-color:var(--coral);
  background:var(--green-soft);
}
.growth-selector .link {
  font-size:12px;
  display:block;
}
.growth-selector .growth-card p {
  min-height:40px;
}
.invite-entry {
  display:block;
  padding:16px 10px;
  color:var(--coral);
  background:var(--blue-soft);
  border:0;
  text-align:center;
}
.auth-role button {
  flex:1;
}
.upload-help {
  padding:14px 16px;
  background:var(--sand);
  border-radius:var(--radius-control);
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
}
.material-preview {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.material-preview figure {
  margin:0;
  max-width:110px;
}
.material-preview img {
  width:100px;
  height:80px;
  object-fit:cover;
  border-radius:var(--radius-control);
}
.material-preview figcaption {
  font-size:11px;
  word-break:break-all;
  color:var(--muted);
}
.family-toolbar {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:28px;
}
.family-shortcut:first-child {
  background:var(--green-soft);
  border-color:var(--line);
}
.family-shortcut strong {
  margin-bottom:8px;
}
.family-shortcut:hover {
  box-shadow:var(--shadow);
}
.demo-record-note {
  border-left:3px solid var(--line);
  margin:0 0 24px;
}
.family-panel {
  color:var(--ink);
}
.family-panel p {
  line-height:1.8;
}
.family-panel h3 {
  font-size:19px;
  margin:0 0 12px;
}
.family-panel button {
  cursor:pointer;
}
.family-panel input,.family-panel select,.family-panel textarea {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  padding:12px;
  background:white;
  font:inherit;
  color:var(--ink);
}
.family-panel label {
  display:grid;
  gap:8px;
  font-size:13px;
  line-height:1.6;
}
.family-panel textarea {
  resize:vertical;
  min-height:100px;
}
.family-form {
  display:grid;
}
.family-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.family-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:18px;
}
.family-actions button,.family-secondary {
  min-height:44px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  padding:10px 18px;
  background:var(--paper);
  color:var(--ink);
  font-size:13px;
}
.family-actions .btn-primary {
  background:var(--coral);
  color:white;
  border-color:var(--coral);
}
.family-card {
  background:var(--green-soft);
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  padding:22px;
  margin-bottom:18px;
}
.family-card-head {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.family-card small {
  line-height:1.7;
  color:var(--muted);
}
.family-muted {
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
}
.family-feedback {
  font-size:13px;
  color:#bd3e32;
  line-height:1.8;
  min-height:22px;
  white-space:pre-line;
}
.family-feedback.success {
  color:#26743c;
}
.family-empty {
  margin-bottom:22px;
}
.family-empty h3 {
  margin:12px 0;
}
.family-stat {
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  background:var(--green-soft);
  color:var(--coral);
  border-radius:var(--radius-control);
  margin:0 auto;
  font-size:28px;
}
.invite-code {
  font-family:monospace;
  word-break:break-all;
}
.invite-share {
  display:grid;
  grid-template-columns:148px 1fr;
  gap:22px;
  align-items:center;
  margin:20px 0;
}
.invite-qr svg {
  width:148px;
  height:auto;
  max-width:100%;
  display:block;
}
.family-steps {
  display:flex;
  margin-bottom:24px;
  font-size:12px;
  color:var(--muted);
}
.family-steps span {
  padding:8px 13px;
  border-radius: var(--radius-control);
  background:var(--green-soft);
}
.family-subsection {
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.score-methods {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
}
.score-methods button {
  min-height:44px;
  padding:10px 16px;
  border-radius:var(--radius-control);
  border:1px solid var(--line);
  background:white;
  color:var(--ink);
}
.score-methods .active {
  background:var(--green-soft);
  border-color:var(--line);
  color:var(--green);
}
.score-table-wrap {
  margin-top:18px;
}
.score-table {
  border-collapse:collapse;
  width:100%;
}
.score-table th {
  text-align:left;
  padding:12px 6px;
  white-space:nowrap;
}
.score-table td {
  padding:7px 5px;
  border-bottom:1px solid var(--line);
}
.score-table input,.score-table select {
  padding:10px;
  min-width:72px;
}
.score-table select {
  min-width:94px;
}
.score-remove {
  border:0;
  background:var(--paper);
  border-radius:var(--radius-control);
  min-width:36px;
  min-height:40px;
}
.score-review {
  background:var(--green-soft);
  border-radius:var(--radius-control);
  padding:18px;
}
.score-history {
  margin-top:30px;
}
.score-history h3 {
  margin-bottom:16px;
}
.score-summary {
  font-size:13px;
  line-height:1.8;
}
.score-summary span {
  display:inline-block;
  margin-right:16px;
}
.family-badge {
  display:inline-block;
  border-radius:var(--radius-tag);
  background:#e7f2eb;
  color:#287443;
  padding:5px 10px;
  font-size:11px;
  white-space:nowrap;
}
.family-panel details {
  padding:14px 0;
}
.family-panel summary {
  cursor:pointer;
  color:var(--coral);
  font-size:13px;
  min-height:30px;
}
.family-panel button:disabled {
  opacity:.55;
  cursor:wait;
}
.welfare-stories {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:17px;
  font-weight:650;
  color:var(--coral);
  margin:18px 0;
}
.welfare-section .media-card {
  cursor:pointer;
}
.welfare-section .media-card:focus-visible {
  outline:3px solid var(--coral);
  outline-offset:3px;
}
.material-consent {
  display:flex!important;
  align-items:start;
  gap:10px!important;
  font-size:12px!important;
}
.material-consent input {
  width:18px!important;
  flex:none;
  margin-top:2px;
}
.student-login-toggle {
  border:0;
  background:none;
  color:var(--coral);
  font-size:13px;
  margin-top:10px;
}
@media(max-width:1100px) {
  .public-nav {
    gap:14px;
  }
  .public-links {
    font-size:16px;
    gap:6px;
  }
  .public-nav-actions {
    gap:12px;
  }
  .api-status {
    display:none;
  }
  .growth-heading {
    display:block;
  }
}
@media(max-width:920px) {
  .public-links {
    display:flex;
  }
  .public-links a:not(.charity-link) {
    display:none;
  }
  .public-nav {
    justify-content:space-between;
  }
  .growth-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px) {
  .public-nav {
    width:calc(100% - 28px);
    gap:6px;
    height:70px;
  }
  .public-brand {
    font-size:17px;
  }
  .public-links .charity-link {
    font-size:14px;
    padding:0 12px;
  }
  .public-nav-actions {
    gap:10px;
  }
  .public-nav-actions button {
    min-height:44px;
  }
  .public-nav-actions .solid {
    display:none;
  }
  .family-toolbar {
    grid-template-columns:1fr;
  }
  .family-shortcut {
    padding:18px;
  }
  .family-fields {
    grid-template-columns:1fr;
  }
  .family-card {
    padding:18px;
  }
  .invite-share {
    grid-template-columns:1fr;
  }
  .invite-qr {
    display:flex;
    justify-content:center;
  }
  .growth-grid {
    grid-template-columns:1fr;
  }
  .growth-card {
    padding:24px;
  }
  .growth-selector {
    padding:14px;
  }
  .growth-selector .growth-grid {
    grid-template-columns:1fr;
  }
  .growth-selector .growth-card p {
    min-height:0;
  }
  .family-steps {
    gap:6px;
  }
  .family-steps span {
    padding:7px 9px;
    font-size:11px;
  
  border-radius: var(--radius-control);
}
  .family-panel {
    font-size:14px;
  }
  .family-panel input,.family-panel select {
    font-size:16px;
  }
  .auth-role {
    flex-direction:column;
  }
  .score-table {
    min-width:480px;
  }
  .hero-slide-nav span {
    font-size:12px!important;
  }
  .family-card-head {
    align-items:start;
  }
  .screen-drawer {
    max-width:100%;
  }
}
#studentPasswordField[hidden],#studentLoginToggle[hidden],#scoreForm[hidden],#scoreReview[hidden] {
  display:none!important;
}
.auth-intro {
  align-self:start;
}
.family-panel,.family-form,.family-form>* {
  min-width:0;
  max-width:100%;
}
.score-table-wrap {
  width:100%;
}
.family-panel {
  overflow-wrap:anywhere;
}
.score-table {
  overflow-wrap:normal;
}
.family-panel [hidden] {
  display:none!important;
}
@media(max-width:760px) {
  .auth-intro {
    position:static;
  }
  .course {
    flex-wrap:wrap;
  }
  .course>div:nth-child(2) {
    flex:1;
    min-width:130px;
  }
  .hero-slide-nav button span {
    display:inline;
  }
  .hero-slide-nav button {
    gap:4px;
  }
  .public-hero .hero-slide-nav {
    gap:6px;
    justify-content:space-between;
  }
}
.auth-page .auth-intro {
  top:50px;
}
.family-panel .score-form {
  grid-template-columns:minmax(0,1fr);
}
@media(max-width:1100px) {
  .auth-intro h1 {
    font-size:42px;
  }
}
@media(max-width:760px) {
  .auth-intro h1 {
    font-size:38px;
  }
}
@media(max-width:620px) {
  .public-nav-actions .solid {
    display:block;
    padding:8px 10px;
    font-size:11px;
  }
  .public-nav-actions {
    gap:8px;
  }
  .public-links .charity-link {
    padding:0 10px;
  }
  .public-nav {
    gap:4px;
  }
}
.screen-drawer:focus {
  outline:none;
}
@media(max-width:620px) {
  .score-table {
    display:block;
    min-width:0;
  }
  .score-table thead {
    display:none;
  }
  .score-table tbody {
    display:grid;
    gap:14px;
  }
  .score-table tr {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
    padding:16px;
    background:var(--sand);
    border-radius:var(--radius-control);
  }
  .score-table td {
    padding:0;
    min-width:0;
    border:0;
  }
  .score-table td[data-label]:before {
    content:attr(data-label);
    display:block;
    font-size:12px;
    color:var(--muted);
    margin-bottom:8px;
  }
  .score-table td:last-child {
    grid-column:1/-1;
    text-align:right;
  }
  .score-table input,.score-table select {
    min-width:0;
    width:100%;
  }
  .score-remove {
    min-height:36px;
    min-width:44px;
  }
  .score-table-wrap {
    overflow:visible;
  }
}
@media(max-width:620px) {
  .course-card {
    flex-wrap:wrap;
    gap:16px;
  }
  .course-card>div:nth-child(2) {
    flex:1;
    min-width:120px;
  }
  .course-side {
    width:100%;
    text-align:left;
    margin-left:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .course-side .link {
    margin-top:0!important;
  }
}
#teachers {
  scroll-margin-top:100px;
}
@media(max-width:1100px) {
  .auth-intro h1 {
    font-size:36px;
  }
}
@media(max-width:760px) {
  .auth-intro h1 {
    font-size:38px;
  }
}
.matching-panel {
  max-width:100%;
}
.matching-subjects {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.matching-subjects .subject-chip {
  min-height:40px;
}
.matching-fieldset {
  margin:0;
}
.matching-fieldset legend {
  padding:0 7px;
}
.matching-days,.matching-slot-panel {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.matching-days {
  margin-bottom:12px;
}
.matching-days label,.matching-slot-panel label {
  cursor:pointer;
}
.matching-days input,.matching-slot-panel input {
  position:absolute;
  opacity:0;
}
.matching-days span,.matching-slot-panel span {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 13px;
  border-radius:var(--radius-card);
  background:var(--sand);
  border:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}
.matching-days input:checked+span,.matching-slot-panel input:checked+span {
  background:var(--green-soft);
  border-color:var(--line);
  color:var(--green);
}
.matching-results {
  margin-top:26px;
}
.matching-result-head {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:20px;
  padding:20px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-bottom:16px;
}
.matching-result-head h3 {
  margin:5px 0 4px;
}
.teacher-match-card {
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  padding:20px;
  background:#fff;
  margin:12px 0;
}
.teacher-match-top {
  display:flex;
  gap:12px;
  align-items:center;
}
.teacher-match-avatar {
  width:44px;
  height:44px;
  border-radius:var(--radius-control);
  background:var(--green-soft);
  color:var(--green);
  display:grid;
  place-items:center;
  font-weight:700;
  font-size:18px;
}
.teacher-match-top h4 {
  margin:0;
  font-size:16px;
}
.teacher-match-top p {
  margin:5px 0 0;
  color:var(--muted);
  font-size:12px;
}
.teacher-match-top .family-badge {
  margin-left:5px;
}
.teacher-match-tags {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:16px 0 12px;
}
.teacher-match-tags span {
  background:var(--sand);
  color:var(--muted);
  border-radius:var(--radius-tag);
  padding:5px 9px;
  font-size:11px;
}
.matching-reasons {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:0;
  color:#287443;
  font-size:12px;
}
.teacher-match-foot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  border-top:1px solid var(--line);
  padding-top:15px;
  margin-top:16px;
}
.teacher-match-foot small {
  color:var(--muted);
  line-height:1.6;
}
.teacher-match-foot .btn-primary {
  white-space:nowrap;
}
.teacher-status-card {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:18px;
  padding:20px;
  border-radius:var(--radius-tag);
  background:var(--sand);
  border:1px solid var(--line);
}
.teacher-status-card h3 {
  margin:0;
}
.family-badge.approved {
  background:#e7f2eb;
  color:#287443;
}
.teacher-trial-section {
  margin-top:30px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.trial-card {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:15px;
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  padding:16px;
  margin:10px 0;
  background:#fff;
}
.trial-card p {
  margin:5px 0;
  color:var(--muted);
  font-size:12px;
}
.trial-card small {
  color:var(--muted);
  font-size:12px;
}
.teacher-matching-toolbar .family-shortcut:first-child {
  background:var(--green-soft);
  border-color:var(--line);
}
@media(max-width:620px) {
  .teacher-matching-toolbar {
    grid-template-columns:1fr;
  }
  .teacher-match-foot {
    align-items:flex-start;
    flex-direction:column;
  }
  .matching-result-head {
    display:block;
  }
  .teacher-status-card {
    display:block;
  }
  .teacher-status-card .family-badge {
    display:inline-block;
    margin-top:12px;
  }
}
.trial-actions,.ops-review-actions {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.trial-actions button,.ops-review-actions button {
  min-height:40px;
  padding:8px 14px;
  border-radius:var(--radius-control);
}
.trial-reject {
  border:1px solid #efc7bf;
  background:#fff5f2;
  color:#a64e42;
}
.ops-review-intro {
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.ops-review-intro h3 {
  margin:4px 0;
}
.ops-teacher-list {
  margin-top:16px;
}
.ops-teacher-card {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  padding:18px;
  margin:10px 0;
  background:#fff;
}
.ops-teacher-head {
  display:flex;
  gap:8px;
  align-items:center;
}
.ops-teacher-card p {
  margin:7px 0 4px;
  color:var(--muted);
  font-size:12px;
}
.ops-teacher-card small {
  color:var(--muted);
  font-size:11px;
}
.family-badge.pending {
  background:#fff0e8;
  color:#c36339;
}
@media(max-width:620px) {
  .ops-teacher-card {
    display:block;
  }
  .ops-review-actions {
    margin-top:15px;
  }
  .trial-actions {
    margin-top:10px;
  }
}
.matching-day-toggle,.matching-slot-panel label {
  display:flex!important;
  align-items:center;
  gap:8px!important;
}
.matching-panel .matching-slot-panel input,.matching-panel .matching-day-toggle input {
  position:static;
  opacity:1;
  width:18px;
  min-height:18px;
  height:18px;
  padding:0;
  flex:none;
  accent-color:var(--coral);
}
.matching-panel .matching-slot-panel label {
  border-radius:var(--radius-sub);
}
.matching-panel .matching-slot-panel input:focus-visible {
  outline:2px solid var(--coral);
}
.demand-day {
  border-bottom:1px solid var(--line);
}
.demand-day:last-child {
  border-bottom:0;
}
.demand-day [data-day-slots] {
  margin-top:12px;
}
.demand-day input[data-time-detail] {
  margin-top:10px;
}
.trial-card {
  flex-wrap:wrap;
}
.trial-card>div:first-child {
  flex:1;
  min-width:180px;
}
.order-card {
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  padding:22px;
  background:#fff;
  margin:14px 0;
}
.order-head {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:start;
}
.order-head h3 {
  margin:5px 0 6px;
}
.order-head p {
  margin:4px 0;
}
.order-pay {
  margin:18px 0;
  padding:16px;
  border-radius:var(--radius-control);
  background:#fff8eb;
  border:1px solid #f0d9a8;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}
.order-pay p {
  margin:0;
  color:#7c5d1e;
  font-size:13px;
  line-height:1.7;
}
.lesson-list {
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.lesson-list h4 {
  margin:0 0 8px;
  font-size:14px;
}
.lesson-row {
  justify-content:space-between;
  align-items:start;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.lesson-row:last-child {
  border-bottom:0;
}
.lesson-row strong {
  font-size:13px;
}
.lesson-row p {
  margin:6px 0 0;
  color:var(--muted);
  font-size:12px;
}
.schedule-form {
  display:flex;
  gap:8px;
  align-items:end;
  flex-wrap:wrap;
}
.schedule-form label {
  font-size:11px!important;
  color:var(--muted);
}
.schedule-form input {
  width:178px!important;
  padding:9px!important;
  font-size:12px!important;
}
.schedule-form button {
  min-height:38px!important;
  padding:8px 13px!important;
  font-size:12px!important;
}
@media(max-width:620px) {
  .order-head,.order-pay {
    display:block;
  }
  .order-head .family-badge {
    display:inline-block;
    margin-top:12px;
  }
  .order-pay .btn-primary {
    width:100%;
    margin-top:10px;
  }
  .lesson-row {
    display:block;
  }
  .schedule-form {
    margin-top:12px;
  }
  .schedule-form label {
    display:block!important;
  }
  .schedule-form input {
    width:100%!important;
  }
}
.lesson-row {
  display:block;
}
.lesson-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.lesson-row .schedule-form {
  display:block;
  margin-top:16px;
  padding:18px;
  border-radius:var(--radius-control);
  background:var(--sand);
}
.schedule-fields {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  gap:12px;
}
.schedule-fields label {
  display:grid!important;
  gap:8px;
  font-size:12px!important;
}
.schedule-fields input,.schedule-fields select {
  width:100%!important;
  min-width:0;
  font-size:14px!important;
  padding:10px!important;
  min-height:44px;
}
.schedule-fields input[readonly] {
  background:var(--sand);
  color:var(--muted);
}
.schedule-summary {
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  align-items:center;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--line);
  font-size:13px;
}
.schedule-summary span {
  color:var(--muted);
}
.schedule-summary output {
  font-weight:650;
  color:var(--green);
}
.lesson-row .schedule-help {
  font-size:12px;
  line-height:1.8;
  margin:10px 0;
}
.lesson-row .schedule-error {
  color:#b64035;
  min-height:0;
  margin:8px 0;
}
.schedule-error:empty {
  display:none;
}
.schedule-form .btn-primary {
  min-height:44px!important;
  font-size:13px!important;
  margin-top:6px;
}
.action-success {
  padding:16px 18px;
  border:1px solid #c5dfce;
  background:#eff8f2;
  color:#26743c;
  font-size:14px;
  border-radius:var(--radius-control);
}
.journey-nav {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:24px;
}
.journey-nav button {
  border:1px solid var(--line);
  background:var(--sand);
  border-radius:var(--radius-control);
  min-height:60px;
  padding:10px;
  font:inherit;
  font-size:12px;
  color:var(--muted);
  text-align:left;
}
.journey-nav small {
  display:block;
  margin-bottom:6px;
  color:var(--muted);
}
.journey-nav [aria-current] {
  background:var(--green-soft);
  border-color:var(--line);
  color:var(--green);
}
.journey-nav button:focus-visible {
  outline:2px solid var(--coral);
  outline-offset:2px;
}
.service-entry {
  margin-bottom:28px;
}
.service-entry h2 {
  font-size:23px;
  margin:10px 0;
}
.service-shortcuts {
  margin-top:18px;
  margin-bottom:0;
}
.family-tools-heading {
  font-size:18px;
  margin:0 0 16px;
}
.teacher-next {
  margin:0 0 20px;
}
.matching-panel .family-feedback {
  position:sticky;
  bottom:0;
  background:#fff;
  padding:10px 0;
  margin:8px 0 0;
}
.matching-panel .family-feedback:empty {
  display:none;
}
@media(max-width:620px) {
  .schedule-fields {
    grid-template-columns:1fr;
  }
  .schedule-fields input,.schedule-fields select {
    font-size:16px!important;
  }
  .schedule-form .btn-primary {
    width:100%;
  }
  .lesson-row .schedule-form {
    padding:14px;
  }
  .journey-nav {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .journey-nav button {
    min-height:48px;
  }
  .journey-nav small {
    display:inline;
    margin-right:8px;
  }
  .lesson-heading {
    align-items:flex-start;
  }
  .service-shortcuts {
    grid-template-columns:1fr;
  }
}
.lesson-followup,.trial-outcome {
  margin:16px 0 4px;
  padding:18px;
  background:var(--sand);
  border:1px solid var(--line);
  border-radius:var(--radius-control);
}
.trial-outcome {
  background:var(--sand);
  margin-top:24px;
}
.report-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.lesson-followup h4,.trial-outcome h4 {
  margin:0 0 10px;
  font-size:14px;
}
.lesson-row .report-text,.report-text {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
}
.lesson-followup .family-form,.trial-outcome .family-form {
  margin-top:16px;
}
.confirmation-check {
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  line-height:1.7;
  font-size:13px;
}
.confirmation-check input {
  width:18px!important;
  height:18px!important;
  flex:0 0 18px;
  margin-top:3px;
}
.followup-error {
  color:#b64035!important;
  font-size:13px;
}
.followup-error:empty {
  display:none;
}
.trial-next-hint {
  margin:20px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.8;
  border-left:3px solid var(--line);
  padding-left:12px;
}
.outcome-saved {
  color:#26743c;
  font-size:13px;
}
.lesson-followup button,.trial-outcome button {
  min-height:44px;
}
.lesson-followup [hidden],.trial-outcome [hidden] {
  display:none!important;
}
@media(max-width:620px) {
  .lesson-followup,.trial-outcome {
    padding:14px;
  }
  .report-head {
    align-items:flex-start;
  }
  .lesson-followup .family-actions {
    display:grid;
    grid-template-columns:1fr;
  }
  .lesson-followup textarea,.trial-outcome textarea,.trial-outcome select {
    font-size:16px;
  }
  .lesson-followup button,.trial-outcome button {
    width:100%;
  }
}
.screen-drawer {
  scroll-padding-top:140px;
  scroll-padding-bottom:24px;
}
.renewal-section {
  margin-bottom:28px;
}
.renewal-section h3 {
  font-size:20px;
  margin:8px 0 18px;
}
.renewal-card {
  padding:20px;
  margin:16px 0;
  background:var(--sand);
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
}
.renewal-card h4 {
  margin:0 0 10px;
  font-size:15px;
}
.quote-metrics {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:12px;
  margin:18px 0;
}
.quote-metrics span {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-bottom:8px;
}
.quote-metrics strong {
  display:block;
  font-size:17px;
  color:var(--green);
}
.quote-total {
  padding:14px;
  background:white;
  border-radius:var(--radius-control);
  color:var(--green)!important;
  font-weight:650;
}
.quote-history {
  margin:18px 0;
}
.quote-history summary {
  cursor:pointer;
  color:var(--green);
  font-size:14px;
  padding:12px 0;
}
.quote-history summary:focus-visible {
  outline:2px solid var(--coral);
}
.renewal-card .family-form {
  margin-top:16px;
}
.order-card:focus {
  outline:2px solid var(--line);
  outline-offset:3px;
}
.renewal-card [hidden] {
  display:none!important;
}
@media(max-width:620px) {
  .renewal-card {
    padding:14px;
  }
  .quote-metrics {
    grid-template-columns:1fr;
    gap:14px;
  }
  .quote-metrics>div {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
  }
  .quote-metrics span {
    margin:0;
  }
  .renewal-card .family-actions {
    display:grid;
    grid-template-columns:1fr;
  }
  .renewal-card input,.renewal-card select,.renewal-card textarea {
    font-size:16px;
  }
  .renewal-card button {
    min-height:44px;
    width:100%;
  }
}
.change-editor,.cancel-editor,.change-history {
  margin:18px 0;
  font-size:13px;
}
.change-editor summary,.cancel-editor summary,.change-history summary {
  cursor:pointer;
  padding:10px 0;
  color:var(--green);
  line-height:1.7;
}
.change-editor summary:focus-visible,.cancel-editor summary:focus-visible,.change-history summary:focus-visible {
  outline:2px solid var(--coral);
}
.change-pending {
  background:#fff8e9;
  border:1px solid #efddaf;
  border-radius:var(--radius-control);
  margin-top:18px;
  padding:18px;
}
.change-pending h4 {
  margin:10px 0;
}
.change-times p {
  display:grid;
  gap:6px;
  margin:12px 0!important;
}
.change-times span {
  font-size:12px;
  color:#74603d;
}
.change-times strong {
  font-size:14px;
  color:#5b471e;
  line-height:1.7;
}
.change-history article {
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.change-reason {
  display:grid;
  gap:8px;
  margin:12px 0;
}
.change-reason textarea {
  width:100%;
  min-height:90px;
  resize:vertical;
  font:inherit;
  padding:12px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
}
.cancelled-note {
  padding:16px 18px;
  margin:18px 0;
  background:var(--green-soft);
  border-radius:var(--radius-control);
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
}
.cancelled-note h4 {
  margin:0;
}
.change-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:#fff5dd;
  border:1px solid #ecd29a;
  padding:16px;
  border-radius:var(--radius-control);
  margin:16px 0;
  font-size:14px;
}
.change-pending .family-actions {
  margin-top:18px;
}
@media(max-width:620px) {
  .change-pending {
    padding:14px;
  }
  .change-pending .family-actions {
    display:grid;
    grid-template-columns:1fr;
  }
  .change-reason textarea {
    font-size:16px;
  }
  .change-banner {
    align-items:flex-start;
    flex-direction:column;
  }
  .change-editor .btn-primary,.cancel-editor button {
    width:100%;
  }
}
.family-badge.cancelled {
  background:var(--green-soft);
  color:var(--muted);
}
.refund-section {
  margin:20px 0;
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--sand);
}
.refund-section h4 {
  margin:0;
}
.refund-status {
  display:inline-block;
  font-size:12px;
  color:var(--muted);
  background:var(--sand);
  border-radius:var(--radius-tag);
  padding:6px 10px;
  line-height:1.5;
}
.refund-editor,.refund-history {
  margin-top:16px;
}
.refund-editor summary,.refund-history summary {
  cursor:pointer;
  font-size:14px;
  line-height:1.7;
  color:var(--green);
  padding:6px 0;
}
.refund-history p {
  font-size:13px;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.refund-history article+article {
  border-top:1px solid var(--line);
  padding-top:16px;
  margin-top:16px;
}
.refund-amount {
  background:#fff;
  padding:18px;
  border-radius:var(--radius-control);
  margin:16px 0;
}
.refund-amount span {
  display:block;
  font-size:12px;
  color:var(--muted);
}
.refund-amount strong {
  display:block;
  font-size:28px;
  letter-spacing:-.04em;
  margin:6px 0;
  color:var(--green);
}
.refund-amount p {
  font-size:13px;
  color:#6b5a3b;
  line-height:1.8;
  margin-bottom:0;
}
.refund-queue {
  margin-bottom:30px;
}
.refund-queue>h3 {
  margin-top:6px;
}
.refund-progress {
  padding:13px 16px;
  border-radius:var(--radius-control);
  background:var(--sand);
  font-size:13px;
  line-height:1.9;
}
.refund-section [hidden],.refund-ops-card [hidden] {
  display:none!important;
}
@media(max-width:600px) {
  .refund-section {
    padding:16px;
  }
  .refund-section .report-head,.refund-ops-card .report-head {
    align-items:flex-start;
    gap:10px;
    flex-direction:column;
  }
  .refund-section button,.refund-ops-card button {
    white-space:normal;
  }
  .refund-amount strong {
    font-size:25px;
  }
}
.welfare-media-card {
  padding:0;
  isolation:isolate;
  background:var(--ink)!important;
}
.welfare-media-card img,.welfare-media-card video {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.welfare-media-card .media-gradient {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(35,76,59,.03) 20%,rgba(35,76,59,.78) 100%);
  z-index:1;
}
.welfare-media-card .media-copy {
  z-index:2;
}
.welfare-media-card .media-play {
  position:absolute;
  z-index:2;
  top:14px;
  right:16px;
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(35,76,59,.55);
  color:#fff;
  font-size:12px;
}
.welfare-ops {
  display:grid;
  gap:22px;
}
.welfare-queue {
  display:grid;
  gap:14px;
}
.welfare-queue h4 {
  margin:0;
}
.welfare-asset {
  display:grid;
  grid-template-columns:120px 1fr minmax(220px,.75fr);
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:#fff;
}
.welfare-thumb {
  height:90px;
  border-radius:var(--radius-control);
  overflow:hidden;
  background:var(--sand);
}
.welfare-thumb img,.welfare-thumb video {
  width:100%;
  height:100%;
  object-fit:cover;
}
.welfare-asset-copy p {
  font-size:13px;
  line-height:1.7;
  margin:8px 0;
}
.welfare-asset-copy small {
  color:var(--muted);
  font-size:11px;
}
.welfare-review {
  display:grid;
  gap:8px;
}
.welfare-review label {
  font-size:12px;
  color:var(--muted);
}
.welfare-review select,.welfare-review textarea {
  width:100%;
  margin-top:6px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:#faf8f3;
  font:inherit;
  font-size:12px;
}
.welfare-review textarea {
  min-height:62px;
  resize:vertical;
}
.welfare-upload input[type=file] {
  font-size:12px;
  padding:9px 0;
}
.welfare-upload small {
  display:block;
  margin-top:4px;
}
.welfare-upload .form-grid {
  margin-bottom:12px;
}
@media(max-width:760px) {
  .welfare-asset {
    grid-template-columns:1fr;
  }
  .welfare-thumb {
    height:140px;
  }
  .welfare-review {
    padding-top:5px;
  }
}
.welfare-section .welfare-media-card .media-copy b {
  display:block;
  color:#fff;
  line-height:1.5;
}
.welfare-section .welfare-media-card .media-copy span {
  display:block;
  color:var(--green-soft);
  line-height:1.6;
  overflow-wrap:anywhere;
}
.welfare-section .welfare-media-card .media-gradient {
  pointer-events:none;
}
.welfare-section .welfare-media-card.is-video {
  height:auto;
  min-height:260px;
  display:block;
  flex:0 0 300px;
  padding:0;
}
.welfare-section .welfare-media-card.is-video video {
  position:relative;
  display:block;
  height:180px;
  object-fit:contain;
  background:var(--ink);
  z-index:3;
}
.welfare-section .welfare-media-card.is-video .media-gradient,.welfare-section .welfare-media-card.is-video:after {
  display:none;
}
.welfare-section .welfare-media-card.is-video .media-copy {
  padding:16px;
}
.welfare-thumb:has(video) {
  height:150px;
  background:var(--ink);
}
.welfare-thumb video {
  object-fit:contain;
}
.welfare-empty {
  padding:24px;
  line-height:1.8;
  color:var(--muted);
  background:var(--sand);
  border-radius:var(--radius-sub);
}
@media(max-width:760px) {
  .welfare-section .welfare-media-card.is-video {
    flex-basis:280px;
  }
}
.matching-featured-courses {
  margin-top:18px;
}
.matching-featured-courses>div:first-child {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:baseline;
}
.matching-featured-courses small {
  color:var(--muted);
}
.featured-course-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.featured-course-card {
  position:relative;
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  background:#fff;
  color:var(--ink);
  cursor:pointer;
  transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;
}
.featured-course-card:hover {
  border-color:var(--line);
  transform:translateY(-1px);
}
.featured-course-card:focus-visible {
  outline:3px solid var(--line);
  outline-offset:2px;
}
.featured-course-card .course-option-copy {
  grid-column:2;
  align-content:start;
}
.featured-course-card .course-option-copy span {
  color:var(--muted);
}
.featured-course-card .course-status {
  right:12px;
  top:14px;
  font-size:10px;
  color:var(--muted);
}
.featured-course-card .course-option-check {
  position:absolute;
  right:10px;
  bottom:10px;
}
.featured-course-card.on,.featured-course-card.is-selected {
  border-color:var(--green);
  background:var(--green-soft);
  box-shadow:0 0 0 2px rgba(35,76,59,.14);
}
.course-option-card .course-option-check {
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--ink);
  color:#fff;
  font-size:13px;
  font-weight:700;
  opacity:0;
  transform:scale(.7);
  transition:opacity .18s,transform .18s;
}
.course-option-card.is-selected .course-option-check,.course-option-card.on .course-option-check {
  opacity:1;
  transform:scale(1);
}
.growth-card.course-option-card {
  transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;
}
.growth-card.course-option-card.is-selected {
  border-color:var(--green);
  background:var(--paper);
  box-shadow:0 0 0 2px rgba(35,76,59,.12);
}
.growth-card.course-option-card .course-option-check {
  position:absolute;
  right:18px;
  top:18px;
}
.growth-card.course-option-card .course-option-toggle {
  transition:background .18s,border-color .18s,color .18s;
}
.growth-card.course-option-card.is-selected .course-option-toggle {
  background:var(--ink);
  border-color:var(--green);
  color:#fff;
  font-weight:650;
}
.matching-subjects .subject-chip {
  transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;
}
.matching-subjects .subject-chip:hover {
  border-color:var(--line);
  transform:translateY(-1px);
}
.matching-subjects .subject-chip.on {
  background:var(--green-soft);
  border-color:var(--green);
  color:var(--green);
  box-shadow:0 0 0 2px rgba(35,76,59,.10);
  font-weight:650;
}
.matching-subjects .subject-chip.on::after {
  content:"";
  display:inline-block;
  width:6px;
  height:10px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(42deg) translateY(-1px);
}
.subject-picker>.subject-chip {
  position:relative;
  transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;
}
.subject-picker>.subject-chip:hover {
  border-color:var(--line);
  transform:translateY(-1px);
}
.subject-picker>.subject-chip.on {
  background:var(--green-soft)!important;
  border-color:var(--green)!important;
  color:var(--green)!important;
  box-shadow:0 0 0 2px rgba(35,76,59,.10);
  font-weight:650;
}
.subject-picker>.subject-chip.on::after {
  content:"";
  display:inline-block;
  width:6px;
  height:10px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(42deg) translateY(-1px);
}
.profile-multi-picker {
  display:grid;
  gap:10px;
  margin-top:8px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--sand);
}
.profile-multi-picker[hidden] {
  display:none;
}
.profile-multi-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  line-height:1.6;
}
.profile-multi-head b {
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
}
.profile-choice-grid {
  display:flex;
  flex-wrap:wrap;
}
.profile-choice {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:40px;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:#fff;
  color:var(--muted);
  font:inherit;
  font-size:12px;
  cursor:pointer;
  transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s;
}
.profile-choice:hover {
  border-color:var(--line);
  transform:translateY(-1px);
}
.profile-choice:focus-visible {
  outline:3px solid var(--line);
  outline-offset:2px;
}
.profile-choice i {
  display:grid;
  place-items:center;
  width:17px;
  height:17px;
  border-radius:50%;
  background:var(--green-soft);
  color:transparent;
  font-size:10px;
  font-style:normal;
  transition:background .18s,color .18s;
}
.profile-choice.is-selected {
  background:var(--green-soft);
  border-color:var(--green);
  color:var(--green);
  box-shadow:0 0 0 2px rgba(35,76,59,.10);
  font-weight:650;
}
.profile-multi-picker.is-empty .profile-choice-grid {
  display:none;
}
.profile-multi-picker.is-empty .profile-multi-head b {
  color:var(--muted);
}
.teacher-directory-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.teacher-directory-heading h2 {
  margin:8px 0 10px;
}
.teacher-directory-grid {
  display:grid;
}
.teacher-directory-card {
  cursor:pointer;
}
.teacher-directory-card:focus-visible {
  outline:3px solid var(--line);
  outline-offset:3px;
}
.teacher-directory-card.is-featured {
  background:linear-gradient(145deg,#fff,var(--green-soft));
}
.teacher-directory-avatar {
  font-weight:700;
}
.teacher-directory-avatar.large {
  width:64px;
  height:64px;
  flex-basis:64px;
  border-radius:var(--radius-control);
  font-size:28px;
}
.teacher-directory-main {
  flex:1;
}
.teacher-directory-school {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.teacher-directory-meta span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.teacher-directory-arrow {
  right:14px;
  top:14px;
}
.teacher-directory-toolbar {
  display:grid;
  margin-bottom:14px;
}
.teacher-directory-toolbar label {
  display:grid;
  gap:6px;
}
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  font:inherit;
}
.teacher-detail-hero {
  display:flex;
  align-items:center;
  border-radius:var(--radius-control);
  background:linear-gradient(135deg,var(--green-soft),var(--white));
}
.teacher-detail-hero h2 {
  margin:5px 0;
}
.teacher-detail-hero p {
  margin:0;
  line-height:1.7;
}
.teacher-detail-hero .teacher-directory-verified {
  margin-left:auto;
}
.teacher-detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:18px 0;
}
.teacher-detail-grid p {
  margin:8px 0 0;
  color:var(--ink);
  line-height:1.7;
}
.teacher-detail-grid p span {
  display:inline-block;
  margin:2px 4px 2px 0;
  padding:4px 8px;
  border-radius:var(--radius-card);
  background:var(--green-soft);
  color:var(--green);
  font-size:11px;
}
.teacher-detail-copy {
  padding-top:16px;
  border-top:1px solid var(--line);
}
.teacher-detail-copy h3 {
  margin:0 0 8px;
}
.teacher-detail-copy p {
  margin:0;
  white-space:pre-wrap;
}
.teacher-detail-note {
  margin:16px 0 0;
  padding:12px 14px;
  border-radius:var(--radius-control);
  background:var(--green-soft);
  color:var(--muted);
}
.teacher-directory-overlay .screen-drawer-head {
  position:sticky;
  backdrop-filter:blur(14px);
}
.teacher-directory-overlay .matching-panel {
  background:transparent;
}
.teacher-directory-overlay .teacher-directory-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.teacher-directory-overlay .teacher-directory-card {
  min-height:180px;
}
.teacher-directory-overlay .teacher-directory-panel {
  padding-bottom:24px;
}
@media(max-width:900px) {
  .teacher-directory-home-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .teacher-directory-overlay .teacher-directory-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .teacher-directory-toolbar {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .teacher-directory-toolbar label:first-child {
    grid-column:1/-1;
  }
}
@media(max-width:620px) {
  .teacher-directory-heading {
    display:block;
  }
  .teacher-directory-heading .link {
    margin-top:12px;
  }
  .teacher-directory-grid,.teacher-directory-home-grid,.teacher-directory-overlay .teacher-directory-grid {
    grid-template-columns:1fr!important;
  }
  .teacher-directory-card {
    min-height:138px;
    padding:14px;
  }
  .teacher-directory-toolbar {
    grid-template-columns:1fr;
  }
  .teacher-directory-toolbar label:first-child {
    grid-column:auto;
  }
  .teacher-detail-hero {
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .teacher-detail-hero .teacher-directory-verified {
    margin-left:0;
  }
  .teacher-detail-grid {
    grid-template-columns:1fr;
  }
  .teacher-directory-overlay .screen-drawer {
    width:100vw;
    height:100vh;
    border-radius:0;
  }
  .teacher-directory-overlay .screen-drawer-head {
    padding-top:16px;
  }
}
.family-notice {
  margin:10px 0 0;
  padding:10px 12px;
  border-radius:var(--radius-control);
  background:#fff8e6;
  color:#87611a;
  font-size:12px;
  line-height:1.6;
}
.family-promotion-alert {
  margin:16px 0;
  padding:16px;
  border:1px solid #e7c77a;
  border-radius:var(--radius-control);
  background:linear-gradient(135deg,#fff8e7,#fffdf7);
  color:#755417;
}
.family-promotion-alert p {
  margin:7px 0 12px;
  line-height:1.7;
  font-size:13px;
}
.field-help {
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}
.detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  padding:16px;
  background:var(--sand);
  border-radius:var(--radius-control);
}
.detail-grid p,.detail-block p {
  margin:6px 0;
  color:var(--muted);
  line-height:1.7;
}
.detail-block {
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.detail-block .material-preview {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.detail-block figure {
  margin:0;
  width:120px;
}
.detail-block figure img {
  width:120px;
  height:90px;
  object-fit:cover;
  border-radius:var(--radius-control);
}
.detail-block figcaption {
  font-size:11px;
  color:var(--muted);
  overflow-wrap:anywhere;
  margin-top:4px;
}
.ops-teacher-card {
  cursor:pointer;
}
.ops-teacher-card:hover {
  border-color:var(--line);
  box-shadow:0 8px 22px rgba(35,76,59,.08);
}
@media(max-width:620px) {
  .featured-course-grid {
    grid-template-columns:1fr 1fr;
  }
  .matching-featured-courses>div:first-child {
    display:block;
  }
  .detail-grid {
    grid-template-columns:1fr;
  }
}
.matching-consent {
  display:flex!important;
  grid-template-columns:none!important;
  align-items:flex-start;
  gap:10px!important;
  color:var(--green);
}
.matching-consent input {
  width:18px!important;
  min-width:18px!important;
  margin-top:3px;
  accent-color:var(--action-fill);
}
.matching-consent span {
  display:grid;
  gap:3px;
}
.matching-consent strong {
  font-size:13px;
}
.matching-consent small {
  font-size:11px;
}
.teacher-match-grid {
  margin-top:12px;
}
.teacher-match-grid .teacher-directory-card {
  min-height:230px;
}
.teacher-match-grid .matching-reasons {
  margin:12px 0;
}
.matching-diagnostics {
  display:grid;
  gap:8px;
  max-width:560px;
  margin:16px auto 0;
  text-align:left;
  color:#6d5a32;
  font-size:12px;
}
.pairing-pool-intro {
  padding:8px 0 18px;
  border-bottom:1px solid var(--line);
  margin-bottom:18px;
}
.pairing-pool-intro h2 {
  margin:5px 0 8px;
  font-size:24px;
}
.pairing-pool-list {
  display:grid;
  gap:14px;
}
.pairing-demand-card {
  padding:20px;
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  background:#fff;
  box-shadow:0 8px 24px rgba(35,76,59,.05);
}
.pairing-demand-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.pairing-demand-head h3 {
  margin:5px 0 7px;
}
.pairing-demand-head p {
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.pairing-demand-card>p {
  font-size:13px;
  line-height:1.8;
}
.pairing-demand-card .teacher-directory-tags {
  margin:12px 0;
}
.pairing-request-compose,.pairing-review-actions {
  display:grid;
  gap:9px;
  margin-top:16px;
}
.pairing-request-compose textarea,.pairing-review-actions textarea {
  min-height:72px;
}
.pairing-review-actions {
  grid-template-columns:1fr auto auto;
  align-items:end;
}
.pairing-sent-list {
  margin-top:30px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.teacher-match-card .teacher-match-foot {
  margin-top:12px;
}
.teacher-match-card .teacher-directory-arrow {
  pointer-events:none;
}
.featured-course-field {
  position:relative;
  overflow:hidden;
  padding:22px!important;
  border:1px solid var(--line)!important;
  border-radius:var(--radius-card)!important;
  background:linear-gradient(135deg,var(--green-soft) 0%,var(--paper) 54%,#fff8ef 100%)!important;
  box-shadow:0 12px 30px rgba(35,76,59,.10);
}
.featured-course-field:before {
  content:"";
  position:absolute;
  right:22px;
  top:16px;
  width:50px;
  height:50px;
  border:1.5px solid rgba(35,76,59,.28);
  border-radius:var(--radius-control);
  transform:rotate(12deg);
  opacity:.72;
  pointer-events:none;
}
.featured-course-field:after {
  content:"";
  position:absolute;
  right:39px;
  top:33px;
  width:16px;
  height:16px;
  border:1.5px solid rgba(35,76,59,.22);
  border-radius:5px;
  transform:rotate(45deg);
  pointer-events:none;
}
.featured-course-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  position:relative;
  z-index:1;
}
.featured-course-kicker {
  display:block;
  color:var(--green);
  font-size:10px;
  font-weight:700;
  letter-spacing:1.1px;
  text-transform:uppercase;
}
.featured-course-head h3 {
  margin:6px 0 7px;
  font-size:22px;
  letter-spacing:-.03em;
  color:var(--green);
}
.featured-course-head p {
  max-width:510px;
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.75;
}
.featured-course-badge {
  flex:none;
  padding:7px 10px;
  border-radius:var(--radius-tag);
  background:var(--ink);
  color:#fff;
  font-size:10px;
  font-weight:700;
  box-shadow:0 5px 14px rgba(35,76,59,.20);
}
.featured-course-selection {
  display:flex;
  align-items:center;
  gap:10px;
  margin:18px 0 12px;
  padding:10px 12px;
  border:1px solid rgba(35,76,59,.16);
  border-radius:var(--radius-control);
  background:rgba(255,255,255,.72);
  color:var(--muted);
  font-size:11px;
}
.featured-course-selection strong {
  color:var(--green);
  font-size:12px;
}
.featured-course-selection span {
  color:var(--muted);
}
.featured-course-selection span.has-selection {
  color:var(--green);
  font-weight:700;
}
.featured-course-field .growth-grid {
  position:relative;
  z-index:1;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.featured-course-field .growth-card {
  padding:16px 16px 14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.9);
  border-radius:var(--radius-sub);
  box-shadow:0 5px 16px rgba(35,76,59,.05);
  transition:transform .18s,border-color .18s,background .18s,box-shadow .18s;
}
.featured-course-field .growth-card:hover {
  transform:translateY(-2px);
  border-color:var(--line);
  box-shadow:0 10px 22px rgba(35,76,59,.10);
}
.featured-course-field .growth-card h3 {
  font-size:16px;
  color:var(--green);
  margin:0 0 7px;
}
.featured-course-field .growth-card p {
  min-height:38px;
  margin:0 0 12px;
  color:var(--muted);
  font-size:11px;
  line-height:1.6;
}
.featured-course-field .growth-icon {
  width:38px;
  height:38px;
  margin-bottom:13px;
  border-radius:var(--radius-control);
  font-size:21px;
}
.featured-course-field .course-status {
  color:var(--muted);
}
.featured-course-field .course-option-toggle {
  width:100%;
  min-height:38px;
  border-color:var(--line);
  background:var(--green-soft);
  color:var(--green);
  font-weight:650;
}
.featured-course-field .course-option-toggle:hover {
  border-color:var(--green);
  background:var(--green-soft);
}
.featured-course-field .course-option-toggle.on {
  background:var(--ink);
  border-color:var(--green);
  color:#fff;
  box-shadow:0 5px 12px rgba(35,76,59,.18);
}
.featured-course-field .course-option-check {
  width:22px;
  height:22px;
  box-shadow:0 2px 6px rgba(35,76,59,.18);
}
.featured-course-field .link {
  display:block;
  min-height:28px;
  margin-top:5px;
  color:var(--green);
  font-size:11px;
}
.featured-course-field .growth-card.is-selected {
  border-color:var(--green);
  background:var(--green-soft);
  box-shadow:0 0 0 2px rgba(35,76,59,.12),0 9px 22px rgba(35,76,59,.08);
}
@media(max-width:620px) {
  .featured-course-field {
    padding:17px!important;
  }
  .featured-course-head {
    display:block;
  }
  .featured-course-badge {
    display:inline-block;
    margin-top:12px;
  }
  .featured-course-field .growth-grid {
    grid-template-columns:1fr;
  }
  .featured-course-field .growth-card p {
    min-height:0;
  }
}
@media(max-width:620px) {
  .pairing-demand-head {
    display:block;
  }
  .pairing-demand-head .family-badge {
    display:inline-block;
    margin-top:10px;
  }
  .pairing-review-actions {
    grid-template-columns:1fr;
  }
  .pairing-review-actions button {
    width:100%;
  }
  .teacher-match-grid .teacher-directory-card {
    min-height:0;
  }
}
.teacher-directory-home {
  background:transparent;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.teacher-directory-home-grid .teacher-directory-card {
  gap:16px;
}
.teacher-directory-home-grid .teacher-directory-avatar {
  width:56px;
  height:56px;
  flex-basis:56px;
  border-radius:var(--radius-control);
  font-size:24px;
}
.teacher-directory-home-grid .teacher-directory-title h3 {
  font-size:19px;
}
.teacher-directory-home-grid .teacher-directory-school {
  font-size:13px;
  margin-top:9px;
}
.teacher-directory-home-grid .teacher-directory-tags span {
  font-size:11px;
  padding:5px 9px;
}
.teacher-directory-home-grid .teacher-directory-meta {
  font-size:11px;
  margin-top:16px;
}
.screen-overlay.teacher-directory-overlay {
  justify-content:center!important;
  align-items:center!important;
  padding:3vh 4vw;
}
.teacher-directory-overlay .screen-drawer {
  animation:teacherModalIn .28s cubic-bezier(.22,1,.36,1);
}
@keyframes teacherModalIn {
  from {
    opacity:0;
    transform:translateY(14px) scale(.985);
  }
  to {
    opacity:1;
    transform:none;
  }
}
@media(max-width:900px) {
  .teacher-directory-home-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .teacher-directory-home-grid .teacher-directory-card {
    min-height:190px;
    padding:18px;
  }
}
@media(max-width:620px) {
  .teacher-directory-home-grid {
    grid-template-columns:1fr!important;
  }
  .screen-overlay.teacher-directory-overlay {
    padding:0;
  }
  .teacher-directory-overlay .screen-drawer {
    width:100vw;
    height:100vh;
    border-radius:0;
  }
  .teacher-directory-home-grid .teacher-directory-card {
    min-height:160px;
  }
}
.score-note-field,.score-material-field {
  display:grid;
  gap:8px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--sand);
}
.score-note-field textarea {
  min-height:96px;
}
.score-material-field input[type=file] {
  padding:9px 0;
  border:0;
  background:transparent;
}
.score-material-field .material-preview {
  margin-top:4px;
}
.score-material-field figure {
  margin:0;
  width:110px;
}
.score-material-field figure img {
  width:110px;
  height:82px;
  object-fit:cover;
  border-radius:var(--radius-control);
}
.score-material-field figcaption {
  font-size:11px;
  color:var(--muted);
  overflow-wrap:anywhere;
  margin-top:4px;
}
.refund-section.refund-section-collapsible {
  margin-top:18px;
  padding:0;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  overflow:hidden;
}
.refund-section-collapsible>summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding:12px 16px;
  color:var(--muted);
  font-size:12px;
  font-weight:650;
  cursor:pointer;
  list-style:none;
}
.refund-section-collapsible>summary::-webkit-details-marker {
  display:none;
}
.refund-section-collapsible>summary:before {
  content:"";
  display:block;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--green-soft);
  box-shadow:inset 0 0 0 1px var(--green-soft);
  flex:none;
}
.refund-section-collapsible>summary:after {
  content:"";
  position:absolute;
  width:9px;
  height:1.5px;
  background:var(--action-fill);
  border-radius:var(--radius-card);
}
.refund-section-collapsible[open]>summary:before {
  box-shadow:inset 0 0 0 1px var(--green-soft);
}
.refund-section-collapsible[open]>summary {
  border-bottom:1px solid var(--line);
  color:var(--green);
}
.refund-section-collapsible>.refund-section-body {
  padding:14px 16px 16px;
}
.refund-section-collapsible .family-muted {
  font-size:12px;
}
.refund-section-collapsible .refund-editor {
  margin-top:12px;
}
.featured-course-field .course-status {
  right:52px;
  top:17px;
  max-width:5em;
  text-align:right;
}
.featured-course-field .course-option-check {
  right:14px;
  top:14px;
  z-index:2;
}
.featured-course-field .growth-card {
  padding-top:20px;
}
.featured-course-field .link {
  position:relative;
  z-index:1;
}
.growth-selector .growth-card {
  display:flex;
  flex-direction:column;
  min-height:280px;
}
.growth-selector .growth-card .link {
  margin-top:auto;
  padding-top:8px;
}
.growth-selector .growth-card .course-option-toggle {
  margin-top:auto;
}
.growth-selector .growth-card .course-option-toggle + .link {
  margin-top:2px;
}
.sms-send-button {
  justify-self:start;
  border:1px solid var(--green);
  border-radius:var(--radius-control);
  padding:9px 14px;
  background:#f4f0e8;
  color:var(--ink);
  font:inherit;
  cursor:pointer;
}
.sms-send-button:hover:not(:disabled) {
  background:#b7f36b;
}
.sms-send-button:disabled {
  opacity:.6;
  cursor:wait;
}
.sms-send-button[hidden] {
  display:none;
}
.sms-code-hint {
  font-size:12px;
  color:#626775;
}
.family-stat-scores {
  position:relative;
  width:42px;
  height:42px;
  border:1.8px solid currentColor;
  border-radius:50%;
  color:var(--muted);
  box-sizing:border-box;
}
.family-stat-scores::before,.family-stat-scores::after {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  background:currentColor;
  border-radius:2px;
  transform:translate(-50%,-50%);
}
.family-stat-scores::before {
  width:18px;
  height:1.8px;
  box-shadow:0 -7px 0 currentColor,0 7px 0 currentColor;
}
.family-stat-scores::after {
  width:1.8px;
  height:18px;
  opacity:.2;
}

/*  Migrated component rules: frontend/ops-overview.css  */
.ops-overview {
  margin-top:24px;
}
.ops-overview-head {
  display:flex;
  justify-content:space-between;
  gap:24px;
}
.ops-overview h1 {
  font-size:34px;
  line-height:1.4;
  letter-spacing:-.04em;
  margin:12px 0;
  color:#202124;
}
.ops-overview p {
  font-size:13px;
  line-height:1.85;
  color:var(--muted);
}
.ops-overview-head button {
  flex:none;
  border-radius:var(--radius-control);
  padding:12px 18px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--green);
  font-size:13px;
  min-height:44px;
}
.ops-overview-head button:disabled {
  opacity:.6;
  cursor:wait;
}
.ops-data-note {
  display:flex;
  gap:14px;
  align-items:center;
  background:var(--green-soft);
  border:1px solid var(--line);
  padding:12px 18px;
  margin-top:26px;
}
.ops-data-note>span {
  flex:none;
  color:var(--green);
  font-size:12px;
  font-weight:650;
}
.ops-data-note p {
  margin:0;
  color:var(--muted);
}
#opsOverviewState {
  font-size:12px;
  min-height:22px;
  margin:16px 0;
}
.ops-summary-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.ops-summary-grid article {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  padding:24px;
}
.ops-summary-grid small {
  font-size:13px;
  color:var(--muted);
}
.ops-summary-grid strong {
  display:block;
  font-weight:650;
  letter-spacing:-.04em;
  margin:14px 0 4px;
  font-variant-numeric:tabular-nums;
}
.ops-summary-grid em {
  font-style:normal;
  font-size:12px;
  color:var(--muted);
  margin-left:9px;
  letter-spacing:0;
}
.ops-summary-grid p {
  margin:0;
  font-size:12px;
}
.ops-section-head {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin:32px 0 16px;
}
.ops-section-head h2,.ops-service-note h2 {
  font-size:18px;
  margin:0;
}
.ops-section-head p {
  margin:0;
  font-size:12px;
}
.ops-queue-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.ops-queue-card {
  text-align:left;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:background .18s,border-color .18s;
  min-width:0;
}
.ops-queue-card:hover {
  background:var(--green-soft);
  border-color:var(--line);
}
.ops-queue-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.ops-queue-icon {
  display:grid;
  place-items:center;
}
.ops-count {
  border-radius:var(--radius-card);
  padding:6px 9px;
  background:var(--green-soft);
  font-size:11px;
  color:var(--muted);
}
.has-pending .ops-count {
  background:var(--green-soft);
  color:var(--green);
}
.ops-queue-card>strong {
  font-size:17px;
  font-weight:650;
}
.ops-queue-desc {
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
  flex:1;
}
.ops-queue-link {
  justify-content:space-between;
  color:var(--coral);
  font-size:12px;
  font-weight:650;
  padding-top:7px;
}
.ops-guide-card {
  padding:24px;
  border-radius:var(--radius-card);
  background:var(--green-soft);
}
.ops-guide-card .section-kicker {
  font-size:11px;
  color:var(--muted);
  margin:0;
}
.ops-guide-card h3 {
  font-size:17px;
  line-height:1.5;
  margin:18px 0 12px;
}
.ops-guide-card p {
  font-size:12px;
}
.ops-service-note {
  margin-top:22px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-control);
  padding:24px;
}
.ops-service-note>div {
  display:flex;
  gap:18px 35px;
  flex-wrap:wrap;
  margin-top:16px;
}
.ops-service-note span {
  font-size:13px;
  color:var(--muted);
}
.ops-service-note b {
  margin-left:12px;
  color:var(--muted);
}
.ops-service-note p {
  margin:16px 0 0;
  font-size:12px;
}
.ops-overview-empty {
  padding:36px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
}
.ops-overview-empty h2 {
  font-size:20px;
}
.ops-overview-empty a {
  display:inline-block;
  margin-top:12px;
  color:var(--coral);
  font-size:14px;
}
.ops-overview button:focus-visible,.ops-overview a:focus-visible {
  outline:3px solid var(--coral);
  outline-offset:4px;
}
@media(max-width:1100px) {
  .ops-queue-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ops-overview h1 {
    font-size:28px;
  }
  .ops-summary-grid article {
    padding:20px;
  }
}
@media(max-width:700px) {
  .ops-overview-head {
    flex-direction:column;
    gap:8px;
  }
  .ops-overview h1 {
    font-size:27px;
  }
  .ops-summary-grid,.ops-queue-grid {
    grid-template-columns:1fr;
  }
  .ops-summary-grid article {
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:4px 12px;
  }
  .ops-summary-grid strong {
    grid-column:2;
    grid-row:1/3;
    margin:0;
    font-size:34px;
  }
  .ops-summary-grid p {
    grid-column:1;
    grid-row:2;
  }
  .ops-data-note {
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
  .ops-section-head {
    display:block;
  }
  .ops-section-head p {
    margin-top:8px;
  }
  .ops-queue-card,.ops-guide-card {
    padding:22px;
  }
  .ops-service-note>div {
    flex-direction:column;
    gap:14px;
  }
}
.ops-queue-icon {
  position:relative;
  font-size:0!important;
}
.ops-queue-icon::before,.ops-queue-icon::after {
  box-sizing:border-box;
}
.ops-queue-icon::before {
  border:1.7px solid currentColor;
  border-radius:5px;
}
.ops-queue-icon::after {
  border-radius:50%;
}
.ops-queue-icon[data-icon-key="disputes"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 18%,transparent);
}
.ops-queue-icon[data-icon-key="disputes"]::after {
  width:8px;
  height:1.6px;
  border-radius:2px;
  transform:rotate(-35deg);
}
.ops-queue-icon[data-icon-key="refunds"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 18%,transparent);
}
.ops-queue-icon[data-icon-key="refunds"]::after {
  width:7px;
  height:7px;
  border-left:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;
  background:transparent;
  transform:rotate(45deg);
}
.ops-queue-icon[data-icon-key="teachers"]::before {
  border-radius:50%;
  box-shadow:inset 0 -5px 0 color-mix(in srgb,currentColor 18%,transparent);
}
.ops-queue-icon[data-icon-key="teachers"]::after {
  width:5px;
  height:5px;
  border:1.4px solid currentColor;
  background:transparent;
  top:4px;
}
.ops-queue-icon[data-icon-key="followups"]::before {
  border-radius:3px;
  box-shadow:inset 0 -4px 0 currentColor;
}
.ops-queue-icon[data-icon-key="followups"]::after {
  width:8px;
  height:1.6px;
  border-radius:2px;
  background:currentColor;
  top:7px;
  box-shadow:0 4px 0 currentColor;
}
.ops-queue-icon[data-icon-key="welfare"]::before {
  border-radius:50% 50% 6px 6px;
  box-shadow:inset 0 -3px 0 color-mix(in srgb,currentColor 18%,transparent);
}
.ops-queue-icon[data-icon-key="welfare"]::after {
  width:8px;
  height:5px;
  border:1.4px solid currentColor;
  border-top:0;
  border-radius:0 0 8px 8px;
  background:transparent;
  top:8px;
}

/*  Migrated component rules: frontend/account-overview.css  */
.account-overview h1 {
  font-size:32px;
  line-height:1.5;
  margin:12px 0;
  overflow-wrap:anywhere;
}
.account-overview p {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
}
.account-overview h2 {
  font-size:18px;
  line-height:1.6;
  margin:0 0 12px;
}
.account-overview .family-toolbar {
  margin:0;
}
.account-overview .ops-summary-grid {
  margin-top:18px;
}
#accountOverviewState {
  font-size:12px;
  margin:16px 0;
  min-height:22px;
}
.account-columns {
  display:grid;
  grid-template-columns:1fr 1fr;
}
.account-panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  padding:24px;
  min-width:0;
}
.account-panel>button:not(.account-task):not(.account-lesson),.account-empty>button,.account-onboarding button {
  border-radius:var(--radius-control);
  background:var(--coral);
  color:#fff;
  padding:12px 18px;
  font-size:13px;
  min-height:44px;
}
.account-task {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  width:100%;
  text-align:left;
  padding:18px 0;
  background:none;
}
.account-task>span {
  min-width:0;
}
.account-task strong {
  display:block;
  font-size:14px;
  font-weight:650;
}
.account-task small {
  display:block;
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  margin-top:8px;
}
.account-task b {
  font-size:12px;
  white-space:nowrap;
  color:var(--coral);
}
.account-caption {
  font-size:12px!important;
  margin:0 0 14px;
}
.account-lesson {
  display:flex;
  flex-direction:column;
  gap:9px;
  border-top:1px solid var(--line);
  padding:18px 0;
  background:none;
  width:100%;
  text-align:left;
  line-height:1.8;
  overflow-wrap:anywhere;
}
.account-lesson strong {
  font-size:15px;
}
.account-lesson>span:not(.account-lesson-status) {
  font-size:12px;
  color:var(--muted);
}
.account-lesson small {
  font-size:12px;
  color:var(--coral);
}
.account-lesson-status {
  font-size:11px;
  color:var(--muted);
}
.account-empty p {
  font-size:12px;
}
.account-onboarding {
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  padding:24px;
}
.account-onboarding p {
  margin:6px 0 16px;
}
.teacher-verification {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.teacher-verification button {
  flex:none;
}
.teacher-verification p {
  margin-bottom:0;
}
.account-tools .family-shortcut {
  min-width:0;
}
.account-tools .growth-entry {
  background:#edf7f1;
  border-color:#d2e7d9;
}
.account-tools p {
  margin:0 0 16px;
}
.account-overview button:focus-visible {
  outline:3px solid var(--coral);
  outline-offset:4px;
}
@media(max-width:1100px) {
  .account-columns {
    grid-template-columns:1fr;
  }
  .account-overview h1 {
    font-size:28px;
  }
}
@media(max-width:700px) {
  .account-overview h1 {
    font-size:27px;
  }
  .account-tools .family-toolbar {
    grid-template-columns:1fr;
  }
  .teacher-verification {
    display:block;
  }
  .teacher-verification button {
    margin-top:16px;
  }
  .account-panel,.account-onboarding {
    padding:22px;
  }
  .account-task {
    align-items:flex-start;
    gap:12px;
  }
  .account-task b {
    padding-top:2px;
  }
}
.student-reports {
  margin-top:20px;
}
.student-learning-note {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  padding:16px;
  border-radius:var(--radius-control);
  margin:0;
}
.student-exam {
  border-top:1px solid var(--line);
  padding:18px 0;
}
.student-exam>small {
  display:block;
  color:var(--muted);
  margin-top:8px;
}
.student-exam ul {
  list-style:none;
  padding:0;
  margin:12px 0;
}
.student-exam li {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  line-height:2;
  font-size:13px;
}
.student-exam li>b {
  margin-left:auto;
}
.student-exam li>small {
  color:var(--muted);
}
.student-course-tabs {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.student-course-tabs button {
  padding:12px 18px;
}
.student-lesson:focus-visible {
  outline:3px solid var(--coral);
  outline-offset:4px;
}
.student-lesson small {
  color:var(--muted);
}
.student-lesson p {
  line-height:1.8;
  font-size:13px;
}
.student-reports button {
  margin-top:12px;
}
@media(max-width:920px) {
  .sidebar {
    overflow-y:auto;
  }
  .sidebar #nav button {
    flex-direction:column;
    gap:5px;
    padding:10px 2px;
    min-height:60px;
  }
  .sidebar #nav button span:not(.icon) {
    display:block;
    font-size:10px;
    line-height:1.5;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .sidebar .nav {
    gap:4px;
  }
}

/*  Migrated component rules: frontend/public-release.css  */
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}
button {
  touch-action:manipulation;
}
.mobile-public-menu,.workspace-menu {
  display:none;
}
.public-hero-copy {
  container-type:inline-size;
}
.hero-slide {
  visibility:hidden;
}
.hero-slide.is-active,.hero-slide.is-leaving {
  visibility:visible;
}
.hero-slide h1 {
  letter-spacing:0;
}
.reveal-on-scroll {
  will-change:auto!important;
  filter:none!important;
  transform:none!important;
}
.public-art {
  isolation:isolate;
}
.journey-art {
  transform:none!important;
  overflow:visible;
  background:linear-gradient(155deg,#fff 32%,var(--green-soft));
  border-color:var(--line);
  border-radius:var(--radius-card);
  padding:28px;
  box-shadow:0 24px 65px #2f57741a!important;
}
.journey-art .preview-topline small {
  letter-spacing:0;
  font-size:12px;
}
.journey-art h2 {
  font-size:32px;
  line-height:1.5;
  letter-spacing:0;
  margin:16px 0 24px;
  font-weight:650;
}
.journey-art-orbit {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-around;
  margin:28px 0 12px;
  min-height:120px;
}
.journey-art-orbit>span {
  font-size:11px;
  letter-spacing:.08em;
  padding:10px 12px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-card);
  color:var(--muted);
  transform:rotate(-12deg);
}
.journey-art-orbit>span:last-child {
  transform:rotate(12deg);
}
.journey-art-book {
  position:relative;
  width:105px;
  height:112px;
  transform:rotate(-8deg);
  border-radius:8px 24px 24px 8px;
  background:linear-gradient(130deg,var(--action-fill),var(--green-soft));
  box-shadow:12px 14px 0 #cbe0f333,0 18px 22px #2e5d8c20;
  border-left:6px solid var(--green);
}
.journey-art-book b {
  position:absolute;
  top:18px;
  left:23px;
  font-size:37px;
  color:#fff;
  font-weight:650;
}
.journey-art-book i {
  position:absolute;
  height:3px;
  background:#fff8;
  left:23px;
  right:20px;
  bottom:25px;
}
.journey-art-book i+i {
  bottom:16px;
  right:37px;
}
.journey-art-path {
  display:flex;
  gap:8px;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:18px;
}
.journey-art-path span {
  color:var(--muted);
}
.journey-art-path b {
  display:block;
  font-size:13px;
  color:var(--green);
  margin-bottom:7px;
}
.journey-art .preview-caption {
  border:0;
  padding:0;
  background:transparent;
  font-size:14px;
  min-height:44px;
  margin:17px 0 0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.float-note {
  pointer-events:none;
}
.float-note-top {
  right:-2px;
  top:22px;
}
.float-note-bottom {
  bottom:10px;
  left:-5px;
}
#publicTeacherGrid {
  min-height:0;
  align-content:start;
}
#publicTeacherGrid>.family-empty {
  grid-column:1/-1;
  background:var(--white);
  border:1px solid var(--card-line);
  border-radius:var(--radius-card);
}
#publicTeacherGrid>.family-empty p {
  max-width:520px;
}
.directory-back {
  margin-bottom:20px;
  min-height:44px;
}
.teacher-directory-overlay .screen-drawer {
  height:calc(100dvh - 48px);
  max-height:calc(100dvh - 48px);
}
.teacher-directory-overlay .screen-drawer-head {
  z-index:5;
}
.teacher-directory-detail .teacher-detail-copy p {
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.teacher-directory-feedback {
  min-height:20px;
}
#community .media-row {
  min-height:240px;
}
.growth-grid .growth-card {
  border:1px solid var(--card-line);
  box-shadow:none;
  border-radius:var(--radius-card);
}
.auth-card {
  scroll-margin-top:24px;
}
.auth-tabs {
  margin-bottom:20px;
}
.auth-role {
  margin-bottom:20px!important;
}
.registration-progress,.registration-step-heading,.registration-controls,.registration-phone-note {
  display:none;
}
.journey-form .registration-progress {
  display:flex;
  gap:6px;
  padding:16px 0 20px;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  margin-bottom:23px;
}
.registration-progress span {
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.registration-progress b {
  display:grid;
  place-items:center;
  background:var(--green-soft);
  border-radius:50%;
  height:25px;
  width:25px;
  font-size:11px;
}
.registration-progress i {
  font-style:normal;
}
.registration-progress .is-active {
  color:var(--green);
  font-weight:650;
}
.registration-progress .is-active b {
  background:var(--coral);
  color:#fff;
}
.registration-progress .is-complete b {
  background:#e4f2eb;
  color:#348063;
}
.journey-form .registration-step-heading {
  display:block;
  margin-bottom:22px;
}
.registration-step-heading small {
  letter-spacing:.12em;
  font-size:10px;
}
.registration-step-heading h3 {
  margin:9px 0;
  letter-spacing:-.025em;
}
.registration-step-heading p {
  margin:0;
}
#authForm .journey-hidden {
  display:none!important;
}
.journey-form .registration-controls {
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:16px;
  flex-wrap:wrap;
}
.registration-controls button {
  font-size:13px;
  border-radius:var(--radius-control);
  padding:10px 14px;
}
.registration-controls #registrationNext {
  margin-left:auto;
}
.registration-controls #registrationSkip {
  background:none;
  padding-inline:0;
}
.journey-form .registration-phone-note {
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
  margin:0 0 10px;
}
.journey-form .form-feedback {
  margin:16px 0 0;
  min-height:20px;
}
.journey-form .auth-submit {
  width:100%;
}
.journey-form .growth-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.journey-form .growth-card {
  min-height:220px;
  padding:18px 14px;
  gap:6px;
}
.journey-form .growth-card h3 {
  font-size:16px;
  margin:6px 0;
}
.journey-form .growth-card p {
  font-size:12px;
  line-height:1.7;
  margin:6px 0 12px;
}
.journey-form .growth-icon {
  height:35px;
  width:35px;
  font-size:21px;
}
.journey-form .course-status {
  font-size:10px;
  top:17px;
  right:40px;
}
.journey-form .course-option-check {
  width:20px;
  height:20px;
  right:12px;
  top:14px;
}
.journey-form .growth-card .subject-chip {
  font-size:11px;
  white-space:normal;
  padding:8px;
  min-height:40px;
}
.journey-form .growth-card .link {
  min-height:36px;
  font-size:12px;
  padding-top:2px;
}
.journey-form .featured-course-head {
  align-items:flex-start;
}
.featured-course-head h3 {
  line-height:1.5;
}
#profileForm .registration-password,#profileForm .registration-progress {
  display:none;
}
.form-field .field-help {
  color:var(--muted);
}
.form-field select,.family-form select {
  max-width:100%;
}
.sms-send-button {
  min-height:44px;
}
.sms-code-hint {
  line-height:1.7;
}
.invite-entry {
  min-height:44px;
  font-size:13px;
}
.student-login-toggle {
  min-height:44px;
}
.onboarding-success {
  text-align:center;
  max-width:480px;
  padding:35px 20px;
  margin:auto;
}
.success-symbol {
  display:grid;
  place-items:center;
  border:1px solid #c8e5d6;
  background:#edf8f2;
  color:#398864;
  width:65px;
  height:65px;
  border-radius:50%;
  font-size:25px;
  margin:0 auto 22px;
}
.onboarding-success h3 {
  font-size:23px;
  line-height:1.6;
}
.onboarding-success p {
  line-height:1.9;
  color:var(--muted);
  margin-bottom:25px;
}
.onboarding-success button {
  display:block;
  margin:12px auto;
  min-height:44px;
}
.account-tools .family-shortcut {
  transition:background .2s,border-color .2s;
  min-height:115px;
}
.account-task {
  gap:14px;
}
.ops-data-note {
  border-radius:var(--radius-control);
}
.family-card {
  overflow-wrap:anywhere;
}
.family-steps {
  flex-wrap:wrap;
}
.family-feedback {
  overflow-wrap:anywhere;
}
.screen-drawer {
  max-height:calc(100dvh - 48px);
}
@media(hover:none) {
  .teacher-directory-card:hover,.growth-card:hover,.reference-teacher:hover,.media-card:hover,.family-shortcut:hover {
    transform:none!important;
  }
}
@media(max-width:1000px) {
  .public-nav {
    gap:15px;
  }
  .public-links {
    gap:18px;
  }
  .public-nav-actions {
    gap:12px;
  }
}
@media(max-width:920px) {
  .public-nav {
    height:auto;
    min-height:72px;
    flex-wrap:wrap;
    padding-block:12px;
  }
  .public-brand {
    margin-right:auto;
  }
  .public-nav-actions {
    margin-left:0;
  }
  .mobile-public-menu {
    display:block;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius-control);
    padding:9px 12px;
    min-height:40px;
    font-size:12px;
    color:var(--muted);
  }
  .public-nav .public-links {
    display:none;
    width:100%;
    order:5;
    padding-top:12px;
    gap:8px;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .public-nav.menu-open .public-links {
    display:grid;
  }
  .public-nav .public-links a {
    padding:13px;
    background:#fff;
    border-radius:var(--radius-control);
    font-size:13px;
  }
  .public-nav-actions .api-status {
    display:none;
  }
  .hero-slide h1 {
    white-space:normal;
    font-size:clamp(36px,8vw,60px);
  }
  .auth-intro {
    position:static;
  }
  .auth-illustration {
    display:none;
  }
  .auth-layout {
    gap:28px;
  }
  .auth-intro h1 {
    font-size:34px;
  }
  .auth-intro>p:not(.section-kicker),.auth-assurance {
    display:none;
  }
  .teacher-directory-overlay .screen-drawer {
    height:100dvh;
    max-height:100dvh;
  }
}
@media(max-width:620px) {
  .public-nav {
    width:calc(100% - 32px);
    gap:12px;
  }
  .public-brand {
    font-size:19px;
  }
  .public-nav-actions .solid {
    padding:9px 12px;
  }
  .public-nav-actions button {
    font-size:13px;
  }
  .mobile-public-menu {
    padding:8px 10px;
  }
  .public-hero {
    width:calc(100% - 40px);
    padding:38px 0 52px;
    gap:26px;
    min-height:0;
  }
  .public-hero-copy {
    padding:0;
  }
  .hero-slide-stage {
    min-height:280px;
  }
  .hero-slide h1 {
    font-size:clamp(34px,9.3vw,50px);
    line-height:1.2;
    letter-spacing:-.045em;
  }
  .hero-slide p {
    font-size:15px;
    line-height:1.85;
    min-height:0;
  }
  .public-kicker {
    font-size:12px;
  }
  .hero-slide-nav {
    justify-content:flex-start;
    margin:14px 0 0;
    gap:8px;
  }
  .hero-slide-nav button span {
    display:block;
    font-size:10px;
  }
  .hero-slide-nav button {
    padding:3px 4px;
    gap:5px;
    min-height:40px;
  }
  .public-cta {
    margin-top:20px;
    gap:22px;
  }
  .public-cta button {
    font-size:14px;
  }
  .public-art {
    min-height:390px;
    margin:5px 10px 0;
  }
  .journey-art {
    width:min(100%,340px);
    padding:24px;
    border-radius:var(--radius-card);
  }
  .journey-art h2 {
    font-size:27px;
    margin:10px 0 19px;
  }
  .journey-art-orbit {
    margin:16px 0 6px;
    min-height:98px;
  }
  .journey-art-book {
    width:88px;
    height:94px;
  }
  .journey-art-book b {
    font-size:30px;
    left:18px;
    top:13px;
  }
  .float-note {
    padding:10px 12px;
  }
  .float-note-top {
    right:-10px;
    top:0;
  }
  .float-note-bottom {
    bottom:0;
    left:-10px;
  }
  .float-note strong {
    font-size:11px;
  }
  .reference-trust-inner {
    width:calc(100% - 32px);
  }
  .reference-trust-inner>div {
    padding:20px 4px;
    gap:6px;
  }
  .reference-trust-inner strong {
    font-size:25px;
  }
  .reference-trust-inner span {
    font-size:10px;
  }
  .public-section {
    padding:48px 20px;
  }
  .public-section h2 {
    font-size:28px;
    line-height:1.4;
  }
  .public-section .lead {
    font-size:14px;
    line-height:1.9;
  }
  .teacher-directory-heading {
    gap:12px;
    flex-wrap:wrap;
  }
  .teacher-directory-heading>div {
    min-width:0;
  }
  .teacher-directory-home-grid {
    grid-template-columns:1fr;
  }
  .teacher-directory-card {
    min-height:220px;
    padding:24px;
  }
  .teacher-directory-home-grid .teacher-directory-card {
    min-height:220px;
  }
  .teacher-directory-card h3 {
    font-size:21px;
  }
  .teacher-directory-card .teacher-directory-tags span {
    font-size:12px;
  }
  #publicTeacherGrid {
    min-height:300px;
  }
  .auth-brandbar {
    padding:18px 20px;
  }
  .auth-brandbar>span {
    font-size:10px;
  }
  .auth-layout {
    padding:16px 16px 35px;
    display:block;
  }
  .auth-intro {
    padding:8px 6px 22px;
  }
  .auth-intro h1 {
    font-size:27px;
    line-height:1.45;
    margin:8px 0 0;
  }
  .auth-intro .section-kicker {
    font-size:10px;
  }
  .auth-card {
    padding:24px 20px;
    border-radius:var(--radius-card);
  }
  .auth-head {
    display:flex;
    flex-wrap:nowrap;
    align-items:start;
  }
  .auth-head>div {
    width:auto;
    flex:1;
  }
  .auth-head h2 {
    font-size:24px;
  }
  .auth-head p {
    font-size:12px;
    line-height:1.8;
  }
  .auth-close {
    order:0;
    font-size:12px;
    padding:8px 0;
    white-space:nowrap;
    min-height:40px;
  }
  .auth-role {
    gap:10px;
  }
  .auth-role button {
    padding:12px 10px;
    min-height:76px;
    gap:8px;
  }
  .role-symbol {
    height:30px;
    width:30px;
    font-size:13px;
    border-radius:var(--radius-control);
  }
  .role-copy small {
    display:none;
  }
  .role-copy b {
    font-size:13px;
  }
  .role-tick {
    font-size:12px;
  }
  .form-grid {
    gap:18px;
    grid-template-columns:1fr;
  }
  .form-field {
    grid-column:1/-1;
  }
  .form-field input,.form-field select,.form-field textarea,.family-form input,.family-form select,.family-form textarea {
    font-size:16px;
    min-height:48px;
  }
  .form-field label {
    font-size:13px;
  }
  .form-field small {
    font-size:12px;
  }
  .registration-step-heading h3 {
    font-size:20px;
  }
  .registration-progress span {
    font-size:11px;
    gap:5px;
  }
  .registration-progress b {
    height:22px;
    width:22px;
  }
  .journey-form .registration-progress {
    padding-top:6px;
  }
  .registration-controls {
    justify-content:space-between;
  }
  .registration-controls button {
    padding:10px 11px;
    font-size:12px;
  }
  .journey-form .growth-grid {
    gap:9px;
  }
  .journey-form .growth-card {
    padding:17px 11px;
    min-height:230px;
    border-radius:var(--radius-sub);
  }
  .journey-form .growth-card h3 {
    font-size:14px;
  }
  .journey-form .growth-card p {
    font-size:11px;
  }
  .journey-form .growth-card .subject-chip {
    font-size:11px;
  }
  .journey-form .course-status {
    right:35px;
    top:16px;
    font-size:9px;
  }
  .journey-form .course-option-check {
    right:10px;
  }
  .featured-course-head {
    display:block!important;
  }
  .featured-course-badge {
    display:inline-block;
    margin-top:10px;
  }
  .featured-course-head p {
    font-size:12px;
  }
  .featured-course-selection {
    font-size:12px;
  }
  .week-picker {
    gap:6px;
  }
  .week-picker button {
    min-width:38px;
    font-size:12px;
    padding:8px;
  }
  .slot-buttons .slot {
    flex:1;
    padding:10px 4px;
  }
  .budget-range {
    gap:8px;
  }
  .budget-range input {
    width:100%;
    min-width:0;
    padding:12px 10px;
  }
  .app {
    display:block;
  }
  .sidebar {
    position:sticky;
    top:0;
    width:100%;
    height:auto;
    max-height:100dvh;
    border-right:0;
    border-bottom:1px solid var(--line);
    display:flex;
    flex-direction:row;
    align-items:center;
    flex-wrap:wrap;
    padding:13px 20px;
    gap:0;
    background:#fffffffa;
    z-index:30;
    overflow:auto;
  }
  .sidebar .brand {
    padding:0;
    margin:0;
    display:block;
    flex:1;
  }
  .sidebar .brand strong {
    font-size:19px;
  }
  .sidebar .brand small {
    display:none;
  }
  .sidebar .role-label {
    display:block;
    order:1;
    width:100%;
    margin:4px 0 0;
    font-size:11px;
    padding:0;
    color:var(--muted);
  }
  .workspace-menu {
    display:flex;
    align-items:center;
    gap:14px;
    order:0;
    font-size:12px;
    min-height:40px;
    border:1px solid var(--line);
    border-radius:var(--radius-control);
    padding:8px 12px;
    background:var(--green-soft);
    color:var(--green);
  }
  .sidebar #nav {
    display:none;
    order:2;
    width:100%;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin:16px 0 0;
    padding:0;
  }
  .sidebar.menu-open #nav {
    display:grid;
  }
  .sidebar #nav button {
    min-height:49px;
    flex-direction:row;
    justify-content:flex-start;
    padding:12px;
    gap:9px;
    border-radius:var(--radius-control);
    background:var(--green-soft);
  }
  .sidebar #nav button.active {
    background:var(--green-soft);
    color:var(--green);
  }
  .sidebar #nav button span:not(.icon) {
    font-size:12px;
  }
  .sidebar .side-bottom {
    display:none;
    order:3;
    width:100%;
    margin:16px 0 0;
    position:static;
    padding:15px 0 0;
    border-top:1px solid var(--line);
  }
  .sidebar.menu-open .side-bottom {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
  }
  .sidebar .profile {
    display:none;
  }
  .sidebar .profile-edit,.sidebar .home-link {
    width:auto;
    font-size:12px;
    padding:10px;
    background:var(--green-soft);
    border-radius:var(--radius-control);
    min-height:42px;
    margin:0;
  }
  .sidebar .home-link:after {
    content:none;
  }
  .sidebar .home-link .home-label {
    display:inline;
  }
  .main {
    margin-left:0;
    width:100%;
    min-width:0;
  }
  .topbar {
    height:auto;
    min-height:42px;
    padding:10px 20px;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .content {
    padding:16px;
  }
  .account-overview h1 {
    font-size:25px;
  }
  .ops-overview-head {
    gap:14px;
    flex-wrap:wrap;
  }
  .account-panel,.account-onboarding {
    padding:20px;
  }
  .account-task {
    gap:10px;
  }
  .account-task b {
    font-size:11px;
  }
  .ops-summary-grid {
    gap:9px;
  }
  .ops-summary-grid>article {
    padding:16px 12px;
    border-radius:var(--radius-sub);
  }
  .ops-summary-grid strong {
    font-size:30px;
  }
  .account-tools .family-toolbar {
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .account-tools .family-shortcut {
    padding:16px 13px;
    min-height:125px;
  }
  .account-tools .family-shortcut strong {
    font-size:13px;
  }
  .account-tools .family-shortcut span {
    font-size:11px;
    line-height:1.8;
  }
  .screen-overlay {
    padding:12px;
  }
  .screen-drawer {
    width:100%;
    height:auto;
    max-height:calc(100dvh - 24px);
    padding:20px;
    border-radius:var(--radius-card);
    scroll-padding:80px 0 24px;
  }
  .screen-drawer-head {
    top:-20px;
    padding:12px 0;
    background:#fff;
    gap:12px;
  }
  .screen-drawer-head h2 {
    font-size:22px;
    line-height:1.45;
  }
  .screen-drawer-head p {
    font-size:12px;
    line-height:1.7;
  }
  .drawer-close {
    min-width:40px;
    min-height:40px;
    flex:none;
  }
  .teacher-directory-overlay {
    padding:0;
  }
  .teacher-directory-overlay .screen-drawer {
    height:100dvh;
    max-height:100dvh;
    padding:20px 20px max(24px,env(safe-area-inset-bottom));
    border-radius:0;
  }
  .teacher-directory-filters {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .teacher-directory-filters label:first-child {
    grid-column:1/-1;
  }
  .teacher-detail-hero {
    flex-wrap:wrap;
    gap:16px;
  }
  .teacher-detail-grid {
    grid-template-columns:1fr 1fr;
  }
  .family-panel {
    padding:0;
  }
  .family-fields {
    grid-template-columns:1fr;
  }
  .family-actions {
    gap:10px;
  }
  .family-actions button {
    white-space:normal;
    min-height:44px;
  }
  .family-card {
    padding:18px;
  }
  .family-form {
    gap:18px;
  }
  .family-steps {
    gap:9px;
  }
  .family-steps span {
    font-size:11px;
  
  border-radius: var(--radius-control);
}
  .invite-share {
    grid-template-columns:1fr;
  }
  .family-toolbar .family-shortcut {
    min-width:0;
  }
  .family-toolbar {
    grid-template-columns:1fr;
  }
  .public-footer {
    padding:30px 20px;
    gap:20px;
    flex-wrap:wrap;
  }
  .public-footer p {
    font-size:11px;
    line-height:1.8;
  }
}
@media(prefers-reduced-motion:reduce) {
  .hero-slide:not(.is-active) {
    display:block;
    visibility:hidden;
  }
  .hero-slide-stage .hero-slide {
    grid-area:1/1;
    transform:none!important;
    filter:none!important;
  }
  .hero-slide-stage .hero-slide.is-active {
    visibility:visible;
  }
  .hero-slide.is-leaving {
    visibility:hidden;
  }
}
.auth-role {
  flex-direction:row;
}
.auth-role button {
  width:50%;
}
.public-nav.menu-open .public-links a {
  display:block;
}
@media(max-width:620px) {
  .public-nav-actions .solid {
    display:inline-flex;
  }
  .teacher-directory-toolbar {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .teacher-directory-toolbar label:first-child {
    grid-column:1/-1;
  }
  .teacher-directory-toolbar input,.teacher-directory-toolbar select {
    font-size:16px;
    min-height:46px;
  }
  .journey-form .featured-course-field {
    padding:12px!important;
  }
}
@media(max-width:420px) {
  .journey-form .growth-grid {
    grid-template-columns:1fr;
    gap:12px;
  }
  .journey-form .growth-card {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 12px;
    min-height:0;
    padding:16px;
    border-radius:var(--radius-sub);
  }
  .journey-form .growth-card .growth-icon {
    position:absolute;
    left:16px;
    top:16px;
    margin:0;
  }
  .journey-form .growth-card h3 {
    grid-column:1/-1;
    margin:0 20px 0 45px;
    min-height:36px;
    display:flex;
    align-items:center;
    font-size:16px;
  }
  .journey-form .growth-card .course-status {
    grid-column:1/-1;
    position:static;
    max-width:none;
    text-align:left;
    margin:0;
    font-size:10px;
  }
  .journey-form .growth-card p {
    grid-column:1/-1;
    margin:0;
    font-size:12px;
    min-height:0;
    line-height:1.8;
  }
  .journey-form .growth-card .course-option-toggle {
    margin:4px 0 0;
    min-height:42px;
    font-size:12px;
  }
  .journey-form .growth-card .link {
    margin:4px 0 0;
    padding:0;
    min-height:42px;
    text-align:center;
    font-size:12px;
  }
  .journey-form .course-option-check {
    right:14px;
    top:15px;
  }
}
@media(max-width:620px) {
  .sidebar .brand {
    order:-1;
  }
  .app .topbar {
    display:none;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
}
@media(max-width:420px) {
  .journey-form .growth-card h3 {
    grid-row:1;
  }
  .journey-form .growth-card .course-status {
    grid-row:2;
  }
  .journey-form .growth-card p {
    grid-row:3;
  }
  .journey-form .growth-card .course-option-toggle,.journey-form .growth-card .link {
    grid-row:4;
  }
}
body.modal-open {
  overflow:hidden;
}
.public-art {
  grid-template-columns:1fr 1fr;
  align-content:center;
  gap:14px;
}
.public-art .journey-art {
  grid-column:1/-1;
  min-width:0;
}
.public-art .float-note {
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:0;
  width:auto;
  min-width:0;
  padding:14px 12px;
  box-shadow:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-control);
  gap:10px;
}
.float-note small {
  font-size:12px!important;
  color:#626b77!important;
  line-height:1.6;
}
.float-note strong {
  font-size:13px!important;
}
.float-symbol {
  flex:none;
}
.journey-art .preview-topline {
  letter-spacing:0;
  font-size:12px;
  color:var(--muted);
  flex-wrap:wrap;
  gap:8px;
}
.hero-slide h2 {
  font-size:52px;
  line-height:1.12;
  font-weight:650;
  letter-spacing:0;
  margin:0;
  min-height:2.25em;
}
.hero-slide h2 em {
  font-style:normal;
  color:var(--blue,var(--coral));
}
.hero-slide-stage .hero-slide:not(.is-active) {
  opacity:0;
  transition:none;
}
.hero-slide-stage .hero-slide.is-active {
  animation:hero-copy-in 280ms ease-out both;
}
.hero-slide-nav {
  flex-wrap:wrap;
}
.hero-playback {
  margin-top:8px;
}
@keyframes hero-copy-in {
  from {
    opacity:0;
    filter:blur(4px);
  }
  to {
    opacity:1;
    filter:none;
  }
}
#accountOverviewData {
  display:flex;
  flex-direction:column;
}
#accountOverviewData .account-columns {
  order:1;
  margin-top:0;
}
#accountOverviewData .ops-summary-grid {
  order:2;
  margin-top:22px;
}
#accountOverviewData>.account-onboarding {
  order:0;
}
#accountOverviewData,#opsOverviewData {
  overflow-anchor:none;
}
.account-overview .account-tools {
  display:none;
}
.ops-summary-grid p,.account-caption,.family-muted,.teacher-directory-filter-help {
  color:var(--muted)!important;
}
.public-section .section-kicker,.account-overview .section-kicker,.ops-overview .section-kicker {
  font-size:12px!important;
  letter-spacing:.035em;
  color:var(--muted);
}
.public-hero .quiet-note,.public-hero-copy>p,.growth-card p,.public-footer p {
  color:var(--muted);
}
.journey-art-orbit,.learning-banner,[data-image-slot] {
  overflow:hidden;
}
.schedule-availability {
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  margin:4px 0;
}
.schedule-availability button {
  min-height:44px;
  background:var(--green-soft);
  color:var(--green);
  border-radius:var(--radius-control);
  padding:8px 12px;
  margin:6px;
}
.schedule-availability strong {
  display:block;
  color:#86551b;
  background:#fff6e6;
  padding:10px 14px;
  border-radius:var(--radius-control);
  font-weight:650;
}
.journey-art-path span {
  font-size:12px;
}
.family-actions>button,.subject-chip,.link,.course-option-toggle,.teacher-directory-back {
  min-height:44px;
}
.matching-featured-courses .course-option-check {
  display:none;
}
.matching-featured-courses button {
  cursor:pointer;
  min-height:130px;
}
.ops-queue-grid .ops-guide-card {
  display:none;
}
.ops-queue-grid .ops-queue-card .ops-queue-desc {
  color:var(--muted);
}
.ops-overview .ops-service-note p {
  color:var(--muted);
}
@media(max-width:620px) {
  .public-art {
    gap:10px;
    padding:0!important;
  }
  .public-art .float-note {
    padding:12px 10px;
    gap:8px;
  }
  .public-art .float-note strong {
    font-size:12px!important;
  }
  .public-art .float-symbol {
    width:28px;
    height:28px;
  }
  .journey-art h2 {
    font-size:27px;
  }
  .hero-slide h2 {
    font-size:clamp(32px,9.8vw,46px)!important;
    line-height:1.12;
    font-weight:650;
    letter-spacing:-.04em;
    min-height:2.25em;
  }
  .hero-slide-nav button span {
    display:inline;
    font-size:12px;
  }
  .hero-slide-nav {
    gap:4px;
  }
  .hero-playback {
    margin-top:0;
  }
  .public-section {
    padding-top:48px;
    padding-bottom:48px;
  }
  .account-overview .ops-summary-grid {
    margin-top:18px;
  }
  .public-links a,.workspace-menu {
    min-height:44px;
  }
  .sidebar .profile-edit,.sidebar .home-link {
    min-height:44px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .hero-slide-stage .hero-slide {
    animation:none!important;
  }
  .hero-playback {
    display:none;
  }
}
.welfare-story-placeholder {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  width:100%;
  padding:32px 38px;
  border-radius:var(--radius-card);
  background:linear-gradient(120deg,#e9f3ed,var(--green-soft));
  color:#304d48;
}
.welfare-story-placeholder>span {
  font-size:32px;
  color:#638b72;
}
.welfare-story-placeholder h3 {
  font-size:26px;
  line-height:1.5;
  font-weight:650;
  margin:10px 0;
}
.welfare-story-placeholder p {
  font-size:14px;
  line-height:1.8;
  color:#51665d;
}
.public-page small,.public-page .section-kicker,.public-footer .footer-sub,.auth-foot,.family-caption,.teacher-directory-eyebrow,.teacher-detail-grid small,.form-field small,.featured-course-kicker {
  font-size:12px!important;
}
.family-muted,.muted,.auth-intro p,.auth-card .auth-desc {
  color:#5f6673;
}
.hero-slide-nav button:not(.is-active) {
  color:var(--muted);
}
@media(max-width:620px) {
  .welfare-story-placeholder {
    padding:25px;
    min-height:210px;
  }
  .welfare-story-placeholder h3 {
    font-size:23px;
  }
}
.course-status,.featured-course-badge,.course-choice-help,.teacher-directory-count {
  font-size:12px!important;
}
.ops-empty-summary {
  grid-column:1/-1;
  margin:0;
  padding:20px 24px;
  border-radius:var(--radius-sub);
  background:#fff;
  border:1px solid var(--line);
  font-size:14px!important;
}
.public-kicker,.hero-slide-nav button.is-active {
  color:var(--green)!important;
}
.hero-slide-nav button.is-active {
  border-bottom-color:var(--green);
}
.welfare-story-placeholder>span[aria-hidden="true"] {
  font-size:0!important;
}

/*  Migrated component rules: frontend/after-school.css  */
:root {
  --deep:#16352b;
  --chalk:#e9c46a;
  --mist:var(--muted);
  --violet:var(--muted);
  --sh-1:0 3px 10px #1e463906;
  --motion:cubic-bezier(.2,.8,.2,1);
  --blue-dark:#16352b;
  --peach-soft:#f5e8da;
  --card-line:rgba(30,70,57,.14);
  --card-shadow:0 8px 24px rgba(30,70,57,.07);
  --type-body:15px;
  --type-small:13px;
  --type-caption:12px;
  --hairline:rgba(30,70,57,.14);
  --flat-green:#6f9274;
  --flat-blue:var(--muted);
  --flat-amber:#c38a57;
  --edge-strong:rgba(35,76,59,.18);
  --edge-soft:rgba(30,70,57,.12);
  --control-height:46px;
  --focus-ring:0 0 0 3px rgba(184,76,21,.15);
  --ui-edge:rgba(30,70,57,.14);
  --ui-edge-strong:rgba(30,70,57,.30);
  --ui-control:46px;
  --ui-focus:rgba(35,76,59,.28);
  --ui-shadow-card:0 12px 30px rgba(30,70,57,.065);
  --ui-shadow-card-hover:0 18px 40px rgba(30,70,57,.11);
  --edge-hover:rgba(30,70,57,.28);
  --edge-focus:rgba(184,76,21,.28);
  --polish-edge:rgba(36,72,58,.16);
  --polish-edge-strong:rgba(36,72,58,.30);
  --polish-focus:rgba(64,126,101,.24);
  --visual-edge:rgba(24,52,45,.14);
  --visual-edge-strong:rgba(24,52,45,.28);
}
body {
  background:var(--paper);
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,textarea,select {
  touch-action:manipulation;
}
button {
  transition:background .12s,color .12s,border-color .12s,box-shadow .12s;
}
button:disabled {
  cursor:default;
  opacity:.65;
}
a {
  color:inherit;
  text-underline-offset:5px;
}
img,svg,video {
  max-width:100%;
}
h1,h2,h3 {
  text-wrap:pretty;
}
input,select,textarea {
  min-width:0;
  max-width:100%;
  accent-color:var(--ink);
}
.public-page {
  background:var(--paper);
  color:var(--ink);
  overflow:clip;
}
.public-nav {
  position:sticky;
  top:0;
  z-index:20;
  height:auto;
  padding:18px max(32px,calc((100vw - 1240px)/2));
  gap:30px;
  border-bottom:1px solid #1e463914;
  backdrop-filter:blur(14px);
  box-shadow:none;
}
.public-brand,.brand strong {
  font-size:25px;
  font-weight:700;
  color:var(--ink);
  white-space:nowrap;
}
.public-brand:before,.brand:before,.public-brand:after,.auth-head h2:before {
  display:none!important;
}
.public-links {
  display:flex;
  margin-left:auto;
}
.public-links a {
  font-size:14px;
  font-weight:650;
  color:#4d5b50;
  text-decoration:none;
  padding:0;
}
.public-links a:hover {
  color:var(--coral);
}
.public-links .charity-link {
  color:var(--coral);
  font-weight:700;
}
.public-nav-actions {
  gap:12px;
  display:flex;
  align-items:center;
}
.public-nav-actions button,.mobile-public-menu {
  padding:9px 18px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:transparent;
  color:var(--ink);
  font-size:14px;
  font-weight:650;
}
.public-nav-actions button.solid {
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
}
.api-status {
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
}
.api-status i {
  background:#a7b593;
}
.api-status.live i {
  background:var(--ink);
}
.public-hero {
  margin:auto;
  padding:84px 64px 80px;
  display:grid;
  grid-template-columns:1.03fr 1fr;
  gap:66px;
  align-items:center;
  background:none;
}
.public-hero-copy {
  padding:0;
  min-width:0;
}
.public-kicker,.section-kicker {
  font-size:12px;
  line-height:1.6;
  font-weight:700;
  letter-spacing:1.4px;
  color:var(--coral);
  text-transform:none;
}
.public-kicker:before,.section-kicker:before {
  background:var(--coral);
}
.public-hero h1,.public-hero h2 {
  font-size:clamp(36px,3.5vw,52px);
  font-weight:700;
  line-height:1.4;
  letter-spacing:-1.7px;
  margin:20px 0;
  color:var(--deep);
}
.public-hero h1 em,.public-hero h2 em {
  color:var(--coral);
  font-style:normal;
}
.public-hero h1 em:after,.public-hero h2 em:after {
  display:none;
}
.public-hero-copy>.hero-slide-stage p {
  font-size:16px;
  line-height:1.95;
  color:#626b60;
  margin:22px 0;
}
.hero-slide-stage .hero-slide {
  transition:opacity .18s var(--motion);
  filter:none!important;
  transform:none!important;
}
.hero-slide-stage .hero-slide:not(.is-active) {
  pointer-events:none;
}
.public-cta {
  gap:12px;
  margin-top:25px;
  flex-wrap:wrap;
}
.public-cta button {
  border-radius:var(--radius-control);
  padding:14px 23px;
  font-size:14px;
  font-weight:650;
  min-height:50px;
}
.public-cta .primary {
  background:var(--ink);
  color:#fff;
  box-shadow:0 4px 12px #1e46391a;
}
.public-cta .secondary {
  background:transparent;
  border:1px solid var(--line);
  color:var(--ink);
}
.quiet-note {
  color:var(--muted);
  font-size:12px;
  margin:19px 0;
}
.quiet-note i {
  background:var(--ink);
}
.hero-slide-nav {
  display:flex;
  gap:0;
  border-top:1px solid var(--line);
  margin-top:26px;
  padding-top:16px;
}
.hero-slide-nav button {
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0 9px 0 0;
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-size:11px;
}
.hero-slide-nav button b {
  font-size:11px;
  font-weight:650;
  color:var(--muted);
}
.hero-slide-nav button.is-active,.hero-slide-nav button.is-active b {
  color:var(--coral);
}
.hero-play-toggle {
  font-size:11px;
  color:var(--muted);
  background:none;
  min-height:44px;
}
.public-art {
  display:block!important;
  padding:0;
  min-height:0!important;
  transform:none!important;
  perspective:none!important;
}
.public-art:before,.public-art:after {
  display:none;
}
.desk-scene {
  border:1px solid #1e463912;
  border-radius:var(--radius-card);
  overflow:hidden;
  margin:0;
  background:var(--sand);
  box-shadow:0 16px 42px #1e463906;
  aspect-ratio:16/11;
  position:relative;
}
.desk-scene img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.desk-caption {
  margin:16px 0 0;
  background:#fff;
  border:1px solid var(--line);
  border-left:3px solid var(--ink);
  border-radius:var(--radius-control);
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  padding:15px 18px;
}
.desk-caption span {
  font-size:11px;
  color:var(--muted);
}
.desk-caption strong {
  font-size:13px;
  font-weight:650;
}
.desk-caption button {
  background:transparent;
  white-space:nowrap;
  color:var(--coral);
  padding:0 3px;
}
.hero-proof {
  display:flex;
  margin-top:14px;
  color:var(--muted);
  font-size:11px;
}
.hero-proof b {
  color:var(--ink);
}
.public-section {
  padding:72px max(32px,calc((100vw - 1240px)/2));
  margin:0;
  border:0;
  background:var(--paper);
}
.public-section h2 {
  max-width:none;
  margin:12px 0 14px;
  color:var(--ink);
}
.public-section .lead {
  color:var(--muted);
}
.public-section#services {
  background:var(--sand);
}
#services h2 br {
  display:none;
}
.trust-row {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:32px;
}
.trust-item {
  box-shadow:var(--sh-1);
}
.trust-item strong {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  font-size:19px;
  background:var(--ink);
  color:#fff;
  border-radius:var(--radius-control);
  margin-bottom:20px;
}
.trust-item:nth-child(2) strong {
  background:#476b52;
}
.trust-item:nth-child(3) strong {
  background:var(--coral);
}
.trust-item h3 {
  font-size:19px;
  margin:0 0 10px;
}
.trust-item span {
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
  display:block;
}
.trust-item .step-outcome {
  display:block;
  color:var(--amber-ink);
  font-size:12px;
  border-top:1px dashed var(--line);
  padding-top:15px;
  margin-top:20px;
}
.learning-banner {
  display:none;
}
.link,.welfare-stories {
  background:transparent;
  color:var(--amber-ink);
  font-size:14px;
  font-weight:650;
  padding:10px 0;
  min-height:44px;
  text-decoration:none;
}
.teacher-directory-heading>.link {
  flex:none;
}
.teacher-directory-heading .lead {
  margin-bottom:0;
}
.teacher-directory-grid,.teacher-directory-home-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.teacher-directory-home-grid {
  margin-top:30px;
}
.teacher-directory-card {
  transition:border-color .15s,box-shadow .15s;
}
.teacher-directory-card .teacher-card-avatar,.teacher-directory-card .teacher-avatar,.teacher-detail-avatar {
  background:#e4e9dd!important;
  color:var(--ink)!important;
  border:1px solid #1e463918;
  border-radius:var(--radius-sub);
}
.teacher-directory-card h3 {
  margin:0;
  color:var(--ink);
}
.teacher-directory-card p,.teacher-directory-card small {
  color:var(--muted);
  line-height:1.8;
}
.teacher-directory-card .teacher-verified {
  border-radius:6px;
  background:#e6eddf;
  color:#375537;
}
.teacher-directory-card .teacher-tags span,.teacher-tags span {
  border-radius:6px;
  background:var(--sand);
  color:var(--ink);
  font-size:12px;
}
.teacher-directory-card .teacher-card-footer {
  border-color:var(--line);
  color:var(--amber-ink);
}
.family-empty {
  background:#f5f2e9;
  border:1px dashed #c8d1be;
  border-radius:var(--radius-sub);
  color:var(--ink);
  padding:36px;
  text-align:center;
  min-width:0;
}
.teacher-directory-home-grid>.family-empty {
  grid-column:1/-1;
  max-width:none;
}
.family-empty p {
  color:var(--muted);
  line-height:1.9;
  font-size:14px;
}
.family-empty h3 {
  font-size:20px;
}
.directory-loading {
  flex-direction:column;
  justify-content:center;
}
.family-empty:before {
  content:"";
  display:block;
  width:50px;
  height:40px;
  border:2px solid #9da78b;
  border-top:0;
  border-radius:0 0 15px 15px;
  margin:0 auto 20px;
  background:linear-gradient(90deg,transparent 48%,#9da78b 48%,#9da78b 52%,transparent 52%);
}
.growth-section {
  background:var(--sand);
}
.growth-grid,.featured-course-grid {
  gap:18px;
}
.growth-card,.featured-course-card,.course-option-card {
  background:#fff!important;
  border:1px solid var(--line)!important;
  color:var(--ink);
  min-width:0;
  position:relative;
}
.growth-card .growth-icon,.featured-course-card .growth-icon {
  background:#e5e9db!important;
  color:#416854!important;
  border-radius:var(--radius-sub);
  box-shadow:none;
}
.growth-card:nth-child(3n) .growth-icon {
  background:#f3e2d2!important;
  color:var(--coral)!important;
}
.growth-card h3 {
  color:var(--ink);
  padding-right:0;
}
.growth-card p,.course-option-copy>span {
  color:var(--muted)!important;
  line-height:1.85;
  font-size:13px;
}
.growth-card .link {
  color:var(--amber-ink)!important;
  background:none;
  border-radius:0;
}
.course-status {
  position:static!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  background:var(--sand)!important;
  border:1px solid #d8d6c7!important;
  border-radius:5px!important;
  color:#626454!important;
  font-size:10px!important;
  padding:2px 8px!important;
  line-height:1.8;
}
.growth-card>.course-status {
  position:absolute!important;
  top:22px!important;
  right:22px!important;
  max-width:90px;
}
.course-option-check {
  position:absolute;
  top:15px!important;
  right:15px!important;
  min-width:24px;
  border-radius:6px!important;
  background:var(--ink)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.is-selected .course-option-check {
  display:flex;
}
.course-option-card.is-selected {
  border-color:var(--ink)!important;
  box-shadow:inset 0 0 0 1px var(--ink);
  background:#f0f4e9!important;
}
.course-option-card .course-status {
  grid-area:auto!important;
  align-self:start;
}
.course-option-card.is-selected>.course-status {
  margin-right:26px;
}
.course-option-card .course-option-toggle {
  color:var(--ink)!important;
  border-color:#a3b298!important;
  border-radius:var(--radius-sub)!important;
  background:#eff3e8!important;
}
.course-option-card .course-option-toggle.on {
  background:var(--ink)!important;
  color:#fff!important;
}
.featured-course-card .course-status {
  grid-column:2;
}
.featured-course-card .course-option-copy {
  padding-right:15px;
}
.featured-course-card .course-option-copy b {
  color:var(--ink);
}
.featured-course-card .growth-icon {
  grid-row:1/3;
}
.matching-featured-courses {
  padding:22px;
  background:var(--sand);
  border:1px solid var(--line);
  border-radius:var(--radius-control);
}
.matching-featured-courses>div:first-child small {
  color:var(--muted);
  font-size:13px;
}
.course-card,.growth-entry {
  background:#edf1e5!important;
  border-color:#d0d9c6!important;
}
figure.media {
  position:relative;
  margin:0;
  aspect-ratio:16/10;
  overflow:hidden;
  border:1px solid #1e463919;
  background:var(--sand);
  border-radius:var(--radius-control);
  box-shadow:var(--sh-1);
}
figure.media>img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  filter:saturate(.85) contrast(.98) sepia(.04);
}
figure.media:after {
  content:"";
  position:absolute;
  inset:0;
  background:#1e463907;
  pointer-events:none;
}
.welfare-section {
  background:var(--paper);
}
.welfare-section .welfare-heading {
  margin-bottom:16px;
}
.welfare-gallery {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin-top:30px;
}
.welfare-photo-card {
  border-radius:var(--radius-sub);
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  min-width:0;
  box-shadow:var(--sh-1);
}
.welfare-photo-card>button {
  width:100%;
  height:100%;
  padding:0;
  text-align:left;
  background:transparent;
  color:var(--ink);
  display:flex;
  flex-direction:column;
}
.welfare-photo-card .media {
  width:100%;
  border:0;
  border-radius:0;
  aspect-ratio:16/11;
  box-shadow:none;
}
.welfare-photo-copy {
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}
.welfare-photo-copy small {
  font-size:10px;
  color:var(--muted);
  letter-spacing:.8px;
}
.welfare-photo-copy strong {
  font-size:18px;
  line-height:1.6;
}
.welfare-photo-copy span {
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
}
.welfare-photo-copy em {
  font-size:12px;
  font-weight:650;
  color:var(--coral);
  font-style:normal;
  margin-top:5px;
}
.welfare-photo-card button:hover {
  background:#fffdf7;
}
.welfare-photo-card button:focus-visible {
  outline-offset:-4px;
}
.welfare-section .media-row {
  margin-top:28px;
}
.welfare-media-card {
  height:auto;
  aspect-ratio:auto;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:none;
  color:var(--ink);
  border-radius:var(--radius-sub);
  overflow:hidden;
  min-width:280px;
}
.welfare-media-card>img,.welfare-media-card>video {
  position:static;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
}
.welfare-media-card .media-gradient {
  display:none;
}
.welfare-media-card .media-copy {
  position:static;
  inset:auto;
  padding:18px;
  background:#fff;
  color:var(--ink);
  min-height:80px;
}
.welfare-media-card .media-copy span {
  color:var(--muted);
}
.welfare-story-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.welfare-story-grid .media {
  aspect-ratio:4/3;
}
.welfare-story-lead {
  font-size:16px;
  color:var(--muted);
  line-height:2;
}
.public-footer {
  background:var(--deep);
  color:#e5e8db;
  border:0;
  padding:42px max(32px,calc((100vw - 1240px)/2));
  gap:28px;
  align-items:flex-start;
}
.public-footer .identity {
  background:none;
  padding:0;
  font-size:24px;
  letter-spacing:1px;
  font-weight:700;
  color:#fff;
}
.public-footer p {
  color:#c8d2be;
  font-size:12px;
  line-height:1.9;
}
.public-footer a {
  color:#e2e8d6;
  font-size:12px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
}
.auth-page {
  background:var(--paper);
  padding:50px 32px;
  min-height:100dvh;
}
.auth-layout {
  max-width:1180px;
  margin:auto;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
}
.auth-intro {
  position:sticky;
  top:60px;
  background:none;
}
.auth-intro h1 {
  color:var(--ink);
  letter-spacing:-1px;
  margin:22px 0;
}
.auth-intro h1 span {
  color:var(--coral);
}
.auth-intro p {
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
}
.auth-assurance {
  padding:20px 0;
  margin:0;
  list-style:none;
  display:grid;
  gap:16px;
}
.auth-assurance li {
  color:#50604d;
  font-size:13px;
}
.auth-assurance i {
  background:#e1e9d6;
  color:var(--ink);
  border-radius:50%;
  font-style:normal;
}
.auth-illustration {
  display:none;
}
.auth-desk {
  width:100%;
  margin-top:20px;
  border-radius:var(--radius-control);
}
.auth-card {
  background:#fff;
  min-width:0;
}
.auth-head {
  gap:18px;
  align-items:flex-start;
}
.auth-head h2 {
  margin:0 0 8px;
  color:var(--ink);
}
.auth-head p {
  font-size:13px;
  color:var(--muted);
  line-height:1.8;
}
.auth-close {
  font-size:12px;
  color:var(--muted);
  background:var(--sand);
  border:0;
  border-radius:var(--radius-control);
  padding:10px 12px;
  white-space:nowrap;
}
.auth-tabs {
  background:var(--sand);
  padding:4px;
  border-radius:var(--radius-control);
  gap:4px;
  margin:22px 0;
  display:flex;
}
.auth-tabs button {
  min-height:44px;
  border:0;
  border-radius:7px;
  color:var(--muted);
  flex:1;
  background:transparent;
  font-size:14px;
}
.auth-tabs button.active {
  background:#fff;
  color:var(--ink);
  box-shadow:var(--sh-1);
}
.auth-role {
  gap:12px;
  margin-bottom:18px;
}
.auth-role button {
  min-height:86px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-control);
  color:var(--ink);
  position:relative;
  gap:12px;
  padding:16px;
}
.auth-role button.active {
  border-color:var(--ink);
  background:#f0f4e8;
  box-shadow:inset 0 0 0 1px var(--ink);
}
.auth-role .role-symbol {
  background:#e6ebdf;
  color:var(--ink);
  border-radius:var(--radius-control);
  font-size:18px;
}
.auth-role .role-copy b {
  font-size:15px;
}
.auth-role .role-copy small {
  font-size:11px;
  line-height:1.7;
  color:var(--muted);
}
.auth-role .role-tick {
  color:var(--ink);
}
.auth-role button.active .role-tick {
  background:var(--ink);
  color:white;
}
.invite-entry,.student-login-toggle,.staging-login-toggle {
  font-size:12px;
  color:var(--amber-ink);
  line-height:1.8;
  min-height:44px;
  padding:9px 0;
  text-align:left;
  background:none;
  border:0;
}
.invite-entry {
  margin:0 0 8px;
  width:100%;
  border-bottom:1px solid var(--line);
  padding-bottom:16px;
}
.student-login-toggle+.student-login-toggle {
  margin-left:18px;
}
.auth-card .form-grid {
  gap:18px 16px;
}
.auth-card label,.form-field>label,.family-form label {
  font-size:13px;
  font-weight:550;
  color:var(--ink);
}
.auth-card input,.auth-card select,.auth-card textarea,.family-form input:not([type=checkbox]):not([type=radio]),.family-form select,.family-form textarea,.teacher-directory-toolbar input,.teacher-directory-toolbar select,.matching-panel input:not([type=checkbox]):not([type=radio]),.matching-panel textarea,.matching-panel select {
  background:#fff;
  color:var(--ink);
  border:1px solid #ced3c7;
  border-radius:9px;
  min-height:46px;
  font-size:14px;
  padding:12px 13px;
  line-height:1.6;
  box-shadow:none;
}
.auth-card input:focus,.auth-card select:focus,.family-form input:focus,.family-form select:focus,.family-form textarea:focus {
  border-color:var(--ink);
  outline:2px solid #1e463920;
  outline-offset:1px;
}
.auth-card input::placeholder,.family-form input::placeholder,.family-form textarea::placeholder {
  color:#777a70;
}
.auth-card .form-field small,.field-hint,.family-muted,.form-help,.registration-phone-note {
  color:var(--muted);
  font-size:12px;
  line-height:1.8;
}
.auth-card .auth-submit,.auth-submit,.btn-primary,.registration-next {
  color:#fff;
  background:var(--ink);
  border-color:var(--ink);
  box-shadow:none;
  border-radius:var(--radius-control);
  min-height:46px;
  padding:12px 20px;
  font-size:14px;
  font-weight:650;
}
.auth-submit:hover,.btn-primary:hover,.registration-next:hover {
  background:var(--deep);
  transform:none;
}
.code-row button {
  background:var(--sand);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  min-height:46px;
  font-size:12px;
}
.registration-progress {
  background:var(--sand);
  border:0;
  border-radius:var(--radius-control);
  padding:13px 14px;
  gap:10px;
  margin:18px 0 24px;
}
.registration-progress span {
  color:var(--muted);
  font-size:11px;
}
.registration-progress span b {
  background:#dcdccd;
  color:var(--ink);
  width:24px;
  height:24px;
}
.registration-progress span.is-current,.registration-progress span.is-done {
  color:var(--ink);
}
.registration-progress span.is-current b,.registration-progress span.is-done b {
  background:var(--ink);
  color:#fff;
}
.registration-step-heading h3 {
  font-size:22px;
  line-height:1.5;
  color:var(--ink);
}
.registration-step-heading p {
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}
.registration-step-heading small {
  color:var(--coral);
}
.registration-controls {
  border-top:1px solid var(--line);
  padding-top:20px;
  gap:12px;
  position:static;
  background:none;
}
.registration-back {
  background:var(--sand);
  border:1px solid var(--line);
  color:var(--ink);
  border-radius:var(--radius-control);
}
.registration-skip {
  color:var(--amber-ink);
  font-size:12px;
  min-height:44px;
}
.registration-controls button {
  min-height:46px;
}
.registration-phone-note {
  background:#f5f4ec;
  border-left:3px solid #c9d2b9;
  border-radius:var(--radius-control);
  padding:14px;
}
.form-field.full.featured-course-field,.featured-course-field {
  background:var(--sand)!important;
  border:1px solid var(--line)!important;
  border-radius:var(--radius-control)!important;
  padding:20px!important;
}
.profile-choice,.subject-chip {
  border:1px solid var(--line)!important;
  border-radius:var(--radius-tag);
  background:#fff!important;
  color:var(--ink);
  min-height:44px;
  font-size:13px;
  padding:10px 14px;
  box-shadow:none;
}
.profile-choice.is-selected,.subject-chip.on,.matching-panel .subject-chip.on,.profile-choice[aria-pressed=true] {
  background:#e9efdf!important;
  border-color:var(--ink)!important;
  color:var(--ink)!important;
  box-shadow:inset 0 0 0 1px var(--ink);
}
.profile-choice.is-selected i {
  background:var(--ink);
  color:#fff;
}
.profile-multi-head {
  color:var(--muted);
  font-size:12px;
}
.profile-multi-head b {
  color:var(--ink);
  background:#e9efdf;
  border-radius:6px;
}
.profile-choice-grid {
  gap:10px;
}
.week-picker button,.slot-panel button {
  border-radius:var(--radius-control);
  background:var(--sand);
  color:var(--ink);
  border:1px solid var(--line);
  min-height:44px;
}
.week-picker button.active,.slot-panel button.active {
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}
.auth-feedback,.family-feedback,.followup-error,.refund-feedback {
  font-size:13px;
  line-height:1.8;
}
.auth-feedback:not(:empty),.family-feedback:not(:empty) {
  border-left:3px solid var(--coral);
  padding:12px 14px;
  background:#fbf0e7;
  color:#8b3b19;
  border-radius:0 8px 8px 0;
}
.auth-feedback.success,.family-feedback.success {
  border-color:var(--ink);
  color:var(--ink);
  background:#edf2e6;
}
.password-toggle {
  color:var(--ink)!important;
  background:transparent!important;
  min-width:44px;
  min-height:44px;
}
.form-field label .required {
  color:var(--coral);
}
.sidebar {
  width:238px;
  background:#f1eadd;
  color:var(--ink);
  padding:30px 20px 20px;
  border-right:1px solid #deded0;
}
.sidebar .brand {
  padding:0 14px 30px;
}
.sidebar .brand small {
  color:var(--muted);
  font-size:10px;
  letter-spacing:1px;
}
.role-label {
  color:var(--muted);
  font-size:11px;
  padding:0 14px 15px;
}
.nav {
  gap:6px;
}
.nav button {
  color:#53634f;
  border-radius:var(--radius-control);
  font-size:14px;
  padding:13px 15px;
  min-height:48px;
  background:transparent;
  gap:12px;
}
.nav button:hover {
  background:#e7e6d8;
  color:var(--ink);
}
.nav button.active {
  font-weight:650;
}
.sidebar .side-bottom {
  border-top:1px solid #d8d8c9;
  padding:18px 10px 0;
}
.sidebar .profile {
  color:var(--ink);
}
.sidebar .profile p,.sidebar .profile small {
  color:var(--muted);
}
.sidebar .avatar {
  background:#dce5cf;
  color:var(--ink);
  border-radius:12px;
}
.sidebar .home-link {
  color:var(--ink);
  font-size:12px;
  min-height:44px;
  padding:10px 0;
}
.sidebar .profile-edit {
  background:transparent;
  border:1px solid #d8d8c9;
  border-radius:var(--radius-control);
  color:#50614d;
  min-height:40px;
  font-size:11px;
  margin-top:8px;
}
.main {
  margin-left:238px;
  width:calc(100% - 238px);
  min-width:0;
  background:var(--paper);
}
.topbar {
  position:sticky;
  top:0;
  z-index:10;
  background: var(--paper);
  backdrop-filter: none;
  border-bottom:1px solid var(--line);
  height:76px;
  padding:18px 40px;

  -webkit-backdrop-filter: none;
}
.crumb {
  color:var(--muted);
  font-size:12px;
}
.content {
  margin:auto;
  padding:36px 40px 64px;
}
.section-view.active {
  display:block;
}
.account-overview h1,.ops-overview h1 {
  font-size:32px;
  line-height:1.5;
  margin:10px 0;
  color:var(--ink);
  letter-spacing:-.8px;
}
.account-overview p,.ops-overview p {
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}
.account-overview h2,.ops-overview h2 {
  font-size:19px;
  color:var(--ink);
}
.ops-overview-head {
  align-items:flex-start;
}
.ops-overview-head button,#accountRefresh,.family-secondary {
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:#fff;
  color:var(--ink);
  padding:11px 16px;
  min-height:44px;
}
.ops-summary-grid {
  gap:18px;
  margin-top:26px;
}
.ops-summary-grid>article {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  padding:23px;
  box-shadow:var(--sh-1);
}
.ops-summary-grid strong {
  font-size:36px;
  line-height:1.3;
  color:var(--ink);
}
.ops-summary-grid em,.ops-summary-grid small {
  color:var(--muted);
}
.ops-summary-grid>article:first-child {
  background:#e8eddd;
  border-color:#d6dfc8;
}
.account-columns {
  gap:22px;
  margin-top:24px;
  align-items:start;
}
.account-panel,.account-onboarding,.ops-review-intro,.ops-review-group,.ops-order-group,.ops-service-ready,.ops-pending-group {
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  background:#fff;
  box-shadow:var(--sh-1);
  padding:26px;
  color:var(--ink);
}
.account-onboarding {
  background:#edf1e4;
  border-color:#d6dfc8;
  margin-bottom:24px;
}
.account-onboarding button,.account-empty>button,.account-panel>button:not(.account-task):not(.account-lesson),.student-reports button {
  color:#fff;
  background:var(--ink);
  border:1px solid var(--ink);
  border-radius:var(--radius-control);
  min-height:44px;
  padding:11px 16px;
  font-size:13px;
}
.account-task,.account-lesson {
  border-color:var(--line);
  color:var(--ink);
  padding:20px 0;
}
.account-task b,.account-lesson small,.account-lesson-status {
  color:var(--amber-ink);
}
.account-task strong,.account-lesson strong {
  color:var(--ink);
}
.account-task:hover strong,.account-lesson:hover strong {
  color:var(--coral);
}
.account-task small,.account-lesson>span:not(.account-lesson-status),.account-caption,.student-exam>small,.student-lesson small {
  color:var(--muted);
}
.account-empty {
  padding:12px 0;
}
.account-empty h3 {
  font-size:16px;
  margin:12px 0;
  color:var(--ink);
}
.account-tools {
  margin-top:30px;
}
.account-tools .family-toolbar {
  gap:14px;
}
.family-shortcut strong {
  color:var(--ink);
}
.family-shortcut:hover {
  border-color:#8ca180;
  background:#f3f5ed;
  transform:none;
}
.family-shortcut.growth-entry {
  background:#eef0df;
}
.account-tools .service-shortcuts {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.student-learning-note {
  border-left:3px solid #9cab88;
}
.student-exam {
  border-color:var(--line);
}
.student-course-tabs button {
  background:var(--sand);
  color:var(--ink);
  border-radius:var(--radius-control);
}
.student-course-tabs [aria-pressed=true] {
  background:var(--ink);
  color:#fff;
}
.family-panel {
  max-width:none;
  padding:0;
  min-width:0;
}
.family-form {
  gap:20px;
}
.family-fields,.form-grid {
  min-width:0;
}
.family-card,.order-card,.trial-card,.request-card,.match-card,.pairing-card,.ops-teacher-card,.welfare-asset {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  box-shadow:var(--sh-1);
  color:var(--ink);
  padding:24px;
}
.family-card p,.order-card p,.trial-card p,.request-card p {
  line-height:1.9;
}
.family-badge,.teacher-verified,.refund-status,.status,.lesson-status,.order-status,.trial-status {
  border-radius:6px;
  background:#e8eddd;
  color:var(--ink);
  font-size:11px;
  padding:5px 9px;
}
.family-badge.pending,.status.pending {
  background:#f8e8d8;
  color:#884318;
}
.family-steps {
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--sand);
  padding:15px 18px;
  gap:14px;
}
.family-steps span {
  color:#5c6755;
  font-size:12px;

  border-radius: var(--radius-control);
}
.family-steps span:before,.family-steps .active {
  color:var(--ink);
}
.family-actions button:not(.btn-primary),.family-secondary,.order-actions button:not(.btn-primary),.trial-actions button:not(.btn-primary) {
  border:1px solid #ccd2c1;
  border-radius:var(--radius-control);
  background:#fff;
  color:var(--ink);
  min-height:44px;
  padding:11px 16px;
  font-size:13px;
}
.matching-fieldset {
  background:#f5f3e9;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  padding:18px;
}
.matching-fieldset legend {
  font-size:14px;
  font-weight:650;
  color:var(--ink);
}
.demand-day {
  border-color:var(--line);
  padding:12px 0;
}
.matching-day-toggle,.matching-slot-panel label,.matching-consent {
  color:var(--ink);
  font-size:13px;
}
.matching-consent {
  background:#f0f3e7;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  padding:16px;
}
.matching-consent small {
  color:var(--muted);
  line-height:1.8;
}
.teacher-status-card,.teacher-detail-note,.schedule-guide,.family-promotion-alert {
  background:#edf2e5;
  border:1px solid #d3ddc5;
  border-radius:var(--radius-tag);
  color:var(--ink);
  padding:22px;
}
.schedule-times,.time-slots {
  gap:10px;
}
.family-form textarea {
  min-height:100px;
}
.family-form small,.schedule-hint,.family-caption {
  color:var(--muted);
  line-height:1.9;
}
.family-form input[readonly] {
  background:var(--sand)!important;
  color:var(--ink);
  font-weight:650;
}
.demo-record-note {
  background:#f5eddf;
  border:1px solid #e7dac3;
  color:#76613d;
  border-radius:var(--radius-control);
  line-height:1.9;
  font-size:12px;
  padding:14px 16px;
}
.schedule-form,.refund-form,.lesson-report-form {
  border-color:var(--line);
  border-radius:var(--radius-control);
  background:#faf9f3;
  padding:22px;
}
.welfare-upload {
  padding:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  margin-bottom:26px;
}
.welfare-asset {
  gap:20px;
  align-items:start;
}
.welfare-asset .welfare-thumb {
  border-radius:var(--radius-control);
  overflow:hidden;
  min-width:0;
}
.welfare-asset .welfare-thumb img,.welfare-asset .welfare-thumb video {
  width:100%;
  height:100%;
  object-fit:cover;
}
.welfare-asset-copy {
  min-width:0;
}
.welfare-review {
  min-width:0;
}
.welfare-review button {
  font-size:12px;
}
.ops-review-card {
  border-color:var(--line);
  border-radius:var(--radius-sub);
  background:#fff;
  color:var(--ink);
}
.ops-review-card:hover {
  border-color:#809574;
  box-shadow:var(--sh-1);
  transform:none;
}
.ops-queue-button,.ops-task-button {
  color:var(--ink);
  background:var(--sand);
  border:1px solid var(--line);
  border-radius:var(--radius-control);
}
.ops-task-count {
  color:var(--coral);
}
.ops-note,.ops-empty {
  color:var(--muted);
}
.score-table-wrap {
  overflow-x:auto;
  max-width:100%;
}
.score-table {
  min-width:0;
}
.score-row input {
  min-width:0;
}
.family-subsection {
  border-color:var(--line);
}
.detail-grid {
  gap:20px;
}
.detail-grid>div {
  min-width:0;
}
.report-text {
  background:#f2f3e9;
  color:var(--ink);
}
#workspacePageHost {
  min-width:0;
  padding:36px 40px 64px;
  max-width:1460px;
  margin:auto;
}
.screen-overlay {
  background:#16352b70;
  backdrop-filter:blur(7px);
  z-index:80;
}
.screen-drawer {
  background:var(--paper);
  color:var(--ink);
  border:1px solid #e0dfd2;
  height:auto;
  max-height:calc(100dvh - 60px);
  padding:30px;
  overflow:auto;
  scroll-padding:105px 0 24px;
}
.screen-drawer-head {
  margin:0 0 20px;
}
.screen-drawer-head h2 {
  color:var(--ink);
  letter-spacing:-.5px;
  margin:0 0 8px;
}
.screen-drawer-head p {
  font-size:13px;
  margin:0;
}
.drawer-close {
  min-width:44px;
  min-height:44px;
}
.teacher-directory-overlay {
  padding:0;
  background:var(--paper);
  backdrop-filter:none;
}
.teacher-directory-overlay .screen-drawer {
  max-width:none;
  max-height:100dvh;
  height:100dvh;
  border:0;
  border-radius:0;
  padding:32px max(32px,calc((100vw - 1240px)/2));
  box-shadow:none;
}
.teacher-directory-overlay .screen-drawer-head {
  top:-32px;
  background:var(--paper);
}
.teacher-directory-toolbar {
  gap:16px;
  grid-template-columns:2fr repeat(2,1fr);
}
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  font-size:14px;
}
.teacher-directory-filter-help,.teacher-directory-count {
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
  margin:20px 0;
}
.teacher-directory-grid {
  margin-top:24px;
}
.teacher-detail-hero {
  gap:24px;
  padding:12px 0 26px;
  border-bottom:1px solid var(--line);
}
.teacher-detail-hero h3 {
  font-size:30px;
  color:var(--ink);
}
.teacher-detail-hero p {
  color:var(--muted);
  font-size:14px;
}
.teacher-detail-grid {
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  padding:24px;
}
.teacher-detail-grid>div {
  min-width:0;
}
.teacher-detail-grid small {
  color:var(--muted);
}
.teacher-detail-section {
  border-color:var(--line);
}
.teacher-detail-section h4 {
  font-size:18px;
  color:var(--ink);
}
.teacher-detail-section p {
  color:var(--muted);
  line-height:2;
}
.teacher-detail-actions {
  border-color:var(--line);
  gap:12px;
  flex-wrap:wrap;
}
.teacher-detail-note {
  font-size:13px;
  line-height:1.9;
}
.screen-overlay.workspace-page {
  display:block!important;
  position:static;
  inset:auto;
  background:none;
  backdrop-filter:none;
  padding:0;
  z-index:auto;
  min-height:0;
}
.workspace-page .screen-drawer,.workspace-page.teacher-directory-overlay .screen-drawer {
  background:transparent;
  width:100%;
  max-width:none;
  height:auto;
  max-height:none;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  overscroll-behavior:auto;
}
.workspace-page .screen-drawer-head {
  position:static;
  top:auto;
  margin-bottom:26px;
  padding:0 0 24px;
}
.workspace-page .screen-drawer-head h2 {
  font-size:30px;
  line-height:1.5;
}
.workspace-page .drawer-close {
  font-size:12px;
  min-width:92px;
  padding:10px 14px;
  background:#fff;
}
.workspace-page-preview {
  border:0;
  padding:0;
  color:var(--ink);
  opacity:1;
}
.workspace-page-preview .screen-drawer-head {
  position:static;
  margin-bottom:26px;
  padding:0 0 24px;
  background:none;
}
.workspace-page-preview button {
  opacity:1;
}
.workspace-page #screenBody>.family-panel {
  background:transparent;
  border:0;
}
.workspace-page .matching-panel>form,.workspace-page #scoreForm {
  background:#fff;
  border:1px solid var(--line);
  padding:26px;
  border-radius:var(--radius-sub);
}
.workspace-page .teacher-directory-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.workspace-page .family-steps {
  margin-bottom:24px;
}
.workspace-page #profileForm {
  background:#fff;
  padding:28px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
}
.workspace-page .matching-featured-courses .featured-course-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.workspace-page .featured-course-card {
  grid-template-columns:1fr;
}
.workspace-page .featured-course-card .growth-icon {
  grid-row:auto;
}
.workspace-page .featured-course-card .course-status {
  grid-column:1;
}
.workspace-page .featured-course-card .course-option-copy {
  padding:0;
}
.workspace-page #demandForm>label:has(.matching-subjects) {
  display:block;
}
.workspace-page .matching-subjects {
  margin-top:12px;
  margin-bottom:20px;
}
.workspace-page #screenBody #profileForm .form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.workspace-page #profileForm .form-field.full {
  grid-column:1/-1;
}
@media(max-width:1200px) {
  .public-nav {
    gap:20px;
    padding-inline:28px;
  }
  .public-links {
    gap:18px;
  }
  .public-nav-actions .api-status {
    display:none;
  }
  .public-hero {
    padding:64px 40px;
    gap:35px;
  }
  .public-hero h1,.public-hero h2 {
    font-size:41px;
  }
  .public-section {
    padding-inline:40px;
  }
  .auth-layout {
    gap:50px;
  }
  .welfare-gallery {
    gap:14px;
  }
  .welfare-photo-copy {
    padding:17px;
  }
  .welfare-photo-copy strong {
    font-size:16px;
  }
  .content,#workspacePageHost {
    padding-inline:30px;
  }
  .workspace-page .teacher-directory-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .workspace-page .matching-featured-courses .featured-course-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:980px) {
  .public-links {
    gap:15px;
  }
  .public-nav {
    gap:20px;
  }
  .public-brand {
    font-size:23px;
  }
  .public-nav-actions button {
    padding-inline:13px;
  }
  .public-hero {
    gap:32px;
    padding:54px 32px;
  }
  .public-hero h1,.public-hero h2 {
    font-size:35px;
    letter-spacing:-1px;
  }
  .public-hero-copy>.hero-slide-stage p {
    font-size:14px;
  }
  .desk-caption {
    display:block;
  }
  .desk-caption strong {
    display:block;
    margin-top:5px;
  }
  .desk-caption button {
    margin-top:8px;
    min-height:30px;
  }
  .hero-proof {
    gap:12px;
    flex-wrap:wrap;
  }
  .public-section {
    padding:56px 32px;
  }
  .public-section h2 {
    font-size:30px;
  }
  .welfare-gallery {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .growth-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .teacher-directory-grid,.teacher-directory-home-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .teacher-directory-card {
    padding:24px;
  }
  .auth-page {
    padding:35px 28px;
  }
  .auth-layout {
    grid-template-columns:.8fr 1.2fr;
    gap:32px;
  }
  .auth-intro h1 {
    font-size:30px;
  }
  .auth-card {
    padding:26px;
  }
  .sidebar {
    width:202px;
    padding-inline:12px;
  }
  .sidebar .brand {
    padding-inline:12px;
  }
  .nav button {
    font-size:12px;
    padding:12px 10px;
    flex-direction:row!important;
    min-height:48px;
  }
  .sidebar #nav button span:not(.icon) {
    font-size:12px;
    display:block;
  }
  .main {
    margin-left:202px;
    width:calc(100% - 202px);
  }
  .content,#workspacePageHost {
    padding:28px 24px 50px;
  }
  .ops-summary-grid {
    gap:12px;
  }
  .ops-summary-grid>article {
    padding:18px;
  }
  .ops-summary-grid strong {
    font-size:30px;
  }
  .account-columns {
    grid-template-columns:1fr;
  }
  .topbar {
    padding-inline:24px;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .account-tools .family-toolbar {
    grid-template-columns:1fr 1fr;
  }
  .family-fields {
    gap:16px;
  }
  .welfare-asset {
    grid-template-columns:110px 1fr;
  }
  .welfare-review {
    grid-column:1/-1;
  }
  .screen-drawer {
    padding:26px;
  }
  .screen-drawer-head {
    top:-26px;
  }
  .public-footer {
    padding-inline:32px;
  }
  .teacher-directory-toolbar {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .teacher-directory-toolbar label:first-child {
    grid-column:1/-1;
  }
}
@media(max-width:760px) {
  .public-nav {
    padding:13px 20px;
    gap:12px;
    min-height:70px;
    flex-wrap:wrap;
  }
  .public-brand {
    font-size:23px;
    margin-right:auto;
  }
  .public-links {
    display:none;
  }
  .public-nav-actions {
    margin-left:0;
    gap:8px;
  }
  .public-nav-actions button {
    font-size:12px;
    padding:8px 12px;
    min-height:42px;
  }
  .mobile-public-menu {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    min-height:44px;
    padding:8px;
    font-size:12px;
  }
  .public-nav.menu-open .public-links {
    display:grid;
    grid-template-columns:1fr 1fr;
    position:static;
    order:5;
    width:100%;
    margin:0;
    border-top:1px solid var(--line);
    padding-top:12px;
    gap:5px;
    background:var(--paper);
  }
  .public-nav.menu-open .public-links a {
    display:flex;
    min-height:46px;
    padding:10px 12px;
    border-radius:var(--radius-control);
    background:var(--sand);
    font-size:13px;
  }
  .public-hero {
    padding:44px 24px 48px;
    grid-template-columns:1fr;
    gap:30px;
    min-height:0;
  }
  .public-hero h1,.public-hero h2 {
    font-size:36px;
    line-height:1.4;
    margin:17px 0;
  }
  .public-hero-copy>.hero-slide-stage p {
    font-size:14px;
    line-height:1.95;
    margin:18px 0;
  }
  .hero-slide-stage {
    min-height:0;
  }
  .hero-slide-nav {
    max-width:none;
    margin-top:22px;
  }
  .public-cta {
    margin-top:20px;
  }
  .public-cta button {
    font-size:13px;
    padding:13px 19px;
    min-height:48px;
  }
  .desk-scene {
    aspect-ratio:16/9;
    border-radius:var(--radius-control);
  }
  .desk-caption {
    display:flex;
    gap:14px;
    padding:14px 16px;
    margin-top:12px;
  }
  .desk-caption strong {
    margin-top:3px;
    font-size:12px;
  }
  .desk-caption button {
    margin:0;
    font-size:11px;
    min-height:44px;
  }
  .hero-proof {
    font-size:11px;
    margin-top:12px;
  }
  .public-section {
    padding:46px 24px;
  }
  .public-section h2 {
    font-size:28px;
    letter-spacing:-.7px;
  }
  .public-section .lead {
    font-size:13px;
    line-height:1.9;
  }
  .trust-row {
    grid-template-columns:1fr;
    gap:14px;
    margin-top:26px;
  }
  .trust-item {
    padding:23px;
    min-height:0;
    display:grid;
    grid-template-columns:48px 1fr;
    gap:10px 18px;
  }
  .trust-item strong {
    grid-row:1/3;
    width:44px;
    height:44px;
    font-size:17px;
    margin:0;
  }
  .trust-item h3 {
    font-size:18px;
    margin:0;
    align-self:center;
  }
  .trust-item>span {
    grid-column:2;
    font-size:13px;
  }
  .trust-item .step-outcome {
    grid-column:1/-1;
    margin:4px 0 0;
    padding-top:12px;
  }
  .teacher-directory-heading {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:8px;
  }
  .teacher-directory-home-grid {
    margin-top:18px;
  }
  .teacher-directory-card {
    padding:22px;
    min-height:265px;
  }
  .teacher-directory-card h3 {
    font-size:21px;
  }
  .growth-grid {
    gap:14px;
  }
  .growth-card {
    padding:20px;
  }
  .growth-card h3 {
    font-size:17px;
  }
  .growth-card p {
    font-size:12px;
  }
  .growth-card>.course-status {
    top:18px!important;
    right:18px!important;
  }
  .welfare-gallery {
    gap:14px;
    margin-top:20px;
  }
  .welfare-photo-card .media {
    aspect-ratio:4/3;
  }
  .welfare-photo-copy {
    padding:16px;
    gap:7px;
  }
  .welfare-photo-copy strong {
    font-size:17px;
  }
  .welfare-photo-copy span {
    font-size:12px;
  }
  .welfare-photo-copy small {
    font-size:9px;
  }
  .public-footer {
    padding:32px 24px;
    display:flex;
    flex-wrap:wrap;
    gap:18px 30px;
  }
  .public-footer p {
    font-size:11px;
    margin:0;
  }
  .auth-page {
    padding:24px 20px;
  }
  .auth-layout {
    display:block;
    max-width:600px;
  }
  .auth-intro {
    position:static;
    padding:4px 2px 22px;
  }
  .auth-intro h1 {
    font-size:28px;
    line-height:1.5;
    margin:10px 0;
  }
  .auth-intro h1 br {
    display:none;
  }
  .auth-intro>p:not(.section-kicker) {
    font-size:12px;
    margin:0;
  }
  .auth-assurance,.auth-desk {
    display:none;
  }
  .auth-card {
    padding:24px;
    border-radius:var(--radius-sub);
  }
  .auth-head h2 {
    font-size:25px;
  }
  .auth-head p {
    font-size:12px;
  }
  .auth-card input,.auth-card select,.auth-card textarea,.family-form input:not([type=checkbox]):not([type=radio]),.family-form select,.family-form textarea,.teacher-directory-toolbar input,.teacher-directory-toolbar select {
    font-size:16px;
  }
  .registration-progress {
    padding:12px;
    gap:6px;
  }
  .registration-progress span {
    font-size:10px;
    gap:5px;
  }
  .registration-progress span b {
    width:22px;
    height:22px;
  }
  .registration-step-heading h3 {
    font-size:21px;
  }
  .journey-form .growth-grid {
    grid-template-columns:1fr 1fr;
  }
  .journey-form .growth-card {
    padding:18px;
    display:flex;
    flex-direction:column;
    gap:0;
  }
  .journey-form .growth-card .growth-icon {
    position:static;
    margin:0 0 12px;
    width:36px;
    height:36px;
  }
  .journey-form .growth-card h3 {
    margin:0 0 8px;
    min-height:0;
    padding-right:0;
    display:block;
    font-size:16px;
  }
  .journey-form .growth-card .course-status {
    position:static!important;
    align-self:flex-start;
    margin:0 0 10px;
    max-width:none;
    font-size:10px;
  }
  .journey-form .growth-card p {
    margin:0 0 12px;
    font-size:12px;
    min-height:0;
  }
  .journey-form .growth-card .course-option-toggle {
    margin-top:auto;
    min-height:44px;
    font-size:12px;
    padding:10px 8px;
  }
  .journey-form .growth-card .link {
    padding:8px 0;
    margin:0;
    min-height:44px;
    font-size:12px;
  }
  .course-option-card.is-selected>.course-status {
    margin-right:0;
  }
  .journey-form .course-option-check {
    top:14px!important;
    right:14px!important;
  }
  .sidebar {
    position:sticky;
    top:0;
    z-index:30;
    width:100%;
    padding:12px 20px;
    min-height:68px;
    height:auto;
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:12px;
    border-right:0;
    border-bottom:1px solid var(--line);
    overflow:visible;
    background:var(--paper);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .sidebar .brand {
    padding:0;
    order:-1;
    display:block;
    margin-right:auto;
  }
  .sidebar .brand strong {
    font-size:23px;
  }
  .sidebar .brand small,.sidebar .role-label,.sidebar .profile {
    display:none;
  }
  .sidebar .workspace-menu {
    display:flex;
    min-height:44px;
    align-items:center;
    gap:16px;
    background:var(--sand);
    border:1px solid var(--line);
    color:var(--ink);
    border-radius:var(--radius-control);
    font-size:12px;
    padding:10px 13px;
  }
  .sidebar #nav,.sidebar .side-bottom {
    display:none;
  }
  .sidebar.menu-open {
    flex-wrap:wrap;
  }
  .sidebar.menu-open #nav {
    display:grid;
    width:100%;
    grid-template-columns:1fr 1fr;
    gap:8px;
    max-height:50dvh;
    overflow:auto;
    order:3;
  }
  .sidebar.menu-open #nav button {
    display:flex!important;
    flex-direction:row!important;
    align-items:center;
    min-height:48px;
    padding:12px;
    background:var(--sand);
  }
  .sidebar.menu-open #nav button span:not(.icon) {
    font-size:12px!important;
    white-space:normal;
  }
  .sidebar.menu-open .side-bottom {
    display:flex;
    width:100%;
    order:4;
    gap:8px;
    flex-wrap:wrap;
    padding:12px 0 0;
    margin:0;
    border-top:1px solid var(--line);
  }
  .sidebar .side-bottom .home-link,.sidebar .side-bottom .profile-edit {
    padding:10px 12px;
    margin:0;
    font-size:11px;
    border:1px solid var(--line);
    border-radius:var(--radius-control);
    min-height:42px;
    background:#fff;
    width:auto;
  }
  .app {
    display:block;
    min-height:100dvh;
  }
  .main {
    margin:0;
    width:100%;
    min-width:0;
  }
  .main .topbar {
    display:none;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .content,#workspacePageHost {
    padding:24px 20px 48px;
  }
  .account-overview h1,.ops-overview h1 {
    font-size:26px;
    line-height:1.5;
    letter-spacing:-.5px;
  }
  .ops-overview-head {
    gap:16px;
  }
  .ops-summary-grid {
    gap:10px;
  }
  .ops-summary-grid>article {
    padding:16px 12px;
    border-radius:var(--radius-sub);
  }
  .ops-summary-grid strong {
    font-size:29px;
  }
  .ops-summary-grid small {
    font-size:10px;
  }
  .ops-summary-grid p {
    font-size:10px;
    line-height:1.8;
  }
  .account-panel,.account-onboarding {
    padding:21px;
  }
  .account-columns {
    gap:18px;
    margin-top:20px;
  }
  .account-task {
    gap:14px;
    align-items:flex-start;
  }
  .account-task b {
    padding-top:3px;
    font-size:11px;
  }
  .account-task strong {
    font-size:14px;
  }
  .account-tools .family-toolbar,.account-tools .service-shortcuts {
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .family-shortcut {
    padding:18px 16px;
    min-height:0;
  }
  .family-shortcut strong {
    font-size:13px;
  }
  .family-shortcut span {
    font-size:11px;
  }
  .account-tools {
    margin-top:26px;
  }
  .account-tools h2 {
    font-size:18px;
  }
  .family-fields {
    grid-template-columns:1fr;
  }
  .family-toolbar {
    grid-template-columns:1fr;
  }
  .family-card,.order-card,.trial-card,.pairing-card,.request-card {
    padding:20px;
  }
  .family-empty {
    padding:28px 20px;
  }
  .family-empty h3 {
    font-size:18px;
  }
  .family-empty p {
    font-size:13px;
  }
  .family-steps {
    flex-wrap:wrap;
    gap:8px 16px;
    padding:14px;
  }
  .family-steps span {
    font-size:11px;
  
  border-radius: var(--radius-control);
}
  .screen-overlay {
    padding:12px;
  }
  .screen-drawer {
    padding:22px;
    width:100%;
    max-height:calc(100dvh - 24px);
    border-radius:var(--radius-sub);
  }
  .screen-drawer-head {
    top:-22px;
    padding:15px 0;
    margin-bottom:20px;
    gap:16px;
  }
  .screen-drawer-head h2 {
    font-size:23px;
  }
  .screen-drawer-head p {
    font-size:12px;
    line-height:1.8;
  }
  .drawer-close {
    min-width:44px;
    min-height:44px;
  }
  .teacher-directory-overlay {
    padding:0;
  }
  .teacher-directory-overlay .screen-drawer {
    padding:22px 20px max(26px,env(safe-area-inset-bottom));
    height:100dvh;
    max-height:100dvh;
    border-radius:0;
  }
  .teacher-directory-overlay .screen-drawer-head {
    top:-22px;
  }
  .teacher-directory-toolbar {
    grid-template-columns:1fr 1fr;
    padding:18px;
    gap:14px;
  }
  .teacher-directory-toolbar label:first-child {
    grid-column:1/-1;
  }
  .teacher-directory-filter-help,.teacher-directory-count {
    font-size:12px;
  }
  .teacher-detail-hero {
    gap:18px;
  }
  .teacher-detail-hero h3 {
    font-size:25px;
  }
  .teacher-detail-grid {
    grid-template-columns:1fr 1fr;
    padding:20px;
    gap:18px;
  }
  .teacher-detail-hero p {
    font-size:13px;
  }
  .teacher-detail-actions button {
    flex:1;
    white-space:normal;
  }
  .teacher-detail-section p {
    font-size:13px;
  }
  .workspace-page .screen-drawer-head h2 {
    font-size:25px;
  }
  .workspace-page .drawer-close {
    font-size:11px;
    min-width:82px;
    padding:9px 12px;
  }
  .workspace-page .screen-drawer-head {
    gap:14px;
    padding-bottom:20px;
    margin-bottom:22px;
  }
  .workspace-page #screenBody>.family-panel {
    padding:0;
  }
  .workspace-page .matching-panel>form,.workspace-page #scoreForm,.workspace-page #profileForm {
    padding:20px;
  }
  .workspace-page .featured-course-card {
    padding:16px;
  }
  .workspace-page .matching-featured-courses {
    padding:16px;
  }
  .workspace-page .teacher-directory-grid {
    grid-template-columns:1fr 1fr;
  }
  .workspace-page #screenBody #profileForm .form-grid {
    grid-template-columns:1fr;
  }
  .workspace-page .matching-featured-courses .featured-course-grid {
    grid-template-columns:1fr 1fr;
  }
  .welfare-story-grid {
    gap:14px;
  }
  .welfare-story-grid .media {
    aspect-ratio:4/5;
  }
  .welfare-upload {
    padding:20px;
  }
  .welfare-asset {
    display:flex;
    flex-direction:column;
    padding:20px;
  }
  .welfare-thumb {
    width:100%;
    max-width:none;
    height:180px;
  }
  .welfare-review {
    width:100%;
  }
  .invite-share {
    grid-template-columns:1fr;
  }
  .profile-choice-grid {
    gap:8px;
  }
  .profile-choice {
    min-height:46px;
  }
  .score-entry-grid {
    grid-template-columns:1fr;
  }
  .family-actions {
    flex-wrap:wrap;
    gap:10px;
  }
  .family-actions button {
    white-space:normal;
  }
  .demo-record-note {
    font-size:11px;
  }
  .workspace-page-preview .screen-drawer-head h2 {
    font-size:25px;
  }
  .public-footer .identity {
    font-size:22px;
  }
}
@media(max-width:430px) {
  .public-nav {
    padding:12px 16px;
    gap:8px;
  }
  .public-brand {
    font-size:22px;
  }
  .public-nav-actions button {
    padding-inline:10px;
    font-size:11px;
  }
  .mobile-public-menu {
    font-size:11px;
    padding:8px;
    min-width:44px;
  }
  .public-hero {
    padding:36px 20px 40px;
  }
  .public-hero h1,.public-hero h2 {
    font-size:32px;
    letter-spacing:-1px;
  }
  .hero-slide-nav button {
    font-size:10px;
    gap:5px;
  }
  .hero-slide-nav button b {
    font-size:10px;
  }
  .public-section {
    padding:40px 20px;
  }
  .public-section h2 {
    font-size:26px;
  }
  .teacher-directory-grid,.teacher-directory-home-grid,.workspace-page .teacher-directory-grid {
    grid-template-columns:1fr;
  }
  .teacher-directory-card {
    min-height:245px;
    padding:24px;
  }
  .growth-grid {
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .growth-card {
    padding:16px;
  }
  .growth-card h3 {
    font-size:16px;
  }
  .growth-card>.course-status {
    right:12px!important;
    top:14px!important;
    font-size:9px!important;
    padding:2px 6px!important;
  }
  .growth-card .growth-icon {
    width:32px;
    height:32px;
    font-size:18px;
  }
  .growth-card p {
    font-size:12px;
  }
  .welfare-gallery {
    gap:12px;
  }
  .welfare-photo-copy {
    padding:14px;
  }
  .welfare-photo-copy strong {
    font-size:16px;
  }
  .welfare-photo-copy small {
    font-size:9px;
    letter-spacing:0;
  }
  .welfare-photo-copy span {
    font-size:11px;
  }
  .welfare-photo-copy em {
    font-size:11px;
  }
  .auth-page {
    padding:20px 14px;
  }
  .auth-card {
    padding:20px;
  }
  .auth-head h2 {
    font-size:24px;
  }
  .auth-close {
    padding:9px 10px;
    font-size:11px;
  }
  .auth-role button {
    padding:14px 11px;
    gap:9px;
  }
  .auth-role .role-copy small {
    font-size:10px;
  }
  .auth-role .role-symbol {
    width:30px;
    height:30px;
    font-size:16px;
  }
  .auth-role .role-tick {
    position:absolute;
    right:8px;
    top:8px;
  }
  .journey-form .growth-grid {
    grid-template-columns:1fr;
  }
  .journey-form .growth-card {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 12px;
    padding:18px;
  }
  .journey-form .growth-card .growth-icon {
    position:absolute;
    left:18px;
    top:18px;
    margin:0;
    width:34px;
    height:34px;
  }
  .journey-form .growth-card h3 {
    grid-column:1/-1;
    grid-row:auto;
    margin:0 25px 0 46px;
    min-height:34px;
    display:flex;
    align-items:center;
    font-size:17px;
  }
  .journey-form .growth-card .course-status {
    grid-column:1/-1;
    grid-row:auto;
    position:static!important;
    margin:2px 0;
    justify-self:start;
  }
  .journey-form .growth-card p {
    grid-column:1/-1;
    grid-row:auto;
    margin:0;
    font-size:12px;
    line-height:1.9;
  }
  .journey-form .growth-card .course-option-toggle,.journey-form .growth-card .link {
    grid-row:auto;
    margin:4px 0 0;
    min-height:44px;
  }
  .content,#workspacePageHost {
    padding:22px 16px 42px;
  }
  .sidebar {
    padding:12px 16px;
  }
  .account-overview h1 {
    font-size:25px;
  }
  .account-tools .family-toolbar {
    gap:10px;
  }
  .account-tools .family-shortcut {
    padding:17px 13px;
  }
  .family-shortcut span {
    font-size:11px;
  }
  .account-panel {
    padding:20px;
  }
  .ops-summary-grid>article {
    padding:14px 10px;
  }
  .ops-summary-grid strong {
    font-size:27px;
  }
  .ops-summary-grid p {
    font-size:9px;
  }
  .screen-drawer {
    padding:20px;
  }
  .screen-drawer-head {
    top:-20px;
  }
  .screen-drawer-head h2 {
    font-size:22px;
  }
  .teacher-directory-overlay .screen-drawer {
    padding-inline:18px;
  }
  .workspace-page .matching-featured-courses .featured-course-grid {
    grid-template-columns:1fr;
  }
  .workspace-page .featured-course-card {
    grid-template-columns:36px 1fr;
    gap:10px 12px;
  }
  .workspace-page .featured-course-card .growth-icon {
    grid-row:1/3;
    width:36px;
    height:36px;
  }
  .workspace-page .featured-course-card .course-status {
    grid-column:2;
  }
  .workspace-page .featured-course-card .course-option-copy {
    padding-right:12px;
  }
  .workspace-page .featured-course-card .course-option-copy b {
    font-size:14px;
  }
  .workspace-page .featured-course-card .course-option-copy span {
    font-size:12px;
  }
  .workspace-page .matching-panel>form,.workspace-page #scoreForm,.workspace-page #profileForm {
    padding:18px;
  }
  .teacher-directory-toolbar {
    padding:16px;
    gap:12px;
  }
  .family-actions button {
    padding:11px 13px;
    font-size:12px;
  }
  .score-row {
    gap:8px;
  }
  .public-footer {
    padding-inline:20px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
  html {
    scroll-behavior:auto;
  }
  .hero-slide-stage .hero-slide {
    transform:none!important;
    filter:none!important;
  }
}
body.admin-page main {
  max-width:1280px;
  margin:auto;
  padding:30px 32px 60px;
}
body.admin-page header {
  border-bottom:1px solid var(--line);
  padding-bottom:24px;
  margin-bottom:36px;
  color:var(--muted);
}
body.admin-page header a {
  font-size: 27px;
  font-weight: 700;
  text-decoration:none;
  letter-spacing: 0;
  color: var(--coral);

  font-family: var(--font-serif);
}
body.admin-page .panel {
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius-card);
  box-shadow:var(--sh-1);
  padding:28px;
}
body.admin-page .panel.login {
  max-width:500px;
  margin:60px auto;
}
body.admin-page h1 {
  font-size:30px;
  color:var(--ink);
  line-height:1.5;
}
body.admin-page h2 {
  font-size:20px;
  color:var(--ink);
}
body.admin-page .eyebrow {
  color:var(--coral);
  font-size:11px;
  letter-spacing:1px;
}
body.admin-page .muted {
  color:var(--muted);
  line-height:1.9;
}
body.admin-page input,body.admin-page textarea,body.admin-page select {
  border:1px solid #cdd2c3;
  border-radius:var(--radius-control);
  background:#fff;
  min-height:46px;
  color:var(--ink);
  padding:12px;
  font-size:14px;
}
body.admin-page button,body.admin-page .actions a {
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--sand);
  color:var(--ink);
  min-height:44px;
  padding:11px 16px;
  font-size:13px;
}
body.admin-page .primary {
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
  box-shadow:none;
}
body.admin-page .back {
  color:var(--coral);
  font-size:13px;
  display:inline-flex;
  align-items:center;
  min-height:44px;
}
body.admin-page .badge {
  background:#e6edda;
  color:var(--ink);
  border-radius:6px;
}
body.admin-page .row {
  border-color:var(--line);
}
body.admin-page .admin-family-detail {
  border-color:#d2dac7;
  background:#f4f5ec;
  border-radius:var(--radius-control);
  padding:22px;
}
body.admin-page footer {
  color:var(--muted);
}
@media(max-width:760px) {
  body.admin-page main {
    padding:22px 18px 40px;
  }
  body.admin-page .panel {
    padding:22px;
  }
  body.admin-page .panel.login {
    margin:30px auto;
  }
  body.admin-page .grid {
    grid-template-columns:1fr;
  }
  body.admin-page input {
    font-size:16px;
  }
  body.admin-page .account-head {
    flex-wrap:wrap;
  }
  body.admin-page h1 {
    font-size:26px;
  }
  body.admin-page .actions {
    flex-wrap:wrap;
  }
}
.public-nav {
  width:100%;
  max-width:none;
}
.public-hero {
  width:100%;
}
.public-art {
  width:100%;
  max-width:none;
  margin:0;
}
.public-art .desk-scene {
  width:100%;
  height:auto;
  max-height:none;
}
.public-art .desk-scene>img {
  width:100%;
  height:100%;
}
.public-page .public-kicker {
  background:none!important;
  padding:0;
  border-radius:0;
  font-size:12px!important;
}
.public-page .section-kicker,.account-overview .section-kicker,.ops-overview .section-kicker {
  color:var(--amber-ink)!important;
  letter-spacing:.08em;
  font-size:11px!important;
}
.public-page .hero-slide-nav button.is-active {
  color:var(--amber-ink)!important;
  border-color:var(--coral);
}
.public-page .hero-slide-nav button span {
  font-size:11px;
}
.public-page .public-links .charity-link {
  background:none;
  border-radius:0;
  padding:0;
  color:var(--amber-ink);
}
.hero-slide-stage {
  height:auto;
}
.public-hero .hero-slide h1,.public-hero .hero-slide h2 {
  font-size:clamp(36px,3.5vw,52px);
  line-height:1.4;
  white-space:normal;
  min-height:0;
  letter-spacing:-1.7px;
  margin:20px 0;
}
.hero-slide-stage .hero-slide {
  position:static!important;
  height:auto;
  max-height:none;
}
.hero-playback {
  background:none;
  color:var(--muted);
  font-size:11px;
  padding:4px 0;
  min-height:36px;
}
.hero-slide-stage .hero-slide:not(.is-active) {
  visibility:hidden!important;
}
.public-section .family-muted,.family-panel .family-muted,.ops-summary-grid p,.account-caption {
  color:var(--muted)!important;
}
.auth-layout {
  width:100%;
  padding:0;
}
.auth-brandbar {
  max-width:1180px;
  padding:0 0 24px;
  margin:0 auto 18px;
  border-bottom:1px solid var(--line);
}
.auth-brandbar>span {
  color:var(--muted);
}
.invite-entry {
  border-radius:0;
  box-shadow:none;
}
.registration-controls #registrationNext {
  background:var(--ink);
  color:#fff;
  border-radius:var(--radius-control);
}
.registration-controls #registrationBack {
  background:var(--sand);
  color:var(--ink);
  border-radius:var(--radius-control);
}
.registration-controls #registrationSkip {
  color:var(--amber-ink);
}
.teacher-directory-card {
  align-items:stretch;
}
.teacher-directory-avatar {
  border-radius:var(--radius-control);
  display:grid;
  place-items:center;
  font-size:26px;
}
.teacher-directory-main {
  width:100%;
  min-width:0;
}
.teacher-directory-title h3 {
  color:var(--ink);
  font-weight:700;
  margin:0;
}
.teacher-directory-verified {
  background:#edf2e6;
  padding:3px 7px;
  border-radius:5px;
}
.teacher-directory-tags span,.teacher-detail-grid p>span {
  background:var(--sand);
  color:#536048;
  border-radius:5px;
  font-size:11px;
  padding:4px 8px;
}
.teacher-directory-meta {
  border-top:1px solid var(--line);
  padding-top:14px;
  margin-top:18px;
}
.teacher-directory-card:hover {
  background:#fff;
  border-color:#829874;
  box-shadow:0 8px 26px #1e46390c;
  transform:none;
}
.teacher-directory-detail .teacher-directory-avatar.large {
  background:#e1e8d6;
  color:var(--ink);
  border-radius:var(--radius-sub);
}
.teacher-detail-hero h2 {
  font-size:29px;
  color:var(--ink);
}
.teacher-detail-copy h3 {
  font-size:19px;
  color:var(--ink);
}
.teacher-detail-copy p {
  font-size:14px;
  line-height:2;
  color:var(--muted);
}
.hero-microstats {
  display:none!important;
}
@media(max-width:980px) {
  .public-hero .hero-slide h1,.public-hero .hero-slide h2 {
    font-size:35px;
    letter-spacing:-1px;
  }
  .public-hero {
    min-height:0;
  }
  .teacher-directory-card {
    padding:24px;
  }
}
@media(max-width:760px) {
  .public-hero {
    width:100%;
    min-height:0;
  }
  .public-hero .hero-slide h1,.public-hero .hero-slide h2 {
    font-size:36px!important;
    line-height:1.4;
    margin:17px 0;
    letter-spacing:-1px;
  }
  .public-nav {
    width:100%;
  }
  .auth-layout {
    width:100%;
    padding:0;
  }
  .auth-brandbar {
    padding:0 2px 18px;
    margin-bottom:18px;
    gap:16px;
  }
  .auth-brandbar .identity {
    font-size:22px;
  }
  .auth-brandbar>span {
    font-size:10px;
  }
  .public-page .public-links .charity-link {
    padding:10px 12px;
    background:var(--sand);
  }
  .teacher-directory-card {
    padding:22px;
    min-height:268px;
  }
  .teacher-directory-title h3 {
    font-size:20px;
  }
  .teacher-directory-verified {
    font-size:9px;
  }
  .teacher-directory-avatar {
    width:54px;
    height:54px;
    font-size:24px;
  }
  .teacher-directory-meta {
    gap:10px;
    flex-wrap:wrap;
  }
  .hero-playback {
    min-height:44px;
  }
}
@media(max-width:430px) {
  .public-hero .hero-slide h1,.public-hero .hero-slide h2 {
    font-size:32px!important;
  }
  .teacher-directory-card {
    padding:24px;
    min-height:265px;
  }
  .teacher-directory-title h3 {
    font-size:22px;
  }
  .public-page .hero-slide-nav button span {
    font-size:10px;
  }
  .hero-slide-nav button {
    gap:5px;
  }
  .auth-card {
    padding:20px;
  }
  .hero-slide-stage .hero-slide p {
    font-size:14px;
  }
}
.public-section,.public-footer {
  width:100%;
  max-width:none;
  margin-inline:0;
}
.public-hero .desk-caption {
  width:100%;
  max-width:none;
}
.public-hero .hero-proof {
  justify-content:flex-start;
}
.public-hero .quiet-note {
  font-size:12px;
}
.auth-page .auth-layout {
  max-width:1180px;
}
.growth-section #growthContent>p:last-child {
  color:var(--muted);
}
@media(min-width:761px) {
  .sidebar #nav {
    display:grid;
  }
  .sidebar .side-bottom {
    display:block;
  }
  .sidebar .workspace-menu {
    display:none;
  }
  .sidebar .profile {
    display:flex;
  }
  .sidebar .home-link,.sidebar .profile-edit {
    width:100%;
  }
  .sidebar .brand {
    display:block;
  }
  .sidebar .role-label {
    display:block;
  }
}
@media(min-width:761px) and (max-width:980px) {
  .public-nav .public-links {
    display:none;
  }
  .public-nav .mobile-public-menu {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 12px;
    margin-left:4px;
  }
  .public-nav.menu-open {
    flex-wrap:wrap;
  }
  .public-nav.menu-open .public-links {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    position:static;
    order:5;
    width:100%;
    margin:0;
    border-top:1px solid var(--line);
    padding-top:12px;
    gap:10px;
    background:var(--paper);
  }
  .public-nav.menu-open .public-links a {
    min-height:46px;
    padding:10px 12px;
    background:var(--sand);
    border-radius:var(--radius-control);
  }
}
.family-panel .schedule-form {
  background:#f1f3e9;
  border:1px solid #dce2d0;
  border-radius:var(--radius-sub);
  padding:20px;
}
.family-panel .schedule-summary {
  border-color:#d2dbc3;
  color:var(--muted);
}
.family-panel .schedule-summary output {
  color:var(--ink);
}
.family-panel .schedule-help,.family-panel .lesson-time {
  color:var(--muted);
}
.family-panel .lesson-row {
  border-color:var(--line);
}
.family-panel .lesson-report,.family-panel .followup-card,.family-panel .report-card {
  border:1px solid #d3dcc8;
  border-radius:var(--radius-sub);
  background:#f4f6ee;
  color:var(--ink);
}
.family-panel .refund-disclosure {
  background:#faf9f3;
  border-color:var(--line);
  border-radius:var(--radius-sub);
}
.family-panel .refund-disclosure summary {
  color:var(--muted);
  padding:13px 16px;
}
.family-panel .refund-disclosure summary:before {
  background:var(--sand);
  color:var(--ink);
}
.family-panel .btn-primary {
  background:var(--ink);
  color:#fff;
  border-radius:var(--radius-control);
  box-shadow:none;
  min-height:46px;
  padding:12px 18px;
}
.family-panel .btn-primary:hover {
  background:var(--deep);
}
.family-panel .family-badge.approved {
  background:#e8efdf;
  color:#3d613d;
}
.family-panel .family-badge.pending {
  background:#f6e8d7;
  color:#8e4b18;
}
.family-panel .report-text {
  background:#f1f3e9;
  color:var(--ink);
}
.public-nav-actions button,#authClose,.public-nav .mobile-public-menu,.hero-playback,.desk-caption button,.sidebar .profile-edit,.family-secondary {
  min-height:44px;
}
.week-picker button {
  min-width:44px;
  min-height:44px;
}
.growth-card.course-option-card button,.featured-course-field .growth-card button,.family-panel .growth-card button {
  min-height:44px!important;
  transform:none!important;
}
.family-panel button,.auth-card button {
  transform:none!important;
}
.family-panel details>summary {
  min-height:44px;
  display:list-item;
  padding:12px 0;
  line-height:1.8;
}
.family-panel .score-remove {
  min-width:44px;
  min-height:44px;
}
.family-panel label:has(>input[type=checkbox]),.auth-card label:has(>input[type=checkbox]) {
  min-height:44px;
  display:flex;
  align-items:center;
  gap:10px;
}
.matching-day-toggle {
  min-width:80px;
}
.matching-slot-panel label {
  min-width:78px;
}
.family-panel input[type=checkbox],.auth-card input[type=checkbox] {
  width:18px;
  height:18px;
  min-height:18px;
  flex:none;
}
.account-overview a.family-secondary,.ops-overview a.family-secondary {
  display:inline-flex;
  align-items:center;
  min-height:44px;
}
.family-panel .trial-reject {
  min-height:44px;
  background:#f6e9dc;
  color:#8a4119;
  border:1px solid #e4cdb7;
  border-radius:var(--radius-sub);
}
.auth-card .registration-progress .is-active,.auth-card .registration-progress .is-complete {
  color:var(--ink);
}
.auth-card .registration-progress .is-active b,.auth-card .registration-progress .is-complete b {
  background:var(--ink);
  color:#fff;
}
.auth-card .featured-course-kicker,.family-panel .featured-course-kicker {
  color:var(--amber-ink);
  font-size:11px!important;
}
.auth-card .featured-course-head h3,.family-panel .featured-course-head h3 {
  color:var(--ink);
  font-size:22px;
}
.auth-card .featured-course-head p,.family-panel .featured-course-head p {
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}
.auth-card .featured-course-badge,.family-panel .featured-course-badge {
  background:#e3e9d5;
  color:var(--ink);
  border:1px solid #cfd8bd;
  border-radius:6px;
  box-shadow:none;
  font-size:11px!important;
}
.auth-card .featured-course-selection,.family-panel .featured-course-selection {
  background:#fffdf6;
  border:1px solid #d9ddc9;
  border-radius:var(--radius-control);
  color:var(--muted);
  font-size:12px;
  flex-wrap:wrap;
}
.auth-card .featured-course-selection strong,.family-panel .featured-course-selection strong,.auth-card .featured-course-selection .has-selection {
  color:var(--ink);
}
.auth-card .featured-course-field:before,.family-panel .featured-course-field:before {
  display:none;
}
.auth-card .featured-course-field .growth-card h3,.family-panel .featured-course-field .growth-card h3 {
  color:var(--ink);
  text-align:left;
  font-size:17px;
}
.auth-card .featured-course-field .growth-card p,.family-panel .featured-course-field .growth-card p {
  color:var(--muted);
  font-size:12px;
  line-height:1.9;
}
.auth-card .featured-course-field .growth-card {
  transform:none!important;
}
.auth-card .featured-course-field .growth-grid {
  gap:14px;
}
.auth-card .subject-picker>.subject-chip.on,.family-panel .subject-picker>.subject-chip.on {
  background:#e9efdf!important;
  border-color:var(--ink)!important;
  color:var(--ink)!important;
}
.auth-card .subject-chip.on:after,.family-panel .subject-chip.on:after {
  color:var(--ink);
}
#registrationPhoneNote {
  background:#f3f1e6;
  border:1px solid #dfdfce;
  color:var(--muted);
  border-radius:var(--radius-control);
}
.auth-card .form-field .upload-help,.family-panel .upload-help {
  background:#f2f4eb;
  border-color:#dbe1ce;
  color:var(--muted);
}
.family-panel .score-table tr {
  background:#f2f4eb;
}
.family-panel .report-hint {
  border-color:#a2b68d;
  color:var(--muted);
}
@media(max-width:430px) {
  .auth-card .featured-course-field .growth-card h3 {
    font-size:17px;
  }
  .auth-card .featured-course-field .growth-card .course-status {
    grid-row:auto!important;
    grid-column:1/-1;
  }
  .auth-card .featured-course-field .growth-card .course-option-toggle {
    font-size:12px;
  }
  .auth-card .featured-course-field .growth-card .link {
    font-size:12px;
  }
  .auth-card .featured-course-field .growth-card p {
    font-size:12px;
  }
}
.screen-overlay.workspace-page .screen-drawer {
  animation:none!important;
  transition:none!important;
  transform:none!important;
  opacity:1!important;
}
a.family-secondary {
  display:inline-flex;
  align-items:center;
  min-height:44px;
}
body.admin-page header a {
  display:inline-flex;
  align-items:center;
  min-height:44px;

  font-family: var(--font-serif);

  font-size: 27px;

  font-weight: 700;

  letter-spacing: 0;

  color: var(--coral);
}
.course-status {
  width:max-content;
  max-width:100%;
  white-space:nowrap!important;
}
.course-preview-link {
  color:var(--amber-ink);
  font-size:12px;
  font-weight:650;
  grid-column:1/-1;
  margin-top:3px;
}
.availability-days {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  align-items:start;
}
.availability-days .demand-day {
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:#fff;
  padding:10px 12px;
  min-width:0;
}
.availability-days .matching-day-toggle {
  min-height:44px;
  width:100%;
  margin:0;
  cursor:pointer;
}
.availability-days .demand-day:has(input[data-demand-day]:checked) {
  grid-column:span 2;
  border-color:#8a9d79;
  background:#f0f4e8;
}
.availability-days .matching-slot-panel {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
.availability-days [data-time-detail] {
  width:100%;
  font-size:12px!important;
  margin-top:10px;
}
.availability-days .matching-slot-panel label {
  font-size:12px;
  gap:7px;
  min-width:90px;
}
.workspace-page .matching-featured-courses .course-status {
  width:max-content;
}
.family-panel .matching-subjects .subject-chip {
  min-height:44px;
  transform:none!important;
}
#profileForm .subject-picker>.subject-chip.on {
  background:#e9efdf!important;
  color:var(--ink)!important;
  border-color:var(--ink)!important;
}
#profileForm .profile-multi-picker {
  background:#f2f4ea;
  border-color:#d9e0cc;
}
#profileForm .profile-multi-head {
  color:var(--muted);
}
#profileForm .profile-multi-head b {
  background:#e5ecd9;
  color:var(--ink);
}
#profileForm .featured-course-field {
  background:var(--sand)!important;
  border-color:var(--line)!important;
  box-shadow:none;
}
#profileForm .featured-course-field:before {
  display:none;
}
#profileForm .featured-course-kicker {
  color:var(--amber-ink);
}
#profileForm .featured-course-head h3 {
  color:var(--ink);
}
#profileForm .featured-course-head p {
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}
#profileForm .featured-course-badge {
  background:#e3e9d5;
  color:var(--ink);
  border:1px solid #cfd8bd;
  border-radius:6px;
  box-shadow:none;
}
#profileForm .featured-course-selection {
  background:#fffdf6;
  border:1px solid #d9ddc9;
  color:var(--muted);
  flex-wrap:wrap;
}
#profileForm .featured-course-selection strong,#profileForm .featured-course-selection .has-selection {
  color:var(--ink);
}
#profileForm .featured-course-field .growth-card h3 {
  color:var(--ink);
  font-size:17px;
  text-align:left;
}
#profileForm .featured-course-field .growth-card p {
  color:var(--muted);
  font-size:12px;
  line-height:1.9;
}
#profileForm .featured-course-field .growth-card {
  transform:none!important;
}
#profileForm .upload-help {
  color:var(--muted);
  border-color:#d5dfc7;
  background:#f1f4e8;
}
#profileForm .growth-card .course-status {
  width:max-content;
}
#profileForm .course-option-card.is-selected .course-option-check {
  display:flex;
}
#profileForm .growth-card.is-selected {
  box-shadow:inset 0 0 0 1px var(--ink);
  background:#f0f4e9!important;
}
@media(max-width:980px) {
  .availability-days {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:760px) {
  .availability-days {
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .availability-days .demand-day {
    padding:8px 12px;
  }
  .availability-days .matching-slot-panel label {
    min-width:80px;
  }
  .workspace-page .featured-course-card .course-preview-link {
    grid-column:1/-1;
  }
  #profileForm .growth-grid {
    grid-template-columns:1fr;
  }
  #profileForm .growth-card.course-option-card {
    min-height:0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 12px;
    padding:18px;
  }
  #profileForm .growth-card .growth-icon {
    position:absolute;
    left:18px;
    top:18px;
    margin:0;
    width:34px;
    height:34px;
  }
  #profileForm .growth-card h3 {
    grid-column:1/-1;
    margin:0 25px 0 46px!important;
    min-height:34px;
    display:flex;
    align-items:center;
  }
  #profileForm .growth-card .course-status {
    position:static!important;
    grid-column:1/-1;
    justify-self:start;
    margin:2px 0;
  }
  #profileForm .growth-card p {
    grid-column:1/-1;
    margin:0!important;
    min-height:0!important;
  }
  #profileForm .growth-card .course-option-toggle,#profileForm .growth-card .link {
    grid-row:auto;
    margin:4px 0 0!important;
    min-height:44px!important;
    font-size:12px!important;
    padding:10px 7px!important;
  }
  #profileForm .course-option-check {
    top:18px!important;
    right:18px!important;
  }
}
.matching-featured-courses .course-preview-link {
  display:block;
  grid-column:1/-1;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  width:auto;
}
h1,h2,h3,h4,p,.public-hero h1,.public-hero h2 {
  letter-spacing:0;
}
.public-nav {
  padding-inline:max(24px,calc((100vw - 1240px)/2));
}
.public-hero {
  min-height:640px;
  padding-top:76px;
  padding-bottom:76px;
}
.hero-slide-stage {
  flex-direction:column;
  justify-content:flex-start;
}
.hero-slide h1 {
  min-height:2.4em;
  display:block;
}
.public-section {
  padding-top:72px;
  padding-bottom:88px;
}
.public-section .lead {
  font-size:14px;
}
.trust-row {
  gap:16px;
}
.trust-item {
  border:1px solid rgba(255,255,255,.1);
}
.growth-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.growth-card,.featured-course-card,.course-option-card {
  border-color:var(--card-line)!important;
  border-radius:var(--radius-card)!important;
  box-shadow:var(--card-shadow)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.growth-card:hover,.featured-course-card:hover,.course-option-card:hover {
  transform:translateY(-2px);
  border-color:#a9baa2!important;
  box-shadow:0 12px 28px rgba(30,70,57,.11)!important;
}
.growth-card {
  grid-template-columns:46px minmax(0,1fr) auto;
  grid-template-areas:"icon title status" "icon desc desc" "icon toggle toggle" "icon action action";
  gap:8px 14px;
  align-content:start;
  padding:22px;
}
.growth-card .growth-icon {
  grid-area:icon;
  width:46px;
  height:46px;
  margin:0!important;
  border-radius:var(--radius-sub)!important;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  font-size:0!important;
  background:var(--course-tint,#e9efdf)!important;
  color:var(--course-color,var(--ink))!important;
  border:1px solid color-mix(in srgb,var(--course-color,var(--ink)) 14%,transparent)!important;
}
.growth-icon::before {
  content:"";
  display:block;
  width:22px;
  height:22px;
  border:2px solid currentColor;
  border-radius:7px;
  opacity:.72;
  transform:rotate(-8deg);
}
.growth-icon::after {
  content:"";
  position:absolute;
  width:8px;
  height:8px;
  border-radius:50%;
  background:currentColor;
  opacity:.55;
  right:9px;
  bottom:9px;
}
.growth-icon[data-icon-key="explore"]::before {
  transform:none;
}
.growth-icon[data-icon-key="ai"]::before {
  box-shadow:inset 0 0 0 4px color-mix(in srgb,currentColor 30%,transparent);
}
.growth-card h3 {
  grid-area:title;
  align-self:center;
  font-size:18px!important;
  margin:0!important;
  padding:0!important;
}
.growth-card p {
  grid-area:desc;
  margin:0!important;
  font-size:13px!important;
  line-height:1.75!important;
  min-height:68px;
}
.growth-card .course-status {
  grid-area:status;
  align-self:start;
  justify-self:end;
  position:static!important;
  margin:0!important;
  white-space:nowrap!important;
}
.growth-card .course-option-toggle {
  grid-area:toggle;
  justify-self:start;
  min-height:40px;
  padding:7px 11px!important;
}
.growth-card .link {
  grid-area:action;
  justify-self:start;
  min-height:40px!important;
  display:inline-flex;
  align-items:center;
  padding:0!important;
  font-weight:700;
}
.course-option-check {
  display:none!important;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--ink);
  color:#fff;
  font-size:12px;
  font-weight:700;
}
.course-option-card.is-selected .course-option-check,.course-option-card.on .course-option-check {
  display:flex!important;
}
.featured-course-card {
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto;
  grid-template-areas:"icon copy status" "icon copy check" "icon link link";
  gap:6px 12px;
  align-items:start;
  min-height:184px;
  padding:18px!important;
  text-align:left;
}
.featured-course-card .growth-icon {
  grid-area:icon;
  margin:0!important;
  font-size:0!important;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-sub)!important;
  background:var(--course-tint)!important;
  color:var(--course-color)!important;
}
.featured-course-card .course-option-copy {
  grid-area:copy;
  display:grid;
  gap:6px;
  min-width:0;
}
.featured-course-card .course-option-copy b {
  font-size:16px;
  line-height:1.35;
}
.featured-course-card .course-option-copy span {
  font-size:12px;
  line-height:1.65;
  display:block;
}
.featured-course-card .course-status {
  grid-area:status;
  position:static!important;
  justify-self:end;
  align-self:start;
}
.featured-course-card .course-option-check {
  grid-area:check;
  justify-self:end;
  align-self:center;
}
.featured-course-card .course-preview-link {
  grid-area:link;
  margin:6px 0 0!important;
  font-size:12px;
  line-height:1.5;
  white-space:normal!important;
}
.teacher-directory-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.teacher-directory-card {
  padding:24px!important;
  grid-template-columns:58px minmax(0,1fr) 24px;
  align-content:start;
}
.teacher-directory-card .teacher-directory-avatar {
  border-radius:var(--radius-sub)!important;
  font-size:22px;
}
.teacher-directory-card h3 {
  font-size:20px!important;
  line-height:1.35;
}
.teacher-directory-card .teacher-directory-tags {
  grid-column:1/-1;
  margin-top:8px;
}
.teacher-directory-card .teacher-directory-meta {
  grid-column:1/-1;
  border-top:1px solid var(--line);
  padding-top:12px;
}
.screen-overlay {
  padding:24px!important;
  align-items:center!important;
  justify-content:center!important;
}
.screen-drawer {
  width:min(1120px,100%)!important;
  max-width:1120px!important;
  max-height:calc(100dvh - 48px)!important;
  transform:none!important;
  animation:none!important;
}
.screen-drawer-head {
  margin-bottom:20px!important;
}
.auth-card {
  border-radius:var(--radius-sub)!important;
  box-shadow:0 16px 42px rgba(30,70,57,.09)!important;
}
.form-field label,.family-form label {
  line-height:1.45;
}
.workspace-page .screen-drawer {
  border-radius:0!important;
  width:min(1240px,100%)!important;
  max-width:1240px!important;
  box-shadow:none!important;
}
.workspace-page .screen-drawer-head {
  background:var(--paper);
}
.nav .icon::before {
  content:"";
  position:absolute;
}
.media-card:after {
  content:""!important;
  width:14px;
  height:14px;
  border-top:1.5px solid currentColor;
  border-right:1.5px solid currentColor;
  transform:rotate(45deg);
  font-size:0!important;
}
.course-preview-link::after,.growth-card .link::after {
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  border-top:1.5px solid currentColor;
  border-right:1.5px solid currentColor;
  transform:rotate(45deg);
  margin-left:7px;
  margin-bottom:1px;
}
@media(max-width:1000px) {
  .public-hero {
    grid-template-columns:1fr;
    gap:34px;
    min-height:0;
  }
  .public-art {
    max-width:720px;
    width:100%;
    margin:auto;
  }
  .growth-grid,.teacher-directory-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .screen-overlay {
    padding:16px!important;
  }
}
@media(max-width:680px) {
  .public-nav {
    padding-inline:16px;
  }
  .public-hero {
    width:calc(100% - 32px);
    padding-top:46px;
    padding-bottom:58px;
  }
  .hero-slide-stage {
    min-height:340px;
  }
  .hero-slide h1 {
    font-size:clamp(32px,10vw,44px);
    min-height:2.7em;
  }
  .hero-slide p {
    font-size:14px;
    min-height:6.2em;
  }
  .public-section {
    padding:52px 20px 64px;
  }
  .trust-row {
    grid-template-columns:1fr;
  }
  .growth-grid,.teacher-directory-grid {
    grid-template-columns:1fr;
  }
  .growth-card {
    min-height:0;
  }
  .featured-course-card {
    min-height:170px;
  }
  .teacher-directory-card {
    min-height:250px;
    padding:20px!important;
  }
  .screen-overlay {
    padding:0!important;
    align-items:stretch!important;
  }
  .screen-drawer {
    max-height:100dvh!important;
    height:100dvh!important;
    border-radius:0!important;
    padding:22px 18px!important;
  }
  .screen-drawer-head {
    top:-22px!important;
  }
  .workspace-page .screen-drawer {
    padding:20px 16px!important;
  }
  .auth-card {
    padding:22px 18px!important;
  }
}
.teacher-directory-home-grid:empty {
  display:block;
}
.teacher-directory-home-grid .directory-loading {
  min-height:260px;
}
.welfare-section .media-row {
  min-height:184px;
  align-items:stretch;
}
.welfare-story-placeholder {
  min-height:184px;
}
.public-teacher-note {
  min-height:28px;
}
.teacher-directory-heading,.welfare-heading {
  align-items:end;
  gap:28px;
}
.teacher-directory-heading .link,.welfare-stories {
  white-space:nowrap;
  flex:none;
}
.teacher-directory-toolbar {
  position:sticky;
  top:0;
  z-index:3;
  border-bottom:1px solid var(--hairline);
}
.teacher-directory-toolbar label span,.form-field label,.family-form label {
  font-size:var(--type-caption);
  font-weight:700;
  letter-spacing:.02em;
  color:var(--muted);
}
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  min-height:46px;
  border:1px solid var(--card-line);
  border-radius:var(--radius-control);
  background:#fffdf8;
  padding:0 12px;
  color:var(--ink);
}
.teacher-directory-toolbar input:focus,.teacher-directory-toolbar select:focus {
  border-color:var(--ink);
  box-shadow:0 0 0 3px rgba(30,70,57,.08);
  outline:0;
}
.teacher-directory-filter-help {
  color:var(--muted);
  font-size:var(--type-caption);
}
.teacher-directory-count {
  min-height:24px;
  margin:14px 0 8px;
  color:var(--muted);
  font-size:var(--type-small);
}
.teacher-directory-card {
  position:relative;
  isolation:isolate;
  border:1px solid var(--card-line)!important;
}
.teacher-directory-card::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  border:1px solid transparent;
  pointer-events:none;
  transition:border-color .18s ease;
}
.teacher-directory-card:hover::after,.teacher-directory-card:focus-visible::after {
  border-color:rgba(184,76,21,.45);
}
.teacher-directory-title {
  min-width:0;
  display:flex;
  flex-wrap:wrap;
}
.teacher-directory-verified {
  font-size:var(--type-caption);
  color:var(--muted);
  white-space:nowrap;
}
.teacher-directory-school {
  margin:5px 0 0;
  color:var(--muted);
  font-size:var(--type-small);
  line-height:1.55;
}
.teacher-directory-tags {
  display:flex;
  flex-wrap:wrap;
}
.teacher-directory-tags span {
  border:1px solid var(--hairline);
  background:#fffdf8;
  color:var(--ink);
  font-size:var(--type-caption);
  line-height:1.3;
}
.teacher-directory-meta {
  display:flex;
  color:var(--muted);
  font-size:var(--type-caption);
}
.growth-icon[data-icon-key="ai"]::before {
  box-shadow:inset 0 0 0 3px rgba(35,76,59,.28);
}
.welfare-story-mark {
  width:34px;
  height:34px;
  display:block;
  border:2px solid currentColor;
  border-radius:50%;
  position:relative;
  color:var(--coral);
  opacity:.8;
}
.welfare-story-mark::before,.welfare-story-mark::after {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  background:currentColor;
  transform:translate(-50%,-50%);
  border-radius:var(--radius-card);
}
.welfare-story-mark::before {
  width:18px;
  height:2px;
}
.welfare-story-mark::after {
  width:2px;
  height:18px;
}
.desk-caption button,.media-card,.welfare-story-placeholder {
  position:relative;
}
.desk-caption button i,.media-card::after {
  display:inline-block;
  width:9px;
  height:9px;
  border-top:1.5px solid currentColor;
  border-right:1.5px solid currentColor;
  transform:rotate(45deg);
  margin-left:9px;
  vertical-align:1px;
}
.desk-caption button i {
  content:"";
}
.family-shortcut strong {
  display:flex;
  align-items:center;
}
.family-shortcut .shortcut-mark {
  border:1.5px solid currentColor;
}
.family-shortcut .shortcut-mark[data-mark="scores"] {
  box-shadow:inset 0 -4px 0 currentColor;
}
.family-shortcut .shortcut-mark[data-mark="profile"] {
  box-shadow:inset 0 -6px 0 -3px currentColor;
}
.family-shortcut .shortcut-mark[data-mark="growth"] {
  transform:rotate(45deg);
  border-radius:4px;
}
.family-shortcut .shortcut-mark[data-mark="match"] {
  border-radius:50%;
  box-shadow:6px 0 0 -3px currentColor;
}
.family-shortcut .shortcut-mark[data-mark="trial"] {
  border-radius:50%;
  box-shadow:inset 0 0 0 3px transparent;
}
.family-shortcut .shortcut-mark[data-mark="orders"] {
  border-radius:3px;
  box-shadow:inset 0 -4px 0 currentColor;
}
.family-shortcut .shortcut-mark[data-mark="review"] {
  border-radius:50%;
  box-shadow:inset 0 0 0 3px transparent;
}
.family-shortcut .shortcut-mark[data-mark="pool"] {
  transform:rotate(45deg);
  border-radius:3px;
}
.public-links .charity-link {
  font-size:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.desk-caption button {
  font-size:0;
  display:inline-flex;
  align-items:center;
  gap:9px;
}
.desk-caption button::before {
  content:"认识老师";
  font-size:13px;
}
.desk-caption button::after {
  content:"";
  width:9px;
  height:9px;
  border-top:1.5px solid currentColor;
  border-right:1.5px solid currentColor;
  transform:rotate(45deg);
}
.welfare-story-placeholder>span[aria-hidden="true"] {
  font-size:0;
  width:34px;
  height:34px;
  display:block;
  border:2px solid currentColor;
  border-radius:50%;
  position:relative;
  color:var(--coral);
  opacity:.8;
}
.welfare-story-placeholder>span[aria-hidden="true"]::before,.welfare-story-placeholder>span[aria-hidden="true"]::after {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  background:currentColor;
  transform:translate(-50%,-50%);
  border-radius:var(--radius-card);
}
.welfare-story-placeholder>span[aria-hidden="true"]::before {
  width:18px;
  height:2px;
}
.welfare-story-placeholder>span[aria-hidden="true"]::after {
  width:2px;
  height:18px;
}
@supports not (color:color-mix(in srgb,black 30%,transparent)) {
  .growth-icon[data-icon-key="ai"]::before {
    box-shadow:inset 0 0 0 3px rgba(35,76,59,.28);
  }
}
@media(max-width:1000px) {
  .teacher-directory-home-grid {
    min-height:286px;
  }
  .teacher-directory-heading,.welfare-heading {
    align-items:start;
  }
  .teacher-directory-toolbar {
    position:static;
  }
}
@media(max-width:680px) {
  body {
    font-size:14px;
    line-height:1.68;
  }
  .public-nav {
    min-height:68px;
  }
  .public-nav-actions {
    gap:8px;
  }
  .public-nav-actions button,.mobile-public-menu {
    padding-inline:12px;
    font-size:13px;
  }
  .public-hero {
    min-height:0;
  }
  .hero-slide-stage {
    min-height:334px;
  }
  .hero-slide h1 {
    line-height:1.3;
  }
  .teacher-directory-home-grid {
    min-height:264px;
  }
  .teacher-directory-heading,.welfare-heading {
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  .teacher-directory-heading .link,.welfare-stories {
    align-self:flex-start;
  }
  .teacher-directory-card {
    min-height:0;
  }
  .teacher-directory-card .teacher-directory-meta {
    gap:6px 12px;
  }
  .teacher-directory-toolbar {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .teacher-directory-toolbar label:first-child {
    grid-column:1/-1;
  }
  .teacher-directory-toolbar input,.teacher-directory-toolbar select {
    width:100%;
  }
  .welfare-section .media-row {
    min-height:174px;
  }
  .family-shortcut {
    min-height:88px;
  }
}
h1,h2,h3,h4,.public-brand,.brand strong,.auth-card h2 {
  font-family:var(--font-display);
  font-weight:700;
}
h1,h2,h3,h4 {
  letter-spacing:0!important;
}
p,small,label,.crumb,.sub,.task-meta,.account-caption {
  letter-spacing:0;
}
.public-links a {
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:44px;
}
.public-links a::after {
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:6px;
  height:2px;
  border-radius:var(--radius-card);
  background:currentColor;
  transition:right .18s ease;
}
.public-links a:hover::after,.public-links a:focus-visible::after {
  right:0;
}
.public-nav-actions button,.public-cta button,.auth-submit,.family-actions>button,.teacher-directory-card button {
  min-height:46px;
  border-radius:var(--radius-control);
  font-weight:650;
  letter-spacing:0;
}
.public-cta button {
  padding-inline:20px;
}
.public-hero-copy,.public-art,.public-section>*,.public-footer>* {
  min-width:0;
}
.public-section h2 {
  line-height:1.16;
}
.public-section .lead {
  max-width:620px;
  line-height:1.85;
}
.public-section {
  scroll-margin-top:92px;
}
.trust-row,.growth-grid,.teacher-directory-home-grid,.teacher-directory-grid {
  align-items:stretch;
}
.trust-item,.growth-card,.teacher-directory-card,.family-shortcut,.account-panel,.ops-queue-card {
  border-color:var(--edge-soft);
}
.trust-item {
  min-height:168px;
  padding:24px;
  border-radius:var(--radius-control);
  background:rgba(255,255,255,.64);
}
.trust-item strong {
  font-variant-numeric:tabular-nums;
  letter-spacing:.08em;
}
.growth-card,.teacher-directory-card {
  overflow:hidden;
}
.growth-card h3,.teacher-directory-card h3 {
  overflow-wrap:anywhere;
}
.growth-card p,.teacher-directory-card p {
  max-width:44ch;
}
.teacher-directory-card .teacher-directory-title {
  min-width:0;
}
.teacher-directory-card .teacher-directory-meta {
  display:flex;
  flex-wrap:wrap;
  gap:7px 12px;
}
.teacher-directory-toolbar {
  border:1px solid var(--edge-soft);
  background:var(--sand);
}
.teacher-directory-toolbar label>span {
  display:block;
  margin:0 0 7px;
  color:var(--muted);
  font-size:12px;
  font-weight:650;
}
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  width:100%;
}
.teacher-directory-filter-help {
  margin:12px 0 0;
  line-height:1.7;
}
.screen-drawer-body,.family-panel,.matching-panel {
  min-width:0;
}
.form-grid,.family-form-grid,.profile-form-grid {
  align-items:start;
}
.form-field,.family-form-field {
  min-width:0;
}
.form-field label,.family-form-field label {
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  font-size:13px;
  font-weight:650;
  line-height:1.45;
}
.form-field small,.family-form-field small {
  display:block;
  margin-top:7px;
  line-height:1.65;
}
.form-field input,.form-field select,.form-field textarea,.family-panel input,.family-panel select,.family-panel textarea {
  width:100%;
  max-width:100%;
  font-size:14px;
  line-height:1.5;
}
.form-field textarea,.family-panel textarea {
  resize:vertical;
}
.subject-picker,.week-picker,.slot-panel {
  align-items:stretch;
}
.subject-chip,.week-picker button,.slot-panel .slot {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.subject-chip:focus-visible,.week-picker button:focus-visible,.slot-panel .slot:focus-visible,.course-option-toggle:focus-visible {
  outline:3px solid rgba(35,76,59,.24);
  outline-offset:2px;
}
.featured-course-field {
  isolation:isolate;
}
.featured-course-field .growth-card {
  min-height:260px;
}
.featured-course-field .growth-card h3 {
  padding-right:32px;
}
.featured-course-field .course-status {
  white-space:nowrap;
}
.featured-course-field .course-option-check {
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--green);
  font-size:12px;
  font-weight:700;
}
.featured-course-field .growth-card.is-selected .course-option-check {
  background:var(--ink);
  color:#fff;
}
.family-shortcut strong,.family-shortcut span {
  min-width:0;
  overflow-wrap:anywhere;
}
.account-task,.account-lesson {
  min-height:82px;
}
.account-task b,.account-lesson small {
  flex:0 0 auto;
}
.screen-overlay.open {
  overscroll-behavior:none;
}
@media(max-width:900px) {
  .teacher-directory-home-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .trust-row {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:680px) {
  .public-brand {
    font-size:22px;
  }
  .public-links a::after {
    display:none;
  }
  .trust-row {
    grid-template-columns:1fr;
  }
  .trust-item {
    min-height:0;
    padding:20px;
  }
  .teacher-directory-home-grid {
    grid-template-columns:1fr!important;
    gap:14px;
  }
  .teacher-directory-home-grid .teacher-directory-card {
    min-height:0;
    padding:20px;
  }
  .featured-course-field .growth-card {
    min-height:0;
  }
  .screen-drawer-head {
    min-height:70px;
  }
  .screen-drawer-body {
    padding-inline:16px!important;
  }
  .form-grid,.family-form-grid,.profile-form-grid {
    grid-template-columns:1fr!important;
  }
  .form-field.full {
    grid-column:auto!important;
  }
  .auth-card,.family-panel {
    border-radius:var(--radius-sub);
  }
}
h1,h2,h3,h4,p {
  overflow-wrap:anywhere;
}
.card,.family-card,.teacher-directory-card,.growth-card,.featured-course-card,.ops-queue-card {
  min-width:0;
}
.card,.family-card,.teacher-directory-card,.growth-card,.featured-course-card {
  border-color:var(--card-line);
}
.card-head,.family-card-head,.teacher-directory-title,.teacher-directory-meta {
  min-width:0;
}
.teacher-directory-title h3,.growth-card h3,.featured-course-card b {
  overflow-wrap:anywhere;
}
.teacher-directory-card:focus-visible,.growth-card:focus-visible,.featured-course-card:focus-visible,.family-shortcut:focus-visible {
  outline:3px solid rgba(184,76,21,.28);
  outline-offset:3px;
}
.teacher-directory-card button,.featured-course-card button,.family-shortcut button {
  min-height:44px;
}
.screen-overlay {
  contain:layout paint;
}
.screen-drawer {
  contain:layout style;
}
.screen-drawer>* {
  min-width:0;
}
.content,.public-section,.public-hero,.auth-card {
  max-width:100%;
}
@media(max-width:760px) {
  .content {
    padding-inline:18px;
  }
  .topbar {
    padding-inline:18px;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .hero h1 {
    font-size:clamp(25px,7vw,31px);
    letter-spacing:0;
  }
  .family-toolbar {
    grid-template-columns:1fr!important;
  }
  .teacher-directory-card {
    padding:18px!important;
  }
  .teacher-directory-main {
    min-width:0;
  }
  .teacher-directory-tags,.teacher-directory-meta {
    flex-wrap:wrap;
  }
  .screen-drawer {
    padding:20px!important;
  }
}
.nav .icon {
  position:relative;
  display:inline-grid;
  place-items:center;
  color:currentColor;
  font-size:0;
  opacity:.82;
}
.nav button.active .icon {
  opacity:1;
}
.nav .icon::before,.nav .icon::after {
  content:"";
  position:absolute;
  box-sizing:border-box;
}
.nav .icon::before {
  width:15px;
  height:15px;
}
.nav .icon::after {
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor;
}
.nav .icon[data-icon-key="home"]::before {
  border-radius:4px 4px 6px 6px;
  border-top-width:2px;
}
.nav .icon[data-icon-key="home"]::after {
  width:8px;
  height:8px;
  background:transparent;
  border:1.6px solid currentColor;
  border-bottom:0;
  border-radius:7px 7px 0 0;
  top:4px;
}
.nav .icon[data-icon-key="lessons"]::before {
  border-radius:3px;
  box-shadow:inset 0 -4px 0 currentColor;
}
.nav .icon[data-icon-key="lessons"]::after {
  width:9px;
  height:1.6px;
  border-radius:2px;
  background:currentColor;
  top:7px;
  box-shadow:0 4px 0 currentColor;
}
.nav .icon[data-icon-key="plan"]::before {
  border-radius:3px;
  box-shadow:inset 0 4px 0 color-mix(in srgb,currentColor 18%,transparent);
}
.nav .icon[data-icon-key="plan"]::after {
  width:5px;
  height:5px;
  border:1.4px solid currentColor;
  background:transparent;
  border-radius:2px;
  box-shadow:7px 0 0 -1px var(--ink),7px 0 0 .3px currentColor,0 7px 0 -1px var(--ink),0 7px 0 .3px currentColor;
}
.nav .icon[data-icon-key="checkin"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 3px color-mix(in srgb,currentColor 16%,transparent);
}
.nav .icon[data-icon-key="checkin"]::after {
  width:7px;
  height:1.6px;
  border-radius:2px;
  background:currentColor;
  transform:rotate(45deg);
  box-shadow:4px -3px 0 -0.2px currentColor;
}
.nav .icon[data-icon-key="method"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 18%,transparent);
}
.nav .icon[data-icon-key="method"]::after {
  width:2px;
  height:10px;
  border-radius:2px;
  background:currentColor;
  box-shadow:4px 4px 0 -0.2px currentColor;
  transform:rotate(35deg);
}
.nav .icon[data-icon-key="match"]::before {
  border-radius:50%;
  box-shadow:7px 0 0 -3px currentColor;
}
.nav .icon[data-icon-key="match"]::after {
  width:6px;
  height:6px;
  background:transparent;
  border:1.4px solid currentColor;
  border-radius:50%;
  left:5px;
  top:7px;
}
.nav .icon[data-icon-key="trial"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 20%,transparent);
}
.nav .icon[data-icon-key="trial"]::after {
  width:0;
  height:0;
  background:transparent;
  border-left:5px solid currentColor;
  border-top:3px solid transparent;
  border-bottom:3px solid transparent;
  left:9px;
}
.nav .icon[data-icon-key="orders"]::before {
  border-radius:3px;
  box-shadow:inset 0 -4px 0 currentColor;
}
.nav .icon[data-icon-key="orders"]::after {
  width:8px;
  height:1.6px;
  border-radius:2px;
  background:currentColor;
  top:7px;
  box-shadow:0 4px 0 currentColor;
}
.nav .icon[data-icon-key="children"]::before {
  width:16px;
  height:11px;
  border-radius:8px 8px 5px 5px;
  top:9px;
}
.nav .icon[data-icon-key="children"]::after {
  width:6px;
  height:6px;
  background:transparent;
  border:1.4px solid currentColor;
  border-radius:50%;
  top:3px;
  box-shadow:7px 4px 0 -1px var(--ink),7px 4px 0 .3px currentColor;
}
.nav .icon[data-icon-key="scores"]::before {
  border-radius:50%;
  box-shadow:inset 0 -5px 0 color-mix(in srgb,currentColor 17%,transparent);
}
.nav .icon[data-icon-key="scores"]::after {
  width:9px;
  height:1.6px;
  border-radius:2px;
  background:currentColor;
  top:7px;
  box-shadow:0 4px 0 currentColor;
}
.nav .icon[data-icon-key="growth"]::before {
  border-radius:4px;
  transform:rotate(45deg);
}
.nav .icon[data-icon-key="growth"]::after {
  width:5px;
  height:5px;
  border-radius:1px;
  background:transparent;
  border:1.4px solid currentColor;
  transform:rotate(45deg);
}
.nav .icon[data-icon-key="pairings"]::before {
  border-radius:50%;
  box-shadow:7px 0 0 -3px currentColor;
}
.nav .icon[data-icon-key="pairings"]::after {
  width:6px;
  height:6px;
  background:transparent;
  border:1.4px solid currentColor;
  border-radius:50%;
  left:5px;
  top:7px;
}
.nav .icon[data-icon-key="review"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 20%,transparent);
}
.nav .icon[data-icon-key="review"]::after {
  width:8px;
  height:4px;
  border-left:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;
  background:transparent;
  transform:rotate(-45deg);
  top:6px;
}
.nav .icon[data-icon-key="pool"]::before {
  border-radius:4px;
  transform:rotate(45deg);
}
.nav .icon[data-icon-key="pool"]::after {
  width:5px;
  height:5px;
  border-radius:50%;
  background:transparent;
  border:1.4px solid currentColor;
}
.nav .icon[data-icon-key="profile"]::before {
  border-radius:50%;
  box-shadow:inset 0 -6px 0 color-mix(in srgb,currentColor 16%,transparent);
}
.nav .icon[data-icon-key="profile"]::after {
  width:5px;
  height:5px;
  background:transparent;
  border:1.4px solid currentColor;
  border-radius:50%;
  top:4px;
}
.nav .icon[data-icon-key="charity"]::before {
  border-radius:6px 6px 8px 8px;
  box-shadow:inset 0 -3px 0 color-mix(in srgb,currentColor 16%,transparent);
}
.nav .icon[data-icon-key="charity"]::after {
  width:8px;
  height:5px;
  background:transparent;
  border:1.4px solid currentColor;
  border-top:0;
  border-radius:0 0 8px 8px;
  top:8px;
}
.nav .icon[data-icon-key="refund"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 20%,transparent);
}
.nav .icon[data-icon-key="refund"]::after {
  width:7px;
  height:7px;
  background:transparent;
  border-left:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;
  transform:rotate(45deg);
  left:5px;
  top:5px;
}
.nav .icon[data-icon-key="followup"]::before {
  border-radius:3px;
  box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 15%,transparent);
}
.nav .icon[data-icon-key="followup"]::after {
  width:8px;
  height:1.6px;
  border-radius:2px;
  background:currentColor;
  top:7px;
  box-shadow:0 4px 0 currentColor;
}
.profile-edit:after {
  content:""!important;
  display:inline-block;
  width:10px;
  height:10px;
  border:1.5px solid currentColor;
  border-radius:3px;
  transform:rotate(-18deg);
  margin-left:7px;
  vertical-align:-1px;
}
@media(max-width:920px) {
  .profile-edit:after {
    display:none!important;
  }
}
.family-toolbar {
  align-items:stretch;
}
.family-shortcut {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:18px 18px!important;
  border:1px solid var(--card-line)!important;
  background:rgba(255,255,255,.82)!important;
  color:var(--ink);
  text-align:left;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.family-shortcut:hover,.family-shortcut:focus-visible {
  border-color:#9db49b!important;
  background:#fff!important;
  box-shadow:0 12px 24px rgba(30,70,57,.1)!important;
}
.family-shortcut:active {
  transform:translateY(0);
  box-shadow:0 5px 12px rgba(30,70,57,.07)!important;
}
.family-shortcut strong {
  min-width:0;
  letter-spacing:.01em;
}
.family-shortcut span {
  display:block;
  max-width:32ch;
  color:var(--muted);
}
.family-shortcut .shortcut-mark {
  border-width:1.7px;
  color:var(--ink);
}
.family-shortcut .shortcut-mark[data-mark="binding"] {
  border-radius:50%;
  box-shadow:inset 0 0 0 3px rgba(30,70,57,.12);
}
.family-shortcut .shortcut-mark[data-mark="pairings"] {
  border-radius:50% 50% 4px 4px;
  transform:rotate(-12deg);
  box-shadow:6px 4px 0 -4px currentColor;
}
.family-shortcut .shortcut-mark[data-mark="pool"] {
  background:#f4eadf;
  border-color:#b84c15;
  color:#a9420f;
}
.family-shortcut .shortcut-mark[data-mark="growth"] {
  background:#f5efe0;
  border-color:#b88545;
  color:#a76f31;
}
.family-shortcut .shortcut-mark[data-mark="scores"] {
  background:var(--green-soft);
  border-color:var(--green);
  color:var(--muted);
}
.family-shortcut .shortcut-mark[data-mark="trial"] {
  background:#edf3e9;
  border-color:#739776;
  color:#5d8063;
}
.family-shortcut .shortcut-mark[data-mark="orders"] {
  background:#f8ede8;
  border-color:#c47a63;
  color:#a75c46;
}
.family-shortcut .shortcut-mark[data-mark="profile"],.family-shortcut .shortcut-mark[data-mark="binding"] {
  background:#edf1f0;
  border-color:#6d8883;
  color:#56746f;
}
.account-tools {
  min-width:0;
}
.account-tools h2 {
  margin-bottom:8px;
}
.service-shortcuts {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.service-shortcuts .family-shortcut:nth-child(4) {
  grid-column:1/-1;
  min-height:86px;
}
.teacher-matching-toolbar {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.teacher-matching-toolbar .family-shortcut {
  min-height:110px;
}
.teacher-directory-card .teacher-directory-main {
  align-self:start;
}
.teacher-directory-card .teacher-directory-meta span {
  white-space:nowrap;
}
[data-image-slot] {
  background-color:#f2ede2;
}
[data-image-slot] img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.desk-scene[data-image-slot] {
  aspect-ratio:760/520;
}
@media(max-width:1000px) {
  .service-shortcuts,.teacher-matching-toolbar {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .service-shortcuts .family-shortcut:nth-child(4) {
    grid-column:auto;
    min-height:104px;
  }
}
@media(max-width:680px) {
  .family-shortcut {
    min-height:96px;
    padding:16px!important;
  }
  .service-shortcuts,.teacher-matching-toolbar {
    grid-template-columns:1fr;
  }
  .service-shortcuts .family-shortcut:nth-child(4) {
    grid-column:auto;
    min-height:96px;
  }
  .family-shortcut span {
    max-width:none;
  }
}
html {
  font-size:16px;
}
button {
  min-height:44px;
}
.public-nav,.topbar {
  min-height:76px;

  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
.public-brand,.brand strong {
  letter-spacing:.06em;
}
.public-links a {
  letter-spacing:.01em;
}
.form-field input,.form-field select,.form-field textarea,
.family-panel input,.family-panel select,.family-panel textarea,
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.growth-grid {
  align-items:stretch;
}
.growth-card {
  display:flex;
  flex-direction:column;
  min-height:278px;
  border-radius:var(--radius-sub);
  box-shadow:0 7px 20px rgba(30,70,57,.045);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.growth-card:hover,.growth-card:focus-within {
  transform:translateY(-2px);
  border-color:rgba(30,70,57,.28);
  box-shadow:0 14px 28px rgba(30,70,57,.09);
}
.growth-card h3 {
  line-height:1.35;
  letter-spacing:0;
}
.growth-card p {
  line-height:1.75;
}
.growth-card .link {
  margin-top:auto;
  padding-top:8px;
}
.growth-icon,.featured-course-card .growth-icon {
  isolation:isolate;
  margin-bottom:24px;
  border:1px solid color-mix(in srgb,var(--course-color,var(--green)) 24%,white);
  color:var(--course-color,var(--green));
  box-shadow:0 5px 14px color-mix(in srgb,var(--course-color,var(--action-fill)) 14%,transparent),inset 0 0 0 1px rgba(255,255,255,.54);
}
.growth-icon::before,.featured-course-card .growth-icon::before {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  display:block;
  width:23px;
  height:23px;
  border:2px solid currentColor;
  border-radius:var(--radius-sub);
  transform:translate(-50%,-50%);
  box-sizing:border-box;
}
.growth-icon::after,.featured-course-card .growth-icon::after {
  left:50%;
  top:50%;
  display:block;
  transform:translate(-50%,-50%);
}
.growth-icon[data-icon-key="learning"]::before {
  border-radius:5px;
  transform:translate(-50%,-50%) rotate(-7deg);
  box-shadow:inset 0 -6px 0 currentColor;
}
.growth-icon[data-icon-key="learning"]::after {
  width:5px;
  height:2px;
  border-radius:2px;
  top:62%;
  background:var(--course-tint,var(--green-soft));
  box-shadow:0 -8px 0 currentColor;
}
.growth-icon[data-icon-key="explore"]::before {
  border-radius:50%;
  border-width:2px;
  box-shadow:8px -8px 0 -5px currentColor,-8px 8px 0 -5px currentColor;
}
.growth-icon[data-icon-key="explore"]::after {
  width:4px;
  height:4px;
  box-shadow:0 -8px 0 currentColor,8px 0 0 currentColor,0 8px 0 currentColor,-8px 0 0 currentColor;
}
.growth-icon[data-icon-key="craft"]::before {
  border-radius:50% 50% 7px 7px;
  transform:translate(-50%,-50%) rotate(45deg);
}
.growth-icon[data-icon-key="craft"]::after {
  width:5px;
  height:5px;
  border-radius:1px;
  transform:translate(-50%,-50%) rotate(45deg);
  background:var(--course-tint,#fff0e0);
  box-shadow:0 0 0 2px currentColor;
}
.growth-icon[data-icon-key="art"]::before {
  border-radius:4px;
  transform:translate(-50%,-50%) rotate(45deg);
  box-shadow:inset 0 0 0 3px var(--course-tint,var(--green-soft));
}
.growth-icon[data-icon-key="art"]::after {
  width:5px;
  height:5px;
  border-radius:50%;
  left:63%;
}
.growth-icon[data-icon-key="sport"]::before {
  border-radius:50%;
  transform:translate(-50%,-50%) skew(-12deg);
  box-shadow:inset -4px 0 0 currentColor;
}
.growth-icon[data-icon-key="sport"]::after {
  width:5px;
  height:5px;
  top:36%;
  box-shadow:10px 10px 0 -1px currentColor;
}
.growth-icon[data-icon-key="ai"]::before {
  border-radius:var(--radius-control);
  box-shadow:inset 0 0 0 3px color-mix(in srgb,currentColor 28%,transparent);
}
.growth-icon[data-icon-key="ai"]::after {
  width:5px;
  height:5px;
  box-shadow:0 -10px 0 -1px currentColor,10px 0 0 -1px currentColor,0 10px 0 -1px currentColor,-10px 0 0 -1px currentColor;
}
.family-shortcut {
  border-radius:var(--radius-control)!important;
  gap:9px;
  box-shadow:0 7px 18px rgba(30,70,57,.055)!important;
}
.family-shortcut strong {
  font-size:15px;
}
.family-shortcut span {
  font-size:12px;
  line-height:1.65;
}
.family-shortcut .shortcut-mark {
  display:inline-grid;
  place-items:center;
  border:1px solid color-mix(in srgb,currentColor 30%,white);
  opacity:1;
}
.family-shortcut .shortcut-mark::before {
  content:"";
  width:10px;
  height:10px;
  border:1.7px solid currentColor;
  border-radius:3px;
  box-sizing:border-box;
}
.family-shortcut .shortcut-mark::after {
  content:"";
  position:absolute;
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor;
  opacity:.8;
}
.family-shortcut .shortcut-mark[data-mark="scores"] {
  border-radius:50%;
  box-shadow:inset 0 -7px 0 color-mix(in srgb,currentColor 15%,transparent);
}
.family-shortcut .shortcut-mark[data-mark="profile"] {
  border-radius:50%;
}
.family-shortcut .shortcut-mark[data-mark="profile"]::before {
  border-radius:50%;
  box-shadow:0 8px 0 -2px currentColor;
}
.family-shortcut .shortcut-mark[data-mark="profile"]::after {
  top:7px;
}
.family-shortcut .shortcut-mark[data-mark="growth"]::before {
  transform:rotate(45deg);
  border-radius:3px;
}
.family-shortcut .shortcut-mark[data-mark="match"]::before {
  border-radius:50%;
  box-shadow:7px 0 0 -2px currentColor;
}
.family-shortcut .shortcut-mark[data-mark="trial"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 2px currentColor;
}
.family-shortcut .shortcut-mark[data-mark="orders"]::before {
  border-radius:3px;
  box-shadow:inset 0 -4px 0 currentColor;
}
.family-shortcut .shortcut-mark[data-mark="review"]::before {
  border-radius:50%;
  box-shadow:inset 0 0 0 2px currentColor;
}
.family-shortcut .shortcut-mark[data-mark="pool"]::before {
  transform:rotate(45deg);
  border-radius:3px;
}
.add-mark {
  position:relative;
  display:inline-block;
  width:16px;
  height:16px;
  flex:none;
  border:1.5px solid currentColor;
  border-radius:5px;
  box-sizing:border-box;
  vertical-align:-3px;
  opacity:.86;
}
.add-mark::before,.add-mark::after {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:8px;
  height:1.5px;
  border-radius:var(--radius-card);
  background:currentColor;
  transform:translate(-50%,-50%);
}
.add-mark::after {
  transform:translate(-50%,-50%) rotate(90deg);
}
.refund-section-collapsible>summary {
  position:relative;
  padding-right:54px;
}
.refund-section-collapsible>summary:before {
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
}
.refund-section-collapsible>summary:after {
  right:22px;
  top:50%;
  transform:translateY(-50%);
}
.refund-section-collapsible[open]>summary:after {
  transform:translateY(-50%) rotate(90deg);
}
.growth-icon,.featured-course-card .growth-icon {
  position:relative;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,currentColor 18%,white);
}
.growth-icon::before,.featured-course-card .growth-icon::before {
  margin:0;
  opacity:.86;
}
.growth-icon::after,.featured-course-card .growth-icon::after {
  content:"";
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  opacity:.54;
}
.growth-icon[data-icon-key="learning"]::after {
  right:12px;
  bottom:12px;
}
.growth-icon[data-icon-key="explore"]::after {
  right:10px;
  top:10px;
}
.growth-icon[data-icon-key="craft"]::after {
  right:11px;
  bottom:11px;
}
.growth-icon[data-icon-key="art"]::after {
  right:10px;
  top:11px;
}
.growth-icon[data-icon-key="sport"]::after {
  left:11px;
  bottom:11px;
}
.growth-icon[data-icon-key="ai"]::after {
  right:10px;
  bottom:10px;
}
.teacher-directory-card .teacher-directory-title h3 {
  max-width:100%;
}
.teacher-directory-card .teacher-directory-meta {
  align-content:flex-start;
}
.hero-slide-stage,.hero-slide {
  width:100%;
}
.public-hero-copy>.hero-slide-stage p {
  width:100%;
  min-width:0;
}
.growth-card h3,.featured-course-card h3 {
  min-height:2.7em;
}
.growth-card p,.featured-course-card p {
  min-height:4.8em;
}
@media(max-width:680px) {
  .teacher-directory-card .teacher-directory-school {
    min-height:0;
  }
  .teacher-directory-card .teacher-directory-tags,.teacher-directory-card .teacher-directory-meta {
    min-height:0;
  }
  .growth-card h3,.featured-course-card h3 {
    min-height:0;
  }
  .growth-card p,.featured-course-card p {
    min-height:0;
  }
  .hero-slide-stage {
    display:block;
    width:100%;
    max-width:100%;
    position:relative;
    min-height:clamp(240px,62vw,320px);
  }
  .hero-slide-stage .hero-slide {
    position:absolute!important;
    inset:0 auto auto 0;
    width:100%;
    max-width:100%;
    min-width:0;
  }
  .hero-slide-stage,.hero-slide {
    max-width:100%;
    overflow:hidden;
  }
  .hero-slide p {
    display:block;
    width:100%;
    max-width:100%!important;
    min-width:0;
    padding-right:4px;
    box-sizing:border-box;
    white-space:normal;
    word-break:break-all;
  }
}
.screen-overlay {
  overflow:auto;
}
.screen-drawer-head {
  top:0!important;
  padding-top:12px!important;
}
.teacher-directory-overlay .screen-drawer {
  width:min(1180px,100%);
  height:min(900px,92dvh);
  max-height:none;
}
.teacher-directory-home-grid {
  min-height:342px;
  align-content:start;
}
.teacher-directory-home-grid .teacher-directory-card {
  min-height:226px;
  padding:22px;
}
.teacher-directory-card {
  border-radius:var(--radius-sub)!important;
  box-shadow:0 8px 22px rgba(30,70,57,.06)!important;
}
.teacher-directory-card .teacher-directory-title h3 {
  letter-spacing:0;
}
.teacher-directory-card .teacher-directory-tags span {
  line-height:1.35;
}
@media(max-width:900px) {
  .public-hero {
    padding-inline:32px;
    gap:40px;
  }
  .growth-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .teacher-directory-home-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    min-height:286px;
  }
  .screen-overlay.open {
    align-items:stretch;
  }
  .screen-overlay .screen-drawer {
    max-height:calc(100dvh - 32px);
  }
}
@media(max-width:680px) {
  body {
    font-size:14px;
    line-height:1.68;
  }
  .public-nav {
    min-height:68px;
    padding-inline:18px;
  }
  .public-nav-actions button,.mobile-public-menu {
    min-height:42px;
    padding-inline:12px;
  }
  .public-hero {
    padding:42px 20px 56px;
    gap:28px;
  }
  .public-hero h1,.public-hero h2 {
    font-size:clamp(34px,9vw,45px);
    letter-spacing:-.02em;
  }
  .growth-grid,.teacher-directory-home-grid {
    grid-template-columns:1fr!important;
  }
  .growth-card {
    min-height:0;
    padding:22px;
  }
  .growth-icon {
    width:48px;
    height:48px;
    margin-bottom:20px;
  }
  .family-shortcut {
    min-height:96px;
    padding:16px!important;
  }
  .screen-overlay.open {
    padding:0;
    align-items:stretch;
  }
  .screen-overlay .screen-drawer,.teacher-directory-overlay .screen-drawer {
    width:100%;
    height:100dvh;
    max-height:none;
    border-radius:0;
  }
  .screen-drawer-head {
    padding-top:8px!important;
  }
}
:where(h1,h2,h3,h4,.public-brand,.brand strong,.public-links a,.public-kicker,.section-kicker,.eyebrow,.auth-head h2,.auth-tabs button,.auth-role button,.family-badge,.pill,.btn-primary,.family-secondary,.family-shortcut strong,.family-shortcut span) {
  letter-spacing:0!important;
}
.matching-reasons li {
  display:flex;
  align-items:flex-start;
  gap:7px;
  line-height:1.55;
}
.status-mark {
  position:relative;
  width:18px;
  height:18px;
  flex:none;
  margin-right:8px;
  background:#dfeee1;
  color:#2f7040;
}
.status-mark::after {
  content:"";
  position:absolute;
  left:5px;
  top:3px;
  width:5px;
  height:8px;
  border-right:1.8px solid currentColor;
  border-bottom:1.8px solid currentColor;
  transform:rotate(42deg);
}
.action-success {
  display:flex;
  align-items:flex-start;
  gap:0;
}
.teacher-directory-verified {
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.close-mark {
  width:18px;
  height:18px;
  flex:none;
}
.close-mark::before,.close-mark::after {
  width:1.8px;
  height:17px;
}
.drawer-close,.score-remove {
  display:inline-grid;
  place-items:center;
  font-size:0;
  line-height:0;
}
.drawer-close {
  box-shadow:0 4px 12px rgba(30,70,57,.04);
}
.score-remove {
  color:#8f514e;
  padding:0;
}
.score-remove .close-mark {
  transform:scale(.78);
}
#profileForm .auth-submit.checked {
  display:inline-flex;
  align-items:center;
  gap:0;
}
.growth-icon:has(> img)::before,.growth-icon:has(> img)::after,
.featured-course-card .growth-icon:has(> img)::before,
.featured-course-card .growth-icon:has(> img)::after {
  display:none;
}
.growth-icon>img,.featured-course-card .growth-icon>img {
  flex:none;
}
.growth-icon>img {
  padding:2px;
}
.featured-course-card .growth-icon>img {
  padding:1px;
}
.growth-icon[data-image-slot],.featured-course-card .growth-icon[data-image-slot] {
  isolation:isolate;
  overflow:hidden;
}
.growth-card,.featured-course-card,.teacher-directory-card,.family-shortcut {
  box-sizing:border-box;
}
.growth-card .course-status,.featured-course-card .course-status {
  max-width:6.5em;
  line-height:1.35;
  text-align:right;
}
.growth-card .link,.featured-course-card .course-preview-link {
  white-space:normal;
  overflow-wrap:anywhere;
}
.public-hero-copy>.hero-slide-stage p {
  white-space:normal;
  word-break:normal;
  overflow-wrap:anywhere;
}
.hero-slide h2 {
  white-space:normal!important;
  overflow-wrap:anywhere;
}
.screen-overlay.open {
  isolation:isolate;
}
.screen-overlay .screen-drawer {
  box-shadow:0 24px 70px rgba(35,76,59,.16);
  border:1px solid rgba(35,76,59,.12);
}
.screen-drawer-head>div {
  min-width:0;
}
.teacher-directory-card:focus-within,.growth-card:focus-within,.family-shortcut:focus-within {
  outline:3px solid rgba(35,76,59,.18);
  outline-offset:3px;
}
.teacher-directory-card button,.growth-card button,.family-shortcut {
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease;
}
.teacher-directory-card button:active,.growth-card button:active,.family-shortcut:active {
  transform:translateY(1px);
}
.menu-mark {
  position:relative;
  display:inline-block;
  width:16px;
  height:12px;
  margin-left:5px;
  vertical-align:-1px;
  border-top:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
}
.menu-mark::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:4px;
  border-top:1.5px solid currentColor;
}
@media(max-width:680px) {
  .growth-icon>img {
    padding:1px;
  }
  .featured-course-card .growth-icon>img {
    padding:0;
  }
  .screen-drawer-head {
    min-height:64px;
    gap:10px;
  }
  .screen-drawer-head h2 {
    font-size:20px;
    line-height:1.35;
  }
  .screen-drawer-head p {
    font-size:12px;
    line-height:1.55;
  }
  .hero-slide-stage {
    max-width:100%;
    overflow:hidden;
  }
  .hero-slide-stage .hero-slide {
    max-width:100%;
    overflow:hidden;
  }
}
@media(max-width:420px) {
  .growth-icon {
    width:48px;
    height:48px;
  }
  .featured-course-card .growth-icon {
    width:36px;
    height:36px;
  }
  .teacher-directory-card,.growth-card {
    border-radius:var(--radius-sub)!important;
  }
  .screen-overlay .screen-drawer {
    border:0;
    box-shadow:none;
  }
}
@media(max-width:420px) {
  .public-nav {
    padding-inline:14px;
  }
  .public-nav-actions {
    gap:7px;
  }
  .public-nav-actions button,.mobile-public-menu {
    padding-inline:10px;
    font-size:13px;
  }
  .public-hero {
    padding-inline:16px;
  }
  .public-hero h1,.public-hero h2 {
    font-size:clamp(31px,10vw,40px);
    line-height:1.32;
  }
  .public-hero-copy>.hero-slide-stage p {
    font-size:14px;
    line-height:1.75;
  }
  .public-cta {
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
  }
  .public-cta button {
    width:100%;
  }
  .hero-slide-nav {
    gap:2px;
  }
  .hero-slide-nav button {
    font-size:10px;
    padding-right:3px;
  }
  .hero-slide-nav button b {
    font-size:10px;
  }
  .auth-page {
    padding-inline:12px;
  }
  .auth-card {
    padding:22px 18px;
    border-radius:var(--radius-sub);
  }
  .auth-brandbar {
    padding-inline:4px;
  }
  .screen-drawer {
    padding-inline:18px;
  }
}
.public-brand {
  letter-spacing:0!important;
}
.public-links {
  gap:26px;
}
.public-hero h1,.public-hero h2,.hero-slide h1,.hero-slide h2 {
  font-size:52px;
  letter-spacing:0!important;
}
.public-section h2 {
  font-size:40px;
  letter-spacing:0;
}
.account-overview h1 {
  letter-spacing:0;
}
@media(max-width:980px) {
  .public-hero h1,.public-hero h2,.hero-slide h1,.hero-slide h2 {
    font-size:36px;
  }
  .public-section h2 {
    font-size:34px;
  }
  .public-brand {
    font-size:26px;
  }
}
@media(max-width:680px) {
  .public-brand {
    font-size:22px;
  }
  .public-hero h1,.public-hero h2,.hero-slide h1,.hero-slide h2 {
    font-size:36px;
    line-height:1.4;
  }
  .public-section h2 {
    font-size:30px;
  }
}
@media(max-width:430px) {
  .public-hero h1,.public-hero h2,.hero-slide h1,.hero-slide h2 {
    font-size:32px;
    line-height:1.4;
  }
  .public-section h2 {
    font-size:28px;
  }
}
h1,h2,h3,h4,p,button,label,small,span {
  letter-spacing:0;
}
.content,.public-section>*,.public-hero,.auth-layout,.workspace-shell {
  min-width:0;
}
.public-hero {
  max-width:1420px;
  padding-inline:clamp(20px,5vw,72px);
}
.public-section>.public-section-inner,.public-section>.public-section-heading {
  min-width:0;
}
.card,.family-card,.growth-card,.featured-course-card,.teacher-directory-card,
.family-shortcut,.teacher-directory-toolbar,.screen-drawer,.auth-card {
  border:1px solid var(--ui-edge);
  box-shadow:0 8px 24px rgba(30,70,57,.055);
}
.card,.family-card,.growth-card,.featured-course-card,.teacher-directory-card,
.family-shortcut,.teacher-directory-toolbar,.auth-card {
  border-radius:var(--radius-sub);
}
.card-head,.family-panel-head,.teacher-directory-title,.screen-drawer-head {
  min-width:0;
}
.form-field,.family-form>label,.teacher-directory-toolbar label {
  min-width:0;
}
.form-field>label,.family-form>label>span,.teacher-directory-toolbar label>span {
  display:block;
  margin-bottom:7px;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
  color:#526a5c
;
}
.form-field small,.family-form small,.teacher-directory-filter-help {
  display:block;
  line-height:1.65;
}
.form-field input,.form-field select,.form-field textarea,
.family-panel input,.family-panel select,.family-panel textarea,
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  min-height:var(--ui-control);
  border:1px solid var(--ui-edge);
  background:var(--white);
  padding-inline:13px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)
;
}
.form-field input:hover,.form-field select:hover,.form-field textarea:hover,
.family-panel input:hover,.family-panel select:hover,.family-panel textarea:hover,
.teacher-directory-toolbar input:hover,.teacher-directory-toolbar select:hover {
  border-color:var(--ui-edge-strong);
}
.teacher-directory-home-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px;
}
.teacher-directory-home-grid .teacher-directory-card,
.teacher-directory-grid .teacher-directory-card {
  min-height:0;
  padding:24px;
}
.teacher-directory-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  background:rgba(255,255,255,.82);
}
.teacher-directory-card .teacher-directory-main {
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
}
.teacher-directory-card .teacher-directory-title h3 {
  margin:0;
  min-width:0;
}
.teacher-directory-card .teacher-directory-tags {
  min-height:34px;
  align-content:flex-start;
}
.teacher-directory-card .teacher-directory-meta {
  min-height:22px;
  line-height:1.5;
}
.teacher-directory-card:hover,.teacher-directory-card:focus-visible {
  border-color:var(--ui-edge-strong)!important;
  box-shadow:0 14px 30px rgba(30,70,57,.10)!important;
}
.growth-icon,.featured-course-card .growth-icon {
  flex:none;
  overflow:hidden;
}
.growth-icon>img,.featured-course-card .growth-icon>img {
  transform:scale(.96);
  transition:transform .18s ease;
}
.growth-card:hover .growth-icon>img,.featured-course-card:hover .growth-icon>img {
  transform:scale(1);
}
.family-shortcut .shortcut-mark {
  width:34px;
  height:34px;
  border-radius:var(--radius-control);
  background:#edf3e9;
  border-color:rgba(30,70,57,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 4px 10px rgba(30,70,57,.05);
}
.family-shortcut strong {
  gap:10px;
  line-height:1.4;
}
.screen-overlay .screen-drawer {
  width:min(1120px,100%);
  max-height:min(900px,92dvh);
  border-radius:var(--radius-card);
  padding:clamp(22px,3vw,34px);
}
.screen-drawer-head {
  margin-bottom:22px;
  padding:0 0 16px!important;
  border-bottom:1px solid var(--ui-edge);
}
.screen-drawer-head p {
  max-width:70ch;
  line-height:1.65;
}
.hero-slide-stage .hero-slide {
  max-width:620px;
}
.hero-slide h1,.hero-slide h2,.public-hero h1,.public-hero h2 {
  font-size:clamp(32px,3.45vw,52px);
  line-height:1.32;
  letter-spacing:0!important;
}
.hero-slide p {
  line-height:1.85;
}
.hero-slide-nav button {
  line-height:1.45;
}
@media(max-width:900px) {
  .teacher-directory-home-grid,.teacher-directory-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .public-hero {
    padding-top:54px;
    padding-bottom:62px;
  }
}
@media(max-width:680px) {
  .content {
    padding-inline:16px;
  }
  .public-section {
    padding-inline:16px;
  }
  .public-hero {
    padding-inline:16px;
  }
  .teacher-directory-home-grid,.teacher-directory-grid {
    grid-template-columns:1fr!important;
    gap:14px;
  }
  .teacher-directory-home-grid .teacher-directory-card,.teacher-directory-grid .teacher-directory-card {
    min-height:0;
    padding:20px;
  }
  .screen-overlay.open {
    padding:0;
  }
  .screen-overlay .screen-drawer {
    width:100%;
    height:100dvh;
    max-height:none;
    border-radius:0;
    padding:20px 16px;
  }
  .screen-drawer-head {
    padding-top:4px!important;
  }
  .hero-slide-stage {
    min-height:clamp(248px,68vw,320px);
  }
  .hero-slide-stage .hero-slide {
    max-width:100%;
  }
  .hero-slide p {
    font-size:14px;
    line-height:1.78;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
}
@media(max-width:430px) {
  body {
    font-size:14px;
  }
  .public-brand {
    font-size:22px!important;
  }
  .public-hero h1,.public-hero h2,.hero-slide h1,.hero-slide h2 {
    font-size:32px;
    line-height:1.38;
  }
  .growth-card,.featured-course-card {
    padding:18px!important;
  }
  .growth-icon {
    width:48px;
    height:48px;
  }
}
.hero-slide p {
  display:block;
  white-space:normal;
}
.public-cta button,.desk-caption button,.public-links a,.link,.family-secondary,.family-shortcut,.subject-chip,.course-option-toggle,.featured-course-card,.teacher-directory-card {
  transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.public-cta button:active,.desk-caption button:active,.link:active,.family-secondary:active,.family-shortcut:active,.subject-chip:active,.course-option-toggle:active,.featured-course-card:active,.teacher-directory-card:active {
  transform:translateY(1px);
}
.public-cta button span[aria-hidden="true"] {
  display:inline-grid;
  place-items:center;
  width:1.15em;
  height:1.15em;
  margin-left:.35em;
  font-size:0;
  vertical-align:-.1em;
}
.public-cta button span[aria-hidden="true"]::after {
  content:"";
  display:block;
  width:.62em;
  height:.62em;
  border-top:1.6px solid currentColor;
  border-right:1.6px solid currentColor;
  transform:rotate(45deg);
}
.public-cta button.secondary span[aria-hidden="true"]::after {
  transform:rotate(135deg);
}
.hero-slide-nav button {
  min-height:44px;
  padding-inline:10px;
  border-radius:var(--radius-control);
}
.hero-slide-nav button:hover,.hero-slide-nav button:focus-visible {
  background:rgba(30,70,57,.06);
}
.hero-slide-nav button.is-active {
  background:rgba(30,70,57,.08);
}
.hero-proof {
  gap:10px!important;
  flex-wrap:wrap;
}
.hero-proof span {
  min-height:32px;
  padding:7px 10px;
  border:1px solid rgba(30,70,57,.12);
  border-radius:var(--radius-card);
  background:rgba(255,255,255,.58);
}
.growth-card,.featured-course-card {
  position:relative;
}
.growth-card:focus-within,.featured-course-card:focus-visible {
  outline:3px solid rgba(35,76,59,.22);
  outline-offset:3px;
}
.growth-card .link,.featured-course-card .course-preview-link {
  min-height:40px;
  display:inline-flex;
  align-items:center;
}
.growth-card .link:focus-visible,.featured-course-card .course-preview-link:focus-visible {
  outline:3px solid rgba(35,76,59,.22);
  outline-offset:3px;
  border-radius:var(--radius-control);
}
.growth-icon {
  display:grid;
  place-items:center;
  border:1px solid rgba(30,70,57,.08);
  background:var(--course-tint,#edf3e9);
}
.growth-icon>img {
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  aspect-ratio:1;
  object-fit:contain;
}
.family-shortcut {
  min-height:94px;
}
.family-shortcut .shortcut-mark {
  position:relative;
  flex:none;
}
.family-shortcut:hover,.family-shortcut:focus-visible {
  transform:translateY(-2px);
  border-color:var(--ui-edge-strong);
  box-shadow:0 12px 24px rgba(30,70,57,.10);
}
.form-field input:focus-visible,.form-field select:focus-visible,.form-field textarea:focus-visible,.family-panel input:focus-visible,.family-panel select:focus-visible,.family-panel textarea:focus-visible,.teacher-directory-toolbar input:focus-visible,.teacher-directory-toolbar select:focus-visible {
  outline:3px solid rgba(35,76,59,.22);
  outline-offset:2px;
  border-color:var(--green);
}
.screen-drawer {
  overscroll-behavior:contain;
}
@media(max-width:680px) {
  .hero-slide-stage {
    min-height:clamp(270px,76vw,340px);
    overflow:hidden;
  }
  .hero-slide-stage .hero-slide {
    max-width:100%;
    padding-right:2px;
  }
  .hero-slide p {
    min-height:0;
    margin-bottom:0;
  }
  .hero-slide-nav {
    gap:4px;
    overflow-x:auto;
    scrollbar-width:none;
    padding-bottom:2px;
  }
  .hero-slide-nav::-webkit-scrollbar {
    display:none;
  }
  .hero-slide-nav button {
    flex:0 0 auto;
  }
  .hero-proof span {
    font-size:12px;
  }
  .family-shortcut {
    min-height:88px;
  }
}
.brand small {
  display:none!important;
}
.brand strong,.public-brand {
  font-weight:760;
  letter-spacing:.02em!important;
  line-height:1.1;
}
.brand strong {
  font-size:26px;
}
.public-brand {
  line-height:1;
}
.public-links a,.public-nav-actions button,.public-cta button,.desk-caption button,.auth-submit,
.family-actions button,.family-secondary,.family-primary,.drawer-close,.home-link,.profile-edit {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.public-nav-actions button,.public-cta button,.desk-caption button,.auth-submit,.family-actions button,
.family-secondary,.family-primary {
  border-radius:var(--radius-control);
  border:1px solid transparent;
}
.public-nav-actions button:focus-visible,.public-cta button:focus-visible,.desk-caption button:focus-visible,
.auth-submit:focus-visible,.family-actions button:focus-visible,.family-secondary:focus-visible,
.family-primary:focus-visible,.drawer-close:focus-visible {
  outline:3px solid rgba(35,76,59,.28);
  outline-offset:3px;
}
.inline-arrow {
  width:14px;
  height:14px;
  margin-left:7px;
}
.inline-arrow::before {
  left:1px;
  top:6px;
  width:9px;
  height:1.6px;
}
.inline-arrow::after {
  right:1px;
  top:3px;
  width:6px;
  height:6px;
}
.inline-arrow.is-down {
  transform:rotate(45deg);
  margin-left:8px;
}
.public-links a,.public-nav-actions button {
  white-space:nowrap;
}
.hero-slide-nav button {
  text-align:left;
}
.hero-proof span {
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.screen-overlay.open {
  scrollbar-gutter:stable both-edges;
}
.screen-overlay .screen-drawer {
  contain:layout paint;
  overflow:auto;
}
.screen-drawer-head {
  padding-block:12px!important;
}
.screen-drawer-head h2 {
  font-size:clamp(20px,2.2vw,28px);
  line-height:1.3;
}
.screen-drawer-head p {
  margin-top:5px;
  color:var(--muted);
}
.drawer-close {
  width:44px;
  height:44px;
  flex:0 0 44px;
}
.drawer-close:hover {
  background:#e8f0e8;
}
.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut {
  isolation:isolate;
}
.teacher-directory-card .teacher-directory-avatar {
  flex:0 0 56px;
  width:56px;
  height:56px;
  border-radius:var(--radius-sub);
}
.teacher-directory-card .teacher-directory-title {
  gap:7px;
}
.teacher-directory-card .teacher-directory-title h3 {
  font-weight:720;
}
.teacher-directory-card .teacher-directory-verified {
  padding-top:3px;
}
.growth-card:hover,.featured-course-card:hover {
  transform:translateY(-2px);
}
.subject-chip,.course-option-toggle,.profile-choice,.week-picker button {
  min-height:44px;
}
.form-field input,.form-field select,.family-panel input,.family-panel select,.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  line-height:1.4;
}
@media(max-width:680px) {
  .brand strong {
    font-size:22px;
  }
  .public-nav {
    gap:12px;
  }
  .public-nav-actions {
    flex-wrap:wrap;
    justify-content:flex-end;
  }
  .public-nav-actions button {
    min-height:40px;
  }
  .public-hero-copy>.hero-slide-stage p {
    max-width:none;
    line-height:1.72;
    word-break:break-all;
  }
  .hero-proof {
    align-items:stretch;
  }
  .hero-proof span {
    flex:1 1 145px;
  }
  .screen-drawer-head {
    gap:8px;
  }
  .screen-drawer-head h2 {
    font-size:21px;
  }
  .teacher-directory-card .teacher-directory-avatar {
    flex-basis:48px;
    width:48px;
    height:48px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .teacher-directory-card:hover,.growth-card:hover,.featured-course-card:hover,.family-shortcut:hover {
    transform:none;
  }
}
button,input,select,textarea {
  letter-spacing:0!important;
}
.public-page,.auth-page,.app {
  letter-spacing:0!important;
}
.content {
  max-width:1240px;
}
.public-section {
  max-width:none;
  width:100%;
  margin-inline:0;
  padding-inline:max(clamp(20px,4vw,64px),calc((100% - 1240px)/2));
}
.content {
  padding-inline:clamp(20px,4vw,48px);
}
.card,.family-card,.account-panel,.ops-summary-grid article,.ops-queue-card,.ops-service-note,.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut {
  border-color:var(--ui-edge);
  box-shadow:0 10px 28px rgba(30,70,57,.055);
}
.card:hover,.account-panel:hover,.ops-summary-grid article:hover,.ops-queue-card:hover,.ops-service-note:hover,.teacher-directory-card:hover,.growth-card:hover,.featured-course-card:hover,.family-shortcut:hover {
  border-color:var(--ui-edge-strong);
}
.form-field input,.form-field select,.form-field textarea,.family-panel input,.family-panel select,.family-panel textarea,.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  border:1px solid var(--ui-edge);
  border-radius:var(--radius-control);
  background:#fff;
  min-height:46px;
  padding-inline:14px;
}
.form-field input:hover,.form-field select:hover,.form-field textarea:hover,.family-panel input:hover,.family-panel select:hover,.family-panel textarea:hover {
  border-color:var(--ui-edge-strong);
}
.public-hero-copy,.public-art,.auth-card,.auth-intro {
  min-width:0;
}
.public-hero-copy>.hero-slide-stage p {
  max-width:38rem;
}
.growth-icon,.featured-course-card .growth-icon,.ops-queue-icon,.nav .icon {
  position:relative;
  isolation:isolate;
}
.growth-icon,.featured-course-card .growth-icon {
  border:1px solid color-mix(in srgb,var(--course-color,var(--green)) 18%,transparent);
}
.ops-queue-icon {
  flex:0 0 40px;
}
.teacher-directory-card {
  min-height:300px;
}
.teacher-directory-card .teacher-directory-title h3 {
  overflow-wrap:anywhere;
}
.teacher-directory-card .teacher-directory-school {
  min-height:3.6em;
}
.teacher-directory-card .teacher-directory-meta {
  margin-top:auto;
}
.screen-overlay {
  padding:clamp(12px,3vw,40px);
}
.screen-drawer {
  width:min(100%,1080px);
  max-height:min(90vh,900px);
}
.screen-drawer-head {
  position:sticky;
  top:0;
  z-index:2;
  background:var(--paper);
  backdrop-filter:blur(12px);
}
.auth-card {
  box-shadow:0 18px 50px rgba(30,70,57,.10);
}
.auth-tabs button,.auth-role button,.subject-chip,.course-option-toggle,.week-picker button {
  border:1px solid var(--ui-edge);
}
.auth-tabs button:hover,.auth-role button:hover,.subject-chip:hover,.course-option-toggle:hover,.week-picker button:hover {
  border-color:var(--ui-edge-strong);
}
.auth-submit,.public-cta .primary,.public-nav-actions .solid,.btn-primary {
  box-shadow:0 7px 16px rgba(30,70,57,.12);
}
@media(max-width:680px) {
  .public-hero {
    padding-inline:20px;
  }
  .public-section {
    padding-inline:20px;
  }
  .content {
    padding-inline:18px;
  }
  .teacher-directory-card {
    min-height:0;
  }
  .teacher-directory-card .teacher-directory-school {
    min-height:0;
  }
  .screen-overlay {
    padding:10px;
  }
  .screen-drawer {
    max-height:calc(100vh - 20px);
    border-radius:var(--radius-sub);
  }
  .form-field input,.form-field select,.form-field textarea {
    min-height:48px;
  }
}
:where(h1,h2,h3,h4,h5,h6,p,button,a,label,small,span,input,select,textarea) {
  letter-spacing:0!important;
}
:where(.public-page,.auth-page,.app) h1,
:where(.public-page,.auth-page,.app) h2,
:where(.public-page,.auth-page,.app) h3 {
  overflow-wrap:anywhere;
}
.public-page,.auth-page,.app {
  scrollbar-gutter:stable;
}
.public-hero {
  min-height:clamp(600px,calc(100dvh - 78px),760px);
}
.hero-slide-stage {
  align-content:start;
  grid-template-rows:auto 1fr;
}
.hero-slide-stage .hero-slide {
  min-width:0;
  min-height:100%;
}
.hero-slide-nav {
  min-height:48px;
  align-items:stretch;
}
.hero-slide-nav button {
  flex:0 1 auto;
}
.hero-proof {
  min-height:44px;
}
.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut,
.card,.family-card,.account-panel,.ops-summary-grid article,.ops-queue-card,.ops-service-note {
  border-radius:var(--radius-card);
  box-shadow:var(--ui-shadow-card);
}
.teacher-directory-card:hover,.teacher-directory-card:focus-visible,
.growth-card:hover,.growth-card:focus-visible,
.featured-course-card:hover,.featured-course-card:focus-visible,
.family-shortcut:hover,.family-shortcut:focus-visible {
  box-shadow:var(--ui-shadow-card-hover)!important;
}
.teacher-directory-card {
  padding:26px;
  gap:14px;
}
.teacher-directory-avatar {
  flex:0 0 56px;
  width:56px;
  height:56px;
  box-shadow:inset 0 0 0 5px rgba(255,255,255,.62);
}
.teacher-directory-title {
  gap:10px;
  align-items:flex-start;
}
.teacher-directory-title h3 {
  font-size:21px;
  line-height:1.35;
}
.teacher-directory-school {
  margin-top:5px;
}
.teacher-directory-tags {
  gap:7px;
}
.teacher-directory-tags span {
  min-height:28px;
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:var(--radius-tag);
}
.teacher-directory-meta {
  gap:8px;
  flex-wrap:wrap;
}
.teacher-directory-meta span {
  min-width:0;
}
.growth-icon,.featured-course-card .growth-icon {
  width:56px;
  height:56px;
  border-radius:var(--radius-sub);
  background:var(--course-tint,#eef4ef);
}
.featured-course-card .growth-icon {
  width:46px;
  height:46px;
  border-radius:var(--radius-sub);
}
.screen-overlay .screen-drawer {
  scrollbar-gutter:stable both-edges;
}
.screen-drawer-head>div {
  padding-right:4px;
}
.directory-loading {
  position:relative;
  overflow:hidden;
  min-height:300px!important;
}
.directory-loading::after {
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  animation:directory-shimmer 1.6s ease-in-out infinite;
}
@keyframes directory-shimmer {
  to {
    transform:translateX(100%);
  }
}
@media(max-width:900px) {
  .public-hero {
    min-height:0;
  }
  .hero-slide-stage {
    min-height:320px;
  }
  .teacher-directory-card {
    padding:22px;
  }
}
@media(max-width:680px) {
  .public-hero {
    min-height:0;
    padding-top:42px;
    padding-bottom:56px;
  }
  .hero-slide-stage {
    min-height:clamp(310px,86vw,360px);
  }
  .hero-slide h1,.hero-slide h2 {
    max-width:100%;
    font-size:clamp(31px,9.8vw,43px);
    line-height:1.28;
  }
  .hero-slide p {
    min-height:0;
    line-height:1.75;
  }
  .hero-slide-nav {
    min-height:0;
    overflow-x:auto;
    scrollbar-width:none;
    padding-bottom:3px;
  }
  .hero-slide-nav::-webkit-scrollbar {
    display:none;
  }
  .teacher-directory-card {
    padding:20px;
    border-radius:var(--radius-sub);
  }
  .teacher-directory-avatar {
    flex-basis:50px;
    width:50px;
    height:50px;
  }
  .teacher-directory-title h3 {
    font-size:19px;
  }
  .growth-icon {
    width:52px;
    height:52px;
  }
  .featured-course-card .growth-icon {
    width:42px;
    height:42px;
  }
  .screen-drawer-head {
    min-height:68px;
  }
  .directory-loading {
    min-height:260px!important;
  }
}
@media(max-width:380px) {
  .public-hero {
    padding-inline:16px;
  }
  .public-section {
    padding-inline:16px;
  }
  .content {
    padding-inline:14px;
  }
  .hero-slide-stage {
    min-height:330px;
  }
  .hero-slide-nav button {
    padding-inline:8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .directory-loading::after {
    animation:none;
  }
}
.directory-loading {
  display:grid;
  align-content:center;
  justify-items:center;
  gap:0;
  padding:42px 24px;
  border:1px solid var(--ui-edge);
  border-radius:var(--radius-card);
  background:rgba(255,255,255,.82);
}
.directory-skeleton-line {
  width:min(72%,340px);
  height:14px;
  margin-top:10px;
  border-radius:var(--radius-card);
  background:#dfe9df;
}
.directory-skeleton-line-lg {
  width:min(44%,210px);
  height:22px;
  margin-top:0;
  background:#c9ddcc;
}
.directory-skeleton-line-sm {
  width:min(56%,270px);
  height:11px;
  background:#e8eee8;
}
.directory-skeleton-status {
  display:block;
  margin-top:18px;
  color:#6d8173;
  font-size:12px;
  line-height:1.5;
}
.hero-slide-stage,.hero-slide {
  min-width:0;
  max-width:100%;
  overflow:hidden;
}
.hero-slide h1,.hero-slide h2,.hero-slide p {
  max-width:100%;
}
.teacher-directory-toolbar label {
  min-width:0;
}
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  min-width:0;
  max-width:100%;
}
.teacher-directory-filter-help,.teacher-directory-count {
  overflow-wrap:anywhere;
}
.drawer-close {
  position:relative;
  z-index:1;
}
.ops-queue-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:24px;
}
.ops-queue-link>span[aria-hidden="true"] {
  font-size:0;
  width:14px;
  height:14px;
  position:relative;
  display:inline-block;
}
.ops-queue-link>span[aria-hidden="true"]::before {
  content:"";
  position:absolute;
  left:1px;
  top:6px;
  width:9px;
  height:1.6px;
  border-radius:var(--radius-card);
  background:currentColor;
}
.ops-queue-link>span[aria-hidden="true"]::after {
  content:"";
  position:absolute;
  right:1px;
  top:3px;
  width:6px;
  height:6px;
  border-top:1.6px solid currentColor;
  border-right:1.6px solid currentColor;
  transform:rotate(45deg);
}
@media(max-width:680px) {
  .hero-slide-stage {
    min-height:clamp(300px,86vw,360px);
  }
  .hero-slide p {
    line-height:1.75;
    word-break:break-all;
  }
  .directory-loading {
    min-height:260px!important;
    padding-inline:18px;
  }
  .directory-skeleton-line {
    width:82%;
  }
  .directory-skeleton-line-lg {
    width:58%;
  }
  .directory-skeleton-line-sm {
    width:68%;
  }
}
body {
  font-family:var(--font-sans);
  font-size:15px;
  line-height:1.72;
  letter-spacing:0;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4 {
  font-family:var(--font-display);
  letter-spacing:0;
  line-height:1.34;
}
button,input,select,textarea {
  letter-spacing:0;
  line-height:1.45;
}
.public-hero-copy,.public-art,.auth-card,.auth-intro,.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut,.screen-drawer {
  min-width:0;
}
.public-section,.public-hero,.auth-layout,.workspace-shell {
  overflow-anchor:none;
}
.hero-slide-stage {
  min-height:270px;
  display:grid;
  align-items:start;
}
.hero-slide h1,.hero-slide h2 {
  white-space:normal!important;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.hero-slide p {
  max-width:38rem;
  min-height:0;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.hero-slide-nav {
  min-width:0;
  max-width:100%;
}
.hero-slide-nav button {
  min-width:0;
  max-width:100%;
}
.hero-slide-nav button span {
  overflow-wrap:anywhere;
}
.hero-proof {
  max-width:100%;
  align-items:center;
}
.hero-proof span {
  min-width:0;
  line-height:1.45;
}
.card,.family-card,.account-panel,.ops-summary-grid article,.ops-queue-card,.ops-service-note,
.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut {
  border:1px solid var(--edge-soft);
  box-shadow:0 10px 28px rgba(30,70,57,.055);
}
.card:hover,.account-panel:hover,.ops-summary-grid article:hover,.ops-queue-card:hover,
.ops-service-note:hover,.teacher-directory-card:hover,.growth-card:hover,.featured-course-card:hover,.family-shortcut:hover {
  border-color:var(--edge-hover);
}
.form-field input,.form-field select,.form-field textarea,.family-panel input,.family-panel select,.family-panel textarea,
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  border:1px solid var(--edge-soft);
  border-radius:var(--radius-control);
  min-height:46px;
  padding-inline:14px;
}
.form-field textarea,.family-panel textarea {
  min-height:112px;
  padding-block:12px;
}
.form-field input:hover,.form-field select:hover,.form-field textarea:hover,.family-panel input:hover,.family-panel select:hover,
.family-panel textarea:hover,.teacher-directory-toolbar input:hover,.teacher-directory-toolbar select:hover {
  border-color:var(--edge-hover);
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.family-panel input:focus,.family-panel select:focus,
.family-panel textarea:focus,.teacher-directory-toolbar input:focus,.teacher-directory-toolbar select:focus {
  outline:0;
}
.nav .icon,.ops-queue-icon,.growth-icon,.featured-course-card .growth-icon {
  isolation:isolate;
  position:relative;
}
.nav .icon {
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:var(--radius-control);
  background:rgba(255,255,255,.08);
}
.nav .icon::before {
  inset:5px;
  border:1.5px solid currentColor;
  border-radius:5px;
  opacity:.9;
}
.nav button.active .icon {
  background:var(--coral);
  color:#fff;
}
.ops-queue-icon {
  width:40px;
  height:40px;
  border-radius:var(--radius-control);
  background:#edf2e9;
  color:var(--ink);
}
.ops-queue-icon::before,.ops-queue-icon::after {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:3px;
  border:1.5px solid currentColor;
}
.ops-queue-icon::before {
  width:16px;
  height:12px;
}
.ops-queue-icon::after {
  width:8px;
  height:1.5px;
  background:currentColor;
  border:0;
  box-shadow:0 5px 0 currentColor;
}
.growth-icon,.featured-course-card .growth-icon {
  border:1px solid color-mix(in srgb,var(--course-color,var(--green)) 18%,transparent);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 8px 18px rgba(30,70,57,.07);
}
.growth-icon>img,.featured-course-card .growth-icon>img {
  display:block;
  width:100%;
  height:100%;
}
.drawer-close {
  font-size:0;
  display:inline-grid;
  place-items:center;
}
.drawer-close .close-mark {
  margin:auto;
}
.screen-drawer-head {
  min-height:76px;
}
.screen-drawer-head h2,.screen-drawer-head p {
  min-width:0;
}
@media(max-width:900px) {
  .hero-slide-stage {
    min-height:250px;
  }
  .teacher-directory-card {
    min-height:280px;
  }
}
@media(max-width:680px) {
  body {
    font-size:14px;
    line-height:1.68;
  }
  .hero-slide-stage {
    min-height:clamp(300px,86vw,360px);
  }
  .hero-slide h1,.hero-slide h2 {
    font-size:clamp(31px,9.8vw,43px);
    line-height:1.28;
  }
  .hero-slide p {
    max-width:100%;
    line-height:1.75;
    word-break:break-all;
  }
  .hero-slide-nav {
    overflow-x:auto;
    scrollbar-width:none;
    padding-bottom:3px;
  }
  .hero-slide-nav::-webkit-scrollbar {
    display:none;
  }
  .teacher-directory-card {
    min-height:0;
    padding:20px;
    border-radius:var(--radius-sub);
  }
  .teacher-directory-card .teacher-directory-avatar {
    width:50px;
    height:50px;
    flex-basis:50px;
  }
  .teacher-directory-card .teacher-directory-title h3 {
    font-size:19px;
  }
  .screen-drawer-head {
    min-height:68px;
  }
}
html {
  scroll-behavior:smooth;
}
body {
  font-synthesis:none;
}
.public-page h1,.public-page h2,.public-page h3,
.auth-page h1,.auth-page h2,.auth-page h3,
.app h1,.app h2,.app h3 {
  max-inline-size:100%;
  text-wrap:balance;
}
.public-page p,.auth-page p,.app p {
  max-inline-size:72ch;
}
.hero-slide-stage,.hero-slide {
  inline-size:100%;
  max-inline-size:100%;
  min-inline-size:0;
}
.hero-slide h1,.hero-slide h2,.hero-slide p {
  white-space:normal!important;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.hero-slide p {
  inline-size:min(100%,38rem);
  min-block-size:0;
}
.hero-slide-nav {
  inline-size:100%;
  max-inline-size:100%;
  min-inline-size:0;
}
.hero-slide-nav button {
  min-block-size:44px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.card,.family-card,.account-panel,.ops-summary-grid article,.ops-queue-card,
.ops-service-note,.teacher-directory-card,.growth-card,.featured-course-card,
.family-shortcut,.auth-card,.teacher-directory-toolbar {
  border:1px solid var(--polish-edge);
  box-shadow:0 10px 28px rgba(36,72,58,.065);
}
.card:hover,.family-card:hover,.account-panel:hover,.ops-summary-grid article:hover,
.ops-queue-card:hover,.ops-service-note:hover,.teacher-directory-card:hover,
.growth-card:hover,.featured-course-card:hover,.family-shortcut:hover {
  border-color:var(--polish-edge-strong);
}
.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut {
  min-inline-size:0;
}
.teacher-directory-card .teacher-directory-main,
.teacher-directory-card .teacher-directory-title,
.teacher-directory-card .teacher-directory-meta {
  min-inline-size:0;
}
.teacher-directory-card .teacher-directory-title h3,
.teacher-directory-card .teacher-directory-school,
.teacher-directory-card .teacher-directory-meta span {
  overflow-wrap:anywhere;
}
.public-nav-actions button,.public-cta button,.auth-submit,.btn-primary,
.family-primary,.family-secondary,.family-actions button,.drawer-close,
.subject-chip,.course-option-toggle,.profile-choice,.week-picker button,
.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut,
.ops-queue-card {
  min-block-size:44px;
}
.form-field input,.form-field select,.form-field textarea,
.family-panel input,.family-panel select,.family-panel textarea,
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  border-color:var(--polish-edge);
  border-radius:var(--radius-control);
  min-block-size:46px;
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus,
.family-panel input:focus,.family-panel select:focus,.family-panel textarea:focus,
.teacher-directory-toolbar input:focus,.teacher-directory-toolbar select:focus {
  border-color:var(--ink);
  box-shadow:0 0 0 3px var(--polish-focus);
  outline:0;
}
.ops-queue-link>span[aria-hidden="true"],
.family-actions>button>span[aria-hidden="true"],
.btn-primary>span[aria-hidden="true"],
.family-secondary>span[aria-hidden="true"] {
  display:inline-block;
  width:14px;
  height:14px;
  margin-inline-start:7px;
  font-size:0;
  line-height:0;
  position:relative;
  vertical-align:-2px;
}
.ops-queue-link>span[aria-hidden="true"]::before,
.family-actions>button>span[aria-hidden="true"]::before,
.btn-primary>span[aria-hidden="true"]::before,
.family-secondary>span[aria-hidden="true"]::before {
  content:"";
  position:absolute;
  inset:6px 1px auto;
  block-size:2px;
  border-radius:var(--radius-control);
  background:currentColor;
}
.ops-queue-link>span[aria-hidden="true"]::after,
.family-actions>button>span[aria-hidden="true"]::after,
.btn-primary>span[aria-hidden="true"]::after,
.family-secondary>span[aria-hidden="true"]::after {
  content:"";
  position:absolute;
  inset:3px 1px auto auto;
  inline-size:7px;
  block-size:7px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform:rotate(45deg);
}
.drawer-close {
  overflow:hidden;
}
.drawer-close .close-mark {
  inline-size:18px;
  block-size:18px;
}
@media(max-width:900px) {
  .public-hero {
    min-block-size:0;
  }
  .teacher-directory-home-grid,.teacher-directory-grid {
    gap:16px;
  }
  .teacher-directory-card {
    padding:22px;
  }
}
@media(max-width:680px) {
  .public-nav {
    padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));
  }
  .public-hero,.public-section,.content {
    padding-inline:18px;
  }
  .public-hero-copy,.public-art,.auth-card,.auth-intro {
    min-inline-size:0;
  }
  .hero-slide h1,.hero-slide h2 {
    max-inline-size:100%;
    font-size:clamp(30px,9vw,42px);
    line-height:1.32;
  }
  .hero-slide p {
    inline-size:100%;
    line-height:1.72;
    word-break:break-word;
  }
  .hero-proof {
    gap:8px;
  }
  .hero-proof span {
    flex:1 1 140px;
    min-inline-size:0;
  }
  .teacher-directory-home-grid,.teacher-directory-grid {
    grid-template-columns:1fr!important;
  }
  .teacher-directory-card {
    padding:18px;
    border-radius:var(--radius-sub);
  }
  .teacher-directory-card .teacher-directory-school {
    min-block-size:0;
  }
  .screen-overlay.open {
    padding:0;
  }
  .screen-overlay .screen-drawer,.teacher-directory-overlay .screen-drawer {
    inline-size:100%;
    max-inline-size:100%;
    block-size:100dvh;
    max-block-size:100dvh;
    border-radius:0
  ;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
body {
  overflow-x:clip;
}
button,a {
  font-weight:650;
}
.public-nav,.topbar,.screen-drawer-head {
  backface-visibility:hidden;
}
.public-nav {
  min-height:72px;
}
.public-nav-actions,.hero-cta,.family-actions,.registration-controls {
  align-items:center;
}
.public-nav-actions button,.hero-cta button,.auth-submit,.btn-primary,.family-primary,.family-secondary,
.family-actions button,.registration-controls button,.drawer-close {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.public-nav-actions button,.hero-cta button,.auth-submit,.btn-primary,.family-primary,.family-secondary,
.family-actions button,.registration-controls button {
  white-space:normal;
  text-align:center;
  overflow-wrap:anywhere;
}
.inline-arrow {
  display:inline-block;
  inline-size:15px;
  block-size:15px;
  position:relative;
  flex:0 0 15px;
  color:currentColor;
  vertical-align:-2px;
}
.inline-arrow::before {
  content:"";
  position:absolute;
  inset:6px 1px auto 1px;
  block-size:2px;
  border-radius:var(--radius-card);
  background:currentColor;
}
.inline-arrow::after {
  content:"";
  position:absolute;
  inset:3px 1px auto auto;
  inline-size:7px;
  block-size:7px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform:rotate(45deg);
}
.close-mark {
  display:block;
  inline-size:18px;
  block-size:18px;
  position:relative;
  color:currentColor;
}
.close-mark::before,.close-mark::after {
  content:"";
  position:absolute;
  left:8px;
  top:1px;
  inline-size:2px;
  block-size:16px;
  border-radius:var(--radius-control);
  background:currentColor;
}
.close-mark::before {
  transform:rotate(45deg);
}
.close-mark::after {
  transform:rotate(-45deg);
}
.status-mark {
  display:inline-block;
  inline-size:12px;
  block-size:12px;
  margin-inline-end:7px;
  border:2px solid currentColor;
  border-radius:50%;
  vertical-align:-1px;
}
.shortcut-mark,.ops-queue-icon,.growth-icon,.featured-course-card .growth-icon {
  flex:0 0 auto;
}
.card,.family-card,.account-panel,.ops-summary-grid article,.ops-queue-card,.ops-service-note,
.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut,.auth-card,.teacher-directory-toolbar,
.family-panel,.teacher-status-card,.trial-card {
  border-color:var(--visual-edge);
  border-radius:var(--radius-tag);
}
.card:hover,.family-card:hover,.account-panel:hover,.ops-summary-grid article:hover,.ops-queue-card:hover,
.ops-service-note:hover,.teacher-directory-card:hover,.growth-card:hover,.featured-course-card:hover,.family-shortcut:hover,
.family-panel:hover,.teacher-status-card:hover,.trial-card:hover {
  border-color:var(--visual-edge-strong);
}
.teacher-directory-card,.growth-card,.featured-course-card,.family-shortcut,.ops-queue-card {
  min-block-size:44px;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.teacher-directory-card:focus-visible,.growth-card:focus-visible,.featured-course-card:focus-visible,.family-shortcut:focus-visible,.ops-queue-card:focus-visible {
  outline:3px solid rgba(184,76,21,.24);
  outline-offset:3px;
}
.screen-overlay {
  overscroll-behavior:contain;
  scrollbar-gutter:stable both-edges;
}
.screen-overlay.open {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(14px,3.5vh,42px) clamp(14px,4vw,56px);
}
.screen-overlay .screen-drawer,.teacher-directory-overlay .screen-drawer {
  inline-size:min(1180px,100%);
  max-inline-size:100%;
  max-block-size:min(900px,92dvh);
  margin:0 auto;
  overflow:auto;
}
.screen-drawer-head {
  min-block-size:76px;
  display:flex;
  align-items:flex-start;
  gap:18px;
  padding-block:16px 14px;
}
.screen-drawer-head>div {
  min-inline-size:0;
  flex:1 1 auto;
}
.screen-drawer-head h2,.screen-drawer-head p {
  max-inline-size:100%;
  overflow-wrap:anywhere;
}
.drawer-close {
  inline-size:40px;
  block-size:40px;
  min-inline-size:40px;
  padding:0;
  border:1px solid var(--visual-edge);
  border-radius:var(--radius-control);
  background:var(--white);
  color:var(--muted);
}
.drawer-close:hover,.drawer-close:focus-visible {
  border-color:var(--visual-edge-strong);
  color:var(--ink);
  background:#f3f6f0;
}
.family-form,.form-grid,.family-fields,.teacher-directory-toolbar {
  min-inline-size:0;
}
.form-field label,.family-form label,.teacher-directory-toolbar label {
  min-inline-size:0;
}
.form-field input,.form-field select,.form-field textarea,.family-panel input,.family-panel select,.family-panel textarea,
.teacher-directory-toolbar input,.teacher-directory-toolbar select {
  max-inline-size:100%;
  inline-size:100%;
  border-color:var(--visual-edge);
  background:var(--white);
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.family-panel input:focus,.family-panel select:focus,
.family-panel textarea:focus,.teacher-directory-toolbar input:focus,.teacher-directory-toolbar select:focus {
  border-color:var(--coral);
  box-shadow:0 0 0 3px rgba(184,76,21,.16);
}
.teacher-directory-home-grid,.teacher-directory-grid {
  align-items:start;
  grid-auto-rows:auto;
}
.teacher-directory-home-grid .teacher-directory-card,.teacher-directory-grid .teacher-directory-card {
  block-size:auto;
  min-height:0;
}
.teacher-directory-card .teacher-directory-main {
  min-inline-size:0;
}
.teacher-directory-card .teacher-directory-title,.teacher-directory-card .teacher-directory-meta {
  min-inline-size:0;
}
.teacher-directory-card .teacher-directory-title h3,.teacher-directory-card .teacher-directory-school,.teacher-directory-card .teacher-directory-meta span {
  overflow-wrap:anywhere;
  word-break:break-word;
}
.teacher-directory-card .teacher-directory-school {
  line-height:1.55;
}
.growth-icon,.featured-course-card .growth-icon {
  inline-size:58px;
  block-size:58px;
}
.growth-icon>img,.featured-course-card .growth-icon>img {
  inline-size:100%;
  block-size:100%;
}
.generated-art-slot {
  display:grid;
  place-items:center;
  min-block-size:180px;
  border:1px dashed var(--visual-edge-strong);
  border-radius:var(--radius-card);
  background:linear-gradient(135deg,#f5f8f1,#fffdf9);
  color:var(--muted);
  text-align:center;
  padding:24px;
}
.generated-art-slot img {
  max-inline-size:100%;
  block-size:auto;
  display:block;
  object-fit:contain;
}
.service-step:not(:last-child) {
  position:relative;
}
.service-step:not(:last-child)::after {
  content:"";
  position:absolute;
  right:-10px;
  top:50%;
  inline-size:18px;
  block-size:2px;
  border-radius:var(--radius-card);
  background:var(--coral);
  transform:translateY(-50%);
}
.service-step:not(:last-child)::before {
  content:"";
  position:absolute;
  right:-10px;
  top:calc(50% - 4px);
  inline-size:7px;
  block-size:7px;
  border-top:2px solid var(--coral);
  border-right:2px solid var(--coral);
  transform:rotate(45deg);
}
@media(max-width:760px) {
  .public-nav {
    min-height:64px;
  }
  .public-nav-actions {
    gap:8px;
  }
  .public-nav-actions button,.hero-cta button {
    min-block-size:44px;
  }
  .screen-overlay.open {
    padding:0;
  }
  .screen-overlay .screen-drawer,.teacher-directory-overlay .screen-drawer {
    inline-size:100%;
    max-inline-size:100%;
    block-size:100dvh;
    max-block-size:100dvh;
    border-radius:0;
  }
  .screen-drawer-head {
    min-block-size:68px;
    padding-block:14px 12px;
  }
  .teacher-directory-home-grid,.teacher-directory-grid {
    grid-template-columns:1fr!important;
    gap:14px;
  }
  .teacher-directory-card {
    padding:18px;
    border-radius:var(--radius-sub);
  }
  .teacher-directory-card .teacher-directory-avatar {
    inline-size:52px;
    block-size:52px;
    flex-basis:52px;
  }
  .hero-slide-stage,.hero-slide {
    max-inline-size:100%;
    overflow:hidden;
  }
  .hero-slide p {
    display:block;
    max-inline-size:100%;
    white-space:normal;
    word-break:break-word;
    overflow-wrap:anywhere;
  }
  .service-step:not(:last-child)::after,.service-step:not(:last-child)::before {
    display:none;
  }
}
.flat-check {
  --check-size:22px;
  --check-stroke:1.8px;
  position:relative;
  display:inline-block;
  inline-size:var(--check-size);
  block-size:var(--check-size);
  width:var(--check-size);
  height:var(--check-size);
  min-inline-size:var(--check-size);
  min-block-size:var(--check-size);
  flex:0 0 var(--check-size);
  border:0;
  border-radius:50%;
  box-sizing:border-box;
  background:var(--green-soft);
  color:var(--ink);
  font-size:0;
  font-style:normal;
  vertical-align:middle;
}
.flat-check::before {
  content:"";
  position:absolute;
  left:50%;
  top:42%;
  width:36%;
  height:20%;
  border:0;
  border-left:var(--check-stroke) solid currentColor;
  border-bottom:var(--check-stroke) solid currentColor;
  border-radius:0;
  box-sizing:content-box;
  transform:translate(-50%,-50%) rotate(-45deg);
  transform-origin:center;
}
.flat-check::after {
  content:none;
  display:none;
}
.auth-assurance li {
  display:flex;
  align-items:center;
  gap:12px;
  line-height:1.7;
}
.auth-assurance .flat-check {
  --check-size:22px;
  background:var(--green-soft);
  color:var(--ink);
  margin:0;
}
.auth-role .role-tick.flat-check {
  --check-size:22px;
  background:var(--ink);
  color:var(--white);
  opacity:0;
}
.auth-role button.active .role-tick.flat-check {
  opacity:1;
}
.success-symbol.flat-check {
  --check-size:54px;
  --check-stroke:2.5px;
  background:var(--green-soft);
  color:var(--ink);
}
.course-option-check.flat-check {
  --check-size:22px;
  background:var(--ink);
  color:var(--white);
}
.reason-mark.flat-check {
  --check-size:17px;
  --check-stroke:1.5px;
  margin-top:2px;
}
.teacher-directory-verified .flat-check {
  --check-size:16px;
  --check-stroke:1.5px;
}
.profile-choice .flat-check {
  --check-size:20px;
  opacity:0;
  transform:scale(.9);
  transition:opacity .16s ease,transform .16s ease;
}
.profile-choice[aria-pressed="true"] .flat-check {
  opacity:1;
  transform:scale(1);
}
#profileForm .auth-submit .flat-check {
  margin-inline-end:8px;
  background:var(--green-soft);
  color:var(--ink);
}
.teacher-directory-arrow {
  position:absolute;
  inset:24px 24px auto auto;
  display:block;
  inline-size:32px;
  block-size:32px;
  width:32px;
  height:32px;
  margin:0;
  transform:none;
  opacity:1;
  flex:none;
  font-size:0;
  border:1px solid var(--visual-edge);
  border-radius:50%;
  background:var(--white);
  color:var(--coral);
}
.teacher-directory-arrow::before {
  content:"";
  position:absolute;
  inset:14px 8px auto 8px;
  block-size:2px;
  border-radius:var(--radius-card);
  background:currentColor;
}
.teacher-directory-arrow::after {
  content:"";
  position:absolute;
  inset:11px 8px auto auto;
  inline-size:7px;
  block-size:7px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform:rotate(45deg);
}
.hero-proof .proof-mark.flat-check {
  --check-size:16px;
  --check-stroke:1.4px;
  margin:0;
  border:1px solid currentColor;
  background:transparent;
}
.screen-drawer[hidden] {
  display:none!important;
}
.hero-slide-position {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin-left:14px;
  color:var(--muted);
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
.hero-slide-nav button.is-active b {
  color:var(--amber-ink);
}
.hero-slide-nav button[aria-current="true"] {
  box-shadow:inset 0 -2px var(--amber-ink);
}
.nav button.active {
  background:var(--green-soft);
  box-shadow:inset 3px 0 var(--amber-ink);
  color:var(--ink);
}
.public-section.is-empty {
  padding-block:38px;
  min-height:0;
}
.public-section.is-empty .directory-empty {
  min-height:0;
  margin:0;
  padding:24px;
  display:grid;
  grid-template-columns:120px 1fr;
  align-items:center;
  gap:8px 24px;
  text-align:left;
}
.public-section.is-empty .directory-empty img {
  width:120px;
  height:92px;
  object-fit:contain;
  margin:0;
}
.public-section.is-empty #publicTeacherGrid {
  grid-template-columns:1fr;
  min-height:0;
}
.ops-empty-actions {
  grid-column:1/-1;
  padding:22px 24px;
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  background:var(--green-soft);
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.ops-empty-actions p {
  flex:1 1 220px;
  margin:0;
}
.ops-empty-actions button {
  min-height:44px;
}
.welfare-single {
  margin:0;
  background:var(--sand);
  border-radius:var(--radius-control);
  overflow:hidden;
}
.welfare-single img {
  display:block;
  width:100%;
  max-height:58dvh;
  object-fit:contain;
}
.welfare-single-copy {
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
}
.welfare-single-controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.welfare-single-controls button {
  min-height:44px;
}
.welfare-photo-card .media {
  background:var(--sand);
}
.action-feedback {
  margin:12px 0 0;
  padding:10px 14px;
  border-radius:var(--radius-control);
  color:var(--ink);
  background:var(--green-soft);
  font-size:13px;
  line-height:1.7;
  animation:action-feedback-enter .24s ease both;
}
.action-feedback:empty {
  display:none;
}
[data-request-state="error"]>.action-feedback {
  background:#f9e9e4;
  color:#923a22;
  border:1px solid #dfb6a6;
}
[data-request-state="saved"]>.action-feedback,[data-request-state="success"]>.action-feedback {
  border:1px solid #a7bba1;
}
[data-request-state="pending"]>.action-feedback {
  border:1px solid var(--line);
}
button[aria-busy="true"] {
  cursor:progress;
}
button[aria-busy="true"]::after {
  content:"";
  display:inline-block;
  flex:none;
  width:12px;
  height:12px;
  margin-inline-start:6px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:action-spinner .75s linear infinite;
}
@keyframes action-spinner {
  to {
    transform:rotate(360deg);
  }
}
@keyframes action-feedback-enter {
  from {
    opacity:0;
    transform:translateY(3px);
  }
  to {
    opacity:1;
    transform:none;
  }
}
@media(prefers-reduced-motion:reduce) {
  .action-feedback,button[aria-busy="true"]::after {
    animation:none!important;
    transition:none!important;
  }
}
@media(max-width:760px) {
  .public-section.is-empty .directory-empty {
    display:block;
    text-align:center;
  }
  .public-section.is-empty .directory-empty img {
    margin:0 auto 12px;
  }
  .ops-empty-actions {
    align-items:stretch;
  }
  .ops-empty-actions p {
    flex-basis:100%;
  }
  .hero-slide-position {
    margin-left:10px;
  }
  .welfare-single-controls button {
    flex:1 1 auto;
  }
}
.summary-details {
  margin:16px 0;
  border:1px solid var(--line);
  border-radius:var(--radius-sub);
  padding:0 16px;
  background:var(--paper);
}
.summary-details>summary {
  min-height:48px;
  display:flex;
  align-items:center;
  cursor:pointer;
  font-size:14px;
  color:var(--ink);
}
.summary-details>summary::after {
  content:"＋";
  margin-left:auto;
}
.summary-details[open]>summary::after {
  content:"−";
}
.summary-details .ops-summary-grid {
  margin-bottom:16px;
}
.public-section.is-empty .directory-empty img {
  grid-column:1;
  grid-row:1/4;
}
.public-section.is-empty .directory-empty h3,.public-section.is-empty .directory-empty p,.public-section.is-empty .directory-empty .family-actions {
  grid-column:2;
  margin-block:0;
}
@media(max-width:760px) {
  .public-section.is-empty .directory-empty {
    display:block;
  }
  .public-section.is-empty .directory-empty p {
    margin:8px 0 14px;
  }
}
.account-overview[data-auth-required="true"] .account-tools {
  display:none;
}
.public-section.is-empty #publicTeacherNote {
  display:none;
}
.public-section.is-empty .teacher-directory-heading {
  margin-bottom:16px;
}
.public-section.is-empty #publicTeacherGrid {
  margin-top:0;
}
@media(max-width:760px) {
  .public-section.is-empty .teacher-directory-heading {
    gap:12px;
  }
  .public-section.is-empty .directory-empty {
    padding:20px;
  }
  .public-section.is-empty .directory-empty img {
    width:88px;
    height:64px;
  }
}
.welfare-gallery[hidden],.welfare-stories[hidden],.welfare-section .media-row[hidden] {
  display:none!important;
}
.welfare-photo-card .media>video,.welfare-story-grid .media>video,.welfare-single.media>video {
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  background:var(--sand);
}
.welfare-photo-card .media>video {
  object-fit:cover;
  pointer-events:none;
}
.welfare-story-open {
  width:100%;
  padding:0;
  background:transparent;
  text-align:left;
  color:inherit;
}
.welfare-story-open .link {
  display:inline-block;
  margin-top:10px;
}

/*  Migrated component rules: frontend/mobile-alignment.css  */
.auth-card .journey-form .registration-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius:var(--radius-sub);
  background: var(--sand);
}
.auth-card .journey-form .registration-progress > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 24px;
  white-space: nowrap;
}
.auth-card .journey-form .registration-progress b {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1;
}
.auth-card .journey-form .registration-step-heading {
  margin: 0 0 24px;
}
.auth-card .journey-form .registration-step-heading h3 {
  margin: 10px 0 12px;
  line-height: 1.4;
}
.auth-card .journey-form .registration-step-heading p {
  margin: 0;
  line-height: 1.8;
}
.auth-card .invite-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 0;
  margin: 0 0 20px;
  text-align: left;
  line-height: 1.6;
}
.public-hero .hero-slide-stage {
  display: grid;
  align-items: start;
  height: auto;
  min-height: 0;
}
.public-hero .hero-slide-stage > .hero-slide {
  position: relative !important;
  inset: auto;
  grid-area: 1 / 1;
  align-self: start;
  width: 100%;
  min-height: 0;
}
.public-hero .hero-slide-stage > .hero-slide > p {
  min-height: 0;
  margin-bottom: 0;
}
.public-hero .public-cta {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.public-hero .public-cta > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius:var(--radius-control);
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}
.public-hero .public-cta > .primary {
  border-color: var(--ink);
}
.public-hero .public-cta > button > [aria-hidden="true"] {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin: 0;
  font-size: 0;
  position: relative;
  transform: none;
}
.public-hero .public-cta > button > [aria-hidden="true"]::before {
  content: "";
  position: absolute;
  inset: 6px auto auto 1px;
  width: 11px;
  height: 2px;
  border: 0;
  border-radius: 2px;
  background: currentColor;
  transform: none;
}
.public-hero .public-cta > button > [aria-hidden="true"]::after {
  content: "";
  position: absolute;
  inset: 3px 1px auto auto;
  width: 6px;
  height: 6px;
  border: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}
.public-hero .public-cta > button.secondary > [aria-hidden="true"]::after {
  transform: rotate(45deg);
}
.public-hero .public-cta > .secondary > [aria-hidden="true"] {
  transform: rotate(90deg);
}
.public-art .desk-caption button::after {
  content: none;
}
@media (max-width: 760px) {
  .public-page .public-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    width: 100%;
    min-height: 72px;
    height: auto;
    margin: 0;
    padding: 13px max(16px, env(safe-area-inset-left)) 13px max(16px, env(safe-area-inset-right));
  }
  .public-nav .public-brand {
    min-width: 0;
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
  }
  .public-nav .public-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
  }
  .public-nav .api-status {
    display: none;
  }
  .public-nav .public-nav-actions > button,
  .public-nav .mobile-public-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius:var(--radius-control);
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .public-nav .public-nav-actions > .solid {
    border-color: var(--ink);
  }
  .public-nav.menu-open .public-links {
    grid-column: 1 / -1;
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 0 0;
  }
  .public-page .public-hero {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px 44px;
    gap: 28px;
  }
  .public-hero .public-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 24px 0 0;
  }
  .public-hero .public-cta > button {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .public-hero .quiet-note {
    margin: 18px 0 0;
    line-height: 1.8;
  }
  .public-hero .hero-slide-nav {
    width: 100%;
    margin: 24px 0 0;
    padding-top: 12px;
  }
  .auth-card .auth-tabs > button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    line-height: 24px;
  }
  .auth-card .auth-role {
    gap: 12px;
    margin-bottom: 16px;
  }
}
@media (max-width: 359px) {
  .public-page .public-nav {
    column-gap: 6px;
    padding-inline: 12px;
  }
  .public-nav .public-brand {
    font-size: 20px;
  }
  .public-nav .public-nav-actions {
    gap: 6px;
  }
  .public-nav .public-nav-actions > button,
  .public-nav .mobile-public-menu {
    padding-inline: 8px;
    font-size: 12px;
  }
  .public-hero .public-cta {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-card .journey-form .registration-progress {
    gap: 4px;
    padding-inline: 4px;
  }
  .auth-card .journey-form .registration-progress > span {
    font-size: 11px;
    gap: 4px;
  }
}

/*  Migrated component rules: frontend/illustrations.css  */
.public-art .desk-scene {
  aspect-ratio: 3 / 2;
}
.public-art .desk-scene > img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
.growth-icon:has(>img), .featured-course-card .growth-icon:has(>img) {
  background:#f7f5ee!important;
  border:0;
  box-shadow:none;
  border-radius:var(--radius-sub);
  inline-size:76px;
  block-size:76px;
  flex:0 0 auto;
}
.growth-icon:has(>img)::before,.growth-icon:has(>img)::after {
  display:none!important;
}
.growth-icon>img,.featured-course-card .growth-icon>img {
  padding:0;
  object-fit:contain;
  object-position:center;
  mix-blend-mode:normal;
  filter:none;
  border-radius:inherit;
}
.featured-course-card:has(.growth-icon>img) {
  grid-template-columns:76px minmax(0,1fr);
}
.family-empty::before {
  width:84px;
  height:84px;
  margin:0 auto 16px;
  border:0;
  border-radius:var(--radius-sub);
  background:#f7f5ee url("assets/course-icons/learning-ai-v1.webp") center/contain no-repeat;
}
.family-empty.directory-loading::before,.family-empty.directory-empty::before {
  display:none;
}
.directory-empty-art {
  display:block;
  width:160px;
  height:160px;
  margin:0 auto 14px;
  object-fit:contain;
  border-radius:var(--radius-card);
}
.directory-empty h3 {
  margin:0 0 12px;
}
.directory-empty p {
  margin:0 auto 20px;
  max-width:36em;
}
.directory-empty .family-actions {
  justify-content:center;
}
@media(max-width:760px) {
  .growth-card .growth-icon:has(>img),.featured-course-card .growth-icon:has(>img) {
    inline-size:64px;
    block-size:64px;
  }
  .featured-course-card:has(.growth-icon>img) {
    grid-template-columns:64px minmax(0,1fr);
  }
  .journey-form .growth-card:has(.growth-icon>img) h3 {
    margin-left:78px;
    min-height:64px;
  }
  .directory-empty-art {
    width:136px;
    height:136px;
    margin-bottom:14px;
  }
}
.growth-card:has(>.course-art-heading),
.featured-course-card:has(>.course-art-heading) {
  display:flex!important;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:14px;
  min-height:0;
  padding:22px!important;
  text-align:left;
}
.course-art-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  flex-wrap:wrap;
}
.course-art-meta {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin-left:auto;
}
.course-art-heading .growth-icon {
  position:static!important;
  margin:0!important;
  inline-size:76px!important;
  block-size:76px!important;
}
.course-art-meta .course-status {
  position:static!important;
  margin:0!important;
  max-width:none;
  width:auto!important;
  white-space:nowrap!important;
}
.course-art-meta .course-option-check {
  position:static!important;
  margin:0!important;
  flex:0 0 22px;
}
.growth-card:has(>.course-art-heading) h3 {
  display:block;
  align-self:stretch;
  width:auto!important;
  max-width:none;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left;
  line-height:1.5;
  font-size:19px!important;
}
.growth-card:has(>.course-art-heading) p {
  margin:0!important;
  min-height:0!important;
  line-height:1.85!important;
}
.growth-card:has(>.course-art-heading)>.link {
  align-self:flex-start;
  justify-content:flex-start;
  width:auto!important;
  margin-top:auto!important;
  min-height:44px!important;
}
.growth-card:has(>.course-art-heading)>.course-option-toggle {
  width:100%;
  margin-top:4px!important;
  min-height:44px!important;
}
.featured-course-card:has(>.course-art-heading) .course-option-copy {
  display:grid;
  gap:8px;
  width:100%;
  padding:0!important;
}
.featured-course-card:has(>.course-art-heading) .course-preview-link {
  margin-top:auto!important;
  min-height:24px;
}
#growth .growth-card:has(>.course-art-heading) {
  min-height:286px;
}
@media(max-width:760px) {
  .growth-card:has(>.course-art-heading),.featured-course-card:has(>.course-art-heading) {
    padding:18px!important;
    gap:12px;
  }
  .course-art-heading .growth-icon {
    inline-size:64px!important;
    block-size:64px!important;
  }
  .journey-form .growth-card:has(>.course-art-heading) h3,#profileForm .growth-card:has(>.course-art-heading) h3 {
    margin:0!important;
    min-height:0!important;
  }
  #growth .growth-card:has(>.course-art-heading) {
    min-height:0;
  }
}
.growth-card.course-detail-summary {
  display:flex!important;
  flex-direction:column;
  gap:18px;
  padding:24px;
  min-height:0;
}
.course-detail-summary .growth-icon {
  inline-size:88px!important;
  block-size:88px!important;
  margin:0!important;
}
.course-detail-summary .course-detail-lead {
  font-size:17px!important;
  line-height:1.8!important;
  min-height:0!important;
}
.course-art-heading .growth-icon:has(>img) {
  border:0!important;
  box-shadow:none!important;
  background:#f7f5ee!important;
}

/*  Migrated component rules: frontend/visual-fixes.css  */
#workspacePageHost .screen-overlay.workspace-page {
  position:static;
  inset:auto;
  display:block;
  width:100%;
  height:auto!important;
  max-height:none!important;
  min-height:0;
  overflow:visible;
  padding:0!important;
  background:transparent;
}
#workspacePageHost .screen-overlay.workspace-page .screen-drawer {
  position:static;
  inset:auto;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  min-height:0;
  overflow:visible;
  padding:0!important;
}
#workspacePageHost .screen-drawer-head {
  background:transparent;
}
.hero-slide-nav>button {
  min-inline-size:44px;
}
@media(max-width:760px) {
  #profileForm .growth-card:has(.growth-icon>img) h3 {
    margin-left:78px!important;
    min-height:64px;
  }
}
.public-nav-actions #publicLogin {
  min-inline-size:44px;
}
.desk-caption>div {
  display:grid;
  gap:5px;
  min-width:0;
}
.desk-caption>div>span,.desk-caption>div>strong {
  display:block;
  margin:0;
  line-height:1.7;
}
.desk-caption>div>strong {
  font-size:14px;
}
html {
  scrollbar-gutter:auto;
}
body.modal-open {
  padding-inline-end:var(--dialog-scrollbar-gap,0px);
}

/*  Migrated component rules: frontend/workspace-polish.css  */
#workspacePageHost .screen-overlay.workspace-page .screen-drawer,
#workspacePageHost .workspace-page-preview {
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent;
  scrollbar-gutter:auto;
}
#workspacePageHost .screen-drawer-head {
  gap:24px;
  align-items:flex-start;
}
#workspacePageHost .screen-drawer-head>div {
  flex:1;
  min-width:0;
}
#workspacePageHost .screen-drawer-head h2 {
  margin:0;
}
#workspacePageHost .screen-drawer-head p {
  margin:8px 0 0;
}
#workspacePageHost .drawer-close {
  flex:0 0 auto;
  margin:0;
  align-self:flex-start;
}
.app .family-empty {
  width:100%;
  max-width:none;
  grid-column:1/-1;
  padding:36px 24px;
  border:0;
  border-radius:var(--radius-sub);
  background:var(--sand);
  text-align:center;
}
.app .family-empty::before {
  margin:0 auto 16px;
}
.app .family-empty h3 {
  width:100%;
  max-width:none;
  margin:0 0 12px;
  text-align:center;
  line-height:1.5;
}
.app .family-empty p {
  width:100%;
  max-width:42ch;
  margin:0 auto;
  text-align:center;
  line-height:1.9;
}
.app .family-empty .family-actions {
  justify-content:center;
  margin-top:18px;
}
.app .family-empty>button {
  margin-top:18px;
}
.welfare-queue {
  grid-template-columns:minmax(0,1fr);
}
.welfare-queue>.family-empty {
  margin:0;
}
.welfare-upload .form-grid {
  align-items:start;
}
.welfare-upload .form-grid>label {
  display:grid;
  gap:8px;
  min-width:0;
  align-content:start;
}
#welfareOps .welfare-upload input:not([type=file]),#welfareOps .welfare-upload select,#welfareOps .welfare-upload textarea {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  min-height:48px;
}
#welfareOps .welfare-upload input[type=file] {
  padding:8px 12px;
  min-height:52px;
  line-height:1.8;
  background:var(--paper);
}
.welfare-upload input[type=file]::file-selector-button {
  border:0;
  border-radius:var(--radius-control);
  padding:9px 14px;
  margin-right:12px;
  background:var(--green-soft);
  color:var(--ink);
  font:inherit;
  cursor:pointer;
}
.welfare-upload small {
  margin:0;
  font-weight:400;
  line-height:1.8;
}
.app .nav button .icon {
  display:inline-flex;
  position:relative;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  border:0;
  border-radius:0;
  padding:0;
  margin:0;
  background:transparent;
  box-shadow:none;
  color:inherit;
}
.app .nav button .icon[data-icon-key]::before,
.app .ops-queue-icon[data-icon-key]::before {
  content:"";
  position:absolute;
  inset:1px;
  width:auto;
  height:auto;
  border:0;
  border-radius:0;
  box-shadow:none;
  margin:0;
  padding:0;
  transform:none;
  opacity:1;
  background:currentColor;
  -webkit-mask:var(--workspace-icon) center/contain no-repeat;
  mask:var(--workspace-icon) center/contain no-repeat;
}
.app .nav button .icon[data-icon-key]::after,.app .ops-queue-icon[data-icon-key]::after {
  content:none;
  display:none;
}
.app .ops-queue-icon[data-icon-key]::before {
  inset:10px;
}
.app .nav button {
  display:flex;
  align-items:center;
  gap:12px;
  transition:color .12s;
}
.app .nav button>span:not(.icon) {
  min-width:0;
  line-height:1.6;
}
.app .nav button.active .icon {
  background:transparent;
  color:var(--amber-ink);
}
.app [data-icon-key="home"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.6%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.6%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="review"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3Cpath%20d%3D%22M12%203%204.5%206v5c0%204.2%203.2%207.5%207.5%2010%204.3-2.5%207.5-5.8%207.5-10V6Z%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="followup"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%203v4m8-4v4M4%2010h16m-12%204h3m-3%203h7%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="refund"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%207H5V4m0%203a8%208%200%201%201-1%208%22%2F%3E%3Cpath%20d%3D%22M15%209h-4a2%202%200%200%200%200%204h2a2%202%200%200%201%200%204H9m3-10v2m0%208v2%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="charity"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.3%205.3%200%200%200-7.5%200L12%205.9l-1.3-1.3a5.3%205.3%200%200%200-7.5%207.5L12%2021l8.8-8.9a5.3%205.3%200%200%200%200-7.5Z%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="orders"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%203v4m8-4v4M4%2010h16m-12%204h3m-3%203h7%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="children"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2020v-2a6%206%200%200%201%2012%200v2m1-15a3%203%200%200%201%200%206m2%203a5%205%200%200%201%203%204v2%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="scores"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203v18h17M8%2016v-4m5%204V8m5%208V5%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="growth"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021v-9m0%204C5%2016%203%2012%203%206c6%200%209%203%209%208m0-2c0-6%203-9%209-9%200%206-3%2010-9%2010%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="pairings"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2010h8m-8%204h5%22%2F%3E%3Cpath%20d%3D%22M21%2011a9%209%200%200%201-9%209H4l1-4a9%209%200%201%201%2016-5Z%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="profile"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="pool"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22m15%2015%206%206M7%2010h6m-3-3v6%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="lessons"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205v16M3%204h5a4%204%200%200%201%204%203%204%204%200%200%201%204-3h5v15h-5a4%204%200%200%200-4%202%204%204%200%200%200-4-2H3Z%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="checkin"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%202v4m8-4v4m-9%208%203%203%206-6%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="method"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018h6m-5%203h4m-6-7a6%206%200%201%201%208%200c-1%201-1%202-1%204H9c0-2%200-3-1-4Z%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="plan"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%203v4m8-4v4M4%2010h16m-12%204h3m-3%203h7%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="disputes"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2010h8m-8%204h5%22%2F%3E%3Cpath%20d%3D%22M21%2011a9%209%200%200%201-9%209H4l1-4a9%209%200%201%201%2016-5Z%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="refunds"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%207H5V4m0%203a8%208%200%201%201-1%208%22%2F%3E%3Cpath%20d%3D%22M15%209h-4a2%202%200%200%200%200%204h2a2%202%200%200%201%200%204H9m3-10v2m0%208v2%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="teachers"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3Cpath%20d%3D%22M12%203%204.5%206v5c0%204.2%203.2%207.5%207.5%2010%204.3-2.5%207.5-5.8%207.5-10V6Z%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="followups"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%203v4m8-4v4M4%2010h16m-12%204h3m-3%203h7%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="welfare"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.3%205.3%200%200%200-7.5%200L12%205.9l-1.3-1.3a5.3%205.3%200%200%200-7.5%207.5L12%2021l8.8-8.9a5.3%205.3%200%200%200%200-7.5Z%22%2F%3E%3C%2Fsvg%3E");
}
@media(max-width:760px) {
  #workspacePageHost .screen-drawer-head {
    gap:14px;
  }
  #workspacePageHost .screen-drawer-head h2 {
    font-size:24px;
  }
  .app .family-empty {
    padding:28px 20px;
  }
  .app .family-empty p {
    max-width:32ch;
  }
}
.app [data-icon-key="trial"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%203v4m8-4v4M4%2010h16m-12%204h3m-3%203h7%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="match"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22m15%2015%206%206M7%2010h6m-3-3v6%22%2F%3E%3C%2Fsvg%3E");
}
.app [data-icon-key="binding"] {
  --workspace-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3C%2Fsvg%3E");
}
.schedule-form .schedule-availability [data-next-date] {
  min-height:44px!important;
  min-width:44px;
  background:var(--green-soft);
  color:var(--ink);
}

/*  Migrated component rules: frontend/payment.css  */
.payment-checkout {
  max-width:600px;
  margin:0 auto;
  padding:clamp(20px,4vw,40px);
  border-radius: var(--radius-card);
  background:var(--paper,#faf8f1);
  color:var(--ink,#293c32);
  border:1px solid var(--line,#deded1);
}
.payment-checkout h3 {
  font-size:clamp(22px,3vw,30px);
  line-height:1.45;
  margin:8px 0 14px;
  overflow-wrap:anywhere;
}
.payment-total {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:26px 0;
  padding:22px 0;
  border-top:1px solid var(--line,#deded1);
  border-bottom:1px solid var(--line,#deded1);
}
.payment-total strong {
  font-size:clamp(30px,5vw,42px);
  font-variant-numeric:tabular-nums;
  letter-spacing:-.03em;
  white-space:nowrap;
}
.payment-note {
  font-size:15px;
  line-height:1.85;
  margin:18px 0;
  color:var(--ink,#293c32);
}
.payment-submit {
  width:100%;
  min-height:48px;
}
.payment-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.payment-actions button {
  min-height:44px;
  flex:1;
}
.payment-feedback {
  min-height:1.7em;
  color:#a44932;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.payment-privacy {
  font-size:12px;
  line-height:1.9;
  margin-top:22px;
}
body.payment-return {
  margin:0;
  background: var(--paper);
  min-height:100svh;
  box-sizing:border-box;
  padding:28px 20px 50px;

  font-family: var(--font-sans);
}
.payment-return * {
  box-sizing:border-box;
}
.payment-brand {
  display:block;
  max-width:600px;
  margin:0 auto 35px;
  color: var(--coral);
  font-size:26px;
  letter-spacing:.08em;
  font-weight:700;
  text-decoration:none;

  font-family: var(--font-serif);
}
.payment-return main {
  max-width:600px;
  margin:8vh auto 0;
}
.payment-return a:focus-visible,.payment-return button:focus-visible {
  outline:3px solid #b76d4c;
  outline-offset:4px;
}
.payment-return button,.payment-return .payment-link {
  border:1px solid #d9dece;
  border-radius:var(--radius-control);
  cursor:pointer;
  padding:13px 18px;
  min-height:46px;
  background:#fffdf7;
  color:#293c32;
  font:inherit;
  text-decoration:none;
  display:inline-flex;
  justify-content:center;
  align-items:center;
}
.payment-return .payment-link.primary {
  background:#293c32;
  color:#fff;
}
.payment-return .section-kicker {
  color:#8c6248;
  font-size:12px;
  letter-spacing:.08em;
}
.payment-return .family-muted {
  color:#697366;
}
.payment-return h1 {
  font-size:clamp(25px,5vw,34px);
  line-height:1.5;
}
.payment-return p {
  line-height:1.9;
}
@media(max-width:420px) {
  .payment-total {
    gap:12px;
  }
  .payment-actions {
    flex-direction:column;
  }
  .payment-checkout {
    border-radius: var(--radius-card);
    padding:20px;
  }
  .payment-return main {
    margin-top:30px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .payment-checkout * {
    scroll-behavior:auto;
  }
}
.payment-return [hidden],.payment-checkout [hidden] {
  display:none!important;
}

/*  Migrated component rules: frontend/lesson-communication.css  */
.comm-root {
  color:var(--comm-ink);
  min-width:0;
  width:100%;
  line-height:1.75;
}
.comm-root * {
  box-sizing:border-box;
  min-width:0;
}
.comm-root [hidden] {
  display:none!important;
}
.comm-root p,.comm-root dl {
  max-width:none;
}
.comm-root h2 {
  font-size:clamp(19px,2vw,25px);
  line-height:1.45;
  margin:0 0 16px;
  letter-spacing:.02em;
}
.comm-root h3 {
  font-size:18px;
  line-height:1.5;
  margin:0;
}
.comm-root p {
  margin:8px 0;
  overflow-wrap:anywhere;
}
.comm-root button,.comm-entry,.comm-root summary {
  min-height:44px!important;
  font:inherit;
  cursor:pointer;
}
.comm-root button,.comm-entry {
  padding:10px 18px;
  border:1px solid var(--line,#d8d9cd);
  border-radius:var(--radius-control);
  background:var(--comm-paper);
  color:var(--comm-ink);
  line-height:1.5;
  white-space:normal;
}
.comm-root .btn-primary {
  background:var(--green,#1e4639);
  color:#fff;
  border-color:var(--green,#1e4639);
}
.comm-root button:hover,.comm-entry:hover {
  border-color:#50745d;
  background:#e8eee4;
  color:#1e4639;
}
.comm-root .btn-primary:hover {
  background:#153a2e;
  color:#fff;
}
.comm-root button:disabled {
  opacity:.6;
  cursor:wait;
}
.comm-root :focus-visible,.comm-entry:focus-visible {
  outline:3px solid #b84c15;
  outline-offset:3px;
}
.comm-top {
  display:flex;
  align-items:flex-end;
  gap:14px;
  margin:0 0 24px;
  flex-wrap:wrap;
}
.comm-top>label {
  flex:1;
  min-width:180px;
  max-width:720px;
}
.comm-root label {
  display:grid;
  gap:8px;
  font-size:14px;
  font-weight:650;
  color:var(--comm-ink);
  text-align:left;
  max-width:none;
}
.comm-root input:not([type=checkbox]):not([type=hidden]),.comm-root select,.comm-root textarea {
  width:100%;
  max-width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--line,#cdd2c6);
  border-radius:10px;
  background:var(--comm-paper);
  color:var(--comm-ink);
  font:inherit;
  line-height:1.65;
  box-shadow:none;
}
.comm-root select {
  text-overflow:ellipsis;
  padding-right:30px;
}
.comm-root textarea {
  min-height:104px;
  resize:vertical;
}
.comm-root textarea[readonly] {
  background:#eeeee4;
  color:#465347;
}
.comm-context {
  margin:0 0 28px;
  padding-bottom:22px;
  border-bottom:1px solid var(--line,#dddccf);
}
.comm-context h2 {
  font-size:clamp(24px,3vw,32px);
  margin-bottom:8px;
}
.comm-context p,.comm-muted,.comm-meta {
  color:#536151;
  font-size:14px;
}
.comm-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,290px);
  gap:28px;
  align-items:start;
}
.comm-board {
  grid-column:1;
  grid-row:1;
}
.comm-tasks {
  grid-column:2;
  grid-row:1;
  padding:24px;
  border-radius:var(--radius-control);
  background:#e9eee2;
  position:sticky;
  top:24px;
}
.comm-tasks h2 {
  font-size:18px;
}
.comm-task {
  display:grid;
  gap:4px;
  padding:14px 0;
  color:#244335;
  text-decoration:none;
  min-height:48px;
  border-bottom:1px solid #cdd7c5;
}
.comm-task:last-child {
  border-bottom:0;
}
.comm-task span {
  font-size:13px;
  color:#485945;
}
.comm-rest {
  padding:8px 0;
}
.comm-rest p {
  font-size:14px;
  color:#4a5c48;
}
.comm-phase {
  margin:0 0 30px;
}
.comm-phase>h2 {
  font-size:17px;
  color:#536151;
  margin-bottom:14px;
}
.comm-cards {
  display:grid;
  gap:20px;
}
.comm-card {
  padding:24px;
  border:1px solid var(--line,#dddccf);
  border-left:4px solid #6a8878;
  border-radius:var(--radius-sub);
  background:var(--comm-paper);
  box-shadow:0 4px 16px #243b2d04;
  scroll-margin-top:30px;
}
.comm-parent_goal {
  border-left-color:var(--green);
}
.comm-teacher_preparation {
  border-left-color:#a28c45;
}
.comm-teacher_followup {
  border-left-color:#b84c15;
}
.comm-parent_feedback {
  border-left-color:#517f57;
}
.comm-card>header {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.comm-type-mark {
  width:22px;
  flex:0 0 22px;
  text-align:center;
  font-size:16px;
  line-height:24px;
  color:#46634d;
}
.comm-value {
  margin:14px 0;
}
.comm-value dt {
  font-size:13px;
  font-weight:650;
  color:#586451;
  margin-bottom:3px;
}
.comm-value dd {
  margin:0;
  font-size:15px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.comm-done {
  font-weight:650;
  color:#285c3b;
  font-size:14px;
}
.comm-editor {
  margin-top:18px;
  border-top:1px solid var(--line,#ddded1);
  padding-top:8px;
}
.comm-editor summary,.comm-history summary {
  padding:10px 0;
  color:#24563b;
  font-size:14px;
  font-weight:650;
}
.comm-root form {
  display:grid;
  gap:18px;
  margin-top:14px;
}
.comm-root .comm-check {
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-height:44px;
  padding:10px 0;
  font-weight:400;
  cursor:pointer;
}
.comm-root .comm-check input[type=checkbox] {
  position:static!important;
  appearance:auto!important;
  accent-color:#1e4639;
  flex:0 0 20px;
  width:20px!important;
  height:20px!important;
  margin:3px 0 0!important;
  transform:none!important;
  opacity:1!important;
  clip:auto!important;
}
.comm-root .comm-check span {
  padding:0!important;
  position:static;
  line-height:26px;
}
.comm-root .comm-check span:before,.comm-root .comm-check span:after {
  display:none!important;
  content:none!important;
}
.comm-root label small {
  font-size:12px;
  font-weight:400;
  color:#56634d;
}
.comm-required {
  font-size:11px;
  color:#8a4c26;
  font-weight:400;
  justify-self:start;
}
.comm-assignment {
  display:grid;
  gap:18px;
}
.comm-form-buttons {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.comm-form-status,#communicationStatus {
  font-size:14px;
  color:#405d45;
  min-height:24px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.comm-preflight:empty {
  display:none;
}
.comm-preflight p,.comm-review-state {
  padding:12px 14px;
  background:#f1ead8;
  border-radius:var(--radius-control);
  color:#695024;
  font-size:13px;
}
.comm-review-state p {
  margin-bottom:0;
}
.comm-preflight small {
  display:block;
  margin-top:6px;
  color:#5b573d;
}
.comm-response {
  margin-top:18px;
  padding:16px 0 0;
  border-top:1px solid var(--line,#dcded0);
}
.comm-history {
  margin-top:12px;
}
.comm-history-content article {
  margin:16px 0;
  padding-top:16px;
  border-top:1px solid var(--line,#dcded0);
}
.comm-report {
  padding:24px;
  background:#eeeee3;
  border-radius:var(--radius-control);
  margin-top:24px;
}
.comm-report .lesson-followup {
  background:transparent!important;
  border:0!important;
  padding:0!important;
}
.comm-empty {
  padding:40px 24px;
  text-align:center;
  border-radius:var(--radius-sub);
  background:#eeeee4;
}
.comm-empty p {
  max-width:40ch;
  margin:12px auto 24px;
}
.comm-empty h2 {
  margin-bottom:10px;
}
.comm-review-list {
  display:grid;
  gap:16px;
}
.comm-root .comm-review-item {
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  gap:20px;
  width:100%;
  padding:22px;
  background:var(--comm-paper);
}
.comm-review-item>span {
  display:grid;
  gap:8px;
}
.comm-review-item small {
  display:block;
  color:#5d6755;
}
.comm-review-item b {
  flex:0 0 auto;
  font-size:14px;
}
.comm-entry {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:16px 0 0;
  align-self:flex-start;
}
.student-communication-tasks {
  margin-top:18px;
}
.student-communication-tasks>p {
  font-size:14px;
  color:#345339;
}
.comm-review-detail {
  padding-bottom:20px;
}
.comm-review-detail details {
  margin-top:24px;
}
@media(min-width:1600px) {
  .comm-cards {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .comm-card {
    padding:26px;
  }
  .comm-editor .comm-form-buttons {
    flex-direction:column;
  }
}
@media(max-width:1000px) {
  .comm-layout {
    grid-template-columns:minmax(0,1fr);
  }
  .comm-tasks {
    grid-column:1;
    grid-row:1;
    position:static;
    padding:20px;
  }
  .comm-board {
    grid-column:1;
    grid-row:2;
  }
}
@media(max-width:560px) {
  .comm-top {
    gap:12px;
  }
  .comm-top>label {
    min-width:0;
    width:100%;
    flex-basis:100%;
  }
  .comm-top>button {
    flex:1;
  }
  .comm-card,.comm-report {
    padding:19px 16px;
  }
  .comm-layout {
    gap:22px;
  }
  .comm-root .comm-form-buttons>button {
    flex:1 1 100%;
  }
  .comm-context {
    margin-bottom:22px;
  }
  .comm-root .comm-review-item {
    padding:18px 14px;
    gap:10px;
    align-items:flex-start;
  }
  .comm-review-item b {
    font-size:13px;
  }
  .comm-root input[type=datetime-local] {
    min-width:0;
  }
}
@media(prefers-reduced-motion:reduce) {
  .comm-root * {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}
.comm-root .confirmation-check {
  display:flex!important;
  align-items:flex-start!important;
  gap:12px;
  min-height:48px;
  padding:11px 0;
  cursor:pointer;
}
.comm-root .confirmation-check input[type=checkbox] {
  flex:0 0 20px;
  margin:3px 0 0!important;
  position:static!important;
}
.comm-record-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#28563e;
  font-weight:650;
  font-size:14px;
  text-decoration:underline;
  text-underline-offset:4px;
}
.app .top-actions .notify:not([hidden]) {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-width:88px;
  width:auto!important;
  height:44px!important;
  min-height:44px;
  padding:8px 16px!important;
  border:1px solid var(--line,#d7dbce);
  border-radius:var(--radius-control)!important;
  background:var(--paper,#faf7f0);
  color:var(--green,#1e4639);
  font:inherit;
  font-size:13px;
  font-weight:650;
  line-height:1.5;
  white-space:nowrap;
  box-shadow:none;
}
.app .top-actions .notify:before,.app .top-actions .notify:after {
  display:none!important;
  content:none!important;
}
.comm-root .report-text {
  background:transparent!important;
  color:#36513e;
  padding:0;
}
.comm-review-item .comm-wait {
  font-weight:650;
  color:#3f624b;
}
.comm-review-item .comm-wait-long {
  color:#8b3e18;
}

/*  Migrated component rules: frontend/account-security.css  */
#authPage .auth-card.is-recovering > :not(.auth-head):not(#passwordRecovery) {
  display:none!important;
}
.account-security {
  width:100%;
  max-width:1080px;
  margin:0 auto;
  color:var(--ink,#243d36);
  line-height:1.65;
  box-sizing:border-box;
}
.account-security * {
  box-sizing:border-box;
  min-width:0;
}
.account-security h3 {
  font-size:20px;
  line-height:1.45;
  letter-spacing:-.02em;
  margin:0 0 12px;
  color:inherit;
}
.account-security p {
  overflow-wrap:anywhere;
}
.security-summary {
  padding:26px 30px;
  background:#eeefe5;
  border:1px solid #dfe3d5;
  border-radius:var(--radius-card);
  margin-bottom:24px;
}
.security-summary p {
  margin:8px 0 0;
  font-size:14px;
  color:#59655b;
}
.security-eyebrow {
  display:block;
  color:#64705e;
  font-size:12px;
  letter-spacing:.12em;
  margin-bottom:8px;
}
.security-sections {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
}
.security-card {
  padding:28px;
  background:#fbfaf5;
  border:1px solid #e1e3d7;
  border-radius:var(--radius-card);
}
.security-form {
  display:grid;
  gap:16px;
  margin:0;
}
.account-security .security-field {
  display:grid;
  gap:8px;
  font-weight:650;
  font-size:14px;
  color:#31463b;
}
.account-security input {
  display:block;
  width:100%;
  min-height:48px!important;
  height:48px!important;
  padding:12px 14px!important;
  border:1px solid #cdd5c6!important;
  border-radius:var(--radius-control)!important;
  background:#fffef9!important;
  color:#263e33!important;
  font:inherit;
  font-weight:400;
  box-shadow:none!important;
  letter-spacing:normal;
}
.account-security input:focus-visible {
  outline:3px solid #a5b79e!important;
  outline-offset:2px;
  border-color:#597353!important;
}
.security-password {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  gap:8px;
}
.account-security .security-reveal {
  min-width:52px;
  min-height:48px;
  padding:8px;
  border:1px solid #d9dece!important;
  border-radius:var(--radius-control);
  background:#f2f2e9;
  color:#425b47;
  font-size:13px;
  cursor:pointer;
}
.security-help {
  font-size:13px;
  font-weight:400;
  color:#657064;
  line-height:1.7;
  margin:0;
}
.security-feedback {
  font-size:14px;
  line-height:1.65;
  color:#a34736;
  margin:0;
  overflow-wrap:anywhere;
}
.security-feedback:empty {
  display:none;
}
.security-feedback.success {
  color:#366344;
}
.account-security .btn-primary {
  min-height:48px;
  border-radius:var(--radius-control);
  padding:12px 18px;
  background:#344e3b;
  color:#fffdf6;
  border:1px solid #344e3b;
  cursor:pointer;
  font-size:14px;
}
.account-security button:disabled {
  opacity:.55;
  cursor:default;
}
.account-security button:focus-visible,.security-forgot:focus-visible {
  outline:3px solid #a5b79e;
  outline-offset:3px;
}
.security-note {
  background:#f0f0e6;
  border-radius:var(--radius-control);
  padding:14px 16px;
  font-size:13px;
  line-height:1.8;
  color:#5b6557;
  margin:0;
}
.security-footnote {
  margin:20px 0 0;
  font-size:13px;
  color:#677160;
}
#authForm>.security-forgot {
  display:block;
  margin:2px 0 16px auto;
  padding:8px 0;
  min-height:44px;
  border:0;
  background:transparent;
  color:#476043;
  font-size:14px;
  cursor:pointer;
}
#authForm>.security-forgot[hidden] {
  display:none!important;
}
.account-security .security-forgot,.security-back {
  min-height:44px;
  padding:10px 0;
  border:0;
  background:transparent;
  color:#476043;
  font-size:14px;
  cursor:pointer;
  text-align:left;
  text-decoration:underline;
  text-underline-offset:4px;
}
#passwordRecovery {
  max-width:540px;
}
.recovery-progress {
  display:flex;
  gap:24px;
  padding:0;
  margin:4px 0 28px;
  list-style:none;
  font-size:13px;
  color:#7d8476;
  flex-wrap:wrap;
}
.recovery-progress li {
  display:flex;
  gap:8px;
  align-items:center;
}
.recovery-progress li span {
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border:1px solid #d7ddcc;
  border-radius:50%;
  font-size:12px;
}
.recovery-progress .is-active {
  color:#344e3b;
}
.recovery-progress .is-active span {
  background:#344e3b;
  color:#fff;
  border-color:#344e3b;
}
.security-code {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}
.account-security .security-code button {
  min-height:48px;
  padding:10px 14px;
  border:1px solid #c9d2bd;
  border-radius:var(--radius-control);
  background:#edf0e3;
  color:#38513c;
  font-size:13px;
  white-space:nowrap;
  cursor:pointer;
}
.account-security .security-primary {
  width:100%;
}
#passwordRecovery .security-note {
  margin-top:22px;
}
.security-complete {
  text-align:center;
  padding:26px 0 12px;
}
.security-complete p {
  font-size:14px;
  color:#586952;
  margin:12px 0 20px;
}
.security-success-mark {
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  margin:0 auto 18px;
  background:#e5ead9;
  color:#375639;
  border-radius:50%;
  font-size:26px;
  line-height:1;
}
@media(max-width:760px) {
  .security-sections {
    grid-template-columns:1fr;
    gap:18px;
  }
  .security-card {
    padding:22px;
  }
  .security-summary {
    padding:22px;
  }
  .account-security h3 {
    font-size:19px;
  }
}
@media(max-width:380px) {
  .security-card,.security-summary {
    padding:18px;
  }
  .security-code {
    gap:6px;
  }
  .account-security .security-code button {
    padding:10px;
    font-size:12px;
  }
  .account-security input {
    font-size:16px;
  }
  .recovery-progress {
    gap:16px;
  }
}

/*  Migrated component rules: frontend/auto-login.css  */
#authForm .auto-login-options {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  min-width:0;
}
#authForm .auto-login-options[hidden],#authForm .auto-login-help[hidden] {
  display:none!important;
}
#authForm .auto-login-option {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  margin:0;
  padding:4px 0;
  line-height:1.5;
  font-size:14px;
  font-weight:650;
  color:#425c47;
  cursor:pointer;
  flex:0 0 auto;
  position:relative;
}
#authForm .auto-login-option::before,#authForm .auto-login-option::after {
  content:none!important;
}
#authForm .auto-login-option input#autoLogin {
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  display:block!important;
  width:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  flex:0 0 20px;
  margin:0!important;
  padding:0!important;
  accent-color:#344e3b;
  position:static!important;
  transform:none!important;
  box-shadow:none!important;
  border-radius:4px;
  cursor:pointer;
  opacity:1!important;
}
#authForm .auto-login-option input:focus-visible {
  outline:3px solid #9caf90;
  outline-offset:4px;
}
#authForm .auto-login-options .security-forgot {
  margin:0;
  padding:8px 0;
  min-height:44px;
  border:0;
  background:transparent;
  color:#476043;
  font-size:14px;
  cursor:pointer;
  white-space:nowrap;
}
#authForm .auto-login-options .security-forgot[hidden] {
  display:none!important;
}
#authForm .auto-login-help {
  margin:-6px 0 18px;
  font-size:12px;
  line-height:1.7;
  color:#667260;
  overflow-wrap:anywhere;
}
#sessionRestoreStatus {
  display:none;
}
.restoring-browser-session #publicLanding,.restoring-browser-session #authPage,.restoring-browser-session .app {
  visibility:hidden!important;
}
.restoring-browser-session #sessionRestoreStatus,.restoring-browser-session body::after {
  display:flex;
  align-items:center;
  justify-content:center;
  position:fixed;
  inset:0;
  z-index:9999;
  background:#faf7f0;
  color:#34503e;
  font-size:16px;
  line-height:1.7;
  padding:24px;
  text-align:center;
}
.restoring-browser-session body::after {
  content:"正在进入你的工作台…";
  pointer-events:none;
}
.restoring-browser-session body:has(#sessionRestoreStatus)::after {
  display:none;
}
.admin-page {
  font-family: var(--font-sans);
  color:#202124;
  background:var(--paper);
  color-scheme:light;
}
.admin-page * {
  box-sizing:border-box;
}
.admin-page [hidden] {
  display:none!important;
}
.admin-page {
  margin:0;

  font-family: var(--font-sans);
}
.admin-page main {
  max-width:1100px;
  margin:auto;
  padding:32px 24px;
}
.admin-page header,.admin-page .account-head,.admin-page .actions,.admin-page .heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}
.admin-page header {
  font-size:13px;
  margin-bottom:40px;
}
.admin-page header a {
  color:#202124;
  text-decoration:none;
  font-weight:650;
}
.admin-page header span,.admin-page .muted,.admin-page footer {
  color:var(--muted);
}
.admin-page .panel {
  padding:28px;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  background:#fff;
}
.admin-page .login {
  max-width:470px;
  margin:64px auto;
}
.admin-page .eyebrow {
  font-size:11px;
  letter-spacing:.14em;
  color:var(--coral);
}
.admin-page h1 {
  font-size:30px;
  letter-spacing:-.04em;
  margin:12px 0;
}
.admin-page h2 {
  font-size:19px;
  margin:0 0 12px;
}
.admin-page .muted {
  line-height:1.8;
  font-size:14px;
}
.admin-page .small {
  font-size:12px;
}
.admin-page form {
  display:grid;
  gap:16px;
  margin-top:24px;
}
.admin-page label {
  display:grid;
}
.admin-page input {
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  padding:13px;
  font:inherit;
  background:#fff;
}
.admin-page input:focus {
  outline: none !important;
  outline-offset:2px;

  border-color: var(--coral);

  box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 17%, transparent);
}
.admin-page button,.admin-page .primary {
  display:inline-block;
  padding:12px 17px;
  border:0;
  border-radius:var(--radius-control);
  font:inherit;
  font-size:13px;
  background:var(--green-soft);
  color:var(--green);
  cursor:pointer;
  text-decoration:none;
  text-align:center;
}
.admin-page .primary {
  background:var(--coral);
  color:#fff;
}
.admin-page button:disabled {
  opacity:.6;
  cursor:wait;
}
.admin-page button:focus-visible,.admin-page a:focus-visible,.admin-page summary:focus-visible {
  outline:3px solid var(--line);
  outline-offset:4px;
}
.admin-page .error,.admin-page #loginFeedback,.admin-page #accountFeedback {
  color:#a13f2e;
  line-height:1.7;
  font-size:13px;
  white-space:pre-wrap;
  margin:0;
}
.admin-page .back {
  display:inline-block;
  color:var(--coral);
  font-size:13px;
  text-decoration:none;
  margin-top:24px;
}
.admin-page details {
  margin-top:24px;
  font-size:13px;
  line-height:1.8;
}
.admin-page summary {
  cursor:pointer;
}
.admin-page code {
  display:block;
  white-space:normal;
  overflow-wrap:anywhere;
  background:var(--green-soft);
  padding:14px;
  border-radius:var(--radius-control);
}
.admin-page .grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin:24px 0;
}
.admin-page .account-head {
  margin-top:24px;
}
.admin-page .admin-row {
  padding:18px 0;
  border-top:1px solid var(--line);
}
.admin-page .admin-row p {
  margin:8px 0;
  font-size:13px;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.admin-page .admin-row form {
  margin-top:12px;
}
.admin-page .confirm {
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.7;
}
.admin-page .confirm input {
  width:17px;
  height:17px;
  flex:none;
}
.admin-page .badge {
  display:inline-block;
  border-radius:var(--radius-tag);
  padding:4px 9px;
  background:var(--green-soft);
  color:var(--muted);
  font-size:12px;
}
.admin-page .audit-row {
  display:grid;
  grid-template-columns:140px 1fr 1fr;
  gap:14px;
  padding:14px 0;
  border-top:1px solid var(--line);
  font-size:13px;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.admin-page .audit-row time {
  color:var(--muted);
}
.admin-page footer {
  font-size:12px;
  line-height:1.8;
  margin:30px 0;
}
.admin-page .heading h2 {
  margin:0;
}
.admin-page .audit {
  margin-top:20px;
}
@media(max-width:700px) {
  .admin-page main {
    padding:24px 16px;
  }
  .admin-page .grid {
    grid-template-columns:1fr;
  }
  .admin-page .account-head {
    display:block;
  }
  .admin-page .actions {
    justify-content:flex-start;
    margin-top:18px;
  }
  .admin-page .login {
    margin:35px auto;
  }
  .admin-page .panel {
    padding:22px;
  }
  .admin-page .audit-row {
    grid-template-columns:1fr;
    gap:3px;
  }
  .admin-page header {
    align-items:flex-start;
  }
  .admin-page header span {
    max-width:100px;
    text-align:right;
  }
  .admin-page h1 {
    font-size:27px;
  }
}
.admin-page h1,.admin-page .admin-row strong {
  overflow-wrap:anywhere;
}
.admin-page .admin-family-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.admin-page .admin-family-row {
  display:grid;
  width:100%;
  gap:5px;
  padding:12px 14px;
  margin:8px 0;
  text-align:left;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:#fff;
  color:inherit;
  cursor:pointer;
}
.admin-page .admin-family-row:hover {
  border-color:var(--line);
  box-shadow:0 5px 16px rgba(35,76,59,.08);
}
.admin-page .admin-family-row span {
  font-size:12px;
  color:var(--muted);
}
@media(max-width:700px) {
  .admin-page .admin-family-grid {
    grid-template-columns:1fr;
  }
}
.admin-page .admin-family-detail {
  margin-top:20px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--green-soft);
}
.admin-page .admin-family-detail-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.admin-page .admin-family-detail-head h3 {
  margin:0;
  font-size:18px;
}
.admin-page .admin-family-detail-head button {
  padding:9px 14px;
}
.admin-page .admin-family-detail-body {
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.admin-page .admin-family-detail-body h3 {
  margin:20px 0 8px;
  font-size:14px;
  color:var(--green);
}
.admin-page .admin-family-detail-body p {
  line-height:1.8;
  font-size:13px;
  margin:8px 0;
  color:var(--muted);
}

/*  Migrated component rules: frontend/theme-v5.css  */
:root {
  --font-sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Segoe UI",sans-serif;
  --sans:var(--font-sans);
  --serif:var(--font-serif);
  --paper:#faf6ec;
  --sand:#e8dcc2;
  --ink:#16352b;
  --white:#fffdf7;
  --coral:#b04a12;
  --line:#e6dccb;
  --mint:#dce9d8;
  --green:#234c3b;
  --green-soft:#edf1e5;
  --blue:#234c3b;
  --blue-soft:#edf1e5;
  --radius-card:28px;
  --radius-sub:22px;
  --radius-control:18px;
  --radius:var(--radius-card);
  --shadow:0 14px 38px rgba(22,53,43,.075),0 2px 6px rgba(22,53,43,.035);
  --shadow-lg:0 30px 70px rgba(22,53,43,.12),0 6px 16px rgba(22,53,43,.05);
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.14'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23g)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
html {
  scroll-padding-top:92px;
  scrollbar-color:#b1b9a6 var(--paper);
}
body {
  background-color:var(--paper);
  background-image:var(--grain);
  color:var(--ink);
  font:15px/1.75 var(--font-sans);
  font-variant-numeric:tabular-nums;
}
button,input,select,textarea {
  font-family:var(--font-sans);
}
button,a,input,select,textarea {
  touch-action:manipulation;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid #ae511c!important;
  outline-offset:4px;
}
[hidden] {
  display:none!important;
}
:where(p,li,small,span,button,a,label) {
  overflow-wrap:break-word;
}
:where(h1,h2,h3,h4) {
  text-wrap:pretty;
  color:var(--ink);
}
:where(h1,h2) {
  font-family:var(--font-serif);
  font-weight:700;
  letter-spacing:.01em;
}
:where(p,li) {
  font-weight:400;
}
:where(button,[role=button],summary) {
  min-height:44px;
}
:where(a):not(.public-brand):not(.identity):not([class]) {
  text-underline-offset:4px;
}
.public-page,.auth-page,.app,.main,.main-content,#workspacePageHost {
  background-color:var(--paper);
  background-image:var(--grain);
}
.public-brand,.identity,.brand strong {
  font-family:var(--font-serif);
  font-weight:700;
  letter-spacing:.1em;
  color:var(--coral);
}
.public-brand {
  font-size:27px;
}
.public-nav {
  background:transparent;
}
.public-hero h1,.hero-slide h1 {
  font-family:var(--font-serif)!important;
  font-size:clamp(40px,4.6vw,64px)!important;
  line-height:1.18!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
.public-section>h2,.public-section .section-heading h2,.public-section .section-head h2,.growth-heading h2,.welfare-heading h2 {
  font-family:var(--font-serif);
  font-size:clamp(30px,3.6vw,48px);
  line-height:1.26;
  letter-spacing:.01em;
}
.section-kicker,.eyebrow,.section-label {
  font-family:var(--font-sans)!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:.12em!important;
  color:var(--coral);
}
.public-hero p:not(.section-kicker),.hero-slide>p:not(.section-kicker) {
  font-size:16px;
  line-height:1.85;
  color:var(--muted);
}
.public-page :where(.section-desc,.lead),.public-page :where(.feature-card,.growth-card) p {
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
}
.public-page :where(.feature-card,.growth-card,.service-card,.welfare-card) h3 {
  font-family:var(--font-serif);
  font-size:22px;
  line-height:1.35;
}
.auth-card,.auth-intro,.account-panel,.account-onboarding,.family-card,.ops-panel,.security-card,.security-summary,.comm-card,.comm-context,.comm-tasks,.comm-report,.payment-card,.payment-summary,.payment-panel,.teacher-directory-card,.teacher-directory-detail,.family-empty,.account-empty {
  border-color:var(--line)!important;
  background-color:var(--white)!important;
  background-image:var(--grain);
  border-radius:var(--radius)!important;
  color:var(--ink);
}
.auth-card,.account-panel,.security-card,.teacher-directory-card {
  box-shadow:var(--shadow);
}
.family-panel,.matching-panel,.teacher-directory-panel {
  color:var(--ink);
}
.family-card :where(p,small),.account-panel :where(p,small),.ops-panel :where(p,small),.family-panel :where(.family-muted,.field-help),.security-help,.comm-root :where(small,.comm-time),.teacher-directory-meta,.teacher-directory-school,.teacher-directory-count,.teacher-directory-filter-help {
  color:var(--muted)!important;
}
.family-panel>h3,.account-panel>h2,.security-card>h3,.comm-card>header h3,.ops-panel>h2 {
  font-family:var(--font-serif);
  font-size:22px!important;
  line-height:1.4;
}
.screen-drawer {
  background-color:var(--paper)!important;
  background-image:var(--grain);
  border-color:var(--line)!important;
  border-radius:var(--radius-card)!important;
  box-shadow:var(--shadow-lg);
}
#workspacePageHost .screen-drawer {
  box-shadow:none!important;
  background-color:transparent!important;
  border-radius:0!important;
}
.screen-drawer-head h2,.account-overview h1,.ops-overview h1,.hero h1,.security-summary h2 {
  font-family:var(--font-serif)!important;
  font-size:clamp(28px,3vw,38px)!important;
  line-height:1.35!important;
  letter-spacing:.01em!important;
}
.screen-drawer-head p,.account-overview>p,.ops-overview>p {
  font-size:14px!important;
  line-height:1.8;
  color:var(--muted)!important;
}
.app .sidebar {
  background:var(--white)!important;
  background-image:var(--grain);
  border-right:1px solid var(--line);
  color:var(--ink);
  box-shadow:none;
}
.sidebar .brand strong {
  color:var(--coral)!important;
  font-size:26px;
}
.sidebar :where(.role-label,.user-meta small,.brand small) {
  color:var(--muted)!important;
  font-size:11px!important;
}
.app .sidebar #nav button {
  color:var(--muted);
  font-size:13px!important;
  font-weight:650;
  min-height:46px;
  border-radius:var(--radius-control);
}
.app .sidebar #nav button.active {
  background:var(--ink)!important;
  color:var(--white)!important;
  box-shadow:0 5px 12px #16352b16;
}
.app .sidebar #nav button:hover:not(.active) {
  background:var(--green-soft)!important;
  color:var(--ink)!important;
}
.sidebar :where(.profile-edit,.user,.profile) {
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.app .topbar {
  background-color:var(--paper)!important;
  border-color:var(--line)!important;

  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
.app .top-actions button,.app .mobile-menu-toggle {
  border-color:var(--line)!important;
  background:var(--white)!important;
  color:var(--ink)!important;
}
body :where(.btn-primary,.public-btn-primary,.account-onboarding button,.account-empty>button,.account-panel>button:not(.account-task):not(.account-lesson),.family-panel .btn-primary,.account-security .btn-primary,.payment-primary) {
  background:var(--coral)!important;
  color:var(--white)!important;
  border:1px solid var(--coral)!important;
  border-radius:var(--radius-control)!important;
  min-height:46px;
  font-family:var(--font-sans);
  font-size:14px;
  font-weight:650;
  line-height:1.4;
  box-shadow:0 4px 12px #b04a1212;
}
body :where(.btn-primary,.public-btn-primary,.payment-primary):hover:not(:disabled) {
  background:#963c0d!important;
  border-color:#963c0d!important;
  box-shadow:0 8px 18px #b04a1220;
}
body :where(.family-secondary,.family-actions>button:not(.btn-primary),.score-methods button,.public-btn-ghost,.drawer-close,.student-course-tabs button,.security-reveal) {
  background:var(--white)!important;
  border:1px solid var(--line)!important;
  color:var(--ink)!important;
  border-radius:var(--radius-control);
  min-height:44px;
  font-size:13px;
  font-weight:650;
  line-height:1.45;
}
body :where(.score-methods .active,.student-course-tabs [aria-pressed=true]) {
  background:var(--ink)!important;
  color:var(--white)!important;
  border-color:var(--ink)!important;
}
body :where(button:disabled) {
  cursor:not-allowed;
  box-shadow:none;
}
body :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea) {
  background-color:var(--white)!important;
  border:1px solid #cfc5b2!important;
  border-radius:var(--radius-control)!important;
  color:var(--ink)!important;
  font-size:14px!important;
  font-weight:400;
  line-height:1.5;
  box-shadow:none;
  max-width:100%;
  min-width:0;
}
body :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select) {
  height:48px;
  min-height:48px;
  padding:0 14px!important;
}
body textarea {
  display:block;
  vertical-align:top;
  min-height:112px;
  padding:12px 14px!important;
  resize:vertical;
}
body :where(input,textarea)::placeholder {
  color:#706e61;
  opacity:1;
}
input[type=checkbox],input[type=radio] {
  accent-color:var(--green);
}
input[type=file] {
  max-width:100%;
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
}
input[type=file]::file-selector-button {
  min-height:44px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--white);
  padding:9px 16px;
  margin-right:12px;
  color:var(--ink);
  font:inherit;
  cursor:pointer;
}
body :where(.subject-chip,.teacher-directory-tags span,.teacher-detail-grid p span,.comm-status,.course-status,.student-lesson-status,.account-lesson-status) {
  display:inline-flex;
  align-items:center;
  gap:5px;
  max-width:100%;
  min-height:27px;
  border:1px solid #c6d0bb!important;
  border-radius:var(--radius-control)!important;
  background:#f5f6ec!important;
  color:#264b38!important;
  font:650 12px/1.5 var(--font-sans)!important;
  padding:4px 10px!important;
  letter-spacing:0;
}
body button.subject-chip {
  min-height:44px;
}
body .subject-chip.on,body button.subject-chip[aria-pressed=true] {
  background:var(--ink)!important;
  color:var(--white)!important;
  border-color:var(--ink)!important;
}
.family-fields,.auth-form,.register-grid,.registration-fields,.security-form,.security-sections,.teacher-directory-toolbar,.family-form,.comm-root form,.family-grid {
  align-items:start!important;
  align-content:start;
}
.family-fields,.auth-form,.register-grid,.registration-fields {
  column-gap:24px;
  row-gap:20px;
}
.family-panel label,.auth-card .field,.auth-card .auth-field,.security-field,.comm-root label {
  align-content:start;
  align-items:start;
  line-height:21px;
  gap:7px;
  font-size:13px;
  font-weight:650;
}
.v5-field {
  display:grid!important;
  grid-template-rows:minmax(21px,auto) auto;
  align-content:start!important;
  align-self:start!important;
  gap:7px!important;
  min-width:0;
}
.v5-field-label {
  display:block;
  min-height:21px;
  line-height:21px;
  font-weight:650;
}
.v5-field :where(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  width:100%;
  margin-top:0!important;
  align-self:start;
}
.field>label,.auth-field>label,.score-note-field>label,.score-material-field>label {
  display:block;
  min-height:21px;
  font-size:13px;
  font-weight:650;
  line-height:21px;
  margin-bottom:7px;
}
.field-help,.family-muted,.security-help {
  font-size:12px!important;
  line-height:1.7!important;
  font-weight:400!important;
  color:var(--muted)!important;
}
.field-help {
  margin-top:3px;
}
.family-fields>*,.registration-fields>* {
  min-width:0;
}
.family-fields :where(input,select) {
  width:100%;
}
.teacher-directory-toolbar {
  padding:20px!important;
  border-color:var(--line)!important;
  background-color:var(--sand)!important;
  border-radius:var(--radius-control)!important;
}
.teacher-directory-toolbar label {
  font-size:12px!important;
  color:var(--muted)!important;
  align-content:start;
}
.teacher-directory-card .teacher-directory-title {
  align-items:start;
}
.teacher-directory-card .teacher-directory-title h3 {
  margin-top:0!important;
  font-family:var(--font-serif);
  font-size:22px;
  line-height:1.35;
}
.teacher-directory-avatar {
  background:var(--green-soft)!important;
  color:var(--ink)!important;
  border:1px solid #d0d9c3;
}
.teacher-directory-detail {
  padding:26px!important;
  box-shadow:none!important;
}
.teacher-detail-grid {
  gap:0!important;
  border-block:1px solid var(--line);
  background:transparent!important;
}
.teacher-detail-grid>div {
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:20px!important;
}
.teacher-detail-grid>div:nth-child(odd) {
  border-right:1px solid var(--line)!important;
}
.teacher-detail-grid>div:nth-child(-n/**/+2) {
  border-bottom:1px solid var(--line)!important;
}
.teacher-detail-copy {
  border-color:var(--line)!important;
}
.teacher-directory-detail .teacher-directory-main {
  min-width:0;
}
.auth-layout {
  align-items:start;
  gap:36px;
}
.auth-intro {
  overflow:hidden;
  padding:32px!important;
  border:1px solid var(--line);
}
.auth-intro h1 {
  font-family:var(--font-serif);
  font-size:clamp(30px,3.2vw,44px);
  line-height:1.3;
}
.auth-intro>p {
  color:var(--muted);
  font-size:14px;
  line-height:1.85;
}
.auth-intro .auth-desk {
  display:block;
  width:100%;
  height:auto!important;
  max-height:360px;
  aspect-ratio:4/3;
  object-fit:contain!important;
  object-position:center;
  margin:24px auto 0;
  border-radius:var(--radius-sub);
}
.auth-card {
  padding:32px!important;
  border:1px solid var(--line);
}
.auth-head h2 {
  font-family:var(--font-serif);
  font-size:28px;
  line-height:1.35;
}
.auth-head p,.auth-assurance,.auth-brandbar>span {
  color:var(--muted)!important;
  font-size:13px;
}
.auth-brandbar .identity {
  font-size:27px;
}
.auth-card .auth-tabs,.auth-card .auth-role {
  background:var(--sand)!important;
  border-color:var(--line)!important;
}
.auth-card .auth-tabs .active {
  background:var(--white)!important;
  color:var(--ink)!important;
}
.auth-card .auth-role .active {
  background:var(--ink)!important;
  color:var(--white)!important;
}
.account-task,.account-lesson,.student-exam {
  border-color:var(--line)!important;
}
.account-task b,.account-lesson small,.student-course-tabs button {
  color:var(--coral);
}
.account-overview .family-shortcut {
  border-color:var(--line)!important;
  background:var(--white)!important;
  color:var(--ink)!important;
}
.account-panel p,.family-panel p {
  line-height:1.8;
}
.student-learning-note {
  background:var(--green-soft)!important;
  color:var(--ink)!important;
}
.comm-root {
  --comm-paper:var(--white);
  --comm-ink:var(--ink);
  --comm-line:var(--line);
}
.comm-root :where(.comm-context,.comm-tasks,.comm-card,.comm-report) {
  border:1px solid var(--line);
}
.comm-root .comm-editor,.comm-root .comm-response {
  border-color:var(--line);
}
.security-summary,.comm-empty,.account-onboarding {
  background-color:#f2eddf!important;
}
.ops-summary-grid .ops-summary-card,.ops-stat,.stat {
  background-color:var(--white)!important;
  background-image:var(--grain);
  border-color:var(--line)!important;
  color:var(--ink)!important;
  border-radius:var(--radius-card)!important;
}
.ops-summary-grid :where(strong,b),.ops-stat strong,.stat strong {
  font-family:var(--font-serif);
  font-size:34px;
  line-height:1.15;
}
body .family-empty {
  background-color:#f2eddf!important;
  border:1px dashed #cfc5b2!important;
  min-height:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:32px 22px;
}
body .family-empty h3 {
  font-family:var(--font-serif);
  font-size:22px!important;
  color:var(--ink);
}
body .family-empty p {
  font-size:14px!important;
  color:var(--muted)!important;
  max-width:48ch;
}
body .family-empty .family-actions {
  justify-content:center;
}
.score-table {
  font-size:14px;
}
.score-table th {
  font-size:12px;
  color:var(--muted);
}
.score-table :where(input,select) {
  width:100%;
  min-width:0!important;
}
.score-note-field textarea {
  width:100%;
}
.score-review,.score-history {
  border-color:var(--line)!important;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .teacher-directory-card,.growth-card,.family-shortcut {
    transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s;
  }
  .teacher-directory-card:hover,.growth-card:hover,.family-shortcut:hover {
    transform:translateY(-6px);
    box-shadow:var(--shadow-lg);
  }
}
@media(max-width:1100px) {
  .auth-layout {
    gap:24px;
  }
  .auth-card,.auth-intro {
    padding:26px!important;
  }
}
@media(max-width:900px) {
  .app .sidebar #nav button {
    font-size:12px!important;
    min-height:48px;
  }
  .app .sidebar #nav button span:not(.icon):not([data-i]) {
    font-size:12px!important;
  }
  .teacher-directory-toolbar {
    column-gap:16px;
  }
}
@media(max-width:700px) {
  .public-brand,.auth-brandbar .identity {
    font-size:23px;
  }
  .auth-layout {
    display:flex!important;
    flex-direction:column;
    gap:24px;
  }
  .auth-layout>.auth-card {
    order:0;
    width:100%;
  }
  .auth-layout>.auth-intro {
    order:1;
    width:100%;
  }
  .auth-card,.auth-intro {
    padding:24px 20px!important;
    border-radius:var(--radius-card)!important;
  }
  .auth-intro .auth-desk {
    max-height:260px;
  }
  .auth-brandbar {
    gap:12px;
    align-items:center;
  }
  .auth-brandbar>span {
    max-width:15em;
    font-size:11px;
    line-height:1.6;
  }
  .family-fields,.security-sections {
    grid-template-columns:minmax(0,1fr)!important;
  }
  .family-fields {
    gap:18px;
  }
  .teacher-directory-detail {
    padding:20px 16px!important;
  }
  .teacher-detail-grid>div {
    padding:16px 10px!important;
  }
  .screen-drawer-head {
    gap:16px!important;
  }
  .screen-drawer-head h2 {
    font-size:28px!important;
  }
  .account-panel,.security-card {
    padding:22px 18px!important;
  }
  .app .sidebar .brand strong {
    font-size:23px;
  }
  .public-hero h1,.hero-slide h1 {
    font-size:38px!important;
  }
  .score-table-wrap {
    overflow:visible!important;
  }
  .score-table,.score-table tbody {
    display:block;
    width:100%;
  }
  .score-table thead {
    position:absolute;
    overflow:hidden;
    clip:rect(0,0,0,0);
    width:1px;
    height:1px;
  }
  .score-table tr {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px 12px;
    margin:0 0 16px;
    padding:18px 14px;
    border:1px solid var(--line);
    border-radius:var(--radius-control);
    background:var(--white);
  }
  .score-table td {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:0!important;
    border:0!important;
    min-width:0;
  }
  .score-table td::before {
    font:650 12px/1.5 var(--font-sans);
    color:var(--muted);
  }
  .score-table td:nth-child(1) {
    grid-column:1/-1;
  }
  .score-table td:nth-child(1)::before {
    content:"科目";
  }
  .score-table td:nth-child(2)::before {
    content:"得分";
  }
  .score-table td:nth-child(3)::before {
    content:"满分";
  }
  .score-table td:nth-child(4)::before {
    content:"排名（选填）";
  }
  .score-table td:nth-child(5) {
    justify-content:end;
  }
  .score-table td:nth-child(5)>button {
    min-height:48px;
    width:100%;
    border:1px solid var(--line);
    background:#f6eee2;
    border-radius:var(--radius-control);
  }
  .score-table td :where(input,select) {
    width:100%!important;
    min-width:0!important;
    height:48px!important;
  }
  .score-note-field,.score-material-field {
    min-width:0;
  }
}
@media(max-width:380px) {
  .public-hero h1,.hero-slide h1 {
    font-size:34px!important;
  }
  .teacher-detail-grid {
    grid-template-columns:1fr!important;
  }
  .teacher-detail-grid>div {
    border-right:0!important;
    border-bottom:1px solid var(--line)!important;
  }
  .teacher-detail-grid>div:last-child {
    border-bottom:0!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto!important;
  }
  *,*::before,*::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}
@media print {
  body,.public-page,.app,.main,.auth-page {
    background:#fff!important;
  }
  .sidebar,.public-nav,.topbar {
    display:none!important;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  .main {
    margin:0!important;
  }
  .screen-overlay {
    position:static!important;
  }
}
:root {
  --muted:#525d52;
  --amber-ink:#93400e;
  --orange-ink:#93400e;
}
.public-page .section-kicker,.auth-page .section-kicker,.step-outcome {
  color:#93400e!important;
}
body .course-status,body .growth-card .course-status,body .course-option-card .course-status {
  font:650 11px/1.5 var(--font-sans)!important;
  color:#294934!important;
  background:#f5f6ec!important;
  border:1px solid #c6d0bb!important;
  border-radius:var(--radius-control)!important;
  padding:4px 10px!important;
  min-height:27px;
}
.auth-page .auth-close,.auth-page .auth-tabs button:not(.active) {
  color:var(--muted)!important;
}
.teacher-directory-toolbar label,.teacher-directory-toolbar label>span,.family-panel label,.family-panel .v5-field-label {
  color:var(--muted)!important;
}
.auth-card .auth-role .active small,.auth-card .auth-role [aria-pressed=true] small {
  color:#e0e7d6!important;
}
body .app .btn-primary,body .auth-page .auth-submit,body .auth-card #registrationNext,body .family-panel .btn-primary,
body .public-page .public-nav-actions .solid,body .public-page .public-cta .primary,body .public-page .btn-primary,
body .account-panel>button:not(.account-task):not(.account-lesson),body .account-empty>button,body .account-onboarding button,
body .account-security .btn-primary,body .payment-checkout .primary,body .payment-checkout .payment-primary {
  background:#1d4639!important;
  color:var(--white)!important;
  border:1px solid #1d4639!important;
  border-radius:var(--radius-control)!important;
  min-height:46px;
  font-size:14px;
  font-weight:650;
  line-height:1.45;
  box-shadow:0 4px 12px #16352b12;
}
body .app .btn-primary:hover:not(:disabled),body .auth-page .auth-submit:hover:not(:disabled),body .family-panel .btn-primary:hover:not(:disabled),body .public-page .public-cta .primary:hover,body .public-page .public-nav-actions .solid:hover,body .account-security .btn-primary:hover:not(:disabled) {
  background:#14332a!important;
  border-color:#14332a!important;
}
body .auth-page .auth-close {
  border-radius:var(--radius-control)!important;
}
.public-page .public-kicker {
  font:700 11px/1.4 var(--font-sans)!important;
  letter-spacing:.12em;
  color:#93400e!important;
}
body.admin-page {
  background-color:var(--paper)!important;
  background-image:var(--grain);
  color:var(--ink)!important;
  font-family:var(--font-sans);
}
.admin-page .panel,.admin-page .admin-family-detail,.admin-page .admin-family-row,.payment-return .payment-checkout {
  background-color:var(--white)!important;
  background-image:var(--grain);
  border:1px solid var(--line)!important;
  border-radius: var(--radius-card);
  color:var(--ink);
  box-shadow:var(--shadow);
}
.admin-page h1,.admin-page h2,.admin-page h3,.payment-return h1 {
  font-family:var(--font-serif);
  letter-spacing:.01em;
}
.admin-page h1,.payment-return h1 {
  font-size:clamp(28px,3vw,38px);
  line-height:1.35;
}
.admin-page .panel h2 {
  font-size:24px;
}
.admin-page .panel h3 {
  font-size:22px;
}
.admin-page :where(.muted,footer,.admin-row p,.admin-family-row span,.audit-row time,.admin-family-detail-body p) {
  color:var(--muted)!important;
}
.admin-page :where(.badge,code) {
  background:var(--green-soft)!important;
  color:var(--green)!important;
}
.admin-page :where(.admin-row,.audit-row,.admin-family-detail-body,header) {
  border-color:var(--line)!important;
}
.admin-page button,.admin-page .primary,.admin-page .back {
  min-height:44px;
  border-radius:var(--radius-control);
  background:var(--white);
  color:var(--ink);
  border:1px solid var(--line);
}
.admin-page .primary,.admin-page button.primary {
  background:#1d4639!important;
  border-color:#1d4639!important;
  color:var(--white)!important;
}
.admin-page a.primary,.admin-page .back {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
}
.admin-page label {
  align-content:start;
  gap:7px;
  font-size:13px;
  line-height:21px;
}
.admin-page .admin-family-detail-head button {
  min-height:44px;
}
.payment-return .payment-brand {
  font-family: var(--font-serif);
  font-size:27px;
  letter-spacing:.1em;
  color: var(--coral);
}
.payment-return .payment-actions>button,.payment-return .payment-actions>a {
  min-height:46px;
  border-radius:var(--radius-control);
  border:1px solid var(--line);
  background:var(--white);
  color:var(--ink);

  font: 650 14px/1.5 var(--font-sans);
}
.payment-return .payment-actions>a.primary {
  background:#1d4639!important;
  border-color:#1d4639!important;
  color:var(--white)!important;
}
.payment-return #paymentResult {
  font-size:15px;
  color:var(--muted);
  line-height:1.8;
}
body small {
  font-family:var(--font-sans);
  font-size:12px;
}
body .ops-summary-grid small,body .ops-summary-grid p,.public-page .hero-slide-nav button b,.public-page .hero-slide-nav button span,.public-page .reference-trust-inner span,
.auth-page .registration-step-heading small,.auth-page .auth-role small,.auth-page .journey-art .preview-topline,.public-page .api-status,
body .teacher-directory-verified,body .student-exam li small,.public-page .welfare-photo-copy small {
  font-size:11px!important;
  line-height:1.65;
}
body .app .sidebar .brand>strong {
  font-size:26px!important;
  font-family:var(--font-serif)!important;
  line-height:1.2;
}
body .ops-summary-grid strong em {
  font-family:var(--font-sans)!important;
  font-size:12px!important;
  font-style:normal;
  font-weight:400;
}
body .teacher-directory-card .teacher-directory-main .teacher-directory-title h3 {
  font-family:var(--font-serif)!important;
  font-size:22px!important;
  line-height:1.35;
  font-weight:700;
}
body .public-page .growth-card h3 {
  font-size:22px!important;
  font-family:var(--font-serif)!important;
  font-weight:700;
  line-height:1.35;
}
body .public-page .home-course-lead h3 {
  font-size:30px!important;
}
body .public-page .welfare-photo-copy strong {
  font-family:var(--font-serif)!important;
  font-size:22px!important;
  line-height:1.35;
}
body .public-page .desk-caption button {
  font-size:13px!important;
}
body .public-page .desk-caption button::before,body .public-page .desk-caption button::after {
  content:none!important;
  display:none!important;
}
body.payment-return {
  background-color:var(--paper)!important;
  background-image:var(--grain)!important;
  color:var(--ink)!important;
  font-family: var(--font-sans);

  background: var(--paper);
}
#publicLanding #community .welfare-aside {
  color:#c6d5c8!important;
}
@media(max-width:700px) {
  body .app .sidebar .brand>strong {
    font-size:23px!important;
  }
}
#profileForm .form-grid {
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:22px 24px;
  align-items:start!important;
}
#profileForm .form-grid>.form-field {
  grid-column:span 6;
  display:grid;
  align-content:start!important;
  align-self:start;
  gap:7px;
  min-width:0;
}
#profileForm .form-grid>.form-field.full {
  grid-column:1/-1;
}
#profileForm .form-field:has(#profile-nameInput) {
  grid-column:span 6!important;
  order:-2;
}
#profileForm .form-field:has(#profile-phoneInput) {
  grid-column:span 6!important;
  order:-1;
}
#profileForm .form-field>label {
  margin:0;
  min-height:21px;
  line-height:21px;
  font-size:13px;
  font-weight:650;
}
#profileForm .form-field>input,#profileForm .form-field>select {
  height:48px!important;
  width:100%;
  margin:0!important;
}
.family-panel .family-fields>.score-note-field {
  display:grid;
  gap:7px;
  align-content:start;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
.family-panel .family-fields>.score-note-field>label {
  margin:0;
  line-height:21px;
}
.family-panel .family-fields>.score-note-field textarea {
  min-height:112px!important;
  width:100%;
  margin:0!important;
}
@media(max-width:700px) {
  #profileForm .form-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
  #profileForm .form-grid>.form-field,#profileForm .form-field:has(#profile-nameInput),#profileForm .form-field:has(#profile-phoneInput) {
    grid-column:1/-1!important;
  }
}
.auth-admin-entry {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:44px;
  margin:12px 0 0;
  padding:6px 10px;
  color:var(--muted);
  font:500 12px/1.6 var(--font-sans);
  text-decoration:none;
  border-radius:var(--radius-card);
}
.auth-admin-entry:hover {
  background:var(--paper);
  color:var(--ink);
}
.admin-page .heading>button {
  flex:none;
  white-space:nowrap;
  min-width:70px;
}
.admin-page .heading>div {
  min-width:0;
  flex:1;
}
.admin-page header>span {
  color:var(--muted);
  font-size:12px;
  max-width:none;
  white-space:nowrap;
}
#publicLanding .growth-card,body .teacher-directory-card {
  border-radius:var(--radius-card)!important;
  box-shadow:var(--shadow)!important;
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  #publicLanding .growth-card:hover,body .teacher-directory-card:hover {
    transform:translateY(-6px)!important;
    box-shadow:var(--shadow-lg)!important;
  }
}
.auth-card .auth-role button:not(.active) {
  background:var(--white)!important;
  color:var(--ink)!important;
  border-color:var(--line)!important;
}
.auth-card .auth-role button:not(.active):hover {
  background:var(--paper)!important;
}
body :is(.btn-primary,.public-btn-primary,.public-btn-ghost,.family-primary,.family-secondary,.payment-primary,.auth-submit,.account-onboarding button,.account-empty>button,.account-panel>button:not(.account-task):not(.account-lesson),.family-actions>button,.score-methods button,.security-reveal,.student-course-tabs button) {
  border-radius:var(--radius-control)!important;
}
body .public-page :is(.public-cta button,.public-nav-actions button,.desk-caption button),body .auth-page :is(#registrationNext,.auth-submit) {
  border-radius:var(--radius-control)!important;
}
body :is(.growth-card,.course-option-card,.featured-course-card,.directory-empty,.feature-card,.service-card,.welfare-card) {
  border-radius:var(--radius-card)!important;
}
body :is(.desk-caption,.teacher-detail-grid>div,.score-review,.score-history) {
  border-radius:var(--radius-sub);
}
body :is(.subject-chip,.teacher-directory-tags span,.teacher-detail-grid p span,.comm-status,.course-status,.hero-proof>span,.family-badge,.teacher-directory-badge) {
  border-radius:var(--radius-control)!important;
}
body :is(.auth-tabs button,.auth-role button,.drawer-close,.screen-drawer-close,.v5-toast button,.v5-request-error button,.material-lightbox-close) {
  border-radius:var(--radius-control)!important;
}
body :is(.family-shortcut,.teacher-directory-toolbar,.teacher-status-card,.trial-card,.ops-queue-card,.ops-service-note,.ops-summary-grid>article,.registration-summary,.score-subject-card,.upload-help,.summary-details) {
  border-radius:var(--radius-sub)!important;
}
body :is(button:not(.welfare-story-open):not(.material-thumb):not(.welfare-photo-card>button),[role="button"]):not(.account-task):not(.account-lesson):not(.hero-playback) {
  border-radius:var(--radius-control);
}
body :is(.auth-tabs,.auth-role,.auth-tabs button,.auth-role button,.auth-submit,.drawer-close,.registration-controls button,.public-nav-actions button,.mobile-public-menu,.week-picker button,.day-slots button,.security-reveal,.comm-card button) {
  border-radius:var(--radius-control)!important;
}
body :is(.subject-chip,.teacher-directory-tags span,.teacher-detail-grid p span,.comm-status,.course-status,.hero-proof>span,.family-badge,.teacher-directory-badge,.student-lesson-status,.account-lesson-status) {
  border-radius:var(--radius-tag)!important;
}
body :is(.btn-primary,.family-primary,.family-secondary,.family-actions>button,.auth-submit,.registration-controls button,.public-nav-actions button) {
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
  text-align:center;
  text-wrap:balance;
}
body :is(.btn-primary,.family-primary,.family-secondary,.family-actions>button,.auth-submit,.registration-controls button,.public-nav-actions button)>.inline-arrow {
  flex-shrink:0;
}
body #screenOverlay:not(.workspace-page) {
  background:rgba(22,53,43,.36);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
body #screenOverlay:not(.workspace-page) .screen-drawer {
  --dialog-inset:clamp(20px,3vw,36px);
  padding:0!important;
  overflow:auto;
  isolation:isolate;
  background-color:var(--paper)!important;
  background-image:var(--grain);
  border:0!important;
  border-radius:var(--radius-card)!important;
  box-shadow:var(--shadow-lg)!important;
  animation:none!important;
  transform:none!important;
  scrollbar-gutter:auto;
  overscroll-behavior:contain;
  scroll-padding-block:120px 24px;
}
body #screenOverlay .screen-drawer-head {
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  backface-visibility:visible;
  transform:none;
  isolation:isolate;
}
body #screenOverlay:not(.workspace-page) .screen-drawer-head {
  position:sticky;
  top:0!important;
  z-index:10;
  margin:0!important;
  padding:24px var(--dialog-inset) 22px!important;
  background-color:var(--paper)!important;
  background-image:var(--grain);
  border-radius:0;
  align-items:flex-start;
}
body #screenOverlay:not(.workspace-page) #screenBody {
  padding:0 var(--dialog-inset) var(--dialog-inset);
}
body #screenOverlay.workspace-page .screen-drawer-head {
  background:none!important;
  background-image:none!important;
}
body #screenOverlay:not(.workspace-page) .drawer-close {
  flex:none;
  margin:0;
  min-width:44px;
  min-height:44px;
}
@media(max-width:680px) {
  body #screenOverlay:not(.workspace-page).open {
    padding:8px!important;
    align-items:stretch!important;
  }
  body #screenOverlay:not(.workspace-page) .screen-drawer {
    --dialog-inset:18px;
    inline-size:100%!important;
    max-inline-size:100%!important;
    width:100%!important;
    block-size:calc(100dvh - 16px)!important;
    height:calc(100dvh - 16px)!important;
    max-block-size:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
  }
  body #screenOverlay:not(.workspace-page) .screen-drawer-head {
    padding-block:20px 18px!important;
  }
}

/*  Migrated component rules: frontend/home-v5.css  */
#publicLanding {
  --home-paper: var(--paper);
  --home-sand: var(--sand);
  --home-ink: var(--ink);
  --home-orange: var(--amber-ink);
  --home-serif: var(--font-serif);
  --home-sans: var(--font-sans);
  --home-grain: var(--grain);
  --radius-control: 18px;
  color: var(--home-ink);
  background-color: var(--home-paper);
  background-image: var(--home-grain), radial-gradient(ellipse at 14% 5%, color-mix(in srgb, var(--white) 50.2%, transparent), transparent 65%);
  font-family: var(--home-sans);
}
#publicLanding .public-hero,
#publicLanding .reference-trust,
#publicLanding #services,
#publicLanding #growth {
  background-color: transparent;
  background-image: none;
  border-block: 0;
}
#publicLanding .public-hero h1 {
  font-family: var(--home-serif);
  font-size: clamp(36px, 4.45vw, 64px);
  line-height: 1.23;
  letter-spacing: -.025em;
  font-weight: 700;
}
#publicLanding .public-section h2 {
  font-family: var(--home-serif);
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.35;
  font-weight: 700;
}
#publicLanding .public-hero p,
#publicLanding .public-section .lead {
  font-size: 15px;
  line-height: 1.85;
}
#publicLanding .public-kicker {
  font-size: 11px;
  color: var(--home-orange);
}
#publicLanding .public-section {
  border-top: 0;
  scroll-margin-top: 100px;
}
#publicLanding :is(button, a, summary):focus-visible {
  outline: 3px solid var(--amber-ink);
  outline-offset: 4px;
}
#publicLanding .hero-slide-stage {
  display: grid;
  align-content: start;
  min-height: 0;
  overflow: visible;
}
#publicLanding .hero-slide {
  display: block;
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  filter: none;
  transform: translateY(12px) !important;
  pointer-events: none;
  transition: opacity .52s ease, transform .64s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .52s;
}
#publicLanding .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none !important;
  pointer-events: auto;
  transition: opacity .52s ease, transform .64s cubic-bezier(.22, 1, .36, 1), visibility 0s;
}
#publicLanding .hero-slide h1,
#publicLanding .hero-slide p {
  min-height: 0;
}
#publicLanding .hero-slide-nav {
  gap: 8px;
  flex-wrap: wrap;
}
#publicLanding .hero-slide-nav button span {
  display: inline;
}
#publicLanding .hero-slide-nav button {
  min-height: 44px;
  padding: 9px 10px;
  border-radius: var(--radius-control);
  color: var(--muted);
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
#publicLanding .hero-slide-nav button:hover {
  background: var(--sand);
  color: var(--home-ink);
}
#publicLanding .hero-slide-nav button.is-active {
  color: var(--home-ink);
  background: var(--white);
  border-color: var(--line);
  box-shadow: inset 0 -2px var(--home-orange), 0 3px 12px color-mix(in srgb, var(--ink) 3.1%, transparent);
}
#publicLanding .hero-playback,
#publicLanding .hero-slide-position {
  display: none;
}
#publicLanding #teacherDirectory,
#publicLanding #teacherDirectory.is-empty {
  position: relative;
  isolation: isolate;
  background: none;
  border: 0;
  --home-fade-top: clamp(56px, 6vw, 96px);
  --home-fade-bottom: clamp(64px, 7vw, 112px);
  --home-sand-safe-top: clamp(48px, 4.4vw, 72px);
  --home-sand-safe-bottom: clamp(56px, 4.4vw, 72px);
  padding-block: calc(var(--home-fade-top) + var(--home-sand-safe-top)) calc(var(--home-fade-bottom) + var(--home-sand-safe-bottom));
}
#publicLanding #teacherDirectory::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--home-sand);
  background-image: var(--home-grain);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--home-fade-top), #000 calc(100% - var(--home-fade-bottom)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--home-fade-top), #000 calc(100% - var(--home-fade-bottom)), transparent 100%);
}
#publicLanding #teacherDirectory .section-kicker,
#publicLanding #teacherDirectory #publicTeacherMore {
  color: var(--amber-ink);
}
#publicLanding :is(#services, #teacherDirectory, #growth, #community) .section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--home-orange) !important;
  white-space: nowrap;
  font: 650 12px / 1.6 var(--home-sans);
  letter-spacing: .1em;
  margin: 0 0 12px;
}
#publicLanding :is(#services, #teacherDirectory, #growth, #community) .section-kicker::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  background: none;
  box-shadow: none;
  transform: none;
  margin: 0;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--ink) 30.2%, transparent);
  border-radius: 4px;
  font-size: 10.5px;
  line-height: 1;
  color: color-mix(in srgb, var(--ink) 78.0%, transparent);
  letter-spacing: 0;
}
#publicLanding #services .section-kicker::before {
  content: "一";
}
#publicLanding #teacherDirectory .section-kicker::before {
  content: "二";
}
#publicLanding #growth .section-kicker::before {
  content: "三";
}
#publicLanding #community .section-kicker::before {
  content: "四";
  border-color: color-mix(in srgb, var(--paper) 34.1%, transparent);
  color: color-mix(in srgb, var(--paper) 74.1%, transparent);
}
#publicLanding :is(#services, #teacherDirectory, #growth, #community) .section-kicker::after {
  content: "";
  height: 1px;
  flex: 0 1 clamp(70px, 16vw, 260px);
  background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 34.1%, transparent), color-mix(in srgb, var(--ink) 34.1%, transparent) 34%, transparent);
}
#publicLanding #teacherDirectory .section-kicker {
  color: var(--amber-ink) !important;
}
#publicLanding #services {
  padding-bottom: clamp(60px, 5.2vw, 86px);
}
#publicLanding #growth {
  padding-block: clamp(72px, 6vw, 98px) clamp(56px, 4.8vw, 78px);
}
#publicLanding .public-art {
  border-radius: var(--radius-card);
}
#publicLanding .desk-caption,
#publicLanding .directory-empty {
  background-image: var(--home-grain);
}
#publicLanding .home-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
#publicLanding .home-timeline .home-step {
  position: relative;
  display: block;
  padding: 26px 28px 0 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#publicLanding .home-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  z-index: 1;
  background: var(--home-orange);
  border: 3px solid var(--home-paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--home-orange) 46%, transparent), 0 0 0 4px color-mix(in srgb, var(--home-orange) 5%, transparent);
}
#publicLanding .home-step::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--home-orange) 42%, transparent), color-mix(in srgb, var(--ink) 18%, transparent) 65%);
}
#publicLanding .home-step:last-child::after {
  background: linear-gradient(90deg, color-mix(in srgb, var(--home-orange) 42%, transparent), transparent);
}
#publicLanding .home-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 30px;
}
#publicLanding .home-step-head strong {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--home-orange);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  letter-spacing: .04em;
}
#publicLanding .home-step-duration {
  display: inline-flex;
  padding: 3px 9px;
  font-size: 11px;
  line-height: 1.6;
  border-radius:var(--radius-tag);
  color: var(--home-ink);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  background: var(--white);
}
#publicLanding .home-step h3 {
  font-family: var(--home-serif);
  font-size: 23px;
  line-height: 1.4;
  margin: 14px 0 10px;
}
#publicLanding .home-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 14px;
  max-width: 30em;
}
#publicLanding .home-step-rule {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 10.2%, transparent);
  border-radius: var(--radius-sub);
  background-color: var(--white);
  background-image: var(--home-grain);
}
#publicLanding .home-step-rule small {
  font-size: 11px;
  color: var(--muted);
}
#publicLanding .home-step-rule span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-ink);
  font-weight: 650;
}
#publicLanding .home-timeline-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10.2%, transparent);
}
#publicLanding .home-timeline-actions button {
  min-height: 46px;
  border-radius:var(--radius-control);
}
#publicLanding .home-timeline-actions p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
#publicLanding .learning-banner[hidden] {
  display: none;
}
#publicLanding .growth-heading {
  display: block;
  text-align: left;
}
#publicLanding .growth-heading .lead {
  max-width: 48em;
  margin: 14px 0 0;
}
#publicLanding .home-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
#publicLanding .home-course-grid > .growth-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 188px;
  padding: 24px;
  background-color: var(--white);
  background-image: var(--home-grain);
  border: 1px solid color-mix(in srgb, var(--ink) 7.8%, transparent);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 5px color-mix(in srgb, var(--ink) 1.6%, transparent), 0 14px 32px color-mix(in srgb, var(--ink) 2.4%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
}
#publicLanding .home-course-grid > .home-course-lead {
  grid-row: auto;
  min-height: 0;
  padding: 24px;
  border-radius: var(--radius-card);
}
#publicLanding .home-course-grid .course-art-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
#publicLanding .home-course-grid .growth-icon {
  position: static;
  margin: 0;
  width: 52px;
  height: 52px;
}
#publicLanding .home-course-grid .home-course-lead .growth-icon {
  width: 52px;
  height: 52px;
}
#publicLanding .home-course-grid .course-art-meta {
  position: static;
  margin-left: auto;
}
#publicLanding .home-course-grid .course-status {
  position: static;
  background: var(--sand);
  color: var(--amber-ink);
  font-size: 11px;
}
#publicLanding .home-course-grid h3 {
  font-family: var(--home-serif);
  font-size: 23px;
  line-height: 1.4;
  margin: 14px 0 8px;
}
#publicLanding .home-course-grid .home-course-lead h3 {
  font-size: 23px;
  margin-top: 14px;
}
#publicLanding .home-course-grid p {
  min-height: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 16px;
}
#publicLanding .home-course-grid .home-course-meta {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
}
#publicLanding .home-course-grid .home-course-lead .link {
  margin-top: 0;
}
#publicLanding .home-course-grid .link {
  align-self: flex-start;
  justify-content: center;
  margin-top: auto;
  min-width: 88px;
  min-height: 44px;
  padding: 10px 0;
  color: var(--home-orange);
}
#publicLanding .home-course-more {
  margin-top: 20px;
}
#publicLanding .home-course-more > summary {
  min-height: 44px;
  padding: 12px 0;
  cursor: pointer;
  color: var(--home-orange);
  font-size: 14px;
  font-weight: 650;
}
#publicLanding .home-course-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}
#publicLanding .home-course-more-grid .growth-card {
  min-height: 0;
  border-radius: var(--radius-card);
  background-color: var(--white);
  background-image: var(--home-grain);
}
#publicLanding .home-course-more-grid .link {
  min-width: 88px;
  min-height: 44px;
  justify-content: center;
}
#publicLanding #community {
  background-color: var(--ink);
  background-image: var(--home-grain), radial-gradient(ellipse at 15% 0%, #3c645444, transparent 64%);
  color: var(--paper);
  border-top: 0;
  padding-block: clamp(64px, 5.4vw, 88px);
  box-shadow: 0 -26px 46px -32px color-mix(in srgb, var(--ink) 30.2%, transparent), inset 0 1px color-mix(in srgb, var(--white) 9%, transparent);
}
#publicLanding #community h2,
#publicLanding #community h3,
#publicLanding #community .lead {
  color: var(--paper) !important;
}
#publicLanding #community .section-kicker {
  color: var(--coral) !important;
}
#publicLanding #community .home-welfare-kicker-label {
  display: inline-block;
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--coral);
  background: var(--paper);
  line-height: 1.4;
}
#publicLanding #community .section-kicker::after {
  background: linear-gradient(90deg, color-mix(in srgb, var(--paper) 40.0%, transparent), color-mix(in srgb, var(--paper) 40.0%, transparent) 34%, transparent);
}
#publicLanding #community .welfare-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: clamp(204px, 15.2vw, 228px);
  gap: 14px;
  align-items: stretch;
  margin-top: 26px;
}
#publicLanding #community .welfare-gallery[hidden] {
  display: none;
}
#publicLanding #community .welfare-photo-card {
  position: relative;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--ink) 92%, var(--white));
  overflow: hidden;
  box-shadow: none;
}
#publicLanding #community .welfare-photo-card > button {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: transparent;
  color: var(--paper);
  padding: 0;
  border: 0;
}
#publicLanding #community .welfare-photo-card .media {
  width: 100%;
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--ink) 92%, var(--white));
}
#publicLanding #community .welfare-photo-card:nth-child(4n + 1),
#publicLanding #community .welfare-photo-card:nth-child(4n + 3) {
  grid-row: span 2;
}
#publicLanding #community .welfare-photo-card:only-child {
  grid-column: 1 / -1;
}
#publicLanding #community .welfare-photo-card:nth-child(2):last-child {
  grid-column: span 2;
  grid-row: span 2;
}
#publicLanding #community .welfare-photo-card:nth-child(2):nth-last-child(2) {
  grid-row: span 2;
}
#publicLanding #community .welfare-photo-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 20px 18px;
  margin: 0;
  background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 91%, transparent) 45%);
}
#publicLanding #community .welfare-photo-copy span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#publicLanding #community .welfare-photo-copy :is(small, strong, span, em) {
  color: var(--paper);
}
#publicLanding #community .welfare-photo-copy strong {
  font-family: var(--home-serif);
}
#publicLanding #community .welfare-stories {
  min-height: 44px;
  color: var(--paper);
  border: 1px solid color-mix(in srgb, var(--white) 53%, transparent);
  padding: 10px 18px;
  border-radius:var(--radius-control);
  margin-top: 26px;
}
#publicLanding #community .welfare-story-placeholder {
  background: color-mix(in srgb, var(--ink) 92%, var(--white));
  border: 1px solid color-mix(in srgb, var(--white) 15%, transparent);
  border-radius: var(--radius-card);
  box-shadow: none;
}
#publicLanding #community .welfare-story-placeholder p,
#publicLanding #community .welfare-empty {
  color: var(--paper);
}
#publicLanding #community :is(button, a):focus-visible {
  outline-color: var(--paper) !important;
  outline-offset: -5px;
}
#publicLanding .public-nav {
  background-color: var(--home-paper);
  background-image: var(--home-grain);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#publicLanding .public-links a,
#publicLanding .public-links a:is(:hover, :focus, :active, .home-current) {
  position: relative;
  background: transparent;
  border-radius: var(--radius-control);
  box-shadow: none;
}
#publicLanding .public-links a:is(:hover, .home-current) {
  color: var(--home-orange);
}
#publicLanding .public-links .charity-link:is(:hover, :focus-visible, .home-current) {
  color: var(--green);
}
#publicLanding .public-links .charity-link::after {
  background: var(--green);
}
#publicLanding .public-links a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  background: var(--home-orange);
  border-radius: 1px;
  opacity: 0;
  transition: opacity .18s ease;
}
#publicLanding .public-links a:is(:hover, :focus-visible, .home-current)::after {
  opacity: 1;
}
.home-pointer-glow {
  position: fixed;
  left: 0;
  top: 0;
  --home-glow-size: 640px;
  --home-glow-opacity: 1;
  width: var(--home-glow-size);
  height: var(--home-glow-size);
  margin: calc(var(--home-glow-size) / -2) 0 0 calc(var(--home-glow-size) / -2);
  border-radius: 50%;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  transition: opacity .55s ease;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--coral) 12.9%, transparent), color-mix(in srgb, var(--coral) 0.0%, transparent) 34%), radial-gradient(closest-side, #be682c1f, color-mix(in srgb, var(--coral) 0.0%, transparent) 74%);
  mix-blend-mode: multiply;
  will-change: transform, opacity;
}
.home-pointer-glow.is-on {
  opacity: var(--home-glow-opacity);
}
.home-pointer-glow.is-on.on-card {
  opacity: .5;
}
.home-pointer-glow.on-dark {
  --home-glow-size: 360px;
  --home-glow-opacity: .46;
  mix-blend-mode: screen;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sand) 7%, transparent), transparent 30%), radial-gradient(closest-side, #d6eccc1a, #cee6c400 68%);
}
.home-pointer-glow.is-on.on-dark.on-card {
  opacity: .28;
}
#publicLanding .home-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease var(--home-delay, 0ms), transform .65s cubic-bezier(.22, 1, .36, 1) var(--home-delay, 0ms);
}
#publicLanding .home-reveal.is-visible {
  opacity: 1;
  transform: none;
}
#screenOverlay [data-interest-state="submitting"] {
  cursor: progress;
}
#screenOverlay [data-interest-state="coming_soon"] {
  background: var(--sand);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  #publicLanding .home-course-grid > .growth-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 12px color-mix(in srgb, var(--ink) 3.1%, transparent), 0 24px 48px color-mix(in srgb, var(--ink) 5.1%, transparent);
  }
}
@media (max-width: 900px) {
  #publicLanding .public-hero h1 {
    font-size: clamp(36px, 5.8vw, 52px);
  }
  #publicLanding .home-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-left: 6px;
  }
  #publicLanding .home-timeline .home-step {
    padding: 0 0 0 24px;
  }
  #publicLanding .home-step::before {
    left: -6px;
    top: 9px;
  }
  #publicLanding .home-step::after {
    left: 0;
    right: auto;
    top: 30px;
    bottom: -18px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, color-mix(in srgb, var(--home-orange) 42%, transparent), color-mix(in srgb, var(--ink) 18%, transparent));
  }
  #publicLanding .home-step:last-child::after {
    display: none;
  }
  #publicLanding .home-step h3 {
    margin-top: 9px;
  }
}
@media (max-width: 680px) {
  #publicLanding .public-hero h1 {
    font-size: clamp(32px, 8.8vw, 44px);
    line-height: 1.3;
  }
  #publicLanding .hero-slide-stage {
    min-height: 0;
  }
  #publicLanding .hero-slide p {
    font-size: 14px;
    line-height: 1.8;
  }
  #publicLanding .hero-slide-nav {
    gap: 4px;
  }
  #publicLanding .hero-slide-nav button {
    padding-inline: 7px;
    font-size: 11px;
  }
  #publicLanding .public-section h2 {
    font-size: clamp(28px, 7vw, 34px);
  }
  #publicLanding .home-course-grid {
    grid-template-columns: 1fr;
  }
  #publicLanding .home-course-grid > .home-course-lead {
    grid-row: auto;
    min-height: 0;
    padding: 24px;
  }
  #publicLanding .home-course-grid .home-course-lead .growth-icon {
    width: 52px;
    height: 52px;
  }
  #publicLanding .home-course-grid .home-course-lead h3 {
    font-size: 23px;
    margin-top: 14px;
  }
  #publicLanding .home-course-more-grid {
    grid-template-columns: 1fr;
  }
  #publicLanding #community .welfare-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-auto-rows: 192px;
    gap: 12px;
  }
  #publicLanding #community .welfare-photo-card:nth-child(n) {
    grid-column: auto;
    grid-row: span 2;
  }
  #publicLanding #community .welfare-photo-card:nth-child(3n),
  #publicLanding #community .welfare-photo-card:only-child {
    grid-column: 1 / -1;
  }
  #publicLanding #community .welfare-photo-copy {
    padding: 40px 14px 14px;
  }
  #publicLanding #community .welfare-photo-copy strong {
    font-size: 17px;
  }
  #publicLanding :is(#services, #teacherDirectory, #growth, #community) .section-kicker::after {
    flex-basis: 100px;
  }
}
@media (max-width: 360px) {
  #publicLanding .hero-slide-nav button {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  #publicLanding #community .welfare-gallery {
    grid-template-columns: 1fr;
  }
  #publicLanding #community .welfare-photo-card:nth-child(n) {
    grid-column: 1 / -1;
  }
}
@media (hover: none), (pointer: coarse) {
  .home-pointer-glow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-pointer-glow {
    display: none;
  }
  #publicLanding .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #publicLanding .hero-slide {
    transform: none !important;
    transition: none;
  }
  #publicLanding .home-course-grid > .growth-card:hover {
    transform: none;
  }
}
#publicLanding .home-carousel-ready .hero-slide-stage .hero-slide {
  animation:none!important;
  visibility:visible!important;
  transition:opacity .52s ease,transform .64s cubic-bezier(.22,1,.36,1)!important;
}
#publicLanding .home-carousel-ready .hero-slide-stage .hero-slide:not(.is-active) {
  opacity:0;
  pointer-events:none;
}
#publicLanding .home-carousel-ready .hero-slide-stage .hero-slide.is-active {
  opacity:1;
}
@media(prefers-reduced-motion:reduce) {
  #publicLanding .home-carousel-ready .hero-slide-stage .hero-slide {
    transition:none!important;
  }
}
#publicLanding :is(button, summary, input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-radius: var(--radius-control) !important;
}
#publicLanding button:not(.public-menu-toggle):not(.welfare-photo-card > button) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  max-width: 100%;
}
#publicLanding :is(.public-cta, .public-nav-actions, .home-timeline-actions, .desk-caption) button,
#publicLanding button:has(> .inline-arrow) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  flex-shrink: 0;
}
#publicLanding button > :is(.inline-arrow, [aria-hidden="true"]) {
  margin-inline: 0;
  flex-shrink: 0;
}
#publicLanding #community .welfare-photo-card > button {
  border-radius: inherit !important;
  white-space: normal;
}

/*  Migrated component rules: frontend/components-v5.css  */
.v5-icon[data-i],.nav .v5-icon[data-i],.btn-primary > .v5-icon[data-i],.family-secondary > .v5-icon[data-i] {
  display:inline-block!important;
  inline-size:20px!important;
  block-size:20px!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  flex:0 0 20px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  box-shadow:none!important;
  background:currentColor!important;
  opacity:1!important;
  vertical-align:middle;
  -webkit-mask:var(--m) center/contain no-repeat!important;
  mask:var(--m) center/contain no-repeat!important;
  pointer-events:none;
}
.v5-icon[data-i]::before,.v5-icon[data-i]::after,.btn-primary > .v5-icon[data-i]::before,.btn-primary > .v5-icon[data-i]::after,.family-actions > button > .v5-icon[data-i]::before,.family-actions > button > .v5-icon[data-i]::after {
  content:none!important;
  display:none!important;
  inset:auto!important;
  width:8px!important;
  height:1.5px!important;
  inline-size:8px!important;
  block-size:1.5px!important;
  border:0!important;
  transform:none!important;
  box-shadow:none!important;
  background:none!important;
}
.sidebar .profile-edit.v5-tool {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  font-size:12px;
}
.sidebar .profile-edit.v5-tool::after {
  content:none!important;
  display:none!important;
}
.v5-steps.family-steps,.v5-steps.registration-progress {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  padding:0!important;
  margin:0 0 22px!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.v5-steps > .v5-step {
  display:flex!important;
  align-items:center;
  flex-wrap:wrap;
  gap:8px!important;
  min-width:0;
  padding:12px!important;
  border:1px solid #e3d8c2!important;
  border-radius:var(--radius-control)!important;
  background:#fffdf7!important;
  color:#5d675c!important;
  font-size:13px!important;
  line-height:1.6!important;
  font-weight:650!important;
  white-space:normal!important;
  box-shadow:none!important;
}
.v5-steps > .v5-step[data-step-state="done"] {
  color:#14332a!important;
}
.v5-steps > .v5-step[data-step-state="active"] {
  background:#14332a!important;
  border-color:#14332a!important;
  color:#fffdf7!important;
}
.v5-steps .v5-step-number {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex:0 0 24px!important;
  inline-size:24px!important;
  block-size:24px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#f0ead9!important;
  color:#5d675c!important;
  font:650 12px/1 system-ui!important;
}
.v5-steps [data-step-state="active"] .v5-step-number {
  background:#b04a12!important;
  color:#fffdf7!important;
}
.v5-steps [data-step-state="done"] .v5-step-number {
  background:#e9f0e5!important;
  color:#14332a!important;
}
.v5-steps .v5-step-state {
  font:650 11px/1.5 system-ui!important;
  margin-inline-start:auto;
  color:inherit!important;
  white-space:nowrap;
}
.v5-steps .v5-step-label {
  display:inline!important;
  min-width:0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  color:inherit!important;
  font:inherit!important;
  box-shadow:none!important;
}
.v5-steps i {
  font-style:normal;
  color:inherit!important;
  background:none!important;
}
.v5-review-approved {
  display:inline-flex!important;
  align-items:center;
  gap:6px;
  padding:8px 12px!important;
  min-height:36px;
  background:#e9f0e5!important;
  color:#14332a!important;
  border:1px solid #c7d5c0!important;
  border-radius:var(--radius-card)!important;
  opacity:1!important;
  cursor:default!important;
  font-size:13px;
  font-weight:650;
  box-shadow:none!important;
}
.v5-review-approved::before {
  content:"✓";
}
.v5-toast {
  position:fixed;
  z-index:11000;
  left:var(--toast-center,50%);
  top:max(16px,env(safe-area-inset-top));
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:12px;
  max-width:min(540px,calc(100vw - 32px));
  padding:13px 18px;
  border:1px solid #294b3d;
  border-radius:var(--radius-control);
  background:#14332a;
  color:#fffdf7;
  box-shadow:0 8px 28px #14332a26;
  font:500 14px/1.6 system-ui;
  overflow-wrap:anywhere;
  animation:none!important;
  transition:none!important;
}
.v5-toast[hidden],.v5-feedback-forwarded {
  display:none!important;
}
.v5-toast[data-kind="error"] {
  background:#8c2f10;
  border-color:#8c2f10;
}
.v5-toast button,.v5-request-error button {
  flex:none;
  min-height:44px;
  padding:6px 10px;
  border:1px solid currentColor;
  border-radius:var(--radius-control);
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
}
.v5-toast button:focus-visible,.v5-request-error button:focus-visible {
  outline:3px solid currentColor;
  outline-offset:3px;
}
.v5-request-error {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:10px 12px;
  background:#fff5ef;
  border:1px solid #dcb5a3;
  border-radius:var(--radius-control);
  color:#8c2f10;
  font-size:13px;
  line-height:1.7;
  overflow-wrap:anywhere;
}
@media(max-width:620px) {
  .v5-steps.family-steps,.v5-steps.registration-progress {
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .v5-steps > .v5-step {
    padding:10px 12px!important;
  }
  .v5-toast {
    left:50%!important;
    min-width:min(280px,calc(100vw - 32px));
  }
}
.v5-icon[data-i="home"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207v11h-6v-7H9v7H3Z%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="children"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2021v-3a6%206%200%200%201%2012%200v3m3-14a3%203%200%200%201%200%206m1%203a4%204%200%200%201%202%205%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="scores"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203v18h17M8%2016v-4m5%204V8m5%208V5%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="match"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22m15%2015%206%206M7%2010h6m-3-3v6%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="orders"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12v18l-3-2-3%202-3-2-3%202V3Zm3%204h6m-6%204h6m-6%204h3%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="growth"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021V10m0%206C4%2016%203%209%203%205c6%200%209%203%209%207m0%200c0-6%204-9%209-9%200%206-2%2011-9%2011%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="pairings"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2218%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M12%206h7v6m0-6-5%205M5%2012v6h7m-7%200%205-5%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="review"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202%203%206v6c0%205%209%2010%209%2010s9-5%209-10V6ZM8%2012l3%203%205-6%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="pool"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%229%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M2%2021v-3a6%206%200%200%201%2012%200v3m3-7a4%204%200%200%201%205%204v3%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="followup"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v10H9l-5%204V5Zm4%204h8m-8%203h5%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="refund"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%208a8%208%200%201%201-1%208M5%203v5h5m2%200v10m3-8h-4a2%202%200%200%200%200%204h2a2%202%200%200%201%200%204H9%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="charity"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020%203%2011a5%205%200%200%201%209-5%205%205%200%200%201%209%205Zm0-7v5m-3-2h6%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="profile"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="lock"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V6a4%204%200%200%201%208%200v4m-4%205v2%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="logout"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203H4v18h6m-1-9h12m-4-4%204%204-4%204%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="plus"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204v16M4%2012h16%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="lessons"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h6a4%204%200%200%201%203%202%204%204%200%200%201%203-2h6v15h-6a4%204%200%200%200-3%202%204%204%200%200%200-3-2H3Zm9%202v15%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="binding"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m10%2014%204-4m-6%207-1%201a4%204%200%200%201-6-6l5-5a4%204%200%200%201%206%200m0%2010a4%204%200%200%200%206%200l5-5a4%204%200%200%200-6-6l-1%201%22%2F%3E%3C%2Fsvg%3E");
}
.v5-icon[data-i="trial"] {
  --m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%202v6m10-6v6M3%2010h18m-13%205%202%202%205-5%22%2F%3E%3C%2Fsvg%3E");
}
#authForm:not(.journey-form) .v5-steps.registration-progress {
  display:none!important;
}

/*  Migrated component rules: frontend/material-gallery.css  */
.material-upload-feedback {
  display:block;
  color:#973b2b;
  line-height:1.6;
  margin:6px 0;
}
.material-upload-help {
  display:block;
  line-height:1.7;
  color:var(--muted,#52665c);
  margin:8px 0;
  white-space:normal;
}
.controlled-materials,.material-review-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));
  gap:16px;
}
.controlled-material {
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0;
  padding:12px;
  border:1px solid #d7ded6;
  border-radius:var(--radius-control);
  background:#fff;
}
.controlled-material img {
  display:block;
  width:100%;
  height:150px;
  object-fit:scale-down;
  background:#f3f4ee;
}
.controlled-material figcaption,.controlled-material b {
  overflow-wrap:anywhere;
}
.controlled-material label {
  display:grid;
  gap:4px;
}
.controlled-material input,.controlled-material select,.controlled-material textarea {
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.controlled-material button,.material-upload-task button {
  min-height:44px;
}
.material-status {
  display:block;
  margin-top:4px;
  line-height:1.6;
}
.material-upload-task {
  min-width:0;
  overflow-wrap:anywhere;
  display:grid;
  align-content:start;
  gap:8px;
  padding:12px;
  border:1px solid #d7ded6;
  border-radius:var(--radius-control);
}
.material-upload-task progress {
  width:100%;
  accent-color:#245443;
}
.material-gallery-section {
  margin-top:24px;
}
.material-gallery {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.material-gallery-tile {
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  padding:0;
  border:0;
  border-radius:var(--radius-control);
  background:#e4e9e1;
  text-align:left;
  cursor:pointer;
  min-width:0;
}
.material-gallery-tile img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.material-gallery-tile.is-small img {
  object-fit:scale-down;
}
.material-gallery-tile>span {
  position:absolute;
  inset:auto 0 0;
  display:grid;
  gap:3px;
  padding:20px 12px 12px;
  color:#fff;
  background:linear-gradient(rgba(12,38,28,.92),rgba(12,38,28,.98));
}
.material-gallery-tile>span::before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-24px;
  height:24px;
  background:linear-gradient(transparent,rgba(12,38,28,.92));
  pointer-events:none;
}
.material-gallery-tile b,.material-gallery-tile small {
  color:#fff;
  text-shadow:0 1px 2px #000;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.material-gallery-tile:focus-visible {
  outline:3px solid #245443;
  outline-offset:4px;
}
.material-gallery-empty {
  padding:24px;
  background:#f3f4ee;
  border-radius:var(--radius-sub);
  color:#52665c;
}
.material-gallery-empty p {
  margin-bottom:0;
}
.material-lightbox[open] {
  position:fixed;
  inset:0;
  width:100vw;
  height:100dvh;
  max-width:none;
  max-height:none;
  box-sizing:border-box;
  border:0;
  margin:0;
  padding:60px 20px 20px;
  background:rgba(8,18,14,.96);
  color:#fff;
  display:flex;
  justify-content:center;
  align-items:center;
  overscroll-behavior:contain;
}
.material-lightbox::backdrop {
  background:rgba(0,0,0,.8);
}
.material-lightbox figure {
  margin:0;
  max-width:100%;
  text-align:center;
  pointer-events:auto;
}
.material-lightbox img {
  max-width:94vw;
  max-height:78dvh;
  object-fit:contain;
}
.material-lightbox figcaption {
  padding:12px;
  overflow-wrap:anywhere;
}
.material-lightbox-close {
  position:absolute;
  top:12px;
  right:16px;
  min-width:80px;
  min-height:44px;
  color:#fff;
  background:#214d3d;
  border:1px solid #9fbcaa;
  cursor:pointer;
}
.material-review-panel {
  margin:20px 0;
  padding:16px;
  border:1px solid #d7ded6;
  border-radius:var(--radius-sub);
}
.material-review-grid {
  max-height:640px;
  overflow:auto;
}
.teacher-directory-card .teacher-directory-card-head {
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  align-items:start;
  gap:12px;
  margin:0;
  padding:0;
}
.teacher-directory-card .teacher-directory-card-head .teacher-directory-avatar {
  align-self:start;
  box-sizing:border-box;
  inline-size:58px;
  block-size:58px;
  width:58px;
  height:58px;
  margin:0;
  padding:0;
  flex:none;
}
.teacher-directory-card .teacher-directory-card-head .teacher-directory-title {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  align-content:start;
  gap:6px 8px;
  margin:0;
  padding:0;
  min-width:0;
}
.teacher-directory-card .teacher-directory-card-head .teacher-directory-title h3 {
  margin:0!important;
  padding:0;
}
.teacher-directory-count-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:12px;
  padding:4px 0;
}
.teacher-directory-count-row .teacher-directory-count {
  display:flex;
  align-items:center;
  min-height:44px;
  margin:0;
  line-height:1.5;
}
.teacher-directory-panel .teacher-directory-count-row>label {
  display:flex!important;
  flex-direction:row;
  align-items:center;
  gap:8px;
  min-height:44px;
  margin:0;
}
.teacher-directory-count-row select {
  height:44px;
  min-height:44px;
  max-width:150px;
  margin:0;
}
.teacher-directory-filter>summary {
  cursor:pointer;
  min-height:44px;
  align-content:center;
  font-weight:650;
}
.teacher-directory-filter>summary:focus-visible {
  outline:2px solid #245443;
  outline-offset:4px;
}
@media(min-width:901px) {
  .teacher-directory-filter>summary {
    display:none;
  }
}
@media(max-width:900px) {
  .material-gallery {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .teacher-directory-card .teacher-directory-card-head {
    grid-template-columns:50px minmax(0,1fr);
  }
  .teacher-directory-card .teacher-directory-card-head .teacher-directory-avatar {
    inline-size:50px;
    block-size:50px;
    width:50px;
    height:50px;
  }
  .teacher-directory-filter:not([open])>div {
    display:none;
  }
}
.controlled-material,.material-upload-task,.material-review-panel {
  border-color:var(--line,#e8dcc2);
  background:var(--white,#fffdf7);
  border-radius:var(--radius-control);
}
.controlled-material label {
  color:var(--ink,#16352b);
  font-size:12px;
  font-weight:650;
}
.controlled-material :is(input,select,textarea) {
  color:var(--ink,#16352b);
  background:var(--white,#fffdf7);
  border:1px solid var(--line,#e8dcc2);
  border-radius:var(--radius-control);
  padding:10px 12px;
  min-height:46px;
  font:inherit;
}
.controlled-material button,.material-upload-task button {
  border:1px solid var(--line,#e8dcc2);
  border-radius:var(--radius-control);
  background:var(--paper,#faf6ec);
  color:var(--ink,#16352b);
  font:inherit;
  padding:10px 14px;
  cursor:pointer;
  transition:background .18s ease,transform .18s ease;
}
.controlled-material button:hover,.material-upload-task button:hover {
  background:var(--sand,#e8dcc2);
}
.controlled-material :is(button,input,select,textarea):focus-visible,.material-upload-task button:focus-visible {
  outline:3px solid #93400e;
  outline-offset:3px;
}
.material-status {
  color:var(--muted,#525d52);
}
.material-status.rejected {
  color:#973b2b;
}
.material-lightbox-close {
  border-radius:var(--radius-control);
}

/*  Migrated component rules: frontend/auth-polish.css  */
#authPage {
  --auth-paper: #fffdf7;
  --auth-sand: #eee5d3;
  --auth-line: #ded3bd;
  --auth-ink: #193d32;
  --auth-muted: #52604d;
  --auth-green: #234f3f;
  --radius-control: 18px;
  container: auth-page / inline-size;
  padding: clamp(24px, 3%, 40px) clamp(12px, 3%, 28px) clamp(36px, 4%, 56px);
}
#authPage .auth-brandbar {
  max-width: 1180px;
  min-width: 0;
  margin: 0 auto 26px;
  padding-bottom: 24px;
  gap: 20px;
}
#authPage .auth-layout {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 32px;
  max-width: 1180px;
  margin-inline: auto;
}
#authPage :is(.auth-intro, .auth-card) {
  min-width: 0;
  padding: 36px !important;
  border: 1px solid var(--auth-line) !important;
  border-radius:var(--radius-card)!important;
  background-color: var(--auth-paper) !important;
  background-image: var(--grain), linear-gradient(135deg, #fffdf9, #fcf9f1) !important;
  background-repeat: repeat, no-repeat;
  background-size: 180px 180px, auto;
  box-shadow: 0 12px 36px #584a2a08 !important;
}
#authPage .auth-intro {
  top: 28px;
}
#authPage .auth-card {
  container: auth-form / inline-size;
}
#authPage .auth-intro h1 {
  margin: 22px 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.4;
}
#authPage .auth-intro > p:not(.section-kicker) {
  max-width: 30em;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.95;
}
#authPage .auth-assurance {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
}
#authPage .auth-assurance li {
  min-width: 0;
  line-height: 1.8;
}
#authPage .auth-intro .auth-desk {
  width: 100%;
  height: auto !important;
  max-width: 510px;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 28px auto 0;
  border-radius:var(--radius-card)!important;
  object-fit: contain !important;
}
#authPage .auth-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  margin: 0 0 28px;
}
#authPage .auth-head > div {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-width: 0;
  order: 0;
}
#authPage .auth-head h2 {
  margin: 0 0 10px;
  font-size: 29px;
  line-height: 1.45;
}
#authPage .auth-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
}
#authPage .auth-close {
  grid-column: 2;
  grid-row: 1;
  order: 0;
  align-self: start;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--auth-line);
  border-radius:var(--radius-control)!important;
  background: #f2ecdf;
  color: var(--auth-muted) !important;
  white-space: nowrap;
}
#authPage .auth-tabs {
  display: flex;
  margin-bottom: 24px;

  border-radius: var(--radius-sub) !important;
}
#authPage .auth-tabs button {
  flex: 1 1 0;
  min-width: 0;
  padding: 11px 16px;
  background: transparent !important;
  color: #525e4c !important;
  font-size: 14px;
  line-height: 1.6;
}
#authPage .auth-tabs button.active {
  border-color: #e6dece !important;
  color: var(--auth-ink) !important;
  font-weight: 700;
}
#authPage .auth-role {
  border: 0 !important;

  border-radius: var(--radius-sub) !important;
}
#authPage .auth-role button {
  grid-template-columns: 36px minmax(0, 1fr);
}
#authPage .auth-role button.active {
  border-color: #8caa91 !important;
}
#authPage .auth-role button:not(.active):hover {
  border-color: #b9b99d !important;
}
#authPage .auth-role .role-symbol {
  width: 36px;
  height: 40px;
  border-radius:var(--radius-control);
  background: #e6e9da !important;
  color: var(--auth-ink) !important;
  font-size: 17px;
}
#authPage .auth-role .role-copy {
  min-width: 0;
}
#authPage .auth-role .role-copy b {
  display: block;
  padding-right: 14px;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
#authPage .auth-role button small,
#authPage .auth-role button.active small {
  display: block;
  margin-top: 4px;
  color: #56634f !important;
  font-size: 11px;
  line-height: 1.8;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}
#authPage .auth-role .role-tick {
  position: absolute;
  top: 14px;
  right: 12px;
  margin: 0;
  --check-size: 17px;
  background: var(--auth-green);
  color: var(--auth-paper);
}
#authPage :is(.invite-entry, .student-login-toggle, .auth-admin-entry) {
  min-height: 44px;
  border-radius:var(--radius-control)!important;
  line-height: 1.8;
  white-space: normal;
}
#authPage .invite-entry {
  display: block;
  text-align: start;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
  margin: 0 0 20px;
  padding: 10px 0 16px;
}
#authPage .invite-entry .inline-arrow {
  display: inline-block;
  margin-inline-start: 8px;
  vertical-align: middle;
}
#authPage .student-login-toggle {
  margin: 0 0 10px;
  padding: 8px 0;
}
#authPage #authForm .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  min-width: 0;
}
#authPage #authForm .form-field {
  min-width: 0;
  gap: 10px;
}
#authPage #authForm .form-field label {
  line-height: 1.7;
}
#authPage #authForm .form-field :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #d7cbb5 !important;
  border-radius: 18px !important;
  background-color: #fffefa !important;
  color: var(--auth-ink);
  font-size: 15px;
  line-height: 1.6;
  box-shadow: inset 0 1px 2px #584a2a03 !important;
}
#authPage #authForm .form-field :is(input, textarea)::placeholder {
  color: #5c6654;
  opacity: 1;
}
#authPage #authForm .form-field :is(input, select, textarea):is(:focus, :focus-visible) {
  border-color: #6f9274 !important;
  outline: 3px solid #8ba67d38 !important;
  outline-offset: 2px;
}
#authPage #authForm .form-field select[multiple] {
  min-height: 116px;
  padding: 10px 12px;
}
#authPage #authForm textarea {
  min-height: 120px !important;
  height: auto;
  resize: vertical;
}
#authPage #authForm .form-field small,
#authPage #authForm :is(.upload-help, .registration-phone-note) {
  min-width: 0;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
#authPage #authForm .auto-login-options {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 8px 0 18px;
}
#authPage #authForm :is(.auto-login-option, .security-forgot) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding-block: 8px;
  font-size: 13px;
  line-height: 1.6;
}
#authPage #authForm .security-forgot {
  margin-left: auto;
  border-radius:var(--radius-control)!important;
  color: #3b5c44;
}
#authPage #authForm .auto-login-help {
  margin: -8px 0 20px;
}
#authPage #authForm .auth-submit,
#authPage #authForm #registrationNext {
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid var(--auth-green) !important;
  border-radius:var(--radius-control)!important;
  background: var(--auth-green) !important;
  color: #fffdf7 !important;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 4px 12px #234f3f0c !important;
}
#authPage #authForm :is(.auth-submit, #registrationNext):hover:not(:disabled) {
  border-color: #183d30 !important;
  background: #183d30 !important;
}
#authPage #authForm :is(.auth-submit, #registrationNext):disabled {
  opacity: .55;
  cursor: not-allowed;
}
#authPage #authForm .form-feedback {
  min-width: 0;
  margin: 14px 0 0;
  overflow-wrap: anywhere;
}
#authPage #authForm .form-feedback:empty {
  min-height: 0;
  margin: 0;
}
#authPage #authForm .auth-foot {
  margin: 18px 0 0;
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.85;
}
#authPage #stagingLoginToggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: fit-content;
  min-height: 44px;
  margin: 0 0 8px auto;
  padding: 8px 4px;
  font-size: 14px;
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 4px;
}
#authPage .auth-admin-entry {
  margin: 16px 0 0;
  font-size: 12px;
}
#authPage #authForm.journey-form .registration-progress {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-control) !important;
  background: var(--sand) !important;
  overflow: hidden !important;
  margin-bottom: 26px !important;
}
#authPage .registration-progress > .v5-step {
  align-content: center;
  gap: 6px !important;
  padding: 12px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: var(--grain) !important;
  color: #52604c !important;
  font-size: 12px !important;
}
#authPage .registration-progress > .v5-step[data-step-state="active"] {
  border-color: #a7b99b !important;
  background: var(--auth-green) !important;
  background-image: var(--grain) !important;
  color: #fffdf7 !important;
}
#authPage .registration-progress > .v5-step[data-step-state="done"] {
  border-color: #d1dac4 !important;
  color: #35533b !important;
}
#authPage .registration-progress .v5-step-number {
  flex: 0 0 24px !important;
  background: #e6dcc5 !important;
  color: #53604a !important;
}
#authPage .registration-progress [data-step-state="active"] .v5-step-number {
  background: var(--auth-green) !important;
  color: #fffdf7 !important;
}
#authPage .registration-progress .v5-step-state {
  display: none !important;
}
#authPage .registration-step-heading {
  margin: 0 0 26px;
}
#authPage .registration-step-heading h3 {
  margin: 10px 0;
  font-size: 21px;
  line-height: 1.6;
}
#authPage #authForm .registration-controls {
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5dccb;
}
#authPage #authForm .registration-controls button {
  min-height: 48px;
  max-width: 100%;
  padding: 12px 16px;
  border-radius:var(--radius-control)!important;
  line-height: 1.7;
  white-space: normal;
}
#authPage #authForm #registrationBack {
  border: 1px solid var(--auth-line);
  background: #f2ecdf;
  color: #52634c;
}
#authPage #authForm :is(.subject-chip, .week-picker button, .slot-panel .slot, .sms-send-button, .course-option-toggle) {
  max-width: 100%;
  min-height: 44px;
  border-radius:var(--radius-tag)!important;
  white-space: normal;
  line-height: 1.6;
}
#authPage #authForm .subject-picker,
#authPage #authForm .week-picker {
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
#authPage #authForm .growth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
#authPage #authForm .profile-multi-picker {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e3d9c5;
  border-radius:var(--radius-card)!important;
  background: #f4eedf !important;
  background-image: var(--grain) !important;
}
#authPage #authForm .profile-multi-head {
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.8;
}
#authPage #authForm .profile-choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}
#authPage #authForm .profile-choice {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--auth-line) !important;
  border-radius:var(--radius-control)!important;
  background: #fffefa !important;
  color: var(--auth-ink) !important;
  line-height: 1.7;
}
#authPage #authForm .profile-choice.is-selected {
  border-color: #95ad8c !important;
  background: #e8eedf !important;
  background-image: var(--grain) !important;
  box-shadow: inset 0 0 0 1px #95ad8c28;
}
#authPage #authForm .featured-course-field {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e5d9bf;
  border-radius:var(--radius-card)!important;
  background: #f1e9d6 !important;
  background-image: var(--grain) !important;
}
#authPage #authForm input[type="file"] {
  min-width: 0;
  max-width: 100%;
  border-radius:var(--radius-control)!important;
}
#authPage #authForm input[type="file"]::file-selector-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--auth-line);
  border-radius:var(--radius-control);
  background: #fffdf7;
  color: var(--auth-ink);
}
#authPage #authForm .growth-card {
  min-width: 0;
  height: auto;
  background-image: var(--grain) !important;
  border-radius:var(--radius-card)!important;
  overflow-wrap: anywhere;
}
#authPage #authForm .budget-range {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}
@container auth-page (max-width: 1044px) {
  #authPage .auth-layout {
    gap: 24px;
  }
  #authPage :is(.auth-intro, .auth-card) {
    padding: 28px !important;
  }
  #authPage .auth-role button {
    padding: 14px 12px;
  }
}
@container auth-page (max-width: 924px) {
  #authPage .auth-layout {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
  }
  #authPage .auth-layout > .auth-card {
    order: 0;
    width: 100%;
  }
  #authPage .auth-layout > .auth-intro {
    order: 1;
    position: static;
    width: 100%;
  }
}
@container auth-page (max-width: 704px) {
  #authPage .auth-brandbar {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 18px;
  }
  #authPage .auth-brandbar > span {
    max-width: 15em;
    font-size: 11px;
    line-height: 1.7;
  }
  #authPage :is(.auth-intro, .auth-card) {
    padding: 24px !important;
    border-radius:var(--radius-card)!important;
  }
  #authPage .auth-intro h1 {
    font-size: 32px;
  }
  #authPage .auth-intro .auth-desk {
    max-width: 420px;
  }
  #authPage .auth-head {
    gap: 10px;
    margin-bottom: 24px;
  }
  #authPage .auth-head h2 {
    font-size: 26px;
  }
  #authPage .auth-close {
    padding: 10px;
    font-size: 12px;
  }
  #authPage .auth-role {
    gap: 10px;
  
  border-radius: var(--radius-sub) !important;
}
  #authPage .auth-role button {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px 14px;
  }
  #authPage .auth-role .role-copy b {
    padding-right: 0;
  }
  #authPage #authForm .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  #authPage #authForm .form-field.full {
    grid-column: 1 / -1;
  }
  #authPage #authForm .form-field :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
    font-size: 16px;
  }
  #authPage #authForm.journey-form .registration-progress {
    gap: 0 !important;
  }
  #authPage .registration-progress > .v5-step {
    flex-direction: column;
    align-items: center;
    padding: 12px 6px !important;
    gap: 5px !important;
    text-align: center;
  }
  #authPage .registration-progress .v5-step-state {
    margin: 0 !important;
  }
  #authPage .registration-step-heading h3 {
    font-size: 20px;
  }
  #authPage #authForm .growth-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #authPage #authForm .featured-course-field {
    padding: 16px;
  }
  #authPage #authForm #registrationNext {
    min-width: 128px;
  }
}
@container auth-page (max-width: 356px) {
  #authPage :is(.auth-intro, .auth-card) {
    padding: 20px !important;
  }
  #authPage .auth-head {
    grid-template-columns: minmax(0, 1fr);
  }
  #authPage .auth-close {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }
  #authPage .auth-role button {
    padding: 14px 10px;
  }
  #authPage #authForm .budget-range {
    gap: 6px;
  }
  #authPage #authForm .budget-range input {
    padding-inline: 10px;
  }
  #authPage #authForm .registration-controls {
    gap: 8px;
  }
  #authPage #authForm .registration-controls button {
    padding-inline: 12px;
  }
}
@container auth-form (max-width: 460px) {
  #authPage .auth-role button {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px 14px;
  }
  #authPage .auth-role .role-copy b {
    padding-right: 0;
  }
}
@container auth-form (max-width: 280px) {
  #authPage .auth-role {
    flex-direction: column;
  
  border-radius: var(--radius-sub) !important;
}
  #authPage .auth-role button {
    grid-template-columns: 36px minmax(0, 1fr);
    width: 100%;
    min-height: 88px;
    padding: 14px;
  }
}
#authPage .auth-tabs {
  gap: 0;
  padding: 5px;
  border: 0 !important;
  border-radius: var(--radius-sub) !important;
  background: #e8dcc2 !important;
}
#authPage .auth-tabs button {
  border: 0 !important;
  border-radius:var(--radius-control)!important;
  min-height: 44px;
  box-shadow: none !important;
}
#authPage .auth-tabs button.active {
  background: #fffdf7 !important;
  box-shadow: 0 2px 10px #16352b16 !important;
}
#authPage .auth-role {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 5px;
  margin: 0 0 0 !important;
  border-radius: var(--radius-sub) !important;
  background: #f1e9d8 !important;
}
#authPage .auth-role button {
  display: flex;
  flex: 1 1 0;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  gap: 0;
  padding: 10px 8px;
  border: 0 !important;
  border-radius:var(--radius-control)!important;
  background: #fffdf7 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #52604d !important;
  text-align: center;
}
#authPage .auth-role button.active {
  background: #16352b !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fffdf7 !important;
}
#authPage .auth-role button:not(.active):hover {
  background: #e9e1cf !important;
}
#authPage .auth-role :is(.role-symbol, .role-tick, small) {
  display: none !important;
}
#authPage .auth-role .role-copy b {
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}
#authPage .auth-role-help {
  margin: 9px 4px 22px;
  font-size: 12px;
  line-height: 1.8;
  color: #52604d;
  text-wrap: pretty;
}
#authPage :is(.auth-tabs, .auth-role) button:focus-visible {
  outline: 2px solid #93400e;
  outline-offset: 2px;
}

/*  Migrated component rules: frontend/detail-workspace.css  */
:is(#parentView, #teacherView) .account-columns {
  align-items: start;
}
:is(#parentView, #teacherView) .account-columns > .account-panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 22px 24px;
  overflow-wrap: anywhere;
}
:is(#parentView, #teacherView) .account-columns > .account-panel > * {
  flex-shrink: 0;
}
:is(#parentView, #teacherView) .account-columns > .account-panel > .account-empty {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  border: 0;
}
:is(#parentView, #teacherView) .account-columns > .account-panel > .account-empty h3 {
  margin: 10px 0 8px;
}
:is(#parentView, #teacherView) .account-columns > .account-panel > .account-empty p {
  margin: 0 0 16px;
}
:is(#parentView, #teacherView) .account-columns > .account-panel > .account-empty > button {
  margin-top: 12px;
  max-width: 100%;
  white-space: normal;
}
:is(#parentView, #teacherView) .account-columns > .account-panel > .account-task:last-child,
:is(#parentView, #teacherView) .account-columns > .account-panel > .account-lesson:last-child {
  margin-top: auto;
}
.ops-overview .ops-count,
.ops-overview .has-pending .ops-count {
  color: #93400e;
  background: #f7e9dc;
  border: 1px solid rgba(176, 74, 18, .18);
}
.app .top-actions .notify,
.app .top-actions .notify:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: flex-start;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none;
  color: var(--muted, #6f6a5e) !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.app .top-actions .notify::before {
  content: "" !important;
  display: block !important;
  position: static;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b04a12;
}
.app .top-actions .notify::after {
  content: none !important;
  display: none !important;
}
.app .top-actions .notify[hidden] {
  display: none !important;
}
.app :is(#accountRefresh, #opsOverviewRefresh) {
  padding: 8px 0;
  min-height: 44px;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #93400e;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: normal;
}
.app :is(#accountRefresh, #opsOverviewRefresh):hover:not(:disabled) {
  color: #b04a12;
  text-decoration-thickness: 2px;
}
.app .sidebar .side-bottom .profile-edit.v5-tool {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius:var(--radius-control);
  background: transparent;
  box-shadow: none;
  color: var(--ink, #16352b) !important;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
.app .sidebar .side-bottom .profile-edit.v5-tool:hover {
  background: rgba(22, 53, 43, .05);
}
.app :is(.account-overview, .ops-overview) .summary-details {
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}
.app :is(.account-overview, .ops-overview) .summary-details > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #93400e;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  list-style: none;
}
.app :is(.account-overview, .ops-overview) .summary-details > summary::-webkit-details-marker {
  display: none;
}
.app :is(.account-overview, .ops-overview) .summary-details > summary::after {
  flex: none;
  margin-left: 0;
}
.app :is(.account-overview, .ops-overview) .summary-details > summary:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ops-overview .ops-summary-grid > article {
  background: var(--white, #fffdf7);
  border-color: rgba(22, 53, 43, .09);
}
.ops-overview .ops-summary-grid > article:first-child {
  background: var(--white, #fffdf7);
  border-color: rgba(176, 74, 18, .30);
}
.ops-overview .ops-summary-grid > article > strong {
  color: #93400e;
}
.app :is(#accountRefresh, #opsOverviewRefresh):focus-visible,
.app .sidebar .side-bottom .profile-edit.v5-tool:focus-visible,
.app :is(.account-overview, .ops-overview) .summary-details > summary:focus-visible {
  outline: 3px solid #93400e;
  outline-offset: 3px;
}

/*  Migrated component rules: frontend/detail-forms.css  */
.family-panel .family-steps.v5-steps {
  display: flex !important;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0 !important;
  min-width: 0;
  padding: 5px !important;
  margin: 0 0 44px !important;
  border: 0 !important;
  border-radius: var(--radius-sub) !important;
  background: #efe6d1 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.family-panel .family-steps.v5-steps > .v5-step {
  position: relative;
  display: flex !important;
  flex: 1 1 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: var(--radius-control) !important;
  background: transparent !important;
  color: #52604f !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  box-shadow: none !important;
}
.family-panel .family-steps.v5-steps > .v5-step[data-step-state="active"] {
  background: #16352b !important;
  color: #fff !important;
}
.family-panel .family-steps.v5-steps > .v5-step[data-step-state="done"] {
  color: #16352b !important;
}
.family-panel .family-steps.v5-steps .v5-step-label {
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.family-panel .family-steps.v5-steps .v5-step-number {
  background: rgba(22, 53, 43, .08) !important;
  color: #52604f !important;
}
.family-panel .family-steps.v5-steps [data-step-state="active"] .v5-step-number {
  background: rgba(255, 255, 255, .16) !important;
  color: #fff !important;
}
.family-panel .family-steps.v5-steps [data-step-state="done"] .v5-step-number {
  background: #e2eadb !important;
  color: #16352b !important;
}
.family-panel .family-steps.v5-steps .v5-step-state {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline: 0;
  margin: 0;
  padding: 0;
  color: #52604f !important;
  font: 650 11px/1.5 var(--font-sans, system-ui) !important;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 620px) {
  .family-panel .family-steps.v5-steps > .v5-step {
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px !important;
    padding: 10px 6px !important;
  
  border-radius: var(--radius-control) !important;
}
}
:is(.matching-panel, #profileForm) :is(button.subject-chip, button.profile-choice) {
  border-radius:var(--radius-tag)!important;
}
:is(.matching-panel, #profileForm) :is(button.subject-chip, button.profile-choice):is(.on, .is-selected, [aria-pressed="true"]) {
  background: #16352b !important;
  border-color: #16352b !important;
  color: #fff !important;
  box-shadow: none !important;
}
body .course-status,
body .growth-card .course-status,
body .course-option-card .course-status,
body .featured-course-card .course-status {
  border: 0 !important;
  border-radius:var(--radius-tag)!important;
  background: rgba(22, 53, 43, .06) !important;
  color: #294934 !important;
}
#profileForm :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]), select, textarea):focus {
  border: 1px solid #b84c15 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(184, 76, 21, .14) !important;
}
#profileForm select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%2316352b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px 8px;
  background-position: right 16px center;
  padding-inline-end: 40px;
}
#profileForm :is(input, select, textarea):is([aria-invalid="true"], .is-invalid, :user-invalid) {
  border: 1px solid #a7352b !important;
}
#profileForm :is(input, select, textarea):is([aria-invalid="true"], .is-invalid, :user-invalid):focus {
  border-color: #a7352b !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(167, 53, 43, .14) !important;
}
#scoreForm .family-fields {
  align-items: start !important;
}
#scoreForm .family-fields > .score-note-field {
  align-self: start;
  align-content: start;
  grid-template-rows: minmax(21px, auto) auto auto;
  gap: 7px;
}
#scoreForm .family-fields > .score-note-field > label {
  min-height: 21px;
  margin: 0 !important;
  line-height: 21px;
}
#scoreForm #scoreNotes {
  box-sizing: border-box;
  height: 64px;
  min-height: 64px !important;
  max-height: none;
  resize: vertical;
}
#profileForm .subject-picker > button.subject-chip:is(.on, [aria-pressed="true"]) {
  background: #16352b !important;
  border-color: #16352b !important;
  color: #fff !important;
  box-shadow: none !important;
}
#profileForm .subject-picker > button.subject-chip.on::after {
  color: #fff !important;
}

/*  Migrated component rules: frontend/workspace-navigation.css  */
.app #nav.merged-nav {
  display:flex;
  flex-direction:column;
  gap:5px;
}
.app #nav.merged-nav>button {
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  min-height:47px;
  height:auto;
  margin:0;
  padding:12px 13px;
  border-radius:var(--radius-control);
  text-align:left;
}
.workspace-nav-label {
  flex:1;
  min-width:0;
}
.workspace-nav-count {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:var(--radius-control);
  background:#f9e5d4;
  color:#913b13;
  font:inherit;
  font-size:11px;
  font-weight:650;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
  flex-shrink:0;
}
#nav button.active .workspace-nav-count {
  background:#f6ddc4;
  color:#74320f;
}
#workspaceTabs {
  margin:0 0 24px;
  min-width:0;
}
#workspaceTabs[hidden] {
  display:none;
}
.workspace-tab-track {
  display:flex;
  gap:4px;
  align-items:stretch;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  max-width:100%;
  padding:5px;
  border:1px solid #e5e1d7;
  border-radius:var(--radius-control);
  background:#eeece3;
  scrollbar-width:thin;
}
.workspace-tab-track>button {
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  flex:1 0 auto;
  min-height:44px;
  border:0;
  border-radius:var(--radius-control);
  background:transparent;
  color:#46534a;
  padding:10px 18px;
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
  cursor:pointer;
}
.workspace-tab-track>button.active {
  background:#fffdf7;
  color:#16352b;
  box-shadow:0 2px 6px #19372b0a;
}
.workspace-tab-track>button:hover {
  color:#9c431b;
}
.workspace-tab-track>button:focus-visible,.workspace-review-switch>button:focus-visible {
  outline:2px solid #a74517;
  outline-offset:1px;
}
.workspace-review-switch {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}
.workspace-review-switch>button {
  display:flex;
  align-items:center;
  gap:6px;
  border:0;
  background:transparent;
  color:#93401c;
  min-height:44px;
  padding:8px 4px;
  font-weight:650;
  cursor:pointer;
}
.workspace-review-switch>button[aria-current] {
  text-decoration:underline;
  text-underline-offset:6px;
}
.teacher-match-foot .family-actions {
  margin:0;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
@media(max-width:760px) {
  .app .sidebar.menu-open #nav.merged-nav {
    display:flex;
    flex-direction:column;
  }
  .app #nav.merged-nav>button {
    min-height:47px;
  }
  .workspace-tab-track>button {
    padding:10px 12px;
    font-size:12px;
  }
  .workspace-tab-track {
    border-radius:var(--radius-control);
  }
  #workspaceTabs {
    margin-bottom:20px;
  }
  .teacher-match-foot {
    align-items:flex-start;
    gap:12px;
  }
  .teacher-match-foot .family-actions {
    width:100%;
  }
}
@media(max-width:760px) {
  .app .sidebar:not(.menu-open) #nav.merged-nav {
    display:none;
  }
}

.workspace-review-tab, .workspace-review-segments {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.workspace-review-tab > button, .workspace-review-segments > button {
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--muted);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.workspace-review-tab > button.active {
  background: var(--action-fill, #234f3f);
  color: var(--action-text, #fffdf7);
}
.workspace-review-segments {
  padding: 2px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}
.workspace-review-segments > button[aria-pressed=true] {
  background: var(--green-soft);
  color: var(--ink);
}
.workspace-review-segments > button:focus-visible,
.workspace-review-tab > button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -2px;
}
/*  Migrated component rules: frontend/teacher-consultation.css  */
.tc-root {
  --tc-muted:#536052;
  --tc-line:#d9d3c1;
  --tc-wait:#93400e;
  max-width:1180px;
  margin:0 auto;
  color:var(--ink,#16352b);
  font:14px/1.75 var(--font-sans,sans-serif);
  overflow-wrap:anywhere;
}
.tc-root * {
  box-sizing:border-box;
}
.tc-root [hidden] {
  display:none!important;
}
.tc-root h2,.tc-root h3,.tc-root p,.tc-root ol,.tc-root dl,.tc-root blockquote {
  margin:0;
}
.tc-root h2 {
  font:700 21px/1.4 var(--font-serif,serif);
  color:var(--ink,#16352b);
}
.tc-root button,.tc-root textarea,.tc-root select {
  font:inherit;
  color:inherit;
}
.tc-root button {
  cursor:pointer;
  min-height:44px;
  touch-action:manipulation;
}
.tc-root button:disabled {
  cursor:wait;
  opacity:.65;
}
.tc-root button:focus-visible,.tc-root textarea:focus,.tc-root select:focus {
  outline:0 solid transparent!important;
  border-color:var(--coral,#b04a12)!important;
  box-shadow:0 0 0 3px #b04a1229;
  outline-offset:0;
}
.tc-root .v5-icon {
  flex-shrink:0;
}
.tc-notice {
  min-height:1px;
  margin:0 0 12px!important;
  color:var(--tc-muted);
  white-space:pre-wrap;
}
.tc-notice:empty {
  margin:0!important;
}
.tc-notice:not(:empty) {
  padding:12px 16px;
  border:1px solid var(--tc-line);
  border-radius:var(--radius-sub);
  background:var(--white,#fffdf7);
}
.tc-notice.tc-error {
  color:#8e330c;
  border-color:#b04a1259;
  background:#fff0df;
}
.tc-loading,.tc-empty {
  padding:40px 24px;
  text-align:center;
  color:var(--tc-muted);
}
.tc-empty h2 {
  margin-bottom:10px;
}
.tc-empty p {
  margin-bottom:16px;
}
.tc-toolbar,.tc-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.tc-toolbar {
  margin-bottom:18px;
  min-width:0;
}
.tc-actions {
  justify-content:flex-start;
}
.tc-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--tc-line);
  border-radius:var(--radius-control);
  padding:9px 18px;
  background:var(--white,#fffdf7);
  font-weight:650!important;
  line-height:1.5;
  text-decoration:none;
}
.tc-button.tc-primary {
  background:var(--ink,#16352b);
  color:var(--white,#fffdf7);
  border-color:var(--ink,#16352b);
}
.tc-button:hover {
  filter:brightness(.97);
}
.tc-link {
  padding:8px 4px;
  border:1px solid transparent;
  background:transparent;
  color:var(--coral,#b04a12)!important;
  text-decoration:underline;
  text-underline-offset:4px;
}
.tc-segments {
  display:flex;
  gap:0;
  padding:4px;
  background:var(--sand,#e8dcc2);
  border:1px solid var(--tc-line);
  border-radius:var(--radius-card);
  min-width:min(100%,300px);
  max-width:100%;
}
.tc-segments button {
  flex:1;
  padding:6px 16px;
  border:1px solid transparent;
  border-radius:var(--radius-control);
  background:transparent;
  font-weight:650;
  white-space:nowrap;
}
.tc-segments button[aria-pressed=true] {
  background:var(--white,#fffdf7);
  box-shadow:0 2px 8px #16352b16;
}
.tc-card {
  border:1px solid var(--tc-line);
  border-radius:var(--radius-card);
  background:var(--white,#fffdf7);
  box-shadow:0 8px 28px #16352b06;
  min-width:0;
}
.tc-list {
  display:grid;
  gap:12px;
}
.tc-list-item {
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:20px 22px;
  text-align:left;
  width:100%;
  color:var(--ink,#16352b);
  transition:box-shadow .15s;
}
.tc-list-item:hover {
  box-shadow:0 10px 24px #16352b12;
}
.tc-avatar {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:var(--radius-control);
  background:var(--green-soft,#edf1e5);
}
.tc-item-copy,.tc-item-side {
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
.tc-item-copy strong {
  font:700 18px/1.5 var(--font-serif,serif);
}
.tc-item-copy>span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--tc-muted);
  font-weight:400;
}
.tc-item-copy small,.tc-item-side small {
  font-size:12px;
  color:var(--tc-muted);
  font-weight:400;
}
.tc-item-side {
  align-items:flex-end;
}
.tc-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:650;
  padding:4px 11px;
  border-radius:var(--radius-tag);
  white-space:nowrap;
}
.tc-badge:before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
}
.tc-live {
  background:var(--ink,#16352b);
  color:#fffdf7;
}
.tc-wait {
  background:#f7e9dc;
  color:var(--tc-wait);
}
.tc-done {
  background:#ecede5;
  color:#536052;
}
.tc-more {
  text-align:center;
  margin:20px 0;
}
.tc-layout {
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:20px;
  align-items:start;
}
.tc-context-card {
  padding:24px;
}
.tc-eyebrow {
  font-size:11px;
  font-weight:700;
  color:var(--coral,#b04a12);
  letter-spacing:.1em;
  margin-bottom:8px!important;
}
.tc-context-card>p:not(.tc-eyebrow) {
  color:var(--tc-muted);
  margin-top:8px;
  font-size:13px;
}
.tc-context {
  margin-top:18px!important;
}
.tc-context>div {
  border-top:1px solid var(--tc-line);
  padding:10px 0;
}
.tc-context dt {
  font-size:12px;
  color:var(--tc-muted);
}
.tc-context dd {
  margin:3px 0 0;
  white-space:pre-wrap;
}
.tc-quota {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 0;
  border-block:1px solid var(--tc-line);
}
.tc-quota b {
  font-size:18px;
}
.tc-expiry {
  font-size:12px;
}
.tc-small {
  font-size:12px;
  line-height:1.8;
  color:var(--tc-muted);
}
.tc-chat {
  display:flex;
  flex-direction:column;
  overflow:clip;
}
.tc-chat-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:20px 24px;
  border-bottom:1px solid var(--tc-line);
}
.tc-chat-head h2 {
  font-size:20px;
}
.tc-safety {
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 24px;
  background:#f4ecdc;
  font-size:12px;
  color:#55584b;
}
.tc-messages {
  display:flex;
  flex-direction:column;
  gap:18px;
  list-style:none;
  padding:24px!important;
  min-height:180px;
}
.tc-message {
  align-self:flex-start;
  max-width:84%;
  border:1px solid var(--tc-line);
  border-radius:18px 18px 18px 6px;
  padding:12px 16px;
  background:var(--paper,#faf6ec);
  white-space:pre-wrap;
}
.tc-message.tc-mine {
  align-self:flex-end;
  border-color:var(--ink,#16352b);
  border-radius:18px 18px 6px 18px;
  background:var(--ink,#16352b);
  color:#fffdf7;
}
.tc-message-meta {
  font-size:12px;
  font-weight:650;
  margin-bottom:5px;
}
.tc-message p {
  font-size:14px;
  line-height:1.8;
}
.tc-message time {
  display:block;
  font-size:11px;
  margin-top:7px;
}
.tc-message small {
  display:block;
  font-size:12px;
  margin-top:7px;
}
.tc-message .tc-button {
  margin-top:9px;
}
.tc-message.tc-undelivered {
  border:1px dashed #b04a12;
  background:#f7e9dc;
  color:#69390f;
}
.tc-send-state {
  padding:12px 24px;
  color:var(--tc-muted);
  font-size:13px;
  background:#f4f3eb;
}
.tc-send-state p {
  margin-top:6px;
}
.tc-composer {
  padding:16px 24px 20px;
  background:var(--white,#fffdf7);
  border-top:1px solid var(--tc-line);
}
.tc-presets {
  display:flex;
  gap:8px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  padding:4px 3px 10px;
  scroll-padding-inline:4px;
}
.tc-presets button {
  flex:0 0 auto;
  min-height:44px;
  border:1px solid var(--tc-line);
  border-radius:var(--radius-control);
  background:var(--white,#fffdf7);
  padding:8px 13px;
  font-size:13px;
  font-weight:650;
}
.tc-root label {
  display:block;
  font-size:13px;
  font-weight:650;
  margin-bottom:7px;
}
.tc-root textarea {
  display:block;
  width:100%;
  min-height:90px;
  resize:vertical;
  padding:12px 14px;
  border:1px solid var(--tc-line);
  border-radius:var(--radius-control);
  background:var(--white,#fffdf7);
  line-height:1.65;
  white-space:pre-wrap;
}
.tc-root textarea[aria-invalid=true] {
  border-color:#b04a12;
}
.tc-root textarea::placeholder {
  color:#677160;
  opacity:1;
}
.tc-compose-foot {
  display:flex;
  gap:16px;
  justify-content:space-between;
  align-items:flex-start;
  margin-top:12px;
}
.tc-compose-foot>span {
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.tc-compose-foot small,.tc-compose-foot output {
  font-size:12px;
  color:var(--tc-muted);
}
.tc-compose-foot .tc-button {
  flex-shrink:0;
}
.tc-cta {
  padding:18px 24px;
  background:var(--green-soft,#edf1e5);
  border-top:1px solid var(--tc-line);
}
.tc-cta p {
  font-size:13px;
  margin-bottom:10px;
}
.tc-end {
  padding:12px 24px;
}
.tc-end textarea {
  margin-bottom:10px;
}
.tc-end .tc-button {
  margin:8px 8px 0 0;
}
.tc-first {
  padding:28px;
  max-width:760px;
  margin:0 auto;
}
.tc-first>p {
  margin-top:12px;
}
.tc-first .tc-composer {
  padding:20px 0 0;
  margin-top:20px;
}
.tc-first h2 {
  font-size:26px;
}
.tc-round-label {
  display:flex!important;
  align-items:center;
  gap:8px;
  margin:0!important;
}
.tc-round-label select {
  min-height:44px;
  border:1px solid var(--tc-line);
  border-radius:var(--radius-control);
  background:var(--white,#fffdf7);
  padding:6px 10px;
}
.tc-review-item {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
  padding:22px;
}
.tc-review-item h2 {
  font-size:18px;
}
.tc-review-body {
  white-space:pre-wrap;
  margin-top:8px!important;
}
.tc-rules {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:10px 0;
}
.tc-rules span {
  font-size:12px;
  border:1px solid #b04a1250;
  color:#93400e;
  border-radius:6px;
  padding:3px 9px;
  background:#f7e9dc;
}
.tc-review-detail {
  padding:24px;
}
.tc-review-detail>p {
  margin:10px 0;
}
.tc-review-detail blockquote {
  white-space:pre-wrap;
  border-left:3px solid #b04a12;
  background:#f7e9dc;
  padding:14px;
  margin:16px 0;
}
.tc-review-detail .tc-actions {
  margin-top:16px;
}
.tc-review-detail [data-tc-block] {
  margin-top:16px;
  border-top:1px solid var(--tc-line);
  padding-top:14px;
}
@media(max-width:760px) {
  .tc-root {
    font-size:14px;
  }
  .tc-toolbar {
    gap:8px;
  }
  .tc-segments {
    min-width:0;
    flex:1;
  }
  .tc-segments button {
    padding:6px 12px;
  }
  .tc-layout {
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  .tc-context-card {
    padding:18px;
  }
  .tc-context-card h2 {
    font-size:19px;
  }
  .tc-context {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 14px;
  }
  .tc-context>div {
    min-width:0;
  }
  .tc-quota {
    flex-direction:row;
    gap:16px;
    flex-wrap:wrap;
  }
  .tc-context-card>.tc-small {
    display:none;
  }
  .tc-list-item {
    grid-template-columns:38px minmax(0,1fr);
    gap:10px;
    padding:18px;
    border-radius:var(--radius-card);
  }
  .tc-avatar {
    width:38px;
    height:38px;
    border-radius:var(--radius-control);
  }
  .tc-item-copy strong {
    font-size:17px;
  }
  .tc-item-side {
    grid-column:2;
    flex-direction:row;
    align-items:center;
    flex-wrap:wrap;
  }
  .tc-chat {
    border-radius:var(--radius-card);
    overflow:visible;
  }
  .tc-chat-head {
    padding:18px;
  }
  .tc-chat-head h2 {
    font-size:18px;
  }
  .tc-safety {
    padding:10px 18px;
  }
  .tc-messages {
    padding:18px!important;
  }
  .tc-message {
    max-width:92%;
  }
  .tc-send-state {
    padding:12px 18px;
  }
  .tc-composer {
    position:sticky;
    bottom:0;
    z-index:3;
    padding:12px 14px max(14px,env(safe-area-inset-bottom));
    box-shadow:0 -5px 15px #16352b08;
  }
  .tc-presets {
    padding-bottom:9px;
  }
  .tc-compose-foot {
    gap:8px;
    align-items:center;
  }
  .tc-compose-foot .tc-button {
    padding:10px 12px;
  }
  .tc-compose-foot small {
    font-size:11px;
  }
  .tc-cta {
    padding:16px 18px;
  }
  .tc-cta .tc-actions {
    gap:8px;
  }
  .tc-end {
    padding:10px 18px;
  }
  .tc-first {
    padding:20px;
    border-radius:var(--radius-card);
  }
  .tc-first .tc-composer {
    position:static;
    box-shadow:none;
    padding-inline:0;
  }
  .tc-review-item {
    grid-template-columns:1fr;
    padding:18px;
    gap:12px;
  }
  .tc-review-item>.tc-button {
    justify-self:start;
  }
  .tc-review-detail {
    padding:18px;
  }
  .tc-review-detail .tc-messages {
    padding-inline:0!important;
  }
  .tc-toolbar>.tc-actions {
    gap:8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .tc-root * {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}
.tc-root .tc-segments button {
  border-radius:var(--radius-control)!important;
}
.tc-root .tc-presets button {
  border-radius:var(--radius-control)!important;
}
.tc-root .tc-list-item {
  border-radius:var(--radius-card)!important;
}
.tc-root textarea {
  font-size:16px!important;
}
@media(max-width:760px) {
  .tc-root .tc-list-item {
    border-radius:var(--radius-card)!important;
  }
  .tc-root .tc-chat {
    overflow:hidden;
    max-height:calc(100svh - 16px);
  }
  .tc-root .tc-chat>.tc-messages {
    flex:1 1 200px;
    min-height:100px;
    overflow-y:auto;
    overscroll-behavior-y:contain;
  }
  .tc-root .tc-chat>:not(.tc-messages) {
    flex-shrink:0;
  }
}
.tc-root:focus {
  outline:0;
}
.tc-root .tc-context-card h2 {
  font-size:24px;
}
.tc-root .tc-item-copy strong {
  font-size:20px;
}
.tc-root .tc-chat-head h2 {
  font-size:23px;
}
.tc-root .tc-quota {
  font-size:14px;
}
.tc-root .tc-quota b {
  font-size:22px;
}
.tc-root .tc-badge {
  font-size:13px;
}
.tc-root .tc-send-state:empty {
  display:none;
}
.tc-rules-note {
  border-bottom:1px solid var(--tc-line);
  background:#f4ecdc;
  padding:0 24px;
  color:#536052;
}
.tc-rules-note summary {
  display:flex;
  gap:8px;
  align-items:center;
  min-height:44px;
  cursor:pointer;
  font-size:13px;
}
.tc-rules-note summary:after {
  content:"展开";
  margin-left:auto;
  font-size:12px;
}
.tc-rules-note[open] summary:after {
  content:"收起";
}
.tc-rules-note p {
  padding:0 0 14px;
  font-size:13px;
  line-height:1.8;
}
.tc-first>.tc-rules-note {
  margin-top:16px;
  border:1px solid var(--tc-line);
  border-radius:var(--radius-control);
  padding-inline:14px;
}
@media(max-width:760px) {
  .tc-rules-note {
    padding-inline:18px;
  }
  .tc-root .tc-chat-head h2 {
    font-size:21px;
  }
  .tc-root .tc-item-copy strong {
    font-size:19px;
  }
  .tc-root .tc-chat>.tc-messages {
    min-height:140px;
  }
}

/* Conversation history and background scroll while the reply remains visible. */
.tc-layout[data-tc-conversation] {
  height: var(--tc-available-height, 520px);
  align-items: stretch;
  min-height: 0;
}
.tc-context-card > summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 650;
}
.tc-context-body > p { margin-top: 8px; }
.tc-layout[data-tc-conversation] > .tc-context-card {
  min-height: 0;
  overflow-y: auto;
}
.tc-layout[data-tc-conversation] > .tc-chat {
  height: 100%;
  max-height: none;
  min-height: 0;
  overflow: hidden;
}
.tc-chat-scroll {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}
.tc-root .tc-chat-scroll > .tc-messages { min-height: 0; }
.tc-layout[data-tc-conversation] .tc-composer {
  position: static;
  flex: 0 0 auto;
}
.tc-layout[data-tc-conversation] textarea {
  min-height: 72px;
  max-height: 140px;
}
#demandForm .matching-featured-courses > summary {
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-weight: 650;
}
@media (min-width: 721px) {
  .tc-context-card > summary { display: none; }
}
@media (max-width: 720px) {
  .tc-layout[data-tc-conversation] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
  }
  .tc-layout[data-tc-conversation] > .tc-context-card {
    padding: 0 16px;
    max-height: 160px;
  }
  .tc-context-body { padding-block: 8px 16px; }
}

/*  Migrated component rules: frontend/home-proof.css  */
#publicLanding .reference-trust {
  width: 100%;
  margin-inline: 0;
  background-color: var(--white, #fffdf7);
  background-image: var(--home-grain, var(--grain, none));
  border-block: 1px solid var(--line, #e6dccb);
  color: var(--home-ink, var(--ink, #16352b));
}
#publicLanding .reference-trust-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: calc(100% - 48px);
  max-width: 1200px;
  margin-inline: auto;
}
#publicLanding .reference-trust-inner > div {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  gap: clamp(10px, 1.1vw, 18px);
  padding: 26px 16px;
  border: 0;
}
#publicLanding .reference-trust-inner > div + div {
  border-inline-start: 1px solid var(--line, #e6dccb);
}
#publicLanding .reference-trust-inner > div > strong {
  flex: 0 0 auto;
  font-family: var(--home-serif, var(--font-serif, "Songti SC", "STSong", serif));
  font-size: clamp(36px, 3.2vw, 46px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
  white-space: nowrap;
  color: inherit;
}
#publicLanding .reference-trust-inner > div > span {
  min-width: 0;
  font-family: var(--home-sans, var(--font-sans, sans-serif));
  font-size: 14px !important;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted, #5d675c);
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  #publicLanding .reference-trust-inner > div {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 22px 10px;
    text-align: center;
  }
}
@media (max-width: 640px) {
  #publicLanding .reference-trust-inner {
    width: calc(100% - 24px);
  }
  #publicLanding .reference-trust-inner > div {
    gap: 7px;
    padding: 22px 6px;
  }
  #publicLanding .reference-trust-inner > div > strong {
    font-size: clamp(30px, 7.5vw, 36px);
  }
  #publicLanding .reference-trust-inner > div > span {
    font-size: 12px !important;
    line-height: 1.7;
  }
}

/*  Migrated component rules: frontend/communication-polish.css  */
#communicationRoot #communicationStatus:empty {
  display:none;
}
#communicationRoot .comm-top {
  padding:4px;
  gap:14px;
  margin-bottom:20px;
  overflow:visible;
}
#communicationRoot .comm-top>label {
  min-width:0;
  flex:1 1 240px;
}
#communicationRoot .comm-top>button {
  flex-shrink:0;
}
#communicationRoot .comm-context {
  padding:24px 28px;
  border:1px solid var(--line,#e5dccb);
  border-radius:var(--radius-card);
  background:var(--white,#fffdf7);
  margin:0 0 28px;
}
#communicationRoot .comm-context h2 {
  line-height:1.45;
  margin:0 0 10px;
}
#communicationRoot .comm-context p {
  margin:0;
  line-height:1.8;
}
#communicationRoot :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus {
  outline:0!important;
  outline-offset:0!important;
  border-width:1px!important;
  border-color:#bf7548!important;
  box-shadow:0 0 0 3px rgba(199,126,76,.15)!important;
}
#communicationRoot :is(button,summary):focus-visible {
  outline:2px solid #a74517;
  outline-offset:2px;
}
@media(max-width:760px) {
  #communicationRoot .comm-context {
    padding:20px;
    border-radius:var(--radius-card);
  }
  #communicationRoot .comm-top {
    align-items:stretch;
  }
  #communicationRoot .comm-top>label {
    flex-basis:100%;
    min-width:0;
  }
  #communicationRoot .comm-top>button {
    align-self:flex-start;
  }
  #communicationRoot .comm-context h2 {
    font-size:25px;
  }
}
#communicationRoot select {
  -webkit-appearance:none;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%2316352b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-size:12px 8px;
  background-position:right 16px center;
  padding-inline-end:40px;
}

/*  Migrated component rules: frontend/form-controls.css  */
body input[type="file"],
body #authPage #authForm input[type="file"],
body #profileForm input[type="file"] {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 56px !important;
  max-height: none !important;
  padding: 5px !important;
  line-height: 1.5 !important;
  font-size: 14px !important;
  border: 1px solid var(--line, #cfc5b2) !important;
  border-radius:var(--radius-control)!important;
  background: var(--white, #fffdf7) !important;
  color: var(--ink, #16352b) !important;
  box-shadow: none !important;
}
body input[type="file"]::file-selector-button,
body #authPage #authForm input[type="file"]::file-selector-button,
body #profileForm input[type="file"]::file-selector-button {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 44px !important;
  max-height: none !important;
  margin: 0 10px 0 0 !important;
  padding: 10px 14px !important;
  border: 1px solid var(--line, #cfc5b2) !important;
  border-radius:var(--radius-control)!important;
  background: var(--white, #fffdf7) !important;
  color: inherit !important;
  font: inherit !important;
  line-height: 1.5 !important;
  vertical-align: middle;
  cursor: pointer;
}
body input[type="checkbox"],
body #profileForm input[type="checkbox"],
body #authForm .auto-login-option input#autoLogin,
body .comm-root .comm-check input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  position: static !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #687767 !important;
  border-radius: 4px !important;
  background: #fffdf7 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  clip: auto !important;
  clip-path: none !important;
  vertical-align: middle;
  cursor: pointer;
}
body input[type="checkbox"]:checked,
body #profileForm input[type="checkbox"]:checked,
body #authForm .auto-login-option input#autoLogin:checked,
body .comm-root .comm-check input[type="checkbox"]:checked {
  border-color: #344e3b !important;
  background: #344e3b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m4 10 4 4 8-9'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
}
body input[type="checkbox"]:indeterminate,
body #profileForm input[type="checkbox"]:indeterminate,
body #authForm .auto-login-option input#autoLogin:indeterminate,
body .comm-root .comm-check input[type="checkbox"]:indeterminate {
  border-color: #344e3b !important;
  background: #344e3b linear-gradient(#fff, #fff) center / 10px 2px no-repeat !important;
}
body label:has(input[type="checkbox"]) {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  min-height: 44px !important;
  min-width: 44px;
  cursor: pointer;
}
body input[type="file"]:focus-visible,
body input[type="checkbox"]:focus-visible,
body #profileForm input[type="file"]:focus-visible,
body #authForm .auto-login-option input#autoLogin:focus-visible,
body .comm-root .comm-check input[type="checkbox"]:focus-visible {
  outline: 3px solid #b84c15 !important;
  outline-offset: 3px !important;
}
body input[type="file"]:disabled,
body input[type="checkbox"]:disabled,
body #profileForm input[type="checkbox"]:disabled,
body #authForm .auto-login-option input#autoLogin:disabled,
body .comm-root .comm-check input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: .6 !important;
}
@media (forced-colors: active) {
  body input[type="checkbox"],
  body #profileForm input[type="checkbox"],
  body #authForm .auto-login-option input#autoLogin,
  body .comm-root .comm-check input[type="checkbox"] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    background: revert !important;
    border-color: ButtonText !important;
  }
}

/*  Migrated component rules: frontend/subject-controls.css  */
body :is(.subject-picker,.matching-subjects) {
  gap:10px;
}
body :is(.subject-picker,.matching-subjects)>button.subject-chip,
body #profileForm .subject-picker>button.subject-chip {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  flex:0 0 auto;
  min-width:68px!important;
  min-height:48px!important;
  height:auto!important;
  max-width:100%;
  padding:11px 16px!important;
  border:1px solid #b8c5ac!important;
  border-radius:var(--radius-tag)!important;
  background:#fffdf7!important;
  color:#264b38!important;
  font:650 14px/1.5 var(--font-sans)!important;
  text-align:center;
  gap:0;
  transform:none!important;
  box-shadow:none!important;
  transition:background-color .18s,color .18s,border-color .18s;
}
body :is(.subject-picker,.matching-subjects)>button.subject-chip::after,
body #profileForm .subject-picker>button.subject-chip::after {
  content:none!important;
  display:none!important;
}
body :is(.subject-picker,.matching-subjects)>button.subject-chip:is(.on,[aria-pressed="true"]),
body #profileForm .subject-picker>button.subject-chip:is(.on,[aria-pressed="true"]) {
  background:#16352b!important;
  border-color:#16352b!important;
  color:#fffdf7!important;
}
body :is(.subject-picker,.matching-subjects)>button.subject-chip:hover {
  border-color:#637d52!important;
}
body :is(.subject-picker,.matching-subjects)>button.subject-chip:focus-visible {
  outline:2px solid #a74517!important;
  outline-offset:3px;
  box-shadow:0 0 0 5px #b84c1514!important;
}
@media(prefers-reduced-motion:reduce) {
  body button.subject-chip {
    transition:none!important;
  }
}

/*  Migrated component rules: frontend/content-hierarchy.css  */
body .matching-panel :is(.trial-card,.pairing-demand-card,.order-card,.ops-teacher-card,.teacher-status-card) {
  padding: 22px;
  gap: 20px;
  overflow-wrap: anywhere;
}
body .matching-panel :is(.trial-card,.pairing-demand-card,.order-card,.ops-teacher-card)>div:first-child {
  min-width: 0;
}
body .matching-panel :is(.content-person,.ops-teacher-head>strong) {
  display: block;
  color: var(--text, #172b28);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}
body .matching-panel .trial-card .content-subject {
  margin: 9px 0;
  color: var(--text, #172b28);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.55;
}
body .matching-panel .trial-card .content-facts {
  margin: 8px 0;
  color: #52625d;
  font-size: 14px;
  line-height: 1.65;
}
body .matching-panel :is(.trial-card,.pairing-demand-card,.order-head,.ops-teacher-head,.teacher-status-card) .family-badge {
  flex-shrink: 0;
  align-self: flex-start;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  padding: 8px 13px;
  white-space: normal;
}
body .matching-panel :is(.trial-card,.pairing-demand-card) :is(.family-actions,.trial-actions,.pairing-review-actions) {
  margin-top: 16px;
}
body .matching-panel :is(.trial-card,.pairing-demand-card) button {
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
}
body :is(.matching-panel,.teacher-directory-detail) .business-note {
  margin: 12px 0;
  color: #42544e;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
body .matching-panel p.business-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
body .matching-panel .business-note b {
  flex-shrink: 0;
  font-size: 13px;
  color: #59675f;
  font-weight: 650;
}
body .matching-panel .business-note-expand {
  border-left: 3px solid #d9e3dd;
  padding: 6px 0 6px 12px;
}
body .matching-panel .business-note-expand summary {
  cursor: pointer;
  white-space: normal;
  font-size: 14px;
  line-height: 1.7;
}
body .matching-panel .business-note-expand p {
  font-size: 14px;
  color: #42544e;
  margin: 10px 0 0;
}
body .matching-panel .content-price {
  margin: 8px 0;
  color: var(--text, #172b28);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.6;
}
body .matching-panel :is(.order-head,.pairing-demand-head) h3,
body .matching-panel .lesson-heading>strong {
  font-size: 20px;
  line-height: 1.5;
}
body .matching-panel .lesson-time:empty {
  display: none;
}
body .matching-panel .lesson-time {
  font-size: 16px;
  line-height: 1.65;
}
body .matching-panel .teacher-match-foot small {
  font-size: 15px;
  font-weight: 650;
  color: #344d43;
}
body :is(.account-overview,.ops-overview) h2 {
  font-size: 21px;
  line-height: 1.5;
}
body :is(.account-overview,.ops-overview) :is(.account-task strong,.ops-queue-card>strong,.family-shortcut strong) {
  font-size: 18px;
  line-height: 1.5;
}
body .account-overview .account-task b {
  font-size: 16px;
}
body :is(.account-overview,#studentCourses) .account-lesson>strong {
  font-size: 20px;
  line-height: 1.5;
}
body :is(.account-overview,#studentCourses) .account-lesson-status {
  font-size: 14px !important;
  font-weight: 650;
}
body :is(.account-overview,#studentCourses) .account-lesson>span:not(.account-lesson-status) {
  font-size: 15px;
  line-height: 1.65;
}
body .account-overview .account-lesson .content-person-secondary {
  font-size: 17px;
  font-weight: 650;
  color: #253f33;
}
body .account-overview .account-lesson .content-next {
  font-size: 15px;
  font-weight: 650;
  color: var(--coral, #a04b24);
}
body :is(.account-overview,.ops-overview) .ops-summary-grid small {
  font-size: 14px;
  line-height: 1.5;
}
body .ops-overview .ops-count {
  font-size: 16px;
  font-weight: 700;
}
body .ops-overview .ops-queue-link {
  font-size: 15px;
  font-weight: 650;
}
body :is(.account-overview,#studentCourses) .student-learning-note {
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
}
body #screenBody :is(.teacher-directory-title h3,.teacher-detail-hero h2) {
  font-size: 23px;
  line-height: 1.45;
}
body #screenBody .teacher-detail-grid p {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.65;
}
@media (max-width: 620px) {
  body .matching-panel :is(.trial-card,.pairing-demand-card,.order-card,.ops-teacher-card,.teacher-status-card) {
    padding: 18px;
    gap: 14px;
  }
  body .matching-panel .trial-card {
    flex-direction: column;
    align-items: stretch;
  }
  body .matching-panel .trial-card>div:first-child {
    flex: auto;
    width: 100%;
  }
  body .matching-panel .trial-card>.family-badge {
    order: -1;
  }
  body .matching-panel .trial-card .trial-actions {
    margin-top: 0;
  }
  body .matching-panel .content-person {
    font-size: 22px;
  }
  body .matching-panel .trial-card .content-subject {
    font-size: 18px;
  }
  body .matching-panel p.business-note {
    display: block;
  }
  body .matching-panel .business-note b {
    display: block;
  }
  body .matching-panel :is(.trial-card,.pairing-demand-card) .family-actions {
    flex-wrap: wrap;
  }
  body .matching-panel :is(.order-head,.pairing-demand-head) h3 {
    font-size: 19px;
  }
  body .account-overview .account-task {
    flex-wrap: wrap;
  }
}

/*  Migrated component rules: frontend/fonts.css  */
@font-face{font-family:"Fanghou Serif";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/noto-serif-sc-0.woff2") format("woff2");unicode-range:U+20,U+25,U+2B,U+30,U+31,U+32,U+33,U+34,U+35,U+36,U+37,U+38,U+39,U+41,U+42,U+43,U+44,U+45,U+46,U+47,U+48,U+49,U+4A,U+4B,U+4C,U+4D,U+4E,U+4F,U+50,U+51,U+52,U+53,U+54,U+55,U+56,U+57,U+58,U+59,U+5A,U+61,U+62,U+63,U+64,U+65,U+66,U+67,U+68,U+69,U+6A,U+6B,U+6C,U+6D,U+6E,U+6F,U+70,U+71,U+72,U+73,U+74,U+75,U+76,U+77,U+78,U+79,U+7A,U+B7,U+D7,U+2014,U+2192,U+3001,U+3002,U+300A,U+300B,U+300C,U+300D,U+4E00,U+4E07,U+4E09,U+4E0A,U+4E0B,U+4E0D,U+4E0E,U+4E13,U+4E14,U+4E16,U+4E1A,U+4E24,U+4E2A,U+4E2D,U+4E34,U+4E3A,U+4E3B,U+4E48,U+4E49,U+4E4B,U+4E5D,U+4E5F,U+4E60,U+4E66,U+4E86,U+4E89,U+4E8B,U+4E8C,U+4E8E,U+4E94,U+4E9B,U+4EA4,U+4EA7,U+4EAB,U+4EAC,U+4EB2,U+4EBA,U+4EC0,U+4EC5,U+4ECA,U+4ECB,U+4ECD,U+4ECE,U+4ED6,U+4ED8}
@font-face{font-family:"Fanghou Serif";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/noto-serif-sc-1.woff2") format("woff2");unicode-range:U+4EE3,U+4EE5,U+4EEC,U+4EF6,U+4EF7,U+4EFB,U+4EFD,U+4F18,U+4F1A,U+4F20,U+4F30,U+4F34,U+4F46,U+4F4D,U+4F4E,U+4F4F,U+4F53,U+4F55,U+4F59,U+4F5C,U+4F60,U+4F7F,U+4F8B,U+4F9B,U+4F9D,U+4FBF,U+4FDD,U+4FE1,U+4FEE,U+5019,U+503C,U+504F,U+505A,U+505C,U+50A8,U+50CF,U+513F,U+5141,U+5143,U+5145,U+5148,U+5149,U+5165,U+5168,U+516C,U+516D,U+5171,U+5173,U+5174,U+5176,U+5177,U+5185,U+518C,U+518D,U+5199,U+519C,U+51B3,U+51B5,U+51C6,U+51CF,U+51E0,U+51ED,U+51FA,U+51FB,U+5206,U+5207,U+5212,U+5217,U+5219,U+521A,U+521B,U+521D,U+5220,U+5224,U+522B,U+5230,U+5236,U+5237,U+523B,U+524D,U+5269,U+529B,U+529E,U+529F,U+52A0,U+52A1,U+52A8,U+52A9,U+52FE,U+52FF,U+5305,U+5316,U+5317,U+5339,U+533A,U+533B,U+533F,U+5348,U+534A,U+534F,U+5355,U+5357,U+535A,U+5361,U+5373,U+5377,U+5386,U+538B,U+539F,U+53BB,U+53BF,U+53C2,U+53CA,U+53CC,U+53CD,U+53D1,U+53D6,U+53D7,U+53D8,U+53E3}
@font-face{font-family:"Fanghou Serif";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/noto-serif-sc-2.woff2") format("woff2");unicode-range:U+53E5,U+53E6,U+53EA,U+53EF,U+53F0,U+53F2,U+53F3,U+53F7,U+5404,U+5408,U+540C,U+540D,U+540E,U+5411,U+5417,U+5426,U+542B,U+542C,U+542F,U+544A,U+5458,U+5468,U+547C,U+547D,U+548C,U+54A8,U+54C1,U+54CD,U+54EA,U+552E,U+5546,U+5584,U+559C,U+5668,U+56DB,U+56DE,U+56E0,U+56F4,U+56FA,U+56FD,U+56FE,U+5728,U+5730,U+573A,U+5740,U+5747,U+575A,U+578B,U+57CE,U+57DF,U+57FA,U+5802,U+586B,U+5883,U+589E,U+58EB,U+5904,U+5907,U+590D,U+5916,U+591A,U+5927,U+5929,U+5931,U+5934,U+5947,U+594F,U+597D,U+5982,U+59A5,U+59CB,U+59D3,U+5B50,U+5B57,U+5B58,U+5B66,U+5B69,U+5B89,U+5B8C,U+5B9A,U+5B9D,U+5B9E,U+5BA1,U+5BA2,U+5BA4,U+5BB6,U+5BB9,U+5BC6,U+5BDF,U+5BF8,U+5BF9,U+5BFB,U+5BFC,U+5C06,U+5C0F,U+5C11,U+5C1A,U+5C31,U+5C3A,U+5C3D,U+5C3E,U+5C40,U+5C42,U+5C4F,U+5C55,U+5C5E,U+5CB3,U+5DE5,U+5DF1,U+5DF2,U+5E02,U+5E03,U+5E08,U+5E0C,U+5E26,U+5E2E,U+5E38,U+5E45,U+5E73,U+5E74}
@font-face{font-family:"Fanghou Serif";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/noto-serif-sc-3.woff2") format("woff2");unicode-range:U+5E76,U+5E8F,U+5E93,U+5E94,U+5EA6,U+5EAD,U+5EF6,U+5EFA,U+5F00,U+5F02,U+5F0F,U+5F20,U+5F31,U+5F52,U+5F53,U+5F55,U+5F71,U+5F7C,U+5F80,U+5F85,U+5F88,U+5F97,U+5FAE,U+5FC3,U+5FC5,U+5FC6,U+5FD7,U+5FD8,U+5FEB,U+6001,U+600E,U+601D,U+6027,U+603B,U+6062,U+606F,U+60A8,U+60C5,U+60EF,U+60F3,U+610F,U+611F,U+613F,U+61C2,U+6210,U+6211,U+6216,U+622A,U+623F,U+6240,U+624B,U+624D,U+624E,U+6253,U+6263,U+6267,U+6279,U+627E,U+6280,U+628A,U+6295,U+62A4,U+62A5,U+62C6,U+62D2,U+62D3,U+62DF,U+62E6,U+62E9,U+62EC,U+6301,U+6307,U+6309,U+6362,U+636E,U+6377,U+6388,U+638C,U+6392,U+63A2,U+63A5,U+63A8,U+63D0,U+63E1,U+641C,U+644A,U+6458,U+649E,U+64A4,U+64AD,U+64C5,U+64CD,U+652F,U+6536,U+6539,U+653E,U+653F,U+6545,U+6548,U+654F,U+6559,U+6570,U+6574,U+6587,U+6599,U+65AD,U+65B0,U+65B9,U+65E0,U+65E5,U+65E7,U+65E9,U+65F6,U+660E,U+6613,U+661F,U+662F,U+6635,U+663E,U+665A}
@font-face{font-family:"Fanghou Serif";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/noto-serif-sc-4.woff2") format("woff2");unicode-range:U+666E,U+666F,U+6682,U+66F4,U+66FF,U+6700,U+6708,U+6709,U+670D,U+671B,U+671F,U+672A,U+672B,U+672C,U+672F,U+673A,U+6743,U+6750,U+675F,U+6761,U+6765,U+677E,U+677F,U+6784,U+6797,U+679C,U+67B6,U+67D3,U+67E5,U+6807,U+680F,U+6821,U+6837,U+6838,U+6839,U+683C,U+6848,U+684C,U+6863,U+68C0,U+695A,U+69DB,U+6A21,U+6B21,U+6B22,U+6B3E,U+6B62,U+6B63,U+6B64,U+6B65,U+6BB5,U+6BCD,U+6BCF,U+6BD4,U+6C42,U+6C60,U+6C99,U+6C9F,U+6CA1,U+6CBB,U+6CBF,U+6CD5,U+6CE8,U+6D3B,U+6D41,U+6D4B,U+6D4F,U+6D88,U+6DF7,U+6DFB,U+6E05,U+6E20,U+6E29,U+6E56,U+6E58,U+6E90,U+6EE1,U+6F14,U+6F6D,U+70B9,U+7136,U+7167,U+7247,U+7248,U+7269,U+7279,U+72B6,U+72EC,U+73AF,U+73B0,U+73ED,U+7406,U+751F,U+7528,U+7531,U+7533,U+7535,U+753B,U+754C,U+7559,U+7591,U+75C5,U+767B,U+767D,U+7684,U+76CA,U+76D1,U+76D8,U+76EE,U+76F4,U+76F8,U+770B,U+771F,U+7740,U+77E5,U+77ED,U+7801,U+7814,U+7840,U+7855}
@font-face{font-family:"Fanghou Serif";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/noto-serif-sc-5.woff2") format("woff2");unicode-range:U+786E,U+793A,U+793C,U+793E,U+79BB,U+79C1,U+79CD,U+79D1,U+79D2,U+79F0,U+79FB,U+7A0B,U+7A0D,U+7A3F,U+7A76,U+7A7A,U+7A97,U+7ACB,U+7AE5,U+7AEF,U+7B14,U+7B26,U+7B2C,U+7B49,U+7B54,U+7B5B,U+7B79,U+7B80,U+7B97,U+7BA1,U+7BB1,U+7C4D,U+7C7B,U+7C98,U+7CBE,U+7CCA,U+7CFB,U+7D20,U+7D22,U+7D27,U+7EA6,U+7EA7,U+7EAA,U+7EBF,U+7EC3,U+7EC4,U+7EC6,U+7EC8,U+7ECD,U+7ECF,U+7ED1,U+7ED3,U+7ED5,U+7ED8,U+7ED9,U+7EDC,U+7EDD,U+7EDF,U+7EE7,U+7EE9,U+7EEA,U+7EED,U+7EF4,U+7F16,U+7F29,U+7F3A,U+7F51,U+7F6E,U+8001,U+8003,U+8005,U+804A,U+8054,U+80B2,U+80CC,U+80FD,U+8111,U+811A,U+81EA,U+81F3,U+81F4,U+822A,U+8272,U+827A,U+8282,U+82F1,U+8303,U+8349,U+8350,U+836F,U+83B7,U+83DC,U+8425,U+8584,U+85CF,U+8651,U+884C,U+8857,U+8865,U+8868,U+88AB,U+8981,U+89C1,U+89C2,U+89C4,U+89C6,U+89C8,U+89D2,U+89E3,U+89E6,U+8A00,U+8BA1,U+8BA2,U+8BA4,U+8BA9,U+8BAD,U+8BAE,U+8BB0,U+8BB2,U+8BB8}
@font-face{font-family:"Fanghou Serif";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/noto-serif-sc-6.woff2") format("woff2");unicode-range:U+8BBE,U+8BBF,U+8BC1,U+8BC4,U+8BC6,U+8BC9,U+8BD5,U+8BDD,U+8BE2,U+8BE5,U+8BE6,U+8BED,U+8BEF,U+8BF4,U+8BF7,U+8BFB,U+8BFE,U+8C01,U+8C03,U+8D1F,U+8D23,U+8D25,U+8D26,U+8D28,U+8D2D,U+8D34,U+8D39,U+8D44,U+8D70,U+8D77,U+8D85,U+8DA3,U+8DB3,U+8DDF,U+8DEF,U+8DF5,U+8EAB,U+8F6C,U+8F6E,U+8F7B,U+8F7D,U+8F83,U+8F85,U+8F91,U+8F93,U+8FB9,U+8FBE,U+8FC7,U+8FCE,U+8FD0,U+8FD1,U+8FD4,U+8FD8,U+8FD9,U+8FDB,U+8FDC,U+8FDD,U+8FDE,U+8FF0,U+8FFD,U+9000,U+9001,U+9002,U+9009,U+900F,U+9010,U+9012,U+9014,U+901A,U+9047,U+9053,U+9057,U+9080,U+90A3,U+90E1,U+90E8,U+90FD,U+914D,U+916C,U+9192,U+91CC,U+91CD,U+91CF,U+91D1,U+9488,U+949F,U+94F6,U+94FE,U+9500,U+9501,U+9519,U+957F,U+95E8,U+95ED,U+95EE,U+95F4,U+9605,U+961F,U+9632,U+9636,U+9644,U+9645,U+9646,U+9650,U+9662,U+9664,U+966A,U+968F,U+9690,U+96C5,U+96C6,U+9700,U+9732,U+975E,U+9762,U+9875,U+9879,U+987A,U+987B,U+987E}
@font-face{font-family:"Fanghou Serif";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/noto-serif-sc-7.woff2") format("woff2");unicode-range:U+9884,U+9886,U+9891,U+9898,U+989D,U+98CE,U+9988,U+9996,U+9A8C,U+9AA4,U+9AD8,U+9E93,U+9ED8,U+9F84,U+FF01,U+FF08,U+FF09,U+FF0C,U+FF1A,U+FF1B,U+FF1F}
:root {
  --font-display:var(--font-serif);
  --font-serif:"Fanghou Serif","Songti SC","STSong","Noto Serif CJK SC","Source Han Serif SC","SimSun",Georgia,"Times New Roman",serif;
}

/*  Migrated component rules: frontend/color-scheme.css  */
:root {
  color-scheme: light;
  color-scheme: only light;
}
body #publicLanding {
  background-image: var(--grain);
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (max-width: 760px) {
  body :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea) {
    font-size: 16px !important;
  }
}
#publicLanding #community .welfare-photo-copy {
  background: linear-gradient(transparent, rgba(16,39,31,.94) 55%);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --deep: var(--ink);
    --blue-dark: var(--ink);
    --ui-edge: var(--line);
    --ui-edge-strong: #7c8c73;
    --paper: #16211c;
    --white: #202c25;
    --sand: #2b372d;
    --ink: #edf0e5;
    --text: #edf0e5;
    --muted: #b8c2b3;
    --line: #465346;
    --coral: #f4a56e;
    --amber-ink: #f4a56e;
    --orange-ink: #f4a56e;
    --mint: #b8d6bd;
    --green: #acd2b6;
    --green-soft: #2b4032;
    --blue: #acd2b6;
    --blue-soft: #2b4032;
    --action-fill: #315e48;
    --action-text: #fff9ed;
    --accent-fill: #f4a56e;
    --accent-text: #241a12;
    --shadow: 0 14px 38px #00000026;
    --shadow-lg: 0 24px 64px #00000066;
  }
  html, body {
    background-color: var(--paper);
    color: var(--ink);
  }
  body {
    --color-text: var(--ink);
    --color-muted: var(--muted);
  }
  body :is(h1,h2,h3,h4) {
    color: var(--ink);
  }
  body #publicLanding {
    background-color: var(--paper);
    background-image: var(--grain);
  }
  body #publicLanding .public-nav {
    background-color: var(--paper);
    background-image: var(--grain);
    border-color: var(--line);
  }
  body #publicLanding :is(.public-brand,.section-kicker,.public-kicker,.home-welfare-kicker-label) {
    color: var(--coral) !important;
  }
  body #publicLanding :is(.public-btn-ghost,.hero-slide-nav button,.public-links a) {
    color: var(--ink);
    border-color: var(--line);
  }
  body #publicLanding .public-nav-actions :is(button,a),
  body #publicLanding .mobile-public-menu {
    border-color: var(--line) !important;
  }
  body #publicLanding .public-links {
    background-color: var(--paper);
  }
  body #publicLanding .public-links a:is(:hover,.home-current) {
    color: var(--coral);
  }
  body #publicLanding .public-links .charity-link:is(:hover,.home-current) {
    color: var(--green);
  }
  body #publicLanding :is(.desk-caption,.home-step-rule,.home-course-meta,.home-course-more-grid>article) {
    border-color: var(--line);
  }
  body #publicLanding :is(.desk-caption,.home-course-grid>article,.growth-card,.home-course-more-grid>article) {
    background-color: var(--white) !important;
    color: var(--ink) !important;
  }
  body #publicLanding :is(.home-course-lead,.home-step-rule) {
    background-color: var(--sand) !important;
  }
  body #publicLanding .home-step-duration {
    background: var(--white) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body #publicLanding :is(.reference-trust-inner span,.desk-caption small,.home-course-meta,.home-step-rule small,.public-footer p) {
    color: var(--muted) !important;
  }
  body #publicLanding #community {
    background-color: #10271f;
    background-image: var(--grain);
    color: #f4efdf;
    box-shadow: none;
  }
  body #publicLanding #community :is(h2,h3,.lead,.welfare-photo-copy small,.welfare-photo-copy strong,.welfare-photo-copy span,.welfare-photo-copy em,.welfare-empty,.welfare-stories) {
    color: #f4efdf !important;
  }
  body #publicLanding #community .section-kicker {
    color: var(--coral) !important;
  }
  body #publicLanding #community .welfare-photo-card,
  body #publicLanding #community .welfare-story-placeholder {
    background: #1c392d;
    border-color: #506956;
  }
  body #publicLanding #community .welfare-photo-copy {
    background: linear-gradient(transparent, rgba(8,25,18,.95) 55%);
  }
  body #publicLanding #community .welfare-story-placeholder p {
    color: #d2decf;
  }
  body :is(.btn-primary,.public-btn-primary,.payment-primary,.auth-submit,.family-primary,.account-onboarding button,.account-empty>button,.account-panel>button:not(.account-task):not(.account-lesson)) {
    background: var(--accent-fill) !important;
    border-color: var(--accent-fill) !important;
    color: var(--accent-text) !important;
  }
  body :is(.btn-primary,.public-btn-primary,.payment-primary,.auth-submit,.family-primary):hover:not(:disabled) {
    background: #ffc08e !important;
    border-color: #ffc08e !important;
    color: var(--accent-text) !important;
  }
  body :is(.family-secondary,.family-actions>button:not(.btn-primary):not(.family-primary),.score-methods button,.public-btn-ghost,.drawer-close,.student-course-tabs button,.security-reveal,.tc-button) {
    background-color: var(--white) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body :is(.auth-role button.active,.auth-tabs button.active,.app .sidebar #nav button.active,.student-course-tabs [aria-pressed=true],.score-methods .active,.tc-button.tc-primary,.tc-message.tc-mine,.tc-live,.student-course-tabs button.active) {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
    border-color: #6d9578 !important;
  }
  body :is(.family-empty,.account-empty,.security-summary,.comm-empty,.account-onboarding,.teacher-directory-toolbar,.teacher-status-card,.summary-details,.registration-summary,.score-subject-card,.upload-help) {
    background-color: var(--sand) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body :is(.family-card,.account-panel,.ops-panel,.security-card,.comm-card,.comm-context,.comm-tasks,.comm-report,.payment-card,.payment-summary,.payment-panel,.teacher-directory-card,.teacher-directory-detail,.tc-card,.trial-card,.order-card,.pairing-demand-card,.ops-teacher-card,.student-exam,.student-course,.admin-page .panel) {
    background-color: var(--white) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body :is(.family-muted,.field-help,.business-note,.content-facts,.teacher-directory-meta,.teacher-directory-school,.teacher-directory-count,.tc-small,.tc-expiry,.tc-notice,.account-pending,.comm-time,.score-method-help) {
    color: var(--muted) !important;
  }
  body .matching-panel :is(.content-person,.content-subject,.ops-teacher-head>strong) {
    color: var(--ink) !important;
  }
  body :is(.section-kicker,.eyebrow,.section-label,.step-outcome,.link,.auth-switch,.tc-link,.workspace-review-switch>button) {
    color: var(--coral) !important;
  }
  body :is(.subject-chip,.teacher-directory-tags span,.teacher-detail-grid p span,.comm-status,.course-status,.student-lesson-status,.account-lesson-status,.family-badge,.teacher-directory-badge,.tc-done) {
    background: var(--green-soft) !important;
    color: #c4e1c8 !important;
    border-color: #6a8469 !important;
  }
  body :is(.subject-picker,.matching-subjects)>button.subject-chip,
  body #profileForm .subject-picker>button.subject-chip {
    background: var(--white) !important;
    color: var(--ink) !important;
    border-color: #6a8469 !important;
  }
  body :is(.subject-picker,.matching-subjects)>button.subject-chip:is(.on,[aria-pressed=true]),
  body #profileForm .subject-picker>button.subject-chip:is(.on,[aria-pressed=true]) {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
    border-color: #a8c7a9 !important;
  }
  body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea) {
    background-color: #1b2820 !important;
    color: var(--ink) !important;
    border-color: #687561 !important;
  }
  body :is(input,textarea)::placeholder {
    color: #acb6a4;
    opacity: 1;
  }
  body :is(input,select,textarea):focus {
    border-color: var(--coral) !important;
    box-shadow: 0 0 0 3px #f4a56e26 !important;
  }
  body input[type=checkbox]:not(:checked):not(:indeterminate),
  body #profileForm input[type=checkbox]:not(:checked):not(:indeterminate),
  body #authForm .auto-login-option input#autoLogin:not(:checked):not(:indeterminate),
  body .comm-root .comm-check input[type=checkbox]:not(:checked):not(:indeterminate) {
    background-color: #1b2820 !important;
    border-color: #94a58b !important;
  }
  body input[type=file]::file-selector-button {
    background: var(--sand) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body :is(button,a,input,select,textarea,summary):focus-visible {
    outline-color: var(--coral) !important;
  }
  body #screenOverlay:not(.workspace-page) {
    background: #030b0799;
  }
  body #screenOverlay:not(.workspace-page) :is(.screen-drawer,.screen-drawer-head) {
    background-color: var(--paper) !important;
    background-image: var(--grain);
  }
  body .app .sidebar {
    background-color: var(--white) !important;
  }
  body .app .topbar {
    background-color: var(--paper) !important;
  
  background: var(--paper);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;
}
  body :is(.workspace-tab-track,.tc-segments,.family-steps,.registration-progress,.week-picker) {
    background-color: var(--sand) !important;
    border-color: var(--line) !important;
  }
  body :is(.workspace-tab-track>button,.tc-segments button) {
    color: var(--muted);
  }
  body :is(.workspace-tab-track>button.active,.tc-segments button[aria-pressed=true]) {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
  }
  body .workspace-nav-count {
    background: #503622;
    color: #ffd1a8;
  }
  body #nav button.active .workspace-nav-count {
    background: #f4a56e;
    color: #241a12;
  }
  body :is(.tc-root,.comm-root) {
    --tc-muted: var(--muted);
    --tc-line: var(--line);
    --tc-wait: #ffd1a8;
    --comm-paper: var(--white);
    --comm-ink: var(--ink);
    --comm-line: var(--line);
  }
  body :is(.tc-safety,.tc-wait,.tc-notice.tc-error,.comm-notice,.family-notice,.payment-warning,.payment-notice) {
    background: #443323 !important;
    color: #ffd1a8 !important;
    border-color: #8e6947 !important;
  }
  body :is(.tc-message,.tc-thread,.comm-thread,.comm-message,.comm-editor,.comm-response) {
    background-color: var(--white);
    color: var(--ink);
    border-color: var(--line);
  }
  body :is(.tc-message.tc-mine small,.tc-message.tc-mine time) {
    color: #d4e4ce;
  }
  body #publicLanding :is(.public-hero h1,.public-hero h2) {
    color: var(--ink) !important;
  }
  body #publicLanding :is(.public-hero h1 em,.public-hero h2 em) {
    color: var(--coral) !important;
  }
  body #publicLanding :is(.public-cta .primary,.public-nav-actions .solid) {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
    border-color: #6d9578 !important;
  }
  body #publicLanding .public-cta .secondary {
    background: var(--white) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body #publicLanding :is(.hero-proof>span,.teacher-directory-verified) {
    background: var(--green-soft) !important;
    color: #c4e1c8 !important;
    border-color: #6a8469 !important;
  }
  body #publicLanding :is(.teacher-directory-card .teacher-directory-verified,.teacher-directory-card button,.teacher-directory-arrow) {
    background-color: var(--green-soft) !important;
    color: #c4e1c8 !important;
  }
  body :is(.growth-card,.course-detail-summary,.featured-course-card) {
    background-color: var(--white) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body .growth-card .course-status {
    background: var(--green-soft) !important;
    color: #c4e1c8 !important;
  }
  body #authPage #authForm :is(.form-field>label,.v5-field-label) {
    color: var(--muted) !important;
  }
  body #authPage #authForm :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea) {
    background-color: #1b2820 !important;
    color: var(--ink) !important;
    border-color: #687561 !important;
  }
  body #authPage #authForm :is(.security-forgot,.auth-mode-switch) {
    color: var(--coral) !important;
  }
  body #authPage #authForm :is(.auth-submit,#registrationNext) {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
    border-color: #6d9578 !important;
  }
  body #authPage .registration-progress>.v5-step {
    background: transparent !important;
    color: var(--muted) !important;
    border-color: var(--line) !important;
  }
  body #authPage .registration-progress>.v5-step[data-step-state=active] {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
  }
  body #authPage .registration-progress .v5-step-number {
    background: var(--white) !important;
    color: var(--ink) !important;
  }
  body #communicationRoot select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23edf0e5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  body #publicLanding :is(#publicLogin,#publicWorkbench,.mobile-public-menu) {
    color: var(--ink) !important;
  }
  body #publicLanding #heroServices {
    background: var(--white) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body #publicLanding .hero-slide-nav button {
    background: transparent !important;
    color: var(--muted) !important;
  }
  body #publicLanding .hero-slide-nav button.is-active {
    background: var(--white) !important;
    color: var(--coral) !important;
    border-color: var(--line) !important;
  }
  body #publicLanding .hero-slide-nav button :is(b,span) {
    color: inherit !important;
  }
  body #publicLanding .desk-caption button {
    color: var(--coral) !important;
  }
  body #publicLanding .public-footer {
    background: #10271f !important;
    color: #edf0e5 !important;
    border-color: var(--line);
  }
  body #publicLanding .public-footer :is(.identity,.identity span) {
    background: transparent !important;
    color: var(--coral) !important;
  }
  body #publicLanding .public-footer :is(a,p) {
    color: #c4cfbc !important;
  }
  body #authPage .section-kicker {
    color: var(--coral) !important;
  }
  body #authPage .auth-assurance li {
    color: var(--muted) !important;
  }
  body :is(#accountOverviewData,#opsOverviewData) .ops-summary-grid>article,
  body #workspacePageHost :is(.ops-service-note,.ops-review-intro,.welfare-upload,.welfare-asset,.welfare-asset-copy,.welfare-review,.matching-featured-courses,.schedule-form,.matching-day,.matching-fieldset,.score-note-field,.score-method-help,.lesson-report,.followup-card,.report-card,.order-pay),
  body #demandForm>label,body #scoreForm :is(.score-table th,.score-note-field) {
    background-color: var(--white) !important;
    background-image: var(--grain);
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body #workspacePageHost :is(.schedule-summary,.matching-fieldset legend,.matching-day-toggle,.teacher-verified,.refund-status) {
    background-color: var(--sand) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body #avatar {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
  }
  body :is(#accountOverviewData,#opsOverviewData) .ops-summary-grid :is(strong,b) {
    color: var(--coral) !important;
  }
  body :is(#accountRefresh,#opsOverviewRefresh) {
    color: var(--coral) !important;
  }
  body #workspacePageHost :is(.trial-next-hint,.pairing-demand-head p,.business-note b,.schedule-help,.v5-field-label) {
    color: var(--muted) !important;
  }
  body #workspacePageHost :is(.course-status,.featured-course-card .course-status) {
    background: var(--green-soft) !important;
    color: #c4e1c8 !important;
    border-color: #6a8469 !important;
  }
  body #workspacePageHost :is(input,textarea)::placeholder,
  body #authPage #authForm :is(input,textarea)::placeholder {
    color: #b8c2ad !important;
    opacity: 1 !important;
  }
  body #authPage .auth-role button:not(.active),body #authPage .auth-role button:not(.active):hover {
    background: var(--white) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body #authPage .auth-role button small {
    color: var(--muted) !important;
  }
  body #screenOverlay .teacher-directory-verified {
    background: var(--green-soft) !important;
    color: #c4e1c8 !important;
    border-color: #6a8469 !important;
  }
  body #screenOverlay .teacher-detail-note {
    background: var(--green-soft) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body #opsOverviewData .ops-service-note,
  body :is(#demandForm,#scoreForm) .family-fields>label,
  body #scoreMethodHelp {
    background-color: var(--white) !important;
    color: var(--muted) !important;
    border-color: var(--line) !important;
  }
  body #demandForm .matching-consent strong {
    color: var(--ink) !important;
  }
  body #opsOverviewData .ops-service-note span {
    color: var(--muted) !important;
  }
  body #opsOverviewData .ops-service-note b {
    color: var(--ink) !important;
  }
  body #authPage {
    --auth-paper: var(--white);
    --auth-sand: var(--sand);
    --auth-line: var(--line);
    --auth-ink: var(--ink);
    --auth-muted: var(--muted);
    --auth-green: var(--action-fill);
  }
  body #authPage :is(.auth-intro,.auth-card) {
    background-color: var(--white) !important;
    background-image: var(--grain) !important;
    border-color: var(--line) !important;
  }
  body #authPage :is(.auth-tabs,.auth-role,.auth-close,.registration-progress,.auth-methods) {
    background-color: var(--sand) !important;
    border-color: var(--line) !important;
  }
  body #authPage :is(.auth-tabs button,.auth-role button,.auth-methods button) {
    color: var(--muted) !important;
    border-color: var(--line) !important;
  }
  body #authPage :is(.auth-tabs button.active,.auth-role button.active,.auth-methods button.active) {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
    border-color: #6d9578 !important;
  }
  body #authPage :is(.role-symbol,.auth-assurance i) {
    background: var(--green-soft) !important;
    color: var(--green) !important;
  }
  body #authPage :is(.auth-head p,.auth-role-help,.auth-role-hint,.auto-login-option,.auth-form label) {
    color: var(--muted) !important;
  }
  body :is(.v5-steps>.v5-step,.family-steps>span,.registration-progress>span) {
    background: var(--sand) !important;
    color: var(--muted) !important;
    border-color: var(--line) !important;
  }
  body :is(.v5-steps>.v5-step[data-step-state=active],.family-steps>span.active,.registration-progress>span.active) {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
  }
  body .v5-steps .v5-step-number {
    background: var(--white) !important;
    color: var(--ink) !important;
  }
  body :is(.admin-page .primary,.admin-page button.primary,.payment-return .payment-actions>a.primary) {
    background: var(--action-fill) !important;
    color: var(--action-text) !important;
    border-color: #6d9578 !important;
  }
  body :is(.v5-toast,.v5-request-error) {
    background: var(--white) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
}
/* Continuous dark surfaces and complete control focus rings (2026-11-14). */
/* An inner ring stays visible in scrollable tables and native rounded selects. */
body .family-panel :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):is(:focus,:focus-visible) {
  outline: 2px solid var(--coral) !important;
  outline-offset: -3px !important;
  border-color: var(--coral) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 14%, transparent) !important;
}
body :is(.workspace-tab-track,.subject-picker,.matching-subjects) > button:focus-visible {
  outline: 2px solid var(--coral) !important;
  outline-offset: -4px !important;
}
body .matching-slot-panel input:focus-visible + span {
  outline: 2px solid var(--coral);
  outline-offset: -3px;
}
@media (prefers-color-scheme: dark) {
  /* Keep grain on the parent surface, rather than tiling every text wrapper. */
  body #publicLanding .public-links {
    background: transparent;
  }
  body :is(#parentView,#teacherView) .account-columns > .account-panel > .account-empty,
  body :is(#accountOverviewData,#opsOverviewData) .summary-details {
    background: transparent !important;
    box-shadow: none;
  }
  body .family-panel > form.family-form {
    background: var(--white) !important;
    color: var(--ink);
    border-color: var(--line);
  }
  body :is(#demandForm,#scoreForm) .family-fields > label,
  body #demandForm > label:not(.matching-consent),
  body #scoreForm :is(.score-note-field,#scoreMethodHelp),
  body #demandForm .matching-fieldset legend,
  body #demandForm .availability-days .matching-day-toggle {
    background: transparent !important;
    border-color: var(--line) !important;
  }
  body #demandForm .matching-fieldset,
  body #demandForm > .matching-consent,
  body #scoreForm .score-material-field,
  body #scoreForm .score-material-field .upload-help {
    background: var(--paper) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }
  body #demandForm .availability-days .demand-day {
    background: var(--white) !important;
    border-color: var(--line);
  }
  body #demandForm .availability-days .demand-day:has(input[data-demand-day]:checked) {
    background: var(--green-soft) !important;
    border-color: #7eaa8a;
  }
  body #scoreForm .score-table :is(thead,tbody,tr,td) {
    background: transparent !important;
    color: var(--ink);
    border-color: var(--line);
  }
  body #scoreForm .score-table th {
    background: var(--paper) !important;
    color: var(--muted) !important;
    border-color: var(--line);
  }
  body #scoreForm .score-table .score-remove {
    background: var(--paper);
    color: #f5b3a9;
    border: 1px solid var(--line);
  }
  /* The glow lives directly under body; use screen blending on dark paper. */
  body > .home-pointer-glow {
    --home-glow-size: 360px;
    --home-glow-opacity: .62;
    mix-blend-mode: screen;
    background: radial-gradient(closest-side, #d99d6730, #b9835020 32%, #a47a4a0a 60%, transparent 84%);
  }
  body > .home-pointer-glow.on-dark {
    --home-glow-size: 320px;
    --home-glow-opacity: .5;
    background: radial-gradient(closest-side, #b7cfad26, #9bb89314 34%, #8fae8606 60%, transparent 84%);
  }
  body > .home-pointer-glow.is-on.on-card {
    opacity: .24;
  }
  body > .home-pointer-glow.is-on.on-dark.on-card {
    opacity: .2;
  }
}

@media print {
  :root {
    color-scheme: light;
    --paper:#fff;
    --white:#fff;
    --sand:#eee;
    --ink:#16352b;
    --muted:#525d52;
    --line:#ccc;
    --coral:#93400e;
    --amber-ink:#93400e;
    --orange-ink:#93400e;
  }
}
