/* Teachers and College tabs (1.37.0) */
.home-aud-panel:not([hidden]) { display: flex; flex-direction: column; gap: 36px; }
.home-aud-panel > .tools-sections { margin: 0; }

.aud-section__head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.aud-section__head::after { content: ''; order: 2; flex: 1 1 auto; height: 1px; background: var(--border-subtle, #E5E7EB); }
.aud-section__title { margin: 0; font-size: 22px; font-weight: 800; color: var(--content-primary); white-space: nowrap; }
.aud-section__count { font-size: 14px; color: var(--content-tertiary); white-space: nowrap; }
.aud-section__all { order: 3; font-size: 14px; font-weight: 700; white-space: nowrap; color: #1E7CB8; text-decoration: none; }
.aud-section__all:hover { text-decoration: underline; }

.aud-list { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 40px; }
.aud-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--border-subtle, #EEF0F3); }
.aud-list a { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--content-primary); text-decoration: none; }
.aud-list a:hover { color: #1E7CB8; text-decoration: underline; }

.aud-callout {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center;
  padding: 18px 22px; border-radius: 12px; text-decoration: none;
  background: var(--bg-secondary, #F5F9FC); border: 1px solid var(--border-primary, #E5E7EB);
}
.aud-callout:hover { text-decoration: none; border-color: #1E7CB8; }
.aud-callout__title { font-size: 18px; font-weight: 800; color: var(--content-primary); }
.aud-callout__text { grid-column: 1; font-size: 15px; color: var(--content-secondary); }
.aud-callout__go { grid-column: 2; grid-row: 1 / span 2; font-size: 15px; font-weight: 700; color: #1E7CB8; white-space: nowrap; }

@media (max-width: 600px) {
  .aud-section__title { font-size: 20px; }
  .aud-section__count { display: none; }
  .aud-callout { grid-template-columns: 1fr; }
  .aud-callout__go { grid-column: 1; grid-row: auto; }
}

html.dark-mode .aud-section__head::after { background: #2B3544; }
html.dark-mode .aud-section__title, html.dark-mode .aud-callout__title, html.dark-mode .aud-list a { color: #e0e4ea; }
html.dark-mode .aud-list li { border-color: #2B3544; }
html.dark-mode .aud-list a:hover, html.dark-mode .aud-section__all, html.dark-mode .aud-callout__go { color: #7CC0EA; }
html.dark-mode .aud-callout { background: #0F1624; border-color: #2B3544; }
html.dark-mode .aud-callout__text { color: #9CA3AF; }
