.scout-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 25px; }
.scout-card { background: #fff; border: 1px solid #c3c4c7; border-left: 4px solid #2271b1; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.scout-card h3 { margin: 0 0 10px 0; font-size: 12px; text-transform: uppercase; color: #646970; }
.scout-card .value { font-size: 24px; font-weight: 300; color: #1d2327; }
.scout-status { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.status-ausstehend { background: #f0f0f1; color: #50575e; border: 1px solid #c3c4c7; }
.status-freigegeben { background: #fff8e5; color: #996800; border: 1px solid #f0c33c; }
.status-bezahlt { background: #edfaef; color: #005c1e; border: 1px solid #68de7c; }
.status-abgelehnt { background: #fcf0f1; color: #8a2424; border: 1px solid #d63638; }
.scout-receipt-link { text-decoration: none; background: #f6f7f7; border: 1px solid #c3c4c7; padding: 3px 8px; border-radius: 4px; font-size: 12px; color: #2271b1; margin-right: 4px; }
.scout-receipt-link:hover { background: #fff; border-color: #2271b1; }
/* --- Panels & Filter (ab 1.3.0) --------------------------------------- */
.scout-panel { background: #fff; border: 1px solid #c3c4c7; box-shadow: 0 1px 2px rgba(0,0,0,.05); padding: 16px 20px 20px; margin: 0 0 20px; }
.scout-panel > h2 { margin-top: 0; font-size: 15px; }
.scout-panel-info { border-left: 4px solid #2271b1; }
.scout-panel-info p { margin: 4px 0; }
.scout-panel-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; }
.scout-panel-head h2 { margin: 0; font-size: 15px; }
.scout-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.scout-filter-form { margin: 0; }
.scout-filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.scout-filter-row label { font-weight: 600; }
.scout-filter-legend { font-weight: 600; color: #646970; }
.scout-check { font-weight: 400 !important; display: inline-flex; align-items: center; gap: 5px; }
.scout-check-wide { grid-column: 1 / -1; font-weight: 400 !important; }
.scout-filter-presets .button { margin-right: 2px; }
.scout-options { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 4px 0 16px; }

/* --- Berichtserzeugung -------------------------------------------------- */
.scout-progress { margin: 14px 0 4px; max-width: 640px; }
.scout-progress-bar { height: 8px; background: #f0f0f1; border-radius: 4px; overflow: hidden; }
.scout-progress-bar span { display: block; height: 100%; width: 2%; background: #2271b1; transition: width .2s ease; }
.scout-progress-label { margin: 6px 0 0; color: #50575e; font-size: 13px; }
.scout-log { max-height: 190px; overflow: auto; border: 1px solid #dcdcde; background: #fbfbfc; padding: 6px 10px; margin: 10px 0; max-width: 640px; }
.scout-log p { margin: 2px 0; font-size: 12px; font-family: Menlo, Consolas, monospace; }
.scout-log-warn { color: #8a6100; }
.scout-log-error { color: #b32d2e; }
#scout-report-result { margin-top: 14px; }
.scout-flag { display: inline-block; padding: 2px 7px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.scout-flag-bad { background: #fcf0f1; color: #8a2424; border: 1px solid #d63638; }

/* --- Kontoabgleich ------------------------------------------------------ */
.scout-drop { border: 2px dashed #c3c4c7; border-radius: 6px; padding: 22px; text-align: center; background: #fbfbfc; transition: border-color .15s, background .15s; }
.scout-drop.is-over { border-color: #2271b1; background: #f0f6fc; }
.scout-drop-title { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.scout-drop input[type="file"] { margin-top: 12px; }
.scout-file-info { font-weight: 600; margin: 10px 0 0; }

.scout-mapping-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 18px; margin-top: 10px; }
.scout-mapping-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #50575e; }
.scout-mapping-grid select, .scout-mapping-grid input { max-width: 100%; }
.scout-advanced { margin-top: 16px; border-top: 1px solid #f0f0f1; padding-top: 10px; }
.scout-advanced summary { cursor: pointer; font-weight: 600; }

.scout-verdict { padding: 14px 18px; margin-bottom: 20px; border-left: 4px solid #646970; background: #fff; border: 1px solid #c3c4c7; font-size: 15px; }
.scout-verdict.good { border-left-color: #00a32a; background: #edfaef; }
.scout-verdict.bad { border-left-color: #d63638; background: #fcf0f1; }
.scout-verdict-sub { display: block; font-size: 13px; font-weight: 400; margin-top: 4px; color: #50575e; }

.scout-recon-filter { margin: 10px 0 6px; }
.scout-recon-table td { vertical-align: top; }
.scout-num { text-align: right; font-family: Menlo, Consolas, monospace; white-space: nowrap; }
.scout-debit { color: #b32d2e; }
.scout-credit { color: #007017; }
.scout-purpose { color: #646970; font-size: 12px; }
.scout-row-open td { background: #fcf0f1; }
.scout-row-choice td { background: #fff8e5; }

.scout-badge { display: inline-block; padding: 3px 9px; border-radius: 11px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.scout-badge.ok { background: #edfaef; color: #005c1e; border: 1px solid #68de7c; }
.scout-badge.warn { background: #fff8e5; color: #996800; border: 1px solid #f0c33c; }
.scout-badge.bad { background: #fcf0f1; color: #8a2424; border: 1px solid #d63638; }
.scout-badge.neutral { background: #f0f0f1; color: #50575e; border: 1px solid #c3c4c7; }

.scout-assign-cell { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.scout-assign { max-width: 100%; font-size: 12px; }
.scout-chip { display: inline-flex; align-items: center; gap: 6px; background: #f0f6fc; border: 1px solid #c5d9ed; border-radius: 12px; padding: 2px 4px 2px 9px; font-size: 12px; }
.scout-chip-no { font-weight: 700; }
.scout-chip-text { color: #50575e; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scout-chip-x { border: 0; background: transparent; cursor: pointer; font-size: 15px; line-height: 1; color: #646970; padding: 0 4px; }
.scout-chip-x:hover { color: #b32d2e; }

@media screen and (max-width: 782px) {
	.scout-filter-row { gap: 8px; }
	.scout-assign-cell { flex-direction: column; align-items: flex-start; }
}
