.footfall-filters {display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}
.footfall-filters label {display:grid;gap:5px;min-width:140px;flex:1}
.footfall-filters select,.footfall-filters input {width:100%;padding:9px;border:1px solid var(--line,#d9e2eb);border-radius:9px}
#footfall-dialog {width:min(1200px,96vw);max-width:96vw}
#footfall-filters,#footfall-content,#footfall-admin,#footfall-message {margin-left:24px;margin-right:24px}
#footfall-content {padding-bottom:24px}
#footfall-mode {min-width:225px}
.footfall-rule-points {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:0 14px}
.footfall-config input[type=checkbox],.footfall-table input[type=checkbox] {width:16px;min-height:16px;height:16px;margin:0 5px 0 0;display:inline-block;vertical-align:middle;flex:0 0 16px}
.footfall-rule-points label {display:flex;align-items:flex-start;gap:7px;font-weight:500}
.footfall-summary {display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:16px 0}
.footfall-summary article {padding:16px;background:var(--surface,#f3f7fa);border-radius:14px;display:grid;gap:8px}
.footfall-summary strong {font-size:24px}
.footfall-warning {padding:14px;background:#fff5d9;border-radius:12px;color:#6c4e13;margin:12px 0}
.footfall-chart {display:flex;gap:5px;height:240px;overflow:auto;align-items:end;padding:25px 8px 42px;border-bottom:1px solid #ccd7e0}
.footfall-column {min-width:38px;flex:1;max-width:80px;height:100%;display:flex;flex-direction:column;justify-content:end;position:relative;text-align:center}
.footfall-bar {background:#3171a4;border-radius:5px 5px 0 0;min-height:0}
.footfall-bar.incomplete {background:#a6b8c6;background-image:repeating-linear-gradient(45deg,transparent,transparent 5px,#ffffff55 5px,#ffffff55 10px)}
.footfall-column small {position:absolute;top:calc(100% + 6px);font-size:10px;white-space:nowrap;left:50%;transform:translateX(-50%)}
.footfall-column span {font-size:10px;padding:4px 0}
.footfall-table-wrap {overflow:auto;margin:20px 0;max-height:500px}
.footfall-table {width:100%;border-collapse:collapse;font-size:13px}
.footfall-table th,.footfall-table td {padding:9px;border-bottom:1px solid #e0e7ed;text-align:left;white-space:nowrap}
.footfall-table th {position:sticky;top:0;background:#eef4f8;z-index:1}
.footfall-config {padding:18px;border:1px solid #dbe4ec;border-radius:14px;margin:18px 0}
.footfall-config h3 {margin-top:0}
.footfall-config label {display:block;margin:10px 0}
.footfall-config input:not([type=checkbox]),.footfall-config select {padding:8px;max-width:100%;border:1px solid #cad6df;border-radius:7px}
.footfall-point-edit {display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:8px;align-items:end;margin-bottom:12px}
.footfall-point-edit label {min-width:0}
.footfall-muted {color:#667888;font-size:12px}
.footfall-metric .solar-sparkline polyline {stroke:#69b6d8}
@media(max-width:700px){.footfall-point-edit {grid-template-columns:1fr 1fr}.footfall-filters {gap:8px}.footfall-table th,.footfall-table td{padding:7px}}
/* Типи днів задані календарем ТЦ; штрихування зберігає ознаку неповноти. */
.footfall-bar.day-workday { background-color: #198b83; }
.footfall-bar.day-weekend { background-color: #5278cf; }
.footfall-bar.day-holiday { background-color: #d49b24; }
.footfall-day-legend { display:flex; gap:18px; font-size:12px; }
.footfall-day-legend span::before { content:''; display:inline-block; width:10px; height:10px; margin-right:6px; border-radius:2px; }
.footfall-day-legend .day-workday::before { background:#198b83; }
.footfall-day-legend .day-weekend::before { background:#5278cf; }
.footfall-day-legend .day-holiday::before { background:#d49b24; }
