/* Dense but touch-friendly study list; the viewed study and native session are distinct. */
.study-history-item{grid-template-columns:minmax(0,1fr) 40px;gap:2px}
.study-history-open{gap:5px 6px;padding:10px 6px!important;align-content:start}
.study-history-open .study-flight-date{grid-column:1/-1;color:#4b6273;font-size:12px;white-space:normal}
.study-history-open .study-view-state{font-size:10px;align-self:center;color:#526876}
.study-history-item.live .study-view-state{color:#007567}
.study-history-open small:empty,.study-view-state:empty{display:none}
.study-history-open .study-statuses{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px;white-space:normal;margin-top:2px}
.study-statuses .study-status{font-size:10px;line-height:1.4;padding:2px 5px;border-radius:4px;background:#eaf0f4;color:#4d6474;white-space:normal;text-align:left}
.study-statuses .study-status-ok{background:#e5f2ec;color:#12664d}
.study-statuses .study-status-warn{background:#fff2de;color:#8d590d}
.study-statuses .study-status-error{background:#fce9e6;color:#a52a20}
.study-statuses .study-status-busy{background:#e5effc;color:#235f9d}
.study-history-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.study-history-actions button{width:40px;height:40px;min-height:40px;padding:10px!important;border-radius:7px;background:transparent!important;color:#667e8d!important}
.study-history-actions button:hover:not(:disabled){background:#e7eef4!important}
.study-history-actions button:disabled{opacity:.35;visibility:visible}
.study-history-actions .study-history-delete:hover:not(:disabled){color:#b13b2e!important;background:#fff0ee!important}
.study-history-actions svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.study-history-open:focus-visible,.study-history-actions button:focus-visible{outline:2px solid #1674cd;outline-offset:1px}
@media(pointer:coarse){.study-history-item{grid-template-columns:minmax(0,1fr) 44px}.study-history-actions button{width:44px;height:44px;min-height:44px}}
