.portal-field-help-label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

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

button.portal-field-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 5px;
    margin: 0;
    border: 1px solid #c8d7e8;
    border-radius: 4px;
    background: #fff;
    color: #31587c;
    box-shadow: none;
    cursor: pointer;
}

.portal-field-help-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal-field-help-button:hover,
.portal-field-help-button[aria-expanded="true"] { background: #edf3f8; }

.portal-field-help-button:focus-visible { outline: 2px solid #31587c; outline-offset: 2px; }

.portal-field-help-tip {
    position: fixed;
    z-index: 120;
    box-sizing: border-box;
    width: 360px;
    padding: 12px 14px;
    border: 1px solid #a8bacb;
    border-radius: 6px;
    background: #fff;
    color: #172b40;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
    font: 14px/1.5 Arial, sans-serif;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    overflow-y: auto;
}

.portal-field-help-tip[hidden] { display: none !important; }
.portal-field-help-tip strong { display: block; margin-bottom: 5px; }
.portal-field-help-tip p { margin: 0; }
.portal-field-help-tip .portal-field-help-example { margin-top: 8px; color: #455c70; }
