/* The website's toolbar, on every public page: as in the review (.tools in share.css). */
:root { --sb-panel: #fff; --sb-hover: #f4f4f5; --sb-shadow: 0 14px 40px -14px #0004; }
@media (prefers-color-scheme: dark) { :root { --sb-panel: #27272a; --sb-hover: #3f3f46; --sb-shadow: 0 14px 40px -14px #000a; } }
.hasBar main { padding-bottom: 96px; }
.sBar { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--sb-panel); color: var(--ink); box-shadow: var(--sb-shadow); font: 500 14px/20px ui-sans-serif, system-ui, -apple-system, sans-serif; white-space: nowrap; }
.sBar a { color: inherit; text-decoration: none; }
.sBar svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sbTool { display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; min-width: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; transition: background .12s; }
.sbTool:hover, .sbTool.open, .sbTool.on { background: var(--sb-hover); }
.sbLogo { padding: 0 4px; }
.sbLogo img { display: block; width: 24px; height: 24px; }
.sbPick { position: relative; }
.sbPick .sbTool { font-weight: 600; }
.sbPick .sbTool svg { width: 14px; height: 14px; color: var(--ink-2); }
.sbCta { display: flex; align-items: center; height: 32px; margin-left: 4px; padding: 0 12px; border-radius: 8px; background: #4f46e5; color: #fff !important; font-weight: 600; transition: background .12s; }
.sbCta:hover { background: #4338ca; }
.sBar :focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sbMenu { position: absolute; left: 0; bottom: calc(100% + 10px); min-width: 180px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--sb-panel); box-shadow: var(--sb-shadow); }
.sbMenu[hidden] { display: none; }
.sbMenu a { display: block; padding: 6px 10px; border-radius: 8px; }
.sbMenu a:hover, .sbMenu a:focus-visible { background: var(--sb-hover); }
.sbMenu a[aria-current] { font-weight: 600; color: var(--accent); }
@media (max-width: 400px) { .sbCta { padding: 0 10px; } .sbLogo { padding: 0 2px; } }
