/* Aragonit Client Portal, front end. Design tokens come from the Aragonit site design system. */

html:has(body.acp-portal-page), body.acp-portal-page { overflow-x: clip; }
.acp-portal-page .page-title,
.acp-portal-page .entry-title { display: none; }

.acp, .acp *, .acp *::before, .acp *::after { box-sizing: border-box; }

.acp {
	--purple: #6f3dff;
	--yellow: #ffe25a;
	--mint: #46ffbc;
	--dark: #3e3850;
	--text: #393939;
	--green: #0dcd87;
	--red: #ff3d6b;
	--muted: #6b6680;
	--line: #e4e1ec;
	--soft: #f4f1fb;
	--ease: cubic-bezier(.215, .61, .355, 1);
	position: relative;
	isolation: isolate;
	/* Break out of any narrow theme container so the layout is always full width. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: 0 !important;
	font-family: 'Zilla Slab', Georgia, 'Times New Roman', serif;
	font-size: 19px;
	line-height: 1.5;
	letter-spacing: -.3px;
	color: var(--text);
	background: #dcd5f1;
	/* The header is a fixed 70px bar, keep the content clear of it. */
	padding: calc(70px + clamp(28px, 5vw, 60px)) 0 clamp(56px, 8vw, 110px);
	text-align: left;
}
.acp-wrap { width: min(1160px, 94%); margin: 0 auto; }

/* Reset against theme styles */
.acp h1, .acp h2, .acp h3, .acp p, .acp ul, .acp ol, .acp dl, .acp dd, .acp figure { margin: 0; padding: 0; }
.acp ul, .acp ol { list-style: none; }
.acp h1, .acp h2, .acp h3 { font-family: inherit; color: inherit; text-transform: none; background: none; }
.acp a { text-decoration: none; color: inherit; box-shadow: none; }
.acp button, .acp input { font-family: inherit; border-radius: 0; }
.acp table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: none; }
.acp th, .acp td { border: 0; background: none; padding: 0; text-align: left; vertical-align: middle; }
.acp img { max-width: none; height: auto; }
.acp :focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

.acp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acp-skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: #000; padding: 10px 16px; font-weight: 700; z-index: 10; }
.acp-skip:focus { left: 12px; top: 80px; }

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */
@keyframes acp-drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes acp-up { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
@keyframes acp-from-right { from { transform: translateX(100%); } to { transform: none; } }
@keyframes acp-from-top { from { transform: translateY(-100%); } to { transform: none; } }

.acp .acp-mask { display: block; overflow: hidden; padding-bottom: .1em; }
.acp .acp-mask > span { display: block; animation: acp-drop 1200ms var(--ease) 300ms both; }
.acp .acp-up { animation: acp-up 1000ms var(--ease) var(--d, 0ms) both; }

@media (prefers-reduced-motion: reduce) {
	.acp *, .acp *::before, .acp *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------ */
/* Type                                                                */
/* ------------------------------------------------------------------ */
.acp .acp-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 6px; color: var(--muted); margin: 0 0 6px; }
.acp .acp-kicker--light { color: var(--mint); }
.acp .acp-h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 700; letter-spacing: -3px; line-height: 1; }
.acp .acp-h1--light { color: #fff; }
.acp .acp-h2 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -2.5px; line-height: 1.05; color: var(--dark); }
.acp .acp-h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -1px; line-height: 1.2; margin: 0 0 10px; }
.acp .acp-lead { font-size: clamp(19px, 2vw, 23px); font-weight: 300; letter-spacing: -.8px; line-height: 1.4; max-width: 640px; margin-top: 14px; }
.acp .acp-lead--light { color: #fff; }
.acp .acp-sectionlabel { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 8px; color: var(--dark); margin: 36px 0 14px; }
.acp .acp-muted { color: var(--muted); }
.acp .acp-prose p { margin: 0 0 .8em; }
.acp .acp-prose p:last-child { margin-bottom: 0; }
.acp .acp-meta { color: var(--muted); font-size: 17px; margin: 0 0 12px; }
.acp .acp-meta strong { color: var(--text); }
.acp .acp-link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--dark); border-bottom: 2px solid var(--dark); transition: color .2s, border-color .2s; }
.acp .acp-link:hover { color: var(--purple); border-color: var(--purple); }

