:root {
    --ea-brand-navy: #173b66;
    --ea-brand-navy-deep: #102d50;
    --ea-brand-blue: #2f6fed;
    /* Legacy token name retained; decorative accents now use the logo blue. */
    --ea-brand-teal: #2f6fed;
    --ea-brand-highlight: #ffed17;
    --ea-brand-ink: #172033;
    --ea-brand-muted: #657287;
    --ea-brand-line: #d9e0e8;
    --ea-brand-soft: #eef2f6;
    --ea-brand-canvas: #f5f7fa;
    --ea-brand-surface: #ffffff;
    --ea-brand-danger: #b42318;
    --ea-brand-radius: 6px;
    --ea-brand-shadow: 0 10px 28px rgba(23, 32, 51, .09);
}

html[data-ea-theme="dark"] {
    --ea-brand-navy: #8db5ff;
    --ea-brand-navy-deep: #b7ceff;
    --ea-brand-blue: #7ba7ff;
    --ea-brand-teal: #7ba7ff;
    --ea-brand-highlight: #ffd60a;
    --ea-brand-ink: #edf3fa;
    --ea-brand-muted: #aebdce;
    --ea-brand-line: #334154;
    --ea-brand-soft: #202c3b;
    --ea-brand-canvas: #0b1018;
    --ea-brand-surface: #121a26;
    --ea-brand-danger: #ff887d;
    --ea-brand-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

body:not(.ea-workspace) {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--ea-brand-canvas);
    background-image: linear-gradient(rgba(23, 59, 102, .025) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--ea-brand-ink);
    font-family: "rubik-Regular", "Segoe UI", sans-serif;
}

body:not(.ea-workspace) *,
body:not(.ea-workspace) *::before,
body:not(.ea-workspace) *::after {
    box-sizing: border-box;
}

body:not(.ea-workspace) :where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--ea-brand-blue) !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(47, 111, 237, .2) !important;
}

body:not(.ea-workspace) :where(h1, h2, h3, h4, h5, h6) {
    color: var(--ea-brand-ink);
    letter-spacing: 0;
}

body:not(.ea-workspace) :where(p, li, dd, small) {
    color: var(--ea-brand-muted);
}

body:not(.ea-workspace) a {
    color: var(--ea-brand-blue);
}

body:not(.ea-workspace) a:hover {
    color: var(--ea-brand-navy);
}

body:not(.ea-workspace) :where(.primary-btn, .sign-up-btn, .btn-primary, .button.primary-btn) {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--ea-brand-navy) !important;
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-navy) !important;
    color: #fff !important;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none !important;
}

html[data-ea-theme="dark"] body:not(.ea-workspace) :where(.primary-btn, .sign-up-btn, .btn-primary, .button.primary-btn) {
    border-color: var(--ea-brand-blue) !important;
    background: #244f91 !important;
}

body:not(.ea-workspace) :where(.primary-btn, .sign-up-btn, .btn-primary, .button.primary-btn):hover {
    border-color: var(--ea-brand-blue) !important;
    background: var(--ea-brand-blue) !important;
    color: #fff !important;
    transform: none;
}

body:not(.ea-workspace) :where(.btn-secondary, .secondary-btn, .light-btn) {
    min-height: 42px;
    border: 1px solid var(--ea-brand-line) !important;
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-surface) !important;
    color: var(--ea-brand-ink) !important;
    box-shadow: none !important;
}

body:not(.ea-workspace) :where(.form-control, .form-select, select, input:not([type="checkbox"]):not([type="radio"]), textarea) {
    min-height: 44px;
    border: 1px solid var(--ea-brand-line) !important;
    border-radius: 4px !important;
    background-color: var(--ea-brand-surface) !important;
    color: var(--ea-brand-ink) !important;
    box-shadow: none !important;
}

body:not(.ea-workspace) :where(.form-control, .form-select, select, input, textarea)::placeholder {
    color: var(--ea-brand-muted) !important;
    opacity: .78;
}

body:not(.ea-workspace) :where(.form-control, .form-select, select, input, textarea):focus {
    border-color: var(--ea-brand-blue) !important;
}

body:not(.ea-workspace) :where(label, .form-group label) {
    margin-bottom: 6px;
    color: var(--ea-brand-ink);
    font-size: 12px;
    font-weight: 600;
}

