/* Acheron Site Experience: the house standard (navy, gold, teal; Archivo and Source Sans 3). */
.acx-root {
	--acx-night: #11243e;
	--acx-navy: #152d4b;
	--acx-gold: #d98e04;
	--acx-teal-l: #7fd0cc;
	--acx-teal: #1c7c7d;
	--acx-teal-d: #155f60;
	--acx-learn: #1c7c7d;
	--acx-practice: #2b63b0;
	--acx-test: #d98e04;
	--acx-train: #b34a30;
	--acx-take: #6a5aa8;
	--acx-ink: #11243e;
	--acx-ink2: #33445a;
	--acx-mute: #4a5a70;
	--acx-line: #d6dde6;
	--acx-bg: #f4f6f9;
	--acx-onnavy: #c9d6e6;
	font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--acx-ink);
	line-height: 1.5;
	box-sizing: border-box;
}
.acx-root *, .acx-root *::before, .acx-root *::after { box-sizing: border-box; }
.acx-root a { color: var(--acx-teal); }
.acx-root a:hover { color: var(--acx-teal-d); }
.acx-root :focus-visible { outline: 3px solid var(--acx-night); outline-offset: 2px; box-shadow: 0 0 0 5px var(--acx-gold); }
.acx-header :focus-visible, .acx-footer :focus-visible, .acx-hero :focus-visible, .acx-features :focus-visible, .acx-continue :focus-visible { outline-color: var(--acx-gold); box-shadow: none; }
.acx-ico { flex-shrink: 0; }

/* Page wrapper for the plugin's own pages. */
.acx-page { max-width: 1120px; margin: 0 auto; padding: 0 16px 40px; }
body.acx-own-page .site-content > .ast-container { max-width: none; padding: 0; }
body.acx-own-page { background: #f4f6f9; }
.acx-h1 { font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 8px; color: var(--acx-ink); }
.acx-h2 { font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 14px; color: var(--acx-ink); }
.acx-h3 { font-family: Archivo, sans-serif; font-weight: 700; font-size: 18px; margin: 20px 0 10px; color: var(--acx-ink); }
.acx-lead { font-size: 17px; color: var(--acx-ink2); margin: 0 0 12px; max-width: 70ch; }
.acx-sec { margin-top: 28px; }
.acx-eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--acx-gold); }

