* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f5f5f3; min-height: 100vh; color: #1a1a1a; }
.header { background: #fff; border-bottom: 1px solid #e8e8e5; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; transition: transform 0.3s ease; }
.brand-logo:hover img { transform: scale(1.05); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.brand-logo img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.8); flex-shrink: 0; transition: all 0.3s ease; background: #fff; }
.brand-text { display: flex; flex-direction: column; white-space: nowrap; }
.brand-text strong { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1e293b; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.brand-text span { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 0.70rem; color: #94a3b8; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; line-height: 1.1; margin-top: 3px; }
@media (max-width: 560px) { .booking-title { display: none; } }
.book-btn { background: #1a1a1a; color: #fff; text-decoration: none; padding: 7px 14px; border-radius: 7px; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.book-btn:hover { opacity: 0.8; }
.nav { background: #fff; border-bottom: 1px solid #e8e8e5; padding: 0 20px; display: flex; }
.nav-tab { padding: 11px 14px; font-size: 13px; cursor: pointer; border: none; background: none; color: #888; border-bottom: 2px solid transparent; font-family: inherit; transition: all 0.15s; }
.nav-tab.active { color: #1a1a1a; border-bottom-color: #1a1a1a; font-weight: 500; }
.page { display: none; padding: 16px 20px; }
.page.active { display: block; }
.filter-bar { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.filter-label { font-size: 11px; color: #888; margin-right: 2px; }
.group-btn { border: 1px solid #ddd; border-radius: 999px; padding: 4px 12px; font-size: 11px; cursor: pointer; background: #fff; color: #666; font-family: inherit; transition: all 0.15s; }
.group-btn:hover { border-color: #999; color: #1a1a1a; }
.group-btn.active { background: var(--gc, #1a1a1a); color: #fff; border-color: transparent; }
.group-btn[data-group="all"].active { background: #1a1a1a; }
.cal-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cal-panel { background: #fff; border: 1px solid #e8e8e5; border-radius: 10px; overflow: hidden; }
.cal-panel-header { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #f0f0ee; }
.cal-panel-dot { display: none; }
.cal-panel-title { display: none; }
.cal-panel-subs { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 2px; }
.cal-panel-subs > span { font-size: 13px !important; color: #1a1a1a !important; font-weight: 500; margin-right: 12px !important; }
.cal-panel iframe { display: block; width: 100%; height: 800px; border: none; }
.hidden { display: none; }
.stats-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.stats-title { font-size: 13px; font-weight: 500; }
.range-btns { display: flex; gap: 5px; }
.range-btn { border: 1px solid #ddd; border-radius: 999px; padding: 4px 11px; font-size: 11px; cursor: pointer; background: #fff; color: #666; font-family: inherit; }
.range-btn.active { background: #f0f0ee; color: #1a1a1a; border-color: #999; font-weight: 500; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 14px; }
.metric { background: #fff; border: 1px solid #e8e8e5; border-radius: 9px; padding: 11px 13px; }
.metric-label { font-size: 10px; color: #888; margin-bottom: 3px; }
.metric-value { font-size: 20px; font-weight: 600; }
.metric-sub { font-size: 10px; color: #aaa; margin-top: 1px; }
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.charts-single { display: grid; gap: 10px; }
.card { background: #fff; border: 1px solid #e8e8e5; border-radius: 10px; padding: 12px 14px; }
.card-title { font-size: 11px; color: #888; margin-bottom: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.legend-item { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #666; }
.legend-sq { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.person-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.person-name { font-size: 11px; min-width: 100px; }
.bar-track { flex: 1; background: #f0f0ee; border-radius: 999px; height: 7px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.person-count { font-size: 10px; color: #888; min-width: 20px; text-align: right; }
.loading { text-align: center; padding: 40px; color: #aaa; font-size: 13px; }
.error-msg { text-align: center; padding: 40px; color: #E24B4A; font-size: 13px; }
@media (max-width: 900px) { .charts-grid { grid-template-columns: 1fr; } .cal-grid { grid-template-columns: 1fr; } .page { padding: 12px; } }
