/* Student and family workflow portal surfaces extracted from app.py. */
.student-v0-home,
.student-v0-task-shell,
.family-v0-home { display:grid; gap:18px; min-width:0; }
.student-v0-home-grid { display:grid; grid-template-columns:minmax(0,1.16fr) minmax(360px,0.84fr); gap:16px; align-items:stretch; }
.student-v0-app-shell { display:grid; gap:14px; min-width:0; padding:20px; border-radius:34px; border:1px solid var(--student-border); background:rgba(255,255,255,0.9); box-shadow:0 18px 38px rgba(78,102,113,0.08); }
.student-v0-main-card,
.family-v0-main-card { position:relative; overflow:hidden; display:grid; gap:14px; align-content:space-between; min-width:0; padding:22px; border-radius:34px; text-decoration:none; box-shadow:0 18px 38px rgba(78,102,113,0.12); }
.student-v0-main-card { min-height:208px; background:linear-gradient(135deg,#c8d6d0 0%,#baccc5 100%); color:var(--student-hero-text); border:1px solid rgba(97,121,133,0.16); }
.family-v0-main-card { align-self:start; min-height:320px; background:linear-gradient(135deg,#d6e1dc 0%,#c6d3ce 52%,#eef2f0 100%); color:var(--family-ink); border:1px solid var(--family-border); box-shadow:0 18px 38px rgba(78,102,113,0.10); }
.student-v0-main-card::after,
.family-v0-main-card::after { content:""; position:absolute; right:-58px; bottom:-74px; width:196px; height:196px; border-radius:999px; background:rgba(255,255,255,0.24); }
.student-v0-main-card > *,
.family-v0-main-card > * { position:relative; z-index:1; }
.student-v0-main-top,
.family-v0-main-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.student-v0-main-kicker,
.family-v0-main-kicker { display:inline-flex; align-items:center; min-height:32px; width:fit-content; padding:0 12px; border-radius:999px; font-size:11px; font-weight:900; letter-spacing:0.08em; text-transform:uppercase; }
.student-v0-main-kicker { background:rgba(255,255,255,0.34); color:var(--student-accent-strong); }
.family-v0-main-kicker { background:#fff; color:var(--family-accent-strong); border:1px solid var(--family-border); }
.student-v0-main-count,
.family-v0-main-count { display:inline-flex; align-items:center; justify-content:center; min-width:56px; height:56px; padding:0 12px; border-radius:999px; font-size:26px; font-weight:900; letter-spacing:-0.04em; }
.student-v0-main-count { background:rgba(255,255,255,0.62); color:var(--student-accent-strong); }
.family-v0-main-count { background:var(--family-accent-soft); color:var(--family-accent-strong); }
.student-v0-main-title { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:center; min-width:0; }
.student-v0-main-icon { display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:20px; font-size:26px; font-weight:900; box-shadow:inset 0 0 0 1px rgba(255,255,255,0.42); }
.student-v0-main-icon.tone-reading { background:var(--student-reading-bg); color:var(--student-reading-text); }
.student-v0-main-icon.tone-writing { background:var(--student-writing-bg); color:var(--student-writing-text); }
.student-v0-main-icon.tone-audio { background:var(--student-audio-bg); color:var(--student-audio-text); }
.student-v0-main-icon.tone-quiz { background:var(--student-quiz-bg); color:var(--student-quiz-text); }
.student-v0-main-card strong,
.family-v0-main-card strong { font-size:32px; line-height:1; letter-spacing:-0.05em; }
.student-v0-main-card strong { color:var(--student-hero-text); }
.family-v0-main-card strong { color:var(--family-ink); }
.student-v0-main-meta { display:grid; gap:4px; color:rgba(36,52,59,0.78); font-size:14px; line-height:1.45; }
.student-v0-main-meta b { color:var(--student-accent-strong); font-size:11px; line-height:1; letter-spacing:0.08em; text-transform:uppercase; }
.student-v0-main-cta { display:inline-flex; align-items:center; justify-content:center; width:fit-content; min-height:36px; padding:0 14px; border-radius:999px; background:rgba(255,255,255,0.66); color:var(--student-accent-strong); font-size:12px; font-weight:900; letter-spacing:0.06em; text-transform:uppercase; }
.family-v0-latest-title,
.family-v0-main-card em { font-style:normal; color:rgba(36,52,59,0.76); font-size:14px; line-height:1.55; }
.family-v0-latest-title { color:var(--family-ink); font-size:18px; font-weight:850; letter-spacing:-0.02em; overflow-wrap:anywhere; }
.student-v0-meter-grid,
.family-v0-meter-grid { display:grid; gap:10px; grid-template-columns:repeat(4,minmax(0,1fr)); }
.student-v0-meter,
.family-v0-meter { display:grid; gap:4px; min-width:0; padding:12px 14px; border-radius:22px; background:#fff; box-shadow:0 8px 18px rgba(31,95,119,0.05); }
.student-v0-meter { border:1px solid var(--student-border); }
.family-v0-meter { border:1px solid var(--family-border); }
.student-v0-meter strong,
.family-v0-meter strong { font-size:22px; line-height:1; letter-spacing:-0.04em; color:#111827; }
.family-v0-meter strong { color:var(--family-ink); }
.student-v0-meter span,
.family-v0-meter span { color:#64748b; font-size:12px; font-weight:800; line-height:1.25; }
.student-v0-meter.is-action { background:var(--student-writing-bg); }
.student-v0-meter.is-review { background:var(--student-review-bg); }
.student-v0-meter.is-done { background:var(--student-done-bg); }
.student-v0-meter.is-retry { background:var(--student-warn-bg); }
.family-v0-meter.is-action { background:#e9f8fb; }
.family-v0-meter.is-report { background:#ece7ff; }
.family-v0-meter.is-homework { background:#fff0d6; }
.family-v0-meter.is-update { background:#e7f8e8; }
.family-v0-children { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.family-v0-child-chip { display:inline-flex; align-items:center; min-height:30px; padding:0 12px; border-radius:999px; background:#fff; border:1px solid var(--family-border); color:var(--family-accent-strong); font-size:12px; font-weight:800; }
.student-v0-app-grid { display:grid; gap:12px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.student-v0-app-shell .student-v0-app-grid { grid-template-columns:1fr; }
.family-v0-home-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(320px,0.9fr); gap:16px; align-items:stretch; }
.family-v0-side-stack { display:grid; gap:12px; min-width:0; align-content:start; }
.family-v0-app-grid { display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.student-v0-app-card,
.family-v0-app-card { display:grid; gap:12px; align-content:space-between; min-width:0; min-height:208px; padding:20px; border-radius:30px; text-decoration:none; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.student-v0-app-card { background:#fff; border:1px solid var(--student-border); box-shadow:0 12px 28px rgba(78,102,113,0.06); color:#111827; }
.family-v0-app-card { background:#fff; border:1px solid var(--family-border); box-shadow:0 12px 26px rgba(78,102,113,0.08); color:var(--family-ink); }
.student-v0-app-shell .student-v0-app-card { grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:"icon title badge" "icon copy badge"; gap:4px 12px; align-items:center; min-height:98px; padding:16px; border-radius:24px; }
.family-v0-side-stack .family-v0-app-card { grid-template-columns:auto minmax(0,1fr); grid-template-areas:"icon title" "icon copy" "badge badge"; gap:4px 12px; align-items:center; min-height:112px; padding:16px; border-radius:24px; }
.student-v0-app-card:hover,
.family-v0-app-card:hover { transform:translateY(-2px); }
.student-v0-app-card:hover { border-color:var(--student-border-strong); box-shadow:0 18px 32px rgba(78,102,113,0.10); }
.family-v0-app-card:hover { border-color:var(--family-border-strong); box-shadow:0 18px 30px rgba(78,102,113,0.10); }
.student-v0-app-icon,
.family-v0-app-icon { display:inline-flex; align-items:center; justify-content:center; width:64px; height:64px; border-radius:22px; font-size:28px; font-weight:900; }
.student-v0-app-icon { background:var(--student-accent-soft); color:var(--student-accent-strong); }
.student-v0-app-shell .student-v0-app-icon { grid-area:icon; width:52px; height:52px; border-radius:18px; font-size:22px; }
.student-v0-app-card.tone-reading .student-v0-app-icon { background:var(--student-reading-bg); color:var(--student-reading-text); }
.student-v0-app-card.tone-audio .student-v0-app-icon { background:var(--student-audio-bg); color:var(--student-audio-text); }
.student-v0-app-card.tone-quiz .student-v0-app-icon { background:var(--student-quiz-bg); color:var(--student-quiz-text); }
.family-v0-app-icon { background:var(--family-accent-soft); color:var(--family-accent-strong); }
.family-v0-side-stack .family-v0-app-icon { grid-area:icon; width:52px; height:52px; border-radius:18px; font-size:22px; }
.student-v0-app-card strong,
.family-v0-app-card strong { font-size:24px; line-height:1.08; letter-spacing:-0.04em; overflow-wrap:anywhere; }
.student-v0-app-shell .student-v0-app-card strong { grid-area:title; font-size:18px; }
.family-v0-side-stack .family-v0-app-card strong { grid-area:title; font-size:18px; }
.family-v0-app-card strong { color:var(--family-ink); }
.student-v0-app-copy,
.family-v0-app-copy { color:#64748b; font-size:13px; line-height:1.45; }
.student-v0-app-shell .student-v0-app-copy { grid-area:copy; }
.family-v0-side-stack .family-v0-app-copy { grid-area:copy; }
.student-v0-app-badge,
.family-v0-app-badge { display:inline-flex; align-items:center; justify-content:center; min-height:32px; width:fit-content; padding:0 12px; border-radius:999px; background:var(--family-accent-soft); color:var(--family-accent-strong); font-size:11px; font-weight:900; letter-spacing:0.08em; text-transform:uppercase; }
.student-v0-app-badge { background:var(--student-accent-soft); color:var(--student-accent-strong); }
.student-v0-app-shell .student-v0-app-badge { grid-area:badge; align-self:center; }
.family-v0-side-stack .family-v0-app-badge { grid-area:badge; align-self:center; justify-self:start; margin-top:4px; }
.family-v0-student-view-panel { display:grid; gap:12px; padding:16px; border-radius:28px; border:1px solid var(--family-border); background:rgba(255,255,255,0.9); box-shadow:0 14px 30px rgba(78,102,113,0.08); }
.family-v0-student-view-head { display:grid; gap:4px; }
.family-v0-student-view-head strong { color:var(--family-ink); font-size:18px; line-height:1.12; letter-spacing:-0.03em; }
.family-v0-student-view-head span { color:var(--family-copy); font-size:12px; line-height:1.45; }
.family-v0-student-view-grid { display:grid; gap:8px; }
.family-v0-student-view-card { margin:0; }
.family-v0-student-view-card button { width:100%; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; min-height:64px; padding:10px 12px; border-radius:20px; border:1px solid rgba(35,117,142,0.14); background:#fff; color:var(--family-ink); text-align:left; cursor:pointer; box-shadow:0 8px 18px rgba(78,102,113,0.05); }
.family-v0-student-view-card button:hover { border-color:var(--family-border-strong); box-shadow:0 12px 24px rgba(78,102,113,0.08); }
.family-v0-student-avatar { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:16px; background:var(--family-accent-soft); color:var(--family-accent-strong); font-weight:900; }
.family-v0-student-copy { display:grid; gap:2px; min-width:0; }
.family-v0-student-copy strong { color:var(--family-ink); font-size:15px; line-height:1.2; overflow-wrap:anywhere; }
.family-v0-student-copy em { color:var(--family-copy); font-size:12px; font-style:normal; }
.family-v0-student-view-card b { display:inline-flex; align-items:center; justify-content:center; min-height:30px; padding:0 10px; border-radius:999px; background:var(--family-accent-soft); color:var(--family-accent-strong); font-size:11px; letter-spacing:0.06em; text-transform:uppercase; }
.student-v0-list-shell,
.family-v0-feed-shell { display:grid; gap:14px; padding:20px; border-radius:34px; background:rgba(255,255,255,0.9); box-shadow:0 18px 38px rgba(78,102,113,0.08); }
.student-v0-list-shell { border:1px solid var(--student-border); }
.family-v0-feed-shell { border:1px solid var(--family-border); }
.student-v0-section-head,
.family-v0-section-head { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; }
.student-v0-section-head h3,
.family-v0-section-head h3 { margin:0; font-size:24px; line-height:1.08; letter-spacing:-0.04em; }
.student-v0-section-head p,
.family-v0-section-head p { margin:6px 0 0; font-size:13px; line-height:1.55; color:#64748b; }

.app-body.menu-workflow .student-v0-section-head p,
.app-body.menu-workflow .family-v0-section-head p,
.app-body.menu-workflow .student-v0-today-copy em,
.app-body.menu-workflow .family-v0-tools-summary span,
.app-body.menu-workflow .student-v0-app-copy,
.app-body.menu-workflow .family-v0-app-copy,
.app-body.menu-workflow .student-v0-main-meta,
.app-body.menu-workflow .family-v0-main-card em {
  display: none !important;
}

.student-v0-section-head-muted { margin-top:4px; padding-top:12px; border-top:1px solid rgba(148,163,184,0.18); }
.student-v0-list-stack,
.family-v0-feed-list { display:grid; gap:12px; }
.student-v0-task-card,
.family-v0-feed-item { display:grid; align-items:center; min-width:0; text-decoration:none; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.student-v0-task-card { grid-template-columns:auto minmax(0,1fr) auto; gap:16px; min-height:96px; padding:16px 18px; border-radius:26px; background:#fff; border:1px solid var(--student-border); box-shadow:0 10px 24px rgba(78,102,113,0.05); color:#111827; }
.student-v0-task-card:hover { transform:translateY(-1px); border-color:var(--student-border-strong); box-shadow:0 14px 28px rgba(78,102,113,0.08); }
.student-v0-task-card.is-priority,
.student-v0-task-card.is-active { border-color:rgba(97,121,133,0.34); box-shadow:0 18px 32px rgba(78,102,113,0.10); }
.student-v0-task-card.is-done { background:linear-gradient(180deg,#f7f8f9 0%,#eef1f3 100%); border-color:rgba(132,146,155,0.24); }
.student-v0-task-icon { display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:20px; font-size:28px; font-weight:900; color:#21303a; }
.student-v0-task-icon.tone-reading { background:var(--student-reading-bg); color:var(--student-reading-text); }
.student-v0-task-icon.tone-writing { background:var(--student-writing-bg); color:var(--student-writing-text); }
.student-v0-task-icon.tone-audio { background:var(--student-audio-bg); color:var(--student-audio-text); }
.student-v0-task-icon.tone-quiz { background:var(--student-quiz-bg); color:var(--student-quiz-text); }
.student-v0-task-copy { min-width:0; display:grid; gap:5px; }
.student-v0-task-copy strong { font-size:18px; line-height:1.15; letter-spacing:-0.03em; overflow-wrap:anywhere; }
.student-v0-task-copy span { color:#64748b; font-size:13px; line-height:1.45; }
.student-v0-task-badge { display:inline-flex; align-items:center; justify-content:center; min-height:30px; width:fit-content; padding:0 12px; border-radius:999px; font-size:11px; font-weight:900; letter-spacing:0.06em; text-transform:uppercase; }
.student-v0-task-badge.tone-todo { background:var(--student-reading-bg); color:var(--student-reading-text); }
.student-v0-task-badge.tone-retry { background:var(--student-warn-bg); color:var(--student-warn-text); }
.student-v0-task-badge.tone-waiting { background:var(--student-review-bg); color:var(--student-review-text); }
.student-v0-task-badge.tone-done { background:var(--student-done-bg); color:var(--student-done-text); }
.student-v0-empty { display:grid; gap:8px; padding:18px; border-radius:24px; border:1px dashed rgba(97,121,133,0.3); background:linear-gradient(180deg,#ffffff 0%,#f5f7f6 100%); color:#5a6b72; }
.student-v0-empty strong { font-size:18px; line-height:1.2; color:#1f2937; }
.student-v0-task-shell { padding:0; }
.student-v0-task-split { display:grid; grid-template-columns:minmax(300px,360px) minmax(0,1fr); gap:18px; align-items:start; }
.student-v0-task-list-col,
.student-v0-task-detail-col { min-width:0; }
.student-v0-task-list-col { display:grid; gap:12px; padding:18px; border-radius:32px; border:1px solid var(--student-border); background:rgba(255,255,255,0.92); box-shadow:0 18px 38px rgba(78,102,113,0.08); }
.student-v0-task-detail-col { display:grid; }
.student-v0-task-panel { display:grid; gap:16px; min-width:0; padding:22px; border-radius:32px; border:1px solid var(--student-border); background:rgba(255,255,255,0.94); box-shadow:0 18px 38px rgba(78,102,113,0.08); }
.student-v0-task-hero { display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px; align-items:start; }
.student-v0-task-hero-icon { display:inline-flex; align-items:center; justify-content:center; width:72px; height:72px; border-radius:24px; font-size:32px; font-weight:900; color:#21303a; }
.student-v0-task-hero-icon.tone-reading { background:var(--student-reading-bg); color:var(--student-reading-text); }
.student-v0-task-hero-icon.tone-writing { background:var(--student-writing-bg); color:var(--student-writing-text); }
.student-v0-task-hero-icon.tone-audio { background:var(--student-audio-bg); color:var(--student-audio-text); }
.student-v0-task-hero-icon.tone-quiz { background:var(--student-quiz-bg); color:var(--student-quiz-text); }
.student-v0-task-hero-copy { display:grid; gap:10px; min-width:0; }
.student-v0-task-hero-copy h4 { margin:0; font-size:32px; line-height:1.05; letter-spacing:-0.05em; color:#111827; overflow-wrap:anywhere; }
.student-v0-chip-row { display:flex; flex-wrap:wrap; gap:8px; }
.student-v0-date-chip { display:inline-flex; align-items:center; min-height:30px; padding:0 12px; border-radius:999px; background:#edf2f4; color:#5c6d75; font-size:12px; font-weight:800; }
.student-v0-panel-block { display:grid; gap:8px; padding:18px; border-radius:24px; border:1px solid rgba(148,163,184,0.18); background:#fff; }
.student-v0-panel-label { font-size:11px; font-weight:900; letter-spacing:0.08em; text-transform:uppercase; color:#66767e; }
.student-v0-task-panel .student-task-body { margin:0; color:#334155; font-size:16px; line-height:1.7; white-space:pre-line; }
.student-v0-compose-card textarea { width:100%; min-height:190px; padding:16px 18px; border-radius:20px; border:1px solid rgba(148,163,184,0.22); background:#fff; color:#111827; font-size:16px; line-height:1.7; resize:vertical; }
.student-v0-upload-panel { gap:14px; }
.student-v0-upload-grid { display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.student-v0-upload-field { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:14px; align-items:center; min-width:0; min-height:112px; padding:18px; border-radius:24px; border:2px dashed rgba(148,163,184,0.28); background:linear-gradient(180deg,#ffffff 0%,#f7f8f9 100%); cursor:pointer; transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease; }
.student-v0-upload-field:hover { transform:translateY(-1px); border-color:rgba(97,121,133,0.38); box-shadow:0 14px 28px rgba(78,102,113,0.08); }
.student-v0-upload-field.has-file { border-style:solid; background:linear-gradient(180deg,#ffffff 0%,#edf5f1 100%); border-color:rgba(97,121,133,0.34); }
.student-v0-upload-field.tone-audio { border-color:rgba(111,170,159,0.26); }
.student-v0-upload-field.tone-camera { border-color:rgba(136,168,193,0.28); }
.student-v0-upload-field.tone-file { border-color:rgba(132,146,155,0.26); }
.student-v0-upload-symbol { display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:18px; font-size:24px; font-weight:900; color:#21303a; background:#edf2f4; }
.student-v0-upload-field.tone-audio .student-v0-upload-symbol { background:var(--student-audio-bg); color:var(--student-audio-text); }
.student-v0-upload-field.tone-camera .student-v0-upload-symbol { background:var(--student-reading-bg); color:var(--student-reading-text); }
.student-v0-upload-field.tone-file .student-v0-upload-symbol { background:var(--student-done-bg); color:var(--student-done-text); }
.student-v0-upload-copy { min-width:0; display:grid; gap:4px; }
.student-v0-upload-copy strong { font-size:18px; line-height:1.15; letter-spacing:-0.03em; color:#111827; overflow-wrap:anywhere; }
.student-v0-upload-copy span { color:#64748b; font-size:13px; line-height:1.45; }
.student-v0-upload-meta { font-size:12px; line-height:1.45; color:#64748b; text-align:right; overflow-wrap:anywhere; max-width:140px; }
.student-v0-upload-input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.student-v0-add-row { display:flex; flex-wrap:wrap; gap:10px; }
.student-v0-note-card { display:grid; gap:8px; padding:16px 18px; border-radius:24px; border:1px solid rgba(244,180,116,0.42); background:#fff7ed; }
.student-v0-note-card strong { font-size:14px; font-weight:900; color:#c25d16; }
.student-v0-note-copy { color:#7c4320; font-size:15px; line-height:1.65; }
.student-v0-meta-line { color:#8d654a; font-size:12px; line-height:1.45; }
.student-v0-submit-form { display:grid; gap:14px; }
.student-v0-submit-form label { display:grid; gap:8px; color:#334155; font-size:14px; font-weight:800; }
.student-v0-submit-form textarea,
.student-v0-submit-form input[type='text'],
.student-v0-submit-form input[type='file'] { width:100%; }
.student-v0-files-card { display:grid; gap:10px; padding:18px; border-radius:24px; border:1px solid rgba(148,163,184,0.18); background:#fff; }
.student-v0-action-row { display:flex; flex-wrap:wrap; gap:10px; }
.student-v0-action-row .btn,
.student-v0-action-row button { min-height:48px; padding:0 18px; border-radius:16px; }
.student-v0-submit-bar { justify-content:flex-end; }
.student-v0-file-list { display:grid; gap:10px; }
.student-v0-file-item { display:flex; justify-content:space-between; gap:14px; align-items:center; min-width:0; padding:14px 16px; border-radius:20px; border:1px solid rgba(148,163,184,0.18); background:#fff; color:#334155; text-decoration:none; box-shadow:0 8px 18px rgba(78,102,113,0.04); }
.student-v0-file-item span:first-child { min-width:0; overflow-wrap:anywhere; }
.student-v0-file-item span:last-child { color:var(--student-accent-strong); font-size:12px; font-weight:900; letter-spacing:0.06em; text-transform:uppercase; }
.family-v0-feed-item { grid-template-columns:auto minmax(0,1fr); gap:14px; min-height:92px; padding:16px 18px; border-radius:24px; border:1px solid var(--family-border); background:#fff; box-shadow:0 10px 24px rgba(78,102,113,0.05); color:var(--family-ink); }
.family-v0-feed-item:hover { transform:translateY(-1px); border-color:var(--family-border-strong); box-shadow:0 14px 28px rgba(78,102,113,0.10); }
.family-v0-feed-icon { display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:18px; background:var(--family-accent-soft); color:var(--family-accent-strong); font-size:22px; font-weight:900; }
.family-v0-feed-copy { min-width:0; display:grid; gap:4px; }
.family-v0-feed-copy strong { font-size:18px; line-height:1.15; letter-spacing:-0.03em; color:var(--family-ink); overflow-wrap:anywhere; }
.family-v0-feed-copy span { color:var(--family-copy); font-size:13px; line-height:1.45; }
.family-v0-empty { display:grid; gap:8px; place-items:center; min-height:120px; padding:18px; border-radius:24px; border:1px dashed var(--family-border-strong); background:linear-gradient(180deg,#ffffff 0%,#f6f8f7 100%); color:var(--family-copy); text-align:center; }
.student-v0-today-strip { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; padding:16px 18px; border-radius:28px; border:1px solid var(--student-border); background:rgba(255,255,255,0.88); box-shadow:0 14px 30px rgba(78,102,113,0.08); }
.student-v0-today-copy { display:grid; gap:4px; min-width:0; }
.student-v0-today-copy span { width:fit-content; min-height:26px; padding:5px 10px; border-radius:999px; background:var(--student-accent-soft); color:var(--student-accent-strong); font-size:11px; font-weight:900; letter-spacing:0.08em; text-transform:uppercase; }
.student-v0-today-copy strong { color:var(--student-ink); font-size:20px; line-height:1.14; letter-spacing:-0.03em; overflow-wrap:anywhere; }
.student-v0-today-copy em { color:var(--student-copy); font-size:13px; line-height:1.45; font-style:normal; }
.student-v0-today-cells { display:grid; grid-template-columns:repeat(2, minmax(72px, auto)) auto; gap:10px; align-items:center; }
.student-v0-today-cell { display:grid; gap:2px; min-height:58px; min-width:72px; padding:10px 12px; border-radius:18px; background:#fff; border:1px solid var(--student-border); }
.student-v0-today-cell b { color:var(--student-ink); font-size:22px; line-height:1; letter-spacing:-0.03em; }
.student-v0-today-cell span { color:var(--student-copy); font-size:11px; font-weight:900; letter-spacing:0.06em; text-transform:uppercase; }
.student-v0-inline-cta { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 16px; border-radius:16px; background:linear-gradient(135deg,#0d8aa6 0%,#287c85 100%); color:#fff; font-size:12px; font-weight:900; letter-spacing:0.06em; text-transform:uppercase; text-decoration:none; box-shadow:0 10px 20px rgba(13,138,166,0.14); }
.family-v0-child-status-panel { display:grid; gap:14px; padding:20px; border-radius:34px; border:1px solid var(--family-border); background:rgba(255,255,255,0.9); box-shadow:0 18px 38px rgba(78,102,113,0.08); }
.family-v0-child-status-grid { display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.family-v0-child-status-card { display:grid; gap:12px; min-width:0; padding:16px; border-radius:24px; background:#fff; border:1px solid var(--family-border); box-shadow:0 10px 22px rgba(78,102,113,0.06); }
.family-v0-child-status-card.is-homework { background:linear-gradient(180deg,#fff 0%,#fff7ed 100%); }
.family-v0-child-status-card.is-update { background:linear-gradient(180deg,#fff 0%,#f0fbf5 100%); }
.family-v0-child-status-card.is-calm { background:linear-gradient(180deg,#fff 0%,#f7fbff 100%); }
.family-v0-child-status-top { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.family-v0-child-status-top strong { color:var(--family-ink); font-size:19px; line-height:1.15; letter-spacing:-0.03em; overflow-wrap:anywhere; }
.family-v0-child-status-top span { display:inline-flex; min-height:28px; align-items:center; padding:0 10px; border-radius:999px; background:var(--family-accent-soft); color:var(--family-accent-strong); font-size:11px; font-weight:900; white-space:nowrap; }
.family-v0-child-status-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.family-v0-child-status-metrics span { display:grid; gap:3px; padding:10px 12px; border-radius:16px; background:rgba(255,255,255,0.76); border:1px solid var(--family-border); color:var(--family-copy); font-size:11px; font-weight:900; letter-spacing:0.05em; text-transform:uppercase; }
.family-v0-child-status-metrics b { color:var(--family-ink); font-size:22px; line-height:1; letter-spacing:-0.03em; }
.family-v0-child-status-card p { margin:0; color:var(--family-copy); font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.family-v0-tools { display:grid; gap:10px; padding:14px; border-radius:24px; border:1px solid var(--family-border); background:rgba(255,255,255,0.88); box-shadow:0 12px 24px rgba(78,102,113,0.06); }
.family-v0-tools-summary { display:grid; gap:4px; cursor:pointer; list-style:none; }
.family-v0-tools-summary::-webkit-details-marker { display:none; }
.family-v0-tools-summary strong { color:var(--family-ink); font-size:17px; line-height:1.15; letter-spacing:-0.02em; }
.family-v0-tools-summary span { color:var(--family-copy); font-size:12px; line-height:1.45; }
.family-v0-tools[open] .family-v0-student-view-grid { margin-top:10px; }
@media (max-width: 1100px) {
  .student-v0-home-grid,
  .student-v0-task-split,
  .family-v0-home-grid { grid-template-columns:1fr; }
  .student-v0-app-shell .student-v0-app-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .student-v0-app-shell .student-v0-app-card { grid-template-columns:1fr; grid-template-areas:"icon" "title" "copy" "badge"; align-items:start; align-content:space-between; min-height:156px; }
}
@media (max-width: 900px) {
  .student-v0-main-card,
  .student-v0-app-shell,
  .family-v0-main-card,
  .family-v0-student-view-panel,
  .student-v0-list-shell,
  .family-v0-feed-shell,
  .student-v0-task-list-col,
  .student-v0-task-panel { padding:18px; border-radius:26px; }
  .student-v0-app-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .family-v0-app-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .student-v0-task-card { grid-template-columns:auto minmax(0,1fr); }
  .student-v0-task-card .student-v0-task-badge { grid-column:1 / -1; justify-self:start; }
  .student-v0-meter-grid,
  .family-v0-meter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .student-v0-today-strip { grid-template-columns:1fr; }
  .student-v0-today-cells { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .student-v0-inline-cta { grid-column:1 / -1; width:100%; }
}
@media (max-width: 768px) {
  .student-v0-home,
  .student-v0-task-shell,
  .family-v0-home { gap:14px; }
  .student-v0-main-card strong,
  .family-v0-main-card strong,
  .student-v0-task-hero-copy h4 { font-size:26px; }
  .student-v0-main-count,
  .family-v0-main-count { min-width:48px; height:48px; font-size:22px; }
  .student-v0-main-icon { width:52px; height:52px; border-radius:18px; font-size:23px; }
  .student-v0-app-card,
  .family-v0-app-card { min-height:148px; padding:16px; border-radius:24px; }
  .student-v0-app-shell .student-v0-app-card { min-height:148px; }
  .student-v0-app-icon,
  .family-v0-app-icon { width:56px; height:56px; border-radius:18px; font-size:24px; }
  .student-v0-app-card strong,
  .family-v0-app-card strong { font-size:20px; }
  .student-v0-list-shell,
  .family-v0-feed-shell,
  .family-v0-child-status-panel,
  .student-v0-task-list-col,
  .student-v0-task-panel { padding:16px; border-radius:24px; }
  .student-v0-task-card { padding:14px 16px; min-height:84px; border-radius:22px; }
  .student-v0-task-icon { width:52px; height:52px; border-radius:18px; font-size:24px; }
  .student-v0-task-copy strong,
  .family-v0-feed-copy strong { font-size:17px; }
  .family-v0-child-status-grid { grid-template-columns:1fr; }
  .family-v0-child-status-top { display:grid; }
  .student-v0-task-hero { grid-template-columns:1fr; }
  .student-v0-task-hero-icon { width:64px; height:64px; border-radius:22px; font-size:28px; }
  .student-v0-panel-block,
  .student-v0-note-card,
  .student-v0-files-card,
  .student-v0-file-item,
  .family-v0-feed-item { border-radius:20px; }
  .student-v0-action-row > * { flex:1 1 calc(50% - 5px); }
  .student-v0-upload-grid { grid-template-columns:1fr; }
  .student-v0-upload-field { grid-template-columns:auto minmax(0,1fr); }
  .student-v0-upload-meta { grid-column:1 / -1; text-align:left; max-width:none; }
}
@media (max-width: 540px) {
  .student-v0-app-grid,
  .student-v0-app-shell .student-v0-app-grid,
  .family-v0-app-grid,
  .student-v0-meter-grid,
  .family-v0-meter-grid { grid-template-columns:1fr; }
  .student-v0-app-shell .student-v0-app-card { grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:"icon title badge" "icon copy badge"; align-items:center; min-height:98px; }
  .family-v0-side-stack .family-v0-app-card { grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:"icon title badge" "icon copy badge"; gap:4px 12px; align-items:center; min-height:98px; padding:16px; }
  .family-v0-side-stack .family-v0-app-icon { grid-area:icon; width:52px; height:52px; border-radius:18px; font-size:22px; }
  .family-v0-side-stack .family-v0-app-card strong { grid-area:title; font-size:18px; }
  .family-v0-side-stack .family-v0-app-copy { grid-area:copy; }
  .family-v0-side-stack .family-v0-app-badge { grid-area:badge; align-self:center; justify-self:auto; margin-top:0; }
  .family-v0-student-view-card button { grid-template-columns:auto minmax(0,1fr); }
  .family-v0-student-view-card b { grid-column:2; justify-self:start; }
  .student-v0-action-row > * { flex:1 1 100%; }
}
