.header-summary { display: flex; align-items: baseline; gap: 16px; }
.header-summary .summary { flex: 1; min-width: 0; }
.interest-navigation { margin: 2px 2px 0 auto; text-align: right; font-size: 12px; flex-shrink: 0; white-space: nowrap; }
.interest-navigation a, .interest-list-link { display: inline-block; padding: 4px 10px; border: 1px solid #517257; border-radius: 4px; background: #fff; color: #365e40; font-size: 12px; line-height: 1.5; text-decoration: none; }
.interest-navigation a:hover, .interest-list-link:hover { background: #eef5eb; color: #365e40; text-decoration: none; }
@media (max-width: 767px) {
  .header-summary { padding: 0 10px; }
}
.interest-targets { width: 48%; box-sizing: border-box; margin: 20px 0; padding: 12px 14px; border: 1px solid #ccd8ce; border-radius: 6px; background: #fff; }
@media (max-width: 767px) {
  .interest-targets { width: 100%; }
}
.interest-page h1 { margin: 0 0 16px; }
.interest-cards { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 16px; }
.interest-card { display: flex; gap: 18px; padding: 18px; background: #fff; border: 1px solid #d6ded7; border-radius: 8px; overflow-wrap: anywhere; }
.interest-image { width: 140px; height: 112px; object-fit: cover; flex-shrink: 0; border-radius: 4px; }
.interest-card-content { flex: 1; min-width: 0; }
.interest-card h3, .interest-card h2 { font-size: 20px; line-height: 1.5; margin: 0 0 8px; }
.interest-button { font: inherit; min-height: 44px; padding: 9px 18px; border: 1px solid #365e40; border-radius: 6px; background: #365e40; color: #fff; cursor: pointer; }
.interest-button[aria-pressed="true"] { color: #365e40; background: #eef5eb; }
.interest-button:disabled { opacity: .6; cursor: default; }
.interest-button:focus-visible, .interest-navigation a:focus-visible, .interest-list-link:focus-visible, .interest-card a:focus-visible, .interest-list-name:focus-visible { outline: 3px solid #c36b13; outline-offset: 3px; }
.interest-remove { background: #fff; color: #555; border-color: #aaa; }
.interest-list-rows { list-style: none; padding: 0; margin: 16px 0; }
.interest-list-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px auto; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e1e6e2; }
.interest-list-name { min-width: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.interest-list-image { width: 56px; }
.interest-list-image img { display: block; width: 56px; height: 48px; object-fit: cover; border-radius: 3px; }
.interest-list-row .interest-remove { min-height: 32px; margin: 0; padding: 4px 10px; border-radius: 4px; font-size: 13px; line-height: 1.5; }
.interest-caption { margin-top: 20px; font-size: 13px; line-height: 1.8; color: #505950; }
.interest-caption p { margin: 0 0 6px; }
.interest-page .interest-status:empty { min-height: 0; margin: 0; }
.interest-page { padding: 24px 0; max-width: 850px; margin: 0 auto; }
.interest-note { color: #505950; line-height: 1.8; }
.interest-status { min-height: 1.5em; margin: 12px 0; }
.interest-empty { padding: 24px 16px; border: 1px dashed #a6b8a9; border-radius: 6px; margin: 20px 0; }
@media (max-width: 520px) {
  .interest-card { padding: 14px; gap: 12px; flex-wrap: wrap; }
  .interest-image { width: 100px; height: 80px; }
  .interest-card-content { flex-basis: 180px; }
  .interest-page h1 { font-size: 28px; }
}

/* Keep the member-page controls quiet beside the original introduction. */
.interest-targets h2 { margin: 0 0 8px; padding: 0; border: 0; background: none; font-size: 14px; line-height: 1.5; font-weight: 600; color: #505950; }
.interest-targets .interest-cards { margin: 0 0 8px; gap: 8px; }
.interest-targets .interest-card { padding: 0; gap: 10px; border: 0; border-radius: 0; background: none; align-items: center; }
.interest-targets .interest-image { width: 56px; height: 56px; }
.interest-targets .interest-card-content { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; flex-basis: auto; }
.interest-target-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.interest-targets h3 { margin: 0; padding: 0; border: 0; background: none; font-size: 14px; line-height: 1.5; font-weight: normal; }
.interest-targets .interest-button { min-height: 32px; padding: 4px 10px; border-radius: 4px; font-size: 13px; line-height: 1.5; background: #fff; color: #365e40; }
.interest-targets .interest-button[aria-pressed="true"] { background: #eef5eb; }
.interest-targets .interest-button, .interest-targets .interest-list-link { display: inline-flex; align-items: center; box-sizing: border-box; height: 32px; min-height: 32px; padding: 4px 10px; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.interest-navigation a:any-link, .interest-targets a.interest-list-link:any-link { color: #365e40; text-decoration: none; }
.interest-targets > p { margin: 6px 0 0; font-size: 12px; line-height: 1.6; }
.interest-targets .interest-status:empty { min-height: 0; margin: 0; }

.interest-consultation-start { margin: 20px 0 12px; }
.interest-consultation-start .interest-note:empty { margin: 0; }
.interest-consultation-form { margin-top: 24px; }
.interest-consultation-targets h2, .interest-consultation-form h2, .interest-page .alert h2 { font-size: 18px; line-height: 1.5; margin: 16px 0 12px; }
.interest-consultation-targets ul { padding-left: 22px; line-height: 1.8; }
.interest-honeypot { position: absolute; left: -9999px; }
.interest-confirmation dd { margin: 4px 0 18px; overflow-wrap: anywhere; }
.interest-consultation-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.interest-consultation-back { margin-top: 24px; }

.interest-status.interest-status-quiet { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
