/* Скриншоты портфеля в окне FairValue AI (static/js/ai_screens.js): скрепка у поля и карточка разбора в чате. */
.fvs-clip { flex:none; align-self:flex-end; width:40px; height:40px; border-radius:10px; border:1px solid var(--border);
    background:transparent; color:var(--text2); cursor:pointer; display:grid; place-items:center; padding:0;
    transition:color .15s, border-color .15s, background-color .15s; }
.fvs-clip:hover { color:var(--text); border-color:var(--border2); background:var(--bg3); }
.fvs-user .fvs-thumbs { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; margin-top:8px; }
.fvs-user .fvs-thumbs:empty { display:none; }
.fvs-user .fvs-thumbs img { height:72px; width:auto; border-radius:8px; border:1px solid rgba(255,255,255,.35); display:block; }
.fvs-card { white-space:normal; min-width:min(100%, 300px); }
.aip-msg.fvs-card { max-width:min(100%, 620px); }   /* на странице /ai/ ответ во всю ширину, карточке столько не нужно */
.fvs-card .fvs-stage { color:var(--text2); font-style:italic; }
.fvs-h { font-weight:600; font-size:15px; margin-bottom:4px; }
.fvs-sub { color:var(--text2); font-size:13px; line-height:1.5; margin-top:4px; }
.fvs-sub b { color:var(--text); font-weight:600; white-space:nowrap; }
.fvs-list { list-style:none; margin:10px 0 0; padding:0; }
.fvs-list li { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:10px; align-items:baseline;
    padding:6px 0; border-top:1px solid var(--border); font-size:13px; }
.fvs-list li:first-child { border-top:0; }
.fvs-list .n { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fvs-list .n small { margin-left:6px; color:var(--text2); font-size:11.5px; }
.fvs-list .q { color:var(--text2); white-space:nowrap; font-variant-numeric:tabular-nums; }
.fvs-list .v { white-space:nowrap; font-variant-numeric:tabular-nums; font-weight:500; text-align:right; }
.fvs-list li.bad .n, .fvs-list li.bad .v { color:var(--red); }
.fvs-list li.off .n, .fvs-list li.off .v { color:var(--text2); }
.fvs-bad { color:var(--red); font-size:13px; line-height:1.5; margin-top:8px; }
.fvs-q { font-weight:600; font-size:13.5px; margin-top:14px; }
.fvs-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.fvs-chip { padding:6px 12px; border-radius:999px; border:1px solid var(--border2); background:transparent; color:var(--text);
    font:inherit; font-size:13px; cursor:pointer; }
.fvs-chip:hover { border-color:var(--text2); }
.fvs-chip[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-soft); color:var(--accent2); font-weight:500; }
.fvs-act { display:flex; gap:8px 14px; align-items:center; flex-wrap:wrap; margin-top:12px; }
.fvs-act .btn:disabled { opacity:.45; cursor:not-allowed; }
.fvs-more { font-size:13px; color:var(--accent); }
.fvs-done { margin-top:12px; font-size:13.5px; line-height:1.5; }
.fvs-done a { color:var(--accent); font-weight:500; }
