.ha-app { --ha-ink: #111; --ha-muted: #666; --ha-line: #e2e2e2; --ha-accent: #e8452c; font-size: 15px; color: var(--ha-ink); }
.ha-app button { font: inherit; cursor: pointer; }
.ha-map .ha-tiles { filter: grayscale(1) contrast(.9) brightness(1.08); }
.ha-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.ha-tab { background: none; border: 1px solid var(--ha-line); border-radius: 999px; padding: 6px 14px; color: var(--ha-ink); }
.ha-tab.is-active { background: var(--ha-ink); border-color: var(--ha-ink); color: #fff; }
.ha-count { display: inline-block; min-width: 1.4em; padding: 0 5px; margin-left: 3px; border-radius: 999px; background: rgba(0,0,0,.08); font-size: 12px; text-align: center; }
.ha-tab.is-active .ha-count { background: rgba(255,255,255,.25); }
.ha-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.ha-toolbar select { padding: 6px 8px; border: 1px solid var(--ha-line); border-radius: 6px; background: #fff; }
.ha-btn { background: #fff; border: 1px solid var(--ha-ink); border-radius: 6px; padding: 6px 12px; color: var(--ha-ink); }
.ha-btn:hover { background: var(--ha-ink); color: #fff; }
.ha-link { background: none; border: 0; text-decoration: underline; padding: 0; color: inherit; }
.ha-toggle { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--ha-line); border-radius: 6px; padding: 5px 10px; cursor: pointer; }
.ha-shared-banner { background: #fff6e5; border: 1px solid #f3d9a4; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.ha-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.ha-map { height: 560px; border-radius: 8px; border: 1px solid var(--ha-line); z-index: 0; }
.ha-side { max-height: 560px; overflow-y: auto; }
.ha-status { margin: 0 0 8px; color: var(--ha-muted); font-size: 13px; }
.ha-list { list-style: none; margin: 0; padding: 0; }
.ha-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ha-line); transition: background .3s; }
.ha-item.is-flash { background: #fff6e5; }
.ha-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; flex: none; background: #f2f2f2; }
.ha-item-body { flex: 1; min-width: 0; }
.ha-name { font-weight: 600; color: var(--ha-ink); text-decoration: none; }
.ha-name:hover { text-decoration: underline; }
.ha-meta { color: var(--ha-muted); font-size: 13px; margin-top: 2px; }
.ha-open { font-size: 13px; margin-top: 2px; color: var(--ha-muted); }
.ha-open.is-open { color: #1d7a3a; font-weight: 600; }
.ha-chips { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px; }
.ha-chip { font-size: 11px; border: 1px solid var(--ha-line); border-radius: 999px; padding: 1px 8px; }
.ha-actions, .ha-single-actions { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.ha-mark { background: #fff; border: 1px solid var(--ha-line); border-radius: 999px; padding: 3px 10px; font-size: 13px; color: var(--ha-ink); }
.ha-mark.is-on { background: var(--ha-accent); border-color: var(--ha-accent); color: #fff; }
.ha-single-actions { margin: 0 0 1em; }
.ha-single-actions .ha-mark { font-size: 15px; padding: 6px 14px; }
.ha-empty { padding: 20px 0; color: var(--ha-muted); }
.ha-footnote { margin-top: 12px; color: var(--ha-muted); font-size: 13px; }
.ha-closed-notice { background: #f4f4f4; border-left: 4px solid #999; padding: 10px 12px; }
.ha-verified { color: #666; font-size: 13px; }
.ha-archive { list-style: none; padding: 0; }
.ha-archive li { padding: 8px 0; border-bottom: 1px solid #e2e2e2; }
.ha-archive-tag { font-size: 12px; color: #666; border: 1px solid #ddd; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
@media (max-width: 800px) {
	.ha-layout { grid-template-columns: 1fr; }
	.ha-map { height: 320px; }
	.ha-side { max-height: none; overflow: visible; }
}

/* v0.2: shows, details, notes, feedback */
.ha-onview { font-size: 13px; margin-top: 2px; color: #111; font-style: italic; }
.ha-visit-note { background: #fff6e5; border: 1px solid #f3d9a4; border-radius: 8px; padding: 10px 14px; font-size: 15px; }
.ha-visit-note-short { background: none; border: 0; padding: 0; color: #666; font-size: 13px; }
.ha-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; margin: 1.5em 0; padding: 16px 0; border-top: 1px solid #e2e2e2; border-bottom: 1px solid #e2e2e2; }
.ha-detail h3 { margin: 0 0 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #666; }
.ha-detail p { margin: 0; }
.ha-report { margin-top: 2em; font-size: 14px; }
.ha-show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 12px 0 20px; }
.ha-show { display: flex; flex-direction: column; gap: 8px; }
.ha-show-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; background: #f2f2f2; }
.ha-show-title { margin: 0; font-size: 18px; line-height: 1.25; }
.ha-show-title a { color: inherit; text-decoration: none; }
.ha-show-title a:hover { text-decoration: underline; }
.ha-show-artists { font-size: 14px; }
.ha-show-meta, .ha-show-rec { font-size: 13px; color: #555; }
.ha-show-rec { color: #111; font-weight: 600; }
.ha-featured { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.ha-show-large .ha-show-title { font-size: 32px; }
.ha-show-large .ha-show-img img { aspect-ratio: 16 / 10; }
.ha-featured-more { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 800px) { .ha-featured { grid-template-columns: 1fr; } }
.ha-feedback form { max-width: 640px; }
.ha-feedback label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.ha-feedback select, .ha-feedback textarea, .ha-feedback input[type=text], .ha-feedback input[type=email] { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #ccc; border-radius: 6px; font: inherit; }
.ha-fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .ha-fb-row { grid-template-columns: 1fr; } }
.ha-fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ha-btn-solid { background: #111; color: #fff; min-height: 44px; padding: 0 22px; border-radius: 999px; }
.ha-fb-thanks { background: #e9f6ec; border: 1px solid #b6dfc0; padding: 10px 14px; border-radius: 8px; }
.ha-fb-error { background: #fdecea; border: 1px solid #f3b9b2; padding: 10px 14px; border-radius: 8px; }
