:root {
    --eolm-bg: var(--color-bg, #f6f2ea);
    --eolm-surface: var(--color-surface-strong, #ffffff);
    --eolm-ink: var(--color-ink, #12161b);
    --eolm-muted: var(--color-muted, #5d6470);
    --eolm-line: var(--color-line, rgba(18, 22, 27, 0.1));
    --eolm-blue: var(--color-blue, #0c5ec8);
    --eolm-blue-deep: var(--color-blue-deep, #0e347c);
    --eolm-green: var(--color-green, #7fb51a);
    --eolm-shadow: 0 20px 45px rgba(14, 30, 54, 0.08);
    --eolm-radius-lg: 24px;
    --eolm-radius-md: 16px;
    --eolm-radius-sm: 12px;
}

.eolm-client-portal {
    width: 100%;
    max-width: 1760px;
    margin: 2rem auto;
    color: var(--eolm-ink);
    box-sizing: border-box;
    min-width: 0;
}

.entry-content > .eolm-client-portal,
.wp-block-post-content > .eolm-client-portal {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
}

.eolm-client-portal *,
.eolm-client-portal *::before,
.eolm-client-portal *::after {
    box-sizing: border-box;
}

.eolm-client-panel,
.eolm-client-auth-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: clamp(1.2rem, 2vw, 1.8rem);
    border-radius: var(--eolm-radius-lg);
    border: 1px solid var(--eolm-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
    box-shadow: var(--eolm-shadow);
}

.eolm-client-auth {
    max-width: min(920px, 100%);
    margin-inline: auto;
}

.eolm-client-auth h2 {
    margin: 0 0 0.45rem;
    letter-spacing: -0.02em;
}

.eolm-client-auth-lead {
    margin: 0 0 1.25rem;
    color: var(--eolm-muted);
}

.eolm-client-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.eolm-client-header-eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.5rem;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(12, 94, 200, 0.14);
    color: var(--eolm-blue-deep);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eolm-client-header h2 {
    margin: 0;
    letter-spacing: -0.03em;
}

.eolm-client-header-lead {
    margin: 0.4rem 0 0;
    color: var(--eolm-muted);
}

.eolm-client-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--eolm-line);
    background: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.eolm-client-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
}

.eolm-client-tab-button {
    border: 1px solid var(--eolm-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--eolm-ink);
    min-height: 2.7rem;
    padding: 0.52rem 0.96rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.eolm-client-tab-button:hover,
.eolm-client-tab-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(12, 94, 200, 0.28);
}

.eolm-client-tab-button.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--eolm-blue) 0%, var(--eolm-blue-deep) 100%);
    box-shadow: 0 16px 26px rgba(12, 94, 200, 0.24);
}

.eolm-client-tab-button--download {
    border-color: rgba(127, 181, 26, 0.35);
    color: #31580b;
    background: linear-gradient(135deg, rgba(199, 232, 74, 0.18), rgba(127, 181, 26, 0.1));
}

.eolm-client-tab-button--download:hover,
.eolm-client-tab-button--download:focus-visible {
    border-color: rgba(127, 181, 26, 0.58);
}

.eolm-client-tab-button--download.is-active {
    color: #fff;
    background: linear-gradient(135deg, #7fb51a 0%, #4f8a10 100%);
    box-shadow: 0 16px 28px rgba(79, 138, 16, 0.25);
}

.eolm-tabs-ready .eolm-client-tab-panel {
    display: none;
}

.eolm-tabs-ready .eolm-client-tab-panel.is-active {
    display: block;
}

.eolm-client-tab-panel h3 {
    margin-top: 0;
}

.eolm-downloads-header {
    max-width: 920px;
    margin-bottom: 1rem;
}

.eolm-downloads-eyebrow,
.eolm-download-product__label {
    margin: 0 0 0.35rem;
    color: var(--eolm-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eolm-downloads-header h3 {
    margin-bottom: 0.35rem;
}

.eolm-downloads-header p {
    margin: 0;
    color: var(--eolm-muted);
}

.eolm-download-products {
    display: grid;
    gap: 1rem;
}

.eolm-download-product,
.eolm-download-empty {
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(127, 181, 26, 0.24);
    border-radius: var(--eolm-radius-md);
    background:
        radial-gradient(circle at top right, rgba(199, 232, 74, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8));
}

.eolm-download-product__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.eolm-download-product h4 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    letter-spacing: -0.03em;
}

.eolm-download-version {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    color: #31580b;
    background: rgba(199, 232, 74, 0.24);
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.eolm-download-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.eolm-download-meta div {
    padding: 0.8rem;
    border: 1px solid var(--eolm-line);
    border-radius: var(--eolm-radius-sm);
    background: rgba(255, 255, 255, 0.7);
}

.eolm-download-meta dt {
    margin-bottom: 0.25rem;
    color: var(--eolm-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eolm-download-meta dd {
    margin: 0;
    font-weight: 800;
}

.eolm-download-button {
    margin-bottom: 1.05rem;
    background: linear-gradient(135deg, #7fb51a 0%, #4f8a10 100%);
    box-shadow: 0 14px 26px rgba(79, 138, 16, 0.2);
}

.eolm-download-missing {
    margin: 0 0 1rem;
    color: var(--eolm-muted);
}

.eolm-download-changelog {
    margin-top: 1.05rem;
    border-top: 1px solid rgba(127, 181, 26, 0.2);
    padding-top: 1rem;
}

.eolm-download-changelog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--eolm-line);
    border-radius: var(--eolm-radius-sm);
    background: rgba(255, 255, 255, 0.74);
    color: var(--eolm-ink);
    cursor: pointer;
    list-style: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.eolm-download-changelog__head::-webkit-details-marker {
    display: none;
}

.eolm-download-changelog__head::marker {
    content: '';
}

.eolm-download-changelog__head:hover,
.eolm-download-changelog__head:focus-visible {
    border-color: rgba(12, 94, 200, 0.3);
    background: rgba(0, 87, 255, 0.04);
    outline: none;
}

.eolm-download-changelog__title {
    font-size: 1rem;
    font-weight: 800;
}

.eolm-download-changelog__state {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--eolm-blue-deep);
    font-size: 0.9rem;
    font-weight: 800;
}

.eolm-download-changelog__state::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.15rem);
    transition: transform 180ms ease;
}

.eolm-download-changelog__state-open {
    display: none;
}

.eolm-download-changelog[open] .eolm-download-changelog__state-closed {
    display: none;
}

.eolm-download-changelog[open] .eolm-download-changelog__state-open {
    display: inline;
}

.eolm-download-changelog[open] .eolm-download-changelog__state::after {
    transform: rotate(225deg) translate(-0.1rem, -0.1rem);
}

.eolm-download-changelog__content {
    padding-top: 0.65rem;
}

.eolm-download-changelog__toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.55rem;
}

.eolm-download-changelog__toolbar a {
    font-size: 0.9rem;
    font-weight: 800;
}

.eolm-download-changelog__body,
.eolm-download-changelog__html {
    padding: 0.9rem 1.05rem;
    border: 1px solid var(--eolm-line);
    border-radius: var(--eolm-radius-sm);
    background: #fff;
    color: var(--eolm-ink);
}

.eolm-download-changelog__body {
    max-height: 520px;
    overflow: auto;
    white-space: pre-wrap;
    font: 0.92rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Markdown-rendered changelog: enforce comfortable paragraph spacing, distinguish
 * headings as version separators, and indent list bullets so each version reads as
 * a coherent block instead of a wall of text. */
/* Defensive overrides: the host theme (estateofficecem) sets `.entry-content li` and
 * `.page-card p` to `color: var(--color-muted)` + `font-size: 1.05rem`. Because the
 * customer panel is rendered inside `.entry-content`, those rules cascade into the
 * changelog and turn bullet text into low-contrast gray. We bump our specificity to
 * 0,2,1 by chaining `.eolm-client-portal` so the changelog stays readable in any
 * host theme without resorting to `!important`. */
.eolm-client-portal .eolm-download-changelog__html,
.eolm-client-portal .eolm-download-changelog__html p,
.eolm-client-portal .eolm-download-changelog__html li {
    color: var(--eolm-ink);
    font-size: 0.95rem;
    line-height: 1.6;
}

.eolm-download-changelog__html > *:first-child {
    margin-top: 0;
}

.eolm-download-changelog__html > *:last-child {
    margin-bottom: 0;
}

.eolm-client-portal .eolm-download-changelog__html h3,
.eolm-client-portal .eolm-download-changelog__html h4,
.eolm-client-portal .eolm-download-changelog__html h5,
.eolm-client-portal .eolm-download-changelog__html h6 {
    margin: 1.2rem 0 0.5rem;
    color: var(--eolm-blue-deep);
    font-weight: 800;
    line-height: 1.3;
}

.eolm-client-portal .eolm-download-changelog__html h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.eolm-client-portal .eolm-download-changelog__html h4 { font-size: 1.02rem; }
.eolm-client-portal .eolm-download-changelog__html h5,
.eolm-client-portal .eolm-download-changelog__html h6 { font-size: 0.95rem; }

.eolm-client-portal .eolm-download-changelog__html p {
    margin: 0 0 0.7rem;
}

.eolm-client-portal .eolm-download-changelog__html ul,
.eolm-client-portal .eolm-download-changelog__html ol {
    margin: 0 0 0.85rem;
    padding-left: 1.35rem;
}

.eolm-client-portal .eolm-download-changelog__html li {
    margin-bottom: 0.3rem;
}

.eolm-download-changelog__html li > ul,
.eolm-download-changelog__html li > ol {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.eolm-download-changelog__html code {
    padding: 0.08rem 0.32rem;
    border-radius: 4px;
    background: rgba(127, 181, 26, 0.14);
    color: var(--eolm-ink);
    font: 0.88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.eolm-download-changelog__html pre.eolm-changelog-code {
    margin: 0 0 0.85rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(12, 94, 200, 0.16);
    border-radius: var(--eolm-radius-sm);
    background: #f7faff;
    overflow: auto;
}

.eolm-download-changelog__html pre.eolm-changelog-code code {
    padding: 0;
    background: transparent;
    font: 0.88rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.eolm-download-changelog__html hr.eolm-changelog-hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid rgba(12, 94, 200, 0.14);
}

.eolm-download-changelog__html a {
    color: var(--eolm-blue-deep);
    text-decoration: underline;
}

.eolm-download-changelog__html a:hover,
.eolm-download-changelog__html a:focus-visible {
    text-decoration: none;
}

.eolm-download-changelog__html strong { font-weight: 800; }
.eolm-download-changelog__html em { font-style: italic; }

/* The expanded changelog shows three collapsed version rows. Older releases remain
 * available in the same keyboard- and touch-scrollable area. */
.eolm-download-changelog__html .eolm-changelog-versions {
    max-height: 9.45rem;
    padding-right: 0.35rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.eolm-download-changelog__html .eolm-changelog-versions:focus-visible {
    outline: 2px solid rgba(12, 94, 200, 0.35);
    outline-offset: 2px;
}

/* Per-version collapsible accordion. Each `## 1.1710` in the source markdown becomes
 * one of these <details> blocks. */
.eolm-download-changelog__html .eolm-changelog-version {
    margin: 0;
    border: 1px solid rgba(12, 94, 200, 0.16);
    border-radius: var(--eolm-radius-sm);
    background: #fff;
    overflow: hidden;
}

.eolm-download-changelog__html .eolm-changelog-version + .eolm-changelog-version {
    margin-top: 0.55rem;
}

.eolm-client-portal .eolm-download-changelog__html .eolm-changelog-version__head,
.eolm-download-changelog__html .eolm-changelog-version__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    color: var(--eolm-blue-deep);
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.3;
    list-style: none;
    user-select: none;
    transition: background 160ms ease;
}

/* Suppress the native disclosure triangle and provide our own chevron. */
.eolm-download-changelog__html .eolm-changelog-version__head::-webkit-details-marker { display: none; }
.eolm-download-changelog__html .eolm-changelog-version__head::marker { content: ''; }

.eolm-download-changelog__html .eolm-changelog-version__head::before {
    content: '';
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 200ms ease;
    margin-right: 0.15rem;
}

.eolm-download-changelog__html details[open] > .eolm-changelog-version__head::before {
    transform: rotate(45deg);
}

.eolm-download-changelog__html .eolm-changelog-version__head:hover,
.eolm-download-changelog__html .eolm-changelog-version__head:focus-visible {
    background: rgba(127, 181, 26, 0.07);
    outline: none;
}

.eolm-download-changelog__html details[open] > .eolm-changelog-version__head {
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.07), rgba(127, 181, 26, 0.07));
    border-bottom: 1px solid rgba(12, 94, 200, 0.13);
}

.eolm-download-changelog__html .eolm-changelog-version__label {
    flex: 1 1 auto;
}

.eolm-download-changelog__html .eolm-changelog-version__body {
    padding: 0.85rem 0.95rem 0.55rem;
}

.eolm-download-changelog__html .eolm-changelog-version__body > *:first-child {
    margin-top: 0;
}

.eolm-download-changelog__html .eolm-changelog-version__body > *:last-child {
    margin-bottom: 0;
}

/* Tighten heading style INSIDE a version block — they would otherwise compete with
 * the version summary for visual weight. */
.eolm-download-changelog__html .eolm-changelog-version__body h3,
.eolm-download-changelog__html .eolm-changelog-version__body h4,
.eolm-download-changelog__html .eolm-changelog-version__body h5 {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    color: var(--eolm-ink);
    letter-spacing: 0;
}

.eolm-instructions-header {
    max-width: 920px;
    margin-bottom: 1rem;
}

.eolm-instructions-eyebrow,
.eolm-instruction-slide__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--eolm-blue-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eolm-instructions-header h3 {
    margin-bottom: 0.35rem;
}

.eolm-instructions-header p {
    margin: 0;
    color: var(--eolm-muted);
}

.eolm-instruction-slide-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1rem;
}

.eolm-instruction-slide-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(12, 94, 200, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--eolm-blue-deep);
    font-weight: 800;
    text-decoration: none;
}

.eolm-instruction-list {
    display: grid;
    gap: 1rem;
    padding: 0;
}

.eolm-instruction-slide {
    position: relative;
    min-height: 0;
    padding: clamp(1.1rem, 2vw, 1.6rem);
    border: 1px solid rgba(12, 94, 200, 0.16);
    border-radius: var(--eolm-radius-lg);
    background:
        radial-gradient(circle at top right, rgba(12, 94, 200, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82));
}

.eolm-instruction-slide__number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(14, 52, 124, 0.13);
    font-size: clamp(3.4rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 1;
    pointer-events: none;
}

.eolm-instruction-slide h4 {
    position: relative;
    margin: 0 0 1rem;
    max-width: 78%;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    letter-spacing: -0.04em;
}

.eolm-instruction-slide ol {
    position: relative;
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding-left: 1.2rem;
}

.eolm-instruction-slide li {
    padding-left: 0.15rem;
    color: var(--eolm-ink);
    line-height: 1.55;
}

.eolm-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.eolm-summary-card {
    padding: 0.95rem;
    border-radius: var(--eolm-radius-md);
    border: 1px solid var(--eolm-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
}

.eolm-summary-card p {
    margin: 0 0 0.45rem;
    color: var(--eolm-muted);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
}

.eolm-summary-card strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: clamp(1.2rem, 2vw, 1.58rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.eolm-summary-card span {
    color: var(--eolm-muted);
    font-size: 0.88rem;
}

.eolm-client-form {
    display: grid;
    gap: 0.6rem;
    max-width: min(1180px, 100%);
}

.eolm-client-form p {
    margin: 0;
}

.eolm-client-form label {
    display: block;
    color: var(--eolm-ink);
    font-weight: 600;
}

.eolm-client-form input[type="text"],
.eolm-client-form input[type="email"],
.eolm-client-form input[type="password"],
.eolm-client-form textarea {
    width: 100%;
    margin-top: 0.32rem;
    border: 1px solid var(--eolm-line);
    border-radius: var(--eolm-radius-sm);
    background: #fff;
    color: var(--eolm-ink);
    min-height: 2.7rem;
    padding: 0.62rem 0.74rem;
    font: inherit;
}

.eolm-client-form textarea {
    min-height: 6.6rem;
    resize: vertical;
}

.eolm-client-form hr {
    width: 100%;
    margin: 0.45rem 0;
    border: 0;
    border-top: 1px solid var(--eolm-line);
}

.eolm-client-form-hint {
    margin-top: -0.2rem;
    color: var(--eolm-muted);
    font-size: 0.9rem;
}

.eolm-button,
.eolm-client-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.8rem;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--eolm-blue) 0%, var(--eolm-blue-deep) 100%);
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.eolm-button:hover,
.eolm-client-form button[type="submit"]:hover {
    transform: translateY(-1px);
}

.eolm-button--ghost {
    border-color: var(--eolm-line);
    color: var(--eolm-ink);
    background: rgba(255, 255, 255, 0.76);
}

.eolm-button--charge {
    background: linear-gradient(135deg, #76a915 0%, #2f7d32 100%);
    box-shadow: 0 14px 24px rgba(47, 125, 50, 0.2);
}

.eolm-client-actions {
    min-width: 190px;
}

.eolm-client-actions form {
    margin: 0 0 0.35rem;
}

.eolm-client-actions .eolm-renew-trigger {
    margin-top: 0.1rem;
}

.eolm-bundle-note {
    color: #5f6875;
    display: inline-block;
    font-size: 12px;
    line-height: 1.45;
    max-width: 220px;
}

.eolm-client-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: var(--eolm-radius-md);
    border: 1px solid var(--eolm-line);
    background:
        linear-gradient(180deg, rgba(246, 242, 234, 0.88) 0, rgba(246, 242, 234, 0.88) 3.25rem, transparent 3.25rem, transparent 100%),
        rgba(255, 255, 255, 0.84);
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.eolm-client-table {
    display: table;
    width: max(1280px, 100%);
    max-width: none;
    border-collapse: collapse;
    min-width: 100%;
    table-layout: auto;
    overflow: visible;
}

.eolm-client-table th,
.eolm-client-table td {
    padding: 0.72rem 0.8rem;
    border-bottom: 1px solid var(--eolm-line);
    text-align: left;
    vertical-align: top;
    font-size: 0.94rem;
    white-space: nowrap;
}

.eolm-client-table td:nth-child(2),
.eolm-client-table td:nth-child(5),
.eolm-client-table td:nth-child(9) {
    white-space: normal;
}

.eolm-client-table th {
    position: sticky;
    top: 0;
    background: rgba(246, 242, 234, 0.85);
    backdrop-filter: blur(6px);
    z-index: 1;
}

.eolm-client-table tbody tr:hover {
    background: rgba(12, 94, 200, 0.05);
}

.eolm-client-table code {
    padding: 0.18rem 0.42rem;
    border-radius: 6px;
    background: rgba(18, 22, 27, 0.08);
    font-size: 0.82rem;
}

.eolm-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.52rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #1b2d48;
    background: rgba(12, 94, 200, 0.13);
}

.eolm-status-pill--active,
.eolm-status-pill--success {
    color: #1f3a06;
    background: rgba(127, 181, 26, 0.24);
}

.eolm-status-pill--expired,
.eolm-status-pill--failed,
.eolm-status-pill--cancelled {
    color: #5b1d16;
    background: rgba(221, 111, 90, 0.23);
}

.eolm-status-pill--pending {
    color: #5e4711;
    background: rgba(235, 198, 97, 0.3);
}

.eolm-status-pill--missing,
.eolm-status-pill--expiring {
    color: #5e4711;
    background: rgba(235, 198, 97, 0.3);
}

.eolm-client-feedback {
    margin-bottom: 0.95rem;
    padding: 0.68rem 0.82rem;
    border-radius: var(--eolm-radius-sm);
    border-width: 1px;
    border-style: solid;
}

.eolm-client-feedback.notice-success {
    border-color: rgba(127, 181, 26, 0.4);
    background: rgba(127, 181, 26, 0.12);
}

.eolm-client-feedback.notice-error {
    border-color: rgba(221, 111, 90, 0.35);
    background: rgba(221, 111, 90, 0.12);
}

.eolm-client-feedback p {
    margin: 0;
}

.eolm-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
    gap: 1rem;
}

.eolm-payment-card-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 1rem 0;
}

