:root{--ink:#19231f;--muted:#617069;--paper:#fbfaf6;--wash:#eaf1ea;--accent:#2b7258;--line:#d9e1dc}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:Microsoft YaHei,system-ui,sans-serif}.shell{width:min(100%,760px);min-height:100svh;margin:auto;padding:48px 24px}.landing{padding-top:14vh}.eyebrow{color:var(--accent);letter-spacing:.08em;font-weight:700}.shell h1{letter-spacing:-.06em;margin:12px 0 24px;font-size:clamp(30px,5vw,42px);line-height:1.13}.lead{font-size:19px;line-height:1.7}.shell p{line-height:1.8}.notice{background:var(--wash);border-radius:16px;margin:30px 0;padding:18px 20px;line-height:1.7}.primary,.quiet{font:inherit;cursor:pointer;border:0;border-radius:999px;padding:13px 21px}.primary{background:var(--accent);color:#fff}.quiet{color:var(--ink);background:#edf0ed}button:disabled{opacity:.45;cursor:not-allowed}.fine{color:var(--muted);font-size:13px}.chat{flex-direction:column;padding-top:18px;display:flex}.chat header{color:var(--muted);justify-content:space-between;margin-bottom:18px;font-size:14px;display:flex}.chat header a{color:var(--ink);text-decoration:none}.messages{flex-direction:column;flex:1;gap:12px;min-height:55vh;display:flex}.bubble{border-radius:18px;max-width:85%;padding:14px 16px;line-height:1.65}.bubble.assistant{background:var(--wash);border-bottom-left-radius:4px;align-self:flex-start}.bubble.student{border:1px solid var(--line);background:#fff;border-bottom-right-radius:4px;align-self:flex-end}.typing{color:var(--muted)}footer{background:var(--paper);padding-top:12px;position:sticky;bottom:0}textarea{border:1px solid var(--line);width:100%;font:inherit;resize:none;border-radius:14px;padding:13px}.actions{justify-content:space-between;margin:10px 0;display:flex}.success{padding-top:25vh}.admin{max-width:1120px}.cards{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;display:grid}.card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:20px}.card strong{color:var(--accent);font-size:32px;display:block}.section{margin-top:34px}.signal{border-left:4px solid var(--accent);background:#fff;border-radius:0 12px 12px 0;margin:10px 0;padding:16px}.quote{color:var(--muted);font-style:italic}.input-tools{justify-content:space-between;align-items:center;gap:12px;display:flex}.input-tools .fine{margin:0}.voice{border:1px solid var(--accent);color:var(--accent);font:inherit;cursor:pointer;background:#fff;border-radius:999px;flex:none;padding:8px 12px;font-size:14px}.voice.listening{background:var(--accent);color:#fff}.voice-note{color:var(--muted);margin:5px 0 8px;font-size:13px;line-height:1.5}@media (max-width:520px){.shell{padding:32px 18px}.chat header span{display:none}.input-tools{flex-direction:column;align-items:flex-start;gap:4px}}:root .chat{height:100dvh;min-height:0;padding-bottom:12px;overflow:hidden}.chat .messages{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding-bottom:16px;overflow-y:auto}.chat header,.chat footer{flex-shrink:0}.chat footer{position:static}