/* ------------------------------------------------------------------ */
/* Top bar and layout                                                  */
/* ------------------------------------------------------------------ */
.acp .acp-banner { background: var(--yellow); color: #000; font-weight: 700; padding: 10px 16px; margin: 0 0 24px; }
.acp .acp-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 26px; border-bottom: 2px solid var(--dark); margin-bottom: clamp(28px, 4vw, 48px); }
.acp .acp-client { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.05; color: var(--dark); }
.acp .acp-top-actions { display: flex; align-items: center; gap: 12px; }
.acp .acp-navtoggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; background: #fff; border: 2px solid var(--dark); color: var(--dark); font-weight: 700; font-size: 17px; cursor: pointer; }
.acp .acp-burger { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.acp .acp-burger i { display: block; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.acp .acp-navtoggle[aria-expanded="true"] .acp-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.acp .acp-navtoggle[aria-expanded="true"] .acp-burger i:nth-child(2) { opacity: 0; }
.acp .acp-navtoggle[aria-expanded="true"] .acp-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.acp .acp-app { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.acp .acp-nav { position: sticky; top: 100px; }
.acp .acp-nav ul { display: grid; gap: 4px; }
.acp .acp-nav a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; font-size: 19px; font-weight: 600; letter-spacing: -.5px; color: var(--dark); border-left: 4px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.acp .acp-nav a:hover { background: var(--soft); border-left-color: var(--yellow); }
.acp .acp-nav a.is-active { background: var(--dark); color: #fff; border-left-color: var(--yellow); }
.acp .acp-nav a.is-active .acp-ico { color: var(--yellow); }
.acp .acp-ico { flex: none; }
.acp .acp-main { min-width: 0; outline: none; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.acp .acp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; background: var(--dark); border: 2px solid var(--dark); color: #fff; font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: -.3px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.acp .acp-btn:hover { background: var(--yellow); border-color: var(--yellow); color: #000; }
.acp .acp-btn--out { background: transparent; color: var(--dark); }
.acp .acp-btn--sm { min-height: 42px; padding: 0 16px; font-size: 16px; }
.acp .acp-btn--xs { min-height: 34px; padding: 0 12px; font-size: 15px; gap: 8px; }
.acp .acp-btn--xs .acp-ico, .acp .acp-btn--sm .acp-ico { width: 18px; height: 18px; }
.acp .acp-btn--mint { background: var(--mint); border-color: var(--mint); color: var(--purple); }
.acp .acp-btn--cta { min-height: 80px; padding: 0 44px; background: var(--mint); border-color: var(--mint); color: var(--purple); font-size: clamp(22px, 3vw, 30px); letter-spacing: -1px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.acp .acp-btn--cta:hover { background: var(--mint); border-color: var(--mint); color: #000; }
.acp .acp-btn--block { width: 100%; }

/* ------------------------------------------------------------------ */
/* Cards, hero, badges                                                 */
/* ------------------------------------------------------------------ */
.acp .acp-hero { position: relative; overflow: hidden; background: var(--purple); color: #fff; padding: clamp(32px, 5vw, 64px); margin-bottom: 24px; }
.acp .acp-hero > * { position: relative; z-index: 1; }
.acp .acp-shape { position: absolute; background: var(--mint); z-index: 0; }
.acp .acp-hero .acp-shape--a { right: -70px; top: 44px; width: 340px; height: 170px; animation: acp-from-right 1500ms var(--ease) 100ms both; }
.acp .acp-hero .acp-shape--b { right: 15px; top: -41px; width: 170px; height: 340px; animation: acp-from-top 1500ms var(--ease) 600ms both; }
.acp .acp-hero .acp-lead { max-width: 520px; }
.acp .acp-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 640px; }
.acp .acp-tag { display: inline-block; padding: 4px 12px; font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: var(--soft); color: var(--dark); }
.acp .acp-tag--mint { background: var(--mint); color: var(--dark); }
.acp .acp-tag--yellow { background: var(--yellow); color: #000; }
.acp .acp-tag-empty { color: rgba(255, 255, 255, .8); }

.acp .acp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.acp .acp-card { --accent: var(--purple); position: relative; background: #fff; border: 1px solid var(--line); padding: calc(clamp(24px, 3vw, 36px) + 8px) clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px); }
.acp .acp-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 8px; background: var(--accent); }
.acp .acp-card--mint { --accent: var(--mint); }
.acp .acp-card--yellow { --accent: var(--yellow); }
.acp .acp-card--dark { --accent: var(--yellow); background: var(--dark); border-color: var(--dark); color: #fff; }
.acp .acp-card--dark .acp-kicker { color: var(--mint); }
.acp .acp-card--wide { grid-column: 1 / -1; }
.acp .acp-amount { font-size: clamp(40px, 5vw, 56px); font-weight: 700; letter-spacing: -2px; line-height: 1; margin: 12px 0 18px; color: var(--dark); }
.acp .acp-status-line { margin: 4px 0 0; }
.acp .acp-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.acp .acp-contact .acp-h3 { max-width: 520px; }
.acp .acp-contact-list { display: grid; gap: 2px; font-size: 20px; }
.acp .acp-contact-list a { color: var(--mint); border-bottom: 2px solid transparent; }
.acp .acp-contact-list a:hover { color: var(--yellow); }

.acp .acp-badge { display: inline-block; padding: 4px 12px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; line-height: 1.3; }
.acp .acp-badge--paid { background: var(--green); color: #05261b; }
.acp .acp-badge--pending { background: var(--yellow); color: #3a3200; }
.acp .acp-badge--overdue { background: var(--red); color: #1d0008; }

/* ------------------------------------------------------------------ */
/* Page headers, empty states                                          */
/* ------------------------------------------------------------------ */
.acp .acp-pagehead { --accent: var(--yellow); position: relative; padding-top: 24px; margin-bottom: 32px; }
.acp .acp-pagehead::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 8px; background: var(--accent); }
.acp .acp-pagehead--yellow { --accent: var(--yellow); }
.acp .acp-pagehead--mint { --accent: var(--mint); }
.acp .acp-pagehead--purple { --accent: var(--purple); }
.acp .acp-pagehead--green { --accent: var(--green); }
.acp .acp-empty { border: 2px dashed var(--line); padding: clamp(36px, 6vw, 64px) 24px; text-align: center; }
.acp .acp-empty .acp-ico { width: 40px; height: 40px; color: var(--purple); margin-bottom: 12px; }
.acp .acp-empty h2 { font-size: 28px; font-weight: 700; letter-spacing: -1px; color: var(--dark); margin-bottom: 6px; }
.acp .acp-empty p { color: var(--muted); max-width: 440px; margin: 0 auto; }

/* ------------------------------------------------------------------ */
/* Documents                                                           */
/* ------------------------------------------------------------------ */
.acp .acp-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.acp .acp-search { position: relative; flex: 1 1 260px; max-width: 420px; display: block; }
.acp .acp-search .acp-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.acp .acp-search input { display: block; width: 100%; height: 48px; padding: 0 14px 0 46px; font-size: 18px; color: var(--text); background: #fff; border: 2px solid var(--dark); margin: 0; box-shadow: none; }
.acp .acp-search input:focus { border-color: var(--purple); outline: 3px solid rgba(111, 61, 255, .25); outline-offset: 0; }
.acp .acp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.acp .acp-chips button, .acp .acp-yeartabs button { min-height: 42px; padding: 0 18px; background: #fff; border: 2px solid var(--dark); color: var(--dark); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.acp .acp-chips button:hover, .acp .acp-yeartabs button:hover { background: var(--yellow); border-color: var(--yellow); color: #000; }
.acp .acp-chips button.is-active, .acp .acp-yeartabs button.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }

.acp .acp-doc { display: grid; grid-template-columns: minmax(0, 1fr) 110px 120px 80px auto; gap: 16px; align-items: center; padding: 16px 12px; border-bottom: 1px solid var(--line); transition: background .2s; }
.acp .acp-doc:first-child { border-top: 2px solid var(--dark); }
.acp .acp-doc:hover { background: var(--soft); }
.acp .acp-doc[hidden], .acp .acp-docgroup[hidden], .acp .acp-nomatch[hidden] { display: none; }
.acp .acp-doc-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.acp .acp-doc-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--yellow); color: #000; }
.acp .acp-doc-title { font-size: 20px; font-weight: 700; letter-spacing: -.6px; line-height: 1.2; overflow-wrap: anywhere; }
.acp .acp-doc-file { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.acp .acp-doc-meta { font-size: 16px; color: var(--muted); white-space: nowrap; }
.acp .acp-nomatch { padding: 32px 0; color: var(--muted); font-size: 20px; }

/* ------------------------------------------------------------------ */
/* Materials                                                           */
/* ------------------------------------------------------------------ */
.acp .acp-drive { margin: 8px 0 12px; }
.acp .acp-linklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.acp .acp-linkcard { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; padding: 22px 24px; border: 2px solid var(--dark); color: var(--dark); transition: background .2s, border-color .2s; }
.acp .acp-linkcard:hover { background: var(--yellow); border-color: var(--yellow); color: #000; }
.acp .acp-linkcard-title { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.8px; line-height: 1.2; }
.acp .acp-linkcard-desc { display: block; font-size: 17px; margin-top: 4px; opacity: .8; }

/* ------------------------------------------------------------------ */
/* Updates                                                             */
/* ------------------------------------------------------------------ */
.acp .acp-timeline { border-left: 3px solid var(--purple); margin-left: 6px; }
.acp .acp-timeline .acp-update { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 0 0 44px 34px; }
.acp .acp-timeline .acp-update:last-child { padding-bottom: 0; }
.acp .acp-timeline .acp-update::before { content: ""; position: absolute; left: -11px; top: 5px; width: 19px; height: 19px; background: var(--yellow); border: 3px solid var(--purple); }
.acp .acp-update-date { display: grid; gap: 8px; align-content: start; justify-items: start; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 14px; padding-top: 4px; }
.acp .acp-update-body .acp-h3 { margin-bottom: 8px; }
.acp .acp-update-body .acp-btn { margin-top: 16px; }

/* ------------------------------------------------------------------ */
/* Payments                                                            */
/* ------------------------------------------------------------------ */
.acp .acp-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; margin-bottom: 32px; }
.acp .acp-legend > div { border-left: 4px solid var(--mint); padding-left: 12px; }
.acp .acp-legend dt { font-weight: 700; color: var(--dark); font-size: 17px; }
.acp .acp-legend dd { color: var(--muted); font-size: 16px; line-height: 1.35; }
.acp .acp-yeartabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.acp .acp-paytable thead th { background: var(--dark); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; padding: 14px 14px; }
.acp .acp-paytable tbody th, .acp .acp-paytable tbody td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 18px; }
.acp .acp-paytable tbody th { font-weight: 700; color: var(--dark); }
.acp .acp-paytable tbody tr:hover { background: var(--soft); }
.acp .acp-paytable tbody tr.is-current { background: #fffbe0; box-shadow: inset 4px 0 0 var(--purple); }
.acp .acp-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 14px; border-bottom: 2px solid var(--dark); font-size: 19px; }
.acp .acp-summary strong { color: var(--dark); }
html.acp-js .acp .acp-yearpanel[data-off] { display: none; }
html:not(.acp-js) .acp .acp-yearpanel { margin-bottom: 36px; }
html:not(.acp-js) .acp .acp-yeartabs { display: none; }

/* ------------------------------------------------------------------ */
/* Login                                                               */
/* ------------------------------------------------------------------ */
.acp .acp-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 580px; border: 2px solid var(--dark); }
.acp .acp-login-side { position: relative; overflow: hidden; background: var(--purple); color: #fff; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.acp .acp-login-side > *:not(.acp-shape) { position: relative; z-index: 1; }
.acp .acp-login-side .acp-shape--a { right: -80px; top: 90px; width: 300px; height: 150px; animation: acp-from-right 1500ms var(--ease) 100ms both; }
.acp .acp-login-side .acp-shape--b { right: -5px; top: 15px; width: 150px; height: 300px; animation: acp-from-top 1500ms var(--ease) 600ms both; }
.acp .acp-login-brand { display: flex; align-items: center; gap: 14px; font-size: 25px; font-weight: 700; letter-spacing: -1px; text-transform: uppercase; color: var(--mint); }
.acp .acp-login-brand img { width: 56px; height: 56px; }
.acp .acp-login-form { padding: clamp(28px, 4vw, 56px); display: flex; align-items: center; background: #fff; }
.acp .acp-login-form form { width: 100%; max-width: 420px; margin: 0 auto; }
.acp .acp-label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 5px; color: var(--dark); margin: 0 0 8px; }
.acp .acp-input { display: block; width: 100%; height: 56px; padding: 0 16px; margin: 0 0 22px; font-size: 19px; color: var(--text); background: #fff; border: 2px solid var(--dark); box-shadow: none; }
.acp .acp-input:focus { border-color: var(--purple); outline: 3px solid rgba(111, 61, 255, .25); outline-offset: 0; }
.acp .acp-check { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 17px; cursor: pointer; }
.acp .acp-check input { width: 20px; height: 20px; accent-color: var(--purple); margin: 0; }
.acp .acp-alert { background: #ffe9ee; border-left: 6px solid var(--red); color: #5a0017; padding: 12px 16px; margin: 0 0 24px; font-weight: 600; }
.acp .acp-help { margin-top: 24px; font-size: 16px; color: var(--muted); }
.acp .acp-help a { color: var(--purple); font-weight: 700; border-bottom: 2px solid currentColor; }
.acp .acp-lone { text-align: center; }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
	.acp .acp-app { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	html.acp-js .acp .acp-navtoggle { display: inline-flex; }
	html.acp-js .acp .acp-nav { display: none; position: static; }
	html.acp-js .acp .acp-nav.is-open { display: block; background: var(--soft); padding: 8px; border-top: 4px solid var(--yellow); }
	.acp .acp-nav { position: static; }
	.acp .acp-nav ul { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
	.acp .acp-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
	.acp .acp-login { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.acp .acp-login-side { min-height: 300px; }
	.acp .acp-login-side .acp-shape { display: none; }
	.acp .acp-grid { grid-template-columns: minmax(0, 1fr); }

	.acp .acp-paytable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.acp .acp-paytable, .acp .acp-paytable tbody, .acp .acp-paytable tr, .acp .acp-paytable th, .acp .acp-paytable td { display: block; }
	.acp .acp-paytable tbody tr { border: 1px solid var(--line); border-top: 4px solid var(--dark); margin-bottom: 14px; padding: 6px 0; }
	.acp .acp-paytable tbody tr.is-current { border-top-color: var(--purple); box-shadow: none; }
	.acp .acp-paytable tbody th { font-size: 22px; padding: 10px 14px 4px; border: 0; }
	.acp .acp-paytable tbody td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 14px; border: 0; font-size: 17px; text-align: right; }
	.acp .acp-paytable tbody td::before { content: attr(data-label); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--muted); text-align: left; }
	.acp .acp-paytable tbody td:empty { display: none; }
	.acp .acp-summary { padding-left: 0; padding-right: 0; }
}

@media (max-width: 720px) {
	.acp { font-size: 18px; }
	.acp .acp-top { align-items: center; gap: 12px; }
	.acp .acp-top-id { min-width: 0; flex: 1 1 auto; }
	.acp .acp-top-actions { flex: 0 0 auto; gap: 8px; }
	.acp .acp-navtoggle { padding: 0 14px; font-size: 16px; }
	.acp .acp-btn--out span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.acp .acp-btn--out { padding: 0 14px; }
	.acp .acp-hero .acp-shape--a { right: -90px; top: 18px; width: 220px; height: 110px; }
	.acp .acp-hero .acp-shape--b { right: -10px; top: -37px; width: 110px; height: 220px; }
	.acp .acp-doc { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main main" "tag btn" "date size"; gap: 10px 14px; padding: 18px 4px; }
	.acp .acp-doc-main { grid-area: main; }
	.acp .acp-doc .acp-tag { grid-area: tag; justify-self: start; }
	.acp .acp-doc .acp-btn { grid-area: btn; }
	.acp .acp-doc-meta:nth-of-type(1) { grid-area: date; }
	.acp .acp-doc-meta:nth-of-type(2) { grid-area: size; justify-self: end; }
	.acp .acp-timeline .acp-update { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-left: 26px; }
	.acp .acp-update-date { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
	.acp .acp-legend { grid-template-columns: minmax(0, 1fr); }
	.acp .acp-linklist { grid-template-columns: minmax(0, 1fr); }
	.acp .acp-btn--cta { width: 100%; padding: 0 24px; min-height: 72px; }
	.acp .acp-contact .acp-btn { width: 100%; }
}

/* Themify draws a page title strip on every page. The portal has its own heading, so hide it. */
body.acp-portal-page .page-category-title-wrap,
body.acp-portal-page .page-title-wrap,
body.acp-portal-page #pagewrap .page-title { display: none !important; }

/* Strip behind the fixed transparent header, same tone as the page so header and portal read as one surface. */
body.acp-portal-page::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 70px;
	background: #3e3850;
	z-index: 4990;
	pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Dark title band that continues the site header, light body below.    */
/* ------------------------------------------------------------------ */
html:has(body.acp-portal-page),
body.acp-portal-page,
body.acp-portal-page #pagewrap,
body.acp-portal-page #body,
body.acp-portal-page #layout,
body.acp-portal-page #content,
body.acp-portal-page .page-content {
	background-color: #dcd5f1 !important;
}

.acp .acp-top { position: relative; border-bottom: 0; padding-bottom: clamp(34px, 4.5vw, 56px); margin-bottom: clamp(28px, 4vw, 48px); }
.acp .acp-top::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: calc(-1 * (70px + clamp(28px, 5vw, 60px) + 160px));
	bottom: 0;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background: #3e3850;
}
.acp .acp-top::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	margin-left: calc(-50vw + 0px);
	bottom: 0;
	width: 100vw;
	height: 6px;
	background: linear-gradient(90deg, var(--yellow) 0 120px, var(--mint) 120px 240px, transparent 240px);
}
.acp .acp-client { color: #fff; }
.acp .acp-top .acp-kicker { color: var(--mint); }
.acp .acp-top .acp-btn--out { border-color: #fff; color: #fff; }
.acp .acp-top .acp-btn--out:hover { background: var(--yellow); border-color: var(--yellow); color: #000; }
.acp .acp-top .acp-navtoggle { background: transparent; border-color: #fff; color: #fff; }
.acp .acp-top .acp-navtoggle:hover { background: var(--yellow); border-color: var(--yellow); color: #000; }
.acp .acp-nav a:hover { background: #fff; }
.acp .acp-card { border: 2px solid var(--dark); box-shadow: none; }
.acp .acp-card::before { left: -2px; right: -2px; top: -2px; }
.acp .acp-nav ul { background: var(--soft); padding: 10px; border: 2px solid var(--dark); }
.acp .acp-nav a:hover { background: #fff; }

/* Closing stripe above the white footer, mirrors the one under the title band, so the tinted page ends on purpose. */
.acp::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100px;
	height: 8px;
	background: linear-gradient(90deg, var(--yellow) 0 120px, var(--mint) 120px 240px, #3e3850 240px);
}
/* The footer module is pulled up 100px by the slider, so leave that room plus some air. */
.acp { padding-bottom: calc(100px + clamp(48px, 6vw, 80px)); }

.acp .acp-linkbtn { margin: 18px 0 0; }
.acp .acp-linkbtn .acp-btn { max-width: 100%; text-align: left; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
.acp .acp-linkbtn .acp-ico { width: 18px; height: 18px; flex: none; }
