@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');



html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(235, 244, 253, 1) 50%, rgba(215, 234, 252, 1) 100%) !important;
    overflow: hidden;
}

/* Background options */
html.gradient-blue, html.gradient-blue body {
    background: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(235, 244, 253, 1) 50%, rgba(215, 234, 252, 1) 100%) !important;
}

html.gradient-warm, html.gradient-warm body {
    background: #ffffff;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 30%, #fef5e7 60%, #e8d5b7 100%) !important;
}

html.gradient-green, html.gradient-green body {
    background: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(220, 252, 231, 1) 50%, rgba(187, 247, 208, 1) 100%) !important;
}

html.solid-white, html.solid-white body {
    background: #ffffff !important;
}

/* Image backgrounds */
html[class*="image-"], html[class*="image-"] body {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-color: #0f172a !important;
}

html.image-blueweave, html.image-blueweave body {
    background: #0f172a url("/img/backgrounds/blueweave.jpg") center/cover no-repeat fixed !important;
}

html.image-glacierridge, html.image-glacierridge body {
    background: #0f172a url("/img/backgrounds/glacierridge.jpg") center/cover no-repeat fixed !important;
}

html.image-forestmist, html.image-forestmist body {
    background: #0f172a url("/img/backgrounds/forestmist.jpg") center/cover no-repeat fixed !important;
}

html.image-geomosaic, html.image-geomosaic body {
    background: #0f172a url("/img/backgrounds/geomosaic.svg") center/cover no-repeat fixed !important;
}

html.image-sunrisevalley, html.image-sunrisevalley body {
    background: #0f172a url("/img/backgrounds/sunrisevalley.jpg") center/cover no-repeat fixed !important;
}

html.image-steelmesh, html.image-steelmesh body {
    background: #0f172a url("/img/backgrounds/steelmesh.jpg") center/cover no-repeat fixed !important;
}

html.image-auroraflow, html.image-auroraflow body {
    background: #0f172a url("/img/backgrounds/auroraflow.svg") center/cover no-repeat fixed !important;
}

html.image-desertdunes, html.image-desertdunes body {
    background: #0f172a url("/img/backgrounds/desertdunes.jpg") center/cover no-repeat fixed !important;
}

html.image-geolines, html.image-geolines body {
    background: #0f172a url("/img/backgrounds/geolines.svg") center/cover no-repeat fixed !important;
}

html.dark:not([class*="image-"]):not([class*="gradient-"]):not(.solid-white),
html.dark:not([class*="image-"]):not([class*="gradient-"]):not(.solid-white) body {
    background: #1a1a1a;
    background: linear-gradient(135deg, rgba(26, 26, 26, 1) 0%, rgba(31, 41, 55, 1) 50%, rgba(17, 24, 39, 1) 100%) !important;
}