.eolm-payment-card-toolbar form {
    margin: 0;
}

.eolm-card-section-title {
    margin: 1.4rem 0 0.8rem;
    color: var(--eolm-ink);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    letter-spacing: -0.02em;
}

.eolm-payment-card {
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid var(--eolm-line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(12, 94, 200, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
    box-shadow: 0 16px 42px rgba(14, 30, 54, 0.08);
}

.eolm-payment-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.eolm-payment-card__eyebrow {
    margin: 0;
    color: var(--eolm-blue-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eolm-payment-card h4 {
    margin: 0 0 1rem;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    letter-spacing: -0.04em;
}

.eolm-payment-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.eolm-payment-card__meta dt {
    margin: 0 0 0.2rem;
    color: var(--eolm-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eolm-payment-card__meta dd {
    margin: 0;
    font-weight: 700;
    word-break: break-word;
}

.eolm-payment-card__notice {
    margin: 1rem 0 0;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 650;
}

.eolm-payment-card__notice--warning {
    color: #5e4711;
    background: rgba(235, 198, 97, 0.22);
}

.eolm-payment-card__notice--danger {
    color: #5b1d16;
    background: rgba(221, 111, 90, 0.17);
}

.eolm-payment-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.eolm-payment-card__actions form {
    margin: 0;
}

/* ----- Generic branded modal (eolm-modal) ----- */
/* Used for confirmations (cancel/remove card), multi-option pickers (resume,
 * change plan), and inline forms. Shares visual language with eolm-renew-modal. */
.eolm-modal[hidden] {
    display: none;
}

.eolm-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.eolm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 16, 28, 0.56);
    backdrop-filter: blur(7px);
}

.eolm-modal__dialog {
    position: relative;
    width: min(560px, 100%);
    padding: clamp(1.15rem, 3vw, 2rem);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background:
        radial-gradient(circle at 15% 0%, rgba(127, 181, 26, 0.18), transparent 32%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.94));
    box-shadow: 0 28px 80px rgba(6, 22, 47, 0.28);
}

.eolm-modal__dialog--wide {
    width: min(680px, 100%);
}

.eolm-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid var(--eolm-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--eolm-ink);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.eolm-modal__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--eolm-blue-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eolm-modal__title {
    margin: 0;
    font-size: clamp(1.35rem, 3.4vw, 1.85rem);
    letter-spacing: -0.03em;
}

.eolm-modal__lead {
    margin: 0.55rem 0 1.15rem;
    color: var(--eolm-muted);
    line-height: 1.5;
}

.eolm-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    margin-top: 1.1rem;
}

.eolm-modal__actions .eolm-button {
    min-width: 8rem;
}

.eolm-modal__choices {
    display: grid;
    gap: 0.65rem;
}

.eolm-modal-choice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 0.9rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(12, 94, 200, 0.18);
    background: rgba(255, 255, 255, 0.78);
    color: var(--eolm-ink);
    text-align: left;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.eolm-modal-choice:hover,
.eolm-modal-choice:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(12, 94, 200, 0.35);
    box-shadow: 0 18px 36px rgba(14, 30, 54, 0.12);
    outline: none;
}

.eolm-modal-choice__icon {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(12, 94, 200, 0.12);
    color: var(--eolm-blue-deep);
    font-weight: 800;
}

.eolm-modal-choice__body {
    display: grid;
    gap: 0.18rem;
}

.eolm-modal-choice__label {
    color: var(--eolm-blue-deep);
    font-weight: 800;
    font-size: 1.02rem;
}

.eolm-modal-choice__description {
    margin: 0;
    color: var(--eolm-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.eolm-modal-choice.is-featured {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--eolm-blue) 0%, var(--eolm-blue-deep) 100%);
}

.eolm-modal-choice.is-featured .eolm-modal-choice__label,
.eolm-modal-choice.is-featured .eolm-modal-choice__description {
    color: rgba(255, 255, 255, 0.92);
}

.eolm-modal-choice.is-featured .eolm-modal-choice__icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.eolm-modal-choice.is-danger .eolm-modal-choice__label {
    color: #b3261e;
}

.eolm-modal-choice.is-danger .eolm-modal-choice__icon {
    background: rgba(179, 38, 30, 0.12);
    color: #b3261e;
}

.eolm-button--danger {
    border-color: rgba(179, 38, 30, 0.5);
    background: linear-gradient(135deg, #d83a30 0%, #b3261e 100%);
    color: #fff;
}

.eolm-button--danger:hover,
.eolm-button--danger:focus-visible {
    filter: brightness(1.08);
}

.eolm-renew-modal[hidden] {
    display: none;
}

.eolm-renew-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.eolm-renew-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 16, 28, 0.56);
    backdrop-filter: blur(7px);
}

