:root {
  --ink: #1d2b45;
  --ink-2: #30415f;
  --orange: #36c8c0;
  --orange-dark: #0ea9a2;
  --orange-pale: #e6f9f7;
  --cream: #f7fafc;
  --paper: #ffffff;
  --line: #ccebe8;
  --muted: #60708a;
  --green: #21a99b;
  --red: #b84037;
  --shadow: 0 14px 40px rgba(29, 43, 69, .08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; color: var(--ink); background: var(--cream); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.mobile-only, .supervisor-label { display: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.mobile-coach-home { display: none; }
.mobile-plan-route { display: none; }

.access-view { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 70% 18%, rgba(54,200,192,.28), transparent 24%), linear-gradient(145deg, #1d2b45, #304b6a); }
.access-card { width: min(520px, 100%); padding: 46px; border-radius: 22px; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.25); text-align: center; }
.access-card .brand-mark { margin: 0 auto 30px; }
.access-card h1 { margin: 0 0 14px; font-size: 32px; letter-spacing: -.045em; }
.access-card p:not(.eyebrow) { color: var(--muted); line-height: 1.7; margin: 0 0 24px; }
.access-card small { display: block; color: var(--muted); line-height: 1.6; margin-top: 22px; }

.login-view { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.login-brand { min-height: 100vh; padding: 7vw; color: white; background: radial-gradient(circle at 82% 14%, rgba(54,200,192,.32), transparent 24%), linear-gradient(145deg, #1d2b45 0%, #304b6a 100%); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.login-brand::after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; right: -150px; bottom: -120px; box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--orange); font-weight: 900; letter-spacing: -.05em; border-radius: 10px 2px 10px 2px; }
.brand-mark.large { width: 54px; height: 54px; font-size: 20px; margin-bottom: 64px; }
.eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.orange { color: var(--orange); }
.login-brand h1 { font-size: clamp(42px, 5vw, 74px); line-height: 1.08; letter-spacing: -.055em; margin: 0 0 28px; max-width: 780px; }
.login-copy { color: rgba(255,255,255,.7); line-height: 1.9; font-size: 17px; max-width: 620px; }
.flow-line { display: flex; align-items: center; gap: 14px; margin-top: 68px; color: rgba(255,255,255,.74); font-size: 13px; }
.flow-line b { color: var(--orange); font-size: 11px; }
.flow-line i { width: 52px; height: 1px; background: rgba(255,255,255,.25); }
.login-panel { display: grid; place-items: center; padding: 48px; background: var(--paper); }
.login-card { width: min(430px, 100%); }
.login-card h2 { font-size: 36px; letter-spacing: -.04em; margin: 0 0 8px; }
.muted { color: var(--muted); }
.login-card > label { margin-top: 24px; }
label { display: grid; gap: 8px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
label em { color: var(--orange); font-style: normal; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 10px; padding: 12px 13px; outline: none; transition: .2s; }
input, select { min-height: 44px; }
textarea { resize: vertical; line-height: 1.65; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(54,200,192,.16); }
.btn { border: 0; border-radius: 10px; min-height: 44px; padding: 0 18px; font-weight: 800; color: var(--ink); background: white; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: white; background: var(--orange); box-shadow: 0 8px 18px rgba(54,200,192,.23); }
.btn.primary:hover { background: var(--orange-dark); }
.btn.secondary { color: white; background: var(--ink); }
.btn.ghost { border: 1px solid var(--line); background: white; }
.btn.danger-outline { color: var(--red); border: 1px solid #e8c5c1; background: #fff8f7; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn.wide { width: 100%; margin-top: 30px; }
.form-error { color: var(--red); min-height: 20px; font-size: 13px; }
.login-note { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 32px; }
.mobile-brand { display: none; }

.app-view { width: 100%; min-height: 100vh; display: flex; overflow-x: clip; }
.sidebar { width: 252px; height: 100vh; position: fixed; inset: 0 auto 0 0; z-index: 20; color: white; background: var(--ink); display: flex; flex-direction: column; }
.sidebar-head { min-height: 88px; padding: 22px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar-head strong { display: block; font-size: 14px; }
.sidebar-head small { display: block; margin-top: 4px; font-size: 8px; letter-spacing: .13em; color: rgba(255,255,255,.45); }
.sidebar nav { padding: 26px 12px; flex: 1; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 13px; padding: 13px 14px; border: 0; border-radius: 9px; background: transparent; color: rgba(255,255,255,.64); font-weight: 700; text-align: left; margin-bottom: 5px; }
.nav-item span:first-child { width: 22px; color: rgba(255,255,255,.5); font-size: 18px; text-align: center; }
.nav-item.active, .nav-item:hover { color: white; background: rgba(255,255,255,.09); }
.nav-item.active span:first-child { color: var(--orange); }
.sidebar-foot { padding: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.user-chip { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: #d9f4f1; font-weight: 900; }
.user-chip strong, .user-chip small { display: block; }
.user-chip strong { font-size: 13px; }
.user-chip small { color: rgba(255,255,255,.5); margin-top: 2px; font-size: 11px; }
.text-btn { border: 0; background: none; color: rgba(255,255,255,.55); padding: 5px 0; font-size: 12px; margin-right: 12px; }
.text-btn.danger { color: #e8a09b; }
.sso-state { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.46); font-size: 11px; }
.sso-state span { width: 7px; height: 7px; border-radius: 50%; background: #51b88c; box-shadow: 0 0 0 3px rgba(81,184,140,.12); }
.main-area { min-width: 0; margin-left: 252px; width: calc(100% - 252px); }
.topbar { height: 88px; position: sticky; top: 0; z-index: 10; background: rgba(247,250,252,.92); backdrop-filter: blur(18px); display: flex; justify-content: space-between; align-items: center; padding: 16px 34px; border-bottom: 1px solid rgba(29,43,69,.08); }
.topbar h1 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.topbar .eyebrow { margin-bottom: 3px; font-size: 9px; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.date-chip { color: var(--muted); font-size: 12px; margin-right: 8px; }
.supervisor-month-control { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.supervisor-month-control input { width: 126px; min-height: 38px; padding: 7px 9px; font-size: 13px; font-weight: 700; }
.content { width: min(1420px, 100%); margin: 0 auto; padding: 32px 34px 70px; }

.supervisor-dashboard { display: grid; gap: 22px; }
.mobile-supervisor-toolbar { display: none; }
.supervisor-overview-grid { display: grid; grid-template-columns: 1.15fr .9fr .76fr; gap: 18px; }
.supervisor-panel { min-width: 0; border: 1px solid rgba(29,43,69,.07); border-radius: var(--radius); background: var(--paper); box-shadow: 0 5px 24px rgba(29,43,69,.035); }
.supervisor-panel > h2 { margin: 0; padding: 25px 25px 0; font-size: 19px; letter-spacing: -.035em; }
.execution-panel { padding-bottom: 24px; }
.execution-body { display: grid; grid-template-columns: 186px 1fr; gap: 19px; align-items: center; padding: 20px 24px 0; }
.coverage-ring { --ring-size: 164px; position: relative; width: var(--ring-size); height: var(--ring-size); display: grid; place-content: center; border-radius: 50%; text-align: center; background: conic-gradient(from 36deg, var(--orange) calc(var(--coverage) * 1%), #dff0ef 0); }
.coverage-ring::after { content: ""; position: absolute; inset: 11px; border-radius: inherit; background: var(--paper); }
.coverage-ring strong, .coverage-ring span { position: relative; z-index: 1; }
.coverage-ring strong { font-size: 40px; line-height: 1; letter-spacing: -.07em; }
.coverage-ring span { max-width: 106px; margin: 8px auto 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.execution-summary { display: grid; gap: 10px; }
.execution-stat { position: relative; display: grid; grid-template-columns: 36px 1fr; column-gap: 8px; align-items: baseline; padding: 11px 11px 11px 15px; overflow: hidden; border: 1px solid #dcefed; border-radius: 10px; background: #fff; }
.execution-stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #b7d7db; }
.execution-stat.submitted::before { background: var(--green); }.execution-stat.draft::before { background: #5e9fc1; }.execution-stat.pending::before { background: var(--orange); }
.execution-stat b { font-size: 27px; line-height: 1; letter-spacing: -.055em; }.execution-stat span { font-size: 12px; font-weight: 900; }.execution-stat small { grid-column: 2; color: var(--muted); font-size: 10px; line-height: 1.4; }
.level-panel { padding-bottom: 20px; }
.level-distribution { display: grid; gap: 13px; padding: 23px 25px 0; }
.level-row { display: grid; gap: 8px; }
.level-name { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }.level-name b { font-size: 13px; }.level-name span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.level-track { height: 7px; overflow: hidden; border-radius: 999px; background: #e3f0ef; }.level-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .25s ease; }
.focus-panel { padding-bottom: 12px; }
.supervisor-focus { display: grid; gap: 3px; padding: 15px 24px 0; }
.focus-item { display: grid; grid-template-columns: 25px 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }.focus-item:last-child { border-bottom: 0; }
.focus-item > span { padding-top: 2px; color: var(--orange); font-size: 10px; font-weight: 900; }.focus-item b { display: block; font-size: 12px; }.focus-item em { display: block; margin-top: 4px; color: var(--orange-dark); font-size: 13px; font-style: normal; }.focus-item p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.review-panel { overflow: hidden; }
.review-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 22px 25px 17px; border-bottom: 1px solid var(--line); }.review-panel-head .eyebrow { margin-bottom: 6px; }.review-panel-head h2 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.review-table-head { display: grid; grid-template-columns: 122px 172px minmax(195px, 1fr) 88px 122px 76px; gap: 13px; padding: 10px 25px; color: var(--muted); background: #edf9f8; font-size: 10px; font-weight: 800; }
.priority-review-list { padding: 10px 15px 15px; }
.priority-review-row { width: 100%; display: grid; grid-template-columns: 122px 172px minmax(195px, 1fr) 88px 122px 76px; gap: 13px; align-items: center; padding: 12px 10px; border: 0; border-bottom: 1px solid #ecece7; background: transparent; color: var(--ink); text-align: left; }
.priority-review-row:last-child { border-bottom: 0; }.priority-review-row:hover { background: #f5fdfc; }.priority-review-row > span, .priority-review-row time { min-width: 0; }
.review-coach { display: flex; align-items: center; gap: 9px; }.review-coach i { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--ink); background: #d9f4f1; font-size: 12px; font-style: normal; font-weight: 900; }.review-coach b, .review-class b, .review-reason b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.review-class small, .review-reason small { display: block; overflow: hidden; margin-top: 4px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.review-reason b { color: #197d83; }.mobile-review-reason { color: #197d83 !important; font-weight: 800; }.priority-review-row time { color: var(--muted); font-size: 10px; white-space: nowrap; }.open-report { color: var(--orange-dark); font-size: 12px; font-weight: 900; white-space: nowrap; }
.review-empty { padding: 48px 20px; text-align: center; }.review-empty b { display: block; font-size: 15px; }.review-empty p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }

.hero-card { min-height: 230px; color: var(--ink); padding: 42px; border: 1px solid #d4f0ed; border-radius: var(--radius); background: var(--orange-pale); display: flex; justify-content: space-between; align-items: center; overflow: hidden; box-shadow: 0 12px 32px rgba(29,43,69,.045); }
.hero-card h2 { font-size: clamp(27px, 3vw, 42px); letter-spacing: -.045em; max-width: 650px; line-height: 1.18; margin: 0 0 16px; }
.hero-card p:last-child { color: var(--muted); margin: 0; }
.hero-loop { display: flex; align-items: center; gap: 13px; min-width: 390px; }
.hero-loop div { width: 92px; height: 92px; border: 1px solid #8bded8; border-radius: 50%; display: grid; place-content: center; text-align: center; background: rgba(255,255,255,.38); }
.hero-loop b { color: var(--orange); font-size: 12px; }
.hero-loop span { color: var(--ink-2); font-size: 12px; margin-top: 4px; }
.hero-loop i { width: 24px; height: 1px; background: #91dcd6; }
.coach-action-panel { margin-top: 20px; }
.coach-action-card { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 25px 28px; border: 1px solid rgba(23,33,31,.08); border-radius: var(--radius); background: var(--paper); box-shadow: 0 5px 24px rgba(23,33,31,.04); }
.coach-action-index { align-self: stretch; display: flex; align-items: center; padding-right: 22px; border-right: 1px solid var(--line); color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.coach-action-copy { min-width: 0; }.coach-action-copy .eyebrow { margin-bottom: 6px; }.coach-action-copy h2 { margin: 0 0 7px; font-size: 21px; letter-spacing: -.035em; }.coach-action-copy > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.coach-action-title { display: flex; align-items: start; justify-content: space-between; gap: 16px; }.coach-action-title .status { flex: 0 0 auto; }
.progress-line { width: min(460px, 100%); height: 7px; overflow: hidden; margin: 14px 0 7px; border-radius: 999px; background: #e3f0ef; }.progress-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #7adfd9); }
.coach-action-copy small { color: var(--muted); font-size: 11px; }.coach-action-buttons { display: grid; gap: 9px; min-width: 150px; }.coach-action-buttons .btn { white-space: nowrap; }.coach-action-empty { border-color: #d4f0ed; background: #f2fcfa; }.coach-action-empty .coach-action-index { color: var(--orange); }.coach-action-empty .coach-action-copy h2 { font-size: 23px; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 38px; }
body.is-supervisor .metrics-grid { grid-template-columns: repeat(4, 1fr); }
.metric-card { min-height: 116px; padding: 23px; border-radius: 14px; background: var(--paper); box-shadow: 0 5px 25px rgba(23,33,31,.045); display: flex; align-items: center; gap: 16px; border: 1px solid rgba(23,33,31,.05); }
.metric-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; }
.metric-icon.ink { background: var(--ink); color: white; }.metric-icon.orange { background: var(--orange-pale); color: var(--orange); }.metric-icon.pale { background: #eaf1f8; color: #647895; }.metric-icon.green { background: #e2f8f5; color: var(--green); }
.metric-card small { color: var(--muted); display: block; margin-bottom: 6px; }.metric-card strong { font-size: 29px; letter-spacing: -.04em; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin: 28px 0 16px; }
.section-head h2, .filter-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.report-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#recentReports { grid-template-columns: minmax(0, 1fr); }
.report-card { background: var(--paper); border: 1px solid rgba(23,33,31,.07); border-radius: 14px; padding: 22px; transition: .2s; }
.report-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.report-card-top { display: flex; justify-content: space-between; align-items: center; }
.month-badge { color: var(--orange); font-weight: 900; letter-spacing: .04em; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.submitted, .status.approved { color: var(--green); background: #e2f8f5; }.status.pending_review { color: #a4643c; background: #fff1df; }.status.revision_required { color: #a23f36; background: #fff0ed; }.status.draft { color: #52769d; background: #eaf1f8; }
.report-card h3 { margin: 20px 0 7px; font-size: 18px; }.report-card p { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.report-card-foot { border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 11px; display: flex; justify-content: space-between; }
.execution-status-card { overflow: hidden; border: 1px solid #d9e9e8; border-radius: 18px; background: linear-gradient(135deg, #ffffff, #fbfefe); box-shadow: 0 12px 32px rgba(24, 62, 75, .07); }
.execution-class-table { display: grid; }
.execution-class-head, .execution-class-row { display: grid; grid-template-columns: minmax(180px, 1.45fr) repeat(3, minmax(110px, 1fr)); align-items: center; }
.execution-class-head { min-height: 48px; padding: 0 30px; color: #6d8198; border-bottom: 1px solid #d6eeee; background: #f4fbfb; font-size: 12px; font-weight: 800; }
.execution-class-row { min-height: 70px; padding: 0 30px; border-bottom: 1px solid #e4f0ef; }
.execution-class-row:last-child { border-bottom: 0; }
.execution-class-row > .class-name { color: var(--ink); font-size: 14px; }
.execution-class-row > .metric { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.execution-class-row i { padding: 0 3px; color: var(--orange); font-size: .76em; font-style: normal; }
.execution-class-link { width: max-content; min-width: 0; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.execution-class-link:hover, .execution-class-link:focus-visible { color: inherit; text-decoration: underline; text-decoration-color: rgba(14,169,162,.55); text-underline-offset: 4px; outline: 0; }
.execution-ratio { display: grid; gap: 12px; min-height: 138px; padding: 29px 34px; border-right: 1px solid #d6eeee; }
.execution-ratio:last-child { border-right: 0; }
.execution-ratio span { color: #4e6b8a; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.execution-ratio strong { color: var(--ink); font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.execution-ratio strong i { padding: 0 5px; color: var(--orange); font-size: .68em; font-style: normal; }
.execution-ratio.is-action { width: 100%; border: 0; border-right: 1px solid #d6eeee; color: inherit; background: transparent; text-align: left; cursor: pointer; transition: background .2s ease; }
.execution-ratio.is-action small { color: var(--orange-dark); font-size: 11px; font-weight: 800; opacity: 0; transform: translateX(-4px); transition: .2s ease; }
.execution-ratio.is-action:hover, .execution-ratio.is-action:focus-visible { background: #f0fbfa; outline: 0; }
.execution-ratio.is-action:hover small, .execution-ratio.is-action:focus-visible small { opacity: 1; transform: translateX(0); }

.filter-card, .table-card, .form-section, .editor-intro { background: var(--paper); border: 1px solid rgba(23,33,31,.07); border-radius: var(--radius); box-shadow: 0 5px 24px rgba(23,33,31,.035); }
.filter-card { padding: 26px; margin-bottom: 22px; }
.filter-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-heading > p { color: var(--muted); font-size: 13px; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)) 1.4fr auto auto; gap: 12px; align-items: end; margin-top: 20px; }
.account-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 14px; align-items: end; margin-top: 20px; }
.filters label { font-size: 11px; }.filters input, .filters select { min-height: 40px; padding: 9px 10px; }
.table-card { overflow: hidden; }
.table-summary { display: flex; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }.table-summary span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { padding: 13px 16px; text-align: left; color: var(--muted); background: #edf9f8; font-size: 11px; letter-spacing: .05em; }
td { padding: 16px; border-top: 1px solid #ecece7; font-size: 13px; }
tbody tr:hover { background: #fffaf7; }
.table-action { border: 0; background: none; color: var(--orange-dark); font-weight: 800; padding: 5px; }
.table-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.table-action.danger { color: var(--red); }
.empty-state { padding: 64px 20px; text-align: center; }.empty-state b { font-size: 16px; }.empty-state p { color: var(--muted); font-size: 13px; }
.student-reports-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.all-student-report-list { display: grid; gap: 10px; }
.all-student-report-card { width: 100%; display: grid; grid-template-columns: minmax(210px, 1.2fr) minmax(250px, 1fr) auto; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid #dbeceb; border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 5px 20px rgba(23,33,31,.03); text-align: left; cursor: pointer; transition: .18s ease; }
.all-student-report-card:hover, .all-student-report-card:focus-visible { border-color: #9dded9; background: #fbfefe; box-shadow: 0 8px 24px rgba(23,33,31,.07); outline: 0; transform: translateY(-1px); }
.all-student-report-person { min-width: 0; display: flex; align-items: center; gap: 11px; }.all-student-report-person .avatar { flex: 0 0 auto; }.all-student-report-person strong, .all-student-report-person small { display: block; }.all-student-report-person strong { font-size: 15px; }.all-student-report-person small { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.all-student-report-status { display: flex; flex-wrap: wrap; gap: 8px; }.student-report-status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }.student-report-status.submitted { color: #147c76; background: #e2f8f5; }.student-report-status.draft { color: #52769d; background: #eaf1f8; }.student-report-status.missing { color: #a4643c; background: #fff1df; }
.all-student-report-open { color: var(--orange-dark); font-size: 12px; font-weight: 900; white-space: nowrap; }

@media (max-width: 620px) {
  .student-reports-heading { align-items: start; }.student-reports-heading > p { margin-top: 8px; font-size: 12px; }
  .all-student-report-card { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .all-student-report-status { grid-column: 1 / -1; gap: 6px; }.all-student-report-open { align-self: center; }
}

.report-form { display: grid; gap: 18px; }
.source-document { overflow: hidden; border: 1px solid #bfc3bf; border-radius: 6px; background: #fff; box-shadow: 0 10px 32px rgba(23,33,31,.06); }
.source-document-head { padding: 44px 48px 34px; border-bottom: 1px solid #aeb3af; }.source-document-head h2 { margin: 0 0 32px; color: #090b0a; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; letter-spacing: -.055em; }.source-logic { max-width: 1040px; margin: 0; color: #151817; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.6; }.source-logic b { font-weight: 900; }
.source-section { padding: 36px 48px; border-bottom: 1px solid #bfc3bf; scroll-margin-top: 110px; }.source-section:last-child { border-bottom: 0; }.source-section > h3 { margin: 0 0 26px; color: #090b0a; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.25; letter-spacing: -.04em; }
.source-basic-section { padding-top: 32px; }.source-basic-section > h3 { font-size: clamp(28px, 3vw, 38px); }
.source-info-table { display: grid; grid-template-columns: 1fr 1.12fr 1fr 1.12fr; border-top: 1px solid #8f9691; border-left: 1px solid #8f9691; }.source-info-table > * { min-width: 0; min-height: 76px; margin: 0; padding: 13px 16px; border-right: 1px solid #8f9691; border-bottom: 1px solid #8f9691; }.source-table-head { display: flex; align-items: center; justify-content: center; min-height: 58px; color: #0d100f; background: #f5f5f1; font-size: 17px; }.source-info-label { display: flex; align-items: center; color: #121514; background: #fafaf7; font-size: 16px; font-weight: 800; }.source-info-control { display: flex; align-items: center; background: #fff; }.source-info-control > input, .source-schedule input { min-width: 0; height: 42px; padding: 8px 9px; border-color: transparent; border-bottom-color: #c6cbc6; border-radius: 0; background: transparent; box-shadow: none; }.source-info-control > input:focus, .source-schedule input:focus { border-color: transparent; border-bottom-color: var(--orange); box-shadow: none; }.source-unit-control { gap: 10px; }.source-unit-control b { flex: 0 0 auto; font-size: 16px; }.source-level-options { flex-wrap: wrap; gap: 10px 16px; align-content: center; }.source-level-options label { display: inline-flex; grid-template-columns: none; align-items: center; gap: 6px; color: #121514; font-size: 15px; font-weight: 700; }.source-level-options input { width: 16px; min-height: 16px; accent-color: var(--orange); }.source-schedule { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: #121514; background: #fff; font-size: 16px; font-weight: 800; }.source-schedule span { flex: 0 0 auto; }.source-schedule input { flex: 1; }
.source-field { display: grid; gap: 14px; margin-top: 38px; }.source-field:first-of-type { margin-top: 0; }.source-field label { display: block; color: #101312; font-size: clamp(18px, 2vw, 25px); line-height: 1.55; }.source-field label b { font-weight: 900; }.source-field label span { margin-left: .36em; font-size: .78em; font-weight: 500; }.source-field textarea { min-height: 130px; padding: 17px 18px; border: 1px solid #b9bfba; border-radius: 3px; background: #fff; color: #101312; font-size: 15px; line-height: 1.75; }.source-field textarea:focus { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.monthly-video-card { margin-top: 28px; padding: 24px; border: 1px solid #d8dcd6; background: #fafaf7; }
.monthly-video-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }.monthly-video-heading .eyebrow { margin: 0 0 4px; font-size: 10px; }.monthly-video-heading h4 { margin: 0; color: #101312; font-size: 19px; letter-spacing: -.025em; }.video-pill { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #d6dad5; border-radius: 999px; color: #68716b; background: #fff; font-size: 11px; font-weight: 800; }.video-pill.ready { border-color: #bad8c7; color: #246a4a; background: #f1faf4; }.video-pill.running { border-color: #f2c9af; color: #a34b20; background: #fff6f1; }.video-pill.completed { border-color: #bad8c7; color: #246a4a; background: #f1faf4; }.video-pill.failed, .video-pill.unconfigured { border-color: #ead2be; color: #9c582d; background: #fffaf4; }
.monthly-video-copy { margin: 14px 0 18px; color: #505a53; font-size: 14px; line-height: 1.7; }.monthly-video-upload { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: 14px; align-items: stretch; }.monthly-video-upload input { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }.video-file-trigger { display: grid; align-content: center; gap: 5px; min-height: 86px; padding: 15px 17px; border: 1px dashed #aeb6af; border-radius: 8px; color: #17211d; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }.video-file-trigger:hover { border-color: var(--orange); background: #fffaf7; }.video-file-trigger.is-disabled { color: #909792; background: #f3f4f0; cursor: not-allowed; }.video-file-trigger span { font-size: 14px; font-weight: 900; }.video-file-trigger small { color: #77807a; font-size: 11px; font-weight: 600; line-height: 1.5; }.monthly-video-meta { display: flex; align-items: center; min-height: 86px; padding: 15px 17px; border: 1px solid #e1e4df; border-radius: 8px; color: #6d766f; background: #fff; font-size: 13px; line-height: 1.65; }.monthly-video-preview { margin-top: 16px; }.monthly-video-preview video { display: block; width: min(100%, 620px); max-height: 330px; border: 1px solid #d8dcd6; border-radius: 7px; background: #101312; }.monthly-video-actions { margin-top: 16px; }.monthly-video-analysis { margin-top: 16px; padding: 16px 17px; border-left: 3px solid var(--orange); color: #27312c; background: #fff; white-space: pre-wrap; font-size: 13px; line-height: 1.8; }.monthly-video-analysis b { color: #101312; }
.editor-intro { padding: 27px; display: flex; justify-content: space-between; align-items: center; }
.editor-intro h2 { margin: 0 0 7px; font-size: 27px; letter-spacing: -.04em; }.editor-intro p:last-child { color: var(--muted); margin: 0; }
.save-state { color: var(--muted); font-size: 12px; display: flex; gap: 8px; align-items: center; }.save-state span { width: 8px; height: 8px; border-radius: 50%; background: #c2c4bf; }
.save-state.saved span { background: var(--green); }
.step-nav { position: sticky; top: 103px; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px; border-radius: 14px; background: var(--ink); box-shadow: var(--shadow); }
.step-nav a { color: rgba(255,255,255,.62); text-decoration: none; padding: 10px 14px; display: flex; align-items: center; gap: 9px; border-radius: 8px; font-size: 12px; font-weight: 700; }.step-nav a:hover { color: white; background: rgba(255,255,255,.08); }.step-nav b { color: var(--orange); font-size: 10px; }
.form-section { scroll-margin-top: 170px; padding: 30px; display: grid; gap: 21px; }
.form-section-title { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-section-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--orange-pale); color: var(--orange); font-weight: 900; font-size: 12px; }
.form-section-title h3 { margin: 0 0 4px; font-size: 20px; }.form-section-title p { color: var(--muted); margin: 0; font-size: 12px; }
.action-title .btn { margin-left: auto; }
.form-section h4 { font-size: 13px; margin: 3px 0 -8px; padding-left: 10px; border-left: 3px solid var(--orange); }
.form-grid { display: grid; gap: 16px; }.form-grid.two { grid-template-columns: repeat(2, 1fr); }.form-grid.three { grid-template-columns: repeat(3, 1fr); }.form-grid.four { grid-template-columns: repeat(4, 1fr); }.span-2 { grid-column: span 2; }
.lesson-records { display: grid; gap: 12px; }
.lesson-row { display: grid; grid-template-columns: 72px 145px 1fr 1.4fr 1.4fr 32px; gap: 11px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf6; }
.lesson-number { padding-top: 30px; font-size: 12px; color: var(--muted); }.lesson-number b { color: var(--orange); font-size: 16px; }.lesson-row label { font-size: 10px; }.lesson-row input, .lesson-row textarea { font-size: 12px; padding: 9px; }
.icon-btn { border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; padding: 4px; }.remove-lesson { margin-top: 26px; }
.compare-grid { display: grid; grid-template-columns: 1fr 42px 1fr; align-items: center; gap: 14px; }.compare-grid label { padding: 20px; border-radius: 13px; background: #f8f6f0; }.compare-grid label:last-child { background: var(--orange-pale); }.compare-arrow { text-align: center; color: var(--orange); font-size: 26px; }
.editor-actions { position: relative; z-index: 1; background: rgba(255,254,250,.94); border: 1px solid var(--line); border-radius: 14px; padding: 13px; display: flex; justify-content: space-between; box-shadow: var(--shadow); }.editor-actions > div { display: flex; gap: 10px; }

.dialog { width: min(960px, calc(100% - 30px)); max-height: 90vh; border: 0; border-radius: 18px; padding: 0; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.3); }.dialog::backdrop { background: rgba(10,18,16,.62); backdrop-filter: blur(4px); }
.dialog-head { position: sticky; top: 0; z-index: 2; background: var(--paper); padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }.dialog-head h2 { margin: 0; letter-spacing: -.035em; }
.report-detail { padding: 26px; background: var(--cream); display: grid; gap: 16px; }
.detail-hero { color: white; padding: 24px; border-radius: 14px; background: var(--ink); display: flex; justify-content: space-between; }.detail-hero h3 { margin: 0 0 9px; font-size: 24px; }.detail-hero p { color: rgba(255,255,255,.6); margin: 0; }
.detail-section { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 22px; }.detail-section h4 { margin: 0 0 16px; font-size: 16px; }.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 24px; }.detail-item small { display: block; color: var(--muted); margin-bottom: 5px; }.detail-item p { margin: 0; white-space: pre-wrap; line-height: 1.7; }.detail-item.full { grid-column: 1 / -1; }
.plan-student-roster { display: grid; gap: 6px; line-height: 1.6; }.plan-student-count { color: var(--ink); font-size: 13px; }.plan-student-group, .plan-student-name { margin: 0; color: var(--ink); font-size: 14px; }.plan-student-group b { margin-right: 4px; }.plan-student-group.advanced b { color: #14766f; }.plan-student-group.remedial b { color: #567caa; }
.monthly-video-detail video { display: block; width: min(100%, 680px); max-height: 390px; margin-top: 15px; border-radius: 8px; background: #101312; }.video-detail-analysis { margin-top: 17px; padding: 15px 16px; border-left: 3px solid var(--orange); background: #fffaf7; }.video-detail-analysis p { margin: 8px 0 0; white-space: pre-wrap; line-height: 1.75; }
.student-detail-reports { display: grid; gap: 12px; }.student-detail-reports article { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfd; }.student-detail-reports header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }.student-detail-reports header b, .student-detail-reports header small { display: block; }.student-detail-reports header small { margin-top: 3px; color: var(--muted); }.student-detail-reports header > span { padding: 5px 8px; border-radius: 999px; color: #187f7a; background: #dff6f3; font-size: 9px; font-weight: 900; }.student-detail-reports article > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.student-detail-reports p { font-size: 12px; line-height: 1.65; white-space: pre-wrap; }.student-detail-reports p small { display: block; color: var(--muted); }.student-detail-reports footer { display: flex; gap: 14px; }.student-detail-reports footer a { color: #187f7a; font-size: 11px; font-weight: 800; }.student-detail-reports footer span { color: var(--muted); font-size: 11px; }
.compact-dialog { width: min(470px, calc(100% - 30px)); }.compact-dialog form > label { margin: 18px 26px; }.dialog-actions { padding: 18px 26px 24px; display: flex; justify-content: end; gap: 10px; }
.batch-student-dialog { width: min(720px, calc(100% - 30px)); }
.batch-student-body { display: grid; gap: 18px; padding: 22px 26px 4px; }
.batch-student-input { display: grid; gap: 8px; font-weight: 800; }
.batch-student-input textarea { width: 100%; min-height: 190px; resize: vertical; line-height: 1.7; }
.batch-student-input small { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.6; }
.batch-student-preview { min-height: 96px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #f8fbfa; }
.batch-student-preview > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.batch-preview-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.batch-preview-summary > span { padding: 6px 9px; border-radius: 999px; color: var(--muted); background: white; font-size: 11px; }
.batch-preview-summary > span.valid { color: #14766f; background: #dff6f3; }
.batch-preview-summary > span.invalid { color: #a33a32; background: #fff0ed; }
.batch-preview-group { display: grid; gap: 7px; margin-top: 12px; }
.batch-preview-group > b { font-size: 11px; }
.batch-preview-group > div { display: flex; flex-wrap: wrap; gap: 6px; }
.batch-preview-group span { max-width: 100%; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 11px; overflow-wrap: anywhere; }
.batch-preview-group.valid span { border-color: #a9dfdb; color: #176967; background: #f2fcfa; }
.batch-preview-group.invalid span { border-color: #efc9c4; color: #8e312b; background: #fff8f6; }
.batch-preview-group span small { display: block; margin-top: 3px; opacity: .78; }
@media (max-width: 720px) {
  .class-student-entry-head { align-items: flex-start; }
  .class-student-entry-actions { flex-wrap: wrap; justify-content: flex-end; }
  .batch-student-dialog { width: calc(100% - 16px); max-height: 94vh; }
  .batch-student-dialog .dialog-head { padding: 17px 18px; }
  .batch-student-body { padding: 18px 18px 2px; }
  .batch-student-input textarea { min-height: 160px; }
  .batch-student-dialog .dialog-actions { position: sticky; bottom: 0; padding: 14px 18px 18px; background: var(--paper); }
}
.toast { position: fixed; z-index: 100; right: 24px; top: 22px; max-width: 360px; padding: 13px 17px; border-radius: 10px; color: white; background: var(--ink); box-shadow: var(--shadow); transform: translateY(-80px); opacity: 0; transition: .3s; font-size: 13px; }.toast.show { transform: translateY(0); opacity: 1; }.toast.error { background: var(--red); }.pull-refresh-indicator { position: fixed; z-index: 101; top: 14px; left: 50%; padding: 8px 12px; border-radius: 999px; color: #14766f; background: #dff6f3; box-shadow: 0 8px 20px rgba(23,33,31,.12); font-size: 12px; font-weight: 800; pointer-events: none; opacity: 0; transform: translate(-50%, -56px); transition: .2s; }.pull-refresh-indicator.ready, .pull-refresh-indicator.refreshing { opacity: 1; transform: translate(-50%, 0); }.pull-refresh-indicator.refreshing { color: #567caa; background: #eaf1fb; }

@media (max-width: 1180px) {
  .hero-loop { display: none; }
  .supervisor-overview-grid { grid-template-columns: 1.08fr .92fr; }.focus-panel { grid-column: 1 / -1; }.supervisor-focus { grid-template-columns: repeat(3, 1fr); gap: 14px; }.focus-item { border-bottom: 0; }.priority-review-row, .review-table-head { grid-template-columns: 116px 1fr minmax(180px, 1.2fr) 82px 74px; }.priority-review-row time, .review-table-head span:nth-child(5) { display: none; }
  .coach-action-card { grid-template-columns: 108px minmax(0, 1fr); }.coach-action-buttons { grid-column: 2; grid-auto-flow: column; justify-content: start; min-width: 0; }
  .report-cards { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .account-form { grid-template-columns: repeat(2, 1fr); }
  .lesson-row { grid-template-columns: 60px 140px 1fr 32px; }.lesson-row label:nth-of-type(3), .lesson-row label:nth-of-type(4) { grid-column: span 2; }
  .form-grid.four { grid-template-columns: repeat(2, 1fr); }
  .source-document-head, .source-section { padding-inline: 30px; }.source-info-table { grid-template-columns: .9fr 1.2fr .9fr 1.2fr; }.source-level-options { gap: 8px 10px; }
}

@media (max-width: 1080px) {
  .mobile-only { display: block; }
  .login-view { grid-template-columns: 1fr; }.login-brand { display: none; }.login-panel { min-height: 100vh; padding: 24px; }.mobile-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 56px; }.login-card h2 { font-size: 30px; }
  .sidebar { transform: translateX(-100%); transition: .25s; box-shadow: var(--shadow); }.sidebar.open { transform: translateX(0); }.app-view, .main-area { width: 100%; max-width: 100%; }.main-area { flex: 1 1 100%; margin-left: 0; overflow-x: clip; }
  .topbar { height: 76px; padding: 12px 18px; gap: 12px; }.topbar > div:first-of-type { flex: 1; }.topbar h1 { font-size: 20px; }.date-chip { display: none; }.topbar .btn { display: none; }
  .supervisor-month-control { display: none; }
  .content { padding: 20px 16px 60px; }
  .supervisor-dashboard { gap: 14px; }.mobile-supervisor-toolbar.mobile-only { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid rgba(23,33,31,.08); border-radius: 13px; background: var(--paper); box-shadow: 0 5px 20px rgba(23,33,31,.035); }.mobile-supervisor-toolbar label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .04em; }.mobile-supervisor-toolbar input { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; color: var(--ink); background: #faf9f4; font-size: 14px; font-weight: 800; }.mobile-supervisor-toolbar .btn { min-height: 40px; padding-inline: 14px; white-space: nowrap; }
  .supervisor-overview-grid { grid-template-columns: 1fr; }.focus-panel { grid-column: auto; }.execution-body { grid-template-columns: 150px 1fr; padding-inline: 19px; }.coverage-ring { --ring-size: 136px; }.coverage-ring strong { font-size: 33px; }.supervisor-panel > h2 { padding-inline: 19px; }.level-distribution { padding-inline: 19px; }.supervisor-focus { grid-template-columns: 1fr; padding-inline: 19px; }.focus-item { border-bottom: 1px solid var(--line); }.focus-item:last-child { border-bottom: 0; }.review-panel-head { padding-inline: 19px; }.review-table-head { display: none; }.priority-review-list { padding-inline: 10px; }.priority-review-row { grid-template-columns: 96px minmax(0, 1fr) 74px; gap: 8px; }.review-reason, .review-state { display: none; }.mobile-review-reason { overflow: visible !important; white-space: normal !important; line-height: 1.45; }.open-report { text-align: right; }.priority-review-row time { display: none; }
  .hero-card { padding: 28px 24px; min-height: 210px; }.hero-card h2 { font-size: 29px; }
  .coach-action-card { grid-template-columns: 1fr; gap: 16px; padding: 22px; }.coach-action-index { align-self: auto; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--line); }.coach-action-buttons { grid-column: auto; grid-auto-flow: row; grid-template-columns: 1fr 1fr; }.coach-action-buttons .btn { width: 100%; }
  .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } body.is-supervisor .metrics-grid { grid-template-columns: repeat(2, 1fr); }.metric-card { min-height: 100px; padding: 18px; }
  .report-cards { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, 1fr); }.filter-card { padding: 20px; }.filter-heading { align-items: start; }.filter-heading > p { display: none; }
  .account-form { grid-template-columns: 1fr 1fr; }
  .step-nav { top: 86px; overflow-x: auto; grid-template-columns: repeat(5, minmax(100px, 1fr)); }.step-nav span { white-space: nowrap; }
  .form-section { padding: 21px; }.form-grid.two, .form-grid.three, .form-grid.four { grid-template-columns: 1fr; }.span-2 { grid-column: auto; }
  .lesson-row { grid-template-columns: 1fr 1fr 32px; }.lesson-number { grid-column: 1; padding-top: 26px; }.lesson-row label:nth-of-type(2), .lesson-row label:nth-of-type(3), .lesson-row label:nth-of-type(4) { grid-column: 1 / -1; }.lesson-row .remove-lesson { grid-column: 3; grid-row: 1; }
  .compare-grid { grid-template-columns: 1fr; }.compare-arrow { transform: rotate(90deg); }
  .editor-actions { bottom: 8px; flex-direction: column; gap: 10px; }.editor-actions > div { display: grid; grid-template-columns: repeat(2, 1fr); }.editor-actions .danger-outline { grid-column: 1 / -1; }
  .source-document { border-radius: 3px; }.source-document-head { padding: 30px 22px 26px; }.source-document-head h2 { margin-bottom: 22px; }.source-section { padding: 28px 22px; }.source-info-table { grid-template-columns: 104px minmax(0, 1fr); }.source-info-table > * { min-height: 64px; padding: 10px 12px; }.source-table-head:nth-child(n+3) { display: none; }.source-level-options { grid-column: 2; }.source-schedule { grid-column: 1 / -1; }.source-field { margin-top: 30px; }.source-field textarea { min-height: 120px; }
  .monthly-video-card { padding: 18px; }.monthly-video-upload { grid-template-columns: 1fr; }.monthly-video-preview video { width: 100%; }
  .detail-grid { grid-template-columns: 1fr; }.detail-item.full { grid-column: auto; }
}

@media (max-width: 520px) {
  body[data-view="dashboard"] .topbar { height: 72px; padding: 12px 18px; background: rgba(255,255,255,.96); }
  body[data-view="dashboard"] .topbar .eyebrow { display: none; }
  body[data-view="dashboard"] .topbar h1 { font-size: 22px; }
  body[data-view="dashboard"] #mobileTopAvatar { display: grid; width: 36px; height: 36px; }
  .mobile-route-action { display: none !important; min-height: 38px; padding: 0 12px; border: 0; border-radius: 10px; color: white; background: var(--orange); font-size: 12px; font-weight: 900; }
  body[data-view] #mobileManualRefreshBtn { display: block !important; }
  body[data-view="reports"] #mobileTopAvatar { display: none; }
  body[data-view="reports"] #mobileNewPlanBtn { display: block !important; }
  body[data-view="reports"] .topbar { height: 72px; padding: 12px 18px; background: rgba(255,255,255,.96); }
  body[data-view="reports"] .topbar .eyebrow { display: none; }
  body[data-view="reports"] .topbar h1 { font-size: 22px; }
  body[data-view="reports"] .content { padding: 0 16px 108px; background: #f8fbfc; }
  body[data-view="reports"] #reportsSection > .section-head,
  body[data-view="reports"] #reportsSection > .table-card { display: none; }
  body[data-view="dashboard"] .content { padding: 0 16px 108px; background: #f8fbfc; }
  body[data-view="dashboard"] .hero-card,
  body[data-view="dashboard"] #coachActionPanel,
  body[data-view="dashboard"] .metrics-grid,
  body[data-view="dashboard"] #coachDashboard > .section-head,
  body[data-view="dashboard"] #recentReports { display: none; }
  .mobile-coach-home { display: grid; gap: 18px; max-width: 420px; margin: 0 auto; padding-top: 24px; }
  .mobile-greeting { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
  .mobile-greeting h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.04em; }
  .mobile-greeting p { margin: 0; color: var(--muted); font-size: 13px; }
  .mobile-greeting label { width: 132px; flex: 0 0 auto; }
  .mobile-greeting input { min-height: 42px; padding: 8px 10px; border-radius: 999px; color: var(--ink); background: white; font-size: 13px; font-weight: 800; opacity: 1; }
  .mobile-loop-card, .mobile-next-card { border: 1px solid #ccebe8; border-radius: 18px; background: #f1fbfa; }
  .mobile-loop-card { padding: 20px 16px 17px; }
  .mobile-loop-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .mobile-loop-heading h3 { margin: 0 0 9px; font-size: 15px; }
  .mobile-loop-heading strong { display: block; font-size: 38px; line-height: .95; letter-spacing: -.06em; }
  .mobile-loop-heading p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
  .mobile-loop-ring { --mobile-progress: 0; width: 90px; height: 90px; flex: 0 0 auto; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--mobile-progress) * 1%), #dcefed 0); }
  .mobile-loop-ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #f1fbfa; }
  .mobile-loop-ring b { position: relative; z-index: 1; font-size: 23px; }
  .mobile-loop-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 18px 0 0; padding: 0; list-style: none; }
  .mobile-loop-steps li { position: relative; min-width: 0; display: grid; justify-items: center; gap: 7px; color: #93a0b4; text-align: center; }
  .mobile-loop-steps li:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: 67%; width: 66%; height: 1px; background: #d9e3e8; }
  .mobile-loop-steps b { position: relative; z-index: 1; width: 27px; height: 27px; display: grid; place-items: center; border: 2px solid #c6d0db; border-radius: 50%; background: #f1fbfa; font-size: 11px; }
  .mobile-loop-steps span { font-size: 9px; line-height: 1.25; white-space: nowrap; }
  .mobile-loop-steps .done, .mobile-loop-steps .current { color: var(--ink); }
  .mobile-loop-steps .done b { color: white; border-color: var(--orange); background: var(--orange); }
  .mobile-loop-steps .done::after { background: var(--orange) !important; }
  .mobile-loop-steps .current b { color: var(--orange-dark); border-color: var(--orange); }
  .mobile-next-card { display: grid; gap: 11px; padding: 18px; background: white; }
  .mobile-next-card p { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -.025em; }
  .mobile-next-card em { color: var(--orange-dark); font-style: normal; }
  .mobile-next-card strong { color: var(--muted); font-size: 12px; font-weight: 700; }
  .mobile-next-card .btn { width: 100%; margin-top: 3px; }
  .mobile-home-section { display: grid; gap: 10px; }
  .mobile-home-section > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-home-section h3 { margin: 0; font-size: 18px; }
  .mobile-home-section header button { min-height: 36px; border: 0; color: var(--muted); background: transparent; font-size: 12px; }
  .mobile-class-list, .mobile-activity-list { overflow: hidden; border: 1px solid #dceceb; border-radius: 16px; background: white; }
  .mobile-class-row { width: 100%; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 15px 12px; border: 0; border-bottom: 1px solid #e7efef; color: var(--ink); background: transparent; text-align: left; }
  .mobile-class-row:last-child { border-bottom: 0; }
  .mobile-class-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--orange-dark); background: var(--orange-pale); font-weight: 900; }
  .mobile-class-copy { min-width: 0; display: grid; gap: 3px; }
  .mobile-class-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
  .mobile-class-copy small { color: var(--muted); font-size: 9px; }
  .mobile-class-status { padding: 6px 8px; border-radius: 999px; color: #18867e; background: #e8f7f3; font-size: 9px; font-weight: 900; white-space: nowrap; }
  .mobile-class-status.needs-work { color: #b85b24; background: #fff0e7; }
  .mobile-data-strip { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid #dceceb; border-radius: 16px; background: white; }
  .mobile-execution-card { display: block; overflow: hidden; border: 1px solid #dceceb; border-radius: 16px; background: white; }
  .mobile-execution-card .execution-class-head, .mobile-execution-card .execution-class-row { grid-template-columns: minmax(86px, 1.2fr) repeat(3, minmax(0, 1fr)); }
  .mobile-execution-card .execution-class-head { min-height: 42px; padding: 0 12px; font-size: 9px; }
  .mobile-execution-card .execution-class-row { min-height: 68px; padding: 0 12px; }
  .mobile-execution-card .execution-class-row > .class-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  .mobile-execution-card .execution-class-row > .metric { font-size: 14px; }
  .mobile-execution-card .execution-ratio { min-height: 86px; padding: 16px 11px; }
  .mobile-execution-card .execution-ratio span { font-size: 11px; }
  .mobile-execution-card .execution-ratio strong { font-size: 22px; }
  .mobile-execution-card .execution-ratio.is-action small { display: block; font-size: 9px; opacity: 1; transform: none; }
  .mobile-data-strip span { display: grid; grid-template-columns: auto 1fr; gap: 5px; align-items: baseline; padding: 15px 10px; border-right: 1px solid #e7efef; }
  .mobile-data-strip span.mobile-generated-report-stat { grid-template-columns: auto auto 1fr; }
  .mobile-data-strip span:last-child { border-right: 0; }
  .mobile-data-strip b { font-size: 22px; }
  .mobile-data-strip small { color: var(--muted); font-size: 9px; }
  .mobile-activity-row { width: 100%; display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 4px 10px; padding: 13px 14px; border: 0; border-bottom: 1px solid #e7efef; color: var(--ink); background: transparent; text-align: left; }
  .mobile-activity-row:last-child { border-bottom: 0; }
  .mobile-activity-row span { grid-row: 1 / 3; align-self: center; color: var(--orange-dark); font-size: 10px; font-weight: 900; }
  .mobile-activity-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  .mobile-activity-row small { color: var(--muted); font-size: 9px; }
  .mobile-empty { padding: 22px 16px; text-align: center; }
  .mobile-empty b { display: block; font-size: 14px; }
  .mobile-empty p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
  .mobile-reminder { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 15px; border: 1px solid #f0ddbd; border-radius: 16px; background: #fff9ef; }
  .mobile-reminder b { font-size: 13px; }
  .mobile-reminder p { margin: 5px 0 0; color: #8a6335; font-size: 10px; line-height: 1.5; }
  .mobile-reminder button { min-height: 36px; padding: 0 10px; border: 1px solid #edc98d; border-radius: 999px; color: #a35e16; background: white; font-size: 10px; font-weight: 900; white-space: nowrap; }
  .mobile-updated { margin: -7px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
  .mobile-bottom-nav { position: fixed; z-index: 18; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top: 1px solid #dfe8ed; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); box-shadow: 0 -8px 24px rgba(29,43,69,.05); }
  .mobile-bottom-nav button { min-height: 48px; border: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; }
  .mobile-bottom-nav button.active { color: var(--orange-dark); }
  .mobile-plan-route { display: grid; gap: 24px; max-width: 420px; margin: 0 auto; padding-top: 22px; }
  .mobile-plan-toolbar { display: grid; gap: 18px; }
  .mobile-plan-toolbar label { width: 156px; }
  .mobile-plan-toolbar input { min-height: 44px; padding: 9px 12px; border-radius: 12px; color: var(--ink); background: white; font-size: 17px; font-weight: 900; }
  .mobile-plan-filters { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; padding: 3px; border: 1px solid #d4e8e7; border-radius: 14px; background: white; }
  .mobile-plan-filters button { min-height: 42px; border: 0; border-right: 1px solid #e7efef; color: var(--muted); background: transparent; font-size: 13px; font-weight: 800; }
  .mobile-plan-filters button:last-child { border-right: 0; }
  .mobile-plan-filters button.active { border-radius: 11px; color: var(--orange-dark); background: var(--orange-pale); }
  .mobile-plan-section { display: grid; gap: 12px; }
  .mobile-plan-section > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .mobile-plan-section h2 { margin: 0; font-size: 20px; }
  .mobile-plan-section header small { color: var(--muted); font-size: 11px; }
  .mobile-plan-list { display: grid; gap: 12px; }
  .mobile-plan-card { position: relative; display: grid; gap: 12px; padding: 16px; border: 1px solid #dceceb; border-radius: 17px; background: white; }
  .mobile-plan-main { width: 100%; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; }
  .mobile-plan-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--orange-dark); background: var(--orange-pale); font-weight: 900; }
  .mobile-plan-copy { min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: center; }
  .mobile-plan-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
  .mobile-plan-copy .status { justify-self: start; padding: 3px 6px; font-size: 10px; }
  .mobile-plan-copy .status::before { width: 5px; height: 5px; }
  .mobile-plan-copy small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
  .mobile-plan-stage { display: grid; gap: 4px; text-align: right; white-space: nowrap; }
  .mobile-plan-stage b { color: var(--orange-dark); font-size: 13px; }
  .mobile-plan-stage small { color: var(--muted); font-size: 9px; }
  .mobile-plan-progress { height: 5px; overflow: hidden; margin-left: 53px; border-radius: 999px; background: #e2eaed; }
  .mobile-plan-progress span { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
  .mobile-plan-resume { justify-self: end; min-height: 40px; }
  .mobile-plan-actions { display: flex; justify-content: flex-end; gap: 8px; }
  .mobile-plan-actions .mobile-plan-resume { margin-right: auto; }
  .mobile-create-plan { display: grid; gap: 5px; padding: 17px 18px; border: 1px solid #dceceb; border-radius: 17px; color: var(--ink); background: white; text-align: left; }
  .mobile-create-plan span { font-size: 15px; font-weight: 900; }
  .mobile-create-plan small { color: var(--muted); font-size: 10px; }
  .mobile-autosave-note { margin: 2px 2px 0; color: var(--muted); font-size: 11px; }
  .mobile-plan-empty { padding: 32px 18px; border: 1px solid #dceceb; border-radius: 17px; background: white; text-align: center; }
  .mobile-plan-empty b { display: block; font-size: 14px; }
  .mobile-plan-empty p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
  body.capture-full[data-view="dashboard"] .content { padding-bottom: 24px; }
  body.capture-full .mobile-bottom-nav { position: static; margin-inline: -16px; margin-bottom: -24px; }
  .metrics-grid, body.is-supervisor .metrics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.metric-icon { display: none; }.metric-card { min-height: 86px; }
  .mobile-supervisor-toolbar.mobile-only { grid-template-columns: 1fr; }.mobile-supervisor-toolbar .btn { width: 100%; }.execution-body { grid-template-columns: 1fr; justify-items: center; }.execution-summary { width: 100%; }.review-panel-head .btn { padding-inline: 10px; font-size: 12px; }.priority-review-row { grid-template-columns: minmax(0, 1fr) 64px; grid-template-areas: "coach action" "class action"; gap: 8px 10px; padding: 13px 8px; }.review-coach { grid-area: coach; }.review-class { grid-area: class; }.open-report { grid-area: action; align-self: center; }.review-class small { white-space: normal; line-height: 1.35; }.review-coach { gap: 6px; }
  .filters { grid-template-columns: 1fr; }.filter-card { margin-inline: -3px; }
  .account-form { grid-template-columns: 1fr; }
  .section-head { align-items: center; }.table-summary span { display: none; }
  .coach-action-copy h2, .coach-action-empty .coach-action-copy h2 { font-size: 20px; }.coach-action-title { display: block; }.coach-action-title .status { margin-top: 9px; }.coach-action-buttons { grid-template-columns: 1fr; }
  .form-section-title { align-items: start; }.form-section-title > span { flex: 0 0 38px; width: 38px; height: 38px; }.action-title { flex-wrap: wrap; }.action-title .btn { margin: 5px 0 0 52px; }
  .lesson-row { grid-template-columns: 1fr 32px; }.lesson-row label, .lesson-row label:nth-of-type(2), .lesson-row label:nth-of-type(3), .lesson-row label:nth-of-type(4) { grid-column: 1 / -1; }.lesson-row .remove-lesson { grid-column: 2; }
  .source-document-head h2 { font-size: 28px; }.source-logic { font-size: 15px; }.source-section > h3 { font-size: 24px; }.source-basic-section > h3 { font-size: 28px; }.source-info-table { grid-template-columns: 96px minmax(0, 1fr); }.source-info-label, .source-schedule { font-size: 14px; }.source-level-options { display: grid; grid-template-columns: 1fr 1fr; }.source-field label { font-size: 18px; }.source-field label span { display: inline; margin-left: .18em; }.source-field textarea { padding: 14px; }
}

/* v2.0 教学目标优化参考版 */
.guided-report-form { gap: 16px; padding-bottom: 76px; }
.goal-editor-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 30px; border: 1px solid #ccebe8; border-radius: 18px; background: linear-gradient(135deg, #e6f9f7 0%, #f5fcfb 100%); box-shadow: 0 10px 30px rgba(29,43,69,.055); }
.goal-editor-hero h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.045em; }
.goal-editor-hero > div:first-child > p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.goal-completion { width: 152px; flex: 0 0 auto; text-align: right; }
.goal-completion strong { display: block; font-size: 32px; line-height: 1; letter-spacing: -.055em; }
.goal-completion span { display: block; margin: 7px 0 10px; color: var(--muted); font-size: 11px; font-weight: 800; }
.goal-completion > div { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(29,43,69,.1); }
.goal-completion i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); transition: width .25s ease; }

.goal-stepper { position: sticky; top: 100px; z-index: 6; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 7px; border-radius: 15px; background: var(--ink); box-shadow: var(--shadow); }
.goal-stepper button { min-width: 0; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 9px; padding: 10px 12px; border: 0; border-radius: 10px; color: rgba(255,255,255,.62); background: transparent; text-align: left; }
.goal-stepper button:hover, .goal-stepper button.active { color: white; background: rgba(255,255,255,.1); }
.goal-stepper button:focus-visible { outline: 2px solid white; outline-offset: -3px; }
.goal-stepper b { grid-row: 1 / 3; align-self: center; color: var(--orange); font-size: 11px; }
.goal-stepper span { overflow: hidden; font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.goal-stepper small { margin-top: 2px; color: rgba(255,255,255,.42); font-size: 9px; }

.goal-step-panel { padding: 28px; border: 1px solid rgba(29,43,69,.08); border-radius: 18px; background: var(--paper); box-shadow: 0 6px 26px rgba(29,43,69,.04); }
.goal-section-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.goal-section-head > span { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: var(--orange-dark); background: var(--orange-pale); font-size: 12px; font-weight: 900; }
.goal-section-head h3 { margin: 0 0 5px; font-size: 22px; letter-spacing: -.035em; }
.goal-section-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.goal-head-campus { margin-left: auto; display: grid; grid-template-columns: auto auto; gap: 2px 3px; min-width: 170px; color: var(--ink); font-size: 12px; font-weight: 800; }
.goal-head-campus em { color: var(--red); font-style: normal; }
.goal-head-campus input, .goal-head-campus select { grid-column: 1 / -1; min-height: 38px; padding: 7px 10px; font-size: 12px; }
.guided-grid { display: grid; gap: 16px; }
.guided-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guided-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guided-grid label { min-width: 0; display: block; }
.guided-grid label > input, .guided-grid label > select, .guided-grid label > textarea { display: block; margin-top: 8px; }
.guided-grid label em, .guided-fieldset em, .monthly-target-field em { color: var(--red); font-style: normal; }
.class-student-entry { min-width: 0; display: grid; gap: 7px; align-content: start; font-size: 14px; font-weight: 800; }
.class-student-entry-head span em { color: var(--red); font-style: normal; }
.class-student-entry input { min-width: 0; }
.class-student-entry-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.class-student-entry-head .btn { min-height: 27px; padding: 3px 8px; border-radius: 7px; font-size: 11px; line-height: 1; white-space: nowrap; }
.class-student-entry-actions { display: flex; align-items: center; gap: 6px; }
.guided-grid .coach-display-field { min-width: 0; display: grid; gap: 7px; align-content: start; }
.coach-display-field > span { min-height: 27px; display: flex; align-items: center; font-size: 14px; font-weight: 800; }
.guided-grid .coach-display-field > input { margin-top: 0; }
.class-schedule-entry { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 7px; align-content: start; }
.class-schedule-entry legend { padding: 0; color: var(--ink); font-size: 14px; font-weight: 800; }
.schedule-control-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(150px, .72fr); gap: 8px; align-items: end; }
.schedule-select-field, .schedule-time-picker { min-width: 0; display: block; }
.schedule-day-dropdown { position: relative; min-width: 0; }
.schedule-day-dropdown summary { position: relative; min-height: 42px; display: flex; align-items: center; padding: 8px 34px 8px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font-size: 12px; font-weight: 700; list-style: none; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-day-dropdown summary::-webkit-details-marker { display: none; }
.schedule-day-dropdown summary::after { content: "⌄"; position: absolute; right: 12px; top: 50%; color: var(--muted); font-size: 16px; transform: translateY(-56%); }
.schedule-day-dropdown[open] summary { border-color: #40c4bc; box-shadow: 0 0 0 2px rgba(64,196,188,.14); }
.schedule-day-dropdown[open] summary::after { transform: translateY(-42%) rotate(180deg); }
.schedule-day-options { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: min(280px, 88vw); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px; border: 1px solid #b9dedb; border-radius: 11px; background: white; box-shadow: 0 16px 36px rgba(18,48,45,.16); }
.schedule-day-options label { position: relative; min-width: 0; display: block; }
.schedule-day-options input { position: absolute; opacity: 0; pointer-events: none; }
.schedule-day-options span { min-height: 34px; display: grid; place-items: center; padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fbfdfd; font-size: 11px; font-weight: 800; cursor: pointer; transition: .2s; }
.schedule-day-options input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.schedule-day-options input:checked + span { border-color: #40c4bc; color: #146b67; background: #e6f8f6; box-shadow: inset 0 0 0 1px #40c4bc; }
.guided-grid .schedule-time-picker > input { width: 100%; min-height: 42px; margin-top: 0; }
.class-schedule-entry > small { color: #176967; font-size: 10px; font-weight: 700; line-height: 1.45; }
@media (max-width: 720px) {
  .class-schedule-entry.span-2 { grid-column: 1 / -1; }
  .schedule-control-row { grid-template-columns: minmax(0, 1fr) minmax(125px, .72fr); }
  .schedule-day-options { right: 0; width: min(260px, calc(100vw - 34px)); }
}
@media (max-width: 620px) {
  .class-schedule-entry { order: 1; }
  .coach-display-field { order: 2; }
}
.class-student-entry small { color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.45; }
.class-student-roster { display: grid; gap: 6px; }
.class-student-tags { display: flex; flex-wrap: wrap; gap: 6px; max-height: 76px; padding-right: 3px; overflow-y: auto; overscroll-behavior: contain; }
.class-student-tag { position: relative; display: inline-flex; align-items: center; min-height: 28px; max-width: 100%; padding: 4px 23px 4px 9px; border: 1px solid #a9dfdb; border-radius: 999px; color: #176967; background: #f2fcfa; font-size: 11px; font-weight: 800; }
.class-student-tag button { position: absolute; top: -4px; right: -3px; width: 15px; height: 15px; display: grid; place-items: center; padding: 0; border: 1px solid #8ac9c5; border-radius: 50%; color: #176967; background: white; font-size: 13px; line-height: 1; cursor: pointer; }
.class-student-tag button:hover { border-color: var(--red); color: var(--red); }
.class-student-empty { margin: 0; color: var(--muted); font-size: 10px; font-weight: 600; }
.guided-grid .span-2 { grid-column: span 2; }
.guided-fieldset { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.guided-fieldset legend { padding: 0 8px; color: var(--ink-2); font-size: 13px; font-weight: 800; }
.level-choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.level-choice-grid label { min-width: 0; display: block; }
.level-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.level-choice-grid label > span { min-height: 72px; display: grid; align-content: center; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #fbfdfd; cursor: pointer; transition: .2s; }
.level-choice-grid input:checked + span { border-color: var(--orange); background: var(--orange-pale); box-shadow: inset 0 0 0 1px var(--orange); }
.level-choice-grid input:focus-visible + span { outline: 3px solid rgba(54,200,192,.38); outline-offset: 2px; }
.level-choice-grid input[aria-invalid="true"] + span { border-color: var(--red); }
.level-choice-grid b, .level-choice-grid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.level-choice-grid b { font-size: 13px; }
.level-choice-grid small { color: var(--muted); font-size: 10px; }
.coach-tip { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: start; margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; background: #f2fcfa; }
.coach-tip b { color: var(--orange-dark); font-size: 12px; }
.coach-tip p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.coach-plan-review-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 18px 20px; border: 1px solid #bfe5e2; border-radius: 14px; background: linear-gradient(135deg, #effbf9, #fff); }
.coach-plan-review-card .eyebrow { margin-bottom: 7px; font-size: 10px; }
.coach-plan-review-card h4 { margin: 0 0 6px; font-size: 17px; }
.coach-plan-review-card p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.coach-plan-review-actions, .coach-plan-preview-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.coach-plan-review-card .btn { flex: 0 0 auto; min-height: 44px; white-space: nowrap; }
.coach-plan-preview-actions { justify-content: flex-end; margin-top: 4px; padding: 18px 22px 4px; border-top: 1px solid var(--line); }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

.quick-start-card { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; margin-bottom: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #f8fcfc; }
.quick-start-card b, .quick-start-card small { display: block; }
.quick-start-card b { font-size: 13px; }
.quick-start-card small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-chips button { min-height: 34px; padding: 0 12px; border: 1px solid #bfe5e2; border-radius: 999px; color: #187f7a; background: white; font-size: 11px; font-weight: 800; }
.quick-chips button:hover { color: white; border-color: var(--orange); background: var(--orange); }
.measurable-goal-card { margin-top: 20px; padding: 20px; border: 1px solid #bfe5e2; border-radius: 15px; background: linear-gradient(135deg, #f2fcfa, #fff); }
.measurable-goal-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.measurable-goal-head h4 { margin: 0; font-size: 18px; }
.measurable-goal-head > span { color: var(--muted); font-size: 10px; font-weight: 800; }
.monthly-goal-section { display: grid; gap: 16px; margin-top: 20px; }.monthly-goal-label { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }.monthly-goal-label h4 { margin: 0; color: var(--ink); font-size: 15px; }.monthly-goal-label span { color: var(--muted); font-size: 10px; font-weight: 700; }
.goal-sentence-preview { margin-top: 16px; padding: 14px 16px; border-radius: 10px; color: var(--muted); background: white; font-size: 13px; line-height: 1.7; }
.goal-sentence-preview.ready { color: var(--ink); border-left: 3px solid var(--orange); }
.auxiliary-goals-field { display: grid; margin-top: 16px; }
.auxiliary-goals-field small { justify-self: end; color: var(--muted); font-size: 10px; }

.tier-goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.tier-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfd; }
.tier-card > span { display: block; margin-bottom: 12px; }
.tier-card b, .tier-card small { display: block; }
.tier-card b { font-size: 15px; }
.tier-card small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.tier-card > label { display: grid; gap: 7px; margin-top: 14px; font-weight: 700; color: var(--ink); }
.tier-card > label textarea { margin-top: 0; }
.tier-student-picker { margin-top: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.tier-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tier-picker-head b { font-size: 12px; }
.tier-picker-head small { margin: 0; color: var(--orange); font-weight: 700; }
.tier-picker-toggle { min-height: 32px; padding: 5px 10px; border: 1px solid var(--orange); border-radius: 8px; background: var(--orange-pale); color: #176967; font-weight: 800; font-size: 12px; cursor: pointer; }
.tier-picker-toggle:disabled { opacity: .55; cursor: not-allowed; }
.tier-student-panel { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.tier-student-search { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.tier-student-search input { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.tier-student-options { display: flex; flex-wrap: wrap; gap: 7px; max-height: 184px; margin-top: 9px; padding-right: 3px; overflow-y: auto; overscroll-behavior: contain; }
.tier-student-option { position: relative; display: inline-flex; }
.tier-student-option input { position: absolute; opacity: 0; }
.tier-student-option span { min-height: 30px; display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #f8fcfc; color: var(--ink); font-size: 12px; cursor: pointer; }
.tier-student-option input:checked + span { border-color: var(--orange); background: var(--orange-pale); color: #176967; font-weight: 700; }
.tier-student-option input:focus-visible + span { outline: 3px solid rgba(54,200,192,.35); outline-offset: 2px; }
.tier-student-option.is-unavailable span { opacity: .42; cursor: not-allowed; }
.tier-student-empty { margin: 2px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.tier-card.advanced { border-top: 3px solid var(--orange); }
.tier-card.foundation { border-top: 3px solid #7da2c7; }
.tier-card.is-disabled { opacity: .48; background: #f3f6f7; }
.no-tiering-choice { display: block; margin-top: 14px; }
.no-tiering-choice input { position: absolute; opacity: 0; }
.no-tiering-choice span { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #f8fcfc; cursor: pointer; }
.no-tiering-choice input:checked + span { border-color: var(--orange); background: var(--orange-pale); box-shadow: inset 0 0 0 1px var(--orange); }
.no-tiering-choice input:focus-visible + span { outline: 3px solid rgba(54,200,192,.38); outline-offset: 2px; }
.no-tiering-choice b { font-size: 13px; }.no-tiering-choice small { color: var(--muted); font-size: 10px; }
.monthly-target-field { font-size: 14px; }
.monthly-target-field > small { color: var(--muted); font-weight: 500; line-height: 1.6; }
.baseline-reference { margin-bottom: 16px; padding: 14px 16px; border: 1px solid #bfe5e2; border-radius: 12px; background: #f2fcfa; }
.baseline-reference b { color: var(--orange-dark); font-size: 12px; }.baseline-reference p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.evidence-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.evidence-plan-grid article { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdfd; }
.evidence-plan-grid span { color: var(--orange-dark); font-size: 10px; font-weight: 900; }
.evidence-plan-grid b { display: block; margin-top: 8px; font-size: 14px; }
.evidence-plan-grid p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.student-roster-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) auto auto; gap: 10px; align-items: end; margin-top: 20px; }
.student-roster-help { margin: 9px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.student-roster-summary { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.student-roster-summary b, .student-roster-summary small { display: block; }
.student-roster-summary b { font-size: 15px; }
.student-roster-summary small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.student-evidence-list { display: grid; gap: 13px; }
.student-evidence-empty { padding: 34px 20px; border: 1px dashed #bfd3d1; border-radius: 14px; text-align: center; background: #f8fcfc; }
.student-evidence-empty b { font-size: 14px; }.student-evidence-empty p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.personal-report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.personal-report-head h3, .personal-detail-head h3 { margin: 3px 0 5px; font-size: 22px; letter-spacing: -.035em; }
.personal-report-head p:last-child, .personal-detail-head p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.personal-report-summary { margin: 15px 0 10px; color: var(--ink-2); font-size: 13px; }
.personal-report-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 14px; }.personal-report-toolbar .personal-report-summary { margin: 15px 0 10px; }
.personal-report-search { display: block; width: min(210px, 100%); margin-bottom: 8px; }.personal-report-search input { width: 100%; min-height: 34px; padding: 6px 10px; font-size: 11px; }
.personal-report-columns, .personal-report-row { display: grid; grid-template-columns: minmax(118px, 1.35fr) repeat(3, minmax(58px, .62fr)) 54px 44px; gap: 8px; align-items: center; }
.personal-report-columns { padding: 0 12px 9px; color: var(--muted); font-size: 10px; font-weight: 800; }
.personal-report-row { min-height: 68px; padding: 10px 12px; border-top: 1px solid var(--line); background: white; }
.personal-report-row:nth-child(even) { background: #f8fcfc; }
.personal-report-comment { grid-column: 1 / -1; display: flex; min-width: 0; align-items: center; gap: 4px; overflow: hidden; margin: -2px 0 0 39px; color: var(--muted); font-size: 10px; line-height: 1.5; white-space: nowrap; }
.personal-report-comment b { margin-right: 6px; color: var(--ink-2); font-size: 10px; }
.personal-report-comment em { margin-right: 6px; padding: 2px 5px; border-radius: 999px; color: #a24b44; background: #fde9e7; font-size: 8px; font-style: normal; font-weight: 900; }
.personal-report-comment em.is-complete { color: #14766f; background: #dff6f3; }
.personal-report-comment span { overflow: hidden; text-overflow: ellipsis; }
.personal-student { display: flex; min-width: 0; align-items: center; gap: 9px; }
.personal-student i { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #176967; background: #dff6f3; font-size: 11px; font-style: normal; font-weight: 900; }
.personal-student b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.personal-report-row > span { color: var(--ink-2); font-size: 11px; font-weight: 700; }
.personal-report-row em { justify-self: start; padding: 5px 7px; border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 900; white-space: nowrap; }
.personal-report-row em.reviewed { color: #14766f; background: #dff6f3; }.personal-report-row em.pending { color: #8a6324; background: #fff0d3; }.personal-report-row em.warning { color: #9a6223; background: #fff3df; }.personal-report-row em.missing { color: #a24b44; background: #fde9e7; }
.personal-report-row button { min-height: 29px; padding: 3px 6px; border: 1px solid #a9deda; border-radius: 8px; color: #176967; background: white; font-size: 10px; font-weight: 900; cursor: pointer; }
.personal-report-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; color: var(--muted); font-size: 10px; }.personal-report-pagination > div { display: flex; align-items: center; gap: 7px; }.personal-report-pagination button { min-height: 30px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; color: #176967; background: white; font-size: 10px; font-weight: 800; cursor: pointer; }.personal-report-pagination button:disabled { color: var(--muted); background: #f4f7f7; cursor: not-allowed; }.personal-report-pagination b { color: var(--ink-2); font-size: 10px; }
.personal-report-detail { display: grid; gap: 16px; }
.personal-detail-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.personal-detail-head .btn { min-height: 34px; padding: 5px 10px; font-size: 11px; }
.personal-review-feedback { padding: 13px 15px; border: 1px solid #efc6be; border-left: 4px solid #c94d40; border-radius: 12px; background: #fff7f5; } .personal-review-feedback b { display: block; margin-bottom: 6px; color: #a23f36; font-size: 12px; } .personal-review-feedback p { margin: 0; color: var(--ink-2); font-size: 12px; line-height: 1.75; white-space: pre-wrap; }
.personal-report-head-side { display: flex; flex-direction: column; align-items: center; gap: 9px; }.personal-report-tier { padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; line-height: 1; white-space: nowrap; }.personal-report-tier.advanced { color: #14766f; background: #dff6f3; }.personal-report-tier.remedial { color: #8a6324; background: #fff0d3; }
.personal-video-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.baseline-report-review { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding: 13px 14px; border: 1px solid #cfe8e5; border-radius: 12px; background: #f7fcfc; }.baseline-report-review b, .baseline-report-review small { display: block; }.baseline-report-review b { font-size: 13px; }.baseline-report-review small { margin-top: 3px; color: var(--muted); font-size: 10px; }.baseline-report-review .btn { min-height: 36px; white-space: nowrap; }
.personal-comment-field { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 800; }
.personal-comment-field textarea { min-height: 112px; font-size: 12px; }
.personal-comment-field small { justify-self: end; color: var(--muted); font-size: 10px; font-weight: 600; }.personal-comment-field small b { color: var(--orange-dark); }
.personal-report-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.personal-report-actions .btn { min-height: 40px; }
.report-preview-head p em { padding: 3px 7px; border-radius: 999px; color: #8a6324; background: #fff0d3; font-size: 9px; font-style: normal; font-weight: 900; }
.personal-report-preview-section { padding: 0 0 16px; border-bottom: 1px solid var(--line); }.personal-report-preview-section h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 11px; color: var(--ink); font-size: 16px; }.personal-report-preview-section h4::before { width: 4px; height: 21px; border-radius: 999px; background: var(--orange); content: ''; }.personal-report-preview-section p { margin: 0 0 7px; color: var(--ink-2); font-size: 13px; line-height: 1.75; }.personal-report-preview-section p:last-child { margin-bottom: 0; }.personal-report-preview-section ul { display: grid; gap: 7px; margin: 0; padding-left: 19px; color: var(--ink-2); font-size: 13px; line-height: 1.65; }.personal-report-preview-section li::marker { color: var(--orange); }
.report-learning-list { display: grid; gap: 10px; margin: 0; }.report-learning-list div { padding: 10px 12px; border-left: 3px solid #bfe5e2; background: #f8fcfc; }.report-learning-list dt { margin-bottom: 4px; color: var(--orange-dark); font-size: 10px; font-weight: 900; }.report-learning-list dd { margin: 0; color: var(--ink-2); font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.report-video-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.report-video-preview { display: grid; align-content: start; gap: 7px; min-height: 122px; padding: 13px; border: 1px solid #cfe3e1; border-radius: 12px; background: #f8fcfc; }.report-video-preview small { color: var(--orange-dark); font-size: 9px; font-weight: 900; }.report-video-preview b { font-size: 13px; }.report-video-preview span { color: var(--muted); font-size: 10px; }.report-video-preview a, .report-video-preview i { margin-top: auto; color: #187f7a; font-size: 11px; font-style: normal; font-weight: 900; }.report-preview-actions { position: sticky; bottom: 66px; padding: 10px; border: 1px solid #cfe3e1; border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 8px 22px rgba(29,43,69,.1); }
.student-evidence-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.student-evidence-card.is-ready { border-color: #9edbd6; box-shadow: inset 4px 0 0 var(--orange); }
.student-card-head { display: grid; grid-template-columns: minmax(130px, 1fr) auto; gap: 12px; align-items: center; padding: 15px 16px; background: #f8fbfb; }
.student-evidence-card.is-collapsed .student-card-head { grid-template-columns: minmax(130px, 1fr) auto auto; background: white; }
.student-identity { display: flex; align-items: center; gap: 10px; }.student-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: #dff6f3; font-size: 13px; font-weight: 900; }
.student-identity b, .student-identity small { display: block; }.student-identity small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.student-card-statuses { display: flex; gap: 6px; justify-self: end; }.student-card-statuses span { min-width: 78px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: #f8fbfb; }.student-card-statuses b, .student-card-statuses small { display: block; }.student-card-statuses b { color: var(--ink-2); font-size: 9px; }.student-card-statuses small { margin-top: 2px; font-size: 9px; font-weight: 900; }.student-card-statuses .is-complete { border-color: #9edbd6; background: #effaf8; }.student-card-statuses .is-complete small { color: #14766f; }.student-card-statuses .is-pending small { color: #8a6324; }
.student-card-actions { display: flex; align-items: center; gap: 3px; }.student-toggle, .student-remove { min-height: 36px; padding: 0 8px; border: 0; background: transparent; font-size: 11px; font-weight: 800; }.student-toggle { color: #187f7a; }.student-remove { color: var(--red); }
.student-card-body { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; padding: 16px; }
.student-goal-fields { display: grid; }
.student-goal-fields textarea { min-height: 82px; }.student-goal-fields input, .student-goal-fields textarea, .student-goal-fields select { font-size: 11px; }
.student-video-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.student-video-slot { display: grid; align-content: start; gap: 8px; min-height: 146px; padding: 13px; border: 1px solid #d4e5e3; border-radius: 12px; background: #f8fcfc; }
.student-video-slot.is-complete { border-color: #88d6d0; background: #effaf8; }.student-video-slot.is-locked { opacity: .58; }
.student-video-slot span, .student-video-slot b, .student-video-slot small { display: block; }.student-video-slot span { color: var(--orange-dark); font-size: 9px; font-weight: 900; }.student-video-slot b { font-size: 12px; }.student-video-slot small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.student-video-slot label { margin-top: auto; }.student-video-slot input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }.student-video-slot label > i { min-height: 34px; display: grid; place-items: center; border: 1px solid #a9deda; border-radius: 9px; color: #187f7a; background: white; font-size: 10px; font-style: normal; font-weight: 900; cursor: pointer; }
.student-video-slot.is-locked label > i { cursor: not-allowed; }.student-video-slot a { color: #187f7a; font-size: 10px; font-weight: 800; }
.student-video-submit { min-height: 34px; padding: 0 9px; border: 0; border-radius: 9px; color: white; background: var(--ink); font-size: 10px; font-weight: 900; cursor: pointer; }.student-video-submit:disabled { color: var(--muted); border: 1px solid #d4e5e3; background: white; cursor: not-allowed; }
.student-report-actions { display: grid; gap: 7px; margin-top: auto; }.student-ai-report-slot button { min-height: 34px; padding: 0 9px; border: 1px solid #a9deda; border-radius: 9px; color: white; background: var(--ink); font-size: 10px; font-weight: 900; cursor: pointer; }
.student-ai-report-slot button:disabled { color: var(--muted); background: white; cursor: not-allowed; }
.student-ai-report-slot button.is-secondary { color: #176967; background: white; }
.analysis-stage-progress { display: grid; gap: 8px; padding: 8px 0 2px; }
.analysis-progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: #dcebea; }
.analysis-progress-track > i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--orange),#59cec5); transition: width .35s ease; }
.analysis-stage-progress ol { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.analysis-stage-progress li { min-width: 0; display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 8px; font-weight: 800; text-align: center; }
.analysis-stage-progress li > i { width: 10px; height: 10px; border: 2px solid #c7d9d7; border-radius: 50%; background: white; }
.analysis-stage-progress li.is-complete { color: #14766f; }.analysis-stage-progress li.is-complete > i { border-color: #35bfb6; background: #35bfb6; box-shadow: inset 0 0 0 2px white; }
.analysis-stage-progress li.is-active { color: #9a6223; }.analysis-stage-progress li.is-active > i { border-color: var(--orange); background: #fff3df; animation: analysis-stage-pulse 1.1s ease-in-out infinite; }
.analysis-stage-progress li.is-error { color: #a24b44; }.analysis-stage-progress li.is-error > i { border-color: #c94d40; background: #fde9e7; }
@keyframes analysis-stage-pulse { 50% { transform: scale(1.18); box-shadow: 0 0 0 4px rgba(243,163,74,.14); } }
.personal-video-analysis-workspace { display: grid; gap: 12px; }
.personal-video-analysis-workspace > .student-ai-report-slot { min-height: 0; }
.student-video-analysis-result { display: grid; gap: 14px; padding: 17px; border: 1px solid #9edbd6; border-radius: 14px; background: linear-gradient(145deg,#f0fbf9,#fff); box-shadow: 0 9px 24px rgba(33,96,91,.08); }
.student-video-analysis-result > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #cfe8e5; }
.student-video-analysis-result > header span { display: block; margin-bottom: 4px; color: var(--orange-dark); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.student-video-analysis-result > header h4 { margin: 0; color: var(--ink); font-size: 16px; }
.student-video-analysis-result > header em { padding: 5px 9px; border-radius: 999px; color: #14766f; background: #dff6f3; font-size: 9px; font-style: normal; font-weight: 900; }
.student-analysis-summary { padding: 13px 14px; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; background: white; }
.student-analysis-summary b, .student-analysis-grid b { color: var(--ink); font-size: 12px; }
.student-analysis-summary p { margin: 7px 0 0; color: var(--ink-2); font-size: 12px; line-height: 1.75; white-space: pre-wrap; }
.student-analysis-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); align-items: start; gap: 10px; }
.student-analysis-grid section { min-width: 0; align-self: start; padding: 12px 13px; border: 1px solid #d7e9e7; border-radius: 11px; background: white; }
.student-analysis-grid ul { display: grid; gap: 6px; margin: 8px 0 0; padding-left: 17px; color: var(--ink-2); font-size: 11px; line-height: 1.6; }
.student-analysis-grid li::marker { color: var(--orange); }
.student-analysis-note { margin: 0; padding-top: 10px; border-top: 1px dashed #cfe8e5; color: var(--muted); font-size: 10px; line-height: 1.65; }
.student-analysis-note b { color: var(--ink-2); }
.month-start-review-submit { grid-column: 1 / -1; width: 100%; }.month-end-student-body { grid-template-columns: 1fr; }.month-end-review-fields { display: grid; grid-template-columns: minmax(150px,.55fr) minmax(240px,1.45fr); gap: 12px; }.month-end-review-fields textarea { min-height: 88px; }.month-end-review-submit { width: 100%; }
.student-report-preview { display: grid; gap: 10px; margin: 16px 0; }
.report-readiness-card { margin: 22px 0; padding: 20px; border: 1px solid #bfe5e2; border-radius: 15px; background: linear-gradient(135deg,#f2fcfa,#fff); }
.report-readiness-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }.report-readiness-head h4 { margin: 0; font-size: 18px; }.report-readiness-head > span { padding: 6px 9px; border-radius: 999px; color: var(--muted); background: white; font-size: 9px; font-weight: 900; }
.report-readiness-head > span.ready { color: #14766f; background: #dff6f3; }
.student-report-row { display: grid; grid-template-columns: minmax(100px,.7fr) minmax(180px,1.3fr) 90px; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.student-report-row b, .student-report-row small { display: block; }.student-report-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }.student-report-row p { overflow: hidden; margin: 0; color: var(--ink-2); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.evidence-status { justify-self: start; padding: 6px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; }.evidence-status.ready { color: #14766f; background: #dff6f3; }.evidence-status.pending { color: #8a6324; background: #fff0d3; }
.report-review-note { margin: 10px 0 0; padding: 11px 13px; border-left: 3px solid var(--orange); color: var(--muted); background: white; font-size: 10px; line-height: 1.6; }
.guided-editor-actions { position: sticky; bottom: 12px; z-index: 8; align-items: center; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.guided-editor-actions .save-state { min-width: 135px; }
.monthly-video-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.field-help { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.55; }
.goal-error-summary { padding: 14px 16px; border: 1px solid #e8c5c1; border-radius: 12px; color: #8f302a; background: #fff8f7; }
.goal-error-summary b { font-size: 13px; }.goal-error-summary p { margin: 5px 0 0; font-size: 11px; line-height: 1.55; }
[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(184,64,55,.12) !important; }
.guided-report-form input, .guided-report-form select, .guided-report-form textarea { scroll-margin-bottom: 92px; }

@media (max-width: 1080px) {
  .goal-stepper { top: 84px; }
  .guided-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .level-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .guided-report-form { padding-bottom: 66px; }
  .goal-editor-hero { align-items: center; padding: 15px 16px; border-radius: 14px; }
  .goal-editor-hero .eyebrow { margin-bottom: 5px; font-size: 8px; }
  .goal-editor-hero h2 { margin-bottom: 0; font-size: 23px; }
  .goal-editor-hero > div:first-child > p:last-child { display: none; }
  .goal-completion { width: 72px; }
  .goal-completion strong { font-size: 24px; }
  .goal-completion span { font-size: 9px; }
  .goal-stepper { grid-template-columns: repeat(4, minmax(60px, 1fr)); overflow-x: auto; }
  .goal-stepper button { grid-template-columns: 1fr; grid-template-rows: auto auto; padding: 9px; text-align: center; }
  .goal-stepper b { grid-row: auto; }
  .goal-stepper span { font-size: 9px; letter-spacing: -.03em; }
  .goal-stepper small { display: none; }
  .goal-step-panel { padding: 19px 16px; }
  .goal-section-head { align-items: start; }
  .goal-section-head h3 { font-size: 19px; }
  .goal-head-campus { min-width: 138px; }
  .guided-grid.two, .guided-grid.four, .tier-goal-grid, .evidence-plan-grid { grid-template-columns: 1fr; }
  .guided-grid .span-2 { grid-column: auto; }
  .level-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-start-card { grid-template-columns: 1fr; }
  .measurable-goal-head { display: block; }
  .measurable-goal-head > span { display: block; margin-top: 6px; }
  .monthly-goal-label { display: block; }.monthly-goal-label span { display: block; margin-top: 5px; }
  .coach-tip { grid-template-columns: 1fr; gap: 5px; }
  .step-actions { align-items: stretch; flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
  .personal-report-head { align-items: center; }.personal-report-head h3, .personal-detail-head h3 { font-size: 19px; }.personal-report-head .btn { min-height: 31px; padding: 5px 8px; font-size: 10px; }
  .personal-report-toolbar { align-items: stretch; flex-direction: column; gap: 2px; }.personal-report-toolbar .personal-report-summary { margin: 13px 0 2px; }.personal-report-search { width: 100%; margin-bottom: 8px; }.personal-report-search input { min-height: 32px; font-size: 10px; }
  .personal-report-columns, .personal-report-row { grid-template-columns: minmax(72px, 1.2fr) repeat(3, minmax(37px, .56fr)) 42px 35px; gap: 4px; }
  .personal-report-columns { padding: 0 5px 7px; font-size: 8px; }.personal-report-row { min-height: 58px; padding: 8px 5px; }.personal-student { gap: 5px; }.personal-student i { width: 25px; height: 25px; font-size: 9px; }.personal-student b { font-size: 11px; }.personal-report-row > span { font-size: 9px; }.personal-report-row em { padding: 4px; font-size: 8px; }.personal-report-row button { min-height: 26px; padding: 2px 4px; font-size: 9px; }.personal-report-comment { margin-left: 30px; font-size: 9px; }.personal-report-comment b { font-size: 9px; }.personal-report-comment em { font-size: 7px; }
  .personal-detail-head { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }.personal-detail-head .btn { justify-self: end; white-space: nowrap; }.personal-video-pair { grid-template-columns: 1fr; }.baseline-report-review { align-items: stretch; flex-direction: column; }.baseline-report-review .btn { width: 100%; }.personal-report-actions { display: grid; grid-template-columns: 1fr; }.personal-report-actions .btn { width: 100%; }
  .personal-report-preview-section h4 { font-size: 15px; }.personal-report-preview-section p, .personal-report-preview-section ul { font-size: 12px; }.report-video-preview-grid { gap: 8px; }.report-video-preview { min-height: 112px; padding: 10px; }.report-preview-actions { bottom: 61px; }
  .report-learning-list div { padding: 9px 10px; }.report-learning-list dd { font-size: 11px; }
  .personal-report-pagination { align-items: flex-start; flex-direction: column; gap: 7px; }.personal-report-pagination > div { width: 100%; justify-content: space-between; }.personal-report-pagination button { flex: 1; }
  .guided-editor-actions { min-height: 58px; bottom: 4px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 7px 10px; border-radius: 12px; }
  .guided-editor-actions .save-state { min-width: 0; font-size: 10px; }
  .guided-editor-actions .save-state span { display: none; }
  .guided-editor-actions .save-state b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .guided-editor-actions > div:last-child { display: flex; grid-template-columns: none; }
  .guided-editor-actions #cancelEditBtn, .guided-editor-actions #deleteDraftBtn { display: none; }
  .guided-editor-actions .btn { min-height: 42px; padding-inline: 15px; white-space: nowrap; }
  .student-roster-toolbar { grid-template-columns: 1fr 1fr; }.student-roster-toolbar label { grid-column: 1 / -1; }.student-roster-toolbar .btn { width: 100%; padding-inline: 10px; }
  .student-roster-summary { grid-template-columns: minmax(0, 1fr) auto; }.student-roster-summary .btn { width: auto; }
  .student-card-head, .student-evidence-card.is-collapsed .student-card-head { grid-template-columns: 1fr auto; }.student-card-actions { grid-column: 2; grid-row: 1; }.student-card-statuses { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-self: stretch; }.student-card-statuses span { flex: 1; min-width: 0; }.student-card-body, .student-goal-fields, .month-end-review-fields { grid-template-columns: 1fr; }.student-video-pair { grid-template-columns: 1fr 1fr; }.student-report-row { grid-template-columns: 1fr auto; }.student-report-row p { grid-column: 1 / -1; white-space: normal; }.report-readiness-head { display: block; }.report-readiness-head > span { display: inline-block; margin-top: 8px; }
}

/* v2.5 制定计划手机端：计划内二级流程 + 证据入口命名校正 */
@media (max-width: 620px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body[data-view="editor"] .app-shell,
  body[data-view="editor"] .main-shell,
  body[data-view="editor"] .content,
  body[data-view="editor"] .view-section,
  body[data-view="editor"] .guided-report-form { min-width: 0; max-width: 100%; }
  body[data-view="editor"] .content { padding: 16px 14px 92px; }
  body[data-view="editor"] .topbar { min-height: 72px; }
  body[data-view="editor"] #openSidebar { width: 36px; color: var(--ink); font-size: 34px; font-weight: 400; line-height: 1; }
  body[data-view="editor"] #pageEyebrow { color: var(--orange-dark); font-size: 8px; letter-spacing: .16em; }
  body[data-view="editor"] #pageTitle { font-size: 21px; }

  body[data-view="editor"] .guided-report-form { gap: 12px; padding-bottom: 76px; }
  body[data-view="editor"] .goal-editor-hero { gap: 14px; padding: 16px; border-radius: 16px; }
  body[data-view="editor"] .goal-editor-hero h2 { max-width: 220px; font-size: 22px; line-height: 1.22; }
  body[data-view="editor"] .goal-completion { width: 68px; }
  body[data-view="editor"] .goal-completion strong { font-size: 26px; }
  body[data-view="editor"] .goal-completion span { margin: 6px 0 8px; font-size: 8px; line-height: 1.25; }

  body[data-view="editor"] .goal-stepper { top: 72px; width: 100%; max-width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: start; gap: 4px; padding: 6px; border-radius: 14px; overscroll-behavior-x: contain; scrollbar-width: none; }
  body[data-view="editor"] .goal-stepper::-webkit-scrollbar { display: none; }
  body[data-view="editor"] .goal-stepper button { min-width: 0; min-height: 50px; padding: 7px 5px; }
  body[data-view="editor"] .goal-stepper button.active { background: #394965; }
  body[data-view="editor"] .goal-stepper b { font-size: 10px; }
  body[data-view="editor"] .goal-stepper span { font-size: 9px; }

  body[data-view="editor"] .goal-step-panel { padding: 20px 16px; border-radius: 17px; }
  body[data-view="editor"] .goal-section-head { gap: 12px; margin-bottom: 20px; padding-bottom: 18px; }
  body[data-view="editor"] .goal-section-head > span { width: 42px; height: 42px; border-radius: 12px; }
  body[data-view="editor"] .goal-section-head h3 { font-size: 19px; line-height: 1.28; }
  body[data-view="editor"] .goal-section-head p { font-size: 11px; }
  body[data-view="editor"] .guided-grid { gap: 14px; }
  body[data-view="editor"] .guided-grid label { font-size: 13px; }
  body[data-view="editor"] input,
  body[data-view="editor"] select { min-height: 48px; }
  body[data-view="editor"] textarea { min-height: 104px; }
  body[data-view="editor"] .guided-fieldset { margin: 18px 0; padding: 13px; }
  body[data-view="editor"] .level-choice-grid { gap: 8px; }
  body[data-view="editor"] .level-choice-grid label > span { min-height: 68px; padding: 10px; }
  body[data-view="editor"] .quick-start-card,
  body[data-view="editor"] .measurable-goal-card,
  body[data-view="editor"] .tier-card,
  body[data-view="editor"] .report-readiness-card { padding: 15px; }
  body[data-view="editor"] .quick-chips { gap: 7px; }
  body[data-view="editor"] .quick-chips button { min-height: 36px; padding-inline: 11px; }
  body[data-view="editor"] .step-actions { margin-top: 20px; padding-top: 16px; }
  body[data-view="editor"] .guided-editor-actions { right: 12px; left: 12px; bottom: 8px; grid-template-columns: minmax(0, 1fr) auto; width: auto; min-width: 0; margin: 0; box-shadow: 0 10px 30px rgba(29,43,69,.18); }
  body[data-view="editor"] .guided-editor-actions .btn { min-height: 44px; }
  .coach-plan-review-card { display: grid; gap: 13px; padding: 16px; }
  .coach-plan-review-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .coach-plan-review-card .btn { width: 100%; }
  .coach-plan-preview-actions { display: grid; grid-template-columns: 1fr; padding: 16px 0 0; }
}

/* 平板编辑页：保留状态与操作按钮同一行，避免通用窄屏规则把操作栏拉成三行。 */
@media (min-width: 621px) and (max-width: 1080px) {
  body[data-view="editor"] .guided-editor-actions { flex-direction: row; justify-content: space-between; gap: 12px; }
  body[data-view="editor"] .guided-editor-actions > .save-state { display: flex; flex: 0 1 auto; }
  body[data-view="editor"] .guided-editor-actions > div:last-child { display: flex; flex: 0 0 auto; grid-template-columns: none; gap: 10px; }
  body[data-view="editor"] .guided-editor-actions .danger-outline { grid-column: auto; }
}

/* 企业微信 Android WebView 可能把手机视口报告为 620–900px；此区间仍按手机满宽布局处理。 */
@media (max-width: 900px) {
  html, body, #appView, .app-view, .main-area {
    min-width: 0;
    width: 100% !important;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }
  .app-view { display: block; }
  .main-area { flex: none; margin-left: 0; }
  body[data-view="editor"] .content,
  body[data-view="editor"] .guided-report-form,
  body[data-view="editor"] .goal-step-panel {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  body[data-view="editor"] .goal-stepper { overflow-x: hidden; touch-action: pan-y; }
}

.goal-design-competition { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.goal-design-competition label { display: grid; gap: 8px; }


.goal-design-row { display: grid; gap: 10px; }
.goal-design-row > b { color: var(--ink); font-size: 14px; }


.goal-design-competition .goal-field-label { display: inline-flex; align-items: baseline; gap: 4px; }
.goal-design-competition .goal-field-label em { display: inline; color: var(--red); font-style: normal; }


/* 目标设计：以一张紧凑卡片承载三项核心信息。 */
.monthly-goal-section {
  padding: 22px;
  border: 1px solid #bfe5e2;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4fcfb 0%, #fff 68%);
}
.monthly-goal-label { padding-bottom: 12px; border-bottom: 1px solid #dcefed; }
.monthly-goal-label h4 { font-size: 18px; }
.monthly-goal-section > .guided-grid.two { gap: 14px 18px; }
.monthly-goal-section > .guided-grid.two label { padding: 12px 14px; border: 1px solid #dcefed; border-radius: 12px; background: #fff; font-weight: 800; }
.monthly-goal-section > .guided-grid.two label:nth-child(3) { grid-column: 1 / -1; }
.monthly-goal-section > .guided-grid.two input { margin-top: 8px; }

.monthly-goal-section textarea[name="teachingGoals"] { width: 100%; min-height: 112px; resize: vertical; line-height: 1.55; }

.student-report-filters { display:flex; flex-wrap:wrap; gap:12px; margin:0 0 16px; padding:14px 16px; border:1px solid #dbeceb; border-radius:14px; background:#fbfefe; }.student-report-filters label { display:grid; gap:6px; min-width:170px; color:var(--muted); font-size:11px; font-weight:800; }.student-report-filters select { min-height:38px; padding:7px 10px; border:1px solid #c6e8e5; border-radius:9px; color:var(--ink); background:#fff; font:inherit; font-size:13px; font-weight:700; } @media (max-width:620px) { .student-report-filters { display:grid; grid-template-columns:1fr 1fr; gap:9px; padding:12px; }.student-report-filters label { min-width:0; }.student-report-filters select { width:100%; } }

.student-reports-heading { align-items:end; }.student-reports-heading .student-report-filters { margin:0; }.student-report-filters { justify-content:flex-end; padding:0; border:0; background:transparent; }.student-report-filters label { min-width:150px; } @media (max-width:620px) { .student-reports-heading { align-items:start; }.student-reports-heading .student-report-filters { width:100%; }.student-report-filters { grid-template-columns:1fr 1fr; justify-content:stretch; } }

.mobile-class-row { grid-template-columns:auto minmax(0,1fr) auto; }.mobile-class-open { color:var(--orange-dark); font-size:11px; font-weight:900; white-space:nowrap; }

/* 完整视频分析报告：摘要入口与可分享的长报告弹窗。 */
.analysis-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.analysis-summary-head h4 { margin-bottom: 0; }
.analysis-summary-head .btn { flex: 0 0 auto; min-height: 34px; padding: 7px 12px; font-size: 11px; }
.video-analysis-report-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 40px); }
.video-analysis-report-detail { padding: 0 24px 26px; }
.video-analysis-report-detail .student-video-analysis-result { box-shadow: none; }
@media (max-width: 620px) {
  .analysis-summary-head { align-items: stretch; flex-direction: column; }
  .analysis-summary-head .btn { width: 100%; }
  .video-analysis-report-dialog { width: calc(100vw - 18px); max-height: calc(100vh - 18px); }
  .video-analysis-report-detail { padding: 0 14px 18px; }
}

/* 单学员个人报告家长分享链接管理。 */
.parent-share-dialog { width: min(720px, calc(100vw - 32px)); }
.parent-share-detail { padding: 0 24px 26px; }
.parent-share-card { display: grid; gap: 18px; }
.parent-share-scope { padding: 15px 16px; border: 1px solid #9edbd6; border-radius: 14px; background: #effaf8; }
.parent-share-scope b { color: #14766f; font-size: 14px; }.parent-share-scope p { margin: 6px 0 0; color: var(--ink-2); font-size: 11px; line-height: 1.7; }
.parent-share-card > label { display: grid; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 900; }.parent-share-card > label > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }.parent-share-card input { min-width: 0; font-size: 12px; }
.parent-share-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }.parent-share-card dl div { padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbfb; }.parent-share-card dt { color: var(--muted); font-size: 9px; font-weight: 900; }.parent-share-card dd { margin: 5px 0 0; color: var(--ink); font-size: 13px; font-weight: 900; }
.parent-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }.parent-share-actions .btn { flex: 1 1 130px; }
.parent-share-empty { display: grid; justify-items: center; padding: 30px 18px; border: 1px dashed #b9dedb; border-radius: 16px; background: #f8fbfb; text-align: center; }.parent-share-empty span { color: var(--orange-dark); font-size: 10px; font-weight: 900; }.parent-share-empty h3 { margin: 10px 0 7px; font-size: 18px; }.parent-share-empty p { margin: 0 0 18px; color: var(--muted); font-size: 11px; }
@media (max-width: 620px) {
  .parent-share-dialog { width: calc(100vw - 18px); max-height: calc(100vh - 18px); }
  .parent-share-detail { padding: 0 14px 18px; }
  .parent-share-card > label > div, .parent-share-card dl { grid-template-columns: 1fr; }
  .parent-share-actions { display: grid; grid-template-columns: 1fr; }.parent-share-actions .btn { width: 100%; }
}
/* 教练审核通知：退回事项与通过消息分栏展示。 */
.notification-badge { min-width: 20px; margin-left: auto; padding: 2px 6px; border-radius: 999px; color: #fff; background: var(--orange); font-size: 10px; line-height: 16px; text-align: center; }
.notification-mobile-button { position: relative; }.notification-mobile-button .notification-badge { position: absolute; top: -6px; right: -7px; }
.notifications-heading { align-items: center; }.notifications-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.notification-group { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.notification-group .section-head { margin-bottom: 14px; }.notification-group .section-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }.notification-list { display: grid; gap: 10px; }.notification-card { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdfd; }.notification-card.is-unread { border-color: #9edbd6; background: #f3fbfa; }.notification-card > div:first-child { display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 10px; }.notification-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: transparent; }.notification-card.is-unread .notification-dot { background: var(--orange); }.notification-card h3 { margin: 0; font-size: 14px; }.notification-card p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }.notification-card blockquote { margin: 9px 0 0; padding: 9px 11px; border-left: 3px solid #9edbd6; color: var(--ink-2); background: #fff; font-size: 11px; line-height: 1.55; }.notification-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; }.notification-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }.notification-group .empty-state { padding: 28px 12px; }
.notification-open-target { cursor: pointer; }.notification-open-target:focus-visible { border-radius: 8px; outline: 2px solid var(--orange); outline-offset: 4px; }
@media (max-width: 760px) { .notifications-grid { grid-template-columns: 1fr; }.notifications-heading { align-items: stretch; }.notifications-heading .btn { width: 100%; }.notification-group { padding: 14px; } }
/* 审核消息使用紧凑卡片，单屏容纳更多记录。 */
.notification-group:last-child .notification-card { grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 10px 12px; }
.notification-group:last-child .notification-card > div:first-child { gap: 7px; }
.notification-group:last-child .notification-card h3 { font-size: 13px; }
.notification-group:last-child .notification-card p { margin-top: 2px; }
.notification-group:last-child .notification-card blockquote { margin-top: 6px; padding: 6px 8px; line-height: 1.4; }
.notification-group:last-child .notification-card small { margin-top: 4px; }
.notification-group:last-child .notification-actions { align-self: center; }
.notification-group:last-child .notification-actions .btn { min-height: 34px; padding: 6px 11px; }