.note-attachments-toggle{display:flex;align-items:center;gap:9px;width:100%;margin:0 0 12px;padding:11px 13px;border:1px solid #4d4733;border-radius:9px;background:#24231e;color:var(--yellow);font-size:12px;font-weight:700;text-align:left}.note-attachments-toggle span{margin-left:auto;color:var(--muted);font-size:11px}.note-attachments-toggle:hover{background:#302b1e;border-color:var(--yellow)}.note-gallery-back{z-index:10000}.note-gallery{width:min(920px,100%);max-height:85dvh;overflow:auto}.note-gallery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.note-gallery-head h3{margin:0 0 7px}.note-gallery-head p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.note-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:12px}.note-gallery-card{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#121418}.note-gallery-thumb{display:grid;place-items:center;width:100%;height:155px;padding:0;background:#0e1013;border:0;color:var(--muted);cursor:zoom-in;line-height:1.8;font-size:12px}.note-gallery-thumb img{max-width:100%;width:100%;height:100%;object-fit:contain}.note-gallery-caption{padding:9px 10px 6px;font-size:11px;color:#b5b6bd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-gallery-actions{display:flex;gap:6px;padding:4px 9px 10px}.note-gallery-actions .mini{min-width:28px;min-height:28px;padding:0;display:grid;place-items:center}.note-gallery-actions .red{margin-left:auto;color:var(--red)}.note-gallery-actions button:disabled{opacity:.3;cursor:default}@media(max-width:500px){.note-gallery-back{padding:12px}.note-gallery{padding:16px}.note-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.note-gallery-thumb{height:135px}.note-gallery-actions{gap:4px;padding:3px 6px 8px}.note-gallery-actions .mini{min-width:26px}}

.section-sync-actions{display:flex;align-items:center;gap:8px}.section-head #syncGrades,.section-sync-actions #syncSchedule{white-space:nowrap;font-size:11px;padding:9px 11px}
