/* ============================================================
   Presencia de Marcas — Brand Presence Timeline (Gantt)
   Usa clases de plataforma: contenedor-page, contenedor-panel,
   contenedor-header, camara-body, industria-card, modern-input,
   custom-dropdown, autocomplete, btn-execute, dash-card, etc.
   Solo agrega estilos propios de Presencia.
   ============================================================ */

/* ── Flex children: evitar que se compriman dentro de camara-body ── */
.presencia-page .camara-body > * {
    flex-shrink: 0;
}

/* ── Filters row (dentro de industria-card-body) ── */
.pres-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Selected tag chip (para autocomplete con selección) */
.pres-selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    background: rgba(123, 45, 142, 0.12);
    border: 1px solid rgba(123, 45, 142, 0.25);
    font-size: 0.875rem;
    color: var(--text-primary);
    height: 34px;
}

.pres-selected-tag img {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    object-fit: contain;
    background: #fff;
}

.pres-tag-clear {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 2px;
    transition: color 0.15s;
}

.pres-tag-clear:hover {
    color: var(--primary-color);
}

/* ── KPI Cards ── */
.pres-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    animation: presFadeUp 0.4s ease both;
}

.pres-kpi-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pres-kpi-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #fff;
    margin-bottom: 4px;
}

.pres-kpi-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.pres-kpi-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.pres-kpi-unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ── Switch Tag / TipoPublicidad ── */
.pres-gantt-toolbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 10px 10px 0 0;
}

.pres-switch-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pres-switch-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
    transition: color 0.2s;
    user-select: none;
}

.pres-switch-label.active {
    color: var(--text-primary);
}

.pres-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    flex-shrink: 0;
}

.pres-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pres-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-gradient);
    border: 1px solid rgba(240, 116, 0, 0.4);
    border-radius: 20px;
    transition: border-color 0.25s;
}

.pres-switch-slider::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
}

.pres-switch input:checked + .pres-switch-slider::before {
    transform: translateX(18px);
}

/* ── Gantt Wrapper (scrollbar hereda gradient de screen-theme) ── */
.pres-gantt-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

/* ── Gantt Table ── */
.pres-gantt {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 860px;
}

.pres-gantt-th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 10px 2px 4px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pres-gantt-th-sub {
    position: sticky;
    top: 30px;
    z-index: 10;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 0 2px 6px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    opacity: 0.6;
}

/* Marca column (sticky left) */
.pres-gantt-col-marca {
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--bg-card);
    min-width: 170px;
    max-width: 210px;
    padding-left: 12px !important;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pres-gantt-col-pct {
    min-width: 100px;
    padding: 0 8px;
}

/* ── Marca row ── */
.pres-gantt-row-marca {
    cursor: pointer;
    transition: background 0.15s;
}

.pres-gantt-row-marca:hover {
    background: rgba(123, 45, 142, 0.04);
}

.pres-gantt-row-marca td {
    padding: 8px 2px;
    border-bottom: 1px solid var(--border-color);
}

.pres-gantt-row-marca .pres-gantt-col-marca {
    font-weight: 600;
    color: var(--text-primary);
}

.pres-gantt-marca-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pres-gantt-chevron {
    display: inline-flex;
    transition: transform 0.2s ease;
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.pres-gantt-chevron.expanded {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.pres-gantt-marca-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.pres-gantt-marca-count {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ── Sitio row ── */
.pres-gantt-row-sitio {
    animation: presSlideDown 0.2s ease both;
}

.pres-gantt-row-sitio td {
    padding: 4px 2px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.pres-gantt-sitio-name {
    padding-left: 32px !important;
    font-weight: 400;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

/* ── Gantt Cell ── */
.pres-gantt-td {
    text-align: center;
    padding: 4px 1px !important;
}

.pres-cell {
    width: 26px;
    height: 20px;
    border-radius: 3px;
    margin: 0 auto;
    transition: transform 0.12s, box-shadow 0.12s;
}

/* Inactiva (sin datos, quincena liberada) */
.pres-cell-off {
    background: var(--bg-glass);
    border: 1px solid rgba(255,255,255,0.04);
}

/* No liberada (stripes) */
.pres-cell-unavail {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.03) 2px,
        rgba(255,255,255,0.03) 4px
    );
    border: 1px dashed rgba(255,255,255,0.06);
}

/* Marca — intensidad baja (1 sitio activo) */
.pres-cell-lo {
    background: rgba(123, 45, 142, 0.35);
    border: 1px solid rgba(123, 45, 142, 0.4);
    box-shadow: 0 0 4px rgba(123, 45, 142, 0.15);
}

/* Marca — intensidad media (2-3 sitios) */
.pres-cell-mid {
    background: rgba(123, 45, 142, 0.6);
    border: 1px solid rgba(123, 45, 142, 0.5);
    box-shadow: 0 0 6px rgba(123, 45, 142, 0.25);
}

/* Marca — intensidad alta (4+) */
.pres-cell-hi {
    background: rgba(123, 45, 142, 0.85);
    border: 1px solid rgba(123, 45, 142, 0.6);
    box-shadow: 0 0 10px rgba(123, 45, 142, 0.35);
}

/* Sitio — activo */
.pres-cell-on {
    background: rgba(37, 99, 235, 0.65);
    border: 1px solid rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.2);
    cursor: pointer;
}

.pres-cell-on:hover {
    transform: scale(1.25);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
}

/* ── Presencia % bar ── */
.pres-pct-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pres-pct-track {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
}

.pres-pct-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--primary-gradient);
    animation: presBarGrow 0.5s ease both;
}

