/* The round logo button — ONE copy, loaded by the app header (_components/_shell_header.html)
   and the public site's headers (a <link> in each page's head, preview_nav.html).
   Owner 2026-11-06: 44 px circle, --rs-surface-sunken fill, 1 px --rs-border, the cube 30 px high
   (the 17:24 SVG, aspect kept). Hover / keyboard focus on a link: darker fill and border, soft
   shadow. Tokens: runspec-tokens.css (--rs-logo-btn*, --rs-shadow-logo-btn). The app header's
   house icon and the /projects "plain" variant stay in _shell_header.html. -light.svg on the
   light theme, -dark.svg on dark; no data-theme counts as light, as theme-toggle.js reads it. */
.rs-shell__logo, .rs-logo-btn { flex: none; position: relative; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: var(--rs-logo-btn); height: var(--rs-logo-btn); line-height: 0; text-decoration: none; color: var(--rs-ink); border-radius: 50%; background: var(--rs-surface-sunken); border: 1px solid var(--rs-border); transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease; }
.rs-shell__logo--plain { cursor: default; }
.rs-shell__logo--home:hover, .rs-brand-home:hover .rs-logo-btn, .rs-brand-home:focus-visible .rs-logo-btn { background: var(--rs-logo-btn-hover-bg); border-color: var(--rs-logo-btn-hover-border); box-shadow: var(--rs-shadow-logo-btn); }
.rs-shell__logo-img, .rs-logo-btn__img { display: block; width: auto; height: var(--rs-logo-btn-img-h); }
.rs-shell__logo-img--dark, .rs-logo-btn__img--dark { display: none; }
[data-theme="dark"] .rs-shell__logo-img--light, [data-theme="dark"] .rs-logo-btn__img--light { display: none; }
[data-theme="dark"] .rs-shell__logo-img--dark, [data-theme="dark"] .rs-logo-btn__img--dark { display: block; }

/* Public site: the circle plus the wordmark, one link to Home (_components/_brand_home.html).
   The wordmark SVG (runspec-wordmark-light/-dark.svg, 642 x 208, the R cap = 72.8 units) is shown
   35 px high, which sets the cap at about 12.2 px, a 17 px Inter size; its 47 units of left padding
   (8 px) are pulled in, so the circle-to-R distance is the 10 px gap. */
.rs-brand-home { display: inline-flex; align-items: center; gap: 10px; flex: none; line-height: 0; text-decoration: none; border-radius: var(--rs-radius-pill); }
.rs-brand-home:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: 2px; }
.rs-brand-word { display: block; height: 35px; width: auto; margin-left: -8px; margin-right: -7px; }
.rs-brand-word--dark { display: none; }
[data-theme="dark"] .rs-brand-word--light { display: none; }
[data-theme="dark"] .rs-brand-word--dark { display: block; }
