/* My Chamber (member account). Same tokens as the member pages and the join form. */
.hc-portal.hc-account {
	--hca-indigo: #303390;
	--hca-blue: #216fb1;
	--hca-coral: #fd7c6e;
	--hca-ink: #000;
	--hca-muted: #555;
	--hca-border: #e5e7eb;
	--hca-tint: rgba(48, 51, 144, .06);
	--hca-radius: 8px;
	--hca-shadow: 0 1px 4px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .05);
	font-family: 'Inter', sans-serif;
	color: var(--hca-ink);
	max-width: 980px;
}
.hc-portal.hc-account *, .hc-portal.hc-account *::before, .hc-portal.hc-account *::after { box-sizing: border-box; }
.hc-portal.hc-account .hc-portal__name { font-family: 'Satoshi Black', 'Satoshi', 'Inter', sans-serif; font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.25rem); color: var(--hca-indigo); margin: 0 0 12px; line-height: 1.1; }
.hc-portal.hc-account .hca-hello { font-size: 1.125rem; margin: 18px 0 14px; }

/* Tabs: pills that scroll sideways on a phone instead of wrapping into a pile. */
.hc-portal.hc-account .hc-tabs { display: flex; gap: 6px; border: 0; margin: 4px 0 8px; padding: 4px 0 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hc-portal.hc-account .hc-tabs::-webkit-scrollbar { display: none; }
.hc-portal.hc-account .hc-tabs a { flex: none; padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--hca-indigo); font-weight: 600; font-size: .9375rem; background: var(--hca-tint); }
.hc-portal.hc-account .hc-tabs a[aria-current] { background: var(--hca-indigo); color: #fff; text-decoration: none; }
.hc-portal.hc-account .hc-tabs .hc-tabs__out { background: transparent; color: var(--hca-muted); font-weight: 500; margin-left: auto; }

/* Cards */
.hc-portal.hc-account .hca-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.hc-portal.hc-account .hc-card, .hc-portal.hc-account .hca-card { background: #fff; border: 1px solid var(--hca-border); border-radius: var(--hca-radius); box-shadow: var(--hca-shadow); padding: 18px 20px; margin: 0 0 16px; }
.hc-portal.hc-account .hca-grid .hca-card { margin: 0; }
.hc-portal.hc-account .hc-card h3, .hc-portal.hc-account .hca-card h3 { font-family: 'Satoshi Medium', 'Satoshi', 'Inter', sans-serif; font-weight: 400; font-size: 1.25rem; color: var(--hca-indigo); margin: 0 0 10px; }
.hc-portal.hc-account .hca-card--due { border-color: rgba(253, 124, 110, .6); }
.hc-portal.hc-account .hc-big { font-size: 1.05rem; font-weight: 600; }
.hc-portal.hc-account .hc-muted { color: var(--hca-muted); font-size: .875rem; opacity: 1; }

.hc-portal.hc-account .hca-pill { display: inline-block; font-size: .8125rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--hca-tint); color: var(--hca-indigo); }
.hc-portal.hc-account .hca-pill--active, .hc-portal.hc-account .hca-pill--comp { background: #e7f4ea; color: #1a7f37; }
.hc-portal.hc-account .hca-pill--grace, .hc-portal.hc-account .hca-pill--lapsed { background: #fdecea; color: #b32d2e; }
.hc-portal.hc-account .hca-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0; }
.hc-portal.hc-account .hca-dl div { display: contents; }
.hc-portal.hc-account .hca-dl dt { color: var(--hca-muted); font-size: .875rem; }
.hc-portal.hc-account .hca-dl dd { margin: 0; font-weight: 600; }

.hc-portal.hc-account .hca-list { list-style: none; margin: 0 0 10px; padding: 0; }
.hc-portal.hc-account .hca-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hca-border); }
.hc-portal.hc-account .hca-list li:last-child { border-bottom: 0; }
.hc-portal.hc-account .hca-list li.is-past { opacity: .6; }
.hc-portal.hc-account .hca-list small { display: block; color: var(--hca-muted); font-size: .8125rem; margin-top: 2px; }

