/* PEBBLE-P4-VOICE-BIDIRECTIONAL-LEARNING-2026-05-20 — "Why I did this" tooltip.
   Brand-token-only — every color references --gl-brand* / --gl-* family. */

.pebble-why-tip {
    position: absolute;
    z-index: 4;
    max-width: 320px;
    padding: 8px 12px;
    border-radius: var(--gl-radius);
    font-family: var(--gl-font);
    font-size: 12px;
    line-height: 1.45;
    background: var(--gl-brand-strong);
    color: var(--gl-surface);
    box-shadow: var(--gl-shadow);
    pointer-events: none;
}

.pebble-why-tip[hidden] {
    display: none;
}

.pebble-why-tip--green {
    background: var(--gl-done);
    color: var(--gl-surface);
}

.pebble-why-tip--amber {
    background: var(--gl-gated);
    color: var(--gl-surface);
}

.pebble-why-tip--red {
    background: var(--gl-stuck);
    color: var(--gl-surface);
}

/* Always-on inline micro-rationale beneath amber/red row subjects. */
.pebble-why-inline {
    font-family: var(--gl-font);
    font-size: 12px;
    line-height: 1.4;
    margin: 4px 0 2px;
    padding-left: 10px;
    border-left: 2px solid var(--gl-brand);
    color: var(--gl-text-2);
}

.pebble-why-inline--amber {
    border-left-color: var(--gl-gated);
    color: var(--gl-gated);
}

.pebble-why-inline--red {
    border-left-color: var(--gl-stuck);
    color: var(--gl-stuck);
}
