/* Floating section quick-nav of the /blanki hub: a card pinned to the left
   side of the centered content (max-w-6xl, 1152px) on wide screens.
   The active label follows the scroll (scrollspy in blanki-hub-nav.js);
   clicking a label scrolls to the section. */
.blanki-rail {
    position: fixed;
    top: 50%;
    /* Content's left edge minus the bar (132px) and a 12px gap: 576 + 132 + 12. */
    left: calc(50% - 720px);
    z-index: 30;
    display: none;
    flex-direction: column;
    gap: 2px;
    width: 132px;
    padding: 10px 8px;
    border: 1px solid #dde3ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.25);
    transform: translateY(-50%);
}
@media (min-width: 1440px) {
    .blanki-rail { display: flex; }
}
.blanki-rail button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 6px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.blanki-rail button::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.blanki-rail button:hover { color: #1a53c6; background: #f1f5fc; }
.blanki-rail button.is-active { color: #1a53c6; }
.blanki-rail button.is-active::before { background: #2266ef; transform: scale(1.35); }
.blanki-rail button:focus-visible { outline: 2px solid #2266ef; outline-offset: 2px; }
/* The jump target stops below the sticky navbar (64/72 px). */
.blanki-rail-target { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: reduce) {
    .blanki-rail button,
    .blanki-rail button::before { transition: none; }
}
