:root {
            --odi-brand-red: #D3212B;
            --odi-brand-red-dark: #B71C1C;
            --odi-brand-dark: #2B2F33;
            --odi-brand-slate: #555D61;
            --odi-brand-gray-light: #E5E8EB;
            --odi-brand-bg-soft: #F8F9FA;
            --odi-brand-soft-bg: var(--odi-brand-bg-soft);
            --odi-brand-white: #FFFFFF;
            --odi-yellow: #FFE500;
            --odi-card-radius: 8px;
            --odi-card-shadow: 0 2px 6px rgba(43, 47, 51, 0.02);
            --odi-card-border: 1px solid var(--odi-brand-gray-light);
            --odi-section-heading-size: 13px;
        }

        #odi-dashboard-app { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size:14px; background:var(--odi-brand-bg-soft); color:var(--odi-brand-dark); min-height:100vh; padding-bottom:0; box-sizing:border-box; display:flex; flex-direction:column; }
        #odi-dashboard-app * { box-sizing:border-box; }
        /* Motyw WP nie może rozciągać SVG / buttonów w panelu (po zejściu z Bricks).
           NIE używaj font:inherit (shorthand kasuje font-size i przebija .odi-btn-add {12px}). */
        #odi-dashboard-app button,
        #odi-dashboard-app a.odi-btn-add,
        #odi-dashboard-app a.odi-btn-add-alt,
        #odi-dashboard-app a.odi-icon-btn {
            font-family: inherit;
            line-height: 1.2;
            vertical-align: middle;
        }
        #odi-dashboard-app .odi-btn-add,
        #odi-dashboard-app .odi-btn-add-alt,
        #odi-dashboard-app .odi-btn-muted {
            font-size: 12px;
            font-weight: 800;
            line-height: 1.2;
        }
        #odi-dashboard-app .odi-icon-btn__lab {
            font-size: 9px;
            font-weight: 800;
            line-height: 1.1;
        }
        #odi-dashboard-app .odi-icon-btn--labeled .odi-icon-btn__lab {
            font-size: 12px;
            font-weight: 700;
            line-height: 1.2;
        }
        /* max-width:100% na svg w flex kolumnie = rozjazd ikon (nav + karty). */
        #odi-dashboard-app svg {
            max-width: none;
            flex-shrink: 0;
            overflow: visible;
            vertical-align: middle;
        }
        #odi-dashboard-app .odi-nav-actions .odi-btn-add svg,
        #odi-dashboard-app .odi-nav-actions .odi-btn-add-alt svg {
            width: 14px !important;
            height: 14px !important;
            max-width: 14px !important;
            max-height: 14px !important;
            display: block;
        }
        #odi-dashboard-app .odi-param-item::before,
        #odi-dashboard-app .odi-param-label::before,
        #odi-dashboard-app .odi-param-val::before {
            content: none !important;
            display: none !important;
        }
        /* Kafelki: chrome statusu / flagi muszą zostać w .odi-card-media (nie na footerze). */
        #odi-dashboard-app .odi-card {
            container-type: inline-size;
            container-name: odi-card;
        }
        #odi-dashboard-app .odi-card-media {
            position: relative;
            overflow: hidden;
            isolation: isolate;
            aspect-ratio: 16 / 10;
            height: auto;
            min-height: 120px;
        }
        #odi-dashboard-app .odi-card--compact .odi-card-media {
            min-height: 110px;
        }
        /* Lewy stack (SEO + EN) / social: srodek wysokosci zdjecia (16/10); nad isolation media. */
        #odi-dashboard-app .odi-card-edge-stack--left,
        #odi-dashboard-app .odi-card-edge--social {
            top: 55px; /* fallback: polowa min-height compact (~110px) */
            transform: translateY(-50%);
            z-index: 40;
        }
        @supports (width: 1cqw) {
            #odi-dashboard-app .odi-card-edge-stack--left,
            #odi-dashboard-app .odi-card-edge--social {
                top: calc(100cqw * 10 / 16 * 0.5);
            }
        }
        #odi-dashboard-app .odi-card-edge-stack--left {
            pointer-events: none;
        }
        #odi-dashboard-app .odi-card-edge-stack--left .odi-card-edge--i18n {
            pointer-events: auto;
        }
        #odi-dashboard-app .odi-card-edge--social {
            pointer-events: none;
        }
        #odi-dashboard-app .odi-card-edge--seo svg {
            width: 14px;
            height: 14px;
            display: block;
        }
        #odi-dashboard-app .odi-card-edge--seo.is-off .odi-card-edge-dot {
            border-color: #475569;
            background: #64748b;
        }
        #odi-dashboard-app .odi-card-media .odi-photo-chrome,
        #odi-dashboard-app .odi-card-media .odi-photo-chrome-flags,
        #odi-dashboard-app .odi-card-media .odi-photo-chrome-top,
        #odi-dashboard-app .odi-card-media .odi-listing-status-overlay {
            position: absolute;
            inset: 0;
            pointer-events: none;
        }
        #odi-dashboard-app .odi-card-media .odi-status-age {
            position: absolute;
            left: 8px;
            bottom: 8px;
            right: auto;
            top: auto;
            z-index: 30;
            color: #fff;
            background: rgba(43, 47, 51, 0.94);
            max-width: calc(50% - 10px);
        }
        #odi-dashboard-app .odi-card-media .odi-photo-flags {
            position: absolute;
            right: 6px;
            bottom: 6px;
            left: auto;
            top: auto;
            z-index: 20;
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: flex-end;
            gap: 3px;
            max-width: none;
            width: auto;
        }
        
        .odi-dash-topbar { position:relative; background:var(--odi-brand-dark); color:#fff; padding:12px 30px; display:flex; justify-content:space-between; align-items:center; gap:16px; border-bottom:3px solid var(--odi-brand-red); }
        .odi-dash-brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; flex-shrink:0; }
        .odi-dash-brand:hover { color:#fff; }
        /* Biała płytka jak hero chrome - ta sama wysokość co dawne logo (36px). */
        .odi-dash-logo-plate {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            height:36px;
            padding:4px 7px;
            background:#fff;
            border-radius:8px;
            box-shadow:0 1px 4px rgba(0,0,0,0.14);
            box-sizing:border-box;
        }
        .odi-brand-svg-logo { display:block; height:26px; width:auto; max-width:110px; object-fit:contain; }
        .odi-brand-text { font-weight:700; font-size:12px; letter-spacing:0.02em; color:#fff; white-space:nowrap; }
        
        .odi-dash-user { font-size:13px; display:flex; align-items:center; gap:12px; color:#fff; min-width:0; }
        .odi-dash-tools { display:inline-flex; align-items:center; gap:4px; background:rgba(255,255,255,0.06); border-radius:8px; padding:3px; position:relative; }
        .odi-btn-logout { color:#fff; text-decoration:none; background:rgba(255,255,255,0.15); padding:8px 12px; border-radius:6px; font-weight:700; transition:background 0.2s; display:inline-flex; align-items:center; gap:6px; font-size:12px; line-height:1; }
        .odi-btn-logout:hover { background:var(--odi-brand-red); color:#fff; }
        
        .odi-dash-nav {
			background:var(--odi-brand-white);
			padding:10px 24px;
			display:flex;
			gap:16px;
			border-bottom:1px solid var(--odi-brand-gray-light);
			align-items:center;
			justify-content:space-between;
			flex-wrap:nowrap;
		}
		.odi-nav-tabs {
			display:flex;
			align-items:stretch;
			gap:2px;
			flex-wrap:wrap;
			min-width:0;
			flex:1 1 auto;
		}
        .odi-nav-btn {
			background:none;
			border:none;
			padding:8px 10px;
			font-weight:700;
			color:var(--odi-brand-slate);
			cursor:pointer;
			border-radius:8px;
			font-size:11px;
			line-height:1.2;
			transition:all 0.15s;
			display:inline-flex;
			flex-direction:column;
			align-items:center;
			justify-content:center;
			gap:5px;
			min-width:72px;
			text-align:center;
		}
        .odi-nav-btn.active { background:var(--odi-brand-dark); color:#fff; }
        .odi-nav-btn-ico { width:22px; height:22px; color:#111; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; }
        .odi-nav-btn-ico svg { width:22px; height:22px; display:block; }
        .odi-nav-btn.active .odi-nav-btn-ico { color:#fff; }
		.odi-nav-btn-lab { display:block; max-width:7.5em; }
        .odi-nav-actions {
			display:flex;
			gap:8px;
			margin-left:auto;
			flex-shrink:0;
			flex-wrap:wrap;
			justify-content:flex-end;
			align-items:center;
		}
        .odi-panel-mobile-tab { display:none; }
        .odi-panel-mobile-backdrop[hidden] { display:none !important; }
        /* Panel button system — primary / secondary / tertiary */
        .odi-btn-add,
        .odi-btn-add-alt,
        .odi-btn-muted,
        .odi-btn-table,
        .odi-btn-table-del {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            gap:6px;
            margin:0;
            box-sizing:border-box;
            font-family:inherit;
            line-height:1.2;
            text-decoration:none;
            cursor:pointer;
            border-style:solid;
            border-width:1px;
            transition:background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
        }
        .odi-btn-add,
        .odi-btn-add-alt,
        .odi-btn-muted {
            min-height:36px;
            padding:8px 14px;
            border-radius:8px;
            font-size:12px;
            font-weight:800;
        }
        /* Motyw WP (TT5 itd.) potrafi rozciągać SVG w przyciskach - twardy rozmiar. */
        .odi-nav-actions .odi-btn-add svg,
        .odi-nav-actions .odi-btn-add-alt svg,
        .odi-btn-add > svg,
        .odi-btn-add-alt > svg {
            width:14px;
            height:14px;
            max-width:14px;
            max-height:14px;
            display:block;
            flex:0 0 auto;
            margin:0;
            overflow:visible;
        }
        .odi-btn-add { background:var(--odi-brand-red); border-color:var(--odi-brand-red); color:#fff; }
        .odi-btn-add.is-save-ok { background:#1f8a4c !important; border-color:#1f8a4c !important; color:#fff !important; }
        .odi-btn-add:hover { background:var(--odi-brand-red-dark); border-color:var(--odi-brand-red-dark); color:#fff; }
        .odi-btn-add-alt { background:var(--odi-brand-dark); border-color:var(--odi-brand-dark); color:#fff; }
        .odi-btn-add-alt:hover { background:#1a1d20; border-color:#1a1d20; color:#fff; }
        .odi-btn-muted {
            background:#fff;
            border-color:var(--odi-brand-gray-light);
            color:var(--odi-brand-dark);
            box-shadow:0 1px 2px rgba(43,47,51,.04);
        }
        .odi-btn-muted:hover {
            background:var(--odi-brand-bg-soft);
            border-color:#cfd4d8;
            color:var(--odi-brand-dark);
        }
        .odi-panel-toolbar { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }

        .odi-tab-content { padding:20px 24px; max-width:none; width:100%; margin:0; display:none; }
        /* Widoczna zakładka bez [hidden] - nie zależymy od jQuery .show() / inline display. */
        .odi-tab-content:not([hidden]) { display:block; }
        /* Stabilna izolacja: [hidden] / aria-hidden wygrywa z ewentualnym inline display. */
        .odi-tab-content[hidden],
        .odi-tab-content[aria-hidden="true"] { display:none !important; }

        .odi-compact-stats { display:flex; gap:12px; margin-bottom:15px; flex-wrap:wrap; }
        .odi-stat-pill { background:#fff; border:1px solid var(--odi-brand-gray-light); padding:6px 14px; border-radius:20px; font-size:12px; color:var(--odi-brand-slate); font-weight:600; box-shadow:0 1px 3px rgba(43,47,51,0.03); }

        .odi-filter-bar { background:#fff; padding:16px 20px; border-radius:8px; border:1px solid var(--odi-brand-gray-light); margin-bottom:25px; display:flex; flex-direction:column; gap:14px; }
        .odi-filter-bar--crm { flex-direction:row; flex-wrap:wrap; align-items:stretch; gap:10px; padding:10px 14px; margin-bottom:14px; }
        .odi-filter-bar--crm .odi-filter-group { flex:0 1 180px; min-width:140px; }
        .odi-filter-bar--crm .odi-filter-group--grow { flex:1 1 260px; min-width:200px; }
        .odi-filter-bar--crm .odi-filter-group select,
        .odi-filter-bar--crm .odi-filter-group input { min-height:36px !important; padding:6px 10px !important; }
        .odi-filter-bar--crm .odi-filter-group {
                grid-template-rows:auto minmax(36px, auto);
        }
        .odi-filter-bar--crm .odi-filter-group__control {
                min-height:36px;
        }
        .odi-filter-row { display:flex; gap:12px; flex-wrap:wrap; align-items:stretch; }
        .odi-filter-row--sliders { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(180px,220px); gap:12px; align-items:end; }
        .odi-filter-group {
                display:grid;
                grid-template-rows:auto minmax(var(--odi-filter-control-min, 44px), auto);
                gap:4px;
                flex:1;
                min-width:160px;
                align-content:start;
        }
        .odi-filter-group > label:not(.odi-seo-panel-check),
        .odi-filter-group > .odi-line-heading {
                grid-row:1;
                margin:0;
        }
        .odi-filter-group > select,
        .odi-filter-group > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
        .odi-filter-group > .odi-filter-group__control,
        .odi-filter-group > .odi-panel-filter-pills {
                grid-row:2;
        }
        .odi-filter-group__control {
                display:flex;
                align-items:center;
                min-height:var(--odi-filter-control-min, 44px);
                min-width:0;
        }
        .odi-filter-group .odi-filter-check-inline.odi-seo-panel-check {
                align-items:center !important;
                font-size:13px !important;
                font-weight:600 !important;
                text-transform:none !important;
                letter-spacing:0 !important;
                color:var(--odi-brand-dark) !important;
        }
        .odi-filter-group .odi-filter-check-inline input {
                margin-top:0 !important;
        }
        .odi-filter-sort { flex:0 0 200px; min-width:180px; margin-left:0; }
        .odi-filter-slider { background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:10px 12px 12px; min-width:0; overflow:visible; }
        .odi-slider-top-meta { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-bottom:4px; }
        .odi-meta-title { font-size:10px; font-weight:800; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:0.3px; }
        .odi-meta-val { font-size:11px; font-weight:900; color:var(--odi-brand-red); text-align:right; font-variant-numeric:tabular-nums; }
        .odi-dual-range { position:relative; width:100%; height:32px; user-select:none; touch-action:none; overflow:visible; }
        .odi-dual-range-track { position:absolute; top:50%; left:11px; right:11px; height:5px; transform:translateY(-50%); background:#CBD5E1; border-radius:3px; }
        .odi-dual-range-fill { position:absolute; top:0; height:100%; background:var(--odi-brand-red); border-radius:3px; }
        .odi-dual-range-thumb { position:absolute; top:50%; width:22px; height:22px; margin-left:-11px; margin-top:-11px; border-radius:50%; background:#fff; border:3px solid var(--odi-brand-red); box-shadow:0 1px 4px rgba(0,0,0,0.18); cursor:grab; z-index:2; }
        .odi-dual-range-thumb:hover, .odi-dual-range-thumb.odi-thumb-active { transform:scale(1.12); z-index:3; }
        .odi-filter-group label { font-size:11px; font-weight:800; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:0.5px; }
        .odi-filter-group select, .odi-filter-group input { padding:8px 12px !important; border:1px solid var(--odi-brand-gray-light) !important; border-radius:6px !important; font-size:13px !important; outline:none; background-color:#fff !important; width:100% !important; min-height:44px !important; height:auto !important; color:var(--odi-brand-dark) !important; font-family:inherit; line-height:1.35 !important; }
        .odi-filter-group select:focus, .odi-filter-group input:focus { border-color:var(--odi-brand-red) !important; }
        .odi-input-range { display:flex; gap:5px; }

        .odi-cards-grid { display:grid; grid-template-columns:1fr; gap:14px; align-items:stretch; }
        .odi-card.odi-card-hidden-filter,
        .odi-card.odi-card-hidden-page { display:none !important; }
        .odi-card { position:relative; background:#fff; border-radius:var(--odi-card-radius, 8px); overflow:visible; border:1px solid var(--odi-brand-gray-light); display:flex; flex-direction:column; box-shadow:0 4px 14px rgba(43,47,51,0.05); min-width:0; }
        .odi-card-media { overflow:hidden; border-radius:var(--odi-card-radius, 8px) var(--odi-card-radius, 8px) 0 0; }
        .odi-card:hover { border-color:#cfd4d8; box-shadow:0 8px 22px rgba(43,47,51,0.08); }
        .odi-card-edge-stack--left {
                position:absolute;
                left:0;
                z-index:24;
                display:flex;
                flex-direction:column;
                align-items:stretch;
                gap:4px;
                pointer-events:none;
        }
        .odi-card-edge {
                position:absolute;
                top:50%;
                z-index:24;
                transform:translateY(-50%);
                display:flex;
                flex-direction:column;
                align-items:center;
                gap:3px;
                pointer-events:none;
        }
        .odi-card-edge-stack--left .odi-card-edge {
                position:relative;
                top:auto;
                left:auto;
                right:auto;
                bottom:auto;
                transform:none;
        }
        .odi-card-edge--seo {
                left:0;
                min-width:22px;
                padding:7px 5px;
                border-radius:0 6px 6px 0;
                background:#fff;
                border:1px solid #cfd4d8;
                border-left:0;
                box-shadow:0 1px 3px rgba(43,47,51,.12);
                color:#64748b;
        }
        .odi-card-edge--seo.is-ok {
                color:#0f7a3a;
                background:#e8f6ee;
                border-color:rgba(15,122,58,.35);
        }
        .odi-card-edge--seo.is-off .odi-card-edge-dot {
                width:8px; height:8px; border-radius:50%;
                border:1.5px solid #475569; background:#64748b;
        }
        .odi-card-edge--social {
                right:0;
                padding:5px 2px 5px 4px;
                border-radius:6px 0 0 6px;
                background:rgba(255,255,255,.92);
                border:1px solid var(--odi-brand-gray-light);
                border-right:0;
        }
        .odi-card-edge-plat {
                font-size:8px; font-weight:800; letter-spacing:.02em; line-height:1;
                padding:2px 3px; border-radius:3px; color:#94a3b8;
        }
        .odi-card-edge-plat.is-on { color:#0f7a3a; background:rgba(15,122,58,.12); }
        .odi-card-edge-plat.is-off { opacity:.55; }
        .odi-card-media { position:relative; aspect-ratio:16/10; height:auto; min-height:120px; background:var(--odi-brand-dark); cursor:pointer; }
        .odi-card--compact .odi-card-media { min-height:110px; }
        .odi-card-img { width:100%; height:100%; object-fit:cover; display:block; }
        .odi-card-img--empty { background:linear-gradient(135deg, #3a4046 0%, var(--odi-brand-dark) 100%); }
        .odi-card-ribbon { position:absolute; top:0; left:0; right:0; z-index:23; background:var(--odi-brand-dark); color:#fff; font-size:10px; font-weight:800; letter-spacing:0.8px; text-transform:uppercase; text-align:center; padding:5px 10px 6px; pointer-events:none; border:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; width:100%; box-sizing:border-box; font-family:inherit; line-height:1.15; }
        .odi-card-ribbon--draft { background:#555D61; }
        .odi-card-ribbon-label { display:block; }
        .odi-card-ribbon-hint { display:block; font-size:9px; font-weight:600; letter-spacing:0.2px; text-transform:none; opacity:0.92; }
        .odi-card-media--draft-publish { cursor:pointer; }
        .odi-card-media--draft-publish:hover .odi-card-ribbon--draft,
        .odi-card-media--draft-publish:focus-visible .odi-card-ribbon--draft { background:#2B2F33; }
        .odi-card-media--draft-publish:focus-visible { outline:2px solid var(--odi-brand-red); outline-offset:2px; }
        .odi-card-media:has(.odi-card-ribbon) .odi-photo-id,
        .odi-card-media:has(.odi-card-ribbon) .odi-photo-cat { top:40px; }
        
        .odi-badge-id { position:absolute; top:10px; left:10px; background:rgba(43,47,51,0.94); color:#fff; font-size:11px; font-weight:800; padding:4px 9px; border-radius:4px; border-left:3px solid var(--odi-brand-red); z-index:20; }
        .odi-badge-type-icon { position:absolute; top:10px; right:10px; background:rgba(43,47,51,0.88); color:#ffffff; font-size:10px; font-weight:800; padding:4px 8px; border-radius:4px; z-index:20; }
        .odi-badge-readonly { position:absolute; left:10px; bottom:14px; z-index:21; }
        .odi-card-new { position:absolute; right:10px; bottom:14px; z-index:21; background:var(--odi-yellow); color:var(--odi-brand-dark); font-size:10px; font-weight:800; padding:3px 8px; border-radius:4px; letter-spacing:0.4px; text-transform:uppercase; }

        .odi-card-badges-list { padding: 0; display:flex; flex-wrap:wrap; gap:6px; margin: 0 0 10px; }
        .odi-badge { background:var(--odi-brand-dark); color:#ffffff; font-size:10px; font-weight:800; padding:4px 8px; border-radius:4px; letter-spacing:0.5px; border:1px solid var(--odi-brand-slate); }

        .odi-card-body { padding:12px 14px 10px; flex-grow:1; display:flex; flex-direction:column; gap:5px; }
        .odi-card--compact .odi-card-body { padding:10px 12px 8px; gap:4px; }
        .odi-card-kicker { font-size:10px; font-weight:800; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:0.4px; }
        .odi-card-location { font-size:12px; color:var(--odi-brand-slate); font-weight:600; margin-bottom:0; order:3; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
        .odi-address-hint { margin:2px 0 0; font-size:10px; line-height:1.35; color:var(--odi-brand-slate); font-weight:500; }
        .odi-card-title { font-size:14px; font-weight:800; color:var(--odi-brand-dark); margin:0; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; text-decoration:none; cursor:pointer; }
        .odi-card-title:hover { color:var(--odi-brand-red); text-decoration:underline; }
        .odi-card-title:focus-visible { outline:2px solid var(--odi-brand-red); outline-offset:2px; border-radius:2px; }
        .odi-card-params { display:flex; flex-wrap:wrap; gap:6px 12px; background:var(--odi-brand-bg-soft); padding:6px 10px; border-radius:6px; margin:2px 0 0; border:1px solid var(--odi-brand-gray-light); }
        .odi-param-item { display:flex; flex-direction:column; }
        .odi-param-label { font-size:9px; color:var(--odi-brand-slate); text-transform:uppercase; font-weight:700; }
        .odi-param-val { font-size:12px; font-weight:800; color:var(--odi-brand-dark); }
        .odi-card-price-row { display:flex; justify-content:space-between; align-items:flex-end; gap:8px; margin-top:auto; padding-top:6px; }
        .odi-card--compact .odi-card-badges-list { margin:0 0 6px; gap:4px; }
        .odi-card--compact .odi-badge { font-size:9px; padding:3px 6px; }
        .odi-card--compact .odi-address-hint { display:none; }
        .odi-card-sync-badge {
                margin-top: 8px;
                display: inline-flex;
                align-items: center;
                padding: 4px 8px;
                border-radius: 6px;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.02em;
                line-height: 1.3;
        }
        .odi-card-sync-badge--block {
                background: #fff1f1;
                color: #D3212B;
                border: 1px solid #f0c4c6;
        }
        .odi-card-price { font-size:16px; font-weight:900; color:var(--odi-brand-red); margin-top:0; }
        .odi-card-owner { font-size:11px; color:var(--odi-brand-slate); margin-top:0; font-weight:600; text-align:right; }

        .odi-card-footer { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:12px; background:#fff; border-top:1px solid var(--odi-brand-gray-light); }
        .odi-card-footer.is-admin,
        .odi-card-footer.is-owner,
        .odi-card-footer.is-readonly { grid-template-columns:1fr 1fr; }
        .odi-card-footer.odi-card-toolbar {
                display:flex;
                flex-wrap:nowrap;
                align-items:stretch;
                justify-content:space-between;
                gap:3px;
                padding:6px 8px 8px;
                grid-template-columns:none;
                position:relative;
                z-index:5;
        }
        .odi-card-toolbar .odi-icon-btn {
                flex:1 1 0;
                width:auto;
                min-width:0;
                height:auto;
                min-height:0;
                padding:5px 2px 4px;
                flex-direction:column;
                gap:2px;
                border-radius:6px;
        }
        /* Twarde SVG (TT5/max-width) - zostaje po revert toolbaru do 128. */
        .odi-card-toolbar .odi-icon-btn svg,
        .odi-panel-row-toolbar .odi-icon-btn svg {
                width:15px !important;
                height:15px !important;
                max-width:15px !important;
                max-height:15px !important;
                display:block;
                flex:0 0 15px;
                margin:0 auto;
        }
        .odi-icon-btn {
                flex:0 0 auto;
                width:34px;
                height:34px;
                min-height:34px;
                padding:0;
                border:1px solid var(--odi-brand-gray-light);
                border-radius:6px;
                background:#fff;
                color:var(--odi-brand-dark);
                display:inline-flex;
                align-items:center;
                justify-content:center;
                cursor:pointer;
                text-decoration:none;
                transition:background .15s, border-color .15s, color .15s;
        }
        .odi-icon-btn > svg {
                width:15px;
                height:15px;
                max-width:15px;
                max-height:15px;
                display:block;
                flex:0 0 auto;
                margin:0;
        }
        .odi-icon-btn__lab {
                display:block;
                max-width:100%;
                overflow:hidden;
                text-overflow:ellipsis;
                white-space:nowrap;
                font-size:9px;
                font-weight:800;
                line-height:1.1;
                letter-spacing:0.01em;
                color:var(--odi-brand-slate);
                text-align:center;
                pointer-events:none;
        }
        .odi-icon-btn:hover .odi-icon-btn__lab,
        .odi-icon-btn--accent .odi-icon-btn__lab { color:inherit; }
        .odi-icon-btn--labeled {
                width:auto;
                min-width:0;
                height:auto;
                min-height:36px;
                padding:8px 14px;
                flex-direction:row;
                gap:8px;
        }
        .odi-icon-btn--labeled svg { flex-shrink:0; }
        .odi-icon-btn--labeled .odi-icon-btn__lab {
                font-size:12px;
                font-weight:700;
                line-height:1.2;
                color:inherit;
                text-align:left;
        }
        .odi-icon-btn:hover { border-color:var(--odi-brand-slate); background:var(--odi-brand-bg-soft); }
        .odi-icon-btn--accent { border-color:rgba(211,33,43,.35); color:var(--odi-brand-red); }
        .odi-icon-btn--accent:hover { background:rgba(211,33,43,.08); border-color:var(--odi-brand-red); }
        .odi-icon-btn--danger { border-color:rgba(211,33,43,.35); color:var(--odi-brand-red); }
        .odi-icon-btn--danger:hover { background:rgba(211,33,43,.08); border-color:var(--odi-brand-red); }

        .odi-icon-btn[data-tip] { position:relative; }
        .odi-icon-btn[data-tip]::after {
                content:attr(data-tip);
                position:absolute;
                left:50%;
                bottom:calc(100% + 8px);
                transform:translateX(-50%) translateY(4px);
                padding:5px 8px;
                border-radius:6px;
                background:var(--odi-brand-dark);
                color:#fff;
                font-size:11px;
                font-weight:700;
                line-height:1.25;
                white-space:nowrap;
                opacity:0;
                pointer-events:none;
                transition:opacity .12s ease, transform .12s ease;
                z-index:40;
                box-shadow:0 6px 16px rgba(43,47,51,.22);
        }
        .odi-icon-btn[data-tip]::before {
                content:'';
                position:absolute;
                left:50%;
                bottom:calc(100% + 4px);
                transform:translateX(-50%);
                border:5px solid transparent;
                border-top-color:var(--odi-brand-dark);
                opacity:0;
                pointer-events:none;
                transition:opacity .12s ease;
                z-index:40;
        }
        .odi-icon-btn[data-tip]:hover::after,
        .odi-icon-btn[data-tip]:focus-visible::after {
                opacity:1;
                transform:translateX(-50%) translateY(0);
        }
        .odi-icon-btn[data-tip]:hover::before,
        .odi-icon-btn[data-tip]:focus-visible::before { opacity:1; }

        .odi-filter-group--grow.is-searching .odi-filter-search-q { border-color:var(--odi-brand-red) !important; }
        .odi-filter-group--grow.is-searching::after {
                content:'Szukam…';
                position:absolute;
                right:14px;
                bottom:14px;
                font-size:11px;
                font-weight:700;
                color:var(--odi-brand-slate);
                pointer-events:none;
        }
        .odi-filter-group--grow { position:relative; }
        .odi-leave-status { font-size:10px; font-weight:800; padding:2px 8px; border-radius:10px; }
        .odi-leave-status.is-pending { background:#FFF3CD; color:#7A5B00; }
        .odi-leave-status.is-approved { background:#D4EDDA; color:#1E6B34; }
		.odi-leave-status.is-rejected { background:#F8D7DA; color:#8A1C23; }
		.odi-leave-status.is-revoked { background:#E5E8EB; color:#555D61; }
        .odi-btn { border:none; padding:10px 10px; border-radius:6px; font-size:12px; font-weight:700; cursor:pointer; text-align:center; text-decoration:none; transition:opacity 0.15s, background 0.15s; min-height:42px; display:inline-flex; align-items:center; justify-content:center; width:100%; }
        .odi-btn-poi-quick { background:#EEF1F3; color:var(--odi-brand-dark); }
        .odi-btn-edit-quick { background:var(--odi-brand-red); color:#fff; }
        .odi-btn-edit-full { background:var(--odi-brand-dark); color:#fff; }
        .odi-btn-delete { background:#fff; color:#dc3545; border:1px solid #dc3545; min-width:52px; }
        /* Overlay pod toolbar - nie zmienia wysokosci karty / zdjecia. */
        .odi-card-more-actions {
                position:absolute;
                left:0;
                right:0;
                top:100%;
                z-index:80;
                display:grid;
                grid-template-columns:1fr 1fr;
                gap:8px;
                padding:10px 12px;
                margin:0;
                background:#fff;
                border:1px solid var(--odi-brand-gray-light);
                border-top:1px dashed var(--odi-brand-gray-light);
                border-radius:0 0 8px 8px;
                box-shadow:0 12px 28px rgba(43,47,51,0.16);
        }
        .odi-card-more-actions[hidden] { display:none !important; }
        .odi-cards-pager { display:flex; align-items:center; justify-content:center; gap:6px; padding:18px 0 4px; grid-column:1/-1; }
        .odi-cards-pager button { min-width:36px; height:36px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; background:#fff; color:var(--odi-brand-dark); font-size:13px; font-weight:700; cursor:pointer; transition:background .15s,border-color .15s; }
        .odi-cards-pager button:hover { border-color:var(--odi-brand-slate); }
        .odi-cards-pager button.is-active { background:var(--odi-brand-red); border-color:var(--odi-brand-red); color:#fff; }
        .odi-cards-pager button:disabled { opacity:.35; cursor:default; }

        .odi-card-surround { padding:12px 16px 16px; border-top:1px solid var(--odi-brand-gray-light); background:var(--odi-brand-bg-soft); }
        .odi-card-surround[hidden] { display:none; }
        .odi-card-surround.is-open { display:block; }
        .odi-card-surround-empty { font-size:13px; color:var(--odi-brand-slate); margin:0; }
        .odi-inline-card-editor h4 { margin:0 0 12px; font-size:15px; color:var(--odi-brand-dark); }
        .odi-inline-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
        .odi-inline-grid label { display:block; font-size:13px; font-weight:800; color:var(--odi-brand-dark); margin-bottom:6px; line-height:1.4; }
        .odi-inline-grid input,
        .odi-inline-grid select,
        .odi-listing-note-input,
        .odi-listing-note-location,
        .odi-listing-note-kind,
        .odi-listing-note-assignee { width:100%; padding:10px 12px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; color:var(--odi-brand-dark); }
        .odi-inline-qe-auto-wrap { grid-column:1 / -1; }
        .odi-inline-qe-agent-cell { min-width:0; }
        .odi-inline-qe-save-cell {
        	display:flex;
        	flex-direction:column;
        	justify-content:flex-end;
        	min-width:0;
        }
        .odi-inline-qe-save-cell--solo { grid-column:2; }
        .odi-inline-qe-save-spacer {
        	display:block;
        	height:calc(13px * 1.4 + 6px);
        	flex:0 0 auto;
        }
        .odi-inline-qe-save-cell .odi-inline-actions {
        	margin-top:0;
        	width:100%;
        }
        .odi-inline-qe-save-cell .odi-btn-add {
        	width:100%;
        	min-height:42px;
        	white-space:nowrap;
        }
        .odi-inline-actions { display:flex; align-items:center; gap:12px; margin-top:12px; }
        .odi-inline-msg { font-size:12px; color:var(--odi-brand-slate); font-weight:700; }
        .odi-chat { display:grid; gap:12px; }
        .odi-chat__logs { display:grid; gap:10px; }
        .odi-chat__bubble { background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:12px; padding:12px; box-shadow:0 4px 14px rgba(43,47,51,0.05); }
        .odi-chat__bubble.is-todo { border-color:#D3212B; }
        .odi-chat__bubble.is-done { opacity:0.72; }
        .odi-chat__bubble.is-done .odi-chat__text { text-decoration:line-through; }
        .odi-chat__bubble.is-new { border-color:#F5C6CB; box-shadow:0 0 0 1px rgba(211,33,43,0.12); }
        .odi-note-badge-new {
        	display:inline-flex; align-items:center; padding:2px 8px; border-radius:999px;
        	background:#D3212B; color:#fff; font-weight:800; font-size:10px;
        	text-transform:uppercase; letter-spacing:0.04em; margin-right:4px;
        }
        .odi-chat__meta { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:8px; font-size:12px; color:var(--odi-brand-slate); }
        .odi-chat__text { font-size:14px; line-height:1.55; color:var(--odi-brand-dark); }
        .odi-chat__compose { display:grid; gap:10px; }
        .odi-chat__compose-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
        .odi-chat__compose-row label { display:grid; gap:6px; font-size:11px; font-weight:800; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:0.04em; }
        .odi-chat__compose-loc { display:flex; align-items:center; gap:8px; }
        .odi-chat__compose-loc .odi-listing-note-location { flex:1; }
        .odi-chat__empty { margin:0; padding:12px; background:#fff; border:1px dashed var(--odi-brand-gray-light); border-radius:10px; color:var(--odi-brand-slate); font-size:13px; }
        .odi-note-tel { color:#D3212B; font-weight:800; text-decoration:underline; text-underline-offset:2px; }
        .odi-note-maps.odi-icon-btn {
        	flex:0 0 auto;
        	text-decoration:none;
        	align-self:stretch;
        	min-height:42px;
        }
        .odi-note-maps:not(.odi-icon-btn) {
        	display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:6px;
        	background:#fff; color:var(--odi-brand-dark); border:1px solid var(--odi-brand-gray-light);
        	text-decoration:none; font-size:11px; font-weight:800; white-space:nowrap;
        }
        .odi-note-maps:not(.odi-icon-btn):hover { border-color:var(--odi-brand-slate); background:var(--odi-brand-bg-soft); color:var(--odi-brand-dark); }
        .odi-chat__compose-loc .odi-note-maps[hidden] { display:none !important; }
        .odi-note-assignee-tag { display:inline-flex; padding:2px 8px; border-radius:999px; background:#E5E8EB; color:#2B2F33; font-weight:800; font-size:11px; }
        .odi-note-badge { display:inline-flex; padding:2px 8px; border-radius:999px; background:#D3212B; color:#fff; font-weight:800; font-size:10px; text-transform:uppercase; letter-spacing:0.04em; }
        .odi-todo-check { display:inline-flex; align-items:center; gap:6px; font-weight:800; color:#D3212B; }
        .odi-note-loc { margin:8px 0 0; display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; color:#555D61; }

        .odi-pagination { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px; margin-top:24px; }
        .odi-page-nums { display:flex; flex-wrap:wrap; gap:6px; justify-content:center; }
        .odi-page-btn { background:#fff; border:1px solid var(--odi-brand-gray-light); padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:800; font-size:13px; color:var(--odi-brand-dark); text-decoration:none; min-height:44px; display:inline-flex; align-items:center; justify-content:center; line-height:1.2; }
        .odi-page-btn.active { background:var(--odi-brand-red); color:#fff; border-color:var(--odi-brand-red); }
        .odi-page-btn.is-disabled { opacity:0.45; pointer-events:none; }
        .odi-pagination-meta { text-align:center; font-size:12px; color:var(--odi-brand-slate); margin:10px 0 0; font-weight:600; }

        .odi-table-wrapper { background:#fff; border-radius:8px; border:1px solid var(--odi-brand-gray-light); overflow-x:auto; }
        .odi-table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
        .odi-table th { background:var(--odi-brand-dark); color:#fff; padding:12px 15px; font-weight:800; }
        .odi-table td { padding:12px 15px; border-bottom:1px solid var(--odi-brand-gray-light); color:var(--odi-brand-dark); }
        .odi-pill { background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); color:var(--odi-brand-dark); font-size:10px; font-weight:700; padding:3px 6px; border-radius:4px; display:inline-block; }
        .odi-pill-status { background:var(--odi-brand-red); color:#fff; border-color:var(--odi-brand-red); }
        .odi-pill-count-btn {
            display:inline-flex;
            align-items:center;
            gap:6px;
            background:var(--odi-brand-bg-soft);
            border:1px solid var(--odi-brand-gray-light);
            color:var(--odi-brand-dark);
            font-size:12px;
            font-weight:800;
            padding:4px 10px;
            border-radius:var(--odi-card-radius, 8px);
            cursor:pointer;
            transition:all 0.2s;
        }
        .odi-pill-count-btn::before {
            content:"";
            display:inline-block;
            width:6px;
            height:6px;
            flex-shrink:0;
            background:var(--odi-brand-red);
        }
        .odi-pill-count-btn:hover { background:var(--odi-brand-red); color:#fff; border-color:var(--odi-brand-red); }
        .odi-pill-count-btn:hover::before { background:#fff; }
        .odi-btn-table {
            min-height:30px;
            padding:5px 10px;
            border-radius:6px;
            font-size:11px;
            font-weight:800;
            background:var(--odi-brand-dark);
            border-color:var(--odi-brand-dark);
            color:#fff;
        }
        .odi-btn-table:hover { background:#1a1d20; border-color:#1a1d20; color:#fff; }
        .odi-btn-table-del {
            min-height:30px;
            padding:5px 10px;
            border-radius:6px;
            font-size:11px;
            font-weight:800;
            background:#b71c1c;
            border-color:#b71c1c;
            color:#fff;
        }
        .odi-btn-table-del:hover { filter:brightness(0.92); color:#fff; }
        .odi-cell-link { color:var(--odi-brand-dark); text-decoration:none; font-weight:600; }
        .odi-cell-link:hover { color:var(--odi-brand-red); }

        .odi-modal-backdrop { position:fixed; top:0; left:0; width:100vw; height:100vh; background:rgba(43,47,51,0.85); z-index:100000; display:flex; align-items:center; justify-content:center; overflow-x:hidden !important; }
        body .media-modal-backdrop { z-index: 10000040 !important; }
        body .media-modal { z-index: 10000050 !important; }
        .odi-modal-container { background:#fff; width:85vw; max-width:900px; height:88vh; border-radius:12px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 15px 40px rgba(0,0,0,0.4); border-top:4px solid var(--odi-brand-red); }
        .odi-modal-header { background:var(--odi-brand-dark); padding:12px 20px; display:flex; justify-content:space-between; align-items:center; flex-shrink:0; gap:12px; }
        .odi-modal-header .odi-btn-muted,
        .odi-modal-header .js-odi-modal-close {
            background:transparent;
            border-color:rgba(255,255,255,.28);
            color:#fff;
            box-shadow:none;
            min-height:32px;
            padding:6px 12px;
        }
        .odi-modal-header .odi-btn-muted:hover,
        .odi-modal-header .js-odi-modal-close:hover {
            background:rgba(255,255,255,.1);
            border-color:rgba(255,255,255,.5);
            color:#fff;
        }
        .odi-modal-body { flex-grow:1; position:relative; background:#f8f9fa; overflow-x:hidden !important; }
        .odi-modal-body iframe { width:100%; height:100%; border:none; overflow-x:hidden !important; }
        .odi-iframe-body { flex-grow:1; position:relative; background:#f8f9fa; overflow:hidden !important; }
        .odi-iframe-body iframe { width:100%; height:100%; border:none; display:block; overflow-x:hidden !important; }
        .odi-btn-save-close { background:#28a745; color:#fff; border:none; padding:8px 18px; border-radius:5px; cursor:pointer; font-weight:bold; font-size:13px; box-shadow:0 2px 6px rgba(0,0,0,0.2); }

        /* UKŁAD POI */
        .odi-card-surround .odi-okolica-container { gap:12px; }
        .odi-card-surround .odi-poi-section { margin-bottom:0; }

        .odi-poi-live-panel {
                background: #fff;
                border: 1px solid var(--odi-brand-gray-light);
                border-radius: 10px;
                padding: 25px;
                max-width: 1100px;
                margin: 0 auto;
        }
        .odi-poi-live-panel__title { margin: 0 0 8px; }
        .odi-poi-live-panel .odi-panel-section-head { margin: 0 0 8px; }
        .odi-poi-live-panel .odi-poi-live-engine { margin: 0 0 12px; }
        .odi-poi-live-panel__intro {
                font-size: 13px;
                color: var(--odi-brand-slate);
                margin: 0 0 4px;
                line-height: 1.45;
        }
        .odi-poi-live-panel__row {
                display: flex;
                gap: 12px;
                flex-wrap: wrap;
                margin: 16px 0 10px;
                align-items: stretch;
        }
        .odi-poi-live-input {
                flex: 1;
                min-width: 280px;
                padding: 10px 12px;
                border: 1px solid var(--odi-brand-gray-light);
                border-radius: 6px;
                font-size: 14px;
        }
        .odi-poi-live-input:focus {
                outline: none;
                border-color: var(--odi-brand-red);
                box-shadow: 0 0 0 2px rgba(211, 33, 43, 0.12);
        }
        .odi-poi-live-status {
                margin: 0 0 14px;
                padding: 10px 12px;
                border-radius: 8px;
                font-size: 13px;
                line-height: 1.45;
                display: flex;
                flex-direction: column;
                gap: 4px;
        }
        .odi-poi-live-status__hint {
                font-weight: 400;
                opacity: 0.95;
        }
        .odi-poi-live-status.is-loading {
                background: #f3fbf6;
                border: 1px solid #1f8a4c;
                color: #1f8a4c;
        }
        .odi-poi-live-status.is-ok {
                background: #f3fbf6;
                border: 1px solid #1f8a4c;
                color: #166534;
        }
        .odi-poi-live-status.is-error {
                background: #fff6f6;
                border: 1px solid #D3212B;
                color: #D3212B;
        }

        @media (min-width: 640px) {
            .odi-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap:14px; }
        }
        @media (min-width: 768px) {
            .odi-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap:14px; }
        }
        @media (min-width: 1280px) {
            .odi-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap:14px; }
        }

        @media (max-width: 1024px) {
        }

        @media (max-width: 768px) {
            .odi-dash-topbar { padding:10px 12px; flex-direction:row; align-items:center; gap:8px; flex-wrap:nowrap; }
            .odi-dash-user { gap:8px; }
            .odi-brand-text, .odi-user-hello, .odi-logout-label { display:none; }
            .odi-dash-logo-plate { height:28px; padding:3px 5px; border-radius:6px; }
            .odi-brand-svg-logo { height:20px; max-width:88px; }
            .odi-btn-logout { width:40px; height:40px; padding:0; justify-content:center; }
            .odi-user-photo-frame { width:36px; height:36px; }
            .odi-devices-drawer { position:fixed; left:12px; right:12px; top:58px; width:auto; max-height:min(70dvh, 520px); overflow:auto; }
            .odi-panel-mobile-tab { display:flex; position:fixed; right:0; left:auto; top:58px; transform:none; z-index:9998; border:none; background:var(--odi-brand-dark); color:#fff; border-right:4px solid var(--odi-brand-red); border-left:0; border-radius:6px 0 0 6px; padding:8px 6px 8px 10px; box-shadow:-4px 0 16px rgba(0,0,0,0.22); flex-direction:column; gap:4px; align-items:center; justify-content:center; font-weight:800; font-size:10px; opacity:1; min-width:44px; min-height:52px; box-sizing:border-box; }
            .odi-panel-mobile-tab__icon { width:18px; height:14px; display:block; flex-shrink:0; }
            .odi-panel-mobile-backdrop { position:fixed; inset:0; background:rgba(43,47,51,0.45); z-index:9996; }
            .odi-dash-nav { position:fixed; left:0; top:0; bottom:0; width:min(320px, 88vw); z-index:9997; padding:76px 14px 18px; flex-direction:column; align-items:stretch; gap:10px; background:#fff; box-shadow:0 18px 50px rgba(0,0,0,0.28); transform:translateX(-108%); transition:transform 0.28s ease; overflow:auto; justify-content:flex-start; flex-wrap:nowrap; }
            .odi-dash-nav.is-open { transform:translateX(0); }
			.odi-nav-tabs { flex-direction:column; align-items:stretch; gap:8px; width:100%; flex:0 0 auto; }
            .odi-nav-actions { margin-left:0; width:100%; display:grid; grid-template-columns:1fr 1fr; }
            .odi-tab-content { padding:15px; }
            .odi-filter-bar { padding:12px; gap:12px; }
            .odi-filter-bar--crm { flex-direction:column; align-items:stretch; }
            .odi-filter-bar--crm .odi-filter-group,
            .odi-filter-bar--crm .odi-filter-group--grow { width:100%; min-width:100%; flex:1 1 auto; }
            .odi-filter-group { width:100%; min-width:100%; }
            .odi-filter-row--sliders { grid-template-columns:1fr; }
            .odi-filter-sort { width:100%; min-width:100%; }
            .odi-card-footer:not(.odi-card-toolbar), .odi-card-footer.is-owner:not(.odi-card-toolbar), .odi-card-footer.is-admin:not(.odi-card-toolbar), .odi-card-footer.is-readonly:not(.odi-card-toolbar) { grid-template-columns:1fr 1fr; }
            .odi-card-footer.odi-card-toolbar { padding:8px; gap:4px; }
            .odi-card-toolbar .odi-icon-btn { width:auto; height:auto; min-height:0; padding:5px 2px 4px; }
            .odi-card-more-actions { grid-template-columns:1fr; }
            .odi-inline-grid { grid-template-columns:1fr; }
            .odi-inline-qe-save-cell--solo { grid-column:auto; }
            .odi-inline-qe-save-spacer { display:none; }
            .odi-btn { min-height:44px; font-size:12px; }
            .odi-nav-btn { flex-direction:row; justify-content:flex-start; align-items:center; gap:10px; padding:12px 14px; border:1px solid var(--odi-brand-gray-light); background:#fff; min-width:0; text-align:left; font-size:13px; }
			.odi-nav-btn-lab { max-width:none; }
            .odi-nav-btn.active { border-color:var(--odi-brand-dark); }
            .odi-page-nav { flex:1 1 calc(50% - 4px); max-width:calc(50% - 4px); }
            .odi-page-nums { width:100%; order:3; margin-top:4px; }

            .odi-modal-container { width:85vw !important; max-width:85vw !important; height:85dvh !important; border-radius:8px; }

            .odi-table, .odi-table thead, .odi-table tbody, .odi-table th, .odi-table td, .odi-table tr { display: block; }
            .odi-table thead tr { position: absolute; top: -9999px; left: -9999px; }
            .odi-table-wrapper { overflow-x: hidden; max-width: 100%; }
            .odi-table tr { border: 1px solid var(--odi-brand-gray-light); border-radius:8px; margin-bottom: 12px; padding:4px 0; background:#fff; max-width:100%; }
            .odi-table td { border: none; border-bottom: 1px solid var(--odi-brand-bg-soft); position: relative; display:flex; flex-direction:column; align-items:stretch; gap:6px; padding:10px 12px; text-align:left; min-width:0; }
            .odi-table td:before { position: static; top: auto; left: auto; width: auto; padding-right: 0; white-space: normal; text-align:left; font-weight: bold; content: attr(data-label); color:var(--odi-brand-slate); font-size:11px; line-height:1.35; }
            .odi-table td:last-child { border-bottom:0; }
            .odi-table td[data-label=""]:before { display: none; }
            .odi-table td[data-label="Typ / Status"] { flex-direction:row; flex-wrap:wrap; align-items:center; }
            .odi-table td[data-label="Typ / Status"]:before { flex:1 0 100%; }
            .odi-pill { max-width:100%; margin:0; }
            .odi-table td[data-label="Akcje"] .odi-btn-table,
            .odi-table td[data-label="Akcje"] .odi-btn-table-del { display:flex; width:100%; align-items:center; justify-content:center; min-height:40px; margin:0; box-sizing:border-box; }
            .odi-table td[data-label="Akcje"] { display:flex; flex-direction:column; gap:8px; align-items:stretch; }
            .odi-cell-link { word-break:break-word; }
            .odi-tab-content { padding:15px; max-width:100%; min-width:0; }
            .odi-gear-wrap { z-index:10020; }
            .odi-gear-menu { position:fixed; left:12px; right:12px; top:56px; width:auto; max-width:none; max-height:min(70dvh, 520px); overflow:auto; z-index:10020; }
            .odi-card-surround,
            .odi-card-more-actions,
            .odi-inline-card-editor,
            .odi-sync-accordion-body { scroll-margin-top: 12px; }
        }

        @media (max-width: 768px) {
            body.odi-panel-page:not(.odi-panel-editor-page),
            body.odi-panel-page:not(.odi-panel-editor-page) #odi-dashboard-app { overflow-x: hidden; max-width: 100%; }
        }

.odi-bell { position: relative; cursor: pointer; background: transparent; border: none; color: #fff; border-radius: 6px; width: 40px; height: 40px; padding: 0; font-weight: 800; font-size: 12px; display:inline-flex; align-items:center; justify-content:center; gap:6px; font-family:inherit; text-decoration:none; line-height:1.2; flex-shrink:0; }
.odi-bell:hover, .odi-bell[aria-expanded="true"] { background: rgba(255,255,255,0.16); color:#fff; }
.odi-bell-svg { display:block; flex-shrink:0; }
.odi-bell-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0; }
.odi-bell-count { position: absolute; top: 2px; right: 2px; background: var(--odi-brand-red); color: #fff; border-radius: 10px; min-width: 16px; height: 16px; font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px; font-weight:800; }
.odi-devices-wrap { position: relative; z-index: 80; }

.odi-gear-wrap { position: relative; z-index: 80; }
.odi-gear-btn { position: relative; cursor: pointer; background: transparent; border: none; color: #fff; border-radius: 6px; width: 40px; height: 40px; padding: 0; font-weight: 800; font-size: 12px; display:inline-flex; align-items:center; justify-content:center; gap:6px; font-family:inherit; text-decoration:none; line-height:1.2; flex-shrink:0; }
.odi-gear-btn:hover, .odi-gear-btn[aria-expanded="true"] { background: rgba(255,255,255,0.16); color:#fff; }
.odi-gear-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0; }

.odi-gear-menu { position:absolute; right:0; top:calc(100% + 10px); width:min(360px, calc(100vw - 32px)); background:#fff; color:var(--odi-brand-dark); border:1px solid var(--odi-brand-gray-light); border-top:3px solid var(--odi-brand-red); border-radius:0 0 8px 8px; box-shadow:0 12px 30px rgba(0,0,0,0.18); padding:12px; display:grid; gap:12px; }
.odi-gear-menu[hidden] { display:none !important; }
.odi-gear-menu-section { display:grid; gap:8px; }
.odi-gear-item { width:100%; background:transparent; border: none; padding:10px 12px; border-radius:8px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:10px; font-weight:800; font-size:13px; color:var(--odi-brand-dark); text-align:left; position:relative; text-decoration:none; box-sizing:border-box; }
a.odi-gear-item,
a.odi-gear-item:hover,
a.odi-gear-item:focus,
a.odi-gear-item:visited { text-decoration:none; color:var(--odi-brand-dark); }
.odi-gear-item:hover { background:#FFF5F5; color:var(--odi-brand-dark); box-shadow:inset 0 0 0 1px rgba(211,33,43,0.25); }
.odi-gear-item-ico { width:22px; height:22px; background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:8px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:900; }
.odi-gear-item .odi-gear-item-count,
.odi-gear-item .odi-bell-count {
	position: static;
	top: auto;
	right: auto;
	margin-left: auto;
	flex-shrink: 0;
	align-self: center;
}
.odi-gear-sys-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 22px;
	font-size: 9px;
	padding: 1px 4px;
	pointer-events: none;
}
.odi-gear-item .odi-sys-badge {
	flex-shrink: 0;
	margin-left: auto;
	font-size: 10px;
	min-width: 28px;
}
.odi-devices-drawer { position: absolute; right: 0; top: calc(100% + 10px); z-index: 80; width: min(360px, calc(100vw - 32px)); background: #fff; color: var(--odi-brand-dark); border: 1px solid var(--odi-brand-gray-light); border-top: 3px solid var(--odi-brand-red); border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px rgba(0,0,0,0.18); padding: 14px 16px 16px; display: grid; gap: 10px; }

@media (max-width: 768px) {
	.odi-gear-menu,
	.odi-devices-drawer {
		position: fixed;
		left: 12px;
		right: 12px;
		top: 56px;
		width: auto;
		max-width: none;
		max-height: min(70dvh, 520px);
		overflow: auto;
		z-index: 10020;
		box-sizing: border-box;
	}
	.odi-notice-drawer {
		left: 12px;
		right: 12px;
		width: auto;
		max-width: none;
	}
	.odi-sync-global-grid,
	.odi-sync-settings-grid {
		grid-template-columns: 1fr;
		min-width: 0;
	}
	.odi-sync-accordion-bar {
		align-items: flex-start;
		flex-wrap: wrap;
	}
	.odi-sync-status {
		max-width: 100%;
		white-space: normal;
	}
	#tab-sync,
	#tab-sync * {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}
}
.odi-devices-drawer[hidden] { display: none !important; }
.odi-devices-drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.odi-devices-drawer-head strong { font-size: 13px; letter-spacing: 0.3px; text-transform: uppercase; }
.odi-devices-close { border: 0; background: transparent; color: var(--odi-brand-slate); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.odi-devices-lead { margin: 0; font-size: 12px; line-height: 1.45; color: var(--odi-brand-slate); }
.odi-devices-field { display:grid; gap:4px; }
.odi-devices-field span { font-size:11px; font-weight:800; letter-spacing:0.3px; text-transform:uppercase; color:var(--odi-brand-slate); }
.odi-devices-name { width:100%; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:4px; font-size:13px; font-family:inherit; color:var(--odi-brand-dark); box-sizing:border-box; }
.odi-devices-actions { display:grid; gap:8px; }
.odi-devices-add { width: 100%; border: 0; border-radius: 4px; background: var(--odi-brand-dark); color: #fff; font-weight: 800; font-size: 12px; padding: 10px 12px; cursor: pointer; }
.odi-devices-add:hover { background: #1E2226; }
.odi-devices-add:disabled { opacity: 0.6; cursor: wait; }
.odi-devices-add--ghost { background:#fff; color:var(--odi-brand-dark); border:1px solid var(--odi-brand-dark); }
.odi-devices-add--ghost:hover { background:var(--odi-brand-bg-soft); }
.odi-notice-list { background: #fff; border: 1px solid var(--odi-brand-gray-light); border-radius: 8px; max-width: 420px; }
.odi-notice-item { padding: 10px 12px; border-bottom: 1px solid #F1F5F9; font-size: 12px; }
.odi-notice-item.is-unread { background: #FFF8F8; }
.odi-badge-readonly { background: #E5E8EB; color: var(--odi-brand-slate); font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 3px; }
.odi-leave-form, .odi-leave-queue { background: #fff; border: 1px solid var(--odi-brand-gray-light); border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; }
.odi-leave-form label { display: block; font-size: 13px; font-weight: 800; color: var(--odi-brand-dark); margin: 8px 0 4px; line-height: 1.4; }
.odi-leave-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.odi-leave-form select,
.odi-leave-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--odi-brand-gray-light); border-radius: 6px; font-size: 13px; min-height: 44px; box-sizing: border-box; font-family: inherit; background: #fff; }
.odi-leave-form textarea { min-height: 88px; }
.odi-leave-form input[type="date"].odi-date-field { min-height: 44px; }
.odi-leave-form input[type="checkbox"],
.odi-leave-form input[type="radio"] {
	width: auto;
	min-height: 0;
	height: auto;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--odi-brand-red);
}
.odi-html-fmt { display:flex; gap:6px; flex-wrap:wrap; }
.odi-html-fmt button {
	background:#fff;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:6px;
	min-height:28px;
	padding:4px 10px;
	font-size:11px;
	font-weight:800;
	cursor:pointer;
	color:var(--odi-brand-dark);
	font-family:inherit;
	box-shadow:0 1px 2px rgba(43,47,51,.04);
	transition:border-color .15s, color .15s, background .15s;
}
.odi-html-fmt button:hover { border-color:var(--odi-brand-red); color:var(--odi-brand-red); background:#fff; }
.odi-pmod-list { display:grid; gap:12px; }
.odi-pmod-empty { margin:0; padding:16px; text-align:center; color:var(--odi-brand-slate); font-size:13px; background:var(--odi-brand-bg-soft); border-radius:8px; }
.odi-pmod-card { border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:12px 14px 14px; background:var(--odi-brand-bg-soft); }
.odi-pmod-card-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:8px; }
.odi-pmod-card-head strong { margin-right:auto; font-size:13px; }
.odi-pmod-tag { font-size:11px; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:4px; padding:2px 6px; color:var(--odi-brand-dark); }
.odi-pmod-card-desc { margin:0 0 4px; font-size:12px; color:#2B2F33; font-style:italic; }
.odi-pmod-card-hint { margin:0 0 8px; font-size:12px; color:var(--odi-brand-slate); }
.odi-pmod-status { font-size:11px; font-weight:700; padding:1px 7px; border-radius:4px; line-height:1.4; }
.odi-pmod-status--on { background:#e6f4ea; color:#1e7e34; }
.odi-pmod-status--off { background:#fce8e8; color:#c62828; }
.odi-pmod-on { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:700; margin:0; }
.odi-pmod-on input { width:auto; }
.odi-pmod-add { display:grid; gap:12px; margin-top:10px; padding:14px; background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:10px; }
.odi-pmod-add-group { display:grid; gap:8px; }
.odi-pmod-add-group strong { font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--odi-brand-slate); }
.odi-pmod-add-btns { display:flex; flex-wrap:wrap; gap:8px; }
.odi-pmod-chip {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:4px;
	min-height:32px;
	padding:6px 12px;
	border-radius:999px;
	border:1px solid var(--odi-brand-gray-light);
	background:#fff;
	color:var(--odi-brand-dark);
	font-size:12px;
	font-weight:700;
	font-family:inherit;
	line-height:1.2;
	cursor:pointer;
	box-shadow:0 1px 2px rgba(43,47,51,.04);
	transition:border-color .15s, color .15s, background .15s;
}
.odi-pmod-chip:hover {
	border-color:var(--odi-brand-red);
	color:var(--odi-brand-red);
	background:#fff;
}
.odi-pmod-actions {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:10px;
	margin:16px 0 0;
	padding-top:14px;
	border-top:1px solid var(--odi-brand-gray-light);
}
.odi-pmod-settings {
	display:grid;
	gap:14px;
}
.odi-pmod-setting-card {
	margin:0;
	padding:16px 18px;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:10px;
	background:var(--odi-brand-bg-soft);
	display:grid;
	gap:12px;
	min-inline-size:0;
}
.odi-pmod-setting-card > legend,
.odi-pmod-setting-card__title {
	float:none;
	width:auto;
	padding:0 4px;
	margin:0;
	font-weight:800;
	font-size:13px;
	color:var(--odi-brand-dark);
}
.odi-pmod-fields { display:grid; gap:12px; }
.odi-pmod-field { display:grid; gap:6px; margin:0; }
.odi-pmod-field > span,
.odi-pmod-field__label {
	font-size:13px;
	font-weight:800;
	color:var(--odi-brand-dark);
	line-height:1.4;
}
.odi-pmod-field input[type="text"],
.odi-pmod-field select,
.odi-pmod-field textarea {
	width:100%;
	min-height:40px;
	padding:10px 12px;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	background:#fff;
	font-size:13px;
	box-sizing:border-box;
}
.odi-pmod-field textarea { min-height:88px; resize:vertical; }
.odi-pmod-check {
	display:flex !important;
	align-items:flex-start;
	gap:10px;
	margin:0;
	padding:10px 12px;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	background:#fff;
	font-size:13px;
	font-weight:600 !important;
	color:var(--odi-brand-dark);
	cursor:pointer;
}
.odi-pmod-check input {
	width:auto !important;
	min-width:16px;
	min-height:16px !important;
	height:16px;
	margin:2px 0 0 !important;
	padding:0 !important;
	flex-shrink:0;
	accent-color:var(--odi-brand-red);
}
.odi-pmod-check span { line-height:1.35; }
.odi-pmod-radio-block { display:grid; gap:8px; }
.odi-pmod-radio-block > .odi-pmod-field__label { margin:0; }
.odi-pmod-setting-card .odi-segmented { display:inline-flex; flex-wrap:wrap; gap:8px; }
.odi-pmod-setting-card .odi-segmented label {
	display:inline-flex !important;
	align-items:center;
	justify-content:center;
	gap:0;
	margin:0;
	padding:8px 14px;
	min-height:36px;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	background:#fff;
	font-weight:700;
	font-size:13px;
	color:var(--odi-brand-slate);
	cursor:pointer;
	width:auto;
}
.odi-pmod-setting-card .odi-segmented label:has(input:checked) {
	border-color:var(--odi-brand-red);
	background:#FFF5F5;
	color:var(--odi-brand-dark);
	box-shadow:inset 0 0 0 1px var(--odi-brand-red);
}
.odi-pmod-setting-card .odi-segmented input {
	position:absolute;
	opacity:0;
	width:1px !important;
	height:1px !important;
	min-height:0 !important;
	pointer-events:none;
}
.odi-pmod-codes { margin-top:16px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:10px 14px; background:#fff; }
.odi-pmod-codes summary { cursor:pointer; font-weight:800; font-size:13px; }
.odi-pmod-codes h5 { margin:12px 0 6px; font-size:12px; text-transform:uppercase; letter-spacing:0.06em; color:var(--odi-brand-slate); }
.odi-pmod-code-list { margin:0; padding:0; list-style:none; display:grid; gap:6px; }
.odi-pmod-code-list li { display:flex; flex-wrap:wrap; gap:8px; align-items:baseline; font-size:13px; color:var(--odi-brand-slate); }
.odi-pmod-code-list code { background:var(--odi-brand-bg-soft); border-radius:4px; padding:2px 6px; color:var(--odi-brand-dark); }
#odi-dashboard-app .odi-pmod-card textarea.odi-about-html { min-height:160px; }
.odi-pmod-json-builder { display:grid; gap:10px; margin-top:4px; }
.odi-pmod-json-help { margin:0; font-size:12px; font-weight:600; color:var(--odi-brand-slate); line-height:1.45; }
.odi-pmod-json-builder > label { display:grid; gap:4px; font-size:13px; font-weight:800; color:var(--odi-brand-dark); line-height:1.4; }
.odi-pmod-json-builder > label input,
.odi-pmod-json-builder > label select,
.odi-pmod-json-builder > label textarea { width:100%; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; font-size:13px; box-sizing:border-box; }
.odi-pmod-json-row { display:grid; gap:8px; padding:10px 12px; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:8px; }
.odi-pmod-json-row-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.odi-pmod-json-row-head strong { font-size:12px; color:var(--odi-brand-slate); }
.odi-pmod-json-row label { display:grid; gap:4px; font-size:13px; font-weight:800; color:var(--odi-brand-dark); line-height:1.4; }
.odi-pmod-json-row input[type="text"],
.odi-pmod-json-row input[type="number"],
.odi-pmod-json-row textarea { width:100%; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; font-size:13px; box-sizing:border-box; }
.odi-pmod-json-row textarea { min-height:72px; resize:vertical; }
.odi-pmod-json-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.odi-pmod-json-check { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; margin:0; }
.odi-pmod-json-check input { width:auto; }
.odi-about-preview-wrap { margin-top:14px; background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:14px 16px; }
.odi-about-preview-label { margin:0 0 10px; font-size:11px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; color:var(--odi-brand-slate); }
.odi-about-preview { background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:18px 20px; }

.odi-link-btn {
	display:inline;
	padding:0;
	margin:0;
	border:0;
	background:none;
	color:var(--odi-brand-red);
	font:inherit;
	font-weight:700;
	text-decoration:underline;
	cursor:pointer;
}
.odi-about-status {
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	align-items:center;
	margin:12px 0 0;
}
.odi-about-status__pill {
	display:inline-flex;
	align-items:center;
	padding:4px 10px;
	border-radius:999px;
	font-size:12px;
	font-weight:700;
	background:#EEF1F3;
	color:var(--odi-brand-slate);
}
.odi-about-status__pill.is-ok { background:#dcfce7; color:#166534; }
.odi-about-status__pill.is-warn { background:#fef3c7; color:#92400e; }
.odi-about-status__link {
	font-size:12px;
	font-weight:700;
	color:var(--odi-brand-dark);
}
.odi-about-status__alert {
	margin:10px 0 0;
	padding:10px 12px;
	border-radius:8px;
	border:1px solid #fde68a;
	background:#fffbeb;
	color:#92400e;
	font-size:13px;
	line-height:1.45;
}

.odi-agents-table .odi-agent-row.is-draft { opacity:.78; }
.odi-agents-table .odi-agent-row.is-leave td { background:#fffbeb; }
.odi-agent-row__foto {
	width:40px;
	height:40px;
	border-radius:50%;
	object-fit:cover;
	display:block;
	background:#EEF1F3;
}
.odi-agent-row__foto--empty { border:1px dashed var(--odi-brand-gray-light); }
.odi-agent-row__meta { font-size:12px; color:var(--odi-brand-slate); margin-top:2px; }
.odi-agent-row__leave { font-size:12px; color:#92400e; font-weight:700; margin-top:4px; }
.odi-agent-badge {
	display:inline-block;
	padding:2px 8px;
	border-radius:999px;
	font-size:11px;
	font-weight:700;
	background:#EEF1F3;
	color:var(--odi-brand-slate);
	margin:0 4px 2px 0;
}
.odi-agent-badge.is-ok { background:#dcfce7; color:#166534; }
.odi-agent-badge.is-draft { background:#fef3c7; color:#92400e; }
.odi-agent-badge.is-feat { background:#fee2e2; color:#991b1b; }

.odi-agent-dialog {
	width: min(640px, 96vw);
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.odi-agent-dialog-body {
	display: grid;
	gap: 10px;
	padding: 14px 16px;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
.odi-agent-dialog .odi-cal-dialog-head,
.odi-agent-dialog .odi-cal-dialog-foot {
	flex-shrink: 0;
}
.odi-agent-dialog-sub { margin:8px 0 0; font-size:14px; }

/* Agent / kalendarz dialog: tytuł nad polem, ? na końcu rzędu tytułu (nie między tytułem a inputem) */
.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check),
.odi-cal-dialog.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 8px;
	align-items: center;
}
.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) > .odi-panel-help,
.odi-cal-dialog.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) > .odi-panel-help {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}
.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) > input,
.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) > select,
.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) > textarea,
.odi-cal-dialog.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) > input,
.odi-cal-dialog.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) > select,
.odi-cal-dialog.odi-agent-dialog label:not(.odi-partner-check):not(.odi-cal-check):not(.odi-seo-panel-check) > textarea {
	grid-column: 1 / -1;
}
.odi-agent-dialog label.odi-partner-check,
.odi-agent-dialog label.odi-seo-panel-check {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
}
.odi-agent-dialog label.odi-partner-check > span:first-child,
.odi-agent-dialog .odi-partner-check > span:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}
.odi-agent-dialog .odi-agent-license legend,
.odi-agent-dialog .odi-panel-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.odi-agent-license { border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:10px 12px; margin:0; }
.odi-agent-license legend { font-size:12px; font-weight:800; padding:0 4px; }
.odi-agent-leave-box {
	margin-top:4px;
	padding:10px 12px;
	border-radius:8px;
	border:1px solid #fde68a;
	background:#fffbeb;
}
.odi-agent-kpi { font-weight:800; }
.odi-agent-kpi.is-hot { color:var(--odi-brand-red, #D3212B); }
.odi-agent-kpi-sub { font-size:12px; color:var(--odi-brand-slate); margin-left:2px; }
.odi-agent-stats {
	margin-top:4px;
	padding:12px;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	background:var(--odi-brand-soft-bg, #f8f9fa);
}
.odi-agent-stats__grid {
	display:grid;
	grid-template-columns:repeat(3, minmax(0, 1fr));
	gap:8px;
	margin-top:8px;
}
.odi-agent-stats__tile {
	display:flex;
	flex-direction:column;
	gap:2px;
	padding:10px 12px;
	border-radius:8px;
	border:1px solid var(--odi-brand-gray-light);
	background:#fff;
	text-decoration:none;
	color:inherit;
}
.odi-agent-stats__tile strong { font-size:20px; line-height:1.1; color:var(--odi-brand-dark, #2B2F33); }
.odi-agent-stats__tile span { font-size:11px; color:var(--odi-brand-slate); font-weight:600; }
.odi-agent-stats__recent {
	margin:10px 0 0;
	padding-left:18px;
	font-size:13px;
}
.odi-agent-stats__recent a { color:var(--odi-brand-dark); }
.odi-agent-stats__links {
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin:12px 0 0;
}
.odi-my-card-form {
	max-width:560px;
}
.odi-my-card-readonly {
	display:flex;
	flex-direction:column;
	gap:4px;
	padding:12px 14px;
	border-radius:8px;
	border:1px solid var(--odi-brand-gray-light);
	background:#fff;
	margin-bottom:4px;
}
.odi-my-card-readonly strong { font-size:16px; }
@media (max-width: 640px) {
	.odi-agent-stats__grid { grid-template-columns:1fr; }
}

.odi-agents-preview-card {
	border:var(--odi-card-border);
	border-radius:var(--odi-card-radius, 8px);
	background:var(--odi-brand-soft-bg, #f8f9fa);
}
.odi-agents-preview-card > summary {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding:12px 14px;
	font-size:14px;
	font-weight:700;
	cursor:pointer;
	list-style:none;
}
.odi-agents-preview-card > summary::-webkit-details-marker { display:none; }
.odi-agents-preview-card > summary::before {
	content:'▸';
	display:inline-block;
	margin-right:8px;
	transition:transform .15s;
}
.odi-agents-preview-card[open] > summary::before { transform:rotate(90deg); }
.odi-agents-preview-card__hint { font-size:12px; font-weight:600; color:var(--odi-brand-slate); }
.odi-agents-preview-card__body { padding:0 14px 14px; border-top:1px solid var(--odi-brand-gray-light); }
.odi-agents-preview-frame {
	background:#fff;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	padding:12px;
	overflow:auto;
	max-height:480px;
}
.odi-agents-preview-frame .odi-agents-grid {
	margin:0;
	gap:10px;
	grid-template-columns:repeat(auto-fill, minmax(160px, 1fr));
}
.odi-agents-preview-frame .odi-agents-grid--list {
	grid-template-columns:1fr;
	gap:8px;
}
.odi-agents-preview-frame .odi-office-heading { margin-top:0; margin-bottom:10px; }
.odi-agents-preview-frame .odi-agents-team { margin:0; }
.odi-agents-preview-frame .odi-agents-region {
	margin:0 0 16px;
	padding-bottom:12px;
	border-bottom:1px solid var(--odi-brand-gray-light);
}
.odi-agents-preview-frame .odi-agents-region:last-child {
	margin-bottom:0;
	padding-bottom:0;
	border-bottom:0;
}
.odi-agents-preview-frame .odi-agents-region-head {
	margin-bottom:10px;
	padding-bottom:0;
	border-bottom:0;
}
.odi-listing-preview .odi-section-heading,
.odi-listing-preview h2.odi-page-mod-title,
.odi-listing-preview h2.odi-page-section-title,
.odi-listing-preview h3.odi-page-section-title,
.odi-listing-preview .odi-agents-region-title,
.odi-listing-preview .odi-partners-region-title {
	display:flex;
	align-items:center;
	gap:6px;
	margin:0 0 10px;
	padding-bottom:5px;
	border-bottom:2px solid var(--odi-brand-gray-light, #e5e8eb);
	font-size:13px !important;
	font-weight:800;
	line-height:1.35;
	text-transform:none;
	color:var(--odi-brand-dark, #2b2f33);
}
.odi-listing-preview .odi-section-heading::before,
.odi-listing-preview h2.odi-page-mod-title::before,
.odi-listing-preview h2.odi-page-section-title::before,
.odi-listing-preview h3.odi-page-section-title::before,
.odi-listing-preview .odi-agents-region-title::before,
.odi-listing-preview .odi-partners-region-title::before {
	content:"";
	display:inline-block;
	width:8px;
	height:8px;
	flex-shrink:0;
	background:var(--odi-brand-red, #d3212b);
}
.odi-listing-preview .odi-agents-region-kicker,
.odi-listing-preview .odi-partners-region-kicker,
.odi-listing-preview .odi-page-kicker {
	font-size:11px;
	font-weight:800;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:var(--odi-brand-red, #d3212b);
}
.odi-listing-preview .odi-post-card,
.odi-listing-preview .odi-agent-card,
.odi-listing-preview .odi-partner,
.odi-listing-preview.odi-agents-preview-frame .odi-agent-card {
	border-radius:8px;
	box-shadow:0 2px 6px rgba(43, 47, 51, 0.02);
}
.odi-agents-preview-frame .odi-agents-region-kicker {
	font-size:11px;
	margin-bottom:4px;
}
.odi-agents-preview-frame .odi-agents-region-title {
	font-size:13px !important;
}
.odi-agents-preview-frame .odi-agents-region-count {
	font-size:11px;
	padding:4px 8px;
}
.odi-agents-preview-frame .odi-agents-team--grouped .odi-agent-region {
	display:none;
}
.odi-agents-preview-frame .odi-office-heading h2,
.odi-agents-preview-frame .odi-office-heading .odi-office-title {
	font-size:18px !important;
}
/* Kompaktowe karty — czytelny przegląd zespołu w panelu (front bez zmian). */
.odi-agents-preview-frame .odi-agent-card {
	min-height:0;
	border-radius:8px;
	border-top-width:2px;
	box-shadow:none;
}
.odi-agents-preview-frame .odi-agent-card--grid .odi-agent-photo-wrap {
	width: 72px;
	min-width: 72px;
	max-width: 72px;
	max-height: 72px;
	aspect-ratio: 1;
	height: auto;
}
.odi-agents-preview-frame .odi-agents-grid--list .odi-agent-card--list .odi-agent-photo-wrap {
	width:72px;
	min-width:72px;
	max-height:72px;
	aspect-ratio:1;
}
.odi-agents-preview-frame .odi-agent-info {
	gap:6px;
	padding:8px 10px 10px;
}
.odi-agents-preview-frame .odi-agents-grid--list .odi-agent-card--list .odi-agent-info {
	padding:8px 10px;
}
.odi-agents-preview-frame .odi-agent-name {
	font-size:13px;
	line-height:1.25;
	margin:0;
}
.odi-agents-preview-frame .odi-agent-role,
.odi-agents-preview-frame .odi-agent-region,
.odi-agents-preview-frame .odi-agent-license {
	font-size:11px;
	line-height:1.35;
}
.odi-agents-preview-frame .odi-agent-actions {
	gap:4px;
}
.odi-agents-preview-frame .odi-agent-contact,
.odi-agents-preview-frame .odi-agent-msg-btn {
	font-size:11px;
	padding:5px 8px;
}
.odi-agents-preview-frame .odi-agent-contact-value {
	font-size:11px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	max-width:100%;
}
.odi-agents-preview-frame .odi-agent-img--empty {
	font-size:11px;
	background:#eef1f3;
}
.odi-agents-preview-frame .odi-agent-img-logo {
	max-width:56px;
	opacity:0.4;
	filter:grayscale(1);
}
@media (max-width: 767px) {
	.odi-agents-preview-frame .odi-agents-grid {
		grid-template-columns: 1fr;
	}
	.odi-agents-preview-frame .odi-agent-card--grid .odi-agent-photo-wrap {
		width: 64px;
		min-width: 64px;
		max-width: 64px;
		max-height: 64px;
	}
}
.odi-module-preview-frame {
	max-height: min(70vh, 720px);
	overflow: auto;
}
.odi-module-preview-frame .odi-posts-list--grid {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.odi-privacy-preview-frame .odi-privacy-meta { margin-top: 0; }
.odi-sync-global-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:12px; }
.odi-sync-accordion { display:grid; gap:14px; }
.odi-sync-accordion-bar { display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; text-align:left; border:var(--odi-card-border); background:var(--odi-brand-bg-soft); border-radius:var(--odi-card-radius, 8px); padding:14px 16px; cursor:pointer; }
.odi-sync-accordion-bar span { display:grid; gap:4px; }
.odi-sync-accordion-bar strong { color:var(--odi-brand-dark); font-size:14px; }
.odi-sync-accordion-bar em { font-style:normal; font-size:12px; color:var(--odi-brand-slate); }
.odi-sync-accordion-bar b { color:var(--odi-brand-red); font-size:12px; letter-spacing:0.2px; }
.odi-sync-accordion-body[hidden] { display:none !important; }
.odi-sync-accordion-body { display:grid; gap:14px; }
.odi-sync-settings-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:14px; }
.odi-post-modal-container { width:min(98vw, 1400px); max-width:1400px; height:auto; max-height:94vh; }
.odi-post-modal-body { flex:1; overflow:auto; padding:18px 20px 20px; background:var(--odi-brand-bg-soft); }
.odi-post-modal-title { color:#fff; font-weight:800; font-size:14px; letter-spacing:0.02em; }
.odi-post-editor-layout { display:grid; grid-template-columns:minmax(0, 1.45fr) minmax(280px, 0.85fr); gap:16px; align-items:start; }
.odi-post-editor-main { display:grid; gap:16px; min-width:0; }
.odi-post-editor-aside { display:grid; gap:14px; align-content:start; position:sticky; top:0; }
.odi-post-editor-card { gap:10px; }
.odi-post-gemini-notes {
	width: 100%;
	min-height: 110px;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.55;
	resize: vertical;
}
.odi-post-gemini-actions {
	margin: 0 0 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.odi-post-editor-lead { margin:0 0 4px; font-size:12px; line-height:1.45; color:var(--odi-brand-slate); }
.odi-post-editor-lead code { font-size:11px; }
.odi-post-content-field { min-height:280px; resize:vertical; line-height:1.55; font-family:inherit; }
.odi-post-editor-dates { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.odi-post-editor-foot { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:16px; padding-top:16px; border-top:1px solid var(--odi-brand-gray-light); position:sticky; bottom:0; background:var(--odi-brand-bg-soft); z-index:2; }
.odi-post-editor-msg { font-size:13px; color:var(--odi-brand-slate); }
.odi-post-preview-card--full { margin-top:16px; }
.odi-post-preview-card--full .odi-post-preview-pane {
	min-height:280px;
	max-height:min(70vh, 900px);
	overflow:auto;
	background:#fff;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:10px;
}
.odi-post-preview-card--full .odi-post-preview-frame {
	transform:none;
	width:100%;
	margin:0;
	padding:12px 16px;
}
.odi-post-seo-ok {
	display:inline-flex;
	align-items:center;
	gap:4px;
	padding:3px 8px;
	border-radius:999px;
	font-size:11px;
	font-weight:700;
	letter-spacing:.02em;
	color:#0f7a3a;
	background:rgba(15,122,58,.12);
	border:1px solid rgba(15,122,58,.28);
}
.odi-social-published-ok {
	display:inline-flex;
	align-items:center;
	gap:4px;
	margin-top:6px;
	padding:3px 8px;
	border-radius:999px;
	font-size:11px;
	font-weight:700;
	letter-spacing:.02em;
	color:#0f7a3a;
	background:rgba(15,122,58,.12);
	border:1px solid rgba(15,122,58,.28);
}
.odi-card-body .odi-social-published-ok { margin-top:8px; }
.odi-post-seo-pending { font-size:12px; color:var(--odi-brand-slate); }
.odi-post-seo-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:4px; }
.odi-post-seo-status { font-size:13px; color:var(--odi-brand-slate); }
.odi-post-howto { border:1px solid var(--odi-brand-gray-light); border-radius:10px; overflow:hidden; background:#fff; }
.odi-post-howto--inline { margin-top:4px; }
.odi-post-howto--aside summary,
.odi-post-howto--inline summary { cursor:pointer; padding:11px 14px; font-size:12px; font-weight:800; color:var(--odi-brand-dark); background:var(--odi-brand-bg-soft); list-style:none; }
.odi-post-howto--aside summary::-webkit-details-marker,
.odi-post-howto--inline summary::-webkit-details-marker { display:none; }
.odi-post-howto--aside[open] summary,
.odi-post-howto--inline[open] summary { border-bottom:1px solid var(--odi-brand-gray-light); }
.odi-post-howto__body { padding:12px 14px 14px; display:grid; gap:8px; }
.odi-post-howto__body p { margin:0; font-size:12px; line-height:1.45; color:var(--odi-brand-slate); }
.odi-post-howto__body ol { margin:0; padding-left:18px; display:grid; gap:6px; }
.odi-post-howto__body li { font-size:12px; line-height:1.45; color:var(--odi-brand-dark); }
.odi-post-howto__tips { margin:0; padding-left:18px; display:grid; gap:6px; }
.odi-post-howto__tips li { font-size:12px; line-height:1.45; color:var(--odi-brand-dark); }
.odi-post-howto__body code { font-size:11px; background:#F8F9FA; border:1px solid #E5E8EB; border-radius:4px; padding:1px 4px; }
.odi-post-form textarea { width:100%; padding:10px 12px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; font-size:13px; box-sizing:border-box; }
.odi-post-form input[type="text"] { width:100%; box-sizing:border-box; }
@media (max-width: 960px) {
	.odi-post-editor-layout { grid-template-columns:1fr; }
	.odi-post-editor-aside { position:static; }
	.odi-post-editor-dates { grid-template-columns:1fr; }
	.odi-post-content-field { min-height:220px; }
}
.odi-sync-settings-card { border:var(--odi-card-border); background:#fff; border-radius:var(--odi-card-radius, 8px); padding:14px; display:grid; gap:8px; box-shadow:var(--odi-card-shadow); }
.odi-sync-settings-card[hidden] { display:none !important; }
.odi-sync-settings-card h4 { margin:0 0 4px; font-size:15px; }
.odi-sync-settings-card label { display:block; font-size:11px; font-weight:800; margin:2px 0 0; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:0.4px; }
.odi-sync-settings-card input,
.odi-sync-settings-card select { width:100%; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; background:#fff; }
.odi-sync-switch-card { display:flex; gap:10px; align-items:flex-start; border:var(--odi-card-border); background:var(--odi-brand-bg-soft); border-radius:var(--odi-card-radius, 8px); padding:14px; cursor:pointer; }
.odi-sync-switch-card.is-active { border-color:var(--odi-brand-red); box-shadow:inset 0 0 0 1px rgba(211,33,43,0.25); background:#FFF8F8; }
.odi-sync-switch-card input { margin-top:2px; width:18px; height:18px; }
.odi-sync-switch-card span { display:grid; gap:4px; }
.odi-sync-switch-card em { font-style:normal; color:var(--odi-brand-slate); font-size:12px; }
.odi-sync-inline-toggle { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; }
.odi-sync-inline-toggle input { width:16px; height:16px; }
.odi-sync-status { margin-top:8px; display:inline-flex; padding:5px 8px; border-radius:999px; font-size:11px; font-weight:800; line-height:1.2; }
.odi-sync-status--ok { background:#DFF4E4; color:#1E6B34; }
.odi-sync-status--warn { background:#FFF1D6; color:#9A5B00; }
.odi-sync-status--pending { background:#EAF0F5; color:#3A6B8C; }
.odi-sync-status--muted { background:#EEF1F3; color:var(--odi-brand-slate); }
.odi-sync-test-export { margin-top:18px; border:var(--odi-card-border); background:#fff; border-radius:var(--odi-card-radius, 8px); padding:16px; box-shadow:var(--odi-card-shadow); }
.odi-sync-test-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:12px; }
.odi-sync-test-card { border:var(--odi-card-border); background:var(--odi-brand-bg-soft); border-radius:var(--odi-card-radius, 8px); padding:14px; display:grid; gap:10px; align-content:start; }
.odi-sync-test-card-head { display:grid; gap:4px; }
.odi-sync-test-card-head em { font-style:normal; font-size:12px; color:var(--odi-brand-slate); }
.odi-sync-test-guidelines { margin:0; padding-left:18px; font-size:12px; color:var(--odi-brand-slate); display:grid; gap:6px; }
.odi-sync-test-spec { margin:0; font-size:12px; }
.odi-sync-xml-actions { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.odi-sync-xml-actions .odi-btn-muted,
.odi-sync-xml-actions .odi-btn-add-alt { white-space:normal; text-align:left; line-height:1.25; max-width:220px; }
.odi-domi-val-status { margin:0 0 12px; font-size:14px; font-weight:700; color:var(--odi-brand-dark); }
.odi-domi-val-status.is-ok { color:#1E6B34; }
.odi-domi-val-status.is-error { color:var(--odi-brand-red); }
.odi-domi-val-errors { margin:0; padding-left:18px; display:grid; gap:8px; font-size:13px; color:var(--odi-brand-dark); }
.odi-domi-val-errors:empty { display:none; }

.odi-sync-test-spec a { color:var(--odi-brand-red); font-weight:700; text-decoration:none; }
.odi-sync-test-spec a:hover { text-decoration:underline; }
.odi-post-media-preview { min-height:40px; }
.odi-post-media-preview img { width:100%; max-width:220px; height:auto; display:block; border-radius:8px; border:1px solid var(--odi-brand-gray-light); }
#odi-post-cover .odi-uploader,
#odi-post-gallery .odi-uploader,
#odi-hero-uploader .odi-uploader { max-width:100%; }
.odi-post-gallery-preview { display:flex; flex-wrap:wrap; gap:8px; min-height:40px; }
.odi-post-gallery-preview img { width:72px; height:72px; object-fit:cover; border-radius:8px; border:1px solid var(--odi-brand-gray-light); }
.odi-notice-drawer { display:block; position:absolute; right:0; top:calc(100% + 10px); z-index:10030; width:min(380px, calc(100vw - 24px)); background:#fff; color:var(--odi-brand-dark); border:1px solid var(--odi-brand-gray-light); border-top:3px solid var(--odi-brand-red); border-radius:0 0 8px 8px; box-shadow:0 12px 30px rgba(0,0,0,0.18); padding:12px; }
.odi-notice-drawer[hidden] { display:none !important; }
.odi-notice-drawer-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:10px; }
.odi-notice-drawer-head strong { font-size:13px; text-transform:uppercase; letter-spacing:0.3px; color:var(--odi-brand-dark); }
.odi-notice-drawer-close { border:0; background:transparent; font-size:22px; line-height:1; cursor:pointer; color:var(--odi-brand-slate); }
.odi-notice-drawer-empty { margin:0; padding:12px 4px; font-size:13px; color:var(--odi-brand-slate); }
.odi-notice-drawer-list { list-style:none; margin:0 0 10px; padding:0; display:grid; gap:8px; max-height:min(52vh, 420px); overflow:auto; }
.odi-notice-drawer-item { width:100%; text-align:left; border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:10px 12px; background:var(--odi-brand-bg-soft); cursor:pointer; font-family:inherit; color:inherit; }
.odi-notice-drawer-item:hover { border-color:var(--odi-brand-red); background:#fff; }
.odi-notice-drawer-item strong { display:block; margin:6px 0 4px; font-size:13px; color:var(--odi-brand-dark); }
.odi-notice-drawer-item-body { display:block; font-size:12px; color:var(--odi-brand-slate); line-height:1.4; margin-bottom:4px; }
.odi-notice-drawer-item time { font-size:11px; color:var(--odi-brand-slate); }
.odi-notice-drawer-all {
	display:block; margin-top:4px; padding:12px 4px 2px; border-top:1px solid var(--odi-brand-gray-light);
	font-size:13px; font-weight:800; color:var(--odi-brand-red); text-decoration:none; font-family:inherit; line-height:1.3;
}
.odi-notice-drawer-all:hover,
.odi-notice-drawer-all:focus-visible {
	color:var(--odi-brand-dark); text-decoration:underline; outline:none;
}
.odi-social-drawer { width:min(400px, calc(100vw - 24px)); }
.odi-social-panel { max-width:1400px; }
.odi-social-head { margin-bottom:12px; }
.odi-social-head .odi-page-kicker { margin:0 0 6px; }
.odi-social-head .odi-page-title { margin:0 0 6px; }
.odi-social-head .odi-panel-page-desc { margin:0; max-width:42ch; }
.odi-social-layout {
	display:grid;
	grid-template-columns:minmax(320px, 380px) minmax(0, 1fr);
	gap:16px;
	align-items:stretch;
	margin-top:0;
	min-height:min(82vh, 900px);
}
.odi-social-sidebar {
	background:#fff;
	border:var(--odi-card-border);
	border-radius:var(--odi-card-radius, 8px);
	box-shadow:var(--odi-card-shadow);
	padding:12px;
	position:sticky;
	top:12px;
	max-height:min(86vh, 940px);
	overflow:hidden;
	display:flex;
	flex-direction:column;
	gap:0;
	min-width:0;
}
.odi-social-sidebar .odi-social-table-wrap {
	flex:1 1 auto;
	min-height:0;
	overflow-y:auto;
	overflow-x:hidden;
	margin:0;
}
.odi-social-table--compact {
	table-layout:fixed;
	width:100%;
}
.odi-social-table--compact .odi-social-table-cell--main { width:auto; min-width:0; }
.odi-social-table-col-kind,
.odi-social-table--compact .odi-social-table-cell--kind { width:76px; text-align:center; }
.odi-panel-subnav.js-odi-social-subnav button {
	display:inline-flex;
	align-items:center;
	gap:6px;
}
.odi-panel-subnav.js-odi-social-subnav button svg { flex-shrink:0; }
.odi-panel-subnav.js-odi-media-subnav button {
	display:inline-flex;
	align-items:center;
	gap:6px;
}
.odi-panel-subnav.js-odi-media-subnav button svg { flex-shrink:0; }
.odi-social-type-tab {
	display:inline-flex;
	align-items:center;
	gap:6px;
	justify-content:center;
}
.odi-social-type-tab svg { flex-shrink:0; opacity:.85; }
.odi-social-tab-inner,
.odi-social-tone-inner {
	display:inline-flex;
	align-items:center;
	gap:8px;
	justify-content:center;
}
.odi-social-tab-inner svg,
.odi-social-tone-inner svg { flex-shrink:0; }
.odi-social-kind-cell {
	display:inline-flex;
	flex-direction:column;
	align-items:center;
	gap:2px;
	font-size:10px;
	font-weight:700;
	color:var(--odi-brand-slate);
	line-height:1.1;
}
.odi-social-kind-cell svg { opacity:.9; }
.odi-social-kind-cell__lab { display:block; max-width:64px; }
.odi-panel-social-plat svg {
	display:block;
	width:14px;
	height:14px;
	flex-shrink:0;
}
.odi-panel-social-plat.is-off svg { opacity:.75; }
.odi-social-primary-actions .odi-icon-btn {
	min-height:40px;
	padding:8px 14px;
}
.odi-social-primary-actions .odi-icon-btn--accent {
	background:var(--odi-brand-red);
	border-color:var(--odi-brand-red);
	color:#fff;
}
.odi-social-drawer-actions--row .odi-icon-btn {
	min-height:36px;
}
.odi-social-sidebar .odi-social-list {
	flex:1 1 auto;
	min-height:120px;
}
.odi-social-workspace {
	background:#fff;
	border:var(--odi-card-border);
	border-radius:var(--odi-card-radius, 8px);
	box-shadow:var(--odi-card-shadow);
	padding:14px 16px;
	min-height:0;
	min-width:0;
	display:flex;
	flex-direction:column;
	transition:box-shadow .35s ease, border-color .35s ease;
}
.odi-social-workspace.is-deeplink-land {
	border-color:var(--odi-brand-red);
	box-shadow:0 0 0 2px rgba(211,33,43,.18), var(--odi-card-shadow);
}
.odi-social-drawer-selected,
.js-odi-social-selected { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
.odi-social-result.js-odi-social-result,
.odi-social-result { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
.odi-social-result .js-odi-social-text,
.odi-social-result .odi-social-text-edit { flex:1 1 auto; min-height:260px; max-height:none; resize:vertical; }
.odi-social-history-card {
	background:#fff;
	border:var(--odi-card-border);
	border-radius:var(--odi-card-radius, 8px);
	box-shadow:var(--odi-card-shadow);
	padding:12px;
}
.odi-social-history-pane .odi-social-dashboard { margin-top:14px; }
@media (min-width: 1100px) {
	.odi-social-history-pane .odi-social-history-list {
		grid-template-columns:repeat(2, minmax(0, 1fr));
		gap:8px;
	}
}
.odi-social-head-desc--agent { /* keep short desc for agents */ }

#tab-social .odi-social-panel { width:100%; max-width:1400px; }
#tab-social .js-odi-social-view-pane[hidden] { display:none !important; }
.odi-social-drawer-selected[hidden],
.js-odi-social-selected[hidden] { display:none !important; }
.odi-social-workspace-empty[hidden],
.js-odi-social-empty[hidden] { display:none !important; }
.odi-btn-social.is-primary-social {
	background:var(--odi-brand-dark);
	border-color:var(--odi-brand-dark);
	color:#fff;
}
.odi-btn-social.is-primary-social:hover {
	background:var(--odi-brand-red);
	border-color:var(--odi-brand-red);
	color:#fff;
}
.odi-social-type-tabs {
	display:flex;
	gap:4px;
	margin:0 0 8px;
	justify-content:center;
}
.odi-social-type-tab {
	flex:1;
	border:1px solid var(--odi-brand-gray-light);
	background:var(--odi-brand-bg-soft);
	color:var(--odi-brand-slate);
	border-radius:6px;
	padding:7px 4px;
	font:inherit;
	font-size:11px;
	font-weight:700;
	cursor:pointer;
	text-align:center;
}
.odi-social-table-wrap { margin:0 0 8px; }
#tab-social .odi-social-table-wrap.odi-table-wrapper { overflow-x:hidden; max-width:100%; }
.odi-social-table .odi-social-table-pick {
	display:flex; align-items:center; gap:8px; width:100%; text-align:left;
	border:0; background:transparent; padding:6px 4px; cursor:pointer; font:inherit; color:inherit;
	min-width:0;
}
.odi-social-table-pick-wrap { position:relative; padding-right:0; }
.odi-social-row-plats {
	flex-shrink:0;
	display:inline-flex;
	gap:3px;
	align-items:center;
}
.odi-social-row-plats .odi-panel-social-plat { width:22px; height:22px; padding:2px; box-sizing:border-box; }
.odi-social-pick-main { flex:1 1 auto; min-width:0; }
.odi-social-table-row.is-overdue { background:#fff5f5; }
.odi-social-table-empty { text-align:center; color:var(--odi-brand-slate); padding:18px 12px !important; }
.odi-social-list-head {
	display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
	margin:0 0 10px;
}
.odi-social-list-head .js-odi-social-history-clear {
	display:inline-flex;
	align-items:center;
	gap:6px;
}
.odi-social-pager {
	display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap;
	margin:10px 0 0; padding:0;
}
.odi-social-pager-meta { font-size:11px; color:var(--odi-brand-slate); margin:0; }
.odi-social-table-muted { color:var(--odi-brand-slate); font-size:12px; }
.odi-social-queue-pane,
.odi-social-history-pane { padding-top:4px; }
.odi-social-type-tab.is-active {
	background:var(--odi-brand-dark);
	border-color:var(--odi-brand-dark);
	color:#fff;
}
.odi-social-search-wrap { display:block; margin:0 0 8px; }
.odi-social-search-wrap input {
	width:100%; box-sizing:border-box; padding:8px 10px; border:1px solid var(--odi-brand-gray-light);
	border-radius:6px; font:inherit; font-size:13px;
}
.odi-social-section-label {
	margin:0 0 6px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; color:var(--odi-brand-slate);
}
.odi-social-list { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.odi-social-pick {
	display:flex; align-items:center; gap:10px; width:100%; text-align:left;
	border:1px solid var(--odi-brand-gray-light); background:#fff; border-radius:var(--odi-card-radius, 8px);
	padding:8px; cursor:pointer; font:inherit; color:inherit;
}
.odi-social-pick:hover { border-color:#c5ccd1; background:var(--odi-brand-bg-soft); }
.odi-social-pick.is-selected {
	border-color:var(--odi-brand-red); box-shadow:inset 0 0 0 1px var(--odi-brand-red); background:#FFF8F8;
}
.odi-social-pick-thumb {
	width:44px; height:44px; border-radius:6px; object-fit:cover; flex-shrink:0; background:var(--odi-brand-bg-soft);
}
.odi-social-pick-ph {
	width:44px; height:44px; border-radius:6px; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
	background:var(--odi-brand-dark); color:#fff; font-weight:800; font-size:14px;
}
.odi-social-pick-main { min-width:0; flex:1; display:flex; flex-direction:column; gap:2px; }
.odi-social-pick-main strong {
	font-size:12px; line-height:1.3; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
}
.odi-social-pick-meta { font-size:11px; color:var(--odi-brand-slate); }
.odi-social-pick-badge {
	display:inline-block; align-self:flex-start; padding:1px 6px; border-radius:999px;
	font-size:9px; font-weight:800; letter-spacing:.02em; text-transform:uppercase;
}
.odi-social-pick-badge--listing { background:rgba(43,47,51,.1); color:var(--odi-brand-dark); }
.odi-social-pick-badge--post { background:rgba(211,33,43,.12); color:var(--odi-brand-red); }
.odi-social-empty { margin:0; padding:12px; font-size:13px; color:var(--odi-brand-slate); text-align:center; }
.odi-social-history { margin-top:14px; }
.odi-social-history > summary { cursor:pointer; list-style:none; }
.odi-social-history > summary::-webkit-details-marker { display:none; }
.odi-social-history-list { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.odi-social-history-excerpt {
	display:block; font-size:11px; color:var(--odi-brand-slate); line-height:1.4;
	overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.js-odi-social-view-pane[hidden] { display:none !important; }
#tab-social .js-odi-social-view-pane[data-social-view="history"] .odi-social-history-list { margin:0; }
.odi-social-selected-title { margin:0 0 14px; font-size:18px; font-weight:800; color:var(--odi-brand-dark); line-height:1.3; }
.odi-social-controls { display:grid; gap:10px; margin:0 0 14px; }
.odi-social-controls .odi-social-tabs { margin:0; }
.odi-social-controls .odi-social-tones { margin:0; }
.odi-social-primary-actions {
	margin:0 0 12px;
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	align-items:stretch;
}
.odi-social-primary-actions .odi-btn-add,
.odi-social-primary-actions .odi-btn-add-alt {
	flex:1 1 140px;
	min-width:min(100%, 140px);
	max-width:320px;
	padding:12px 18px;
	font-size:14px;
	font-weight:800;
	text-align:center;
}
.odi-social-primary-actions .odi-btn-add {
	flex:1.2 1 160px;
}
.odi-social-queue--compact {
	margin-top:auto;
	padding-top:10px;
	border-top:1px solid var(--odi-brand-gray-light);
}
.odi-social-queue--compact > summary { margin:0; }
.odi-social-queue--compact .odi-social-queue-list { max-height:140px; overflow:auto; margin-top:6px; }
.odi-social-queue--compact .odi-social-pick { padding:8px 10px; }
.odi-social-queue--compact .odi-social-pick-main strong {
	font-size:12px;
	-webkit-line-clamp:1;
}
.odi-social-queue-count {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:18px;
	height:18px;
	padding:0 5px;
	margin-left:6px;
	border-radius:999px;
	background:var(--odi-brand-dark);
	color:#fff;
	font-size:10px;
	font-weight:800;
}
.odi-social-more {
	margin:16px 0 0;
	padding:0;
	border:0;
	border-top:1px solid var(--odi-brand-gray-light);
}
.odi-social-more > summary {
	cursor:pointer;
	list-style:none;
	padding:12px 0 4px;
	font-size:12px;
	font-weight:700;
	color:var(--odi-brand-slate);
}
.odi-social-more > summary::-webkit-details-marker { display:none; }
.odi-social-more-body { padding:4px 0 0; }
.odi-social-warn { margin:0 0 12px; padding:10px 12px; border-radius:8px; background:#fff7ed; color:#9a5b00; font-size:13px; }
.odi-social-warn a { color:var(--odi-brand-red); font-weight:700; }
.odi-social-workspace-empty {
	display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
	flex:1 1 auto; min-height:220px; color:var(--odi-brand-slate); font-size:14px; text-align:center; padding:20px;
}
.odi-social-workspace-empty p { margin:0; max-width:28ch; line-height:1.45; }
.odi-social-empty-title { font-size:16px; font-weight:800; color:var(--odi-brand-dark); }
.odi-social-workspace-empty[hidden] { display:none !important; }
@media (max-width: 960px) {
	.odi-social-layout { grid-template-columns:1fr; }
	.odi-social-sidebar { position:static; max-height:none; }
}
.odi-social-drawer-lead { margin:0 0 10px; font-size:12px; color:var(--odi-brand-slate); line-height:1.45; }
.odi-social-drawer-search { display:block; margin:0 0 10px; }
.odi-social-drawer-search input {
	width:100%; box-sizing:border-box; padding:9px 11px; border:1px solid var(--odi-brand-gray-light);
	border-radius:8px; font:inherit; font-size:13px;
}
.odi-social-drawer-section-label {
	margin:0 0 6px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; color:var(--odi-brand-slate);
}
.odi-social-drawer-list .odi-notice-drawer-item {
	display:flex; align-items:center; gap:10px;
}
.odi-social-drawer-thumb {
	width:40px; height:40px; border-radius:6px; object-fit:cover; flex-shrink:0; background:var(--odi-brand-bg-soft);
}
.odi-social-drawer-item-main { min-width:0; flex:1; }
.odi-social-drawer-item-main strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.odi-social-drawer .js-odi-social-pick.is-selected {
	border-color:var(--odi-brand-red); background:#fff; box-shadow:inset 0 0 0 1px var(--odi-brand-red);
}
.odi-social-drawer-selected {
	margin-top:12px; padding-top:10px; border-top:1px solid var(--odi-brand-gray-light);
}
.js-odi-social-selected-title {
	margin:0 0 10px; font-size:13px; font-weight:800; color:var(--odi-brand-dark); line-height:1.35;
}
.odi-social-drawer-warn {
	margin:0; font-size:12px; color:var(--odi-brand-red); line-height:1.45;
}
.odi-social-drawer .odi-social-tabs {
	display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px;
}
.odi-social-drawer .odi-social-tab {
	flex:1 1 auto; min-width:88px; padding:8px 10px; font-size:12px;
}
.odi-social-tones {
	display:flex; gap:6px; flex-wrap:wrap; margin:0 0 10px;
}
.odi-social-tone {
	display:inline-flex; align-items:center; padding:7px 10px;
	border:1px solid var(--odi-brand-gray-light); border-radius:8px;
	font-size:12px; font-weight:700; color:var(--odi-brand-slate); cursor:pointer;
	background:#fff; transition:all 0.15s;
}
.odi-social-tone input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.odi-social-tone.is-active {
	border-color:var(--odi-brand-red); background:#FFF5F5; color:var(--odi-brand-dark);
	box-shadow:inset 0 0 0 1px var(--odi-brand-red);
}
.odi-social-drawer-actions { margin:0 0 8px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.odi-social-drawer-actions--row { margin-top:4px; }
.odi-social-drawer .odi-social-loading {
	display:flex; align-items:center; gap:8px; margin:8px 0; font-size:12px; color:var(--odi-brand-slate);
}
.odi-social-drawer .odi-social-loading[hidden] { display:none !important; }
.odi-social-drawer-msg {
	margin:0 0 8px; font-size:12px; color:var(--odi-brand-red); line-height:1.4;
}
.odi-social-drawer-msg.is-success { color:#166534; font-weight:700; }
.odi-social-drawer-msg.is-info { color:var(--odi-brand-dark); font-weight:600; }
.odi-social-drawer .odi-social-result[hidden] { display:none !important; }
.odi-social-preview {
	display:flex; gap:10px; align-items:center; margin:0 0 8px;
	padding:8px; border:1px solid var(--odi-brand-gray-light); border-radius:10px;
	background:var(--odi-brand-bg-soft);
}
.odi-social-preview-thumb {
	width:72px; height:72px; object-fit:cover; border-radius:8px; flex-shrink:0; background:#e5e8eb;
}
.odi-social-preview-thumb[hidden] { display:none !important; }
.odi-social-preview-meta { min-width:0; display:flex; flex-direction:column; gap:2px; }
.odi-social-preview-meta strong {
	font-size:13px; color:var(--odi-brand-dark); line-height:1.3;
	overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
}
.odi-social-preview-meta span { font-size:11px; color:var(--odi-brand-slate); font-weight:600; }
.odi-social-text-edit {
	display:block; width:100%; box-sizing:border-box; min-height:100px; margin:0 0 8px;
	padding:10px 12px; border:1px solid var(--odi-brand-gray-light); border-radius:8px;
	font:inherit; font-size:13px; line-height:1.45; resize:vertical; color:var(--odi-brand-dark);
	background:#fff;
}
.odi-social-hashtags { min-height:72px; max-height:120px; flex:0 0 auto; font-size:12px; color:var(--odi-brand-slate); resize:vertical; }
.odi-social-drawer-hint {
	margin:4px 0 0; font-size:11px; color:var(--odi-brand-slate); line-height:1.4;
}
.odi-social-drawer .js-odi-social-open {
	display:inline-flex; align-items:center; justify-content:center; text-decoration:none;
}
.odi-social-drawer .js-odi-social-open[hidden] { display:none !important; }
.odi-social-history {
	margin:10px 0 0; padding:0; border:0;
}
.odi-social-history > summary {
	cursor:pointer; list-style:none; margin:0 0 8px;
}
.odi-social-history > summary::-webkit-details-marker { display:none; }
.odi-social-history-list {
	list-style:none; margin:0; padding:0; display:grid; gap:6px;
	max-height:none; overflow:visible;
}
.odi-social-history-excerpt {
	display:block; margin-top:2px; font-size:11px; line-height:1.35; color:var(--odi-brand-slate);
	overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.odi-social-crop {
	margin:8px 0; padding:10px; border:1px solid var(--odi-brand-gray-light);
	border-radius:10px; background:#fff;
}
.odi-social-crop[hidden] { display:none !important; }
.odi-social-crop-ratio {
	margin:0 0 4px; font-size:12px; font-weight:800; color:var(--odi-brand-dark);
}
.odi-social-crop-note {
	margin:0 0 8px; font-size:11px; line-height:1.45; color:var(--odi-brand-slate);
}
.odi-share-ai-prompts {
	border:1px solid var(--odi-brand-gray-light); border-radius:10px; padding:10px 12px; background:var(--odi-brand-bg-soft);
}
.odi-share-ai-prompts summary { cursor:pointer; font-size:13px; color:var(--odi-brand-dark); }
.odi-share-ai-prompts textarea {
	width:100%; box-sizing:border-box; margin-top:6px; padding:8px 10px;
	border:1px solid var(--odi-brand-gray-light); border-radius:8px;
	font:inherit; font-size:13px; line-height:1.45; resize:vertical; min-height:64px;
}
.odi-social-drawer-p1-note { margin:0; font-size:12px; color:var(--odi-brand-slate); line-height:1.45; }
@media (max-width: 767px) {
	.odi-social-drawer { position:fixed; left:12px; right:12px; top:56px; width:auto; max-height:min(70dvh, 560px); overflow:auto; }
}
.odi-notice-toolbar { margin-bottom:12px; }
.odi-notice-search-field input { width:100%; min-height:42px; padding:10px 12px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; font-size:13px; box-sizing:border-box; }
.odi-notice-bulk { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px 0 14px; border-bottom:1px solid var(--odi-brand-gray-light); margin-bottom:12px; }
.odi-notice-bulk[hidden] { display:none !important; }
.odi-social-bulk { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px 0 14px; border-bottom:1px solid var(--odi-brand-gray-light); margin-bottom:12px; }
.odi-social-bulk[hidden] { display:none !important; }
.odi-social-bulk-all { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; margin:0; }
.odi-social-bulk-status { font-size:12px; color:var(--odi-brand-slate); }
/* .odi-card-social-pick usuniete z kafelkow ofert (bulk FB/IG tylko w Social). */
.odi-social-warn--inline { margin:0 0 10px; font-size:12px; }
.odi-social-scope-note { margin:12px 0 0; font-size:12px; color:var(--odi-brand-slate); }
.odi-social-dashboard {
	margin:20px 0 0;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:10px;
	padding:12px 14px;
	background:#fff;
}
#tab-social .js-odi-social-view-pane[data-social-view="history"] .odi-social-history-list {
	max-height:none;
	display:grid;
	gap:8px;
}
.odi-social-dashboard-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:10px; }
.odi-social-dashboard-card { border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:12px; background:var(--odi-brand-bg-soft,#F8F9FA); }
.odi-social-dashboard-card h4 { margin:0 0 8px; font-size:13px; }
.odi-social-dashboard-total { margin:0 0 10px; font-size:12px; color:var(--odi-brand-slate); }
.odi-social-dashboard-list { list-style:none; margin:0 0 10px; padding:0; }
.odi-social-dashboard-list li { display:flex; justify-content:space-between; gap:8px; font-size:12px; padding:4px 0; border-bottom:1px dashed var(--odi-brand-gray-light); }
.odi-social-dashboard-list li:last-child { border-bottom:0; }

.odi-i18n-inventory-grid {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:12px;
}
.odi-i18n-inventory-card {
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	padding:12px;
	background:var(--odi-brand-bg-soft,#F8F9FA);
}
.odi-i18n-inventory-card h4 { margin:0 0 8px; font-size:13px; }
.odi-i18n-inventory-total { margin:0 0 10px; font-size:12px; color:var(--odi-brand-slate); }
.odi-i18n-inventory-pills,
.odi-i18n-inventory-row { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:0 0 8px; font-size:12px; }
.odi-i18n-inventory-row:last-child { margin-bottom:0; }
.odi-i18n-inventory-pages { margin-top:12px; font-size:12px; }
.odi-i18n-inventory-pages summary { cursor:pointer; font-weight:700; }
.odi-i18n-inventory-pages ul { list-style:none; margin:8px 0 0; padding:0; display:grid; gap:8px; }
.odi-i18n-inventory-pages li { padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; }
.odi-i18n-hub .odi-i18n-toolbar {
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	align-items:center;
	justify-content:flex-start;
	margin:10px 0 12px;
}
.odi-i18n-lang-checks { display:grid; gap:8px; margin-top:10px; }
.odi-i18n-gemini-line { margin-top:10px; }
.odi-i18n-pages-status-line { margin:0 0 10px; }
.odi-i18n-queue-line {
	margin:0 0 8px;
	padding:8px 10px;
	border:1px dashed var(--odi-brand-gray-light);
	border-radius:8px;
	background:#fff;
	font-size:12px;
}
.odi-i18n-status-filters {
	display:flex;
	flex-wrap:wrap;
	gap:6px;
	margin:0 0 12px;
}
.odi-i18n-status-filters button {
	border:1px solid var(--odi-brand-gray-light);
	background:#fff;
	border-radius:6px;
	padding:4px 10px;
	font-size:11px;
	font-weight:700;
	cursor:pointer;
	color:var(--odi-brand-slate);
	font-family:inherit;
}
.odi-i18n-status-filters button.is-active {
	background:var(--odi-brand-dark);
	border-color:var(--odi-brand-dark);
	color:#fff;
}
.odi-i18n-preview-title { margin:0 0 10px; }
.odi-i18n-preview-body { display:grid; gap:12px; }
.odi-i18n-field-block {
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	padding:10px 12px;
	background:#fff;
}
.odi-i18n-field-block > strong { display:block; margin-bottom:8px; font-size:13px; }
.odi-i18n-cols {
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	gap:10px;
}
.odi-i18n-col-label {
	margin:0 0 4px;
	font-size:10px;
	font-weight:800;
	letter-spacing:0.4px;
	text-transform:uppercase;
	color:var(--odi-brand-slate);
}
.odi-i18n-col-pl {
	margin:0;
	white-space:pre-wrap;
	font-size:12px;
	line-height:1.4;
	padding:8px;
	background:var(--odi-brand-bg-soft,#F8F9FA);
	border-radius:6px;
	min-height:2.5em;
	max-height:220px;
	overflow:auto;
}
.odi-i18n-field,
.js-odi-i18n-field {
	width:100%;
	font-size:12px;
	font-family:inherit;
	box-sizing:border-box;
	padding:8px;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:6px;
}
.odi-i18n-row-actions { display:flex; flex-wrap:wrap; gap:6px; }
.odi-i18n-row-err { margin-top:4px; color:#D3212B; }
.odi-pill--ok { background:rgba(15,122,58,.12); color:#0f7a3a; }
.odi-pill--warn { background:rgba(211,33,43,.1); color:#D3212B; }
.odi-pill--missing { background:rgba(211,33,43,.1); color:#D3212B; }
.odi-pill--stale { background:rgba(196,92,38,.12); color:#C45C26; }
.odi-pill--scheduled { background:rgba(58,107,140,.12); color:#3A6B8C; }
.odi-pill--ready { background:rgba(15,122,58,.12); color:#0f7a3a; }
.odi-pill--checked { background:rgba(107,76,154,.12); color:#6B4C9A; }
.odi-pill--off { background:var(--odi-brand-gray-light); color:var(--odi-brand-slate); }
.odi-card-edge--i18n {
	padding: 5px 6px;
	border-radius: 0 6px 6px 0;
	background: #fff;
	border: 1px solid #cfd4d8;
	border-left: 0;
	box-shadow: 0 1px 3px rgba(43,47,51,.12);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1;
	color: #64748b;
	text-decoration: none;
	text-align: center;
	pointer-events: auto;
}
.odi-card-edge--i18n.is-ok { color: #0f7a3a; background: #e8f6ee; border-color: rgba(15,122,58,.35); }
.odi-card-edge--i18n.is-warn { color: #C45C26; background: #fdf0e9; border-color: rgba(196,92,38,.35); }
.odi-card-edge--i18n.is-off { color: #64748b; background: #f1f5f9; opacity: .85; }
@media (max-width:991px) {
	.odi-i18n-cols { grid-template-columns:1fr; }
}
@media (max-width:767px) {
	.odi-i18n-inventory-grid { grid-template-columns:1fr; }
}
.odi-social-queue { margin-top:12px; }
.odi-social-queue-list { list-style:none; margin:0; padding:0; }
.odi-social-queue-list > li { position:relative; display:flex; align-items:stretch; gap:4px; margin-bottom:6px; }
.odi-social-queue-list .js-odi-social-queue-pick { flex:1; text-align:left; }
.odi-social-queue-list .js-odi-social-queue-pick.is-overdue { border-color:#f5c2c7; background:#fff5f5; }
.odi-social-queue-dismiss { flex:0 0 28px; border:1px solid var(--odi-brand-gray-light); background:#fff; border-radius:8px; cursor:pointer; color:var(--odi-brand-slate); font-size:18px; line-height:1; }
.odi-social-reminder { margin:12px 0; padding:10px 12px; border:1px dashed var(--odi-brand-gray-light); border-radius:8px; background:var(--odi-brand-bg-soft,#F8F9FA); }
.odi-social-reminder-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.odi-social-reminder-row input[type="datetime-local"] { flex:1; min-width:180px; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; font-family:inherit; }
.odi-social-reminder-hint { margin:8px 0 0; font-size:11px; color:var(--odi-brand-slate); }
@media (max-width:767px) {
	.odi-social-dashboard-grid { grid-template-columns:1fr; }
}
.odi-notice-bulk-all { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; margin:0; }
.odi-notice-bulk-count { font-size:12px; color:var(--odi-brand-slate); }
.odi-notice-card-row { display:grid; grid-template-columns:36px 1fr; align-items:stretch; gap:0; }
.odi-notice-card-row.is-filtered-out,
.odi-notice-group.is-filtered-out,
.odi-notice-card.is-filtered-out,
.odi-k-row.is-filtered-out,
.odi-sync-row.is-filtered-out,
#odi-posts-table tbody tr.is-filtered-out,
.odi-agent-row.is-filtered-out,
.odi-partner-row.is-filtered-out { display:none !important; }
.odi-notice-check { display:flex; align-items:flex-start; justify-content:center; padding:16px 8px 0; margin:0; cursor:pointer; }
.odi-notice-check input { width:16px; height:16px; margin:0; appearance:auto; -webkit-appearance:checkbox; }
.odi-notice-group-items .odi-notice-card-row .odi-notice-card { border-radius:8px; }
.odi-card-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.odi-card-actions button, .odi-card-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 5px 10px;
	border-radius: 6px;
	border: 1px solid transparent;
	font-size: 11px;
	font-weight: 800;
	font-family: inherit;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.odi-btn-edit { background: var(--odi-brand-red); border-color: var(--odi-brand-red); color: #fff; }
.odi-btn-edit:hover { background: var(--odi-brand-red-dark); border-color: var(--odi-brand-red-dark); color: #fff; }
.odi-btn-view { background: var(--odi-brand-dark); border-color: var(--odi-brand-dark); color: #fff; }
.odi-btn-view:hover { background: #1a1d20; border-color: #1a1d20; color: #fff; }
.odi-card-actions .odi-btn-muted {
	min-height: 30px;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 11px;
}
.odi-login-box { max-width: 420px; margin: 60px auto; padding: 35px 25px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(43,47,51,0.08); text-align: center; border-top: 4px solid #D3212B; }
.odi-user-chip { display:flex; align-items:center; gap:10px; }
.odi-user-photo-frame { width:40px; height:40px; border-radius:8px; padding:2px; background:linear-gradient(135deg,#fff 0%,#E5E8EB 100%); box-shadow:0 0 0 2px #D3212B; flex-shrink:0; }
.odi-user-photo { width:100%; height:100%; object-fit:cover; border-radius:6px; display:block; background:#555D61; }
.odi-user-photo--empty { display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:14px; }
.odi-user-hello { display:flex; flex-direction:column; line-height:1.15; color:#fff; }
.odi-user-hello-label { font-size:11px; opacity:0.75; font-weight:600; }
.odi-user-hello strong { font-size:14px; font-weight:800; }
.odi-user-role { font-size:9px; letter-spacing:0.6px; text-transform:uppercase; opacity:0.7; font-weight:700; }
@media (min-width: 1100px) {
	.odi-bell { width:auto; padding:0 12px; }
	.odi-bell-label { position:static; width:auto; height:auto; margin:0; overflow:visible; clip:unset; clip-path:none; }
}

.odi-dash-footer { background:var(--odi-brand-dark); color:rgba(255,255,255,0.78); border-top:3px solid var(--odi-brand-red); padding:16px 30px; margin-top:auto; }
.odi-dash-footer-inner { display:flex; flex-wrap:wrap; gap:10px 28px; align-items:center; justify-content:space-between; max-width:1440px; margin:0 auto; font-size:12px; }
.odi-dash-footer-brand { display:flex; align-items:center; gap:8px; color:#fff; }
.odi-dash-footer-brand span:last-child { opacity:0.7; font-weight:500; }
.odi-dash-footer-mark { width:8px; height:8px; background:var(--odi-brand-red); display:inline-block; }
.odi-dash-footer-meta { display:flex; align-items:center; gap:8px; letter-spacing:0.2px; }
.odi-dash-footer-dot { width:3px; height:3px; border-radius:50%; background:rgba(255,255,255,0.45); display:inline-block; }
.odi-dash-footer-author { color:#fff; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.odi-dash-footer-link { color:#fff; font-weight:800; text-decoration:none; }
.odi-dash-footer-build { opacity:0.38; font-size:10px; font-weight:700; letter-spacing:0.04em; text-transform:lowercase; }
.odi-dash-footer:hover .odi-dash-footer-build { opacity:0.72; }
.odi-changelog-build-tag { font-size:12px; padding:2px 8px; border-radius:999px; background:#e5e8eb; color:#555d61; }
.odi-panel-login-app { min-height:100vh; display:flex; flex-direction:column; }
.odi-panel-login-app .odi-login-box { margin-top:auto; margin-bottom:auto; }
.odi-panel-login-app .odi-dash-footer { margin-top:0; }

.odi-auth-box { text-align:left; }
.odi-auth-box--wide { max-width:640px; }
.odi-auth-logo { display:block; margin:0 auto 16px; max-height:48px; width:auto; }
.odi-auth-title { text-align:center; margin:0 0 8px; font-size:22px; color:var(--odi-brand-dark); }
.odi-auth-step { text-align:center; margin:0 0 8px; font-size:11px; font-weight:800; letter-spacing:0.6px; text-transform:uppercase; color:var(--odi-brand-red); }
.odi-auth-test-banner { margin:0 0 16px; padding:10px 14px; background:#fff3e0; border:1px solid #ffcc80; border-radius:6px; color:#e65100; font-size:12px; font-weight:700; text-align:center; }
.odi-auth-test-banner--panel { max-width:1440px; margin:12px auto 0; }
.odi-auth-lead { text-align:center; margin:0 0 20px; color:var(--odi-brand-slate); font-size:14px; line-height:1.45; }
.odi-auth-error { background:#fdecea; color:#b71c1c; border:1px solid #f5c6cb; border-radius:6px; padding:10px 12px; margin:0 0 16px; font-size:13px; text-align:center; }
.odi-auth-form label { display:block; margin:12px 0 6px; font-size:12px; font-weight:700; color:var(--odi-brand-dark); text-transform:uppercase; letter-spacing:0.4px; }
.odi-auth-input { width:100%; padding:10px 12px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; font-size:15px; box-sizing:border-box; }
.odi-auth-input--otp { letter-spacing:0.25em; text-align:center; font-weight:700; font-size:20px; }
.odi-auth-remember { display:flex; align-items:center; gap:8px; margin:14px 0 0; font-size:13px; font-weight:600; color:var(--odi-brand-slate); text-transform:none; letter-spacing:0; }
.odi-auth-submit { width:100%; margin-top:18px; padding:12px 16px; border:none; border-radius:6px; background:var(--odi-brand-red); color:#fff; font-weight:800; font-size:14px; cursor:pointer; }
.odi-auth-submit:hover { filter:brightness(0.95); }
.odi-auth-hint { margin:16px 0 0; font-size:12px; color:var(--odi-brand-slate); text-align:center; line-height:1.4; }
.odi-auth-logout { margin:12px 0 0; text-align:center; font-size:12px; }
.odi-auth-logout a { color:var(--odi-brand-slate); }
.odi-auth-2fa-grid { display:grid; grid-template-columns:200px 1fr; gap:20px; align-items:start; margin-bottom:8px; }
.odi-auth-qr-wrap { text-align:center; }
.odi-auth-qr { border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:8px; background:#fff; }
.odi-auth-2fa-steps ol { margin:0 0 12px; padding-left:18px; font-size:13px; line-height:1.5; color:var(--odi-brand-dark); }
.odi-auth-secret-label { margin:0 0 4px; font-size:11px; font-weight:700; text-transform:uppercase; color:var(--odi-brand-slate); }
.odi-auth-secret { display:block; padding:8px 10px; background:#F8F9FA; border-radius:6px; font-size:13px; word-break:break-all; }
.odi-auth-form--inline { margin-top:16px; }
.odi-auth-backup-flash { max-width:1440px; margin:16px auto 0; padding:16px 20px; background:#fff8e1; border:1px solid #ffe082; border-left:4px solid var(--odi-brand-red); border-radius:8px; }
.odi-auth-backup-flash strong { display:block; margin-bottom:6px; color:var(--odi-brand-dark); }
.odi-auth-backup-flash p { margin:0 0 10px; font-size:13px; color:var(--odi-brand-slate); }
.odi-auth-backup-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:8px; margin:0; padding:0; list-style:none; }
.odi-auth-backup-list code { display:block; padding:6px 8px; background:#fff; border:1px solid #ffe082; border-radius:4px; font-size:13px; text-align:center; }
@media (max-width:640px) {
	.odi-auth-2fa-grid { grid-template-columns:1fr; }
}
.odi-auth-divider { display:flex; align-items:center; gap:12px; margin:18px 0 12px; color:var(--odi-brand-slate); font-size:11px; font-weight:800; letter-spacing:.6px; text-transform:uppercase; }
.odi-auth-divider::before, .odi-auth-divider::after { content:""; flex:1; height:1px; background:var(--odi-brand-gray-light); }
.odi-auth-submit--ghost { background:#fff; color:var(--odi-brand-dark); border:1px solid var(--odi-brand-gray-light); margin-top:0; }
.odi-auth-submit--ghost:hover { border-color:var(--odi-brand-red); color:var(--odi-brand-red); filter:none; background:#fff; }
.odi-auth-submit--icon { display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.odi-auth-passkey-icon { color:#111; }
.odi-auth-hint--passkey { margin-top:10px; }
.odi-passkey-status { margin:0; font-size:12px; color:var(--odi-brand-slate); }
.odi-passkey-status.is-error { color:#b71c1c; }
.odi-passkey-list { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.odi-passkey-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:6px; }
.odi-passkey-list--login { margin-top:12px; }
.odi-passkey-list--login .odi-passkey-item { justify-content:flex-start; border-left:3px solid #1E6B34; background:#f6fbf7; }
.odi-passkey-list--login .odi-passkey-item.is-stale { border-left-color:#B8891A; background:#fffaf0; }
.odi-passkey-meta { display:flex; flex-direction:column; gap:2px; }
.odi-passkey-meta strong { font-size:13px; color:var(--odi-brand-dark); }
.odi-passkey-meta em { font-size:12px; font-style:normal; color:var(--odi-brand-slate); }
.odi-passkey-remove { border:0; background:transparent; color:var(--odi-brand-red); font-weight:800; font-size:12px; cursor:pointer; }
.odi-passkey-empty { font-size:12px; color:var(--odi-brand-slate); padding:4px 0; }

.odi-panel-editor-wrap { padding:8px 30px 24px; max-width:1440px; margin:0 auto; width:100%; flex:1; box-sizing:border-box; }
html:has(body.odi-panel-editor-page),
body.odi-panel-editor-page,
body.odi-panel-editor-page #odi-dashboard-app {
	overflow: visible !important;
}
body.odi-panel-editor-page .odi-dash-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
}
.odi-wizard-steps-bar {
	position: sticky;
	top: 63px;
	z-index: 40;
	background: #fff;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 10px;
	margin: 0 0 8px;
	overflow: hidden;
}
#odi-dashboard-app .odi-wizard-steps-bar .odi-wizard-steps {
	padding: 10px 12px 8px;
	border-bottom: none;
	background: #fff;
}
#odi-dashboard-app .odi-wizard-steps-bar .odi-wizard-steps::before {
	top: 22px;
}
.odi-panel-saved { background:#D4EDDA; color:#1E6B34; padding:8px 14px; border-radius:6px; font-size:13px; font-weight:700; }
.odi-panel-error { background:#FDECEC; color:#9B1C1C; padding:8px 14px; border-radius:6px; font-size:13px; font-weight:700; margin:0 0 12px; border-left:4px solid #D3212B; }
.odi-mono-svg { display:inline-block; vertical-align:middle; fill:currentColor; flex-shrink:0; }
.odi-panel-editor-toolbar { display:flex; flex-direction:column; gap:8px; align-items:stretch; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:10px; padding:10px 12px; margin-bottom:10px; position:static; box-shadow:none; }
.odi-panel-editor-toolbar-row { display:flex; flex-wrap:wrap; gap:8px 10px; align-items:center; }
.odi-panel-editor-toolbar-row--main { justify-content:space-between; }
.odi-panel-editor-toolbar-row--tools { padding-top:8px; border-top:1px solid var(--odi-brand-gray-light); }
.odi-panel-editor-toolbar-main { flex:1 1 220px; min-width:180px; max-width:320px; display:flex; flex-direction:column; gap:2px; background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:6px 8px; align-self:stretch; }
.odi-editor-toolbar-tools { display:flex; flex-wrap:wrap; gap:6px; align-items:center; width:100%; }
.odi-editor-toolbar-sep { width:1px; height:22px; background:var(--odi-brand-gray-light); margin:0 2px; flex-shrink:0; }
.odi-editor-primary-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-left:auto; }
.odi-listing-check-modal { display:none; align-items:center; justify-content:center; z-index:100050; padding:16px; }
.odi-listing-check-modal:not([hidden]) { display:flex !important; }
.odi-listing-check-dialog { width:min(720px, calc(100vw - 24px)); max-height:min(88vh, 900px); overflow:auto; background:#fff; border-radius:12px; border:1px solid var(--odi-brand-gray-light); border-top:3px solid var(--odi-brand-red); padding:16px 18px 14px; }
.odi-listing-check-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; margin-bottom:12px; }
.odi-listing-check-head h3 { margin:0; font-size:16px; color:var(--odi-brand-dark); }
.odi-listing-check-sub { margin:4px 0 0; font-size:12px; color:var(--odi-brand-slate); }
.odi-listing-check-body { max-height:min(58vh, 560px); overflow:auto; }
.odi-listing-check-foot { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; margin-top:14px; padding-top:12px; border-top:1px solid var(--odi-brand-gray-light); }
.odi-listing-gemini-opts {
	flex: 1 1 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	justify-content: flex-start;
	order: -1;
	margin: 0 0 4px;
}
.odi-listing-gemini-opts[hidden] { display: none !important; }
.odi-listing-gemini-opt {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--odi-brand-dark);
	cursor: pointer;
}
.odi-listing-gemini-summary {
	margin:10px 0 0; padding:10px 12px; border-radius:8px;
	background:#eef6ff; border:1px solid #cfe2ff;
	font-size:13px; line-height:1.45; color:var(--odi-brand-dark);
}
.odi-listing-check-foot .js-odi-listing-quality-apply[hidden] { display:none !important; }
.odi-panel-editor-kicker { font-size:9px; font-weight:800; letter-spacing:0.8px; text-transform:uppercase; color:var(--odi-brand-slate); }
.odi-panel-editor-title { width:100%; border:1px solid var(--odi-brand-gray-light); border-radius:6px; padding:6px 8px; font-size:13px; font-weight:700; color:var(--odi-brand-dark); background:#fff; transition:border-color 0.15s; }
.odi-panel-editor-title:focus { outline:none; border-color:var(--odi-brand-red); }
.odi-panel-editor-toolbar-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-left:0; flex:1 1 auto; }
.odi-status-segment { display:inline-flex; align-items:stretch; background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:2px; gap:2px; min-height:34px; flex-shrink:0; }
.odi-status-segment-btn { display:inline-flex; align-items:center; gap:4px; border:none; background:transparent; color:var(--odi-brand-slate); font-size:11px; font-weight:700; padding:0 8px; border-radius:6px; cursor:pointer; transition:background 0.15s, color 0.15s, box-shadow 0.15s; white-space:nowrap; font-family:inherit; line-height:1; min-height:28px; }
.odi-status-segment-btn .odi-mono-svg { color:var(--odi-brand-dark); opacity:0.72; transition:opacity 0.15s; }
.odi-status-segment-btn:hover { color:var(--odi-brand-dark); background:rgba(255,255,255,0.7); }
.odi-status-segment-btn:hover .odi-mono-svg { opacity:1; }
.odi-status-segment-btn.is-active { background:#fff; color:var(--odi-brand-dark); box-shadow:0 1px 4px rgba(43,47,51,0.1); }
.odi-status-segment-btn.is-active .odi-mono-svg { opacity:1; color:var(--odi-brand-dark); }
.odi-publish-box { display:flex; flex-direction:column; gap:4px; background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:6px 8px; min-width:0; }
.odi-publish-box-label { font-size:9px; font-weight:800; letter-spacing:0.7px; text-transform:uppercase; color:var(--odi-brand-slate); }
.odi-status-segment--triple { width:100%; }
.odi-status-segment--triple .odi-status-segment-btn { flex:1; justify-content:center; }
.odi-status-segment-btn.is-active { background:#fff; color:var(--odi-brand-dark); box-shadow:0 1px 4px rgba(43,47,51,0.1); border:1px solid var(--odi-brand-red); }
.odi-status-segment-btn.is-active span { color:var(--odi-brand-red); font-weight:800; }
.odi-publish-schedule { display:flex; flex-direction:column; gap:4px; padding-top:4px; border-top:1px dashed var(--odi-brand-gray-light); }
.odi-publish-schedule[hidden] { display:none !important; }
.odi-publish-schedule label { font-size:11px; font-weight:700; color:var(--odi-brand-slate); }
.odi-publish-schedule input[type="datetime-local"] { width:100%; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; font-size:13px; min-height:44px; background:#fff; font-family:inherit; }
.odi-publish-schedule input:focus { outline:none; border-color:var(--odi-brand-red); }
.odi-publish-visibility { display:flex; flex-direction:column; gap:6px; padding-top:6px; border-top:1px dashed var(--odi-brand-gray-light); }
.odi-publish-visibility[hidden] { display:none !important; }
.odi-publish-visibility-label { font-size:10px; font-weight:800; letter-spacing:0.5px; text-transform:uppercase; color:var(--odi-brand-slate); }
.odi-publish-visibility-fields { display:grid; grid-template-columns:1fr 1fr; gap:8px 12px; }
.odi-publish-visibility-fields label { font-size:11px; font-weight:700; color:var(--odi-brand-slate); }
.odi-publish-visibility-fields input[type="date"] { width:100%; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; font-size:13px; min-height:44px; background:#fff; font-family:inherit; }
.odi-publish-visibility-fields input:focus { outline:none; border-color:var(--odi-brand-red); }
.odi-editor-utility-stack { display:flex; flex-wrap:wrap; gap:8px; align-items:stretch; }
.odi-editor-action-card {
	background: var(--odi-brand-bg-soft);
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 8px;
	padding: 6px 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.odi-editor-action-card__label {
	display: block;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: var(--odi-brand-slate);
}
.odi-editor-action-card__buttons { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.odi-editor-action-card .odi-post-checklist { max-height: 120px; overflow: auto; }
.odi-editor-primary-actions { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.odi-import-dialog {
	background: #fff;
	border-radius: 12px;
	border: 1px solid var(--odi-brand-gray-light);
	box-shadow: 0 16px 40px rgba(43, 47, 51, 0.18);
	max-width: min(720px, calc(100vw - 24px));
	width: 100%;
	max-height: min(90vh, 820px);
	overflow: auto;
	padding: 18px 18px 16px;
	margin: auto;
}
.odi-import-label {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: var(--odi-brand-dark);
	margin: 10px 0 6px;
	line-height: 1.4;
}
.odi-import-url {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 8px;
	font-size: 14px;
	margin-top: 4px;
}
.odi-import-textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 8px;
	font: inherit;
	font-size: 13px;
	line-height: 1.45;
	resize: vertical;
	min-height: 180px;
	box-sizing: border-box;
}
.odi-import-preview {
	margin-top: 12px;
	padding: 12px;
	background: var(--odi-brand-bg-soft, #F8F9FA);
	border-radius: 8px;
	border: 1px solid var(--odi-brand-gray-light);
}
.odi-import-preview h4 {
	margin: 0 0 8px;
	font-size: 13px;
}
.odi-import-preview-list,
.odi-import-notes {
	margin: 0;
	padding-left: 18px;
	font-size: 12.5px;
	color: var(--odi-brand-dark);
}
.odi-import-preview-list li { margin: 0 0 4px; }
.odi-import-notes { margin-top: 8px; color: var(--odi-brand-slate); }
.odi-import-notes .is-warn { color: var(--odi-brand-red); font-weight: 600; }
.odi-import-duplicate {
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid rgba(211, 33, 43, 0.25);
	border-radius: 8px;
	background: #fff8f8;
}
.odi-import-duplicate-msg {
	margin: 0 0 10px;
	color: var(--odi-brand-dark);
	font-size: 14px;
	line-height: 1.45;
}
.odi-import-duplicate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.odi-import-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
	align-items: center;
}
.odi-ai-status-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.odi-ai-status-list li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid var(--odi-brand-gray-light);
	background: var(--odi-brand-soft-bg, #F8F9FA);
	font-size: 13px;
}
.odi-ai-status-list li.is-ok {
	border-color: #bbf7d0;
	background: #f0fdf4;
}
.odi-ai-status-list li.is-warn {
	border-color: #fde68a;
	background: #fffbeb;
}
.odi-api-usage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
	margin-top: 12px;
}
.odi-api-usage-card {
	background: #fff;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 10px;
	padding: 14px 16px;
}
.odi-api-usage-card--wide { grid-column: 1 / -1; }
.odi-api-usage-card h4 { margin: 0 0 6px; font-size: 15px; }
.odi-api-usage-card h5 { margin: 12px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--odi-brand-slate); }
.odi-api-usage-status { margin: 0 0 10px; font-size: 12px; color: var(--odi-brand-slate); }
.odi-api-usage-stats { margin: 0; padding-left: 18px; font-size: 13px; }
.odi-api-usage-stats li { margin: 0 0 4px; }
.odi-api-usage-breakdown { list-style: none; margin: 0; padding: 0; }
.odi-api-usage-breakdown li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px solid var(--odi-brand-gray-light);
	font-size: 12.5px;
}
.odi-api-usage-banner {
	background: var(--odi-brand-soft-bg, #F8F9FA);
}
.odi-api-usage-banner--warn {
	background: #fff5f5;
	border-color: #f0c0c0;
}
.odi-api-usage-banner--warn h4 {
	color: var(--odi-brand-red, #D3212B);
}
.odi-api-usage-table tr.is-current td {
	font-weight: 700;
	background: #f0fdf4;
}
.odi-api-usage-history-wrap {
	margin-top: 12px;
}
.odi-api-usage-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.odi-api-usage-table th,
.odi-api-usage-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--odi-brand-gray-light); }
.odi-autosave-status {
	font-size: 11px;
	font-weight: 600;
	color: var(--odi-brand-slate);
	line-height: 1.3;
	max-width: 160px;
}
.odi-autosave-status.is-error { color: var(--odi-brand-red); }
.odi-btn-add--editor, .odi-btn-social--editor { min-height:34px; border-radius:8px; width:auto; padding:0 12px; }
.odi-btn-add--editor { gap:6px; }
#odi-dashboard-app .odi-pdf-actions--compact { flex-direction:row; min-width:0; }
#odi-dashboard-app .odi-pdf-btn { min-height:34px; padding:6px 10px; }
.odi-panel-editor-back { display:inline-flex; align-items:center; gap:8px; padding:0 10px; border-radius:8px; text-decoration:none; color:var(--odi-brand-dark); border:1px solid var(--odi-brand-gray-light); background:var(--odi-brand-bg-soft); transition:background 0.15s, border-color 0.15s; min-height:34px; }
.odi-panel-editor-back:hover { background:#fff; border-color:#cfd4d8; color:var(--odi-brand-dark); }
.odi-panel-editor-back-text { display:flex; flex-direction:column; gap:0; line-height:1.2; }
.odi-panel-editor-back-text strong { font-size:12px; font-weight:800; }
.odi-panel-editor-back-text span { display:none; }
.odi-panel-editor-body { display:block; }
.odi-panel-editor-main, .odi-panel-editor-side { background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:8px; overflow:visible; }
#odi-dashboard-app .odi-editor { margin:0; overflow:visible; }
#odi-dashboard-app .odi-editor-panel { overflow:visible; }

/* Etykiety pól (kontrahenci / agenci / stare formularze) - bez .odi-field-label (kreator oferty: tytuł + badge) */
#odi-dashboard-app .odi-field > label:not(.odi-check):not(.odi-field-label),
#odi-dashboard-app .odi-contractor-editor .odi-field > label:not(.odi-check):not(.odi-field-label),
#odi-dashboard-app .odi-agent-editor .odi-field > label:not(.odi-check):not(.odi-field-label) {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: var(--odi-brand-dark);
	margin-bottom: 6px;
	line-height: 1.4;
	letter-spacing: 0.01em;
}
#odi-dashboard-app .odi-editor-sub {
	font-size: 14px;
	font-weight: 800;
	color: var(--odi-brand-dark);
}
#odi-dashboard-app select.widefat,
#odi-dashboard-app .odi-field select,
#odi-dashboard-app .odi-panel-editor-status,
#odi-dashboard-app .odi-filter-group select {
	min-height: 44px;
	height: auto;
	padding: 10px 36px 10px 12px;
	background-color: #fff;
	max-width: 100%;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555D61' d='M1.4.7 6 5.3 10.6.7 12 2.1 6 8 0 2.1z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px 8px;
	line-height: 1.35;
}
#odi-dashboard-app .odi-segmented {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}
#odi-dashboard-app .odi-segmented label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 8px;
	background: #fff;
	font-weight: 700;
	font-size: 13px;
	color: var(--odi-brand-slate);
	cursor: pointer;
	min-height: 44px;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}
#odi-dashboard-app .odi-segmented label:has(input:checked) {
	border-color: var(--odi-brand-red);
	background: #FFF5F5;
	color: var(--odi-brand-dark);
	box-shadow: inset 0 0 0 1px var(--odi-brand-red);
}
#odi-dashboard-app .odi-segmented input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
#odi-dashboard-app .odi-checks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 8px 12px;
	align-items: start;
}
#odi-dashboard-app .odi-checks--featured {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
#odi-dashboard-app .odi-checks label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	white-space: normal;
	line-height: 1.35;
	padding: 6px 0;
}
#odi-dashboard-app .odi-checks--featured label {
	font-weight: 700;
	padding: 10px 12px;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 8px;
	background: var(--odi-brand-soft-bg);
}
#odi-dashboard-app .odi-checks--featured label:has(input:checked) {
	border-color: var(--odi-brand-red);
	background: #fff;
}
#odi-dashboard-app .odi-editor { margin:0; }
#odi-dashboard-app .widefat, #odi-dashboard-app input[type="text"], #odi-dashboard-app input[type="number"], #odi-dashboard-app input[type="email"], #odi-dashboard-app input[type="url"], #odi-dashboard-app input[type="date"], #odi-dashboard-app textarea, #odi-dashboard-app select.widefat { width:100%; padding:10px 12px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; font-size:13px; min-height:44px; box-sizing:border-box; }
#odi-dashboard-app textarea { min-height:96px; }
#odi-dashboard-app .button {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:36px;
	padding:8px 14px;
	border-radius:8px;
	background:#fff;
	color:var(--odi-brand-dark);
	border:1px solid var(--odi-brand-gray-light);
	cursor:pointer;
	font-weight:800;
	font-size:12px;
	box-shadow:0 1px 2px rgba(43,47,51,.04);
	line-height:1.2;
}
#odi-dashboard-app .button-primary, #odi-dashboard-app .button.button-primary {
	background:var(--odi-brand-red);
	border-color:var(--odi-brand-red);
	color:#fff;
}
#odi-dashboard-app .button-primary:hover, #odi-dashboard-app .button.button-primary:hover {
	background:var(--odi-brand-red-dark);
	border-color:var(--odi-brand-red-dark);
	color:#fff;
}
.odi-btn-add, .odi-btn-add-alt, .odi-btn-table, .odi-btn-muted { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }

.odi-seo-panel-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin-top:16px; }
.odi-seo-panel-card { background:#fff; border:var(--odi-card-border); border-radius:var(--odi-card-radius, 8px); padding:18px; display:grid; gap:12px; box-shadow:var(--odi-card-shadow); }
.odi-seo-panel-card .odi-panel-section-head .odi-page-mod-title,
.odi-sync-settings-card .odi-panel-section-head .odi-page-mod-title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--odi-brand-gray-light);
	font-size: var(--odi-section-heading-size, 13px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--odi-brand-dark);
}

.odi-seo-panel-card .odi-panel-section-head .odi-page-mod-title::before,
.odi-sync-settings-card .odi-panel-section-head .odi-page-mod-title::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	flex-shrink: 0;
	background: var(--odi-brand-red);
}

.odi-panel-help-fold__body .odi-panel-help-list {
	margin: 0;
	padding-left: 18px;
	display: grid;
	gap: 6px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--odi-brand-dark);
}

.odi-panel-field-gap { margin-top: 12px; display: grid; gap: 6px; }
.odi-panel-check-gap { margin-top: 10px; }
.odi-panel-check-gap-sm { margin-top: 8px; }
.odi-panel-stack-gap-none { margin: 0; }

.odi-page-section-title {
	margin: 16px 0 8px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--odi-brand-slate);
}

.odi-seo-nested-card {
	margin-top: 18px;
}

.odi-panel-status-box {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: var(--odi-card-border);
	border-radius: var(--odi-card-radius, 8px);
	background: var(--odi-brand-soft-bg, #f8f9fa);
}

.odi-panel-status-box--ok {
	border-color: #bbf7d0;
	background: #f0fdf4;
}

.odi-panel-status-box__title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 800;
	color: var(--odi-brand-dark);
}

.odi-panel-status-box__text {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--odi-brand-slate);
}

.odi-panel-status-box--ok .odi-panel-status-box__text {
	color: #1b7a3d;
}

.odi-panel-status-box__actions {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.odi-panel-sitemap-box .odi-panel-status-box__text {
	margin: 0 0 10px;
	font-weight: 400;
}

/* Kampanie / popupy - builder form (PU3) */
.odi-panel-overlay-row {
	position: relative;
	margin-bottom: 12px;
	padding: 14px;
	border: var(--odi-card-border);
	border-radius: var(--odi-card-radius, 8px);
}

.odi-panel-overlay-row--popup {
	margin-bottom: 10px;
}

.odi-panel-overlay-row__remove {
	position: absolute;
	top: 8px;
	right: 10px;
	padding: 0;
	border: none;
	background: none;
	font-size: 18px;
	line-height: 1;
	color: var(--odi-brand-slate);
	cursor: pointer;
}

.odi-panel-overlay-row__stats {
	margin-bottom: 10px;
	font-size: 12px;
	color: var(--odi-brand-slate);
}

.odi-panel-form-label {
	font-size: 13px;
	font-weight: 600;
}

.odi-panel-form-label > .odi-input,
.odi-panel-form-label > select,
.odi-panel-form-label > textarea {
	width: 100%;
	margin-top: 4px;
}

.odi-panel-form-label--block {
	display: block;
	margin-bottom: 10px;
}

.odi-panel-form-label--flex-start {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.odi-panel-form-label--flex {
	display: flex;
	align-items: center;
	gap: 6px;
}

.odi-panel-form-label--flex-end {
	display: flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 2px;
}

.odi-panel-form-label--flex-top {
	display: flex;
	align-items: center;
	gap: 6px;
	padding-top: 22px;
}

.odi-panel-form-grid {
	display: grid;
	gap: 10px;
	margin-bottom: 10px;
}

.odi-panel-form-grid--2 { grid-template-columns: 1fr 1fr; }
.odi-panel-form-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.odi-panel-form-grid--4 { grid-template-columns: repeat(4, 1fr); }
.odi-panel-form-grid--name-prio { grid-template-columns: 1fr 90px auto; align-items: end; }
.odi-panel-form-grid--title-weight { grid-template-columns: 1fr 70px; }
.odi-panel-form-grid--dates-active { grid-template-columns: 1fr 1fr auto; align-items: end; }

.odi-panel-form-field-title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
}

.odi-panel-form-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.odi-panel-form-chip-label {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
}

.odi-panel-form-check-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 10px;
}

.odi-panel-form-details {
	margin-bottom: 8px;
}

.odi-panel-form-details > summary {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.odi-panel-form-actions {
	margin: 14px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.odi-panel-form-save-foot {
	margin-top: 18px;
}

.odi-panel-form-block-gap {
	margin-top: 10px;
	display: block;
}

.odi-panel-form-textarea-full {
	width: 100%;
	margin-top: 4px;
}

.odi-panel-form-textarea-mono {
	font-family: ui-monospace, monospace;
	font-size: 12px;
}

.odi-panel-msg-inline {
	font-size: 13px;
	color: var(--odi-brand-slate);
}

.odi-panel-msg-inline--left {
	margin-left: 10px;
}

.odi-site-kampanie-intro {
	margin-bottom: 18px;
}

.odi-site-popupy-section {
	margin: 18px 0;
}

.odi-site-popupy-card {
	margin-bottom: 18px;
}

.odi-panel-gmaps-toggle {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: var(--odi-card-border);
	border-radius: var(--odi-card-radius, 8px);
	background: var(--odi-brand-soft-bg, #f8f9fa);
}

.odi-panel-gmaps-toggle input[type="checkbox"] {
	margin-top: 3px;
}

.odi-panel-verify-box {
	display: grid;
	gap: 10px;
	margin: 10px 0 8px;
	padding: 12px;
	border: var(--odi-card-border);
	border-radius: var(--odi-card-radius, 8px);
	background: var(--odi-brand-soft-bg, #f8f9fa);
}

.odi-panel-help-list {
	margin: 6px 0 12px 18px;
	padding: 0;
}

.odi-panel-help-list--audit {
	margin: 8px 0 0;
	padding-left: 1.2em;
}

.odi-panel-brand-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.odi-panel-brand-color-row {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-top: 4px;
}

.odi-panel-brand-hex {
	width: 7.5rem;
}

.odi-panel-layout-preset-label {
	display: block;
	margin-bottom: 10px;
}

.odi-panel-discovery-foot {
	margin-top: 18px;
}

.odi-panel-discovery-summary {
	margin-top: 24px;
}

.odi-panel-discovery-matrix {
	margin-top: 16px;
}

.odi-panel-discovery-docs {
	margin-top: 16px;
}

#tab-smtp > .odi-seo-panel-card,
#tab-sync > .odi-sync-accordion,
#tab-sync > .odi-table-wrapper {
	margin-top: 16px;
}

.odi-panel-smtp-plan .odi-panel-section-head {
	margin-top: 0;
}

.odi-seo-panel-card > h4,
.odi-seo-panel-card > h4:first-child {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--odi-brand-gray-light);
	font-size: var(--odi-section-heading-size, 13px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--odi-brand-dark);
}

.odi-seo-panel-card > h4::before,
.odi-seo-panel-card > h4:first-child::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	flex-shrink: 0;
	background: var(--odi-brand-red);
}

.odi-seo-panel-card label { display:grid; gap:6px; font-size:13px; font-weight:700; color:var(--odi-brand-dark); }
/* Checkboxy / inline check: nie dziedzicz grid labeli z karty SEO. */
.odi-seo-panel-card label.odi-seo-panel-check,
.odi-seo-panel-card label.odi-filter-check-inline,
.odi-seo-panel-card .odi-seo-panel-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	max-width: 100%;
	font-weight: 600;
}
/* Uploader WM: nie dziedzicz grid labeli z karty SEO (inaczej checkbox/wariant/krycie skaczą w pionie). */
.odi-seo-panel-card .odi-uploader-toolbar label,
.odi-seo-panel-card .odi-uploader-wm,
.odi-seo-panel-card .odi-uploader-default {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	max-width: 100%;
	font-size: 13px;
	font-weight: 700;
}
.odi-seo-panel-card .odi-uploader-wm-opt {
	display: grid;
	gap: 4px;
	width: auto;
	min-width: 140px;
	font-size: 13px;
	font-weight: 700;
}
.odi-seo-panel-card .odi-uploader-wm-opt select {
	width: 100%;
	min-height: 36px;
	padding: 6px 10px;
	border-radius: 6px;
}
.odi-seo-panel-card > label > select,
.odi-seo-panel-card > label > input[type="text"],
.odi-seo-panel-card > label > textarea {
	width:100%;
	min-height:44px;
	padding:10px 12px;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	font-size:13px;
	box-sizing:border-box;
	background:#fff;
}
.odi-seo-panel-help { margin:-4px 0 0; font-size:12px; color:var(--odi-brand-slate); }
.odi-seo-panel-help code { background:#EEF1F3; padding:2px 6px; border-radius:6px; }
.odi-seo-panel-media { display:grid; gap:10px; }
.odi-seo-panel-media-preview { width:160px; height:110px; border-radius:10px; overflow:hidden; border:1px solid var(--odi-brand-gray-light); background:var(--odi-brand-bg-soft); }
.odi-seo-panel-media-preview[hidden] { display:none; }
.odi-seo-panel-media-preview img { width:100%; height:100%; object-fit:cover; display:block; }
.odi-seo-panel-media-actions { display:flex; gap:8px; flex-wrap:wrap; }
.odi-seo-panel-radio { display:grid; gap:8px; }
.odi-seo-panel-checks { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:8px 12px; }
.odi-seo-panel-check { display:flex !important; align-items:flex-start; gap:10px; font-weight:600 !important; color:var(--odi-brand-dark); width:auto; max-width:100%; }
.odi-seo-panel-check input {
	width:auto !important;
	min-width:16px;
	min-height:16px !important;
	height:16px;
	margin:2px 0 0;
	padding:0;
	flex-shrink:0;
	accent-color:var(--odi-brand-red);
}
.odi-seo-title-preview {
	margin: 4px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--odi-brand-bg-soft);
	border: 1px solid var(--odi-brand-gray-light);
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}
.odi-seo-title-preview code {
	font-size: 13px;
	font-weight: 700;
	color: var(--odi-brand-dark);
	background: transparent;
	padding: 0;
	white-space: pre-wrap;
	word-break: break-word;
	line-height: 1.4;
}
.odi-seo-title-count {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 800;
	color: var(--odi-brand-slate);
	font-variant-numeric: tabular-nums;
}
.odi-seo-title-preview.is-full .odi-seo-title-count,
.odi-seo-title-preview.is-cut .odi-seo-title-count { color: var(--odi-brand-red); }
.odi-seo-title-preview.is-cut .odi-seo-title-count::after { content: " · ucięte"; }

.odi-post-seo-audit {
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 8px;
	background: var(--odi-brand-soft-bg, #F8F9FA);
	font-size: 13px;
	color: var(--odi-brand-dark);
}
.odi-post-seo-audit__score { font-weight: 700; margin-bottom: 6px; }
.odi-post-seo-audit__score strong { color: var(--odi-brand-red); }
.odi-post-seo-audit__summary { margin: 0 0 8px; color: var(--odi-brand-slate); line-height: 1.5; }
.odi-post-seo-audit__label { margin: 8px 0 4px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.odi-post-seo-audit__list { margin: 0; padding-left: 18px; color: var(--odi-brand-slate); }
.odi-post-seo-audit__list--ok { color: var(--odi-brand-dark); }

/* Posty ODI - panel P2 */
.odi-posts-panel-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; }
.odi-posts-panel-head .odi-panel-section-head { margin:0; }
.odi-post-preview-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:8px; }
.odi-post-preview-head .odi-panel-section-head { margin:0; flex:1; min-width:0; }
.odi-post-preview-head h4 { margin:0; }
.odi-wm-export-head .odi-panel-section-head,
.odi-media-browser-head .odi-panel-section-head,
.odi-media-tools-block .odi-panel-section-head { margin:0 0 10px; }
.odi-media-tools-block .odi-panel-section-head .odi-page-mod-title { font-size:14px; }
.odi-posts-panel-tools { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap; margin-top:14px; }
.odi-posts-panel-filters { display:flex; flex-wrap:wrap; gap:10px 14px; align-items:flex-end; }
.odi-panel-filter-pills { display:flex; flex-wrap:wrap; gap:8px 12px; }
.odi-panel-filter-pill { font-size:12px; font-weight:600; color:var(--odi-brand-slate); }

#odi-dashboard-app .odi-line-heading {
	display:block;
	margin:0 0 6px;
	font-size:10px;
	font-weight:900;
	color:var(--odi-brand-slate);
	text-transform:uppercase;
	letter-spacing:0.3px;
	line-height:1.2;
}

.odi-post-editor-card .odi-panel-section-head {
	margin-top:0;
}
.odi-filter-group--grow { flex:1 1 220px; min-width:200px; }
.odi-filter-search-q { width:100%; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; font-size:13px; }
.odi-filter-row--search { margin-bottom:10px; }
.odi-filter-row--labels { margin-top:10px; padding-top:10px; border-top:1px solid var(--odi-brand-gray-light); }
.odi-posts-panel-filters label { display:grid; gap:4px; font-size:11px; font-weight:700; color:var(--odi-brand-slate); }
.odi-posts-panel-filters select,
.odi-posts-panel-filters input { min-width:140px; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; font-size:13px; }
.odi-posts-panel-table { margin-top:16px; }
.odi-post-status-chip { display:inline-flex; align-items:center; padding:3px 8px; border-radius:999px; font-size:10px; font-weight:800; letter-spacing:0.03em; text-transform:uppercase; }
.odi-post-status-chip.is-publish { background:#e8f7ec; color:#1b6b34; }
.odi-post-status-chip.is-draft { background:#eef1f4; color:#555d61; }
.odi-post-status-chip.is-scheduled { background:#fff4e5; color:#9a5b00; }
.odi-post-status-chip.is-other { background:#f3f4f6; color:#555d61; }
.odi-posts-row-actions { min-width:0; }
.odi-table-col-mark { width:56px; text-align:center; }
.odi-table-col-actions { min-width:280px; }
.odi-table-cell-mark { text-align:center; vertical-align:middle; }
.odi-table-cell-actions { vertical-align:middle; padding:8px 10px !important; }
.odi-panel-seo-mark {
	display:inline-flex; align-items:center; justify-content:center;
	width:28px; height:28px; border-radius:8px;
	border:1px solid var(--odi-brand-gray-light); background:#fff; color:#94a3b8;
}
.odi-panel-seo-mark.is-ok { color:#0f7a3a; background:rgba(15,122,58,.1); border-color:rgba(15,122,58,.28); }
.odi-panel-seo-mark__letter {
	font-size:12px;
	font-weight:800;
	line-height:1;
	letter-spacing:0;
}
.odi-panel-seo-mark.is-off .odi-panel-seo-mark__dot {
	width:8px; height:8px; border-radius:50%; border:1.5px solid #94a3b8; background:transparent;
}
.odi-panel-social-plats { display:inline-flex; gap:4px; align-items:center; }
.odi-panel-social-plat {
	display:inline-flex; align-items:center; justify-content:center;
	width:26px; height:26px; border-radius:6px;
	border:1px solid var(--odi-brand-gray-light); background:#fff; color:#94a3b8;
}
.odi-panel-social-plat.is-on { color:#0f7a3a; background:rgba(15,122,58,.12); border-color:rgba(15,122,58,.28); }
.odi-panel-social-plat.is-off { opacity:.55; }
.odi-panel-social-plat__letter {
	font-size:11px;
	font-weight:800;
	line-height:1;
	letter-spacing:-0.02em;
}
.odi-panel-row-toolbar {
	display:flex; flex-wrap:nowrap; align-items:stretch; justify-content:space-between; gap:3px;
}
.odi-panel-row-toolbar .odi-icon-btn {
	flex:1 1 0; width:auto; min-width:0; height:auto; min-height:0;
	padding:5px 2px 4px; flex-direction:column; gap:2px; border-radius:6px;
}
.odi-panel-row-toolbar--posts .odi-icon-btn__lab { font-size:9px; line-height:1.1; }
.odi-panel-row-toolbar--contractors .odi-icon-btn__lab { font-size:9px; line-height:1.1; }
.odi-panel-row-toolbar--agents .odi-icon-btn__lab { font-size:9px; line-height:1.1; }
.odi-post-checklist { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.odi-post-checklist__item { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--odi-brand-slate); }
.odi-post-checklist__item.is-ok { color:var(--odi-brand-dark); }
.odi-post-checklist__item.is-missing { color:#9a5b00; }
.odi-post-checklist__mark { width:18px; text-align:center; font-weight:800; }
.odi-post-preview-pane,
.odi-post-preview-modal-body { min-height:220px; max-height:52vh; overflow:auto; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:10px; }
.odi-post-preview-empty { margin:0; padding:18px; font-size:13px; color:var(--odi-brand-slate); text-align:center; }
.odi-post-preview-frame { padding:10px; transform:scale(0.72); transform-origin:top center; width:138%; margin-left:-19%; }
.odi-post-preview-frame .odi-post-single--preview { pointer-events:none; }
.odi-post-preview-modal-container { width:min(98vw, 1400px); max-width:1400px; }
.odi-post-preview-modal-body { max-height:min(82vh, 960px); }
.odi-post-preview-modal-body .odi-post-preview-frame { transform:none; width:100%; margin:0; padding:12px 16px; }
.odi-post-status-segment .odi-status-segment-btn { font-size:11px; padding:8px 10px; }
.odi-post-editor-layout { grid-template-columns:minmax(0, 1.2fr) minmax(300px, 0.95fr); }
@media (max-width: 960px) {
	.odi-post-preview-frame { transform:none; width:100%; margin:0; }
	.odi-posts-panel-tools { align-items:stretch; }
}
.odi-hero-crops { display:grid; gap:14px; margin-top:16px; }
.odi-hero-crops-title { margin:16px 0 0; font-size:13px; font-weight:800; color:var(--odi-brand-dark); }
.odi-hero-crop { display:grid; gap:10px; border:1px solid var(--odi-brand-gray-light); border-radius:10px; padding:12px; background:#fff; }
.odi-hero-crop-frame {
	width:100%;
	aspect-ratio: 16 / 3;
	min-height:84px;
	border-radius:8px;
	overflow:hidden;
	background:#2B2F33;
	cursor:grab;
	touch-action:none;
	box-shadow:inset 0 0 0 1px rgba(43,47,51,0.12);
}
.odi-hero-crop-frame:active { cursor:grabbing; }
.odi-hero-crop-preview {
	width:100%;
	height:100%;
	background:#2B2F33 center / cover no-repeat;
	transform: scale(var(--odi-hero-zoom, 1));
	transform-origin: var(--odi-hero-pos, 50% 50%);
	pointer-events:none;
}
.odi-hero-crop-fields { display:grid; gap:8px; }
.odi-hero-crop-fields label { display:grid; grid-template-columns:110px 1fr 48px; gap:8px; align-items:center; font-size:11px; font-weight:800; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:0.04em; margin:0; }
.odi-hero-crop-fields input[type="range"] { width:100%; accent-color: var(--odi-brand-red); }
.odi-hero-crop-fields input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--odi-brand-red);
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(43, 47, 51, 0.35);
	cursor: pointer;
}
.odi-hero-crop-fields input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--odi-brand-red);
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(43, 47, 51, 0.35);
	cursor: pointer;
}
.odi-hero-crop-fields input[type="range"]::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 2px;
	background: #CBD5E1;
}
.odi-hero-crop-fields input[type="range"]::-moz-range-track {
	height: 4px;
	border-radius: 2px;
	background: #CBD5E1;
}

/* Brand: checkbox / radio / range w całym panelu (nie tylko wybrane sekcje). */
#odi-dashboard-app input[type="checkbox"],
#odi-dashboard-app input[type="radio"] {
	accent-color: var(--odi-brand-red);
	width: auto;
	min-width: 16px;
	min-height: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
	cursor: pointer;
}
#odi-dashboard-app input[type="range"] {
	accent-color: var(--odi-brand-red);
	cursor: pointer;
}
#odi-dashboard-app label:has(> input[type="checkbox"]),
#odi-dashboard-app label:has(> input[type="radio"]) {
	cursor: pointer;
}
.odi-hero-crop-hint { margin:0; font-size:12px; color:var(--odi-brand-slate); font-weight:500; text-transform:none; letter-spacing:0; }
.odi-hero-empty { margin:0; font-size:13px; color:var(--odi-brand-slate); font-weight:500; }
.odi-chrome-nav-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; }
.odi-chrome-nav-grid strong { display:block; margin:0 0 8px; font-size:13px; letter-spacing:0.06em; text-transform:uppercase; color:var(--odi-brand-slate); }
.odi-chrome-link-rows { display:grid; gap:8px; }
.odi-chrome-link-row { display:grid; grid-template-columns:28px minmax(120px, 0.8fr) minmax(180px, 1.4fr) auto auto; gap:8px; align-items:center; padding:8px; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:8px; }
.odi-chrome-link-row.is-dragging { opacity:0.4; }
.odi-chrome-link-row.is-drag-over { box-shadow: inset 0 3px 0 0 var(--odi-brand-red); }
.odi-chrome-link-handle {
	width:28px;
	height:36px;
	border:0;
	border-radius:6px;
	background:var(--odi-brand-bg-soft);
	color:var(--odi-brand-slate);
	font-size:14px;
	letter-spacing:-2px;
	line-height:1;
	cursor:grab;
	touch-action:none;
	user-select:none;
}
.odi-chrome-link-handle:active { cursor:grabbing; background:var(--odi-brand-gray-light); }
.odi-chrome-link-actions { display:flex; flex-wrap:wrap; align-items:center; gap:4px; justify-content:flex-end; }
.odi-chrome-link-move {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 6px;
	background: #fff;
	color: var(--odi-brand-dark);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	vertical-align: middle;
}
.odi-chrome-link-move svg {
	display: block;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}
.odi-chrome-link-move:hover { border-color: var(--odi-brand-dark); background: #fff; }
.odi-chrome-link-move:disabled {
	opacity: 1;
	color: #A8AEB2;
	border-color: var(--odi-brand-gray-light);
	background: #F1F3F4;
	cursor: default;
}
.odi-pmod-reorder {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}
.odi-pmod-card-head .odi-chrome-link-move {
	width: 32px;
	height: 32px;
}

.odi-seo-pages-card .odi-seo-progress { margin-top:14px; }
.odi-seo-progress {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:10px 12px;
	padding:10px 12px;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	background:var(--odi-brand-bg-soft);
	font-size:13px;
	font-weight:700;
	color:var(--odi-brand-dark);
}
.odi-seo-progress[hidden] { display:none; }
.odi-seo-spinner {
	width:22px;
	height:22px;
	border:2px solid #e5e8eb;
	border-top-color:var(--odi-brand-red);
	border-radius:50%;
	animation:odi-seo-spin 0.7s linear infinite;
	flex:0 0 22px;
}
.odi-seo-progress.is-ok .odi-seo-spinner { display:none; }
.odi-seo-progress.is-ok { border-color:#6FBE73; background:#f3faf3; color:#1e7e34; }
.odi-seo-progress.is-ok::before { content:'✓'; font-size:16px; }
.odi-seo-progress.is-error { border-color:var(--odi-brand-red); }
.odi-seo-progress-bar {
	flex:1 1 140px;
	height:6px;
	border-radius:99px;
	background:#e5e8eb;
	overflow:hidden;
	min-width:80px;
}
.odi-seo-progress-bar i { display:block; height:100%; width:0; background:var(--odi-brand-red); transition:width 0.2s ease; }
.odi-seo-progress.is-ok .odi-seo-progress-bar i { background:#1e7e34; width:100% !important; }
.odi-seo-pages-log { margin:10px 0 0; padding:0; list-style:none; font-size:12px; color:var(--odi-brand-slate); display:grid; gap:4px; }
.odi-seo-pages-log[hidden] { display:none; }
.odi-seo-pages-log li.is-error { color:var(--odi-brand-red); }

.odi-seo-dashboard-grid {
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
	gap:12px;
	margin-top:12px;
}
.odi-seo-dash-stat {
	background:var(--odi-brand-soft-bg, #f8f9fa);
	border:1px solid var(--odi-brand-gray-light);
	border-radius:10px;
	padding:12px;
	display:grid;
	gap:4px;
}
.odi-seo-dash-stat__label { font-size:11px; font-weight:700; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:.04em; }
.odi-seo-dash-stat__value { font-size:22px; color:var(--odi-brand-dark); }
.odi-seo-dash-stat__sub { font-size:12px; color:var(--odi-brand-slate); }
.odi-seo-dash-stat.is-clickable { cursor:pointer; transition:border-color .15s, box-shadow .15s; }
.odi-seo-dash-stat.is-clickable:hover { border-color:var(--odi-brand-red); box-shadow:0 2px 10px rgba(211,33,43,.08); }

.odi-seo-holistic-report {
	border:1px solid var(--odi-brand-gray-light);
	border-radius:10px;
	background:var(--odi-brand-soft-bg, #f8f9fa);
}
.odi-seo-holistic-report__summary {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding:12px 14px;
	font-size:14px;
	font-weight:700;
	color:var(--odi-brand-dark);
	cursor:pointer;
	list-style:none;
}
.odi-seo-holistic-report__summary::-webkit-details-marker { display:none; }
.odi-seo-holistic-report__summary::before {
	content:'▸';
	display:inline-block;
	margin-right:8px;
	transition:transform .15s;
}
.odi-seo-holistic-report[open] > .odi-seo-holistic-report__summary::before { transform:rotate(90deg); }
.odi-seo-holistic-report__summary strong { color:var(--odi-brand-red); font-size:18px; }
.odi-seo-holistic-report__body { padding:0 14px 14px; border-top:1px solid var(--odi-brand-gray-light); }
.odi-seo-holistic-report__stats {
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
	gap:10px;
}
.odi-seo-holistic-stat {
	background:#fff;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	padding:10px;
	display:grid;
	gap:4px;
	font-size:12px;
	color:var(--odi-brand-slate);
}
.odi-seo-holistic-stat strong { font-size:18px; color:var(--odi-brand-dark); }
.odi-seo-holistic-report__issues,
.odi-seo-holistic-report__checks,
.odi-seo-holistic-fixes {
	margin:0;
	padding-left:18px;
	font-size:13px;
	color:var(--odi-brand-slate);
	display:grid;
	gap:4px;
}
.odi-seo-holistic-fix {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:8px;
	list-style:none;
	padding-left:0;
}
.odi-seo-holistic-fix::marker { content:none; }
.odi-panel-health-grid {
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
	gap:10px;
}
.odi-panel-health-stat {
	background:#fff;
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	padding:10px 12px;
	display:grid;
	gap:4px;
}
.odi-panel-health-stat span { font-size:11px; font-weight:700; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:.04em; }
.odi-panel-health-stat strong { font-size:18px; color:var(--odi-brand-dark); }
.odi-panel-health-stat em { font-style:normal; font-size:12px; color:var(--odi-brand-slate); }
.odi-panel-health-cron-list { margin:10px 0 0; padding:0; list-style:none; display:grid; gap:6px; font-size:13px; }
.odi-panel-health-cron-list li { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; }
.odi-panel-indexing-flags { display:grid; gap:8px; margin-bottom:12px; }
.odi-panel-indexing-flag {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:8px;
	padding:10px 12px;
	border-radius:8px;
	border:1px solid var(--odi-brand-gray-light);
	background:var(--odi-brand-soft-bg, #f8f9fa);
	font-size:13px;
}
.odi-panel-indexing-flag.is-warn { border-color:#f59e0b; background:#fffbeb; }
.odi-panel-indexing-flag strong { color:var(--odi-brand-dark); }
.odi-panel-indexing-flag span { color:var(--odi-brand-slate); flex:1 1 200px; }
.odi-panel-indexing-table-wrap { overflow:auto; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; }
.odi-panel-production-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px; margin-bottom:12px; }
.odi-panel-production-stat { padding:12px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; display:grid; gap:4px; }
.odi-panel-production-stat span { font-size:11px; font-weight:700; color:var(--odi-brand-slate); text-transform:uppercase; letter-spacing:.04em; }
.odi-panel-production-stat strong { font-size:18px; color:var(--odi-brand-dark); }
.odi-panel-production-stat em { font-style:normal; font-size:12px; color:var(--odi-brand-slate); }
.odi-panel-production-crontab { margin:8px 0 0; padding:12px; border-radius:8px; background:#f8f9fa; border:1px solid var(--odi-brand-gray-light); font-size:12px; line-height:1.45; overflow:auto; white-space:pre-wrap; }
.odi-panel-production-alerts,
.odi-panel-production-gsc { margin:0; padding:0; list-style:none; display:grid; gap:6px; font-size:13px; }
.odi-panel-production-alerts li,
.odi-panel-production-gsc li { padding:8px 10px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; }
.odi-panel-production-tokens { display:grid; gap:8px; }
.odi-panel-production-token { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:10px 12px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; }
.odi-panel-production-token.is-warn { border-color:#f59e0b; background:#fffbeb; }
.odi-panel-production-token strong { color:var(--odi-brand-dark); }
.odi-panel-production-token span { flex:1 1 200px; color:var(--odi-brand-slate); font-size:13px; }
.odi-seo-holistic-report__table { width:100%; border-collapse:collapse; font-size:13px; }
.odi-seo-holistic-report__table th,
.odi-seo-holistic-report__table td { border-bottom:1px solid var(--odi-brand-gray-light); padding:8px 10px; text-align:left; vertical-align:top; }
.odi-seo-holistic-report__table th { font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:var(--odi-brand-slate); background:var(--odi-brand-soft-bg, #f8f9fa); }
.odi-seo-holistic-report__table tr:last-child td { border-bottom:0; }
.odi-seo-holistic-score { display:inline-block; font-weight:800; padding:2px 8px; border-radius:999px; font-size:12px; }
.odi-seo-holistic-score.is-good { background:#dcfce7; color:#166534; }
.odi-seo-holistic-score.is-mid { background:#fef3c7; color:#92400e; }
.odi-seo-holistic-score.is-low { background:#fee2e2; color:#991b1b; }
.odi-seo-holistic-meta { display:block; margin-top:4px; font-size:11px; color:var(--odi-brand-slate); }
.odi-seo-variant-card {
	border:1px solid var(--odi-brand-gray-light);
	border-radius:8px;
	padding:10px;
	margin-top:8px;
	display:grid;
	gap:6px;
}
.odi-seo-gsc-table-wrap { margin-top:14px; overflow:auto; }
.odi-seo-gsc-table { width:100%; border-collapse:collapse; font-size:13px; }
.odi-seo-gsc-table th,
.odi-seo-gsc-table td { border-bottom:1px solid var(--odi-brand-gray-light); padding:8px 10px; text-align:left; }
.odi-seo-gsc-table th { font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:var(--odi-brand-slate); }
.odi-hero-gsc-list { list-style:none; margin:12px 0 0; padding:0; }
.odi-hero-gsc-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--odi-brand-gray-light); font-size:13px; }
.odi-hero-gsc-item:last-child { border-bottom:0; }
.odi-seo-i18n-block { border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:10px; margin-top:8px; }
.odi-seo-i18n-block strong { display:block; margin-bottom:6px; color:var(--odi-brand-dark); }
@keyframes odi-seo-spin { to { transform:rotate(360deg); } }

.odi-notice-center { background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:12px; padding:20px 22px 24px; }
.odi-notice-center-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-end; flex-wrap:wrap; margin-bottom:16px; padding-bottom:14px; border-bottom:1px solid var(--odi-brand-gray-light); }
.odi-notice-center-title { margin:0 0 4px; font-size:20px; }
.odi-notice-center-lead { margin:0; font-size:13px; color:var(--odi-brand-slate); }
.odi-notice-center-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.odi-notice-center-actions[hidden] { display:none !important; }
#odi-dashboard-app .odi-notice-delete-all,
#odi-dashboard-app .odi-notice-delete-section {
	display:inline-flex; align-items:center; justify-content:center;
	border:none; border-radius:6px; padding:8px 16px;
	font-size:12px; font-weight:800; line-height:1.2; font-family:inherit;
	cursor:pointer; color:#fff; transition:background 0.2s;
	background:var(--odi-brand-dark); appearance:none; -webkit-appearance:none;
}
#odi-dashboard-app .odi-notice-delete-all { background:var(--odi-brand-red); }
#odi-dashboard-app .odi-notice-delete-all:hover { background:var(--odi-brand-red-dark); color:#fff; }
#odi-dashboard-app .odi-notice-delete-section:hover { background:#1E2226; color:#fff; }
.odi-notice-delete-all[hidden], .odi-notice-delete-section[hidden] { display:none !important; }
.odi-notice-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; align-items:center; }
.odi-notice-filters { overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:2px; }
.odi-notice-read-all { margin-left:auto; border:0; background:transparent; color:var(--odi-brand-slate); border-radius:0; padding:8px 2px; font-size:12px; font-weight:800; letter-spacing:0.15px; cursor:pointer; font-family:inherit; line-height:1.2; }
.odi-notice-read-all:hover { color:var(--odi-brand-red); }
.odi-notice-read-all[hidden] { display:none !important; }
.odi-notice-filter { border:1px solid var(--odi-brand-gray-light); background:#fff; border-radius:20px; padding:8px 14px; font-size:12px; font-weight:700; cursor:pointer; color:var(--odi-brand-slate); }
.odi-notice-filter.is-active { background:var(--odi-brand-dark); color:#fff; border-color:var(--odi-brand-dark); }
.odi-notice-filter-count { display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; margin-left:6px; padding:0 5px; border-radius:999px; font-size:10px; font-weight:800; line-height:1; background:rgba(211,33,43,0.12); color:var(--odi-brand-red); }
.odi-notice-filter.is-active .odi-notice-filter-count { background:rgba(255,255,255,0.18); color:#fff; }
.odi-notice-feed { display:flex; flex-direction:column; gap:10px; }
.odi-notice-card { border:1px solid var(--odi-brand-gray-light); border-radius:10px; padding:14px 16px; background:var(--odi-brand-bg-soft); }
.odi-notice-card.is-unread { background:#FFF8F8; border-color:#F0C7CA; }
.odi-notice-card h3 { margin:8px 0 4px; font-size:15px; }
.odi-notice-card--listing h3 { margin-top:6px; }
.odi-notice-body { font-size:13px; color:var(--odi-brand-dark); }
.odi-notice-meta { display:flex; gap:12px; align-items:center; margin-top:8px; font-size:12px; color:var(--odi-brand-slate); flex-wrap:wrap; }
.odi-notice-meta a { font-weight:800; color:var(--odi-brand-red); text-decoration:none; }
.odi-notice-delete-card {
	margin-left:auto;
	border:0;
	background:transparent;
	padding:0;
	font:inherit;
	font-size:12px;
	font-weight:700;
	color:var(--odi-brand-slate);
	cursor:pointer;
	text-decoration:underline;
	text-underline-offset:2px;
}
.odi-notice-delete-card:hover { color:var(--odi-brand-red); }
.odi-notice-type { display:inline-block; font-size:10px; font-weight:800; letter-spacing:0.4px; text-transform:uppercase; padding:3px 8px; border-radius:4px; background:var(--odi-brand-dark); color:#fff; }
.odi-notice-type--nowe { background:var(--odi-brand-red); }
.odi-notice-type--status { background:#7A5B00; }
.odi-notice-type--aktualizacje { background:#1E6B34; }
.odi-notice-type--urlopy { background:#5B4B8A; }
.odi-notice-type--organizer { background:#1A5F7A; }
.odi-notice-inbox-hint { display:inline-block; margin-left:8px; font-size:10px; font-weight:700; padding:2px 7px; border-radius:999px; background:rgba(211,33,43,0.08); color:var(--odi-brand-red); vertical-align:middle; }
.odi-notice-empty { color:var(--odi-brand-slate); margin:0; }
.odi-notice-group { border:1px solid var(--odi-brand-gray-light); border-radius:12px; background:#fff; overflow:hidden; }
.odi-notice-group.is-unread { border-color:#F0C7CA; box-shadow:inset 3px 0 0 var(--odi-brand-red); }
.odi-notice-group.is-collapsed .odi-notice-group-items { display:none; }
.odi-notice-group-toggle { flex-shrink:0; width:28px; height:28px; border:1px solid var(--odi-brand-gray-light); border-radius:6px; background:#fff; color:var(--odi-brand-slate); font-size:14px; line-height:1; cursor:pointer; padding:0; }
.odi-notice-group-toggle:hover { border-color:var(--odi-brand-red); color:var(--odi-brand-red); }
.odi-notice-group-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:14px 16px; background:var(--odi-brand-bg-soft); border-bottom:1px solid var(--odi-brand-gray-light); cursor:pointer; }
.odi-notice-group-head-main { display:flex; align-items:flex-start; gap:12px; min-width:0; flex:1; }
.odi-notice-group-thumb-wrap { flex-shrink:0; }
.odi-notice-listing-thumb { display:block; width:52px; height:52px; object-fit:cover; border-radius:8px; border:1px solid var(--odi-brand-gray-light); background:#fff; }
.odi-notice-listing-thumb--card { width:44px; height:44px; border-radius:7px; }
.odi-notice-listing-thumb--group { width:52px; height:52px; }
.odi-notice-listing-thumb--empty { background:linear-gradient(135deg, #E5E8EB 0%, #F8F9FA 100%); position:relative; }
.odi-notice-listing-thumb--empty::after { content:''; position:absolute; inset:0; margin:auto; width:18px; height:14px; border:2px solid #C5CBD0; border-radius:3px; box-shadow:inset 0 -5px 0 #C5CBD0; opacity:0.85; }
.odi-notice-card-layout { display:flex; align-items:flex-start; gap:12px; min-width:0; }
.odi-notice-card-thumb-wrap { flex-shrink:0; padding-top:2px; }
.odi-notice-card-main { min-width:0; flex:1; }
.odi-notice-card--listing { padding:12px 14px; }
.odi-notice-group-head:hover { background:#fff; }
.odi-notice-group-title { margin:0 0 4px; font-size:15px; }
.odi-notice-group-meta { margin:0; font-size:12px; color:var(--odi-brand-slate); }
.odi-notice-group-open { flex-shrink:0; font-size:12px; font-weight:800; color:var(--odi-brand-red); text-decoration:none; padding-top:2px; }
.odi-notice-group-open:hover { text-decoration:underline; }
.odi-notice-group-items { display:flex; flex-direction:column; gap:0; padding:10px; }
.odi-notice-group-items .odi-notice-card { border-radius:8px; cursor:pointer; }
.odi-notice-group-items .odi-notice-card + .odi-notice-card { margin-top:8px; }
.odi-notice-card[data-href] { cursor:pointer; }
.odi-notice-card[data-href]:hover { border-color:#D3212B; }
@media (max-width: 768px) {
	.odi-panel-subnav { overflow-x:auto; flex-wrap:nowrap; -webkit-overflow-scrolling:touch; }
	.odi-panel-subnav button { flex:0 0 auto; white-space:nowrap; }
	.odi-seo-panel-grid { grid-template-columns:1fr; }
	.odi-chrome-link-row { grid-template-columns:28px 1fr; }
	.odi-chrome-link-actions { grid-column:1 / -1; justify-content:flex-start; }
	.odi-notice-center { padding:14px; }
	.odi-notice-center-head { align-items:stretch; }
	.odi-notice-center-actions { width:100%; }
	.odi-notice-delete-all, .odi-notice-delete-section { flex:1; min-height:40px; }
	.odi-notice-filter { min-height:40px; }
	.odi-notice-read-all { margin-left:0; width:100%; text-align:left; padding:10px 2px 2px; border-top:1px solid var(--odi-brand-gray-light); }
	.odi-notice-bulk { flex-direction:column; align-items:stretch; }
	.odi-notice-bulk select, .odi-notice-bulk .odi-btn-add-alt { width:100%; min-height:40px; }
	.odi-notice-card-row { grid-template-columns:32px 1fr; }
	.odi-notice-drawer { position:fixed; left:12px; right:12px; top:56px; width:auto; max-height:min(70dvh, 520px); overflow:auto; }
	.odi-chat__compose-row { grid-template-columns:1fr; }
	.odi-chat__compose-loc { flex-wrap:wrap; }
}

@media (max-width: 960px) {
	.odi-dash-footer-inner { flex-direction:column; align-items:flex-start; gap:8px; }
	.odi-brand-text, .odi-user-hello { display:none; }
	html:has(body.odi-panel-editor-page),
	body.odi-panel-editor-page,
	body.odi-panel-editor-page #odi-dashboard-app {
		overflow: visible !important;
		height: auto !important;
		max-height: none !important;
	}
	body.odi-panel-editor-page #odi-dashboard-app.odi-panel-has-editor {
		min-height: 0;
		display: block;
	}
	body.odi-panel-editor-page .odi-panel-editor-wrap,
	body.odi-panel-editor-page .odi-panel-editor-form,
	body.odi-panel-editor-page .odi-panel-editor-body,
	body.odi-panel-editor-page .odi-panel-editor-main,
	body.odi-panel-editor-page #odi-dashboard-app .odi-editor {
		flex: none;
		overflow: visible;
		height: auto;
		max-height: none;
		min-height: 0;
	}
	body.odi-panel-editor-page .odi-panel-editor-toolbar {
		position: static;
	}
	.odi-wizard-steps-bar {
		top: 59px;
	}
}

@media (max-width: 768px) {
	.odi-panel-editor-toolbar-main { max-width:100%; flex:1 1 100%; min-width:0; }
	.odi-panel-editor-toolbar-actions { width:100%; }
	.odi-publish-box { min-width:100%; max-width:100%; }
	.odi-publish-visibility-fields { grid-template-columns:1fr; }
	.odi-status-segment { width:100%; max-width:100%; }
	.odi-status-segment-btn { flex:1; justify-content:center; padding:0 8px; font-size:11px; }
	.odi-editor-primary-actions { width:100%; }
	.odi-btn-add--editor, .odi-panel-editor-back { flex:1; justify-content:center; }
	.odi-wizard-steps-bar { top: 59px; }
}

/* ── Kreator startowy (C1) ── */
.odi-setup-wizard { display:flex; flex-direction:column; gap:12px; }
.odi-setup-wizard-panel[hidden] { display:none !important; }
.odi-setup-wizard-panel:not([hidden]) { display:grid; gap:12px; }
.odi-setup-wizard-progress__track {
	height:6px; border-radius:999px; background:var(--odi-brand-gray-light); overflow:hidden;
}
.odi-setup-wizard-progress__fill {
	display:block; height:100%; width:0; background:var(--odi-brand-red); transition:width 0.2s ease;
}
.odi-setup-wizard-nav {
	display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:space-between;
	padding:12px 0 4px; border-top:1px solid var(--odi-brand-gray-light);
}
.odi-setup-wizard-nav__counter { font-size:12px; font-weight:700; color:var(--odi-brand-slate); }
.odi-setup-wizard-placeholder { margin-top:4px; }
.odi-setup-wizard-form { display:flex; flex-direction:column; gap:14px; margin-top:4px; }
.odi-setup-wizard-form label { display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:600; color:var(--odi-brand-dark); }
.odi-setup-wizard-form input[type="text"],
.odi-setup-wizard-form input[type="email"],
.odi-setup-wizard-form input[type="tel"],
.odi-setup-wizard-form select {
	width:100%; padding:9px 11px; border:1px solid var(--odi-brand-gray-light); border-radius:6px;
	font-size:14px; font-family:inherit; background:#fff;
}
.odi-setup-wizard-form input:focus,
.odi-setup-wizard-form select:focus {
	outline:2px solid rgba(211,33,43,0.25); border-color:var(--odi-brand-red);
}
.odi-setup-wizard-fieldset {
	border:0; margin:0; padding:0;
}
.odi-setup-wizard-fieldset legend {
	font-size:13px; font-weight:700; color:var(--odi-brand-dark); margin-bottom:8px;
}
.odi-setup-wizard-radios { display:flex; flex-wrap:wrap; gap:10px 16px; }
.odi-setup-wizard-logo { display:flex; flex-direction:column; gap:8px; }
.odi-setup-wizard-error {
	margin:0; padding:8px 10px; border-radius:6px; font-size:13px; font-weight:600;
	background:rgba(211,33,43,0.08); color:var(--odi-brand-red); border:1px solid rgba(211,33,43,0.2);
}
.odi-setup-wizard-presets {
	display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px;
}
.odi-setup-wizard-preset {
	display:flex; flex-direction:column; align-items:center; gap:8px; padding:12px 10px;
	border:2px solid var(--odi-brand-gray-light); border-radius:8px; cursor:pointer;
	background:#fff; transition:border-color 0.15s ease, box-shadow 0.15s ease;
}
.odi-setup-wizard-preset input { position:absolute; opacity:0; pointer-events:none; }
.odi-setup-wizard-preset.is-selected,
.odi-setup-wizard-preset:has(input:checked) {
	border-color:var(--odi-brand-red); box-shadow:0 0 0 1px rgba(211,33,43,0.15);
}
.odi-setup-wizard-preset__swatches {
	display:flex; gap:4px; width:100%; justify-content:center;
}
.odi-setup-wizard-preset__swatches i {
	display:block; width:28px; height:28px; border-radius:6px;
	border:1px solid rgba(43,47,51,0.12);
}
.odi-setup-wizard-preset__label {
	font-size:12px; font-weight:700; text-align:center; color:var(--odi-brand-slate); line-height:1.3;
}
.odi-setup-wizard-page-pack {
	list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px;
}
.odi-setup-wizard-page-item {
	display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
	padding:12px 14px; border:1px solid var(--odi-brand-gray); border-radius:8px; background:var(--odi-brand-soft);
}
.odi-setup-wizard-page-item.is-published { border-color:rgba(46,125,50,.35); }
.odi-setup-wizard-page-check { flex:1; align-items:flex-start !important; gap:10px !important; margin:0 !important; }
.odi-setup-wizard-page-item__body { display:flex; flex-direction:column; gap:4px; }
.odi-setup-wizard-page-item__body strong { font-size:14px; color:var(--odi-brand-dark); }
.odi-setup-wizard-page-item__link,
.odi-setup-wizard-page-item__badge { flex-shrink:0; margin-top:2px; font-size:12px; }
.odi-setup-wizard-menu-rows { display:flex; flex-direction:column; gap:10px; }
.odi-setup-wizard-menu-row {
	display:flex; flex-direction:column; gap:8px;
	padding:12px 14px; border:1px solid var(--odi-brand-gray); border-radius:8px; background:#fff;
}
.odi-setup-wizard-menu-row__head {
	display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.odi-setup-wizard-menu-row__num {
	font-size:12px; font-weight:800; color:var(--odi-brand-slate);
}
.odi-setup-wizard-menu-row__fields {
	display:grid; grid-template-columns:1fr 1fr; gap:8px 12px;
}
.odi-setup-wizard-menu-row__fields label { margin:0; font-size:12px; }
.odi-setup-wizard-menu-row__remove { flex-shrink:0; }
.odi-setup-wizard-custom-pages { display:flex; flex-direction:column; gap:10px; margin-top:8px; }
.odi-setup-wizard-custom-page-row {
	display:flex; flex-direction:column; gap:8px;
	padding:12px 14px; border:1px dashed var(--odi-brand-gray); border-radius:8px; background:var(--odi-brand-soft);
}
.odi-setup-wizard-custom-page-row__head {
	display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.odi-setup-wizard-custom-page-row__fields {
	display:grid; grid-template-columns:1fr 1fr; gap:8px 12px;
}
.odi-setup-wizard-custom-page-row__fields label { margin:0; font-size:12px; }
.odi-setup-wizard-map-engines,
.odi-setup-wizard-license-modes {
	display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px;
}
.odi-setup-wizard-map-engine,
.odi-setup-wizard-license-mode {
	display:flex; flex-direction:column; gap:6px; padding:12px 14px;
	border:2px solid var(--odi-brand-gray-light); border-radius:8px; cursor:pointer; background:#fff;
}
.odi-setup-wizard-map-engine.is-selected,
.odi-setup-wizard-license-mode.is-selected {
	border-color:var(--odi-brand-red); background:rgba(211,33,43,0.04);
}
.odi-setup-wizard-map-engine input,
.odi-setup-wizard-license-mode input { margin:0 0 4px; }
.odi-setup-wizard-map-engine__title,
.odi-setup-wizard-license-mode__title { font-size:14px; font-weight:800; color:var(--odi-brand-dark); }
.odi-setup-wizard-warn { color:var(--odi-brand-red); font-weight:600; }
.odi-setup-wizard-maps-key-wrap,
.odi-setup-wizard-license-key-wrap { margin-top:4px; }
.odi-setup-wizard-eula-scroll {
	max-height:min(52vh, 420px); overflow:auto; padding:14px 16px;
	border:1px solid var(--odi-brand-gray-light); border-radius:8px;
	background:var(--odi-brand-soft); font-size:13px; line-height:1.55; color:var(--odi-brand-dark);
}
.odi-setup-wizard-eula-doc p { margin:0 0 10px; }
.odi-setup-wizard-eula-list {
	margin:0 0 10px; padding-left:20px;
}
.odi-setup-wizard-eula-list li { margin-bottom:8px; }
.odi-setup-wizard-eula-check {
	align-items:flex-start !important; gap:10px !important; margin-top:12px !important;
	font-weight:600;
}
.odi-setup-wizard-eula-check span { line-height:1.45; }
.odi-setup-wizard-eula-done { color:var(--odi-brand-dark); font-weight:600; }
.odi-setup-wizard-section-title {
	font-size:13px; font-weight:700; color:var(--odi-brand-dark); margin:8px 0 0;
}
.odi-setup-wizard-env,
.odi-setup-wizard-summary { margin-top:4px; }
@media (max-width: 767px) {
	.odi-setup-wizard-presets { grid-template-columns:1fr; }
	.odi-setup-wizard-page-item { flex-direction:column; align-items:stretch; }
	.odi-setup-wizard-menu-row__fields,
	.odi-setup-wizard-custom-page-row__fields,
	.odi-setup-wizard-map-engines,
	.odi-setup-wizard-license-modes { grid-template-columns:1fr; }
}
.odi-setup-wizard-nav .js-odi-setup-wizard-msg.is-ok { color:var(--odi-brand-dark); }
.odi-setup-wizard-nav .js-odi-setup-wizard-msg.is-error { color:var(--odi-brand-red); font-weight:600; }
.odi-gear-item--wizard { border-bottom:1px solid var(--odi-brand-gray-light); margin-bottom:4px; padding-bottom:10px; }
#odi-dashboard-app .odi-setup-wizard .odi-wizard-steps {
	display:flex; list-style:none; margin:0; padding:18px 16px 10px; gap:0;
	justify-content:space-between; position:relative; overflow-x:auto;
	border-bottom:1px solid var(--odi-brand-gray-light); background:var(--odi-brand-bg-soft);
}
#odi-dashboard-app .odi-setup-wizard .odi-wizard-steps::before {
	content:""; position:absolute; top:32px; left:28px; right:28px; height:2px;
	background:var(--odi-brand-gray-light); z-index:0;
}
#odi-dashboard-app .odi-setup-wizard .odi-wizard-steps li {
	position:relative; z-index:1; flex:1; display:flex; justify-content:center; min-width:52px;
}
#odi-dashboard-app .odi-setup-wizard .odi-wizard-dot {
	display:flex; flex-direction:column; align-items:center; gap:6px; border:0; background:transparent;
	cursor:pointer; color:var(--odi-brand-slate); padding:0; font-family:inherit;
}
#odi-dashboard-app .odi-setup-wizard .odi-wizard-num {
	width:28px; height:28px; border-radius:50%; border:2px solid var(--odi-brand-gray-light);
	background:#fff; display:flex; align-items:center; justify-content:center;
	font-weight:800; font-size:12px;
}
#odi-dashboard-app .odi-setup-wizard .odi-wizard-dot.is-active .odi-wizard-num {
	border-color:var(--odi-brand-red); background:var(--odi-brand-red); color:#fff;
}
#odi-dashboard-app .odi-setup-wizard .odi-wizard-dot.is-done .odi-wizard-num {
	border-color:var(--odi-brand-dark); background:var(--odi-brand-dark); color:#fff;
}
#odi-dashboard-app .odi-setup-wizard .odi-wizard-label {
	font-size:10px; font-weight:700; text-align:center; max-width:78px; line-height:1.2;
}
@media (max-width: 767px) {
	#odi-dashboard-app .odi-setup-wizard .odi-wizard-label { display:none; }
	#odi-dashboard-app .odi-setup-wizard .odi-wizard-steps::before { left:18px; right:18px; }
}

/* ── Social media post generator ── */
.odi-btn-social { background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); color:var(--odi-brand-slate); gap:6px; }
.odi-btn-social:hover { background:var(--odi-brand-red); color:#fff; border-color:var(--odi-brand-red); }
.odi-btn-social svg { flex-shrink:0; }

.odi-social-backdrop { position:fixed; top:0; left:0; width:100vw; height:100vh; background:rgba(43,47,51,0.75); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); z-index:9999999; display:flex; align-items:center; justify-content:center; }
.odi-social-dialog { background:#fff; width:90vw; max-width:540px; border-radius:14px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,0.3); border-top:4px solid var(--odi-brand-red); }
.odi-social-header { background:var(--odi-brand-dark); padding:14px 20px; display:flex; justify-content:space-between; align-items:center; }
.odi-social-header-title { color:#fff; font-weight:800; font-size:14px; letter-spacing:0.3px; }
.odi-social-close { background:none; border:none; color:rgba(255,255,255,0.7); font-size:24px; cursor:pointer; line-height:1; padding:0 4px; transition:color 0.15s; }
.odi-social-close:hover { color:#fff; }
.odi-social-body { padding:24px; display:flex; flex-direction:column; gap:16px; }
.odi-social-tabs { display:flex; gap:8px; }
.odi-social-tab { display:inline-flex; align-items:center; justify-content:center; padding:10px 14px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; font-size:13px; font-weight:700; color:var(--odi-brand-slate); cursor:pointer; transition:all 0.15s; flex:1; text-align:center; min-width:0; gap:0; }
.odi-social-tab input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.odi-social-tab.is-active { border-color:var(--odi-brand-red); background:#FFF5F5; color:var(--odi-brand-dark); box-shadow:inset 0 0 0 1px var(--odi-brand-red); }
.odi-social-loading { display:flex; align-items:center; gap:12px; color:var(--odi-brand-slate); font-size:13px; font-weight:600; padding:16px 0; }
.odi-social-loading[hidden] { display:none !important; }
.odi-social-spinner { width:22px; height:22px; border:3px solid var(--odi-brand-gray-light); border-top-color:var(--odi-brand-red); border-radius:50%; animation:odi-spin 0.7s linear infinite; flex-shrink:0; }
@keyframes odi-spin { to { transform:rotate(360deg); } }
.odi-social-result { display:flex; flex-direction:column; gap:12px; }
.odi-social-text { background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:16px; font-size:13px; line-height:1.65; color:var(--odi-brand-dark); white-space:pre-wrap; word-wrap:break-word; max-height:360px; overflow-y:auto; margin:0; font-family:inherit; }

.odi-panel-page-head { margin:0 0 16px; }
#odi-dashboard-app .odi-panel-page-head .odi-page-kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--odi-brand-red);
}
#odi-dashboard-app .odi-panel-page-head .odi-page-title,
.odi-panel-page-head > h3 {
	margin: 0 0 8px;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: -0.02em;
	color: var(--odi-brand-dark);
}
.odi-panel-page-desc,
.odi-panel-page-head > p:not(.odi-page-kicker) {
	margin: 0;
	font-size: 13px;
	color: var(--odi-brand-slate);
	line-height: 1.5;
	max-width: 72ch;
}

.odi-panel-section-head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin: 0 0 12px;
}

.odi-panel-section-head .odi-page-mod-title {
	margin: 0;
	flex: 1;
	min-width: 0;
}

/* Pomoc ? + Wskazówka (popover przy triggerze) */
.odi-panel-help {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
	align-self: center;
	flex-shrink: 0;
}

.odi-panel-help-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
	max-width: 20px;
	max-height: 20px;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid var(--odi-brand-gray-light, #E5E8EB);
	border-radius: 4px;
	background: #fff;
	color: var(--odi-brand-slate, #555D61);
	cursor: pointer;
	line-height: 1;
	flex-shrink: 0;
	opacity: 0.75;
}

.odi-panel-help-trigger__mark {
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.odi-panel-help-trigger__lab {
	display: none !important; /* etykieta „Wskazówka” wyłączona - tylko ? */
}

.odi-panel-help-trigger:hover {
	border-color: var(--odi-brand-slate, #555D61);
}

.odi-panel-help.is-open .odi-panel-help-trigger,
.odi-panel-help-trigger[aria-expanded="true"] {
	border-color: var(--odi-brand-red, #D3212B);
	color: var(--odi-brand-red, #D3212B);
	background: #fff;
}

.odi-panel-help-popover {
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	z-index: 120;
	width: min(300px, calc(100vw - 32px));
	padding: 12px 14px;
	border: var(--odi-card-border);
	border-radius: var(--odi-card-radius, 8px);
	background: #fff;
	box-shadow: 0 12px 32px rgba(43, 47, 51, 0.14);
	font-size: 12px;
	line-height: 1.45;
	color: var(--odi-brand-slate, #555D61);
}

/* Przy ? po prawej (pasek kroku / rząd pola) - popover w lewo, nie poza ekran */
.odi-panel-editor-hint-row .odi-panel-help-popover,
.odi-field-help-inline .odi-panel-help-popover,
.odi-field-foot .odi-panel-help-popover {
	left: auto;
	right: 0;
}

.odi-panel-help-popover[hidden] {
	display: none !important;
}

.odi-panel-help-popover p {
	margin: 0;
}

.odi-panel-help-popover p + p {
	margin-top: 8px;
}

.odi-panel-help-popover .odi-panel-help-list {
	margin: 8px 0 0;
	padding-left: 18px;
}

/* Legacy alias - stare klasy w dokumentacji */
.odi-panel-help-fold__body .odi-panel-help-list {
	margin: 8px 0 0;
	padding-left: 18px;
}

/* Długi przewodnik (checklisty) - domyślnie zwinięty */
.odi-panel-help-block {
	margin: 0 0 14px;
	border: 1px solid var(--odi-brand-gray-light, #E5E8EB);
	border-radius: var(--odi-card-radius, 8px);
	background: var(--odi-brand-soft-bg, #f8f9fa);
}

.odi-panel-help-block__summary {
	cursor: pointer;
	list-style: none;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--odi-brand-dark, #2B2F33);
	display: flex;
	align-items: center;
	gap: 8px;
}

.odi-panel-help-block__summary::-webkit-details-marker {
	display: none;
}

.odi-panel-help-block__summary::before {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 2px solid var(--odi-brand-slate, #555D61);
	border-bottom: 2px solid var(--odi-brand-slate, #555D61);
	transform: rotate(-45deg);
	flex-shrink: 0;
	transition: transform .15s ease;
}

.odi-panel-help-block[open] .odi-panel-help-block__summary::before {
	transform: rotate(45deg);
}

.odi-panel-help-block__body {
	padding: 0 14px 14px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--odi-brand-slate, #555D61);
}

.odi-panel-help-block__body > :first-child {
	margin-top: 0;
}

.odi-panel-editor-hint-row {
	margin: 0 0 12px;
	padding: 8px 10px;
	border-radius: 6px;
	background: var(--odi-brand-soft-bg, #f8f9fa);
	border: 1px solid var(--odi-brand-gray-light, #E5E8EB);
	grid-column: 1 / -1;
}

.odi-panel-editor-hint-row.is-warn {
	background: #fff7ed;
	border-color: #f0d2a8;
}

.odi-panel-editor-hint-row__head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.odi-panel-editor-hint-row .odi-editor-hint--compact {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--odi-brand-slate, #555D61);
	line-height: 1.35;
}

.odi-panel-editor-hint-row .odi-panel-help {
	flex: 0 0 auto;
	margin-left: auto;
}

.odi-panel-editor-hint-row .odi-panel-help-trigger {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	opacity: 0.7;
}

.odi-panel-editor-hint-row .odi-panel-help-trigger__mark {
	font-size: 10px;
}

.odi-panel-editor-hint-row .odi-panel-help-trigger__lab {
	display: none !important;
}

/* Label pola: tytuł + badge kanału; ? na końcu rzędu z inputem */
#odi-dashboard-app .odi-field-label,
.odi-editor .odi-field-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px 10px;
	margin: 0 0 6px;
	max-width: 100%;
}

#odi-dashboard-app .odi-field-label__text,
.odi-editor .odi-field-label__text {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--odi-brand-dark, #2B2F33);
	display: block;
	letter-spacing: 0;
}

#odi-dashboard-app .odi-field-label__meta,
.odi-editor .odi-field-label__meta {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 4px;
	flex: 0 0 auto;
	max-width: 48%;
}

@media (min-width: 782px) {
	#odi-dashboard-app .odi-field-label,
	.odi-editor .odi-field-label {
		justify-content: flex-start;
		gap: 2.5em;
	}

	#odi-dashboard-app .odi-field-label__text,
	.odi-editor .odi-field-label__text {
		flex: 0 1 auto;
	}

	#odi-dashboard-app .odi-field-label__meta,
	.odi-editor .odi-field-label__meta {
		justify-content: flex-start;
		max-width: none;
	}

	#odi-dashboard-app .odi-checks--featured {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 12px;
	}

	#odi-dashboard-app .odi-checks--featured label {
		flex: 0 0 auto;
		width: auto;
		max-width: 100%;
	}
}

#odi-dashboard-app .odi-field-control-row,
.odi-editor .odi-field-control-row {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

#odi-dashboard-app .odi-field-control,
.odi-editor .odi-field-control {
	flex: 1 1 auto;
	min-width: 0;
}

#odi-dashboard-app .odi-field-help-inline,
.odi-editor .odi-field-help-inline {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

#odi-dashboard-app .odi-field-help-inline .odi-panel-help-trigger,
.odi-editor .odi-field-help-inline .odi-panel-help-trigger,
#odi-dashboard-app .odi-field-foot .odi-panel-help-trigger,
.odi-editor .odi-field-foot .odi-panel-help-trigger {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	opacity: 0.65;
}

#odi-dashboard-app .odi-field-help-inline .odi-panel-help-trigger__lab,
.odi-editor .odi-field-help-inline .odi-panel-help-trigger__lab {
	display: none !important;
}

#odi-dashboard-app .odi-field-control > input[type="number"],
#odi-dashboard-app .odi-field-control > input[type="text"],
#odi-dashboard-app .odi-field-control > input[type="email"],
#odi-dashboard-app .odi-field-control > input[type="url"],
#odi-dashboard-app .odi-field-control > input[type="date"],
#odi-dashboard-app .odi-field-control > select,
.odi-editor .odi-field-control > input[type="number"],
.odi-editor .odi-field-control > input[type="text"],
.odi-editor .odi-field-control > input[type="email"],
.odi-editor .odi-field-control > input[type="url"],
.odi-editor .odi-field-control > input[type="date"],
.odi-editor .odi-field-control > select {
	min-height: 40px !important;
	height: 40px !important;
	max-height: 44px !important;
	line-height: 1.25;
	padding-top: 8px;
	padding-bottom: 8px;
}

#odi-dashboard-app .odi-field-control > textarea,
.odi-editor .odi-field-control > textarea {
	min-height: 96px;
	height: auto;
	max-height: none;
}

#odi-dashboard-app .odi-field--span,
.odi-editor .odi-field--span {
	grid-column: 1 / -1;
}

#odi-dashboard-app .odi-field-foot,
.odi-editor .odi-field-foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 4px;
}

/* Gdy wskazówka przy polu, nie dubluj starego akapitu */
.odi-field:has(.odi-field-foot .odi-panel-help) > .odi-field-help,
.odi-field:has(.odi-field-help-inline .odi-panel-help) > .odi-field-help,
.odi-agent-editor .odi-field:has(.odi-field-foot .odi-panel-help) > .odi-field-help {
	display: none;
}

.odi-panel-stack { display:grid; gap:14px; }
.odi-panel-page-foot { margin-top:18px; padding-top:14px; border-top:1px solid var(--odi-brand-gray-light); display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.odi-panel-inline-msg { font-size:13px; color:var(--odi-brand-slate); }
.odi-panel-subnav { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px; padding:4px; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:8px; }
.odi-panel-subnav button { border:none; background:transparent; padding:8px 12px; border-radius:6px; font-size:12px; font-weight:700; color:var(--odi-brand-slate); cursor:pointer; }
.odi-panel-subnav button.is-active { background:var(--odi-brand-dark); color:#fff; }
.odi-seo-sec[hidden] { display:none !important; }
.odi-changelog-sec[hidden] { display:none !important; }
.odi-ai-sec[hidden] { display:none !important; }
.odi-system-sec[hidden] { display:none !important; }
.odi-site-sec[hidden] { display:none !important; }
.odi-wcag-sec[hidden],
.odi-share-sec[hidden],
.odi-smtp-sec[hidden],
.odi-sync-sec[hidden],
.odi-stats-sec[hidden],
.odi-i18n-sec[hidden] { display:none !important; }
.odi-system-check-item.is-clickable {
	cursor: pointer;
	border-radius: 8px;
	transition: background 0.15s ease;
}
.odi-system-check-item.is-clickable:hover {
	background: var(--odi-brand-bg-soft, #F8F9FA);
}

.odi-media-settings-card { margin:0 0 16px; padding:14px 16px; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:8px; }
.odi-wm-export-card { margin:0 0 18px; padding:16px 18px; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:8px; }
.odi-wm-export-head h3 { margin:0 0 8px; font-size:16px; color:var(--odi-brand-dark); }
.odi-wm-export-head p { margin:0 0 6px; font-size:13px; color:var(--odi-brand-slate); line-height:1.5; }
.odi-wm-export-meta { margin:0 0 12px; color:var(--odi-brand-slate); }
.odi-wm-export-drop { display:block; padding:18px; border:2px dashed var(--odi-brand-gray-light); border-radius:8px; background:var(--odi-brand-bg-soft); cursor:pointer; text-align:center; }
.odi-wm-export-drop input[type="file"] { display:block; margin:10px auto 0; max-width:100%; }
.odi-wm-export-drop-label { font-size:13px; font-weight:600; color:var(--odi-brand-dark); }
.odi-wm-export-files { margin:10px 0 0; font-size:12px; color:var(--odi-brand-slate); word-break:break-word; }
.odi-wm-export-actions { margin:12px 0 0; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.odi-wm-export-msg { font-size:12px; color:var(--odi-brand-slate); }
.odi-wm-export-result { margin-top:12px; display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.odi-wm-export-expires { font-size:12px; color:var(--odi-brand-slate); }
.odi-media-settings-card h4 { margin:0 0 8px; font-size:14px; }
.odi-media-settings-intro { margin:0 0 10px; font-size:12px; color:var(--odi-brand-slate); line-height:1.5; }
.odi-media-tools-card,
.odi-media-audit-card { margin:18px 0 0; padding:0; background:var(--odi-brand-bg-soft); border:1px solid var(--odi-brand-gray-light); border-radius:8px; }
.odi-media-tools-hint { font-weight:500; color:var(--odi-brand-slate); font-size:12px; }
.odi-media-tools-body { display:grid; gap:18px; }
.odi-media-tools-block h4 { margin:12px 0 8px; font-size:14px; color:var(--odi-brand-dark); }
.odi-media-tools-block:first-child h4 { margin-top:10px; }
.odi-media-audit-summary { padding:12px 16px; font-size:14px; font-weight:600; cursor:pointer; list-style:none; }
.odi-media-audit-summary::-webkit-details-marker { display:none; }
.odi-media-audit-summary::before { content:'▸'; display:inline-block; margin-right:8px; transition:transform .15s; }
.odi-media-tools-card[open] > .odi-media-audit-summary::before,
.odi-media-audit-card[open] > .odi-media-audit-summary::before { transform:rotate(90deg); }
.odi-media-audit-badge { display:inline-block; margin-left:6px; padding:2px 8px; font-size:11px; font-weight:600; border-radius:999px; background:#fef3c7; color:#92400e; }
.odi-media-audit-badge.is-ok { background:#dcfce7; color:#166534; }
.odi-media-audit-body { padding:0 16px 14px; border-top:1px solid var(--odi-brand-gray-light); }
.odi-media-audit-card h4 { margin:0 0 8px; font-size:14px; }
.odi-media-audit-intro { margin:10px 0; font-size:12px; color:var(--odi-brand-slate); line-height:1.5; }
.odi-media-audit-warn { margin:8px 0 0; font-size:12px; color:#b45309; }
.odi-media-audit-out { margin:10px 0 0; max-height:280px; overflow:auto; font-size:11px; background:#fff; border:1px solid var(--odi-brand-gray-light); border-radius:6px; padding:10px; }
.odi-media-settings label { display:inline-block; margin:4px 0; font-size:13px; }
.odi-media-settings--audit { margin:10px 0 0; }
.odi-media-prune-unsaved-hint { margin-left:6px; font-size:12px; color:#b45309; font-weight:600; }
.odi-media-prune-progress { margin:12px 0 4px; }
.odi-media-prune-progress__track {
	height:10px;
	border-radius:999px;
	background:#e5e8eb;
	overflow:hidden;
}
.odi-media-prune-progress__fill {
	display:block;
	height:100%;
	width:0;
	background:var(--odi-brand-red);
	border-radius:999px;
	transition:width .25s ease, background .25s ease;
}
.odi-media-prune-progress.is-done .odi-media-prune-progress__fill {
	width:100% !important;
	background:#1e7e34;
}
.odi-media-prune-progress__text {
	margin:8px 0 0;
	font-size:12px;
	color:var(--odi-brand-slate);
}
.odi-media-prune-progress.is-done .odi-media-prune-progress__text {
	color:#166534;
	font-weight:700;
}
#odi-media-audit-msg.is-ok { color:#166534; font-weight:700; }
.odi-btn-table-del.is-prune-blocked { opacity:0.72; cursor:pointer; }

.odi-changelog-kv dl { display:grid; grid-template-columns:minmax(140px, 220px) 1fr; gap:8px 16px; margin:0; font-size:13px; }
.odi-changelog-kv dt { margin:0; font-weight:800; color:var(--odi-brand-slate); text-transform:uppercase; font-size:11px; letter-spacing:0.04em; }
.odi-changelog-kv dd { margin:0; }
.odi-changelog-badge { display:inline-block; padding:3px 10px; border-radius:999px; font-size:11px; font-weight:700; }
.odi-changelog-badge.is-on { background:#dcfce7; color:#166534; }
.odi-changelog-badge.is-off { background:#fee2e2; color:#991b1b; }
.odi-changelog-pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.odi-changelog-debug-table td { font-size:12px; word-break:break-word; }
.odi-changelog-releases { display:flex; flex-direction:column; gap:8px; }
.odi-changelog-release { border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#fff; }
.odi-changelog-release summary { cursor:pointer; padding:12px 14px; font-size:13px; list-style:none; display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; }
.odi-changelog-release summary::-webkit-details-marker { display:none; }
.odi-changelog-date { font-size:12px; color:var(--odi-brand-slate); }
.odi-changelog-sub { font-size:12px; color:var(--odi-brand-slate); flex:1 1 100%; }
.odi-changelog-body { padding:0 14px 12px; font-size:13px; color:var(--odi-brand-dark); border-top:1px solid var(--odi-brand-gray-light); }
.odi-changelog-body p { margin:6px 0; line-height:1.45; }
.odi-changelog-nav-badge { display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 5px; border-radius:999px; font-size:10px; font-weight:800; vertical-align:middle; margin-left:4px; }
.odi-changelog-nav-badge.is-bad { background:#fee2e2; color:#991b1b; }
.odi-changelog-reports { display:flex; flex-direction:column; gap:10px; margin-top:14px; }
.odi-changelog-report-card { border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:12px 14px; background:#fff; }
.odi-changelog-report-card header { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; margin-bottom:8px; }
.odi-changelog-report-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.odi-changelog-cursor-export { width:100%; margin-top:14px; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:12px; line-height:1.45; padding:12px; border:1px solid var(--odi-brand-gray-light); border-radius:8px; background:#f8f9fa; resize:vertical; }
.odi-changelog-tools-summary { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 14px; }
.odi-changelog-tools-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:10px; }
.odi-changelog-tool { border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:12px 14px; background:#fff; }
.odi-changelog-tool p { margin:8px 0 0; font-size:12px; color:var(--odi-brand-slate); line-height:1.45; }
.odi-changelog-tool-head { display:flex; align-items:center; gap:8px; font-size:13px; }
.odi-changelog-tool-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.odi-changelog-tool-state { margin-left:auto; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; }
.odi-changelog-tool--ok { border-color:#bbf7d0; background:#f0fdf4; }
.odi-changelog-tool--ok .odi-changelog-tool-dot { background:#22c55e; }
.odi-changelog-tool--ok .odi-changelog-tool-state { color:#166534; }
.odi-changelog-tool--bad { border-color:#fecaca; background:#fef2f2; }
.odi-changelog-tool--bad .odi-changelog-tool-dot { background:#ef4444; }
.odi-changelog-tool--bad .odi-changelog-tool-state { color:#991b1b; }
.odi-changelog-tool--optional { border-color:#fde68a; background:#fffbeb; }
.odi-changelog-tool--optional .odi-changelog-tool-dot { background:#f59e0b; }
.odi-changelog-tool--optional .odi-changelog-tool-state { color:#92400e; }
.odi-stat-pill.is-rc-pass { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.odi-stat-pill.is-rc-fail { background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }
.odi-stat-pill.is-opt-staging { background:#fffbeb; color:#92400e; border:1px solid #fde68a; }
.odi-changelog-empty-ok { color:#166534; background:#f0fdf4; border:1px solid #bbf7d0; border-radius:8px; padding:12px 14px; font-size:13px; }
.odi-changelog-errors { list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:8px; }
.odi-changelog-error { border:1px solid var(--odi-brand-gray-light); border-radius:8px; padding:10px 12px; background:#fff; }
.odi-changelog-error p { margin:6px 0 0; font-size:12px; color:var(--odi-brand-slate); line-height:1.45; word-break:break-word; }
.odi-changelog-error-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; }
.odi-changelog-error-sev { font-size:10px; font-weight:800; letter-spacing:0.05em; padding:2px 8px; border-radius:999px; }
.odi-changelog-error-src { font-size:11px; margin-left:auto; }
.odi-changelog-error--error { border-color:#fecaca; background:#fef2f2; }
.odi-changelog-error--error .odi-changelog-error-sev { background:#fee2e2; color:#991b1b; }
.odi-changelog-error--warn { border-color:#fde68a; background:#fffbeb; }
.odi-changelog-error--warn .odi-changelog-error-sev { background:#fef3c7; color:#92400e; }
.odi-changelog-error--info { border-color:#e5e8eb; }
.odi-changelog-error--info .odi-changelog-error-sev { background:#e5e8eb; color:#555d61; }

/* Harmonijki panelu (filtry / media) */
.odi-panel-fold {
	margin: 0 0 16px;
	border: 1px solid var(--odi-brand-gray-light);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}
.odi-panel-fold__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 800;
	color: var(--odi-brand-dark);
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.odi-panel-fold__summary::-webkit-details-marker { display: none; }
.odi-panel-fold__summary::before {
	content: '▸';
	display: inline-block;
	transition: transform .15s ease;
	color: var(--odi-brand-slate);
}
.odi-panel-fold[open] > .odi-panel-fold__summary::before { transform: rotate(90deg); }
.odi-panel-fold__body { padding: 0 12px 12px; }
.odi-panel-fold__body > .odi-filter-bar { margin-bottom: 0; border: 0; padding: 4px 0 0; }
.odi-media-wp-fold { margin: 18px 0 0; }
.odi-media-wp-fold .odi-panel-fold__body { padding-top: 4px; }

.odi-filter-bar--listings { gap: 12px; }
.odi-panel-fold--listings-more {
	margin: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}
.odi-panel-fold--listings-more > .odi-panel-fold__summary {
	padding: 4px 0 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--odi-brand-slate);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.odi-panel-fold--listings-more > .odi-panel-fold__body {
	padding: 10px 0 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.odi-panel-fold__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--odi-brand-red);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

/* Desktop: filtry Nieruchomości zawsze widoczne (bez zależności od [open] w details). */
@media (min-width: 768px) {
	.odi-panel-fold--mobile-only {
		border: 0;
		background: transparent;
		border-radius: 0;
		margin: 0;
		overflow: visible;
	}
	.odi-panel-fold--mobile-only > .odi-panel-fold__summary {
		display: none !important;
	}
	.odi-panel-fold--mobile-only[open] > .odi-panel-fold__body,
	.odi-panel-fold--mobile-only:not([open]) > .odi-panel-fold__body {
		display: block !important;
		padding: 0;
	}
	.odi-panel-fold--mobile-only > .odi-panel-fold__body > .odi-filter-bar {
		padding: 16px 20px;
		border: 1px solid var(--odi-brand-gray-light);
		margin-bottom: 25px;
	}
}

@media (max-width: 767px) {
	.odi-panel-fold--mobile-only:not([open]) > .odi-panel-fold__body {
		display: none !important;
	}
}


/* Moduły hub - teksty */
#tab-moduly .odi-panel-subnav { margin: 0 0 16px; }
#tab-moduly .odi-pmod-settings--stacked { display: grid; gap: 14px; }
#tab-moduly .odi-pmod-settings--stacked .odi-pmod-setting-card { margin: 0; }


/* Moduły hub */
.odi-moduly-page-label { display:block; margin:0 0 12px; max-width:520px; }
.odi-moduly-page-label select { width:100%; }
#tab-moduly .odi-moduly-view[hidden] { display:none !important; }
#tab-moduly .odi-module-texts-ui .odi-modtext-block { margin-bottom:16px; }


/* Moduły P2 - teksty inline przy klocku */
.odi-pmod-pill {
	display: inline-block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 2px 7px;
	border-radius: 999px;
	line-height: 1.4;
	vertical-align: middle;
}
.odi-pmod-pill--ok { background: #e6f4ea; color: #1e7e34; }
.odi-pmod-pill--warn { background: #fff3cd; color: #8a6d1d; }
.odi-pmod-pill--on { background: #e8f0fe; color: #1a56db; }
.odi-pmod-pill--off { background: #f1f3f4; color: #5f6368; }
.odi-pmod-texts {
	margin-top: 12px;
	border: 1px solid var(--odi-brand-gray-light, #e5e8eb);
	border-radius: 8px;
	background: #fff;
}
.odi-pmod-texts > summary {
	cursor: pointer;
	list-style: none;
	padding: 10px 12px;
	font-size: 12px;
	font-weight: 800;
	color: var(--odi-brand-dark, #2b2f33);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.odi-pmod-texts > summary::-webkit-details-marker { display: none; }
.odi-pmod-texts > summary::before {
	content: '▸';
	display: inline-block;
	margin-right: 4px;
	transition: transform .15s ease;
}
.odi-pmod-texts[open] > summary::before { transform: rotate(90deg); }
.odi-pmod-texts-body {
	padding: 0 12px 12px;
	border-top: 1px solid var(--odi-brand-gray-light, #e5e8eb);
}
.odi-pmod-texts .odi-pmod-fields {
	display: grid;
	gap: 10px;
	margin: 12px 0;
}
.odi-pmod-texts-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.odi-link-btn {
	border: none;
	background: none;
	padding: 0;
	color: var(--odi-brand-red, #d3212b);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
}

/* Moduły P3 - pasek statusu */
.odi-moduly-status {
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid var(--odi-brand-gray-light, #E5E8EB);
	border-radius: 8px;
	background: var(--odi-brand-soft-bg, #F8F9FA);
}
.odi-moduly-status__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	font-size: 12px;
	color: var(--odi-brand-slate, #555D61);
}
.odi-moduly-status__sc {
	font-size: 12px;
	background: #fff;
	border: 1px solid var(--odi-brand-gray-light, #E5E8EB);
	border-radius: 4px;
	padding: 2px 6px;
	color: var(--odi-brand-dark, #2B2F33);
}
.odi-moduly-status__url {
	font-weight: 700;
	color: var(--odi-brand-red, #D3212B);
	text-decoration: none;
}
.odi-moduly-status__url:hover { text-decoration: underline; }
.odi-moduly-status__url-missing {
	color: #a15c00;
	font-weight: 600;
}
.odi-moduly-status__counts { font-weight: 700; color: var(--odi-brand-dark, #2B2F33); }
.odi-moduly-status__warns {
	margin: 8px 0 0;
	padding: 0 0 0 18px;
	color: #a15c00;
	font-size: 12px;
}
.odi-moduly-status__warns[hidden] { display: none !important; }


/* Moduły P4 - lead Gemini + A/B */
.odi-pmod-ab {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px dashed var(--odi-brand-gray-light, #E5E8EB);
	border-radius: 8px;
	background: #fff;
}
.odi-pmod-ab__head {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	margin: 0 0 10px;
	font-size: 12px;
	color: var(--odi-brand-slate, #555D61);
}
.odi-pmod-ab__head strong {
	color: var(--odi-brand-dark, #2B2F33);
	font-size: 13px;
}
.odi-pmod-field__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 800;
	color: var(--odi-brand-dark, #2B2F33);
	line-height: 1.4;
}

.odi-site-migrate-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 16px;
	padding: 12px 14px;
	background: #fff8e6;
	border: 1px solid #e8d48a;
	border-radius: 8px;
	font-size: 13px;
	color: var(--odi-brand-dark);
}
.odi-site-migrate-notice p { margin: 0; flex: 1 1 220px; }
.odi-site-migrate-link {
	font-size: 12px;
	color: var(--odi-brand-slate);
	text-decoration: underline;
}
.odi-site-sec-stub-actions { margin-top: 12px; }
#tab-site_content .js-odi-site-subnav { margin-bottom: 12px; }

/* Chrome: Hero / Menu / Stopka - drugi rząd lżejszy od hubu */
#tab-site_content .js-odi-hero-subnav {
	margin: 0 0 16px;
	padding: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--odi-brand-gray-light);
	border-radius: 0;
	gap: 0;
}
#tab-site_content .js-odi-hero-subnav button {
	padding: 8px 14px;
	border-radius: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	font-size: 12px;
	font-weight: 700;
	color: var(--odi-brand-slate);
	background: transparent;
}
#tab-site_content .js-odi-hero-subnav button:hover {
	color: var(--odi-brand-dark);
}
#tab-site_content .js-odi-hero-subnav button.is-active {
	background: transparent;
	color: var(--odi-brand-dark);
	border-bottom-color: var(--odi-brand-red);
}

.odi-seo-panel-card > .odi-panel-section-head:first-child {
	margin-top: 0;
}
.odi-seo-panel-card .odi-uploader {
	max-width: 100%;
}
.odi-seo-panel-card .odi-uploader-toolbar {
	margin: 0 0 4px;
}
.odi-link-btn {
	border: none;
	background: none;
	padding: 0;
	font: inherit;
	font-weight: 700;
	color: var(--odi-brand-red, #D3212B);
	text-decoration: underline;
	cursor: pointer;
}
.odi-link-btn:hover { color: var(--odi-brand-dark, #2B2F33); }
#tab-site_content .odi-site-marka-intro { margin-bottom: 0; }
.odi-site-biuro-branch-list {
	margin: 10px 0 0;
	padding-left: 1.2em;
	font-size: 13px;
	color: var(--odi-brand-dark);
}
.odi-site-biuro-branch-list li { margin-bottom: 6px; }

.odi-site-onboarding {
	margin: 0 0 18px;
	padding: 14px 16px;
	background: var(--odi-brand-soft, #F8F9FA);
	border: 1px solid var(--odi-brand-gray, #E5E8EB);
	border-radius: 10px;
}
.odi-site-onboarding__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}
.odi-site-onboarding__head h4 { margin: 0 0 6px; }
.odi-site-onboarding__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
@media (max-width: 991px) {
	.odi-site-onboarding__grid { grid-template-columns: 1fr; }
}
.odi-site-onboarding__sub {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--odi-brand-dark);
}
.odi-site-onboarding-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}
.odi-site-onboarding-checklist li { margin: 0 0 4px; }
.odi-site-onboarding-check {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	width: 100%;
	padding: 6px 8px;
	border: none;
	background: #fff;
	border-radius: 6px;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: var(--odi-brand-dark);
}
.odi-site-onboarding-checklist li.is-done .odi-site-onboarding-check {
	background: #eef8ef;
}
.odi-site-onboarding-check__mark {
	font-weight: 700;
	color: var(--odi-brand-slate);
	width: 1.2em;
}
.odi-site-onboarding-checklist li.is-done .odi-site-onboarding-check__mark { color: #1E6B34; }
.odi-site-onboarding-check__label { font-weight: 600; }
.odi-site-onboarding-check__hint {
	font-size: 12px;
	color: var(--odi-brand-slate);
}
.odi-site-audit-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	vertical-align: middle;
}
.odi-site-audit-badge.is-ok { background: #eef8ef; color: #1E6B34; }
.odi-site-audit-badge.is-warn { background: #fff0f0; color: #D3212B; }
.odi-site-channel-audit {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
}
.odi-site-channel-audit__item {
	padding: 8px 10px;
	margin-bottom: 6px;
	border-radius: 6px;
	background: #fff;
	border-left: 3px solid var(--odi-brand-gray);
}
.odi-site-channel-audit__item.is-ok { border-left-color: #1E6B34; }
.odi-site-channel-audit__item.is-warn { border-left-color: #D3212B; }
.odi-site-channel-audit__item.is-info { border-left-color: #555D61; }
.odi-site-channel-audit__item strong { display: block; margin-bottom: 2px; }
.odi-site-channel-audit__item span { color: var(--odi-brand-slate); font-size: 12px; }

.odi-pmod-lead-ai {
	font-size: 11px !important;
	padding: 3px 8px !important;
        }

/* Popupy hub: kolejność + zwijana edycja */
.odi-popup-row__toolbar{display:flex;gap:6px;align-items:center;margin-bottom:8px;flex-wrap:wrap}

/* Stan systemu - badge OK / WRN / CRT */
.odi-sys-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}
.odi-sys-badge.is-ok { background: #1a7f37; }
.odi-sys-badge.is-wrn { background: #9a6700; }
.odi-sys-badge.is-crt { background: #D3212B; }
.odi-system-totals {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}
.odi-system-total {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--odi-brand-gray);
	border-radius: 8px;
	background: #fff;
}
.odi-system-total strong { font-size: 18px; }
.odi-system-check-item {
	border: 1px solid var(--odi-brand-gray);
	border-radius: 8px;
	padding: 10px 12px;
	background: var(--odi-brand-soft, #F8F9FA);
}
.odi-system-check-row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.odi-system-check-body strong { display: block; }
.odi-system-check-body p { margin: 4px 0 0; }

.odi-stats-kpi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
	margin-top: 8px;
}
.odi-stats-kpi {
	border: 1px solid var(--odi-brand-gray);
	border-radius: 8px;
	padding: 10px 12px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.odi-stats-kpi-label {
	font-size: 12px;
	color: var(--odi-brand-slate);
}
.odi-stats-kpi-value {
	font-size: 18px;
	line-height: 1.2;
}
.odi-stats-kpi-delta {
	font-size: 12px;
	color: var(--odi-brand-slate);
}
.odi-stats-kpi-delta.is-up { color: #1a7f37; }
.odi-stats-kpi-delta.is-down { color: #D3212B; }
.odi-stats-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: baseline;
	padding: 8px 10px;
	border: 1px solid var(--odi-brand-gray);
	border-radius: 8px;
	background: var(--odi-brand-soft, #F8F9FA);
	font-size: 13px;
}
.odi-stats-row span { min-width: 0; word-break: break-word; }
.odi-popup-row__summary{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}
.odi-popup-row__summary strong{font-size:14px}
.odi-privacy-colors input[type="color"]{width:42px;height:32px;padding:0;border:1px solid var(--odi-border,#E5E8EB);border-radius:6px;vertical-align:middle}
.odi-privacy-colors .odi-input{max-width:120px;display:inline-block;margin-left:6px}

/* Partners toolkit + Organizer today */
.odi-partners-toolkit-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.odi-partners-toolkit-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--odi-brand-gray-light,#E5E8EB);border-radius:8px;background:#fff}
.odi-partners-toolkit-row__main{flex:1 1 180px;min-width:0;display:grid;gap:2px}
.odi-partners-toolkit-row__main strong{font-size:14px;color:var(--odi-brand-dark,#2B2F33)}
.odi-pill--muted{background:#E5E8EB;color:#555D61}
