.nl-feedback-bar {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 11000;
    overflow: hidden;
    pointer-events: none;
    background: rgba(118, 100, 217, .16);
}
.nl-feedback-bar::after {
    content: "";
    display: block;
    width: 35%;
    height: 100%;
    background: var(--sh-primary, #7664d9);
    animation: nl-feedback-travel 1.4s ease-in-out infinite;
}
.nl-feedback-notice {
    position: fixed;
    inset-inline: 12px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 10900;
    box-sizing: border-box;
    width: max-content;
    max-width: min(440px, calc(100% - 24px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 16px;
    border: 1px solid var(--sh-border, #e8edf4);
    border-radius: 14px;
    background: var(--sh-card, #fff);
    color: var(--sh-ink, #1e293b);
    box-shadow: 0 6px 24px rgba(30, 41, 59, .14);
    font: inherit;
    font-size: 14px;
    line-height: 1.6;
}
html[data-theme="dark"] .nl-feedback-notice {
    background: var(--sh-card, #24213b);
    color: var(--sh-ink, #f1eefb);
    border-color: var(--sh-border, #494360);
}
.nl-feedback-notice button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 24px;
    cursor: pointer;
}
.nl-feedback-notice button:focus-visible { outline: 2px solid #9986ed; }
.nl-feedback-busy { cursor: progress !important; }
.nl-feedback-control { position: relative !important; }
.nl-feedback-control::after {
    content: "";
    position: absolute;
    inset-inline-end: 3px;
    top: 3px;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    animation: nl-feedback-spin .8s linear infinite;
}
.nl-feedback-bar[hidden], .nl-feedback-notice[hidden] { display: none !important; }
@keyframes nl-feedback-travel { from { transform: translateX(-100%); } to { transform: translateX(390%); } }
@keyframes nl-feedback-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .nl-feedback-bar::after { animation: none; width: 100%; }
    .nl-feedback-control::after { animation: none; }
}
@media print { .nl-feedback-bar, .nl-feedback-notice { display: none !important; } }
