/* Shape and text remain readable independently of a discipline's colour. */
.subject-symbol{display:block;flex:none;width:64px;height:64px;object-fit:contain;background:#fff;border:1px solid #748079;border-radius:12px;padding:3px;mix-blend-mode:normal;opacity:1}
.main .home-subject-grid a.home-subject-title{gap:12px;justify-content:flex-start;text-align:left;min-height:87px}
.home-subject-title>span{flex:1;min-width:0;text-align:center}
.home-subject-card{min-height:177px}
.home-subject-title>.subject-symbol{width:62px;height:62px}
.subject-hero>.subject-symbol{width:94px;height:94px;border-radius:16px}
.subject-hero>div{min-width:0;flex:1}
.card-top>.subject-symbol{width:70px;height:70px;margin-bottom:10px}
.discipline-trail{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.discipline-landmark{display:inline-flex;align-items:center;gap:12px;color:#263f35;font:700 18px/1.35 Glacial,Arial,sans-serif}
.discipline-landmark>.subject-symbol{width:50px;height:50px;border-radius:10px}
.breadcrumb{display:flex;align-items:center;gap:10px;min-width:0}
.breadcrumb>.subject-symbol{width:38px;height:38px;border-radius:8px;padding:2px}
.subject-label{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.subject-label>.subject-symbol{width:40px;height:40px;border-radius:8px;padding:2px}
.study-programme>summary>.subject-symbol{display:inline-block;width:44px;height:44px;vertical-align:middle;margin:0 12px 0 0;border-radius:9px}
.study-programme>summary>span{vertical-align:middle}
.study-session-head>.subject-symbol{margin:0 auto 14px}
.revision-subject>.subject-symbol{width:72px;height:72px;margin:0 auto 14px}
.activity-lead>.subject-symbol{float:right;width:78px;height:78px;margin:0 0 14px 20px}
.flash-paper>.subject-symbol{width:54px;height:54px;margin:0 auto 14px}
.memory-card>.subject-symbol{width:72px;height:72px;margin:0 0 10px}
.question-card .actions>.subject-symbol{width:38px;height:38px;border-radius:8px;padding:2px}
.board-mini>.subject-symbol{position:absolute;right:10px;bottom:10px;width:54px;height:54px;border-radius:9px}
.board-title{display:flex;align-items:center;justify-content:center;gap:12px}
.board-title>.subject-symbol{width:40px;height:40px;border-radius:8px;padding:2px}
.main a.advice-subject-link{display:flex;gap:12px;align-items:center;justify-content:center}
.advice-subject-link>.subject-symbol{width:50px;height:50px;border-radius:10px}
.lab-diagram-grid a>.subject-symbol{width:40px;height:40px}
.lab-diagram-grid .subject-label>.subject-symbol{width:40px;height:40px;object-fit:contain}
@media(max-width:1100px) and (min-width:701px){.home-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.home-subject-title>.subject-symbol{width:52px;height:52px}.main .home-subject-grid a.home-subject-title{font-size:21px;gap:9px}.subject-hero>.subject-symbol{width:68px;height:68px}.activity-lead>.subject-symbol{width:62px;height:62px;margin-left:12px}}
@media(max-width:620px){.home-subject-grid{grid-template-columns:1fr}.home-subject-card{min-height:156px}.main .home-subject-grid a.home-subject-title{font-size:25px;min-height:73px}.home-subject-title>.subject-symbol{width:60px;height:60px}.discipline-landmark{font-size:17px}.subject-hero{gap:12px}.subject-hero h1{font-size:27px}.breadcrumb>.subject-symbol{width:32px;height:32px}.breadcrumb{gap:7px}.breadcrumb b{max-width:41vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media print{.subject-symbol{print-color-adjust:exact;-webkit-print-color-adjust:exact}.discipline-trail{margin-bottom:15px}.discipline-landmark{color:#000}.discipline-landmark>.subject-symbol{width:42px;height:42px}}

.video-subject-labels{display:flex;flex-wrap:wrap;gap:10px;padding:15px 20px;border-bottom:1px solid var(--subject-border);background:#fff;color:#263f35;font:700 14px/1.3 Arial,sans-serif}
#profile-subjects label>.subject-symbol{width:38px;height:38px;border-radius:8px;padding:2px}
