/* ANALYSER - only what the LOS style sheet (los.css) does not already have. Colours and parts come from the LOS. */
.an-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: stretch; }
.an-tile { display: flex; flex-direction: column; transition: box-shadow .12s, opacity .12s; }
.an-tile.an-on { box-shadow: 0 0 0 1.5px var(--fg); }
.an-tile.an-off { opacity: .55; }
.an-head { cursor: pointer; align-items: center; gap: 10px; }
.an-head input { width: 17px; height: 17px; accent-color: var(--go, var(--accent)); flex: none; }
.an-body { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; }
.an-drop { padding: 12px; }
.an-drop strong { display: block; font-size: 13.5px; }
.an-files .qitem { padding: 5px 0; font-size: 12.5px; }
.an-fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-runbar { padding: 12px 14px; }
.an-name { max-width: 420px; }
.an-name input { width: 100%; }
.an-row { cursor: pointer; }
.an-row:hover td { background: var(--hover); }
.an-head-card h1 { font-size: 18px; }
.an-res { border-top: 3px solid color-mix(in srgb, var(--fg) 60%, var(--line)); }
.an-kpis { margin: 12px 0 4px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.an-kpis .kpi { padding: 10px 12px; }
.an-v { font-size: 18px !important; }
.an-sum { margin-top: 10px; line-height: 1.55; color: var(--ink-2); }
.an-sec { margin-top: 12px; }
.an-sec h2 { margin-bottom: 6px; }
.an-ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.an-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.an-facts div { display: grid; } .an-facts span { font-size: 12px; color: var(--muted); } .an-facts strong { font-weight: 600; }
.an-tbl { overflow: auto; max-height: 380px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 4px 0 8px; }
.an-tbl table.t th { position: sticky; top: 0; background: var(--surface-2); }
.an-tbl table.t td, .an-tbl table.t th { white-space: nowrap; padding: 6px 10px; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.an-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 99; }
@media (max-width: 760px) { .an-name { max-width: none; flex-basis: 100%; } }
/* own badge colour so the ANALYSER is told apart from the LOS at a glance (indigo vs the LOS orange) */
.mark { background: #4f46e5; box-shadow: 0 0 18px rgba(79, 70, 229, .35); }