body:not(.ea-workspace) :where(.invalid-feedback, .text-danger, .error) {
    color: var(--ea-brand-danger) !important;
}

body:not(.ea-workspace) :where(.card, .modal-content, .dropdown-menu, .subscription-plan-box) {
    border: 1px solid var(--ea-brand-line) !important;
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-surface) !important;
    color: var(--ea-brand-ink);
    box-shadow: var(--ea-brand-shadow) !important;
}

body:not(.ea-workspace) :where(.table, table) {
    color: var(--ea-brand-ink);
}

body:not(.ea-workspace) :where(.table th, table th) {
    border-color: var(--ea-brand-line) !important;
    background: var(--ea-brand-soft) !important;
    color: var(--ea-brand-muted) !important;
    font-size: 12px;
    font-weight: 600;
}

body:not(.ea-workspace) :where(.table td, table td) {
    border-color: var(--ea-brand-line) !important;
    color: var(--ea-brand-ink);
}

/* Authentication */
.page-login-section {
    min-height: 100vh !important;
    padding: 54px 20px !important;
    background-color: var(--ea-brand-canvas) !important;
    background-image:
        linear-gradient(rgba(23, 59, 102, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 59, 102, .035) 1px, transparent 1px) !important;
    background-size: 32px 32px !important;
}

.page-login-section .container {
    width: 100%;
}

.login-wrapper {
    width: min(100%, 520px) !important;
    margin: 0 auto;
}

.login-logo-box {
    margin-bottom: 24px !important;
    text-align: center;
}

.login-logo-box img {
    width: min(100%, 300px) !important;
    height: 58px !important;
    object-fit: contain;
}

.login-box {
    padding: 34px 38px !important;
    border: 1px solid var(--ea-brand-line) !important;
    border-top: 4px solid var(--ea-brand-teal) !important;
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-surface) !important;
    box-shadow: var(--ea-brand-shadow) !important;
}

.login-box h4 {
    margin: 0 0 28px !important;
    color: var(--ea-brand-ink) !important;
    font-size: 25px !important;
    line-height: 1.3 !important;
}

.login-box .form-group {
    margin-bottom: 18px !important;
}

.login-box .formfield {
    position: relative;
}

.login-box .form-control {
    height: 48px !important;
    padding: 10px 44px 10px 13px !important;
}

.login-box .form-icon {
    right: 14px !important;
    color: var(--ea-brand-muted) !important;
}

.login-box .full-btn {
    width: 100%;
}

.ea-login-theme {
    position: fixed !important;
    top: 18px;
    right: 18px;
}

.login-footer-text {
    margin-top: 26px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--ea-brand-line) !important;
    color: var(--ea-brand-muted) !important;
}

.forget-password-btn {
    display: inline-block;
    margin-top: 16px;
    color: var(--ea-brand-blue) !important;
}

/* Public and legacy customer shell */
body:not(.ea-workspace) > header,
body:not(.ea-workspace) header:has(> .navbar) {
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid var(--ea-brand-line);
    background: color-mix(in srgb, var(--ea-brand-surface) 96%, transparent) !important;
    backdrop-filter: blur(14px);
}

/* Defensive reset: an older cached front/css/style.css may still apply
   `header { position: sticky; top: 0; z-index: 999 }` to content headers such
   as the blog hero, article headers, or page headings. Only the public site
   header and a legacy navbar header stay pinned; everything else scrolls. */
body:not(.ea-workspace) header:not(.ea-public-header):not(:has(> .navbar)) {
    position: static;
    top: auto;
    z-index: auto;
}

body:not(.ea-workspace) header .navbar {
    min-height: 66px;
    padding-block: 8px !important;
    background: transparent !important;
}

body:not(.ea-workspace) .navbar-brand img {
    width: 232px !important;
    height: 46px !important;
    object-fit: contain;
    object-position: left center;
}

body:not(.ea-workspace) header .nav-link {
    min-height: 40px;
    display: inline-flex !important;
    align-items: center;
    padding: 9px 11px !important;
    border-radius: 4px;
    color: var(--ea-brand-muted) !important;
    font-size: 13px !important;
    font-weight: 500;
}