.hc-portal.hc-account .hca-page { display: flex; gap: 12px; align-items: center; }
.hc-portal.hc-account .hca-page strong { display: block; }
.hc-portal.hc-account .hca-page small { color: var(--hca-muted); }
.hc-portal.hc-account .hca-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; border: 1px solid var(--hca-border); background: #fff; flex: none; }
.hc-portal.hc-account .hca-logo--initial { display: inline-flex; align-items: center; justify-content: center; background: var(--hca-indigo); color: #fff; font-family: 'Satoshi Black', 'Satoshi', sans-serif; font-size: 1.4rem; border: 0; }
.hc-portal.hc-account .hca-meter { height: 6px; background: var(--hca-tint); border-radius: 999px; margin: 12px 0; overflow: hidden; }
.hc-portal.hc-account .hca-meter span { display: block; height: 100%; background: var(--hca-indigo); }
.hc-portal.hc-account .hca-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hc-portal.hc-account .hca-pm { font-size: 1.05rem; }
.hc-portal.hc-account .hca-pm-brand { font-weight: 700; }
.hc-portal.hc-account .hca-static { display: block; padding: 10px 0 2px; font-weight: 600; }

/* Buttons and links: the theme styles every button, so these hold the chamber's colours. */
.hc-portal.hc-account .hc-button, .hc-portal.hc-account button.hc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--hca-indigo) !important; background: var(--hca-indigo) !important; color: #fff !important; font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer; }
.hc-portal.hc-account .hc-button--secondary, .hc-portal.hc-account button.hc-button--secondary { background: #fff !important; color: var(--hca-indigo) !important; }
.hc-portal.hc-account .hc-button:hover { background: var(--hca-blue) !important; border-color: var(--hca-blue) !important; color: #fff !important; }
.hc-portal.hc-account a { color: var(--hca-blue); }
.hc-portal.hc-account a:focus-visible, .hc-portal.hc-account button:focus-visible, .hc-portal.hc-account input:focus-visible, .hc-portal.hc-account select:focus-visible, .hc-portal.hc-account textarea:focus-visible { outline: 3px solid var(--hca-coral); outline-offset: 2px; }

/* Forms */
.hc-portal.hc-account .hc-form p { margin: 0 0 14px; }
.hc-portal.hc-account .hc-form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.hc-portal.hc-account .hc-form input[type=text], .hc-portal.hc-account .hc-form input[type=email], .hc-portal.hc-account .hc-form input[type=url], .hc-portal.hc-account .hc-form input[type=tel], .hc-portal.hc-account .hc-form textarea, .hc-portal.hc-account .hc-form select { width: 100%; max-width: 560px; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #c3c4c7; border-radius: 6px; min-height: 44px; }

/* Tables (invoices, people) */
.hc-portal.hc-account .hc-table th { font-size: .8125rem; color: var(--hca-muted); font-weight: 600; }
.hc-portal.hc-account .hc-table td, .hc-portal.hc-account .hc-table th { padding: 10px 8px; border-bottom: 1px solid var(--hca-border); }
.hc-portal.hc-account .hc-table .hc-button { min-height: 36px; padding: 6px 14px; }

.hc-portal.hc-account .hc-notice { border-radius: var(--hca-radius); border-left-width: 4px; }

@media (max-width: 760px) {
	.hc-portal.hc-account .hca-grid { grid-template-columns: 1fr; }
	.hc-portal.hc-account .hc-card, .hc-portal.hc-account .hca-card { padding: 16px; }
}
.hc-portal.hc-account .hc-tabs { flex-wrap: nowrap; border-bottom: 0; }
.hc-portal.hc-account .hc-tabs a, .hc-portal.hc-account .hc-tabs a[aria-current] { text-decoration: none; white-space: nowrap; }
.hc-portal.hc-account .hc-button { white-space: nowrap; flex: none; }
.hc-portal.hc-account .hca-warn { background: #fdecea; border: 1px solid #f3b7b0; border-left: 4px solid #b32d2e; border-radius: var(--hca-radius); padding: 14px 16px; margin: 0 0 16px; }
.hc-portal.hc-account .hca-warn p { margin: 0 0 10px; }
