.teacher-tools { padding-block: 2rem 5rem; }
.teacher-tools-inline { padding-block: 0 2rem; }
.teacher-notebook { padding-block: 2rem 3rem; }
.teacher-notebook > .section-intro { margin-bottom: 1rem; }
.teacher-notebook > .notebook-privacy { margin-block: .5rem 1rem; }
.workspace-menu-heading { margin: 1rem 0 .65rem; }
.workspace-menu-heading h3 { margin: 0; font: 500 1.25rem/1.25 var(--serif); }
.workspace-menu-heading p:last-child { max-width: 68ch; margin: 0; color: #52665c; font-size: .9rem; line-height: 1.6; }
.notebook-section-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin: 0 0 1.25rem; }
.notebook-section-nav a { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; min-width: 0; padding: .85rem 1rem; border: 1px solid #cbdcd6; border-top: 3px solid #a9c3b4; border-radius: 9px; background: #fff; color: #203a3a; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.notebook-section-nav a:hover, .notebook-section-nav a:focus-visible { border-color: #155b59; background: #f2f7f2; transform: translateY(-2px); }
.notebook-section-nav a:focus-visible { outline: 2px solid #155b59; outline-offset: 3px; }
.notebook-section-nav a[aria-current="page"] { border-color: #155b59; border-top-color: #155b59; background: #edf5ee; }
.workspace-menu-label { display: flex; align-items: center; gap: .45rem; color: #155b59; font-size: .72rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.workspace-menu-label b { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #155b59; color: #fff; font-size: .62rem; }
.notebook-section-nav h3 { margin: 0; font: 500 1.1rem/1.25 var(--serif); }
.notebook-section-nav p { margin: 0; color: #52665c; font-size: .84rem; line-height: 1.45; }
.notebook-section-nav strong { margin-top: auto; padding-top: .2rem; color: #155b59; font-size: .75rem; }
.workspace-subview[hidden] { display: none; }
.workspace-subview { scroll-margin-top: 90px; }
.notebook-workspace-heading { margin: .5rem 0 1.25rem; }
.notebook-workspace-heading h3 { margin: .2rem 0 .35rem; }
.notebook-workspace-heading p:last-child { margin: 0; max-width: 70ch; }
.teacher-tools .section-intro { margin-bottom: 1.5rem; }
.teacher-tools-start, .notebook-tools-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.25rem 1.5rem; border: 1px solid #cbdcd6; border-radius: 12px; background: #f0f6f2;
}
.teacher-tools-start { margin-bottom: 1.75rem; }
.teacher-tools-start p, .notebook-tools-link p { margin: .35rem 0 0; max-width: 60ch; }
.teacher-tools-start .button, .notebook-tools-link .button { flex-shrink: 0; }
.notebook-tools-link { margin: 0 0 1.5rem; }
.teacher-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.teacher-tool-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
  padding: 1.5rem; border: 1px solid #d9e1dc; border-radius: 12px; background: #fff;
}
.teacher-tool-card h3 { font-size: 1.2rem; line-height: 1.3; margin: 0; }
.teacher-tool-card p { margin: 0; font-size: .95rem; line-height: 1.6; }
.teacher-tool-card .teacher-tool-meta { font-size: .8rem; color: #52665c; }
.teacher-tool-card .button { margin-top: auto; }
.teacher-tools-help { margin-top: 1.5rem; border-top: 1px solid #d9e1dc; padding-top: 1rem; }
.teacher-tools-help summary { cursor: pointer; font-weight: 600; padding: .5rem 0; }
.teacher-tools-help ol { padding-left: 1.5rem; max-width: 75ch; }
.teacher-tools-help li { margin-block: .5rem; }
@media (max-width: 960px) { .teacher-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .notebook-section-nav { grid-template-columns: 1fr; }
  .notebook-section-nav a { padding: .75rem .9rem; gap: .3rem; }
  .teacher-tools-grid { grid-template-columns: 1fr; }
  .teacher-tools-start, .notebook-tools-link { align-items: flex-start; flex-direction: column; padding: 1rem; }
  .teacher-tool-card { padding: 1.25rem; }
}
