.app-tooltip {
    max-width: min(280px, calc(100vw - 16px));
    padding: 7px 10px;
    position: fixed;
    z-index: calc(var(--z-popover) + 1);
    color: var(--color-text);
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.25;
    overflow-wrap: anywhere;
    pointer-events: none;
}

.app-tooltip[hidden] {
    display: none;
}

.field-label-with-help {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.field .field-label-with-help > label {
    margin: 0;
}

.field-help-trigger {
    width: 18px;
    height: 18px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    border-radius: 50%;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
}

.field-help-trigger:hover {
    color: var(--color-interactive);
    border-color: var(--color-interactive);
}

.field-help-trigger:focus-visible {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 2px;
}
