/* activity.css - the Activity and Logs pages (owner, 18 Nov 2026; owner_activity.py). Its own file: owner.css is
   the panel's; this one only adds. Fixed classes only - our CSP has no inline styles. */
.act-head { justify-content: space-between; align-items: center; }
.act-period, .act-filter { align-items: center; }
.act-period .input, .act-filter .input { width: auto; padding: 8px 10px; font-size: 14px; }
.act-filter input[type="search"].input { min-width: 240px; }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg-b { padding: 8px 12px; font-size: 14px; color: var(--g300); text-decoration: none; border-right: 1px solid var(--line2); }
.seg-b:last-child { border-right: 0; }
.seg-b:hover { background: rgba(107, 59, 133, 0.15); color: #fff; }
.seg-b.on { background: var(--p); color: #fff; }
.t th.num, .t td.num { text-align: right; }
.t .nowrap { white-space: nowrap; }
.t th.w50 { width: 50%; }
.hbar { height: 8px; background: rgba(255, 255, 255, 0.08); margin: 6px 0 4px; }
.hbar i { display: block; height: 100%; background: var(--p400); width: 0; }
/* no inline styles (our CSP: style-src 'self'): bar widths in 5 % steps, the heat of a share in 10 steps */
.hbar i.bw5 { width: 5%; }
.hbar i.bw10 { width: 10%; }
.hbar i.bw15 { width: 15%; }
.hbar i.bw20 { width: 20%; }
.hbar i.bw25 { width: 25%; }
.hbar i.bw30 { width: 30%; }
.hbar i.bw35 { width: 35%; }
.hbar i.bw40 { width: 40%; }
.hbar i.bw45 { width: 45%; }
.hbar i.bw50 { width: 50%; }
.hbar i.bw55 { width: 55%; }
.hbar i.bw60 { width: 60%; }
.hbar i.bw65 { width: 65%; }
.hbar i.bw70 { width: 70%; }
.hbar i.bw75 { width: 75%; }
.hbar i.bw80 { width: 80%; }
.hbar i.bw85 { width: 85%; }
.hbar i.bw90 { width: 90%; }
.hbar i.bw95 { width: 95%; }
.hbar i.bw100 { width: 100%; }
.t td.heat.hh1 { background: rgba(177, 143, 207, 0.045); }
.t td.heat.hh2 { background: rgba(177, 143, 207, 0.09); }
.t td.heat.hh3 { background: rgba(177, 143, 207, 0.135); }
.t td.heat.hh4 { background: rgba(177, 143, 207, 0.18); }
.t td.heat.hh5 { background: rgba(177, 143, 207, 0.225); }
.t td.heat.hh6 { background: rgba(177, 143, 207, 0.27); }
.t td.heat.hh7 { background: rgba(177, 143, 207, 0.315); }
.t td.heat.hh8 { background: rgba(177, 143, 207, 0.36); }
.t td.heat.hh9 { background: rgba(177, 143, 207, 0.405); }
.t td.heat.hh10 { background: rgba(177, 143, 207, 0.45); }
.t tr.act-bad td { background: rgba(248, 113, 113, 0.06); }
.logt td.msg { white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 13px; color: var(--g300); }
.logt tr.lv-problem td.msg { color: var(--red200); }
.logt tr.lv-warning td.msg { color: var(--amber200); }
.logt tr.lv-counters td, .logt tr.lv-ok td.msg { color: var(--g400); }
/* What a box sends us (19 Nov 2026): the Logs page's folding parts */
details { border-top: 1px solid var(--line2); padding-top: 8px; }
details > summary { cursor: pointer; padding: 6px 0; color: #fff; }
details[open] > summary { margin-bottom: 8px; }
/* The log guide (19 Nov 2026): a folded panel on the Logs page; each line's meaning beside it in the reader */
.gv { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border: 1px solid; white-space: nowrap; }
.gv-ok { color: #4ade80; border-color: rgba(74, 222, 128, 0.4); }
.gv-look { color: #fb923c; border-color: rgba(251, 146, 60, 0.4); }
.gv-bad { color: #f87171; border-color: rgba(248, 113, 113, 0.5); }
.guide > summary { font-size: 16px; }
.guide-body { margin-top: 12px; }
.guide-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--g300); }
.guide-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-jump .seg-b { border: 1px solid var(--line); }
.guide-part { scroll-margin-top: 16px; }
.guide-part > summary { font-size: 15px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; }
.guide-card { border: 1px solid var(--line2); border-left-width: 3px; padding: 12px 14px; background: rgba(10, 10, 10, 0.4); }
.guide-card.gc-ok { border-left-color: #4ade80; }
.guide-card.gc-look { border-left-color: #fb923c; }
.guide-card.gc-bad { border-left-color: #f87171; }
.guide-card p { margin: 6px 0 0; font-size: 14px; }
.guide-ex { margin-top: 8px; padding: 6px 8px; background: rgba(255, 255, 255, 0.04); color: var(--g300); word-break: break-word; }
.logt td.means { min-width: 260px; max-width: 420px; }
.logt td.means .xs { margin-top: 4px; }
/* Client settings (19 Nov 2026): the last change as steps - sent, applied on the box, confirmed by its report */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.steps .step { position: relative; padding-left: 26px; font-size: 14px; color: var(--g400); }
.steps .step::before { content: ""; position: absolute; left: 4px; top: 5px; width: 10px; height: 10px; border: 1px solid var(--g400); border-radius: 50%; }
.steps .step.done { color: var(--g300); }
.steps .step.done::before { background: #4ade80; border-color: #4ade80; }
.steps .step.now { color: #fb923c; }
.steps .step.now::before { border-color: #fb923c; background: rgba(251, 146, 60, 0.35); }
.steps .step.bad { color: #f87171; }
.steps .step.bad::before { background: #f87171; border-color: #f87171; }
.how { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.set-form { margin-top: 10px; }
/* Client settings, "Change any other setting" (20 Nov 2026): the chosen setting's card */
.set-card { border: 1px solid var(--line2); border-left: 3px solid #a78bfa; padding: 12px 14px; background: rgba(10, 10, 10, 0.4); }
.set-card p { margin: 0; font-size: 14px; }
.set-values { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--g300); }
.set-level { margin: 0; font-size: 13px; color: #fb923c; }
