.hca { min-width: 0; }
.hca-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hca-head h2 { margin: 0; }
.hca-muted { color: var(--brand-muted); font-size: 12px; line-height: 1.6; }
.hca-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.hca-group { min-width: 0; padding: 18px; box-shadow: none; border: 1px solid var(--brand-border); }
.hca-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; cursor: pointer; }
.hca-group summary strong { font: 600 13px/1.5 var(--font-heading); }
.hca-group summary span { font-size: 12px; color: var(--brand-muted); }
.hca-group ol { padding: 0; margin: 12px 0 0; list-style: none; max-height: 360px; overflow-y: auto; }
.hca-group li + li { border-top: 1px solid var(--brand-border); }
.hca-group button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 12px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--brand-ink); font: 600 12px/1.6 var(--font-body); text-align: left; cursor: pointer; }
.hca-group button span:first-child { min-width: 0; overflow-wrap: anywhere; }
.hca-group button:hover { background: var(--brand-green-soft); }
.hca button:focus-visible, .hca summary:focus-visible, .hca-editor :focus-visible { outline: 2px solid var(--brand-green-dark); outline-offset: 2px; }
.hca-history { margin-top: 24px; font-size: 13px; }
.hca-history summary { cursor: pointer; padding: 10px 0; }
.hca-history > details { margin-left: 12px; }
.hca-change { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--brand-border); overflow-wrap: anywhere; white-space: pre-wrap; }
.hca-change del { color: var(--brand-muted); }
.hca-change ins { text-decoration: none; }
.hca-editor { box-sizing: border-box; width: min(700px,calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 24px; border: 1px solid var(--brand-border); border-radius: var(--radius-panel); background: var(--surface-card); color: var(--brand-ink); box-shadow: var(--brand-shadow); }
.hca-editor::backdrop { background: #16281d55; backdrop-filter: blur(3px); }
.hca-editor h2 { margin: 0 0 8px; font: 600 19px/1.5 var(--font-heading); }
.hca-editor textarea { box-sizing: border-box; width: 100%; resize: vertical; min-height: 76px; }
.hca-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hca-notice:empty { display: none; }
.hca-notice { font-size: 13px; line-height: 1.6; }
@media(max-width:900px) { .hca-groups { grid-template-columns: minmax(0,1fr); } }
@media(max-width:480px) { .hca-editor { padding: 18px; } .hca-actions > button { flex: 1; } }

.hca-group small { display: block; font-weight: 400; }
