/* Theme control (System / Light / Dark): sits at the end of the site nav, borrows each page's own tokens. */
.theme-seg{display:inline-flex;margin-left:auto;border:1px solid var(--line-strong,var(--ro-line-strong));}
.theme-seg button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:34px;padding:0;margin:0;background:transparent;color:var(--ink-2,var(--ro-ink-2));border:0;border-radius:0;cursor:pointer;font:inherit;}
.theme-seg button+button{border-left:1px solid var(--line-strong,var(--ro-line-strong));}
.theme-seg button:hover{color:var(--ink,var(--ro-ink));}
.theme-seg button[aria-pressed="true"]{background:var(--ink,var(--ro-ink));color:var(--ground,var(--ro-ground));}
.theme-seg button:focus-visible{outline:2px solid var(--signal,var(--ro-signal));outline-offset:2px;}
@media print{.theme-seg{display:none}}
