/* Cliora 5.1.6 — loaded after ui-506.css.
   The release's own corrections to the 2.0 shell. */

/* ========================================================================
   1. No focus frame around the left menu.
   assets/ui/ui-2.css draws a 2px purple outline on every focusable element, the
   sidebar's nav buttons included. On the menu it reads as a frame that
   appears for no reason the operator can see: it is left behind whenever
   focus returns to the button programmatically — after a dialog closes,
   after a page swap — and it then sits there until the next click.
   Keyboard users still need to know where they are, so the ring is not
   simply removed: it is replaced by the same tint the item gets under the
   mouse, which says the same thing without drawing a frame.
   ======================================================================== */

.cliora20 #mainSidebar .nav-item:focus,
.cliora20 #mainSidebar .nav-item:focus-visible {
    outline: none;
    background: var(--ui-hover);
    color: var(--text-main);
}
.cliora20 #mainSidebar .nav-item.active:focus,
.cliora20 #mainSidebar .nav-item.active:focus-visible {
    background: var(--ui-soft);
    color: var(--ui-accent);
}

/* ========================================================================
   2. The previous-versions dialog.
   Three rows at most, each a radio with the time it was saved. The rows are
   wide targets rather than bare radios, because the choice decides which
   state of the content comes back.
   ======================================================================== */

.cliora20 .team-versions { display: flex; flex-direction: column; gap: 6px; }
.cliora20 .team-version {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 12px; border: 1px solid var(--border-color);
    border-radius: 10px; cursor: pointer; font-size: 13px;
}
.cliora20 .team-version:hover { background: var(--ui-hover); }
.cliora20 .team-version:has(input:checked) { border-color: var(--ui-accent); background: var(--ui-soft); }
.cliora20 .team-version input { accent-color: var(--ui-accent); margin: 0; }
.cliora20 .team-version-when { font-weight: 600; color: var(--text-main); }
.cliora20 .team-version .team-muted { font-size: 12px; }
.cliora20 .team-version .team-muted:last-child { margin-left: auto; }

/* ========================================================================
   3. A link, ami gombnak látszik, ne legyen aláhúzva.
   A médiaátalakító gombjai <a> elemek — oda vezetnek, nem itt csinálnak
   valamit —, de a szomszédaik <button>-ök. Aláhúzás nélkül egyformák.
   ======================================================================== */

.cliora20 a.btn-primary, .cliora20 a.btn-action { text-decoration: none; }
