/* Zeitstempel-Liste: gesamte Rastergruppenbreite, automatische Inhaltshöhe. */
.dashboard-grid.grouped .dashboard-grid-group > .dashboard-tile.dashboard-template-timestamp-list{
    height:auto;min-height:96px;padding:17px 20px;gap:12px;
    align-self:start;justify-content:flex-start;background:var(--card-background,#151d2b);
    color:var(--card-text-color,#e9edf5);border:1px solid #2b3a50;border-radius:12px;box-shadow:none;
}
/* The kiosk grid uses the same card presentation outside legacy groups. */
.dashboard-grid.kiosk-gridstack .dashboard-tile.dashboard-template-timestamp-list,
.app-icon-picker-preview > .dashboard-template-timestamp-list,
.app-card-size-preview > .dashboard-template-timestamp-list{
    padding:17px 20px;gap:12px;justify-content:flex-start;
    background:var(--card-background,#151d2b);color:var(--card-text-color,#e9edf5);
}
.dashboard-template-timestamp-list .dashboard-timestamp-heading{
    --card-title-fallback:#4cb4ff;color:var(--card-text-color,#4cb4ff);font-size:18px;font-weight:750;line-height:1.25;text-align:center;
    overflow-wrap:anywhere;
}
.dashboard-template-timestamp-list .dashboard-timestamp-rows{
    display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;
}
.dashboard-template-timestamp-list .dashboard-timestamp-row{
    display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:5px;
    color:var(--card-text-color,#d8e0ec);font-size:14px;line-height:1.45;text-align:center;overflow-wrap:anywhere;
}
.dashboard-template-timestamp-list .dashboard-timestamp-label{color:var(--card-text-color,#d8e0ec)}
.dashboard-template-timestamp-list time{color:var(--card-text-color,#e9edf5);white-space:nowrap;font-variant-numeric:tabular-nums}
.dashboard-template-timestamp-list .dashboard-timestamp-empty{font-size:12px;color:#96a9c3;text-align:center}
.dashboard-grid.editing .dashboard-template-timestamp-list:hover{background:var(--card-background,#151d2b)}

/* Optionaler Kontaktstatus rechts nach dem Zeitstempel, ohne neue Modulwerte. */
.dashboard-template-timestamp-list .dashboard-timestamp-contact{
    margin-left:20px;white-space:nowrap;font-weight:650;
}

/* Independent factory title color; the shared title role consumes it. */
:is(.dashboard-template-lock-overview,.dashboard-template-function-entries) {--card-title-default:#4cb4ff;}

/* Fixed geometry and scale from the shared size editor. The original
   timestamp renderer, base dimensions and appearance remain unchanged. */
.dashboard-grid.grouped .dashboard-grid-group > .dashboard-tile.dashboard-template-timestamp-list[data-card-scalable],
.dashboard-grid.kiosk-gridstack .grid-stack-item-content > .dashboard-tile.dashboard-template-timestamp-list[data-card-scalable],
.app-card-size-preview > .dashboard-tile.dashboard-template-timestamp-list[data-card-scalable]{
    box-sizing:border-box;width:100%;min-width:0;max-width:100%;
    height:var(--card-height,215px);min-height:var(--card-height,215px);max-height:var(--card-height,215px);
    flex:0 0 var(--card-height,215px);justify-content:flex-start;
    padding:17px 20px;
    gap:12px;
    overflow-y:auto;overflow-x:hidden;
}

.dashboard-template-timestamp-list[data-card-scalable] .dashboard-timestamp-heading{
    font-size:18px;
}
.dashboard-template-timestamp-list[data-card-scalable] .dashboard-timestamp-rows{
    gap:8px;
}
.dashboard-template-timestamp-list[data-card-scalable] .dashboard-timestamp-row{
    /* Horizontal gaps are defined by the sensor/action row rules below. */
    row-gap:5px;font-size:14px;
}
.dashboard-template-timestamp-list[data-card-scalable] .dashboard-button{
    max-width:100%;overflow-wrap:anywhere;
    padding:11px 15px;
    font-size:12px;border-radius:9px;
}



.dashboard-template-timestamp-list {--card-content-padding:17px 20px;--card-content-gap:12px;--card-content-justify:flex-start;}
