/* Study room page (src/pages/study.js) */
.st-group { margin-bottom: 22px; }
.st-gh { font-family: var(--display); font-size: 22px; margin: 0 0 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.st-gh .mut { font-family: var(--mono); font-size: 12px; font-weight: 400; }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-items: stretch; }
.st-card { box-shadow: var(--sh); }
.st-card .title { cursor: default; }
.st-card .body { gap: 10px; }
.st-name { display: flex; flex-direction: column; gap: 2px; }
.st-name b { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.st-name .mut { font-size: 12px; }
.st-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 6px; margin: 0; }
.st-stats div { border: var(--b); background: var(--field); padding: 5px 7px; }
.st-stats dt { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.st-stats dd { margin: 0; font-family: var(--display); font-size: 19px; line-height: 1.2; }
.st-line { margin: 0; font-size: 13px; flex: 1; }
.st-open { align-self: flex-start; }
.st-foot { font-size: 12px; }

/* a tool open full-page: a thin bar, then the tool filling the rest of the screen */
.st-tooling { display: flex; flex-direction: column; gap: 10px; }
.st-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-bar-t { font-family: var(--display); font-size: 20px; flex: 1; }
.st-bar-t .mut { font-family: var(--mono); font-size: 12px; font-weight: 400; }
.st-newtab { text-decoration: none; color: inherit; padding: 4px 10px; }
.st-frame { width: 100%; height: calc(100vh - 190px); min-height: 480px; border: var(--b); box-shadow: var(--sh); background: #0e0d0b; display: block; }
@media (max-width: 860px) { .st-frame { height: calc(100vh - 140px); } }