body:not(.ea-workspace) header .nav-link:hover,
body:not(.ea-workspace) header .nav-link:focus,
body:not(.ea-workspace) header .nav-link[aria-current="page"] {
    background: var(--ea-brand-soft);
    color: var(--ea-brand-navy) !important;
}

body:not(.ea-workspace) .user-feed-profile-img {
    min-height: 42px;
    padding: 5px 8px;
    border: 1px solid var(--ea-brand-line);
    border-radius: var(--ea-brand-radius);
    background: var(--ea-brand-surface);
}

body:not(.ea-workspace) .user-feed-profile-img .user-profile {
    width: 30px !important;
    height: 30px !important;
}

body:not(.ea-workspace) .profile-name {
    color: var(--ea-brand-ink) !important;
    font-size: 12px !important;
}

body:not(.ea-workspace) .dropdown-menu {
    padding: 7px !important;
}

body:not(.ea-workspace) :where(.dropdown-item, .header-profile-link) {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px !important;
    border: 0;
    border-radius: 4px;
    background: transparent !important;
    color: var(--ea-brand-muted) !important;
    font-size: 12px;
}

body:not(.ea-workspace) :where(.dropdown-item, .header-profile-link):hover {
    background: var(--ea-brand-soft) !important;
    color: var(--ea-brand-navy) !important;
}

.hero-banner-section {
    min-height: min(720px, calc(100vh - 66px));
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--ea-brand-canvas) !important;
    background-image:
        linear-gradient(120deg, rgba(23, 59, 102, .09), transparent 60%),
        linear-gradient(rgba(23, 59, 102, .03) 1px, transparent 1px) !important;
    background-size: auto, 28px 28px !important;
}

.hero-banner-wrapper {
    padding: 58px 0 34px !important;
}

.hero-banner-wrapper h1 {
    max-width: 850px;
    margin-inline: auto;
    color: var(--ea-brand-ink) !important;
    font-size: clamp(42px, 6vw, 76px) !important;
    line-height: 1.05 !important;
}

.hero-banner-wrapper > p {
    color: var(--ea-brand-teal) !important;
    font-size: 18px !important;
    font-weight: 600;
}

.hero-banner-img-box {
    margin-top: 34px !important;
}

.hero-banner-img-box-inner {
    border: 1px solid var(--ea-brand-line);
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-surface);
    box-shadow: var(--ea-brand-shadow);
}

.meet-eassy-annotation-section {
    padding-block: 64px !important;
    background: var(--ea-brand-canvas) !important;
}

.meet-eassy-annotation-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

.meet-eassy-annotation-main-para {
    max-width: 920px;
    margin: 0 auto 52px !important;
    color: var(--ea-brand-muted) !important;
    font-size: 20px !important;
    line-height: 1.65 !important;
}

.meet-eassy-annotation-inner-box {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.meet-eassy-annotation-inner-box-h2 {
    color: var(--ea-brand-ink) !important;
    font-size: 34px !important;
}

.meet-eassy-annotation-inner-box-para {
    color: var(--ea-brand-teal) !important;
}

.text-img-box {
    margin-top: 20px !important;
    padding: 36px !important;
    border-block: 1px solid var(--ea-brand-line);
    background: var(--ea-brand-surface) !important;
}

.text-img-box-heading h3 {
    color: var(--ea-brand-ink) !important;
    font-size: 26px !important;
}

.text-img-box-heading p {
    color: var(--ea-brand-muted) !important;
    line-height: 1.7 !important;
}

.text-img-box img,
.eassy-annotation-inner-content-img img {
    border-radius: var(--ea-brand-radius) !important;
}

.sign-up-box {
    margin-top: 28px !important;
    border: 1px solid var(--ea-brand-line) !important;
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-navy-deep) !important;
    box-shadow: none !important;
}

/* Product homepage */
.ea-home-hero {
    position: relative;
    min-height: min(720px, calc(100vh - 66px));
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #0b1724;
    background-image: var(--ea-home-hero-image);
    background-position: center top;
    background-size: cover;
}

