/* Student-facing layout. Kept separate from the reusable material-tool styles. */
:root {
  --ink:#303b35; --muted:#6e7b71; --teal:#3d6959; --teal-dark:#315747;
  --pale:#e9efe5; --line:#dfe4d9; --bg:#f6f6f1; --white:#fff;
  --serif:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;
  font-size:15px;
}
body { background:var(--bg); }
.sidebar { width:232px; padding:30px 18px 24px; background:#eeefe8; border:0; border-right:1px solid #dde2d5; color:#303b35; }
.brand { gap:11px; font-size:21px; letter-spacing:.5px; padding:0 9px; }
.brand-mark { width:40px; height:42px; border-radius:12px; background:#dfe7d8; color:#3f6551; font-weight:700; font-size:24px; }
.brand small { margin-top:6px; font-size:10px; font-weight:400; letter-spacing:1px; color:#5f6d59; }
.nav-label { margin:42px 14px 14px; color:#5f6d59; font-size:11px; letter-spacing:1px; }
.nav { min-height:48px; padding:13px 15px; margin:7px 0; border-radius:10px; color:#5f6d59; font-size:14px; gap:12px; }
.nav>span { font-size:18px; }
.nav:hover { background:#e5e9de; color:#3c5848; }
.nav.active { background:#dfe8da; color:#355c48; box-shadow:none; }
.sidebar-line { background:#dce2d4; margin:26px 12px 21px; }
.recent-head { color:#5f6d59; font-size:12px; }
.tiny { color:#5f6d59; }
.recent-task { color:#5f6d59; padding:12px; border-radius:8px; font-size:12px; }
.recent-task:hover { color:#3c5848; background:#e5e9de; }
#recent .muted { color:#5f6d59; }
.sidebar-bottom { font-size:11px; color:#5f6d59; padding:24px 12px 0; border-top:1px solid #dce2d4; }
.sidebar-bottom p { color:#5f6d59; font-size:11px; margin:12px 0 0; }
.sidebar-bottom strong { color:#5f6d59; font-weight:500; }
.status-dot { background:#72b7a1; }
main { margin-left:232px; }
.topbar { height:70px; padding:0 40px; background:#fcfcf8; font-size:13px; border-color:#f3f5ee; }
.topbar .breadcrumb { color:#6a7868; }
.top-right { gap:12px; }
.model-pill { background:#fcfcf8; border-color:#f3f5ee; color:#59655b; padding:7px 11px; font-size:11px; }
.icon-button { color:#59655b; }
.avatar { width:32px; height:32px; background:#f3f5ee; color:#59655b; font-size:12px; }
.view { max-width:1440px; padding:36px 40px 32px; }
.page-heading { margin-bottom:28px; }
.eyebrow { color:#59655b; letter-spacing:1px; font-size:11px; }
.workspace-heading .eyebrow { display:flex; align-items:center; gap:8px; color:#6a7868; }
.eyebrow>span { height:6px; width:6px; border-radius:50%; background:#71856f; }
h1 { font-size:30px; font-weight:700; letter-spacing:0; line-height:1.5; margin:10px 0; }
.page-heading p { font-size:14px; color:#6a7868; line-height:1.9; }
.button { min-height:43px; padding:11px 20px; font-size:13px; border-radius:9px; gap:20px; transition:background .15s,transform .15s; }
.primary { background:var(--teal); box-shadow:0 4px 10px #71856f1a; }
.primary:hover { background:var(--teal-dark); transform:translateY(-1px); }
.secondary { color:#59655b; border-color:#e4e9dd; box-shadow:0 2px 4px #303c3303; }
.secondary:hover { background:#fcfcf8; border-color:#d1dccb; }
.card { border:1px solid #e3e6dd; border-radius:16px; padding:28px; box-shadow:0 4px 18px #303c3304; margin-bottom:22px; }
h2 { font-size:18px; font-weight:650; }
h3 { font-size:16px; line-height:1.65; }
.step-number { border:0; color:#6a7868; background:#f3f5ee; font-size:12px; border-radius:8px; width:32px; height:32px; display:inline-grid; place-items:center; padding:0; }
.create-panel { padding:0; overflow:hidden; }
.setup-heading { padding:25px 30px; margin:0; border-bottom:1px solid #f3f5ee; }
.setup-heading>div { gap:13px; }
.setup-heading>div>div { display:block; }
.setup-heading h2 { margin:0 0 6px; font-size:19px; }
.setup-heading p { color:#6a7868; font-size:12px; margin:0; line-height:1.7; }
.setup-badge { color:#6a7868; font-size:11px; background:#fcfcf8; border-radius:20px; padding:7px 12px; white-space:nowrap; }
.setup-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; }
.goal-setup { min-width:0; padding:30px; }
label { font-size:13px; color:#465e4e; margin-bottom:22px; line-height:1.6; }
.optional { color:#6a7868; font-size:11px; }
.required { color:#6a7868; font-size:10px; font-weight:400; margin-left:5px; }
input:not([type=checkbox]),textarea,select { background:#fff; border-color:#e4e9dd; color:#465e4e; border-radius:8px; font-size:14px; padding:11px 13px; margin-top:9px; }
input::placeholder,textarea::placeholder { color:#6d7867; }
input:focus,textarea:focus,select:focus { border-color:#9eaf9b; box-shadow:0 0 0 3px #f3f5ee; }
textarea { min-height:110px; line-height:1.9; }
.goal-label { color:#303c33; font-size:14px; margin:0 0 18px; }
.goal-label textarea { min-height:116px; background:#fcfcf8; border-color:#e4e9dd; font-size:14px; padding:15px; }
.goal-suggestions { margin:0 0 28px; }
.goal-suggestions>span { color:#6a7868; font-size:11px; }
.goal-suggestions>div { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.goal-suggestions button { background:#fcfcf8; color:#59655b; border:1px solid #f3f5ee; border-radius:7px; padding:8px 11px; font-size:12px; }
.goal-suggestions button span { margin-left:8px; color:#6d7867; }
.goal-suggestions button:hover,.goal-suggestions button.selected { background:#f3f5ee; color:#6a7868; border-color:#e4e9dd; }
.field-hint { display:block; color:#6a7868; font-size:11px; margin-top:8px; font-weight:400; }
.draft-option { border:1px dashed #e4e9dd; border-radius:10px; background:#fcfcf8; }
.draft-option>summary { display:flex; align-items:center; gap:11px; padding:15px; list-style:none; color:#59655b; font-size:12px; }
.draft-option>summary::-webkit-details-marker { display:none; }
.disclosure-icon { font-size:20px; color:#6a7868; }
.draft-option small { display:block; font-size:10px; color:#6d7867; margin-top:5px; }
.disclosure-arrow { margin-left:auto; color:#6d7867; }
.draft-label { padding:0 16px 16px; margin-bottom:0; }
.draft-label textarea { min-height:140px; }
.field-footer { font-size:11px; color:#6a7868; gap:12px; }
.student-profile { border:0; border-left:1px solid #f3f5ee; border-radius:0; background:#fcfcf8; margin:0; padding:29px 24px; min-width:0; }
.student-profile legend { float:left; width:100%; color:#465e4e; font-size:14px; font-weight:600; margin:0 0 10px; padding:0; }
.student-profile .profile-intro { clear:both; color:#6a7868; font-size:11px; margin:0 0 22px; line-height:1.8; }
.profile-grid { display:grid; grid-template-columns:1fr; gap:0; }
.student-profile label { font-size:12px; }
.profile-more { border-top:1px solid #f3f5ee; padding-top:15px; }
.profile-more>summary { display:flex; justify-content:space-between; gap:8px; font-size:11px; color:#6a7868; list-style:none; }
.profile-more>summary::-webkit-details-marker { display:none; }
.profile-extra { padding-top:20px; }
.profile-extra textarea { min-height:86px; }
.profile-note { display:flex; gap:9px; margin-top:25px; color:#6a7868; }
.profile-note>span { color:#6a7868; font-size:12px; margin-top:3px; }
.profile-note p { margin:0; font-size:11px; line-height:1.9; }
.advanced { margin:0 30px; border-top:1px solid #f3f5ee; padding:18px 0; }
.advanced summary { font-size:12px; color:#6a7868; }
.advanced summary>span { color:#6d7867; font-size:10px; }
.checkbox { font-size:11px; color:#6a7868; line-height:1.9; }
input[type=checkbox] { width:15px; height:15px; margin-top:3px; }
.form-end { padding:21px 30px; background:#fcfcf8; border-top:1px solid #f3f5ee; gap:24px; }
.form-end .consent { max-width:570px; font-size:11px; }
#create-button { padding:13px 24px; min-width:177px; font-size:14px; }
.section-caption { color:#59655b; font-size:12px; margin:28px 0 16px; }
.section-caption>span+span { color:#6d7867; font-size:11px; }
.flow-grid { grid-template-columns:repeat(3,minmax(0,1fr)); border:0; background:transparent; gap:16px; overflow:visible; }
.flow-grid article { display:flex; align-items:flex-start; gap:13px; border:1px solid #f3f5ee!important; border-radius:12px; padding:20px; background:#fff; position:relative; }
.flow-grid .path-number { width:31px; height:31px; flex:0 0 31px; display:grid; place-items:center; color:#6a7868; background:#f3f5ee; font-size:12px; border-radius:9px; letter-spacing:0; }
.flow-grid h3 { color:#465e4e; font-size:13px; margin:1px 0 7px; }
.flow-grid p { color:#6a7868; font-size:11px; line-height:1.8; }
.flow-grid .path-arrow { position:absolute; right:-15px; top:35px; z-index:1; color:#6d7867; font-size:14px; background:var(--bg); }
.page-note { font-size:11px; color:#6d7867; }
.small { font-size:12px; }
.text-button { font-size:12px; color:#6a7868; }
.tag { font-size:10px; color:#6a7868; background:#f3f5ee; border-radius:5px; padding:4px 8px; }
.notice { color:#8b7551; background:#fcf9f2; border-color:#efe7d7; border-radius:9px; font-size:12px; }
.task-title h2 { font-size:24px; }
.task-id { color:#6a7868; font-size:11px; }
.pipeline { gap:12px; margin:22px 0; }
.pipeline>div { color:#6a7868; border-radius:10px; font-size:12px; padding:16px; }
.pipeline>div.done { background:#f3f5ee; color:#6a7868; border-color:#f3f5ee; }
.pipeline>div.current { background:#fff; border-color:#9eaf9b; color:#6a7868; }
.task-columns { display:grid; grid-template-columns:1fr; gap:20px; }
.task-columns>.card:first-child { background:#fcfcf8; border-color:#f3f5ee; padding:23px 28px; }
.task-columns>.card:first-child .card-heading { margin-bottom:12px; }
.goal-list { font-size:14px; color:#59655b; margin:10px 0; line-height:2; }
.diagnosis-details { margin-top:13px; font-size:12px; color:#6a7868; }
.diagnosis-details[open]>summary { margin-bottom:15px; }
.material-panel { padding:30px!important; }
.material-panel>.card-heading { padding-bottom:20px; border-bottom:1px solid #f3f5ee; }
.full-feature { border:0; padding:5px 0 10px!important; background:none; }
.full-feature h3,.task-columns .full-feature h3 { font-size:25px; color:#303c33; margin:12px 0; }
.body-copy { color:#59655b; font-size:14px; line-height:1.95; }
.study-essay,.task-columns .study-essay { border:1px solid #ece9e2; border-radius:12px; background:#fbfaf5; color:#303c33; font-family:"Noto Serif SC","Source Han Serif SC","SimSun",serif; font-size:18px; line-height:2.1; padding:30px 36px; margin:18px 0 24px; }
.quote { border-color:#d1dccb; background:#fcfcf8; color:#59655b; font-size:14px; font-family:inherit; border-radius:0 7px 7px 0; }
.questions { color:#59655b; font-size:15px; line-height:2; }
.hint { background:#fcfcf8; border-color:#e4e9dd; color:#6a7868; font-size:13px; }
.vocab-card { border-color:#e4e9dd; border-radius:12px; background:#fcfcf8; padding:22px; }
.vocab-heading { font-size:14px; }
.vocab-metrics { font-size:12px; color:#6a7868; }
.vocab-metrics b { color:#59655b; font-size:24px; }
.level-bars>div { font-size:12px; color:#6a7868; }
.level-bars progress,.level-bars progress::-webkit-progress-bar { background:#f3f5ee; }
.level-bars progress::-webkit-progress-value { background:#9eaf9b; }
.level-bars progress::-moz-progress-bar { background:#9eaf9b; }
.learner-summary { display:flex; gap:8px; flex-wrap:wrap; border:0; padding:12px 0; margin:10px 0; background:none; color:#6a7868; font-size:12px; }
.learner-summary span { border:1px solid #e4e9dd; background:#fff; padding:6px 12px; border-radius:20px; }
.learner-summary p { width:100%; margin:4px 0; line-height:1.8; }
.metrics { padding:18px 0 0; margin:0; font-size:11px; color:#6a7868; }
.event-list { color:#6a7868; }
.event-list b { color:#59655b; }
.feedback-surface { background:#fcfcf8; border-color:#e4e9dd; }
.feedback-heading h3 { color:#465e4e; }
.feedback-action:has(input:checked) { background:#fcfcf8; border-color:#9eaf9b; }
.feedback-chip input:checked+span { color:#59655b; background:#f3f5ee; border-color:#d1dccb; }
.feedback-actions .feedback-action strong { color:#59655b; }
.feedback-adapt-options { background:#fcfcf8; border-color:#e4e9dd; }
.feedback-status:not(:empty) { color:#59655b; background:#fcfcf8; }
table { font-size:13px; }
th { background:#fcfcf8; color:#6a7868; font-size:11px; }
td,th { border-color:#f3f5ee; }
td p { color:#6d7867; font-size:11px; }
dialog { border-radius:16px; border-color:#e4e9dd; }
#toast { background:#303c33; border-radius:10px; font-size:13px; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline-color:#d1dccb; }
@media(min-width:1550px) { .view { padding-top:44px; } .create-panel { padding:0; } }
@media(max-width:1250px) {
  .sidebar { width:210px; padding:28px 14px; } main { margin-left:210px; }
  .view { padding:30px; } .topbar { padding:0 30px; }
  .setup-grid { grid-template-columns:minmax(0,1fr) 265px; }
  .goal-setup { padding:25px; } .student-profile { padding:26px 21px; }
  h1 { font-size:27px; } .workspace-heading .button { font-size:12px; padding:10px 14px; }
  .flow-grid article { padding:17px 13px; gap:10px; }
}
@media(max-width:1050px) {
  .sidebar { width:190px; padding:25px 12px; } main { margin-left:190px; }
  .brand { font-size:18px; gap:9px; padding:0 6px; } .brand-mark { width:35px; height:38px; }
  .nav { font-size:12px; padding:12px; gap:8px; }
  .view { padding:28px 24px; } .topbar { padding:0 24px; }
  .setup-grid { grid-template-columns:1fr; }
  .student-profile { border-left:0; border-top:1px solid #f3f5ee; padding:24px; }
  .student-profile .profile-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
  .profile-note { margin-top:18px; } .profile-extra { display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
  .profile-more { max-width:none; } .flow-grid article { flex-direction:column; gap:10px; }
  .flow-grid .path-arrow { top:45px; } .setup-badge { display:none; }
}
@media(max-width:800px) {
  .sidebar { position:static; width:auto; padding:20px 18px 13px; display:block; }
  main { margin-left:0; } .brand { font-size:20px; }
  .sidebar nav { display:flex; flex-wrap:nowrap; gap:5px; margin-top:20px; overflow-x:auto; }
  .nav { flex:1 0 auto; font-size:11px; padding:10px 9px; min-height:39px; justify-content:center; margin:0; }
  .nav>span { display:none; }
  .topbar { height:55px; padding:0 18px; } .model-pill { font-size:10px; padding:5px 8px; }
  .view { padding:25px 17px; } .workspace-heading { display:block; margin-bottom:22px; }
  h1 { font-size:25px; margin:10px 0; } .page-heading p { font-size:12px; }
  .page-heading .button { font-size:12px; margin-top:16px; padding:9px 13px; }
  .page-heading .button:after { display:none; } .eyebrow { font-size:10px; }
  .card { padding:21px; border-radius:13px; } .create-panel { padding:0; }
  .setup-heading { padding:21px; } .setup-heading h2 { font-size:17px; }
  .setup-heading p { font-size:11px; } .goal-setup { padding:23px 21px; }
  .student-profile { padding:23px 21px; } .student-profile .profile-grid { grid-template-columns:1fr 1fr; gap:0 15px; }
  .student-profile .profile-grid>label:first-child { grid-column:1/-1; }
  .profile-extra { grid-template-columns:1fr; } .advanced { margin:0 21px; }
  .advanced summary>span { display:block; margin:6px 0 0 15px; }
  .form-end { padding:20px 21px; gap:17px; } #create-button { width:100%; }
  .flow-grid { grid-template-columns:1fr; gap:11px; }
  .flow-grid article { flex-direction:row; padding:17px; gap:14px; }
  .flow-grid .path-arrow { display:none; }
  .section-caption>span+span { display:none; }
  .task-columns>.card:first-child,.material-panel { padding:20px!important; }
  .task-columns .study-essay,.study-essay { font-size:17px; padding:22px 18px; }
  .task-title { display:block; } .task-actions { flex-direction:row; margin-top:15px; }
  .pipeline { gap:6px; } .pipeline>div { padding:11px 6px; gap:5px; font-size:10px; }
  .full-feature h3,.task-columns .full-feature h3 { font-size:23px; }
  .body-copy { font-size:13px; } .level-bars>div { grid-template-columns:56px 1fr 58px; gap:8px; font-size:11px; }
  #toast { left:50%; width:calc(100% - 34px); bottom:18px; }
}
@media(prefers-reduced-motion:reduce) { .button { transition:none; } .primary:hover { transform:none; } }

/* Research collection and dashboard use the same quiet palette as learning. */
.consent-stack { flex:1; min-width:0; }
.consent-stack .checkbox+.checkbox { margin-top:11px; }
.research-disclosure { margin:9px 0 0 24px; font-size:11px; color:#75816f; }
.research-disclosure p { line-height:1.9; max-width:580px; }
.research-record-status { font-size:11px; color:#60745e; line-height:1.8; margin:9px 0 0 24px; }
.research-record-status:empty { display:none; }
.research-filters { display:flex; align-items:flex-end; flex-wrap:wrap; gap:12px 16px; }
.research-filters>label:not(.checkbox) { flex:1 1 130px; min-width:0; margin:0; }
.research-filters>label.checkbox { flex:1 0 100%; margin:3px 0 15px; }
.research-filters>.button { margin-bottom:0; }
.research-export { display:flex; flex-wrap:wrap; gap:9px; padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-top:5px; }
.research-export .button { font-size:12px; padding:9px 13px; }
.research-stats { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:25px 0; }
.research-stats article { border:1px solid #e0e6d8; background:#f8faf4; padding:18px 16px; border-radius:10px; }
.research-stats span { display:block; font-size:11px; color:#798671; }
.research-stats strong { display:block; margin-top:12px; font-size:24px; font-weight:600; color:#46634c; overflow-wrap:anywhere; }
.research-controls { display:flex; align-items:center; justify-content:space-between; gap:20px; }
#research-dashboard { overflow-wrap:anywhere; }
#research-dashboard h3 { margin-top:28px; }
@media(max-width:1000px) { .research-stats { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) {
  .research-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .research-stats strong { font-size:21px; }
  .research-controls { align-items:stretch; flex-direction:column; }
}

/* Natural paragraphs: whitespace is normalized at display only. */
.study-essay { white-space:normal; }
.study-essay > p { margin:0 0 .85em; text-indent:2em; line-height:2.1; }
.study-essay > p:last-child { margin-bottom:0; }
.language-study { border-top:1px solid var(--line); padding-top:24px; }
.word-help { padding:16px 20px; background:var(--pale); border-radius:10px; margin:16px 0; }
.word-help h4 { margin:0 0 10px; }
.paragraph-explanation { border-left:3px solid #93ac97; padding-left:14px; }
details > summary { list-style:none; cursor:pointer; }
details > summary::-webkit-details-marker { display:none; }
details > summary::marker { content:''; }
details > summary::before { content:''; display:inline-block; width:0; height:0; border-top:5px solid transparent; border-bottom:5px solid transparent; border-left:7px solid currentColor; margin-right:9px; vertical-align:middle; transition:transform .15s; }
details[open] > summary::before { transform:rotate(90deg); }
.answer-disclosure > summary,.writing-reference > summary { display:inline-flex; align-items:center; color:var(--teal-dark); background:var(--pale); padding:8px 12px; border:1px solid #c9d7c9; border-radius:6px; font-weight:600; }
.question-check { margin:12px 0; }
.question-feedback { margin-top:12px; border-left:3px solid #8ca68f; padding:10px 14px; background:#f2f5ed; }

.paragraph-analysis-controls { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:16px 0; }
.paragraph-analysis-controls [role="status"] { font-size:14px; color:var(--teal-dark); }

/* Learning modules, paragraph explanations and methods use distinct levels. */
:root { font-size:16px; }
#workspace-view .card-heading { border-bottom:2px solid #c8d8ce; padding-bottom:16px; }
#workspace-view .card-heading h2 { color:#203d31; font-size:1.375rem; font-weight:700; line-height:1.5; }
.learning-section { margin-top:38px; padding-top:26px; border-top:2px solid #c8d8ce; }
.learning-section-title,
#workspace-view .difficulty-panel .card-heading h3 {
  display:block; color:#203d31; background:#e9f2ec; border-left:5px solid #477d61;
  border-radius:0 8px 8px 0; padding:12px 16px; margin:0 0 20px;
  font-size:1.25rem; font-weight:700; line-height:1.5;
}
#workspace-view .difficulty-panel .card-heading { display:block; border:0; padding:0; margin-bottom:16px; }
#workspace-view .difficulty-panel .card-heading .tag { margin-top:0; }
.paragraph-card,.writing-method-card { border:1px solid #cbd9d0; border-radius:12px; background:#fff; padding:20px; margin:20px 0; }
.paragraph-card>h4,.writing-method-card>h4 {
  color:#244d39; background:#f0f5f1; border-bottom:1px solid #cbd9d0;
  padding:12px 20px; margin:-20px -20px 18px; border-radius:11px 11px 0 0;
  font-size:1.125rem; font-weight:700; line-height:1.5;
}
.paragraph-card .paragraph-explanation { border:0; padding:0; margin:0 0 18px; }
.paragraph-card .body-copy,.writing-method-card .body-copy,
.paragraph-card .quote,.writing-method-card .quote { max-width:44em; font-size:1rem; line-height:1.9; color:#354b40; overflow-wrap:anywhere; }
.paragraph-card .quote { max-height:none; overflow:visible; }
.paragraph-card details>summary { font-size:1rem; color:#315747; font-weight:600; }
#workspace-view .body-copy,#workspace-view .goal-list { font-size:1rem; line-height:1.9; }
#workspace-view .material-panel .small,#workspace-view .quiz-panel .small,
#workspace-view .difficulty-panel .small,#workspace-view .feedback-surface .small { font-size:.875rem; line-height:1.85; }
#workspace-view .material-panel .button { font-size:.9375rem; }
.study-essay,.task-columns .study-essay { max-width:52rem; margin-inline:auto; }
.grammar-reading-status { padding:12px 16px; border-left:4px solid #477d61; background:#eef5ef; color:#244d39; font-size:1rem; line-height:1.8; }
.grammar-filter-row { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.grammar-filter-row button { border:1px solid #b9cfbf; border-radius:8px; padding:9px 14px; color:#315747; background:#fff; font-size:.9375rem; }
.grammar-filter-row button[aria-pressed="true"] { background:#315747; color:#fff; border-color:#315747; }
.grammar-sentence { margin:18px 0; padding:18px; border:1px solid #cbd9d0; border-radius:10px; background:#fff; }
.grammar-sentence h4 { font-size:1.0625rem; color:#244d39; margin:0 0 12px; }
.grammar-sentence .body-copy,.grammar-sentence .quote,.grammar-sentence>.small { max-width:44em; }
.grammar-details>summary { font-size:1rem; font-weight:600; color:#315747; }
.quiz-panel>.learning-section-title,.feedback-heading>.learning-section-title { margin-top:10px; }
@media(max-width:700px) {
  #workspace-view .card-heading h2 { font-size:1.25rem; }
  .learning-section-title,#workspace-view .difficulty-panel .card-heading h3 { font-size:1.125rem; padding:11px 13px; }
  .learning-section { margin-top:30px; padding-top:22px; }
  .paragraph-card,.writing-method-card { padding:16px; margin:16px 0; }
  .paragraph-card>h4,.writing-method-card>h4 { margin:-16px -16px 15px; padding:11px 16px; }
}
