.topbar{border-bottom-color:#1a9b91}
.brand-mark i{background:#1a9b91}
.brand-mark i:nth-child(2){background:#75cbbd}
.brand-mark i:nth-child(3){background:#337cba}
.meta-dot{background:#75cbbd}
.home-link{color:#c8d2df;text-decoration:none;white-space:nowrap}
.home-link:hover{color:#fff}
.group-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.group-button{min-height:42px;border:1px solid #dce7e4;border-radius:9px;background:#fff;color:#375054;font-weight:700;font-size:.86rem;display:flex;align-items:center;justify-content:space-between;padding:8px 11px}
.group-button:hover{background:#effaf7;border-color:#80c8bb}
.group-button.active{background:#0d675f;border-color:#0d675f;color:#fff}
.group-button .mini-count{font-size:.71rem;opacity:.7}
.group-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.group-actions button{min-height:34px;padding:6px;border:1px solid #cfe2dc;border-radius:8px;background:#f6fbf9;color:#176e66;font-size:.73rem;font-weight:700}
.group-actions button:hover{background:#e8f6f1;border-color:#83c8b9}
.group-actions #onlyGroup{grid-column:1/-1;background:#e3f4ee}
.page-heading-secondary{margin-top:22px}
.section-actions{flex-wrap:wrap}
.case-card{display:flex;flex-direction:column}
.case-card.selected{border-color:#b8ddd4;background:#fbfefd}
.case-card-inner{position:relative;height:auto;flex:1;padding-bottom:8px}
.case-card:not(.selected) img{opacity:.82;filter:grayscale(.18)}
.selection-mark{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:26px;height:26px;border:1px solid #b4c9c3;border-radius:8px;background:#fff;color:#2b746b;font-size:1rem;font-weight:800}
.case-card.selected .selection-mark{background:#1a9b91;border-color:#1a9b91;color:#fff}
.case-view-button{border:0;border-top:1px solid #e4efeb;background:transparent;color:#16796e;font-size:.76rem;font-weight:700;padding:8px;min-height:33px}
.case-view-button:hover{background:#edf8f4}
.case-card.current{border-color:#1a9b91;box-shadow:0 0 0 3px #d8f3ed}
.check-wrap input:checked{background:#1a9b91;border-color:#1a9b91}
.count-pill{background:#e9f8f3;color:#167c72}
.page-button.active,.next-button{background:#0d675f;border-color:#0d675f}
.next-button:hover{background:#168078}
.formula-kicker.primary{color:#137d72}
.trainer-cube img{width:190px;height:190px;max-width:100%;max-height:100%;object-fit:contain;image-rendering:auto}
.mode-switch{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:680px){.top-meta{gap:7px}.top-meta .meta-dot,.top-meta span:last-child{display:none}.workspace{display:flex;flex-direction:column}.library{order:1}.trainer{order:2}.case-section{order:3}.side-actions{flex-wrap:wrap}.side-actions a{text-decoration:none}.group-list{display:flex;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin}.group-button{flex:0 0 75px;justify-content:center}.group-button .mini-count{display:none}.group-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.group-actions #onlyGroup{grid-column:auto}.page-heading-secondary{margin-top:15px}.case-card-inner{padding-bottom:6px}.selection-mark{width:25px;height:25px}.case-view-button{min-height:34px}.mode-button{font-size:.76rem;padding-inline:2px}}