.ea-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Mask the demo screenshot's own header strip at the top, then keep the
       left side dark for headline contrast. */
    background:
        linear-gradient(180deg, rgba(5, 18, 31, .99) 0, rgba(5, 18, 31, .96) 120px, rgba(5, 18, 31, .5) 200px, rgba(5, 18, 31, 0) 280px),
        linear-gradient(90deg, rgba(5, 18, 31, .94) 0%, rgba(5, 18, 31, .78) 38%, rgba(5, 18, 31, .2) 72%, rgba(5, 18, 31, .08) 100%);
}

.ea-home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(transparent, rgba(5, 18, 31, .78));
}

.ea-home-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-block: 96px 68px;
}

.ea-home-eyebrow,
.ea-home-section-heading > span,
.ea-home-review-copy > span,
.ea-home-cta span {
    display: block;
    margin-bottom: 12px;
    color: #8db5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Highlighter swipe echoing the yellow marker in the logo. */
.ea-home-eyebrow::after,
.ea-home-section-heading > span::after,
.ea-home-review-copy > span::after,
.ea-home-cta span::after {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    margin-top: 10px;
    border-radius: 3px;
    background: var(--ea-brand-highlight);
}

.ea-home-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff !important;
    font-size: clamp(52px, 7vw, 92px);
    line-height: 1;
}

.ea-home-hero-inner > p {
    max-width: 690px;
    margin: 22px 0 0;
    color: #dce8f2 !important;
    font-size: clamp(21px, 2.2vw, 31px);
    line-height: 1.45;
}

.ea-home-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.ea-home-secondary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: var(--ea-brand-radius);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
}

.ea-home-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
}

.ea-home-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 42px;
}

.ea-home-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dce8f2;
    font-size: 12px;
    font-weight: 600;
}

.ea-home-proof i {
    color: #6ed1c5;
}

.ea-home-workflow,
.ea-home-evidence,
.ea-home-review,
.ea-home-cta {
    padding-block: 76px;
}

.ea-home-workflow {
    background: var(--ea-brand-surface);
}

.ea-home-section-heading {
    max-width: 820px;
    margin-bottom: 44px;
}

.ea-home-section-heading > span,
.ea-home-review-copy > span,
.ea-home-cta span {
    color: var(--ea-brand-teal);
}

.ea-home-section-heading h2,
.ea-home-evidence h2,
.ea-home-review h2,
.ea-home-cta h2 {
    margin: 0;
    color: var(--ea-brand-ink) !important;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.ea-home-section-heading p,
.ea-home-evidence-grid > div > p,
.ea-home-review-copy p {
    max-width: 760px;
    margin: 17px 0 0;
    color: var(--ea-brand-muted) !important;
    font-size: 17px;
    line-height: 1.7;
}

.ea-home-steps {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--ea-brand-line);
    list-style: none;
}

.ea-home-steps li {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid var(--ea-brand-line);
}

.ea-home-steps li > span {
    color: var(--ea-brand-teal);
    font-size: 14px;
    font-weight: 700;
}

.ea-home-steps strong {
    display: block;
    color: var(--ea-brand-ink);
    font-size: 18px;
}

.ea-home-steps p {
    max-width: 760px;
    margin: 7px 0 0;
    color: var(--ea-brand-muted) !important;
    font-size: 14px;
    line-height: 1.6;
}

.ea-home-evidence {
    border-block: 1px solid var(--ea-brand-line);
    background-color: var(--ea-brand-canvas);
    background-image: linear-gradient(rgba(23, 59, 102, .03) 1px, transparent 1px);
    background-size: 24px 24px;
}

.ea-home-evidence-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 80px;
    align-items: start;
}

.ea-home-evidence dl {
    margin: 0;
    border-top: 1px solid var(--ea-brand-line);
}

.ea-home-evidence dl > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    padding: 19px 0;
    border-bottom: 1px solid var(--ea-brand-line);
}

.ea-home-evidence dt {
    color: var(--ea-brand-teal);
    font-size: 13px;
    font-weight: 700;
}

.ea-home-evidence dd {
    margin: 0;
    color: var(--ea-brand-muted);
    font-size: 14px;
    line-height: 1.55;
}

.ea-home-review {
    background: var(--ea-brand-surface);
}

.ea-home-review > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    gap: 70px;
    align-items: center;
}

.ea-home-review-status {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-left: 3px solid var(--ea-brand-teal);
    background: var(--ea-brand-soft);
}

