/* ENETES_EDITOR_MASTER_CSS_V1 | generated from Enetes Twig 1:1 */

/* —— adminHtmlEditor PRO —— UI (wzorzec Netes) */
        .adminHtmlEditor {
            position: relative;
            --adminHtmlEditor-border: #c5cad3;
            --adminHtmlEditor-btn-top: #ffffff;
            --adminHtmlEditor-btn-mid: #f1f5f9;
            --adminHtmlEditor-btn-bot: #e2e8f0;
            --adminHtmlEditor-btn-hover: #f8fafc;
            --adminHtmlEditor-btn-active: #cbd5e1;
            --adminHtmlEditor-btn-border: #64748b;
            --adminHtmlEditor-btn-text: #111827;
            --adminHtmlEditor-accent: #1d4ed8;
            --adminHtmlEditor-accent-soft: #dbeafe;
            --adminHtmlEditor-gold: #b8891f;
            margin-top: .35rem;
            border: 1px solid var(--adminHtmlEditor-border);
            border-radius: 8px;
            background: #fff;
            overflow: visible;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
        }
        .adminHtmlEditor-toolbar {
            background: linear-gradient(180deg, #f1f5f9 0%, #e8ecf2 100%);
            border-bottom: 1px solid var(--adminHtmlEditor-border);
        }
        .adminHtmlEditor-toolbarLayout {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            padding: 6px 10px 8px;
            min-width: 0;
        }
        .adminHtmlEditor-toolbarStacks {
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .adminHtmlEditor-toolbarModeSlot {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            margin-left: auto;
            padding-left: 6px;
        }
        .adminHtmlEditor-toolbarRow {
            display: flex;
            flex-wrap: wrap;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            gap: 6px;
            row-gap: 8px;
            padding: 0;
        }
        .adminHtmlEditor-tbGroup {
            display: inline-flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
            padding: 2px 8px 2px 0;
            margin: 0 4px 0 0;
            border-right: 1px solid #b8c0cc;
        }
        .adminHtmlEditor-tbGroup:last-child {
            border-right: none;
            margin-right: 0;
            padding-right: 0;
        }
        .adminHtmlEditor-tbBtn {
            box-sizing: border-box;
            min-height: 42px;
            min-width: 42px;
            padding: 8px 12px;
            font-size: 15px;
            font-weight: 600;
            line-height: 1.15;
            color: var(--adminHtmlEditor-btn-text);
            cursor: pointer;
            border: 1px solid var(--adminHtmlEditor-btn-border);
            border-radius: 7px;
            font-family: inherit;
            transition: background .14s ease, border-color .14s ease, box-shadow .14s ease, transform .06s ease;
            background: linear-gradient(180deg, var(--adminHtmlEditor-btn-top) 0%, var(--adminHtmlEditor-btn-mid) 45%, var(--adminHtmlEditor-btn-bot) 100%);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.95) inset,
                0 2px 4px rgba(15, 23, 42, 0.1),
                0 1px 1px rgba(15, 23, 42, 0.06);
        }
        .adminHtmlEditor-tbBtn:hover {
            background: linear-gradient(180deg, #ffffff 0%, var(--adminHtmlEditor-btn-hover) 50%, #e8edf4 100%);
            border-color: #475569;
            color: var(--adminHtmlEditor-gold);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.98) inset,
                0 3px 6px rgba(15, 23, 42, 0.12),
                0 1px 2px rgba(15, 23, 42, 0.08);
        }
        .adminHtmlEditor-tbBtn:hover svg {
            color: var(--adminHtmlEditor-gold);
        }
        .adminHtmlEditor-tbBtn:active {
            background: linear-gradient(180deg, var(--adminHtmlEditor-btn-active) 0%, #94a3b8 100%);
            transform: translateY(1px);
            box-shadow:
                0 2px 3px rgba(15, 23, 42, 0.12) inset,
                0 1px 1px rgba(15, 23, 42, 0.06);
            border-color: #334155;
        }
        .adminHtmlEditor-tbBtn[aria-pressed="true"] {
            background: linear-gradient(180deg, var(--adminHtmlEditor-accent-soft) 0%, #bfdbfe 100%);
            border-color: var(--adminHtmlEditor-accent);
            color: #0f172a;
            box-shadow:
                0 2px 4px rgba(29, 78, 216, 0.15) inset,
                0 1px 0 rgba(255, 255, 255, 0.5) inset;
        }
        .adminHtmlEditor-tbBtnIcon {
            min-width: 42px;
            padding-left: 9px;
            padding-right: 9px;
        }
        .adminHtmlEditor-tbBtnIcon svg {
            display: block;
            margin: 0 auto;
            color: #111827;
        }
        .adminHtmlEditor-tbLabel {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #374151;
        }
        .adminHtmlEditor-selectsGroup {
            align-items: flex-end;
        }
        .adminHtmlEditor-selectStack {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 3px;
            margin: 0;
        }
        .adminHtmlEditor-selectLabel {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: #4b5563;
            padding-left: 2px;
        }
        .adminHtmlEditor-selectField {
            box-sizing: border-box;
            height: 36px;
            border: 1px solid var(--adminHtmlEditor-btn-border);
            border-radius: 7px;
            padding: 0 34px 0 10px;
            background-color: #fff;
            background-image:
                linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #edf2f7 100%),
                linear-gradient(45deg, transparent 50%, #475569 50%),
                linear-gradient(135deg, #475569 50%, transparent 50%);
            background-repeat: no-repeat, no-repeat, no-repeat;
            background-position: 0 0, calc(100% - 16px) 15px, calc(100% - 11px) 15px;
            background-size: 100% 100%, 6px 6px, 6px 6px;
            color: #111827;
            font-size: 13px;
            font-weight: 600;
            font-family: inherit;
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.95) inset,
                0 1px 2px rgba(15, 23, 42, 0.08);
            outline: none;
            cursor: pointer;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            transition: border-color .14s ease, box-shadow .14s ease;
        }
        .adminHtmlEditor-selectField:hover {
            border-color: #475569;
        }
        .adminHtmlEditor-selectField:focus {
            border-color: var(--adminHtmlEditor-accent);
            box-shadow:
                0 0 0 2px rgba(29, 78, 216, 0.22),
                0 1px 0 rgba(255, 255, 255, 0.95) inset;
        }
        .adminHtmlEditor-fontSelect { min-width: 176px; }
        .adminHtmlEditor-sizeSelect { min-width: 96px; }
        .adminHtmlEditor-blockSelect { min-width: 220px; }
        .adminHtmlEditor-quoteSelect { min-width: 132px; }
        .adminHtmlEditor-colorFieldStack {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin: 0;
        }
        .adminHtmlEditor-colorGroup { align-items: flex-start; }
        .adminHtmlEditor-colorInput {
            width: 40px;
            height: 36px;
            padding: 3px;
            border: 1px solid var(--adminHtmlEditor-btn-border);
            border-radius: 6px;
            cursor: pointer;
            background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
            box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 2px rgba(15, 23, 42, 0.08);
        }
        .adminHtmlEditor-visual blockquote {
            margin: 0.65em 0;
            padding: 0.45em 0.65em 0.45em 0.85em;
            border-left: 3px solid #94a3b8;
            background: rgba(241, 245, 249, 0.55);
            color: #334155;
            font-style: normal;
            line-height: 1.5;
            border-radius: 0 8px 8px 0;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07);
        }
        .adminHtmlEditor-visual blockquote.blockquote--slate {
            border-left-color: #475569;
            background: rgba(241, 245, 249, 0.78);
            color: #1f2937;
        }
        .adminHtmlEditor-visual blockquote.blockquote--blue {
            border-left-color: #2563eb;
            background: rgba(219, 234, 254, 0.65);
            color: #1e3a8a;
        }
        .adminHtmlEditor-visual blockquote.blockquote--sky {
            border-left-color: #0284c7;
            background: rgba(224, 242, 254, 0.72);
            color: #0c4a6e;
        }
        .adminHtmlEditor-visual blockquote.blockquote--indigo {
            border-left-color: #4f46e5;
            background: rgba(224, 231, 255, 0.7);
            color: #312e81;
        }
        .adminHtmlEditor-visual blockquote.blockquote--violet {
            border-left-color: #7c3aed;
            background: rgba(237, 233, 254, 0.72);
            color: #5b21b6;
        }
        .adminHtmlEditor-visual blockquote.blockquote--emerald {
            border-left-color: #059669;
            background: rgba(209, 250, 229, 0.68);
            color: #065f46;
        }
        .adminHtmlEditor-visual blockquote.blockquote--teal {
            border-left-color: #0f766e;
            background: rgba(204, 251, 241, 0.66);
            color: #115e59;
        }
        .adminHtmlEditor-visual blockquote.blockquote--gold {
            border-left-color: #b45309;
            background: rgba(254, 243, 199, 0.72);
            color: #78350f;
        }
        .adminHtmlEditor-visual blockquote.blockquote--rose {
            border-left-color: #e11d48;
            background: rgba(255, 228, 230, 0.72);
            color: #9f1239;
        }
        .adminHtmlEditor-visual blockquote.blockquote--neutral {
            border-left-color: #525252;
            background: rgba(245, 245, 245, 0.82);
            color: #262626;
        }
        .adminHtmlEditor-alignDock { position: relative; }
        .adminHtmlEditor-alignMenu {
            display: none;
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            z-index: 40;
            min-width: 148px;
            padding: 4px;
            margin: 0;
            list-style: none;
            background: #fff;
            border: 1px solid #64748b;
            border-radius: 8px;
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15), 0 2px 6px rgba(15, 23, 42, 0.08);
        }
        .adminHtmlEditor-alignMenu.is-open { display: block; }
        .adminHtmlEditor-alignMenu button {
            display: block;
            width: 100%;
            box-sizing: border-box;
            margin: 0;
            padding: 9px 12px;
            font-size: 14px;
            font-weight: 600;
            text-align: left;
            color: #111827;
            cursor: pointer;
            border: none;
            border-radius: 5px;
            background: transparent;
            font-family: inherit;
        }
        .adminHtmlEditor-alignMenu button:hover { background: #eff6ff; }
        .adminHtmlEditor-alignMenu button:active { background: #dbeafe; }
        .adminHtmlEditor-linkDock { position: relative; }
        .adminHtmlEditor-linkPanel {
            display: none;
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            z-index: 45;
            width: min(340px, calc(100vw - 40px));
            padding: 0;
            background: #fff;
            border: 1px solid #64748b;
            border-radius: 8px;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.1);
        }
        .adminHtmlEditor-linkPanel.is-open { display: block; }
        .adminHtmlEditor-linkPanel-inner {
            padding: 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .adminHtmlEditor-fieldStack {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 5px;
            margin: 0;
            font-size: 13px;
            font-weight: 600;
            color: #1f2937;
        }
        .adminHtmlEditor-fieldLabel {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            color: #4b5563;
        }
        .adminHtmlEditor-linkInput {
            box-sizing: border-box;
            width: 100%;
            min-height: 38px;
            padding: 8px 10px;
            font-size: 14px;
            font-weight: 500;
            color: #111827;
            border: 1px solid #94a3b8;
            border-radius: 6px;
            font-family: inherit;
            background: #fff;
        }
        .adminHtmlEditor-linkInput:focus {
            outline: 2px solid rgba(29, 78, 216, 0.35);
            outline-offset: 1px;
        }
        .adminHtmlEditor-checkRow {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 8px;
            margin: 0;
            min-height: 30px;
            font-size: 13px;
            font-weight: 600;
            color: #1f2937;
            white-space: nowrap;
        }
        .adminHtmlEditor-checkRow input {
            flex: 0 0 auto;
            width: auto;
            margin: 0;
            vertical-align: middle;
        }
        .adminHtmlEditor-checkRow span {
            display: inline-flex;
            align-items: center;
            line-height: 1.25;
        }
        .adminHtmlEditor-linkPanel-actions {
            display: flex;
            flex-wrap: nowrap;
            gap: 8px;
            justify-content: flex-end;
            margin-top: 2px;
        }
        .adminHtmlEditor-linkPanel-actions .adminHtmlEditor-tbBtn {
            min-width: 88px;
            min-height: 38px;
        }
        .adminHtmlEditor-linkPendingSelection {
            background: rgba(191, 219, 254, 0.58);
            box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.35);
            border-radius: 2px;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-decoration-color: #60a5fa;
        }
        /* scoped override to ensure V2 panel visuals win over legacy/global selectors */
        .adminHtmlEditor .adminHtmlEditor-linkDock > [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 {
            width: min(420px, calc(100vw - 32px));
            border: 1px solid #334155;
            border-radius: 14px;
            background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
            box-shadow: 0 24px 46px rgba(15, 23, 42, 0.28), 0 10px 22px rgba(30, 41, 59, 0.2);
            overflow: hidden;
        }
        .adminHtmlEditor .adminHtmlEditor-linkDock > [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 > .adminHtmlEditor-linkPanel-inner {
            display: flex;
            flex-direction: column;
            gap: 14px;
            padding: 16px;
            background: linear-gradient(160deg, #ffffff 0%, #f3f7ff 100%);
            border: 1px solid rgba(148, 163, 184, 0.42);
            border-radius: 11px;
            margin: 10px;
        }
        .adminHtmlEditor .adminHtmlEditor-linkDock [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 .adminHtmlEditor-fieldStack {
            margin: 0;
            gap: 7px;
            padding: 0;
        }
        .adminHtmlEditor .adminHtmlEditor-linkDock [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 .adminHtmlEditor-fieldLabel {
            font-size: 10px;
            letter-spacing: 0.08em;
            color: #334155;
        }
        .adminHtmlEditor .adminHtmlEditor-linkDock [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 .adminHtmlEditor-linkInput {
            min-height: 42px;
            border-radius: 9px;
            border: 1px solid #64748b;
            padding: 10px 12px;
            font-size: 14px;
            background: #fff;
            box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 4px rgba(15, 23, 42, 0.08);
        }
        .adminHtmlEditor .adminHtmlEditor-linkDock [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 .adminHtmlEditor-linkInput:focus {
            border-color: #1d4ed8;
            outline: 2px solid rgba(37, 99, 235, 0.3);
            outline-offset: 1px;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.17);
        }
        .adminHtmlEditor .adminHtmlEditor-linkDock [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 .adminHtmlEditor-checkRow {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;
            min-height: 34px;
            margin: 2px 0 0;
            padding: 0 2px;
            white-space: nowrap;
            font-size: 13px;
            color: #0f172a;
        }
        .adminHtmlEditor .adminHtmlEditor-linkDock [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 .adminHtmlEditor-linkPanel-actions {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 2px;
            padding-top: 2px;
            border-top: 1px solid rgba(148, 163, 184, 0.45);
        }
        .adminHtmlEditor .adminHtmlEditor-linkDock [data-admin-html-editor-link-panel].adminHtmlEditor-linkPanelV2 .adminHtmlEditor-linkPanel-actions .adminHtmlEditor-tbBtn {
            min-width: 96px;
            min-height: 40px;
        }
        .adminHtmlEditor-modeToggle {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px;
            border: 1px solid #64748b;
            border-radius: 11px;
            background: linear-gradient(180deg, #f8fafc 0%, #e7edf5 100%);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.9) inset,
                0 3px 8px rgba(15, 23, 42, 0.12);
        }
        .adminHtmlEditor-modeBtn {
            min-height: 38px;
            min-width: 98px;
            padding: 7px 14px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.02em;
            cursor: pointer;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #111827;
            transition: background .14s ease, color .14s ease, box-shadow .14s ease, transform .08s ease;
        }
        .adminHtmlEditor-modeBtn + .adminHtmlEditor-modeBtn { border-left: none; }
        .adminHtmlEditor-modeBtn:hover { background: rgba(148, 163, 184, 0.2); }
        .adminHtmlEditor-modeBtn.is-active {
            background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
            color: #fff;
            box-shadow:
                0 1px 0 rgba(255, 255, 255, 0.25) inset,
                0 3px 8px rgba(29, 78, 216, 0.35);
        }
        .adminHtmlEditor-modeBtnIcon { margin-right: 6px; font-size: 12px; opacity: 0.9; }
        .adminHtmlEditor-modeBtnText { vertical-align: middle; }
        .adminHtmlEditor-visual {
            min-height: 460px;
            max-height: 70vh;
            overflow: auto;
            padding: 16px 18px;
            font-family: Georgia, 'Times New Roman', serif;
            font-size: 18px;
            line-height: 1.55;
            color: #000000;
            outline: none;
            background: #fff;
            border-top: 1px solid var(--adminHtmlEditor-border);
        }
        .adminHtmlEditor-visual h1,
        .adminHtmlEditor-visual h2,
        .adminHtmlEditor-visual h3,
        .adminHtmlEditor-visual h4,
        .adminHtmlEditor-visual h5,
        .adminHtmlEditor-visual h6 {
            color: inherit;
            font-size: inherit;
            font-family: inherit;
            line-height: inherit;
            margin: 0;
            font-weight: 700;
            background: transparent;
        }
        .adminHtmlEditor-visual pre {
            color: inherit;
            font-size: inherit;
            font-family: inherit;
            line-height: inherit;
            margin: 0;
            font-weight: inherit;
            background: transparent;
        }
        .adminHtmlEditor-visual:focus { box-shadow: inset 0 0 0 2px rgba(29, 78, 216, 0.2); }
        .adminHtmlEditor-visual a,
        .adminHtmlEditor-visual a:visited {
            color: #1d4ed8;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 2px;
        }
        .adminHtmlEditor-visual a:hover,
        .adminHtmlEditor-visual a:focus {
            color: #1e40af;
            text-decoration: underline;
        }
        /* neutralize panel global `form ul` (toast) styles on real <ul>/<ol> content — higher specificity than `form ul` */
        .adminHtmlEditor-visual ul,
        .adminHtmlEditor-visual ol {
            background: transparent;
            color: inherit;
            position: static;
            right: auto;
            top: auto;
            left: auto;
            float: none;
            width: auto;
            max-width: 100%;
            min-width: 0;
            box-shadow: none;
            animation: none;
            -webkit-animation: none;
            opacity: 1;
            z-index: auto;
            display: block;
            margin: 0.5em 0 0.75em;
            padding: 0 0 0 1.5em;
            list-style-position: outside;
        }
        .adminHtmlEditor-visual ul { list-style-type: disc; }
        .adminHtmlEditor-visual ol { list-style-type: decimal; }
        .adminHtmlEditor-visual li {
            display: list-item;
            color: inherit;
            background: transparent;
            position: static;
            float: none;
            list-style: inherit;
            list-style-type: inherit;
        }
        .adminHtmlEditor-visual li > ul,
        .adminHtmlEditor-visual li > ol {
            margin-top: 0.25em;
        }
        .adminHtmlEditor-sourceField {
            display: block;
            width: 100%;
            min-height: 460px;
            box-sizing: border-box;
            padding: 12px 14px;
            font-family: Consolas, 'DejaVu Sans Mono', monospace;
            font-size: 13px;
            line-height: 1.45;
            border: none;
            resize: vertical;
            outline: none;
        }
        .adminHtmlEditor.is-visualMode .adminHtmlEditor-sourceField {
            display: none !important;
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            padding: 0 !important;
            margin: -1px !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            border: 0 !important;
        }
        .adminHtmlEditor.is-visualMode [data-admin-html-editor-source] {
            display: none !important;
        }
        .adminHtmlEditor.is-visualMode [data-admin-html-editor-visual] {
            display: block !important;
        }
        .adminHtmlEditor.is-htmlMode .adminHtmlEditor-visual { display: none !important; }
        .adminHtmlEditor.is-htmlMode [data-admin-html-editor-visual] { display: none !important; }
        .adminHtmlEditor.is-htmlMode .adminHtmlEditor-sourceField {
            display: block !important;
            position: relative !important;
            clip: auto !important;
            width: 100% !important;
            height: auto !important;
            min-height: 460px !important;
            margin: 0 !important;
            border-top: 1px solid var(--adminHtmlEditor-border) !important;
        }
        .adminHtmlEditor.is-htmlMode [data-admin-html-editor-source] { display: block !important; }
        .netes-admin-html-editor-field-label {
            display: block;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

/* PNP_LINK_CHECKBOX_INLINE_FINAL_START */
[data-admin-html-editor-link-panel] label.adminHtmlEditor-checkRow,
.adminHtmlEditor-linkPanel.adminHtmlEditor-linkPanelV2 label.adminHtmlEditor-checkRow {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
    color: #0f172a !important;
    cursor: pointer !important;
}

[data-admin-html-editor-link-panel] label.adminHtmlEditor-checkRow input[type="checkbox"],
.adminHtmlEditor-linkPanel.adminHtmlEditor-linkPanelV2 label.adminHtmlEditor-checkRow input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    position: static !important;
    inset: auto !important;
    float: none !important;
    clear: none !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 16px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    vertical-align: middle !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

[data-admin-html-editor-link-panel] label.adminHtmlEditor-checkRow span,
.adminHtmlEditor-linkPanel.adminHtmlEditor-linkPanelV2 label.adminHtmlEditor-checkRow span {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    color: #0f172a !important;
    vertical-align: middle !important;
}
/* PNP_LINK_CHECKBOX_INLINE_FINAL_END */


        /* NETES_EDITOR_VISUAL_P_SPACING_V2 */
        /* NETES_EDITOR_HEADING_BOTTOM_SPACING_V2 */
        .adminHtmlEditor-visual h1,
        .adminHtmlEditor-visual h2,
        .adminHtmlEditor-visual h3 {
            margin-bottom: 18px !important;
        }

        .adminHtmlEditor-visual h4,
        .adminHtmlEditor-visual h5,
        .adminHtmlEditor-visual h6 {
            margin-bottom: 15px !important;
        }

        .adminHtmlEditor-visual h1:last-child,
        .adminHtmlEditor-visual h2:last-child,
        .adminHtmlEditor-visual h3:last-child,
        .adminHtmlEditor-visual h4:last-child,
        .adminHtmlEditor-visual h5:last-child,
        .adminHtmlEditor-visual h6:last-child {
            margin-bottom: 0 !important;
        }

        .adminHtmlEditor-visual p {
            margin-top: 0 !important;
            margin-bottom: 10px !important;
            line-height: 1.55;
        }
        .adminHtmlEditor-visual p:last-child {
            margin-bottom: 0 !important;
        }

        
        /* NETES_EDITOR_CLEANUP_ENTER_TYPO_CONFLICTS_V1 */
        
        /* NETES_EDITOR_NUMBER_LIST_VISIBLE_V4 */
        .adminHtmlEditor-numberListGroup {
            align-items: flex-start;
            gap: 6px;
        }

        .adminHtmlEditor-numberListIcon {
            width: 38px;
            height: 38px;
            min-width: 38px;
            border: 1px solid rgba(100, 116, 139, .75);
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            color: #1d4ed8;
            font-weight: 900;
            line-height: 1;
            box-shadow: 0 1px 2px rgba(15, 23, 42, .10);
            user-select: none;
        }

        .adminHtmlEditor-numberListIcon span:first-child { font-size: 15px; }
        .adminHtmlEditor-numberListIcon span:last-child { font-size: 11px; margin-top: 2px; }

        .adminHtmlEditor-numberListSelect {
            min-width: 158px;
            height: 38px;
            border: 1px solid rgba(148, 163, 184, .75);
            border-radius: 10px;
            padding: 0 10px;
            background: #fff;
            color: #0f172a;
            font-size: 13px;
            font-weight: 700;
        }

        .adminHtmlEditor-visual ol.netes-list {
            margin: 0.95em 0 0.95em 2.15em;
            padding-left: 1.35em;
            list-style-position: outside;
        }

        .adminHtmlEditor-visual ol.netes-list > li {
            margin: 0.35em 0;
            padding-left: 0.35em;
            line-height: 1.65;
        }

        .adminHtmlEditor-visual ol.netes-list-number-classic { list-style-type: decimal; }
        .adminHtmlEditor-visual ol.netes-list-number-leading { list-style-type: decimal-leading-zero; }
        .adminHtmlEditor-visual ol.netes-list-number-roman { list-style-type: upper-roman; }
        .adminHtmlEditor-visual ol.netes-list-number-alpha { list-style-type: upper-alpha; }

        .adminHtmlEditor-visual ol.netes-list-number-blue > li::marker { color: #2563eb; font-weight: 900; }
        .adminHtmlEditor-visual ol.netes-list-number-sky > li::marker { color: #0284c7; font-weight: 900; }
        .adminHtmlEditor-visual ol.netes-list-number-indigo > li::marker { color: #4f46e5; font-weight: 900; }
        .adminHtmlEditor-visual ol.netes-list-number-emerald > li::marker { color: #059669; font-weight: 900; }
        .adminHtmlEditor-visual ol.netes-list-number-gold > li::marker { color: #b8891f; font-weight: 900; }
        .adminHtmlEditor-visual ol.netes-list-number-rose > li::marker { color: #e11d48; font-weight: 900; }


    
        /* NETES_EDITOR_BULLET_LIST_V1 */
        .adminHtmlEditor-bulletListGroup {
            align-items: flex-start;
            gap: 6px;
        }

        .adminHtmlEditor-bulletListIcon {
            width: 38px;
            height: 38px;
            min-width: 38px;
            border: 1px solid rgba(100, 116, 139, .75);
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            color: #059669;
            font-weight: 900;
            font-size: 22px;
            line-height: 1;
            box-shadow: 0 1px 2px rgba(15, 23, 42, .10);
            user-select: none;
        }

        .adminHtmlEditor-bulletListSelect {
            min-width: 158px;
            height: 38px;
            border: 1px solid rgba(148, 163, 184, .75);
            border-radius: 10px;
            padding: 0 10px;
            background: #fff;
            color: #0f172a;
            font-size: 13px;
            font-weight: 700;
        }

        .adminHtmlEditor-visual ul.netes-list {
            margin: 0.95em 0 0.95em 2.15em;
            padding-left: 1.35em;
            list-style-position: outside;
        }

        .adminHtmlEditor-visual ul.netes-list > li {
            margin: 0.35em 0;
            padding-left: 0.35em;
            line-height: 1.65;
        }

        .adminHtmlEditor-visual ul.netes-list-bullet-disc { list-style-type: disc; }
        .adminHtmlEditor-visual ul.netes-list-bullet-circle { list-style-type: circle; }
        .adminHtmlEditor-visual ul.netes-list-bullet-square { list-style-type: square; }
        .adminHtmlEditor-visual ul.netes-list-bullet-dash { list-style-type: "– "; }
        .adminHtmlEditor-visual ul.netes-list-bullet-check { list-style-type: "✓ "; }
        .adminHtmlEditor-visual ul.netes-list-bullet-arrow { list-style-type: "➜ "; }

        .adminHtmlEditor-visual ul.netes-list-bullet-blue > li::marker { color: #2563eb; font-weight: 900; }
        .adminHtmlEditor-visual ul.netes-list-bullet-emerald > li::marker { color: #059669; font-weight: 900; }
        .adminHtmlEditor-visual ul.netes-list-bullet-gold > li::marker { color: #b8891f; font-weight: 900; }
        .adminHtmlEditor-visual ul.netes-list-bullet-rose > li::marker { color: #e11d48; font-weight: 900; }


    
        /* NETES_EDITOR_LIST_UI_TOPBAR_V1 */
        .adminHtmlEditor[data-netes-list-ui-topbar-v1="1"] .adminHtmlEditor-numberListGroup .adminHtmlEditor-numberListIcon,
        .adminHtmlEditor[data-netes-list-ui-topbar-v1="1"] .adminHtmlEditor-bulletListGroup .adminHtmlEditor-bulletListIcon {
            display: none !important;
        }

        .adminHtmlEditor[data-netes-list-ui-topbar-v1="1"] .adminHtmlEditor-numberListGroup .adminHtmlEditor-selectLabel,
        .adminHtmlEditor[data-netes-list-ui-topbar-v1="1"] .adminHtmlEditor-bulletListGroup .adminHtmlEditor-selectLabel {
            display: none !important;
        }

        .adminHtmlEditor[data-netes-list-ui-topbar-v1="1"] .adminHtmlEditor-numberListGroup,
        .adminHtmlEditor[data-netes-list-ui-topbar-v1="1"] .adminHtmlEditor-bulletListGroup {
            align-items: center;
            gap: 0;
        }

        .adminHtmlEditor[data-netes-list-ui-topbar-v1="1"] .adminHtmlEditor-numberListSelect,
        .adminHtmlEditor[data-netes-list-ui-topbar-v1="1"] .adminHtmlEditor-bulletListSelect {
            min-width: 158px;
        }

        /* legacy styles kept below for compatibility */
        /* NETES_EDITOR_MOVE_LISTS_DOM_SAFE_V4 */
        .adminHtmlEditor-listControlsRowDomV4 {
            display: flex;
            align-items: flex-end;
            flex-wrap: wrap;
            gap: 10px;
            width: 100%;
            padding-top: 6px;
            margin-top: 2px;
            border-top: 1px solid rgba(226, 232, 240, .75);
        }

        .adminHtmlEditor-listControlsRowDomV4 .adminHtmlEditor-tbGroup {
            margin-top: 0;
        }

        .adminHtmlEditor-listControlsRowDomV4 .adminHtmlEditor-numberListGroup,
        .adminHtmlEditor-listControlsRowDomV4 .adminHtmlEditor-bulletListGroup {
            align-items: flex-end;
            gap: 6px;
            width: auto;
            max-width: none;
        }

        .adminHtmlEditor-listControlsRowDomV4 .adminHtmlEditor-selectStack {
            margin: 0;
        }

        .adminHtmlEditor-listControlsRowDomV4 .adminHtmlEditor-numberListSelect,
        .adminHtmlEditor-listControlsRowDomV4 .adminHtmlEditor-bulletListSelect {
            min-width: 170px;
            max-width: 190px;
        }


    
        /* NETES_EDITOR_BULLET_LIST_PRO_MARKERS_V2 */
        .adminHtmlEditor-visual ul.netes-list-bullet-pro {
            list-style-type: none !important;
            margin-left: 0 !important;
            padding-left: 0 !important;
        }

        .adminHtmlEditor-visual ul.netes-list-bullet-pro > li {
            list-style-type: none !important;
        }

        .adminHtmlEditor-visual span[data-netes-bullet-marker="1"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.45em;
            min-width: 1.45em;
            margin-right: .58em;
            font-weight: 900;
            font-size: 1.18em;
            line-height: 1;
            vertical-align: -0.05em;
            text-shadow:
                0 1px 0 rgba(255,255,255,.72),
                0 2px 5px rgba(15,23,42,.22);
            transform: translateY(-0.01em);
            user-select: none;
        }

        .adminHtmlEditor-visual span[data-netes-list-text="1"] {
            color: #111827;
        }


    
        /* NETES_EDITOR_LIST_INDENT_OUTDENT_V1 */
        .adminHtmlEditor-visual li[data-netes-list-indent-level] {
            transition: margin-left .12s ease;
        }


    
        /* NETES_EDITOR_LIST_INDENT_PERSIST_V2 */
        .adminHtmlEditor-visual li[data-netes-list-indent-level="1"] { margin-left: 1.45em; }
        .adminHtmlEditor-visual li[data-netes-list-indent-level="2"] { margin-left: 2.90em; }
        .adminHtmlEditor-visual li[data-netes-list-indent-level="3"] { margin-left: 4.35em; }
        .adminHtmlEditor-visual li[data-netes-list-indent-level="4"] { margin-left: 5.80em; }
        .adminHtmlEditor-visual li[data-netes-list-indent-level="5"] { margin-left: 7.25em; }
        .adminHtmlEditor-visual li[data-netes-list-indent-level="6"] { margin-left: 8.70em; }


    
        /* NETES_EDITOR_MIXED_LIST_INDENT_MODE_V1 */
        .adminHtmlEditor-visual li[data-netes-mixed-list-kind] {
            list-style-type: none !important;
        }

        .adminHtmlEditor-visual span[data-netes-mixed-marker="1"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.45em;
            min-width: 1.45em;
            margin-right: .58em;
            font-weight: 900;
            font-size: 1.18em;
            line-height: 1;
            vertical-align: -0.05em;
            text-shadow:
                0 1px 0 rgba(255,255,255,.72),
                0 2px 5px rgba(15,23,42,.22);
            transform: translateY(-0.01em);
            user-select: none;
        }

        .adminHtmlEditor-visual span[data-netes-mixed-text="1"] {
            color: #111827;
        }


    
        /* NETES_EDITOR_NUMBER_LIST_COLOR_SHAPES_V2 */
        .adminHtmlEditor-visual ol.netes-list-number > li::marker {
            font-weight: 900;
            text-shadow:
                0 1px 0 rgba(255,255,255,.72),
                0 2px 5px rgba(15,23,42,.20);
        }

        .adminHtmlEditor-visual ol.netes-list-number-classic-blue > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-leading-blue > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-roman-blue > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-alpha-blue > li::marker { color: #2563eb; }

        .adminHtmlEditor-visual ol.netes-list-number-classic-gold > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-leading-gold > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-roman-gold > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-alpha-gold > li::marker { color: #b8891f; }

        .adminHtmlEditor-visual ol.netes-list-number-classic-emerald > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-leading-emerald > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-roman-emerald > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-alpha-emerald > li::marker { color: #059669; }

        .adminHtmlEditor-visual ol.netes-list-number-classic-rose > li::marker,
        .adminHtmlEditor-visual ol.netes-list-number-alpha-rose > li::marker { color: #e11d48; }


    
        /* NETES_EDITOR_MIXED_LIST_PER_LINE_V2 */
        .adminHtmlEditor-visual li[data-netes-mixed-list-kind] {
            list-style-type: none !important;
        }

        .adminHtmlEditor-visual span[data-netes-mixed-marker="1"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.45em;
            min-width: 1.45em;
            margin-right: .58em;
            font-weight: 900;
            font-size: 1.18em;
            line-height: 1;
            vertical-align: -0.05em;
            text-shadow:
                0 1px 0 rgba(255,255,255,.72),
                0 2px 5px rgba(15,23,42,.22);
            transform: translateY(-0.01em);
            user-select: none;
        }

        .adminHtmlEditor-visual span[data-netes-mixed-text="1"] {
            color: #111827;
        }


    
        /* NETES_EDITOR_MIXED_LIST_MULTI_SELECT_V3 */
        .adminHtmlEditor-visual li[data-netes-mixed-list-kind] {
            list-style-type: none !important;
        }

        .adminHtmlEditor-visual span[data-netes-mixed-marker="1"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.45em;
            min-width: 1.45em;
            margin-right: .58em;
            font-weight: 900;
            font-size: 1.18em;
            line-height: 1;
            vertical-align: -0.05em;
            text-shadow:
                0 1px 0 rgba(255,255,255,.72),
                0 2px 5px rgba(15,23,42,.22);
            transform: translateY(-0.01em);
            user-select: none;
        }

        .adminHtmlEditor-visual span[data-netes-mixed-text="1"] {
            color: #111827;
        }


    
        /* NETES_EDITOR_COLOR_OK_APPLY_V1 */
        .adminHtmlEditor-colorOkBtn {
            min-width: 44px;
            height: 38px;
            padding: 0 12px;
            border-radius: 10px;
            font-weight: 800;
            letter-spacing: .02em;
            border: 1px solid rgba(148, 163, 184, .75);
            background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
            color: #111827;
            box-shadow: 0 1px 2px rgba(15, 23, 42, .12);
        }

        .adminHtmlEditor-colorOkBtn:hover,
        .adminHtmlEditor-colorOkBtn:focus {
            background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%);
            border-color: rgba(79, 70, 229, .72);
        }


    
        /* NETES_EDITOR_COLOR_PANEL_OK_V2_FIX */
        .adminHtmlEditor-colorDock {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .adminHtmlEditor-colorTrigger {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 40px;
            padding: 0 12px;
        }

        .adminHtmlEditor-colorPreview {
            width: 18px;
            height: 18px;
            border-radius: 999px;
            border: 2px solid #ffffff;
            outline: 1px solid rgba(15, 23, 42, .35);
            box-shadow: 0 1px 4px rgba(15, 23, 42, .22);
            background: #333333;
            flex: 0 0 auto;
        }

        .adminHtmlEditor-colorPanel {
            position: absolute;
            z-index: 80;
            top: calc(100% + 10px);
            left: 0;
            width: 282px;
            padding: 12px;
            border-radius: 16px;
            border: 1px solid rgba(100, 116, 139, .48);
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            box-shadow: 0 24px 48px rgba(15, 23, 42, .24), 0 8px 18px rgba(15, 23, 42, .16);
            display: none;
        }

        .adminHtmlEditor-colorPanel.is-open {
            display: block;
        }

        .adminHtmlEditor-colorPanelTitle {
            font-size: 13px;
            font-weight: 800;
            color: #111827;
            margin: 0 0 10px;
        }

        .adminHtmlEditor-colorGrid {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 7px;
            margin-bottom: 12px;
        }

        .adminHtmlEditor-colorSwatchBtn {
            width: 24px;
            height: 24px;
            border-radius: 999px;
            border: 2px solid #ffffff;
            outline: 1px solid rgba(100, 116, 139, .55);
            box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
            cursor: pointer;
        }

        .adminHtmlEditor-colorSwatchBtn.is-selected {
            outline: 2px solid #1d4ed8;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
        }

        .adminHtmlEditor-colorFields {
            display: grid;
            grid-template-columns: 72px 1fr;
            gap: 10px;
            align-items: end;
            margin-bottom: 12px;
        }

        .adminHtmlEditor-colorFieldLabel {
            display: flex;
            flex-direction: column;
            gap: 5px;
            font-size: 11px;
            font-weight: 700;
            color: #475569;
        }

        .adminHtmlEditor-colorInput {
            width: 64px;
            height: 38px;
            padding: 2px;
            border-radius: 10px;
            border: 1px solid rgba(100, 116, 139, .55);
            background: #ffffff;
        }

        .adminHtmlEditor-colorHexInput {
            height: 38px;
            padding: 8px 10px;
            border-radius: 10px;
            border: 1px solid rgba(100, 116, 139, .55);
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 13px;
            color: #111827;
        }

        .adminHtmlEditor-colorActions {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            padding-top: 10px;
            border-top: 1px solid rgba(148, 163, 184, .38);
        }

        .adminHtmlEditor-colorCancelBtn {
            min-width: 72px;
            height: 38px;
            border-radius: 10px;
            border: 1px solid rgba(148, 163, 184, .75);
            background: #ffffff;
            color: #334155;
            font-weight: 750;
        }

/* --- NEXT STYLE BLOCK --- */

/* NETES_EDITOR_MEDIA_EMBED_REBUILD_CLEAN_V1 */
.netesVideoOverlayCleanV1 {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(10, 14, 24, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.netesVideoModalCleanV1 {
    position: relative;
    width: min(820px, 96vw);
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(15,23,42,.16);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
    padding: 22px;
    font-family: Arial, sans-serif;
}

.netesVideoModalCleanV1 h3 {
    margin: 0 42px 10px 0;
    font-size: 22px;
    line-height: 1.25;
}

.netesVideoHintCleanV1 {
    margin: 0 0 16px 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.netesVideoModalCleanV1 label {
    display: block;
    margin: 12px 0 6px;
    color: #1f2937;
    font-weight: 700;
    font-size: 13px;
}

.netesVideoModalCleanV1 textarea,
.netesVideoModalCleanV1 input,
.netesVideoModalCleanV1 select {
    width: 100%;
    box-sizing: border-box;
    background: #f8fafc;
    color: #111827;
    border: 1px solid rgba(15,23,42,.22);
    border-radius: 10px;
    padding: 10px;
    font: 14px/1.4 Arial, sans-serif;
}

.netesVideoPreviewWrapCleanV2 {
    margin: 12px 0 14px;
    background: #f1f5f9;
    border: 1px solid rgba(15,23,42,.14);
    border-radius: 14px;
    padding: 12px;
}

.netesVideoPreviewTitleCleanV2 {
    font-size: 13px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 8px;
}

.netesVideoPreviewCleanV2 {
    min-height: 70px;
    background: #ffffff;
    border: 1px dashed rgba(15,23,42,.22);
    border-radius: 12px;
    padding: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.netesVideoPreviewCleanV2.is-error {
    color: #b91c1c;
    border-color: rgba(185,28,28,.35);
    background: #fff1f2;
}

.netesVideoPreviewCleanV2 .netes-embed-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.netesVideoGridCleanV1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.netesVideoRatioCleanV2 {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-height: 38px;
}

.netesVideoRatioCleanV2 input {
    width: auto !important;
}

.netesVideoActionsCleanV1 {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.netesVideoActionsCleanV1 button,
.netesVideoCloseCleanV1 {
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

.netesVideoDeleteCleanV1 {
    background: #dc2626;
    color: #fff;
    padding: 10px 16px;
}

.netesVideoDeleteCleanV1:hover {
    background: #b91c1c;
}

.netesVideoCancelCleanV1 {
    background: #334155;
    color: #fff;
    padding: 10px 16px;
}

.netesVideoSaveCleanV1 {
    background: #d6a83b;
    color: #111827;
    padding: 10px 16px;
}

.netesVideoCloseCleanV1 {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: #1f2937;
    color: #fff;
    font-size: 24px;
    line-height: 34px;
}

.adminHtmlEditor-visual .netes-embed-block,
[data-admin-html-editor-visual] .netes-embed-block {
    min-height: 40px;
    outline: 1px dashed rgba(214,168,59,.45);
    cursor: pointer;
}

.adminHtmlEditor-visual .netes-embed-block iframe,
[data-admin-html-editor-visual] .netes-embed-block iframe {
    pointer-events: none;
}

@media (max-width: 760px) {
    .netesVideoGridCleanV1 {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- NEXT STYLE BLOCK --- */

/* NETES_EDITOR_MEDIA_EMBED_PANEL_SCROLL_FIX_V2 */

/* Cała zasłona panelu ma pozwalać na przewijanie */
.netesVideoOverlayCleanV1 {
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

/* Sam modal nie może wyjść poza ekran */
.netesVideoModalCleanV1 {
    max-height: calc(100vh - 32px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin: 0 auto 20px auto !important;
    box-sizing: border-box !important;
    overscroll-behavior: contain !important;
}

/* Podgląd ma być niski i przewijany */
.netesVideoPreviewWrapCleanV2 {
    margin: 10px 0 12px !important;
    padding: 10px !important;
}

.netesVideoPreviewCleanV2 {
    display: block !important;
    height: 170px !important;
    min-height: 120px !important;
    max-height: 170px !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    scrollbar-gutter: stable !important;
    align-items: initial !important;
    justify-content: initial !important;
    box-sizing: border-box !important;
}

/* Wysokie iframe, np. Facebook Reels, zostaje w małym oknie preview */
.netesVideoPreviewCleanV2 .netes-embed-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: max-content !important;
    max-width: 100% !important;
}

.netesVideoPreviewCleanV2 iframe {
    display: block !important;
    max-width: 100% !important;
}

/* Przyciski stale widoczne przy przewijaniu panelu */
.netesVideoActionsCleanV1 {
    position: sticky !important;
    bottom: -22px !important;
    z-index: 5 !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(15,23,42,.12) !important;
    padding: 12px 0 0 0 !important;
    margin-top: 12px !important;
}

/* Ładniejsze paski przewijania */
.netesVideoPreviewCleanV2::-webkit-scrollbar,
.netesVideoModalCleanV1::-webkit-scrollbar,
.netesVideoOverlayCleanV1::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
}

.netesVideoPreviewCleanV2::-webkit-scrollbar-thumb,
.netesVideoModalCleanV1::-webkit-scrollbar-thumb,
.netesVideoOverlayCleanV1::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, .58) !important;
    border-radius: 999px !important;
}

.netesVideoPreviewCleanV2::-webkit-scrollbar-track,
.netesVideoModalCleanV1::-webkit-scrollbar-track,
.netesVideoOverlayCleanV1::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, .85) !important;
    border-radius: 999px !important;
}

@media (max-height: 720px) {
    .netesVideoPreviewCleanV2 {
        height: 130px !important;
        max-height: 130px !important;
    }

    .netesVideoModalCleanV1 {
        max-height: calc(100vh - 20px) !important;
    }
}

@media (max-width: 760px) {
    .netesVideoModalCleanV1 {
        width: 96vw !important;
        padding: 16px !important;
    }

    .netesVideoActionsCleanV1 {
        flex-wrap: wrap !important;
        bottom: -16px !important;
    }
}

/* --- NEXT STYLE BLOCK --- */

/* NETES_EDITOR_MEDIA_EMBED_EMERGENCY_INSERT_V5 */
.netesVideoEmergencyInsertV5 {
    background: #16a34a !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 18px rgba(22,163,74,.24) !important;
}

.netesVideoEmergencyInsertV5:hover {
    background: #15803d !important;
}

/* --- NEXT STYLE BLOCK --- */

/* NETES_EDITOR_VIDEO_CORE_INSERT_BUTTON_V6 */
.netesVideoCoreInsertV6 {
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-weight: 900 !important;
    box-shadow: 0 6px 18px rgba(37,99,235,.25) !important;
}

.netesVideoCoreInsertV6:hover {
    background: #1d4ed8 !important;
}

/* --- NEXT STYLE BLOCK --- */

/* NETES_EDITOR_VIDEO_EDIT_REPLACE_X_V7 */
.netesVideoEditReplaceXV7 {
    background: #0f766e !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-weight: 900 !important;
    box-shadow: 0 6px 18px rgba(15,118,110,.25) !important;
}

.netesVideoEditReplaceXV7:hover {
    background: #115e59 !important;
}
