/* aistudio: поверх ai.css (боковая панель) */
.st .ax-nav-a.active{background:var(--soft);font-weight:500}
.st .ax-nav-a.active svg{color:var(--blue)}
.st .ax-chats{flex:1}
.st-page{max-width:980px;margin:0 auto;padding:8px 32px 48px}
.st-page:focus{outline:none}
.st-h{font-family:var(--serif);font-weight:400;font-size:34px;line-height:1.15;margin:4px 0 6px}
.st-h2{font-family:var(--serif);font-weight:400;font-size:22px;margin:28px 0 12px}
.st-sub{color:var(--muted);margin:0 0 22px;max-width:640px}
.st-headrow{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.st-headrow .btn{flex-shrink:0;margin-top:8px}
.st-table{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.st-table table{border-collapse:collapse;width:100%;font-size:14px}
.st-table th,.st-table td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.st-table th{font-weight:500;font-size:12px;color:var(--muted);font-family:var(--mono)}
.st-table tr:last-child td{border-bottom:0}
.st-table .r{text-align:right}
.st-table .mono{font-family:var(--mono);font-size:13px}
.st-table tr.off{opacity:.5}
.st-mname{display:inline-flex;align-items:center;gap:10px;font-weight:500}
.st-mname .ai-ico{width:22px;height:22px;border-radius:50%}
.st-id{font-family:var(--mono);font-size:12.5px;color:var(--text);background:var(--soft);border:1px solid var(--line);border-radius:7px;padding:3px 8px;cursor:pointer}
.st-id:hover{border-color:var(--muted)}
.st-empty{padding:28px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center}
.st-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.st-tile{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.st-tile b{font-size:24px;font-weight:500;font-family:var(--mono);overflow:hidden;text-overflow:ellipsis}
.st-tile .link-btn{align-self:flex-start;font-size:13px}
.st-bad{color:var(--err)}
.link-btn.danger{color:var(--err)}
.st-secret{word-break:break-all;font-size:13px}
.st-doc{max-width:760px;font-size:15.5px}
.st-doc .md-code{margin-bottom:16px}
@media (max-width:860px){
  .st-page{padding:4px 16px 40px}
  .st-h{font-size:28px}
  .st-headrow{flex-direction:column;gap:0}
  .st-headrow .btn{margin:0 0 18px}
  .st-tiles{grid-template-columns:1fr}
}