.ea-home-review-status > i {
    margin-top: 2px;
    color: var(--ea-brand-teal);
}

.ea-home-review-status strong,
.ea-home-review-status span {
    display: block;
}

.ea-home-review-status strong {
    color: var(--ea-brand-ink);
    font-size: 14px;
}

.ea-home-review-status span {
    margin-top: 5px;
    color: var(--ea-brand-muted);
    font-size: 12px;
    line-height: 1.55;
}

.ea-home-cta {
    background: #102f54;
}

.ea-home-cta > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ea-home-cta h2 {
    max-width: 900px;
    color: #fff !important;
}

.ea-home-cta .primary-btn {
    flex: 0 0 auto;
    border-color: #6ed1c5 !important;
    background: #6ed1c5 !important;
    color: #0c2f40 !important;
}

/* Public content */
.about-banner-section {
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 1px solid var(--ea-brand-line);
    background-color: var(--ea-brand-canvas) !important;
    background-image: linear-gradient(rgba(23, 59, 102, .035) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
}

.about-banner-section :where(.bnr-vector-img, .laptop-img) {
    display: none !important;
}

.about-banner-wrapper {
    min-height: 240px;
    display: flex !important;
    align-items: flex-end !important;
    padding-block: 54px !important;
}

.about-banner-wrapper h1 {
    margin: 0 !important;
    color: var(--ea-brand-ink) !important;
    font-size: clamp(38px, 5vw, 58px) !important;
    line-height: 1.1 !important;
}

.rich-text-with-img-section,
.blog-plan-section {
    padding-block: 64px !important;
    background: var(--ea-brand-surface) !important;
}

.rich-text-wrapper,
.blog-plan-wrapper {
    max-width: 1120px;
    margin: 0 auto;
}

.rich-text-lef h2 {
    color: var(--ea-brand-ink) !important;
    font-size: clamp(28px, 3vw, 40px) !important;
}

.rich-text-lef :where(p, li) {
    color: var(--ea-brand-muted) !important;
    font-size: 16px;
    line-height: 1.75;
}

.rich-text-right-img img,
.blog-img-hold img {
    border: 1px solid var(--ea-brand-line);
    border-radius: var(--ea-brand-radius) !important;
    object-fit: cover;
}

.blog-plan-wrapper .plans-carrier {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    justify-content: stretch;
}

.blog-box {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--ea-brand-line) !important;
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-surface) !important;
    box-shadow: none !important;
}

.blog-content {
    padding: 18px !important;
}

.blog-content h5 {
    color: var(--ea-brand-ink) !important;
}

.blog-content p {
    color: var(--ea-brand-muted) !important;
    line-height: 1.6;
}

body:not(.ea-workspace) footer {
    margin-top: 0;
    border-top: 1px solid #29465f;
    background: #0c2338 !important;
}

body:not(.ea-workspace) footer :where(p, a, h4) {
    color: #d7e2ec !important;
}

body:not(.ea-workspace) footer h4 {
    font-size: 11px !important;
    letter-spacing: .08em !important;
}

body:not(.ea-workspace) footer a:hover {
    color: #6ed1c5 !important;
}

body:not(.ea-workspace) .bottom-footer {
    border-top-color: #29465f !important;
    background: #081a2b !important;
}

/* Legacy document and account pages */
body:not(.ea-workspace) main.main:not(.login-page) {
    min-height: calc(100vh - 66px);
}

body:not(.ea-workspace) :where(.pdf-header-section, .breadcrumb-section, .pdf-table-section, .profile-section, .payment-history-section) {
    background-color: transparent !important;
}

body:not(.ea-workspace) :where(.pdf-header-wrapper, .pdf-content-wrapper, .personal-detail-profile-box, .payment-detail-wrapper) {
    border-color: var(--ea-brand-line) !important;
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-surface) !important;
    color: var(--ea-brand-ink);
    box-shadow: none !important;
}

/* Admin and generic application shells */
body:not(.ea-workspace) .main-wrapper {
    background: var(--ea-brand-canvas) !important;
}

body:not(.ea-workspace) .main-navbar,
body:not(.ea-workspace) .navbar-bg {
    background: var(--ea-brand-surface) !important;
    border-bottom: 1px solid var(--ea-brand-line);
    box-shadow: none !important;
}