/* Dark mode tint: keep the chosen background (image/gradient/solid) and darken it. */
html.dark, html.dark body {
    background-color: rgba(15, 23, 42, 0.45) !important;
    background-blend-mode: multiply !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Workflow designer: IF port labels + positioning */
.lp-workflow-canvas .diagram-port {
    overflow: visible;
}

.lp-workflow-canvas .diagram-port.wf-if-true,
.lp-workflow-canvas .diagram-port.wf-if-false {
    /* Make room for the label next to the port */
    min-width: 10px;
    min-height: 10px;
}

/* Both IF ports are 'right' aligned; offset vertically */
.lp-workflow-canvas .diagram-port.right.wf-if-true {
    top: 25% !important;
}

.lp-workflow-canvas .diagram-port.right.wf-if-false {
    top: 75% !important;
}

/* Workflow designer: Validation port labels + positioning */
.lp-workflow-canvas .diagram-port.wf-validation-valid,
.lp-workflow-canvas .diagram-port.wf-validation-invalid {
    min-width: 10px;
    min-height: 10px;
}

.lp-workflow-canvas .diagram-port.right.wf-validation-valid {
    top: 25% !important;
}

.lp-workflow-canvas .diagram-port.right.wf-validation-invalid {
    top: 75% !important;
}

.lp-workflow-canvas .diagram-port .wf-port-label {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0.75;
    pointer-events: none;
}

/* Workflow designer: reliable HTML5 drop overlay (client-side toggled) */
.lp-workflow-canvas .lp-workflow-drop-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

html.lp-workflow-dragging .lp-workflow-canvas .lp-workflow-drop-overlay {
    pointer-events: auto;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* Friendly per-tab error boundary fallback (LpErrorBoundary ErrorContent). */
.lp-tab-error {
    margin: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e6c200;
    border-radius: 6px;
    background: lightyellow;
    color: #333;
}

    .lp-tab-error h4 {
        margin: 0 0 0.5rem 0;
    }

    .lp-tab-error .reload {
        display: inline-block;
        margin-top: 0.5rem;
        font-weight: 600;
    }

/* Injected into #blazor-error-ui just before an auto-reload. */
.lp-error-recovering {
    margin-right: 0.75rem;
    font-weight: 600;
}

.k-column-list-wrapper .k-actions.k-actions-stretched {
    display: none !important;
}

.k-treeview-leaf {
    flex-grow: 1;
}
.k-input.flexible-input {
    width: 80px !important; /* sets the initial size */
    flex: 1 1 auto; /* grow, shrink, with initial width as basis */
}
.flex {
    display: flex;
}

/* Filter menu styles */
.lp-filter-menu__scrollable {
    max-height: 400px;
    overflow-y: auto;
}

.date-filter-container {
    padding: 1rem;
    max-height: 350px;
    overflow-y: auto;
}

.date-filter-list {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    max-height: 250px;
    overflow-y: auto;
}

.date-filter-item {
    display: block;
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.date-filter-item:last-child {
    border-bottom: none;
}

.date-filter-item:hover {
    background-color: #f5f5f5;
}

.date-filter-item.selected {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
}

.date-filter-item span {
    user-select: none;
}

.filter-apply-section {
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    background-color: #f9f9f9;
}

.date-filter-dropdown {
    padding: 0.5rem;
}

.date-filter-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Dashboard Card Styles */
.dashboard-card {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.73) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0px;
    overflow: auto;
    min-height: 50px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Standalone DynamicPage cards keep base light-mode opacity. */
html:not(.dark) .dynamic-page--standalone .dashboard-card {
    background: rgba(255, 255, 255, 0.73) !important;
}

/* Embedded DynamicPage cards use lower alpha to compensate for additional grid surface blending. */
html:not(.dark) .dynamic-page--embedded .dashboard-card {
    background: rgba(255, 255, 255, 0.4) !important;
}

/* Fallback when no explicit context class is present. */
html:not(.dark) .dashboard-card {
    background: rgba(255, 255, 255, 0.73) !important;
}

/* Dashboard Card Dark Mode Support */
html.dark .dashboard-card,
html.dark.gradient-blue .dashboard-card,
html.dark.gradient-warm .dashboard-card,
html.dark.gradient-green .dashboard-card,
html.dark.solid-white .dashboard-card {
    background: rgba(38, 38, 38, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--kendo-color-on-app-surface, #f4f4f5);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.dashboard-card-nobackground {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border: 0px solid #ccc;
    background-color: transparent !important;
    background: transparent !important;
    border-radius: 8px;
    padding: 0px;
    overflow: auto;
    min-height: 50px;
    box-shadow: none !important;
}

/* Grid hierarchy expand icon - barely visible by default, full opacity on hover/expanded */
.k-grid .k-hierarchy-cell .k-svg-icon,
.k-grid .k-hierarchy-cell .k-icon {
    opacity: 0.15;
    transition: opacity 300ms ease;
}

.k-grid tr:hover .k-hierarchy-cell .k-svg-icon,
.k-grid tr:hover .k-hierarchy-cell .k-icon {
    opacity: 1;
}

.k-grid tr.k-master-row.k-expanded .k-hierarchy-cell .k-svg-icon,
.k-grid tr.k-master-row.k-expanded .k-hierarchy-cell .k-icon {
    opacity: 1;
}

/* Telerik applies hover background on .k-table-row. Remove that tint only for rows
   that host an embedded DynamicPage detail surface. */
.k-grid .k-table-tbody .k-table-row:has(.dynamic-page--embedded):hover,
.k-grid .k-table-list .k-table-row:has(.dynamic-page--embedded):hover,
.k-grid .k-table-tbody .k-table-row:has(.dynamic-page--embedded).k-hover,
.k-grid .k-table-list .k-table-row:has(.dynamic-page--embedded).k-hover {
    background-color: transparent !important;
    color: inherit !important;
}

.k-grid .k-table-tbody .k-table-row:has(.dynamic-page--embedded):hover > .k-table-td,
.k-grid .k-table-list .k-table-row:has(.dynamic-page--embedded):hover > .k-table-td,
.k-grid .k-table-tbody .k-table-row:has(.dynamic-page--embedded).k-hover > .k-table-td,
.k-grid .k-table-list .k-table-row:has(.dynamic-page--embedded).k-hover > .k-table-td {
    background-color: transparent !important;
    border-color: inherit !important;
    color: inherit !important;
}

/* Global fallback for interaction hints. These classes are unique to the
   shared row/selector components, and keep released pages correct even when
   scoped CSS is cached separately. */
.lp-form-control-hover-hint,
.lp-record-selector__hint {
    display: inline-flex;
    align-items: center;
    color: var(--kendo-color-primary, #0f6cbd);
    font-weight: 600;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 160ms ease-in-out, transform 160ms ease-in-out;
    pointer-events: none;
}

.lp-form-control-hover-hint {
    margin-left: 0.4rem;
}

.lp-record-selector__hint {
    white-space: nowrap;
}

.lp-form-control-hover-hint.is-visible,
.lp-record-selector__hint.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.lp-record-selector__empty-icon,
.lp-record-selector__empty-icon .k-svg-icon,
.lp-record-selector__empty-icon .k-icon {
    color: lightgray;
}

.lp-guide-field-shell {
    border-radius: 12px;
    transition: box-shadow 160ms ease-in-out, background-color 160ms ease-in-out, transform 160ms ease-in-out;
}

.lp-guide-highlight {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.22);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(255, 255, 255, 0.7));
    transform: translateY(-1px);
}

.lp-guide-popover-content {
    max-width: 360px;
}

.lp-guide-body {
    white-space: normal;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.lp-guide-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.75rem 0;
}

.lp-structured-editor {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.lp-structured-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lp-structured-editor-helper {
    font-size: 0.82rem;
    color: #66758a;
}

.lp-structured-editor-preview-shell {
    border: 1px solid #d8e0ea;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.lp-structured-editor-source-shell {
    display: flex;
}

.lp-structured-editor-source {
    width: 100%;
    min-height: 280px;
    padding: 0.9rem 1rem;
    border: 1px solid #cdd7e3;
    border-radius: 1rem;
    background: #ffffff;
    color: #1f2937;
    font-family: var(--kendo-font-family-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
    font-size: 0.92rem;
    line-height: 1.55;
    white-space: pre;
    tab-size: 2;
    resize: vertical;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.lp-structured-editor-source:focus {
    outline: none;
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 0.16rem rgba(13, 110, 253, 0.12);
}

.lp-structured-markup {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.lp-structured-markup-node {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 0.8rem;
    border-left: 2px solid rgba(13, 110, 253, 0.18);
}

.lp-structured-markup--sidebar {
    gap: 0.95rem;
}

.lp-structured-markup--sidebar .lp-structured-markup-node {
    display: grid;
    grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
    gap: 0.75rem 0.9rem;
    padding-left: 0;
    border-left: none;
}

.lp-structured-markup--sidebar .lp-structured-markup-node.lp-structured-markup-node--group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.lp-structured-markup--sidebar .lp-structured-markup-tag-row {
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.35rem;
}

.lp-structured-markup--sidebar .lp-structured-markup-children,
.lp-structured-markup--sidebar .lp-structured-markup-media {
    min-width: 0;
    padding-left: 1rem;
    border-left: 1px solid rgba(13, 110, 253, 0.14);
}

.lp-structured-markup--sidebar .lp-structured-markup-tag-row--close {
    display: none;
}

.lp-structured-markup-node--self {
    padding-bottom: 0.2rem;
}

.lp-structured-markup-tag-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.lp-structured-markup-tag-row--close {
    opacity: 0.82;
}

.lp-structured-markup-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.26rem 0.58rem 0.26rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(13, 110, 253, 0.16);
    background: rgba(13, 110, 253, 0.08);
    color: #0b5ed7;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.lp-structured-markup-tag-label {
    white-space: nowrap;
    line-height: 1;
}

.lp-structured-markup-tag-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.76rem;
    height: 0.76rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(11, 94, 215, 0.22);
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 120ms ease, transform 120ms ease;
}

.lp-structured-markup-tag-action:hover {
    background: rgba(11, 94, 215, 0.34);
    transform: scale(1.04);
}

.lp-structured-markup-tag-action:focus {
    outline: none;
    box-shadow: 0 0 0 0.16rem rgba(13, 110, 253, 0.12);
}

.lp-structured-markup-tag--close {
    background: rgba(108, 117, 125, 0.08);
    border-color: rgba(108, 117, 125, 0.16);
    color: #5f6b78;
}

.lp-structured-markup-tag--self {
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(25, 135, 84, 0.16);
    color: #157347;
}

.lp-structured-markup-attrs {
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.55rem;
    border-radius: 0.75rem;
    background: rgba(148, 163, 184, 0.12);
    color: #526070;
    font-size: 0.74rem;
    word-break: break-word;
}

.lp-structured-markup-attr-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.lp-structured-markup--sidebar .lp-structured-markup-attr-list {
    align-items: flex-start;
    width: auto;
}

.lp-structured-markup-attr-editor {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    padding: 0.24rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(148, 163, 184, 0.12);
    color: #526070;
    cursor: text;
}

.lp-structured-markup-attr-editor.is-draft {
    border-style: dashed;
}

.lp-structured-markup-attr-editor:focus-within {
    border-color: rgba(82, 96, 112, 0.26);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 0.14rem rgba(13, 110, 253, 0.08);
}

.lp-structured-markup-attr-editor.is-invalid {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.08);
}

.lp-structured-markup-attr-name,
.lp-structured-markup-attr-value {
    min-width: 0;
    border: none;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.3;
    cursor: text;
}

.lp-structured-markup-attr-name:focus,
.lp-structured-markup-attr-value:focus {
    outline: none;
}

.lp-structured-markup-attr-name::placeholder,
.lp-structured-markup-attr-value::placeholder {
    color: #8a94a3;
}

.lp-structured-markup-attr-separator {
    flex: 0 0 auto;
    opacity: 0.72;
    font-size: 0.74rem;
}

.lp-structured-markup-attr-action,
.lp-structured-markup-add-attribute {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.32rem;
    border: none;
    border-radius: 999px;
    background: rgba(82, 96, 112, 0.14);
    color: #485568;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.lp-structured-markup-attr-action:hover,
.lp-structured-markup-add-attribute:hover {
    background: rgba(82, 96, 112, 0.24);
}

.lp-structured-markup-attr-action:focus,
.lp-structured-markup-add-attribute:focus {
    outline: none;
    box-shadow: 0 0 0 0.14rem rgba(13, 110, 253, 0.12);
}

.lp-structured-markup-attr-action--apply {
    background: rgba(25, 135, 84, 0.16);
    color: #13653f;
}

.lp-structured-markup-attr-action--apply:hover {
    background: rgba(25, 135, 84, 0.28);
}

.lp-structured-markup-attr-action--remove {
    background: rgba(108, 117, 125, 0.14);
    color: #4e5965;
}

.lp-structured-markup-add-attribute {
    padding: 0 0.55rem;
    border: 1px dashed rgba(82, 96, 112, 0.26);
    background: rgba(255, 255, 255, 0.62);
}

.lp-structured-markup--sidebar .lp-structured-markup-add-attribute {
    align-self: flex-start;
}

.lp-structured-markup-children {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
}

.lp-structured-markup-text {
    padding: 0.75rem 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    white-space: pre-wrap;
    line-height: 1.55;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.lp-structured-markup-text-editor-shell {
    display: flex;
    min-width: 0;
}

.lp-structured-markup-text-editor {
    width: 100%;
    min-height: 3.4rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid #d5dde8;
    background: #ffffff;
    color: #334155;
    font: inherit;
    line-height: 1.55;
    resize: vertical;
    white-space: pre-wrap;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.lp-structured-markup-text-editor:focus {
    outline: none;
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 0.16rem rgba(13, 110, 253, 0.12);
}

.lp-structured-markup-text-editor--empty::placeholder {
    color: #8a94a3;
}

.lp-structured-markup-empty,
.lp-structured-markup-empty-state {
    padding: 0.8rem 0.85rem;
    border-radius: 0.95rem;
    border: 1px dashed #ced7e1;
    background: rgba(248, 250, 252, 0.88);
    color: #6b7280;
    font-size: 0.86rem;
}

.lp-structured-markup-error {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(220, 53, 69, 0.18);
    background: rgba(220, 53, 69, 0.06);
    color: #842029;
}

.lp-structured-markup-error-title {
    font-weight: 700;
}

.lp-structured-markup-error-message,
.lp-structured-markup-error-hint {
    font-size: 0.84rem;
}

.lp-structured-markup-media {
    margin: 0;
}

.lp-structured-markup-media img {
    max-width: min(100%, 16rem);
    max-height: 10rem;
    border-radius: 0.8rem;
    border: 1px solid #d8e0ea;
    object-fit: contain;
    background: #ffffff;
}

@media (max-width: 960px) {
    .lp-structured-markup--sidebar .lp-structured-markup-node {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-structured-markup--sidebar .lp-structured-markup-children,
    .lp-structured-markup--sidebar .lp-structured-markup-media {
        padding-left: 0.8rem;
    }
}

.lp-guide-body .lp-guide-details {
    margin: 0.85rem 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(13, 110, 253, 0.18);
    border-radius: 0.85rem;
    background: rgba(13, 110, 253, 0.04);
}

.lp-guide-body .lp-guide-details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--kendo-color-primary, #0d6efd);
    list-style-position: inside;
}

.lp-guide-body .lp-guide-details[open] summary {
    margin-bottom: 0.6rem;
}

.lp-guide-body > *:first-child {
    margin-top: 0;
}

.lp-guide-body > *:last-child {
    margin-bottom: 0;
}

.lp-guide-window-note {
    color: var(--kendo-color-warning, #b86e00);
    font-size: 0.9rem;
}
