.study-plan { margin:14px 0 16px; padding:12px 16px; border-block:2px solid var(--ink); background:var(--stock); }
.study-plan-intro { display:grid; grid-template-columns:62px minmax(0,1fr) auto; width:fit-content; gap:12px 16px; align-items:center; }
.study-plan-intro img { width:62px; height:auto; }
.study-plan-intro h2 { margin:0; font-size:1.37rem; line-height:1.2; }
.study-plan-intro p { margin:4px 0 0; overflow-wrap:anywhere; }
.study-plan-timeline { width:fit-content; margin:7px 0 0 78px; padding:2px 8px; border-left:4px solid var(--teal); background:var(--paper); color:var(--ink); font-size:.89rem; font-weight:700; }
.study-plan-settings { margin:6px 0 0 78px; }
.study-plan-settings summary { width:fit-content; cursor:pointer; font-size:.89rem; text-decoration:underline; text-underline-offset:3px; color:var(--green); }
.study-plan-settings form { padding-top:8px; }
.study-plan-fields { display:flex; align-items:end; flex-wrap:wrap; gap:6px 16px; }
.study-plan-fields label { display:grid; gap:3px; font-weight:700; font-size:.88rem; }
.study-plan-fields input { border:1px solid var(--ink); border-radius:5px; padding:4px 7px; background:var(--white); color:var(--ink); font:inherit; }
.study-plan-fields input[type=number] { width:8em; }
.study-plan-settings .actions { margin-top:8px; }
.study-plan-status { margin:5px 0 0; font-weight:700; color:var(--green); font-size:.89rem; }
.study-plan-status:empty { margin:0; }
@media (max-width: 700px) {
  .study-plan-intro { grid-template-columns:42px minmax(0,1fr); gap:6px 8px; }
  .study-plan-intro img { width:42px; }
  .study-plan-intro .btn { grid-column:2; justify-self:start; }
  .study-plan-timeline,.study-plan-settings { margin-left:50px; }
}