body:not(.ea-workspace) .main-sidebar {
    background: #102f54 !important;
    box-shadow: none !important;
}

body:not(.ea-workspace) .main-sidebar .sidebar-brand {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: #102f54 !important;
}

body:not(.ea-workspace) .main-sidebar .sidebar-menu li a {
    margin: 2px 8px;
    border-radius: 4px;
    color: rgba(255, 255, 255, .8) !important;
}

body:not(.ea-workspace) .main-sidebar .sidebar-menu li.active > a,
body:not(.ea-workspace) .main-sidebar .sidebar-menu li a:hover {
    background: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
    box-shadow: inset 3px 0 0 #6ed1c5;
}

body:not(.ea-workspace) .main-content {
    background: var(--ea-brand-canvas) !important;
}

body:not(.ea-workspace) .section-header {
    border: 1px solid var(--ea-brand-line) !important;
    border-radius: var(--ea-brand-radius) !important;
    background: var(--ea-brand-surface) !important;
    box-shadow: none !important;
}

body:not(.ea-workspace) .card-header {
    border-bottom: 1px solid var(--ea-brand-line) !important;
    background: var(--ea-brand-surface) !important;
}

body:not(.ea-workspace) .main-footer {
    border-top: 1px solid var(--ea-brand-line) !important;
    background: var(--ea-brand-surface) !important;
}

body:not(.ea-workspace) .page-item .page-link {
    border-color: var(--ea-brand-line) !important;
    background: var(--ea-brand-surface) !important;
    color: var(--ea-brand-ink) !important;
}

