/* 2026-10-26 Syllabus viewer / uploader (instructor tab and student view) */
.sy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.sy-head { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sy-head .grow { flex: 1 1 240px; min-width: 0; }
.sy-head h3 { margin: 0 0 2px; }
.sy-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.sy-drop { border: 2px dashed #b8c5e4; background: var(--blue-tint); border-radius: 18px; padding: 36px 20px; text-align: center; transition: background .15s, border-color .15s; }
.sy-drop.over { background: #dbe5fb; border-color: var(--blue); }
.sy-drop h3 { margin: 8px 0 4px; }
.sy-ic { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: #fff; align-items: center; justify-content: center; color: var(--blue); }
.sy-ic svg { width: 26px; height: 26px; }
.sy-or { margin: 16px 0 6px; color: var(--muted); font-size: .9rem; }
.sy-link { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; }
.sy-link input { flex: 1; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.sy-view { background: #eef0f5; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.sy-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.sy-zl { min-width: 48px; text-align: center; font-weight: 700; }
.sy-pg { color: var(--muted); font-size: .88rem; margin-left: auto; }
.sy-pages { max-height: 72vh; overflow: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px; }
.sy-page { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.18); max-width: none; height: auto; }
.sy-linkcard, .sy-empty { text-align: center; padding: 30px 16px; }
.sy-loading { padding: 24px; text-align: center; color: var(--muted); }
@media (max-width: 760px) { .sy-link { flex-direction: column; } .sy-drop { padding: 26px 12px; } .sy-pages { max-height: 62vh; } }
