/* Backend: Startseite „Aktuelles“ */
.dga-home-pill { display: inline-block; padding: 0 0.5em; border-radius: 3px; font-size: 12px; font-weight: 600; line-height: 1.7; }
.dga-home-visible { background: #e9f6ed; color: #1e7f3b; }
.dga-home-planned { background: #fff4d6; color: #7a5600; }
.dga-home-expired { background: #eef0f3; color: #50575e; }
.dga-home-draft   { background: #f0f0f1; color: #50575e; border: 1px dashed #a7aaad; }
.dga-home-excl    { background: #fae9ea; color: #a41b21; }
.column-dga_home { width: 13em; }
.column-dga_weight { width: 7em; }
.dga-home-status-line { margin-top: 0; }
.dga-home-box input[type="date"] { width: 100%; }
.dga-home-now td { vertical-align: middle; }
.dga-home-move { white-space: nowrap; }
.dga-home-fallback-preview { max-width: 300px; height: auto; }
#fallback_preview img { max-width: 300px; height: auto; }

/* Termin: Kasten „Startseite“ */
.dga-home-event [hidden] { display: none !important; }
.dga-home-event-frame { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.5rem; }
.dga-home-event-frame label { display: flex; flex-direction: column; gap: 0.2rem; }
.dga-home-hint { flex-basis: 100%; margin: 0.2rem 0 0; color: #646970; font-size: 12px; }
.dga-home-linkbtn { background: none; border: 0; padding: 0; color: #2271b1; text-decoration: underline; cursor: pointer; font: inherit; }

/* Hinweis: Zeichenzähler + Link-Auswahl (10.11.2026) */
.dga-home-count { display: block; margin-top: 4px; color: #50575e; font-size: 12px; }
.dga-home-count.is-cut { color: #2271b1; }
.dga-home-count.is-over { color: #b26200; font-weight: 600; }
.dga-home-linkpick { border: 1px solid #dcdcde; border-radius: 4px; padding: 0 12px; margin: 1em 0; background: #f6f7f7; }
#dga_home_link_info { display: block; margin-top: 4px; }

/* Vorschau Startseite im Editor (19.11.2026) */
.dga-home-pv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 8px; }
.dga-home-pv-seg { display: inline-flex; gap: 4px; }
.dga-home-pv-state { color: #646970; font-style: italic; }
.dga-home-pv-note { margin: 0 0 8px; padding: 6px 10px; background: #fcf9e8; border-left: 4px solid #dba617; }
.dga-home-pv-note:empty { display: none; }
.dga-home-pv-frame { position: relative; overflow: hidden; border: 1px solid #dcdcde; background: #f3f6fa; }
.dga-home-pv-frame iframe { display: block; border: 0; transform-origin: 0 0; background: #f3f6fa; }
.dga-home-back { margin: 0 0 12px; }

/* Vorschau im Termin-Formular auf der Website (19.11.2026) */
.dga-home-ev-preview { grid-column: 1 / -1; margin-top: 0.5rem; }
.dga-home-ev-preview[hidden] { display: none; }
.dga-home-ev-preview-title { margin: 0 0 0.4rem; }
.dga-home-ev-preview .dga-home-pv-bar .button { cursor: pointer; padding: 0.3rem 0.8rem; border: 1px solid #b8c3d3; border-radius: 4px; background: #fff; font: inherit; font-size: 0.9rem; }
.dga-home-ev-preview .dga-home-pv-bar .button-primary { background: var(--da-color-blue, #27469a); border-color: var(--da-color-blue, #27469a); color: #fff; }

/* Bildgröße in der Vorschau (19.11.2026) */
.dga-home-pv-sizebar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; font-size: 13px; color: #50575e; }
.dga-home-pv-sizebar:has(.dga-home-pv-size:empty) { display: none; }
.dga-home-pv-size-reset { color: #b32d2e; text-decoration: underline; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; }