body:not(.ea-workspace) .page-item.active .page-link {
    border-color: var(--ea-brand-blue) !important;
    background: var(--ea-brand-blue) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    body:not(.ea-workspace) header #navbarSupportedContent {
        margin-top: 9px;
        padding: 12px;
        border: 1px solid var(--ea-brand-line);
        border-radius: var(--ea-brand-radius);
        background: var(--ea-brand-surface);
        box-shadow: var(--ea-brand-shadow);
    }

    body:not(.ea-workspace) header .nav-link {
        width: 100%;
    }

    .text-img-box {
        padding: 26px 20px !important;
    }

    .ea-home-evidence-grid,
    .ea-home-review > .container {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

@media (max-width: 640px) {
    .page-login-section {
        padding: 68px 14px 28px !important;
    }

    .login-box {
        padding: 26px 20px !important;
    }

    .login-logo-box img {
        width: min(100%, 245px) !important;
    }

    body:not(.ea-workspace) .navbar-brand img {
        width: 190px !important;
    }

    .hero-banner-section {
        min-height: auto;
    }

    .hero-banner-wrapper {
        padding-top: 36px !important;
    }

    .meet-eassy-annotation-main-para {
        font-size: 17px !important;
    }

    .ea-home-hero {
        min-height: 650px;
        background-position: 38% top;
    }

    .ea-home-hero::before {
        background: rgba(5, 18, 31, .82);
    }

    .ea-home-hero-inner {
        padding-block: 72px 44px;
    }

    .ea-home-actions,
    .ea-home-cta > .container {
        align-items: stretch;
        flex-direction: column;
    }

    .ea-home-actions > *,
    .ea-home-cta .primary-btn {
        width: 100%;
    }

    .ea-home-workflow,
    .ea-home-evidence,
    .ea-home-review,
    .ea-home-cta {
        padding-block: 54px;
    }

    .ea-home-steps li {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .ea-home-evidence dl > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.ea-workspace) *,
    body:not(.ea-workspace) *::before,
    body:not(.ea-workspace) *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* FAQ accordions (CMS FAQ page and the fallback help view). */
.ea-faq {
    display: grid;
    gap: .75rem;
}

.ea-faq-item {
    border: 1px solid #d9e0e8;
    border-radius: 14px;
    background: #fff;
    overflow: clip;
}

.ea-faq-item summary {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    color: #172033;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.ea-faq-item summary::-webkit-details-marker {
    display: none;
}

.ea-faq-item summary::after {
    content: "";
    flex: none;
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #245bc5;
    border-bottom: 2px solid #245bc5;
    transform: rotate(45deg);
    transition: transform .15s ease;
}

.ea-faq-item summary:hover {
    color: #245bc5;
}

.ea-faq-item summary:focus-visible {
    outline: 3px solid #2f6fed;
    outline-offset: 2px;
    border-radius: 10px;
}

.ea-faq-item[open] {
    border-color: #b9cdf1;
    box-shadow: 0 10px 24px #17203310;
}

.ea-faq-item[open] summary {
    color: #173b66;
}

.ea-faq-item[open] summary::after {
    transform: rotate(-135deg);
}

.ea-faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: #3c4a5e;
}

.ea-faq-answer p {
    margin: 0;
}

.ea-faq-answer p + p {
    margin-top: .75rem;
}

.ea-faq-graphic {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .rich-text-right-img .ea-faq-graphic {
        position: sticky;
        top: 96px;
    }
}

html[data-ea-theme="dark"] .ea-faq-item {
    border-color: #334154;
    background: #121a26;
}

html[data-ea-theme="dark"] .ea-faq-item summary {
    color: #edf3fa;
}

html[data-ea-theme="dark"] .ea-faq-item summary::after {
    border-color: #7ba7ff;
}

html[data-ea-theme="dark"] .ea-faq-item summary:hover {
    color: #7ba7ff;
}

html[data-ea-theme="dark"] .ea-faq-item[open] {
    border-color: #3f5a8f;
    box-shadow: 0 10px 24px #00000040;
}

html[data-ea-theme="dark"] .ea-faq-item[open] summary {
    color: #dbe8ff;
}

html[data-ea-theme="dark"] .ea-faq-answer {
    color: #aebdce;
}

/* CMS information pages (About, Contact, FAQs, custom pages). */
.ea-cms-hero {
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid #e2e8f0;
    background:
        radial-gradient(ellipse at top right, #dbe8ff, transparent 60%),
        #f8fafc;
}

.ea-cms-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #172033;
    font-size: clamp(2rem, 4.4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.ea-cms-hero h1::before {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    margin-bottom: 1.1rem;
    border-radius: 3px;
    background: var(--ea-brand-highlight, #ffed17);
}

.ea-cms-body {
    padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.ea-cms-content {
    color: #3c4a5e;
    font-size: 1.0625rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.ea-cms-content p {
    margin: 0 0 1.25rem;
}

.ea-cms-content h2 {
    margin: 2.25rem 0 1rem;
    color: #172033;
    font-size: 1.5rem;
    letter-spacing: -.01em;
}

.ea-cms-content h3 {
    margin: 1.75rem 0 .75rem;
    color: #172033;
    font-size: 1.2rem;
}

.ea-cms-content ul,
.ea-cms-content ol {
    padding-left: 1.25rem;
    margin: 0 0 1.25rem;
}

.ea-cms-content li {
    margin-bottom: .5rem;
}

.ea-cms-content a {
    color: #245bc5;
    text-underline-offset: .2em;
}

.ea-cms-support {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid #d9e0e8;
    border-radius: 16px;
    background: #eef2f6;
}

.ea-cms-support h2 {
    margin: 0 0 .5rem;
    font-size: 1.15rem;
    color: #173b66;
}

.ea-cms-support p {
    margin: 0;
}

.ea-cms-art img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .ea-cms-art {
        position: sticky;
        top: 96px;
    }
}

html[data-ea-theme="dark"] .ea-cms-hero {
    border-color: #1f2b3d;
    background:
        radial-gradient(ellipse at top right, #16233d, transparent 60%),
        #0d1420;
}

html[data-ea-theme="dark"] .ea-cms-hero h1 {
    color: #edf3fa;
}

html[data-ea-theme="dark"] .ea-cms-content {
    color: #aebdce;
}

html[data-ea-theme="dark"] .ea-cms-content h2,
html[data-ea-theme="dark"] .ea-cms-content h3 {
    color: #edf3fa;
}

html[data-ea-theme="dark"] .ea-cms-content a {
    color: #7ba7ff;
}

html[data-ea-theme="dark"] .ea-cms-support {
    border-color: #334154;
    background: #182230;
}

html[data-ea-theme="dark"] .ea-cms-support h2 {
    color: #dbe8ff;
}