html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

mark.search-highlight {
    background-color: #ffeb3b;
    color: #000;
    padding: 0;
    border-radius: 2px;
}

/*********************** PMentionTextBox (contenteditable) ********************/

/* Outer wrapper: position:relative so the popup can escape k-input's overflow:hidden */
.p-mention-host {
    position: relative;
    display: block;
}

/* Mention suggestion popup — position:fixed so no ancestor overflow:hidden can clip it */
.p-mention-popup {
    position: fixed;
    z-index: 9999;
    min-width: 100%;
    background: var(--kendo-component-bg, #fff);
    border: 1px solid var(--kendo-color-border, #dee2e6);
    border-radius: var(--kendo-border-radius-md, 4px);
    box-shadow: var(--kendo-elevation-4, 0 4px 16px rgba(0, 0, 0, 0.12));
    padding: 4px 0;
}

.p-mention-popup .k-list {
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Inner contenteditable div – shared base */
.p-ce-inner {
    outline: none;
    cursor: text;
    white-space: pre-wrap;
    word-break: break-word;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-user-modify: read-write-plaintext-only;
}

/* Single-line: clip overflow, prevent wrapping */
.p-ce-singleline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Match the default k-input height (prevent growing taller than one line) */
    display: block;
    line-height: var(--kendo-input-line-height, 1.4286);
}

/* Multi-line: allow growing, handle scroll */
.p-ce-multiline {
    overflow-y: auto;
    display: block;
    line-height: var(--kendo-textarea-line-height, 1.4286);
}

/* Placeholder via data-placeholder attribute */
.p-ce-inner:empty::before {
    content: attr(data-placeholder);
    color: var(--kendo-input-placeholder-text, rgba(0, 0, 0, 0.3));
    pointer-events: none;
    user-select: none;
}

/*********************** PWizard ********************/