.pres-pct-text {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 34px;
    text-align: right;
}

/* ── Leyenda de intensidad ── */
.pres-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.pres-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pres-legend-swatch {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.pres-legend-swatch.sw-hi {
    background: rgba(123, 45, 142, 0.85);
    border: 1px solid rgba(123, 45, 142, 0.6);
}

.pres-legend-swatch.sw-mid {
    background: rgba(123, 45, 142, 0.6);
    border: 1px solid rgba(123, 45, 142, 0.5);
}

.pres-legend-swatch.sw-lo {
    background: rgba(123, 45, 142, 0.35);
    border: 1px solid rgba(123, 45, 142, 0.4);
}

.pres-legend-swatch.sw-on {
    background: rgba(37, 99, 235, 0.65);
    border: 1px solid rgba(37, 99, 235, 0.5);
}

.pres-legend-swatch.sw-off {
    background: var(--bg-glass);
    border: 1px solid rgba(255,255,255,0.04);
}

.pres-legend-swatch.sw-unavail {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.03) 2px,
        rgba(255,255,255,0.03) 4px
    );
    border: 1px dashed rgba(255,255,255,0.06);
}

.light-mode .pres-legend-swatch.sw-off {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.06);
}

.light-mode .pres-legend-swatch.sw-unavail {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    border-color: rgba(0,0,0,0.08);
}

/* ── Tooltip (fuera de screen-theme, colores hardcodeados) ── */
.pres-tooltip {
    position: fixed;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 10px;
    background: #2d2d2d;
    border: 1px solid #444;
    box-shadow: 0 8px 28px rgba(0,0,0,0.45);
    pointer-events: none;
    min-width: 170px;
    max-width: 260px;
    font-size: 0.8rem;
    color: #fff;
}

.pres-tooltip-title {
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: #fff;
}

.pres-tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 0;
}

.pres-tooltip-label {
    color: #b0b0b0;
}

.pres-tooltip-value {
    font-weight: 600;
    color: #fff;
}

.pres-tooltip-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 4px;
}

.pres-tooltip-badge.active {
    background: rgba(123, 45, 142, 0.2);
    color: #c084fc;
}

.pres-tooltip-badge.inactive {
    background: rgba(255,255,255,0.06);
    color: #b0b0b0;
}

.pres-tooltip-badge.unavailable {
    background: rgba(220, 38, 38, 0.12);
    color: #f87171;
}

/* ── Detail Panel (fuera de screen-theme, colores hardcodeados) ── */
.pres-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0,0,0,0.55);
    animation: presFadeIn 0.2s ease both;
}

.pres-detail-panel {
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    width: 480px;
    max-width: 92vw;
    z-index: 501;
    background: #2d2d2d;
    border-left: 1px solid #444;
    box-shadow: -8px 0 32px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    animation: presSlideIn 0.25s ease both;
}

.pres-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #7B2D8E, #2563EB);
    color: #fff;
    flex-shrink: 0;
    min-height: 56px;
}

.pres-detail-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pres-detail-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}

.pres-detail-close:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.pres-detail-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.pres-detail-media {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #000;
    border: 1px solid #444;
}

.pres-detail-media video,
.pres-detail-media img {
    width: 100%;
    display: block;
    max-height: 220px;
    object-fit: contain;
}

.pres-detail-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.pres-detail-row {
    display: flex;
    gap: 8px;
    font-size: 0.82rem;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pres-detail-label {
    color: #b0b0b0;
    min-width: 80px;
    flex-shrink: 0;
    font-weight: 500;
}

.pres-detail-value {
    color: #fff;
    font-weight: 600;
    word-break: break-word;
}

.pres-detail-map {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #444;
}

/* ── Tabla Cruzada Marca × Localidad ── */
.pres-crosstab-card {
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.pres-crosstab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
}

.pres-crosstab-header:hover {
    background: var(--bg-glass-hover);
}

.pres-crosstab-header h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pres-crosstab-arrow {
    transition: transform 0.2s ease;
    color: var(--text-secondary);
}

.pres-crosstab-arrow.expanded {
    transform: rotate(180deg);
}

.pres-crosstab-body {
    padding: 0 16px 14px;
    animation: presSlideDown 0.25s ease both;
}

.pres-crosstab-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
}

.pres-crosstab-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    min-width: 600px;
}