/* Buttons. Gold always carries navy text. */
.acx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 10px; border: 0; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.acx-root .acx-btn-gold, .acx-root a.acx-btn-gold { background: var(--acx-gold); color: var(--acx-night); }
.acx-root .acx-btn-gold:hover { background: #c57f03; color: var(--acx-night); }
.acx-btn-sm { min-height: 44px; padding: 8px 14px; font-size: 15px; }
.acx-btn-block { width: 100%; }

/* Header and footer (full sites). */
.acx-header { background: var(--acx-night); position: relative; z-index: 50; }
.acx-header-in { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acx-root a.acx-brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.acx-brand-name { font-family: Archivo, sans-serif; font-weight: 800; font-size: 24px; color: #fff; }
.acx-brand-sub { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acx-gold); margin-top: 4px; }
.acx-nav { display: flex; align-items: center; gap: 6px; }
.acx-root a.acx-nav-link { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.acx-root a.acx-nav-link:hover { color: var(--acx-teal-l); }
.acx-root a.acx-nav-strong { color: var(--acx-teal-l); }
.acx-root a.acx-nav-btn { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; border: 1.5px solid var(--acx-teal-l); border-radius: 8px; padding: 9px 14px; min-height: 44px; display: inline-flex; align-items: center; }
.acx-root a.acx-nav-btn:hover { background: var(--acx-navy); color: #fff; }
.acx-acct { position: relative; }
.acx-root .acx-acct-btn { width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important; border-radius: 22px !important; border: 2px solid var(--acx-teal-l) !important; background: var(--acx-navy) !important; color: #fff !important; font: inherit; font-weight: 700; font-size: 16px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.acx-acct-menu { position: absolute; right: 0; top: 52px; min-width: 220px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(17,36,62,.25); list-style: none; margin: 0; padding: 6px; }
.acx-acct-menu a { display: block; padding: 12px 12px; border-radius: 8px; text-decoration: none; color: var(--acx-ink); font-weight: 600; }
.acx-root .acx-acct-menu a { color: var(--acx-ink); }
.acx-acct-menu a:hover { background: var(--acx-bg); }
.acx-footer { background: var(--acx-night); color: var(--acx-onnavy); margin-top: 0; }
.acx-footer-in { max-width: 1120px; margin: 0 auto; padding: 24px 16px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 14px; }
.acx-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.acx-root.acx-footer a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.acx-root.acx-footer a:hover { color: var(--acx-teal-l); }
.acx-footer p { margin: 0; }
@media (max-width: 560px) {
	.acx-nav-hide-sm { display: none !important; }
	.acx-brand-name { font-size: 21px; }
}

/* Home hero and search. */
.acx-hero { margin: 0 -16px; padding: 32px 16px 28px; background: linear-gradient(160deg, var(--acx-navy) 0%, var(--acx-night) 100%); color: #fff; }
@media (min-width: 1152px) { .acx-hero { margin: 0; border-radius: 0 0 18px 18px; padding: 44px 40px 36px; } }
.acx-hero-h { font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 10px 0 18px; color: #fff; }
.acx-hero-h span { color: var(--acx-teal-l); display: block; }
.acx-search { max-width: 640px; }
.acx-search label { display: block; font-size: 15px; color: var(--acx-onnavy); margin-bottom: 6px; }
.acx-search-row { display: flex; gap: 8px; }
.acx-search input { flex: 1; min-width: 0; height: 52px; border-radius: 10px; border: 0; padding: 0 14px; font: inherit; font-size: 17px; color: var(--acx-ink); background: #fff; }

/* Field tiles. */
.acx-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 820px) { .acx-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acx-field { background: #fff; border-radius: 14px; padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--acx-ink); border: 1.5px solid transparent; min-height: 132px; }
.acx-root a.acx-field { color: var(--acx-ink); }
.acx-root a.acx-field:hover { border-color: var(--acx-teal); color: var(--acx-ink); }
.acx-field .acx-ico { color: var(--acx-teal); width: 30px; height: 30px; }
.acx-field-name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.acx-field-sub { font-size: 14px; color: var(--acx-mute); }
.acx-field-soon { background: transparent; border: 1.5px dashed #b8c3d1; color: var(--acx-mute); }
.acx-field-soon .acx-ico { color: #8a97a8; }

/* Features panel. */
.acx-features { background: linear-gradient(160deg, var(--acx-navy) 0%, var(--acx-night) 100%); border-left: 6px solid var(--acx-gold); border-radius: 14px; padding: 16px; }
.acx-features-h { font-family: Archivo, sans-serif; font-weight: 800; font-size: 20px; color: #fff; margin: 0 0 12px; }
.acx-features-list { list-style: none; margin: 0; padding: 14px; background: #fff; border-radius: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
@media (min-width: 820px) { .acx-features-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acx-features-list li { display: flex; gap: 7px; align-items: flex-start; font-size: 15px; line-height: 1.3; color: var(--acx-ink); margin: 0; }
.acx-features-list .acx-ico { color: var(--acx-teal); margin-top: 1px; stroke-width: 3; }
.acx-features-plus { margin: 12px 2px 0; color: var(--acx-onnavy); font-size: 15px; }

/* Course cards. */
.acx-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .acx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .acx-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.acx-card { background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(17,36,62,.06); }
.acx-card[hidden] { display: none; }
.acx-card-media { display: block; aspect-ratio: 16 / 9; background: var(--acx-night); }
.acx-card-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.acx-card-fallback { display: flex; height: 100%; align-items: center; padding: 16px 20px; color: #fff; font-family: Archivo, sans-serif; font-weight: 800; font-size: 20px; border-left: 8px solid var(--acx-gold); }
.acx-card-body { padding: 12px 14px 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex: 1; }
.acx-card-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acx-card-title { margin: 0; font-family: "Source Sans 3", sans-serif; font-size: 16px; font-weight: 700; line-height: 1.3; }
.acx-root .acx-card-title a { color: var(--acx-ink); text-decoration: none; }
.acx-root .acx-card-title a:hover { color: var(--acx-teal); }
.acx-card-line { font-size: 14px; color: var(--acx-ink2); }
.acx-card-count { font-size: 13px; font-weight: 700; color: var(--acx-teal); }
.acx-card .acx-btn { flex-shrink: 0; }
.acx-nomatch { background: #fff; border-radius: 10px; padding: 12px 14px; }

/* How it works. */
.acx-how ol { margin: 0; padding: 0; list-style: none; counter-reset: acx; display: grid; gap: 10px; }
@media (min-width: 820px) { .acx-how ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acx-how li { counter-increment: acx; background: #fff; border-radius: 12px; padding: 14px; font-size: 16px; display: flex; gap: 10px; }
.acx-how li::before { content: counter(acx); flex-shrink: 0; width: 28px; height: 28px; border-radius: 14px; background: var(--acx-gold); color: var(--acx-night); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* Field page head. */
.acx-fieldhead { margin: 0 -16px; padding: 18px 16px 16px; background: #fff; border-bottom: 4px solid var(--acx-teal); }
@media (min-width: 1152px) { .acx-fieldhead { margin: 0; border-radius: 0 0 14px 14px; padding: 22px 28px; } }
.acx-crumbs { font-size: 14px; color: var(--acx-mute); margin-bottom: 8px; }
.acx-langs { display: flex; gap: 8px; margin-top: 4px; }
.acx-root a.acx-pill { min-height: 44px; padding: 0 16px; border-radius: 20px; border: 1.5px solid var(--acx-night); color: var(--acx-night); text-decoration: none; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; }
.acx-root a.acx-pill.is-on { background: var(--acx-night); color: #fff; }

/* Course page top. */
.acx-coursetop { margin: 0 0 20px; }
.acx-course-count { font-weight: 700; color: var(--acx-teal); font-size: 17px; margin: 0 0 10px; }

/* Study Home. */
.acx-sh-head { padding: 22px 0 8px; }
.acx-sh-hi { margin: 0; color: var(--acx-mute); font-size: 16px; }
.acx-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 4px; scrollbar-width: thin; }
.acx-root .acx-tabs button { line-height: 1.2; flex-shrink: 0; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid var(--acx-night); background: #fff; color: var(--acx-night); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.acx-root .acx-tabs button[aria-selected="true"] { background: var(--acx-night); color: #fff; }
.acx-sh-panel { margin-top: 12px; }
.acx-sh-panel[hidden] { display: none; }
.acx-continue { background: linear-gradient(160deg, var(--acx-navy) 0%, var(--acx-night) 100%); border-left: 6px solid var(--acx-gold); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .acx-continue { grid-template-columns: 340px minmax(0, 1fr); } }
.acx-continue-img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.acx-continue-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.acx-continue-title { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.25; }
.acx-continue-ctx { font-size: 15px; color: var(--acx-onnavy); }
.acx-continue-pct { font-size: 14px; color: var(--acx-onnavy); }
.acx-progress { height: 8px; border-radius: 4px; background: #2b4566; }
.acx-progress > div { height: 8px; border-radius: 4px; background: var(--acx-teal-l); min-width: 2px; }
.acx-continue .acx-btn { align-self: flex-start; }
.acx-quicks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.acx-root a.acx-quick { background: #fff; border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--acx-ink); display: flex; flex-direction: column; gap: 2px; }
.acx-quick span { font-size: 14px; color: var(--acx-mute); }
.acx-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 820px) { .acx-tools { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.acx-root a.acx-tool { border-radius: 10px; padding: 10px; min-height: 60px; display: flex; align-items: flex-end; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.2; color: #fff; }
.acx-root a.acx-tool:hover { filter: brightness(1.08); color: #fff; }
.acx-root a.acx-c-learn { background: var(--acx-learn); }
.acx-root a.acx-c-practice { background: var(--acx-practice); }
.acx-root a.acx-tool.acx-c-test { background: var(--acx-test); color: var(--acx-night); }
.acx-root a.acx-c-train { background: var(--acx-train); }
.acx-root a.acx-c-take { background: var(--acx-take); }
.acx-stats { margin: 12px 0 0; font-weight: 600; }
.acx-empty { background: #fff; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Sign in. */
.acx-signin { max-width: 440px; margin: 28px auto 0; }
.acx-form { background: #fff; border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(17,36,62,.06); }
.acx-form label { font-weight: 600; font-size: 15px; }
.acx-form input[type="text"], .acx-form input[type="password"] { height: 50px; border-radius: 10px; border: 1.5px solid #8796a8; padding: 0 12px; font: inherit; font-size: 17px; width: 100%; color: var(--acx-ink); background: #fff; }
.acx-form-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.acx-check { display: flex !important; gap: 10px; align-items: center; min-height: 44px; font-weight: 400 !important; }
.acx-check input { width: 22px; height: 22px; accent-color: var(--acx-teal); }
.acx-alert { background: #fdecea; color: #8a1c0f; border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.acx-signin-new { text-align: center; margin-top: 14px; }

/* Study bar: fixed to the bottom on phones, a floating pill on wide screens. */
.acx-studybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; height: calc(64px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--acx-line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgba(17,36,62,.08); }
.acx-root a.acx-sb-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font-size: 12px; font-weight: 600; border-top: 3px solid transparent; }
.acx-root a.acx-sb-item[aria-current="page"] { font-weight: 800; border-top-color: currentColor; }
.acx-root a.acx-c-navy { color: var(--acx-night); }
.acx-root a.acx-sb-item.acx-c-learn { color: var(--acx-learn); background: none; }
.acx-root a.acx-sb-item.acx-c-practice { color: var(--acx-practice); background: none; }
.acx-root a.acx-sb-item.acx-c-test { color: #8a5a02; background: none; }
.acx-root a.acx-c-more { color: var(--acx-mute); }
@media (min-width: 900px) {
	.acx-studybar { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; width: 560px; border-radius: 16px; border: 1px solid var(--acx-line); }
}
body.acx-has-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.acx-has-bar .ld-focus .ld-focus-sidebar { padding-bottom: 84px; }
@media (min-width: 900px) { body.acx-has-bar { padding-bottom: 92px; } }
@media print { .acx-studybar, .acx-header, .acx-footer { display: none !important; } }

/* Inline links that act as controls get a full tap target. */
.acx-stats a, .acx-form-row a, .acx-signin-new a { display: inline-flex; align-items: center; min-height: 44px; }

/* The house breadcrumb the plugin adds above lessons, course pages and tools. */
.acx-crumbline { font-family: "Source Sans 3", system-ui, sans-serif; font-size: 14px; color: #4a5a70; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.acx-crumbline a { color: #1c7c7d; text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.acx-crumbline a:hover { text-decoration: underline; }


/* The chatbot button sits above the study bar, never on top of it. */
body.acx-has-bar #acheron-chatbot-toggle, body.acx-has-bar #acheron-chatbot-mini { bottom: 84px !important; }
body.acx-has-bar #acheron-chatbot-window { bottom: 150px !important; max-height: calc(100vh - 170px) !important; }
@media (min-width: 900px) {
	body.acx-has-bar #acheron-chatbot-toggle, body.acx-has-bar #acheron-chatbot-mini { bottom: 24px !important; }
	body.acx-has-bar #acheron-chatbot-window { bottom: 96px !important; }
}