.eolm-renew-modal__dialog {
    position: relative;
    width: min(680px, 100%);
    padding: clamp(1.15rem, 3vw, 2rem);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background:
        radial-gradient(circle at 15% 0%, rgba(127, 181, 26, 0.18), transparent 32%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.94));
    box-shadow: 0 28px 80px rgba(6, 22, 47, 0.28);
}

.eolm-renew-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid var(--eolm-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--eolm-ink);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.eolm-renew-modal__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--eolm-blue-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eolm-renew-modal__dialog h3 {
    margin: 0;
    font-size: clamp(1.45rem, 4vw, 2.15rem);
    letter-spacing: -0.04em;
}

.eolm-renew-modal__lead {
    margin: 0.55rem 0 1.15rem;
    color: var(--eolm-muted);
}

.eolm-renew-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.eolm-renew-option {
    display: grid;
    gap: 0.35rem;
    min-height: 8rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(12, 94, 200, 0.16);
    color: var(--eolm-ink);
    background: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.eolm-renew-option:hover,
.eolm-renew-option:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(12, 94, 200, 0.35);
    box-shadow: 0 18px 36px rgba(14, 30, 54, 0.12);
}

.eolm-renew-option span {
    color: var(--eolm-blue-deep);
    font-weight: 800;
}

.eolm-renew-option strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

.eolm-renew-option.is-featured {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--eolm-blue) 0%, var(--eolm-blue-deep) 100%);
}

.eolm-renew-option.is-featured span {
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1024px) {
    .eolm-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

    @media (max-width: 760px) {
    .eolm-client-header {
        flex-direction: column;
        align-items: stretch;
    }

    .eolm-client-logout {
        width: fit-content;
    }

    .eolm-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .eolm-client-panel,
    .eolm-client-auth-card {
        padding: 1rem;
        border-radius: 18px;
    }

    .eolm-client-table {
        width: max(1120px, 100%);
    }

    .eolm-renew-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .eolm-payment-card__meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .eolm-download-product__top,
    .eolm-download-changelog__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .eolm-download-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .eolm-instruction-slide {
        min-height: 0;
    }

    .eolm-instruction-slide h4 {
        max-width: 100%;
    }
}
