.social-garden .index-students-container > summary::-webkit-details-marker { display: none; }
.social-garden .disclosure-action { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: .8rem; font-weight: 700; color: #345543; }
.social-garden .disclosure-action > :is(.when-open,.when-closed) { text-decoration: underline; text-underline-offset: 3px; }
.social-garden .disclosure-chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.social-garden details > summary .when-open,
.social-garden details[open] > summary .when-closed { display: none; }
.social-garden details[open] > summary .when-open { display: inline; }
.social-garden details[open] > summary .disclosure-chevron { transform: rotate(225deg) translate(-2px,-1px); }
.social-garden .course-progress-panel { background: transparent; border: 0; border-radius: 0; padding: 0 2px 12px; margin-bottom: 8px; }
.social-garden .index-students-container { border: 1px solid #af8736; border-radius: 8px; background: #fff5d7; padding: 0; overflow: hidden; }
.social-garden .index-students-container > summary { min-height: 48px; padding: 8px 10px; gap: 8px; }
.social-garden .index-students-container > summary > .student-bank-label { color: #5b4316; font-size: .9rem; font-weight: 800; }
.social-garden .index-students-container > summary > .disclosure-action { color: #6a4b14; font-weight: 700; }
.social-garden .index-students-container[open] > summary { border-bottom: 1px solid #d5bd87; }
.social-garden .index-students-container > :not(summary) { margin-inline: 10px; }
.social-garden .index-students-container > .index-students-grid { width: auto; min-width: 0; margin-inline: 6px; grid-template-columns: minmax(0, 1fr); padding-bottom: 6px; }
.social-garden .treasure-chest-card { display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; gap: 4px; padding: 4px; }
.social-garden .chest-card-top { width: auto; min-width: 0; }
.social-garden .chest-card-identity { gap: 2px; }
.social-garden .chest-role { display: none; }
.social-garden .chest-avatar[data-companion-avatar] { width: 26px; height: 32px; }
.social-garden .chest-avatar svg { width: 24px; height: 30px; }
.social-garden .chest-name, .social-garden .chest-star-count { font-size: .8rem; }
.social-garden .chest-card-bottom { width: 112px; grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 2px; padding: 0; background: transparent; }
.social-garden .chest-btn-mini { width: 32px; height: 36px; font-size: 1.1rem; }
.social-garden .sidebar-field-label { display: block; color: #314a40; font-size: .85rem; font-weight: 800; margin-bottom: 6px; }
.social-garden .search-box input { border: 2px solid #718b7e; border-radius: 7px; box-shadow: inset 0 2px 3px #193c2710; }
.social-garden .course-search-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.social-garden .course-search-heading .sidebar-field-label { margin: 0; }
.social-garden .course-search-status { font-size: .74rem; color: #4b6156; margin: 0; white-space: nowrap; }
.social-garden .course-picker { flex: none; }
.social-garden .course-picker-body { flex: none; max-height: none; }
.social-garden .course-picker-body > * { flex-shrink: 0; }
.social-garden .date-list { flex: none; overflow: visible; max-height: none; min-height: 0; padding-right: 0; }
.social-garden .date-list .curriculum-group-header { background: transparent !important; border: 0 !important; border-bottom: 2px solid #a5b7bd !important; border-radius: 0 !important; padding: 8px 0 !important; margin-bottom: 2px !important; cursor: default; }
.social-garden .date-card { cursor: default; }
.social-garden .date-card-title { margin: 8px 0; }
.social-garden .course-open-button { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 10px; color: #fff; background: #286449; border: 2px solid #1b4934; border-bottom-width: 4px; border-radius: 8px; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.social-garden .course-open-button > :last-child { flex-shrink: 0; font-size: 1.1rem; }
.social-garden .course-open-button:hover { background: #1c5038; }
.social-garden .course-open-button:active { border-bottom-width: 2px; padding-top: 10px; }
.social-garden .sidebar :is(button,summary,input,select):focus-visible { outline: 3px solid #145fb8; outline-offset: 3px; }
.social-garden .sidebar .index-students-container > summary:hover { filter: brightness(.97); }
@media (max-width: 960px) {
  .social-garden .sidebar { max-height: 65dvh; overflow-y: auto; }
  .social-garden .course-picker-body { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .social-garden .date-card { transition: none; }
}
