/* Shared pickup-location preview (Setup Wizard + Settings).
   The preview reuses the real board's .board-tile/.board-tag/.board-spot
   classes, but never its queue, capacity, alerts or interactions. Page
   placement (which column, how it stacks) stays in each page's own CSS. */

.app-theme .pickup-preview {
    margin: 0 0 28px;
    padding: 14px;
    background: var(--app-surface, rgba(30, 49, 67, .44));
    border: 1px solid var(--app-border, rgba(255, 255, 255, .22));
    border-radius: 10px;
    pointer-events: none;
    user-select: none;
}

.app-theme .pickup-preview .board-tile {
    min-height: 46px;
    aspect-ratio: auto;
    padding: 6px 7px;
    /* Matches the live board tile's 12px radius. The shared .board-spot
       badge keeps its 12px outer corner, so the two curves coincide and the
       badge never exposes a wedge of tile background. */
    border-radius: 12px;
    gap: 3px;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--app-bg, #0B1F33) 30%, transparent);
}

.app-theme .pickup-preview .board-tag {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.05;
}

.app-theme .pickup-preview .board-spot {
    margin: 0;
    padding: 2px 5px;
    font-size: 10px;
}

.app-theme .pickup-preview-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.app-theme .pickup-preview-title {
    color: var(--app-ink, #fff);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.app-theme .pickup-preview-example {
    color: color-mix(in srgb, var(--app-ink-soft, #D4E3E9) 62%, transparent);
    font-size: 11px;
    font-weight: 600;
}

.app-theme .pickup-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.app-theme .pickup-preview-lane + .pickup-preview-lane {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--app-border, rgba(255, 255, 255, .22));
}

.app-theme .pickup-preview-lane-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: var(--app-ink-soft, #D4E3E9);
    font-size: 11px;
    font-weight: 700;
}

.app-theme .pickup-preview-lane-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--app-accent, #D4AF37);
}

/* Lane A reads as the soft outline chip, Lane B as the solid accent chip.
   Both derive from the active school accent, so the preview's lane language
   follows a palette change instead of holding the Classic blue/amber pair. */
.app-theme .pickup-preview-lane-dot.lane-chip-a {
    background: var(--app-accent-soft, rgba(141, 185, 243, .45));
    box-shadow: inset 0 0 0 1px var(--app-accent, #D4AF37);
}

.app-theme .pickup-preview-lane-dot.lane-chip-b {
    background: var(--app-accent, #E8A33D);
    box-shadow: none;
}

.app-theme .pickup-preview-hint,
.app-theme .pickup-preview-empty {
    margin: 10px 0 0;
    color: color-mix(in srgb, var(--app-ink-soft, #D4E3E9) 62%, transparent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

/* Attention pulse for the "locations are hidden" hint. When the visibility
   switch is off, label-style changes cannot alter the preview; this gold
   wash points the eye at the explanation instead of leaving the click silent.
   The outline/background fade without changing layout, and the page removes
   the class on animationend so the next interaction can replay it. */
.app-theme .pickup-preview-hint.pickup-preview-hint-pulse {
    border-radius: 4px;
    outline: 2px solid transparent;
    outline-offset: 4px;
    animation: pickup-preview-hint-pulse .9s ease-out;
}

@keyframes pickup-preview-hint-pulse {
    0% {
        color: var(--app-accent, #FFE08A);
        background: var(--app-accent-soft, rgba(242, 212, 107, .16));
        outline-color: var(--app-accent, #D4AF37);
    }
    100% {
        color: color-mix(in srgb, var(--app-ink-soft, #D4E3E9) 62%, transparent);
        background: transparent;
        outline-color: color-mix(in srgb, var(--app-accent, #D4AF37) 0%, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-theme .pickup-preview-hint.pickup-preview-hint-pulse {
        animation: none;
        color: var(--app-accent, #FFE08A);
        background: var(--app-accent-soft, rgba(242, 212, 107, .16));
        outline-color: var(--app-accent, #D4AF37);
    }
}