/* Header */
.pres-ct-th {
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.pres-ct-col-pos { width: 32px; text-align: center; }
.pres-ct-col-marca { text-align: left; min-width: 140px; max-width: 200px; padding-left: 12px; }
.pres-ct-col-loc { min-width: 80px; }
.pres-ct-col-avg { min-width: 110px; }

/* Rows */
.pres-ct-row { transition: background 0.12s; }
.pres-ct-row:hover { background: rgba(123, 45, 142, 0.04); }
.pres-ct-row td { padding: 8px 2px; border-bottom: 1px solid var(--border-color); }

.pres-ct-pos {
    text-align: center;
    font-weight: 700;
    font-size: 0.72rem;
    color: rgba(123, 45, 142, 0.6);
    padding: 10px 6px;
    background: var(--bg-card);
}

.pres-ct-marca {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-primary);
    padding: 10px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    background: var(--bg-card);
}

/* Heatmap cells */
.pres-ct-cell {
    text-align: center;
    padding: 6px 4px;
}

.pres-ct-cell-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 600;
    transition: transform 0.12s, box-shadow 0.12s;
}

.pres-ct-cell-inner:hover {
    transform: scale(1.08);
}

.pres-ct-hi {
    background: rgba(123, 45, 142, 0.75);
    color: #fff;
    box-shadow: 0 0 8px rgba(123, 45, 142, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.pres-ct-mid {
    background: rgba(123, 45, 142, 0.45);
    color: #fff;
    box-shadow: 0 0 4px rgba(123, 45, 142, 0.15);
}

.pres-ct-lo {
    background: rgba(123, 45, 142, 0.22);
    color: var(--text-primary);
}

.pres-ct-min {
    background: rgba(123, 45, 142, 0.10);
    color: var(--text-secondary);
}

.pres-ct-zero {
    color: rgba(255,255,255,0.15);
    font-weight: 400;
}

/* Average column */
.pres-ct-avg {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.pres-ct-avg-bar {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
    min-width: 40px;
}

.pres-ct-avg-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--primary-gradient);
    animation: presBarGrow 0.5s ease both;
}

.pres-ct-avg-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 36px;
    text-align: right;
}

/* ── No data ── */
.pres-no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 50px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ── Empty State ── */
.pres-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    padding: 20px;
    text-align: center;
    animation: presEmptyFadeIn 0.6s ease;
}

.pres-empty-state svg {
    width: 140px;
    height: 120px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.light-mode .pres-empty-state svg {
    color: rgba(0,0,0,0.4);
}

.pres-empty-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    opacity: 0.8;
}

.pres-empty-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 380px;
    line-height: 1.5;
    opacity: 0.7;
}

@keyframes presEmptyFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Animations ── */
@keyframes presBarGrow {
    from { width: 0; }
}

@keyframes presSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

@keyframes presSlideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes presFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes presFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Light mode ── */
.light-mode .pres-cell-off {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.06);
}

.light-mode .pres-cell-unavail {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    border-color: rgba(0,0,0,0.08);
}

.light-mode .pres-selected-tag {
    background: rgba(123, 45, 142, 0.08);
    border-color: rgba(123, 45, 142, 0.2);
}

.light-mode .pres-pct-track {
    background: rgba(0,0,0,0.06);
}

.light-mode .pres-crosstab-wrapper {
    border-color: rgba(0,0,0,0.06);
}

.light-mode .pres-ct-row td {
    border-bottom-color: rgba(0,0,0,0.05);
}

.light-mode .pres-ct-row:hover {
    background: rgba(123, 45, 142, 0.04);
}

.light-mode .pres-ct-zero {
    color: rgba(0,0,0,0.15);
}

.light-mode .pres-ct-lo { color: #333; }
.light-mode .pres-ct-min { color: #666; }

.light-mode .pres-ct-avg-bar {
    background: rgba(0,0,0,0.06);
}

.light-mode .pres-gantt-row-sitio td {
    border-bottom-color: rgba(0,0,0,0.03);
}

.light-mode .pres-detail-row {
    border-bottom-color: rgba(0,0,0,0.05);
}

.light-mode .pres-detail-panel {
    background: #ffffff;
    border-left-color: #e0e0e0;
}

.light-mode .pres-detail-label {
    color: #888;
}

.light-mode .pres-detail-value {
    color: #333;
}

.light-mode .pres-detail-media {
    border-color: #e0e0e0;
}

.light-mode .pres-detail-map {
    border-color: #e0e0e0;
}

.light-mode .pres-tooltip {
    background: #fff;
    border-color: #e0e0e0;
    color: #333;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.light-mode .pres-tooltip-title {
    color: #333;
}

.light-mode .pres-tooltip-value {
    color: #333;
}

.light-mode .pres-tooltip-label {
    color: #888;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pres-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pres-kpis {
        grid-template-columns: 1fr;
    }

    .pres-filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pres-detail-panel {
        width: 100%;
        max-width: 100vw;
    }
}
