/* block-val additions to the hwpanel page (the colour tokens, light and dark, are in the panel's base.css) */

/* the top bar's Changelog button (Andrew 10-20): sits right, beside the signed-in user */
.clog { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--border);
        border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .8rem; white-space: nowrap; }
.clog:hover { background: var(--surface-2); color: var(--ink); }
.clog.on { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.clog .ver { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.clog.new .ver { color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 0 6px; }
.clog + .who { margin-left: 12px; }
@media (max-width: 640px) {     /* a phone: the nav scrolls; the user's name (cut to "block…" anyway) makes room */
  .clog { padding: 3px 8px; flex: none; } .clog .ver { display: none; }
  .clog.new::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
  .clog + .who { display: none; }
}

/* the changelog page */
.clog-page { max-width: 1100px; }
.clog-page h2.sec { margin-top: 4px; }
.clog-tabs { margin-bottom: 8px; }
.clog-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: middle; }
.clog-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; }
.clog-tools input[type=search] { flex: 1 1 220px; max-width: 380px; min-width: 0; }
details.clog-ver { padding: 0; margin-bottom: 8px; }
details.clog-ver > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 14px; }
details.clog-ver > summary::-webkit-details-marker { display: none; }
details.clog-ver > summary::before { content: "\25B8"; color: var(--muted); width: .8em; flex: none; }
details.clog-ver[open] > summary::before { content: "\25BE"; }
.clog-v { font-weight: 700; font-family: var(--mono); }
.clog-d { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.clog-new { font-size: .72rem; font-weight: 600; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 0 7px; }
.clog-s { flex: 1 1 260px; min-width: 0; color: var(--ink-2); font-size: .9rem; }
details.clog-ver[open] .clog-s { display: none; }
.clog-body { border-top: 1px solid var(--border); padding: 4px 16px 12px 14px; overflow-wrap: anywhere; font-size: .93rem; }
.clog-body ul, .clog-body ol { margin: .5em 0; padding-left: 1.3em; }
.clog-body li { margin: .4em 0; }
.clog-body li > ul, .clog-body li > ol { margin: .3em 0; }
.clog-body p { margin: .5em 0; }
.clog-body code { font-family: var(--mono); font-size: .85em; background: var(--surface-2); padding: 0 .3em; border-radius: 4px; }
.clog-page mark { background: var(--warning-wash); color: inherit; border-radius: 2px; box-shadow: 0 0 0 1px var(--warning); }
.clog-intro p { margin: 0 0 8px; }
.clog-about { margin: 12px 0 8px; max-width: 72em; font-size: .92rem; color: var(--ink-2); }

/* email fields (Andrew 11-02), styled like the panel's text inputs (its rule doesn't list type=email); the Users tab's
   column is an address you edit in place (saved when the field is left) */
input[type=email] { background: var(--surface); border: 1px solid var(--base); border-radius: 6px; padding: 6px 9px; min-width: 0; }
.t input.user-email { width: 100%; min-width: 13em; padding: 2px 6px; font-size: .85rem; }
