@font-face {
    font-family: "IRANSansX";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src:
        url("fonts/iransansx/IRANSansX-Regular.woff2") format("woff2"),
        url("fonts/iransansx/IRANSansX-Regular.woff") format("woff");
}

@font-face {
    font-family: "IRANSansX";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src:
        url("fonts/iransansx/IRANSansX-Bold.woff2") format("woff2"),
        url("fonts/iransansx/IRANSansX-Bold.woff") format("woff");
}

@font-face {
    font-family: "IRANSansXFaNum";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src:
        url("fonts/iransansx/IRANSansXFaNum-Regular.woff2") format("woff2"),
        url("fonts/iransansx/IRANSansXFaNum-Regular.woff") format("woff");
}

@font-face {
    font-family: "IRANSansXFaNum";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src:
        url("fonts/iransansx/IRANSansXFaNum-Bold.woff2") format("woff2"),
        url("fonts/iransansx/IRANSansXFaNum-Bold.woff") format("woff");
}

:root {
    --mt5j-font-family: "IRANSansXFaNum", "IRANSansX", Tahoma, Arial, sans-serif;
    --mt5j-font-family-plain: "IRANSansX", Tahoma, Arial, sans-serif;
}

body.wp-admin.toplevel_page_mt5-trade-journal,
body.wp-admin[class*="_page_mt5-trade-journal"] {
    background:
        radial-gradient(circle at 8% 2%, rgba(35, 201, 214, .12), transparent 28%),
        radial-gradient(circle at 92% 0%, rgba(38, 208, 145, .08), transparent 24%),
        linear-gradient(145deg, #071015 0%, #0b151c 48%, #050b10 100%) !important;
}

body.wp-admin.toplevel_page_mt5-trade-journal #wpwrap,
body.wp-admin[class*="_page_mt5-trade-journal"] #wpwrap,
body.wp-admin.toplevel_page_mt5-trade-journal #wpcontent,
body.wp-admin[class*="_page_mt5-trade-journal"] #wpcontent,
body.wp-admin.toplevel_page_mt5-trade-journal #wpbody,
body.wp-admin[class*="_page_mt5-trade-journal"] #wpbody,
body.wp-admin.toplevel_page_mt5-trade-journal #wpbody-content,
body.wp-admin[class*="_page_mt5-trade-journal"] #wpbody-content {
    background: transparent !important;
}

body.wp-admin.toplevel_page_mt5-trade-journal #wpbody-content,
body.wp-admin[class*="_page_mt5-trade-journal"] #wpbody-content {
    min-height: calc(100vh - 32px);
    padding-bottom: 64px;
}

body.wp-admin.toplevel_page_mt5-trade-journal #wpfooter,
body.wp-admin[class*="_page_mt5-trade-journal"] #wpfooter {
    color: #8aa4b4;
}

body.wp-admin.toplevel_page_mt5-trade-journal #wpfooter a,
body.wp-admin[class*="_page_mt5-trade-journal"] #wpfooter a {
    color: #31c7df;
}

body.wp-admin.toplevel_page_mt5-trade-journal .update-nag,
body.wp-admin[class*="_page_mt5-trade-journal"] .update-nag,
body.wp-admin.toplevel_page_mt5-trade-journal .notice,
body.wp-admin[class*="_page_mt5-trade-journal"] .notice {
    border-radius: 12px;
    background: rgba(13, 24, 32, .94);
    color: #d8e8f0;
    border-color: rgba(126, 166, 190, .18);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

body.wp-admin.toplevel_page_mt5-trade-journal .update-nag a,
body.wp-admin[class*="_page_mt5-trade-journal"] .update-nag a,
body.wp-admin.toplevel_page_mt5-trade-journal .notice a,
body.wp-admin[class*="_page_mt5-trade-journal"] .notice a {
    color: #48d9ef;
}

.mt5j-shell {
    --bg: #090d14;
    --panel: #111823;
    --panel-2: #151d2b;
    --line: #243247;
    --text: #e5edf7;
    --muted: #8ea0b8;
    --cyan: #10bdf2;
    --green: #0fc990;
    --red: #ff4d57;
    --amber: #f7bf42;
    background: var(--bg);
    color: var(--text);
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    min-height: calc(100vh - 32px);
    margin: 0 0 0 -20px;
    font-family: var(--mt5j-font-family);
}

.mt5j-shell * {
    box-sizing: border-box;
}

.mt5j-fullscreen-body {
    margin: 0;
    padding: 0;
    background: #090d14;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

/* Shared fullscreen reset for every public Journal Saz page. */
html.mt5j-fullscreen-root {
    width: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #090d14;
    scroll-padding-top: 0;
}

html.mt5j-fullscreen-root body.mt5j-fullscreen-body {
    width: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

body.mt5j-fullscreen-body > :where(.mt5j-frontend, .mt5j-dashboard-app, .mt5j-landing, .mt5j-login-gate) {
    margin-top: 0 !important;
}

.mt5j-frontend {
    margin: 0;
    min-height: 100vh;
    width: 100%;
    direction: rtl;
    text-align: right;
}

.mt5j-frontend .mt5j-sidebar {
    top: 0;
    height: 100vh;
}

.mt5j-frontend .mt5j-main {
    max-width: none;
    width: 100%;
    padding: 26px 32px;
}

.mt5j-admin-page {
    --bg: #090d14;
    --panel: #111823;
    --line: #243247;
    --text: #e5edf7;
    --muted: #8ea0b8;
    --cyan: #10bdf2;
    --green: #0fc990;
    --red: #ff4d57;
    background: var(--bg);
    color: var(--text);
    min-height: calc(100vh - 32px);
    margin: 0 0 0 -20px;
    padding: 26px;
    font-family: var(--mt5j-font-family);
}

.mt5j-login-gate,
.mt5j-payment-modal,
.mt5j-settings-panel,
.mt5j-admin-form,
.mt5j-commerce-admin,
.mt5j-analysis-page {
    font-family: var(--mt5j-font-family);
}

.mt5j-shell button,
.mt5j-shell input,
.mt5j-shell select,
.mt5j-shell textarea,
.mt5j-login-gate button,
.mt5j-login-gate input,
.mt5j-login-gate select,
.mt5j-login-gate textarea,
.mt5j-payment-modal button,
.mt5j-payment-modal input,
.mt5j-payment-modal select,
.mt5j-payment-modal textarea,
.mt5j-landing button,
.mt5j-landing input,
.mt5j-landing select,
.mt5j-landing textarea,
.mt5j-settings-panel button,
.mt5j-settings-panel input,
.mt5j-settings-panel select,
.mt5j-settings-panel textarea,
.mt5j-admin-form button,
.mt5j-admin-form input,
.mt5j-admin-form select,
.mt5j-admin-form textarea,
.mt5j-analysis-page button,
.mt5j-analysis-page input,
.mt5j-analysis-page select,
.mt5j-analysis-page textarea {
    font-family: inherit;
}

.mt5j-admin-page * {
    box-sizing: border-box;
}

.mt5j-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.mt5j-admin-head-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.mt5j-admin-head h1 {
    color: var(--text);
    margin: 0 0 7px;
}

.mt5j-admin-head p {
    color: var(--muted);
    margin: 0;
}

.mt5j-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.mt5j-token-cell {
    display: block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
    text-align: left;
    color: var(--cyan);
}

.mt5j-admin-details summary {
    cursor: pointer;
    color: var(--cyan);
}

.mt5j-admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    background: #0d131d;
    border: 1px solid #243247;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    min-width: 440px;
}

.mt5j-admin-form label {
    display: grid;
    gap: 6px;
    color: #a7b8cf;
}

.mt5j-admin-form textarea {
    min-height: 70px;
}

.mt5j-admin-roadmap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.mt5j-admin-roadmap span,
.mt5j-paywall,
.mt5j-login-gate {
    background: #0d131d;
    border: 1px solid #243247;
    border-radius: 8px;
    padding: 16px;
}

.mt5j-admin-links {
    margin-bottom: 14px;
}

.mt5j-admin-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.mt5j-admin-link-card {
    position: relative;
    min-height: 126px;
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 15px;
    border: 1px solid #243852;
    border-radius: 14px;
    background:
        radial-gradient(circle at 18% 0, rgba(16, 189, 242, .12), transparent 36%),
        #0d1522;
    color: #dcecff;
    text-decoration: none;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mt5j-admin-link-card::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 4px;
    background: linear-gradient(180deg, #10bdf2, #0fc990);
    opacity: .72;
}

.mt5j-admin-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 189, 242, .58);
    background:
        radial-gradient(circle at 18% 0, rgba(16, 189, 242, .20), transparent 38%),
        #101b2b;
    color: #fff;
}

.mt5j-admin-link-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(16, 189, 242, .12);
    border: 1px solid rgba(16, 189, 242, .22);
    color: #7fe7ff;
    font-weight: 950;
}

.mt5j-admin-link-card strong {
    color: #f5f9ff;
    font-size: 15px;
}

.mt5j-admin-link-card small {
    color: #9fb2cc;
    line-height: 1.7;
    font-weight: 700;
}

.mt5j-login-gate {
    --text: #e5edf7;
    --muted: #8ea0b8;
    --cyan: #10bdf2;
    background: #090d14;
    color: var(--text);
    max-width: 560px;
    margin: 40px auto;
    text-align: center;
}

.mt5j-login-gate p {
    color: var(--muted);
}

.mt5j-otp-gate {
    max-width: 760px;
    min-height: 100vh;
    display: grid;
    place-items: center;
    margin: 0 auto;
    background:
        radial-gradient(circle at 80% 20%, rgba(16, 189, 242, .14), transparent 34%),
        #090d14;
    border: 0;
}

.mt5j-auth-card {
    width: min(560px, calc(100vw - 32px));
    border: 1px solid rgba(16, 189, 242, .28);
    background: linear-gradient(180deg, #111b2a, #0d141f);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
    border-radius: 18px;
    padding: 28px;
    text-align: right;
}

.mt5j-auth-kicker {
    display: inline-flex;
    color: #19d3ff;
    background: rgba(16, 189, 242, .12);
    border: 1px solid rgba(16, 189, 242, .25);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 800;
}

.mt5j-auth-card h2 {
    margin: 16px 0 8px;
    font-size: 30px;
}

.mt5j-auth-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.mt5j-auth-form label,
.mt5j-settings-panel label {
    display: grid;
    gap: 8px;
    color: #a8bbd4;
    font-weight: 700;
}

.mt5j-auth-form input,
.mt5j-settings-panel input,
.mt5j-settings-panel select,
.mt5j-settings-panel textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #2a3c57;
    background: #121d2c;
    color: #f3f8ff;
    border-radius: 10px;
    padding: 10px 12px;
    direction: ltr;
    text-align: left;
}

.mt5j-settings-panel textarea {
    min-height: 96px;
    resize: vertical;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
}

.mt5j-auth-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mt5j-auth-message {
    border: 1px solid rgba(247, 191, 66, .45);
    background: rgba(247, 191, 66, .12);
    color: #ffd36d;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 14px;
    font-weight: 800;
}

.mt5j-auth-error {
    border-color: rgba(255, 77, 87, .45);
    background: rgba(255, 77, 87, .12);
    color: #ff8c94;
}

.mt5j-auth-resend {
    margin-top: 10px;
}

.mt5j-auth-resend button {
    border: 0;
    background: transparent;
    color: #19d3ff;
    cursor: pointer;
    font-weight: 800;
}

.mt5j-subscribe-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(16, 189, 242, .28);
    background: linear-gradient(135deg, rgba(16, 189, 242, .10), rgba(15, 201, 144, .07));
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    text-align: right;
}

.mt5j-subscribe-card span {
    color: #19d3ff;
    font-weight: 900;
}

.mt5j-subscribe-card h3 {
    margin: 6px 0;
    color: #fff;
    font-size: 22px;
}

.mt5j-subscribe-card p {
    margin: 0;
    color: #9fb2cc;
}

.mt5j-subscribe-card strong {
    color: #22f0b2;
    font-size: 24px;
    white-space: nowrap;
}

.mt5j-subscribe-card.is-disabled-plan {
    opacity: .72;
}

.mt5j-subscribe-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.mt5j-subscribe-features li {
    position: relative;
    color: #d8e7fb;
    font-size: 13px;
    font-weight: 800;
    padding-inline-start: 20px;
}

.mt5j-subscribe-features li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22f0b2;
    box-shadow: 0 0 0 4px rgba(34, 240, 178, .12);
}

.mt5j-purchase-plans {
    width: 100%;
}

.mt5j-purchase-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.mt5j-purchase-heading span,
.mt5j-purchase-badge,
.mt5j-payment-dialog > span {
    color: #19d3ff;
    font-weight: 900;
}

.mt5j-purchase-heading h2 {
    margin: 5px 0 0;
    color: #fff;
}

.mt5j-purchase-heading small {
    color: #91a5bf;
}

.mt5j-purchase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.mt5j-purchase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 20px;
    border: 1px solid #22334a;
    border-radius: 16px;
    background: linear-gradient(150deg, #101927, #0b121d);
}

.mt5j-purchase-card.is-recommended {
    border-color: #0fc990;
    box-shadow: 0 0 0 2px rgba(15, 201, 144, .11), 0 18px 50px rgba(0, 0, 0, .24);
    transform: translateY(-6px);
}

.mt5j-purchase-card h3 {
    color: #fff;
    margin: 0;
    font-size: 21px;
}

.mt5j-purchase-card > p {
    color: #9fb2cc;
    line-height: 1.9;
    margin: 0;
    min-height: 54px;
}

.mt5j-purchase-badge {
    align-self: flex-start;
    border: 1px solid rgba(25, 211, 255, .25);
    border-radius: 99px;
    padding: 5px 10px;
    background: rgba(25, 211, 255, .07);
    font-size: 12px;
}

.mt5j-purchase-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 58px;
}

.mt5j-purchase-price del {
    color: #7d8fa8;
}

.mt5j-purchase-price em {
    color: #ffbf69;
    font-style: normal;
    font-size: 12px;
}

.mt5j-purchase-price strong {
    width: 100%;
    color: #22f0b2;
    font-size: 25px;
}

.mt5j-purchase-price strong small {
    color: inherit;
    font-size: 13px;
}

.mt5j-purchase-card .mt5j-subscribe-features {
    grid-template-columns: 1fr;
    flex: 1;
}

.mt5j-payment-modal[hidden] {
    display: none;
}

.mt5j-payment-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.mt5j-payment-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(2, 7, 14, .78);
    backdrop-filter: blur(7px);
}

.mt5j-payment-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 24px;
    border: 1px solid #29415f;
    border-radius: 18px;
    background: #0d1623;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
}

.mt5j-payment-dialog h3 {
    color: #fff;
    margin: 7px 0 20px;
    font-size: 24px;
}

.mt5j-payment-close {
    position: absolute;
    inset-inline-end: 16px;
    top: 14px;
    border: 0;
    background: transparent;
    color: #a9bad0;
    font-size: 28px;
    cursor: pointer;
}

.mt5j-invoice-lines {
    display: grid;
    gap: 0;
    margin: 0 0 20px;
    border: 1px solid #203149;
    border-radius: 12px;
    overflow: hidden;
}

.mt5j-invoice-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 14px;
    color: #aebfd5;
    border-bottom: 1px solid #1c2b3f;
}

.mt5j-invoice-lines > div:last-child {
    border-bottom: 0;
}

.mt5j-invoice-lines > div.is-total {
    color: #fff;
    background: rgba(15, 201, 144, .08);
}

.mt5j-invoice-lines > div.is-total dd {
    color: #22f0b2;
}

.mt5j-invoice-lines dt,
.mt5j-invoice-lines dd {
    margin: 0;
}

.mt5j-payment-dialog fieldset {
    display: flex;
    gap: 12px;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #203149;
    border-radius: 10px;
    color: #d8e7fb;
}

.mt5j-payment-dialog legend {
    padding: 0 8px;
    color: #91a5bf;
}

.mt5j-payment-dialog fieldset label {
    flex: 1;
    padding: 9px;
    border-radius: 8px;
    background: #111d2c;
}

.mt5j-single-gateway {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 16px;
    padding: 13px 15px;
    border: 1px solid rgba(32, 224, 168, .28);
    border-radius: 12px;
    background: rgba(32, 224, 168, .07);
    color: #aebfd5;
}

.mt5j-single-gateway strong {
    color: #22f0b2;
}

.mt5j-no-gateway {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 106, 106, .34);
    border-radius: 12px;
    background: rgba(255, 106, 106, .08);
    color: #ffb3b3;
    line-height: 1.8;
}

.mt5j-no-gateway[hidden] {
    display: none;
}

.mt5j-payment-dialog .mt5j-btn {
    width: 100%;
}

.mt5j-payment-dialog .mt5j-btn.is-loading {
    opacity: .72;
    cursor: wait;
}

.mt5j-has-payment-modal {
    overflow: hidden;
}

/* Auth + purchase product polish */
.mt5j-login-gate.mt5j-otp-gate {
    --auth-bg: #070b12;
    --auth-panel: rgba(15, 25, 39, .90);
    --auth-panel-strong: rgba(18, 31, 49, .94);
    --auth-border: rgba(90, 188, 255, .24);
    --auth-text: #f4f8ff;
    --auth-muted: #a7b6cb;
    --auth-cyan: #19d3ff;
    --auth-green: #22f0b2;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: clamp(22px, 4vw, 54px);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(25, 211, 255, .18), transparent 28%),
        radial-gradient(circle at 20% 82%, rgba(34, 240, 178, .12), transparent 28%),
        linear-gradient(135deg, #050910 0%, #07111b 46%, #071923 100%);
    color: var(--auth-text);
}

.mt5j-login-gate .mt5j-auth-card {
    position: relative;
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: minmax(270px, .88fr) minmax(340px, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--auth-border);
    border-radius: 28px;
    background: rgba(8, 14, 24, .72);
    box-shadow: 0 36px 120px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .05);
    text-align: right;
}

.mt5j-login-gate .mt5j-auth-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 24%, transparent 74%, rgba(25, 211, 255, .08));
}

.mt5j-auth-intro,
.mt5j-auth-panel {
    position: relative;
    z-index: 1;
    padding: clamp(26px, 4vw, 46px);
}

.mt5j-auth-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    min-height: 520px;
    background:
        radial-gradient(circle at 15% 15%, rgba(25, 211, 255, .20), transparent 36%),
        linear-gradient(160deg, rgba(11, 38, 58, .92), rgba(9, 18, 30, .72));
    border-inline-end: 1px solid rgba(255, 255, 255, .08);
}

.mt5j-auth-intro h1,
.mt5j-login-gate .mt5j-auth-panel h2 {
    margin: 0;
    color: var(--auth-text) !important;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.35;
}

.mt5j-auth-intro h1 {
    max-width: 430px;
    font-size: clamp(30px, 4vw, 48px);
}

.mt5j-login-gate .mt5j-auth-panel h2 {
    margin-top: 22px;
    font-size: clamp(25px, 3vw, 34px);
}

.mt5j-auth-intro p,
.mt5j-login-gate .mt5j-auth-panel p {
    margin: 14px 0 0;
    color: var(--auth-muted);
    line-height: 2;
    font-size: 15px;
}

.mt5j-auth-kicker {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8cedff;
    background: rgba(25, 211, 255, .10);
    border: 1px solid rgba(25, 211, 255, .28);
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 900;
}

.mt5j-auth-kicker::before,
.mt5j-auth-benefits span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--auth-green);
    box-shadow: 0 0 0 6px rgba(34, 240, 178, .11);
}

.mt5j-auth-benefits {
    display: grid;
    gap: 10px;
}

.mt5j-auth-benefits span {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    color: #dfefff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    padding: 10px 12px;
    font-weight: 850;
}

.mt5j-auth-panel {
    align-self: center;
    background: var(--auth-panel);
}

.mt5j-auth-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-auth-steps span {
    display: grid;
    place-items: center;
    min-height: 42px;
    border-radius: 999px;
    color: #8ea1ba;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    font-weight: 850;
    font-size: 13px;
}

.mt5j-auth-steps span.is-active {
    color: #051019;
    background: linear-gradient(135deg, var(--auth-cyan), var(--auth-green));
    border-color: transparent;
}

.mt5j-auth-plan-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 12px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(34, 240, 178, .25);
    border-radius: 16px;
    background: rgba(34, 240, 178, .08);
}

.mt5j-auth-plan-note span {
    grid-row: span 2;
    align-self: center;
    color: #051019;
    background: var(--auth-green);
    border-radius: 999px;
    padding: 5px 9px;
    font-weight: 950;
    font-size: 12px;
}

.mt5j-auth-plan-note strong {
    color: #f7fbff;
}

.mt5j-auth-plan-note small {
    color: #9fb2cc;
}

.mt5j-auth-form {
    gap: 16px;
    margin-top: 20px;
}

.mt5j-auth-form label,
.mt5j-settings-panel label {
    color: #dbe8fa;
}

.mt5j-auth-form input,
.mt5j-settings-panel input,
.mt5j-settings-panel select,
.mt5j-settings-panel textarea {
    min-height: 52px;
    border-color: rgba(116, 153, 198, .28);
    background: rgba(8, 16, 29, .72);
    color: #f7fbff;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.mt5j-auth-form input:focus,
.mt5j-settings-panel input:focus,
.mt5j-settings-panel select:focus,
.mt5j-settings-panel textarea:focus {
    outline: none;
    border-color: rgba(25, 211, 255, .78);
    box-shadow: 0 0 0 4px rgba(25, 211, 255, .10);
}

.mt5j-auth-message {
    border-radius: 14px;
    padding: 12px 14px;
    line-height: 1.8;
}

.mt5j-auth-message.is-success {
    border-color: rgba(34, 240, 178, .38);
    background: rgba(34, 240, 178, .11);
    color: #a8ffdf;
}

.mt5j-auth-message.is-error,
.mt5j-auth-message.mt5j-auth-error {
    border-color: rgba(255, 77, 87, .45);
    background: rgba(255, 77, 87, .12);
    color: #ffb7bd;
}

.mt5j-auth-resend {
    display: flex;
    justify-content: flex-end;
}

.mt5j-auth-resend button {
    padding: 8px 0;
}

.mt5j-paywall {
    border: 1px solid rgba(25, 211, 255, .18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 85% 0, rgba(25, 211, 255, .14), transparent 34%),
        linear-gradient(180deg, #101a29, #0b121d);
    padding: 24px;
}

.mt5j-paywall-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mt5j-paywall-head span,
.mt5j-current-subscription span {
    color: #19d3ff;
    font-weight: 950;
}

.mt5j-paywall-head h2 {
    margin: 6px 0 8px;
    color: #f7fbff;
    font-size: 28px;
}

.mt5j-paywall-head p {
    max-width: 760px;
    margin: 0;
    color: #a7b6cb;
    line-height: 1.9;
}

.mt5j-current-subscription {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid rgba(25, 211, 255, .18);
    border-radius: 20px;
    background:
        radial-gradient(circle at 7% 0, rgba(34, 240, 178, .11), transparent 32%),
        rgba(255, 255, 255, .035);
}

.mt5j-current-subscription.is-active {
    border-color: rgba(34, 240, 178, .30);
    background:
        radial-gradient(circle at 7% 0, rgba(34, 240, 178, .17), transparent 32%),
        rgba(34, 240, 178, .055);
}

.mt5j-current-subscription h3 {
    margin: 5px 0 6px;
    color: #f7fbff;
    font-size: 22px;
}

.mt5j-current-subscription p {
    margin: 0;
    color: #9fb2cc;
    line-height: 1.8;
}

.mt5j-current-subscription > strong {
    display: grid;
    place-items: center;
    min-width: 150px;
    min-height: 86px;
    padding: 12px;
    color: #0b141d;
    background: linear-gradient(135deg, #22f0b2, #19d3ff);
    border-radius: 18px;
    font-size: 18px;
    text-align: center;
}

.mt5j-current-subscription > strong small {
    color: rgba(5, 16, 25, .72);
    font-size: 12px;
}

.mt5j-purchase-heading {
    align-items: flex-start;
    margin-bottom: 20px;
}

.mt5j-purchase-heading h2 {
    color: #f7fbff;
    font-size: 28px;
}

.mt5j-purchase-heading small {
    color: #9fb2cc;
    line-height: 1.8;
}

.mt5j-purchase-grid {
    gap: 18px;
}

.mt5j-purchase-card {
    gap: 14px;
    padding: 22px;
    border-color: rgba(116, 153, 198, .20);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
        #0d1724;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.mt5j-purchase-card:hover {
    transform: translateY(-3px);
    border-color: rgba(25, 211, 255, .42);
    box-shadow: 0 20px 58px rgba(0, 0, 0, .28);
}

.mt5j-purchase-card.is-recommended {
    border-color: rgba(34, 240, 178, .64);
    background:
        radial-gradient(circle at 100% 0, rgba(34, 240, 178, .16), transparent 36%),
        linear-gradient(180deg, rgba(34, 240, 178, .08), rgba(255, 255, 255, .018)),
        #0d1724;
    box-shadow: 0 0 0 1px rgba(34, 240, 178, .16), 0 24px 70px rgba(0, 0, 0, .32);
}

.mt5j-purchase-card h3 {
    color: #f7fbff;
    font-size: 23px;
}

.mt5j-purchase-card > p {
    color: #a9bad1;
    min-height: 64px;
}

.mt5j-purchase-badge {
    color: #bff7ff;
    background: rgba(25, 211, 255, .09);
}

.mt5j-purchase-price {
    align-items: flex-end;
    min-height: 72px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.mt5j-purchase-price del {
    color: #8697ad;
}

.mt5j-purchase-price em {
    color: #ffe08a;
    background: rgba(255, 191, 105, .10);
    border: 1px solid rgba(255, 191, 105, .18);
    border-radius: 999px;
    padding: 3px 8px;
    font-weight: 900;
}

.mt5j-purchase-price strong {
    color: #50ffc4;
    font-size: 30px;
    line-height: 1.2;
}

.mt5j-purchase-card .mt5j-btn {
    min-height: 48px;
    margin-top: 4px;
    justify-content: center;
    border-radius: 14px;
}

.mt5j-payment-modal {
    padding: 18px;
}

.mt5j-payment-dialog {
    width: min(100%, 560px);
    padding: 28px;
    border-color: rgba(25, 211, 255, .30);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(25, 211, 255, .11), transparent 34%),
        #0b1421;
}

.mt5j-payment-dialog h3 {
    color: #f7fbff;
}

.mt5j-invoice-lines {
    border-color: rgba(116, 153, 198, .20);
    border-radius: 16px;
}

.mt5j-invoice-lines > div {
    border-bottom-color: rgba(255, 255, 255, .07);
}

.mt5j-payment-dialog fieldset {
    border-color: rgba(116, 153, 198, .20);
    border-radius: 16px;
}

.mt5j-payment-dialog fieldset label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .045);
}

.mt5j-dashboard-notice {
    margin: 0 0 14px;
    padding: 13px 16px;
    border: 1px solid #24415c;
    border-radius: 10px;
    color: #d8e7fb;
    background: #101b29;
}

.mt5j-dashboard-notice.is-success {
    border-color: rgba(15, 201, 144, .35);
    background: rgba(15, 201, 144, .09);
}

.mt5j-dashboard-notice.is-warning {
    border-color: rgba(255, 191, 105, .35);
    background: rgba(255, 191, 105, .08);
}

.mt5j-dashboard-notice.is-error {
    border-color: rgba(255, 77, 87, .38);
    background: rgba(255, 77, 87, .09);
    color: #ffd9dc;
}

.mt5j-settings-panel {
    display: grid;
    gap: 18px;
}

.mt5j-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mt5j-settings-grid section {
    border: 1px solid #243247;
    background: #0d141f;
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.mt5j-settings-grid h2 {
    margin: 0 0 4px;
    color: #e8f2ff;
}

.mt5j-commerce-admin {
    max-width: 1380px;
}

.mt5j-commerce-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(16, 189, 242, .26);
    background:
        radial-gradient(circle at 12% 15%, rgba(16, 189, 242, .14), transparent 32%),
        linear-gradient(135deg, #101a29, #0b121d);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 18px;
}

.mt5j-commerce-hero h1 {
    margin: 8px 0 6px;
    color: #f5f9ff;
    font-size: 32px;
}

.mt5j-commerce-hero p {
    max-width: 760px;
    margin: 0;
    color: #9fb2cc;
    line-height: 1.9;
}

.mt5j-commerce-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mt5j-commerce-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.mt5j-commerce-metric {
    min-height: 116px;
    border: 1px solid #243852;
    border-radius: 16px;
    padding: 16px;
    background: linear-gradient(180deg, #111b2a, #0d1522);
    position: relative;
    overflow: hidden;
}

.mt5j-commerce-metric::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 6px;
    height: 44px;
    border-radius: 999px 999px 0 0;
    background: #12c7f4;
}

.mt5j-commerce-metric.is-good::after {
    background: #16d69d;
}

.mt5j-commerce-metric.is-warn::after {
    background: #f7bf42;
}

.mt5j-commerce-metric.is-bad::after {
    background: #ff5163;
}

.mt5j-commerce-metric span,
.mt5j-commerce-metric small {
    display: block;
    color: #9fb2cc;
}

.mt5j-commerce-metric strong {
    display: block;
    margin: 10px 0 6px;
    color: #f5f9ff;
    font-size: 24px;
}

.mt5j-commerce-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #22354d;
    border-radius: 16px;
    background: #0d1521;
}

.mt5j-commerce-tabs a {
    text-decoration: none;
    color: #a9bdd6;
    border: 1px solid #263a56;
    background: #121d2c;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 900;
}

.mt5j-commerce-tabs a:hover {
    color: #fff;
    border-color: #0ea5e9;
    background: rgba(16, 189, 242, .12);
}

.mt5j-commerce-form {
    background: transparent;
    border: 0;
    padding: 0;
}

.mt5j-commerce-section {
    border: 1px solid #243852;
    background:
        linear-gradient(180deg, rgba(17, 27, 42, .96), rgba(11, 18, 29, .96));
    border-radius: 18px;
    padding: 20px;
    display: grid;
    gap: 18px;
}

.mt5j-commerce-section + .mt5j-commerce-section {
    margin-top: 16px;
}

.mt5j-commerce-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(42, 60, 87, .8);
}

.mt5j-commerce-section-head h2 {
    margin: 6px 0;
    color: #f4f8ff;
    font-size: 24px;
}

.mt5j-commerce-section-head p {
    margin: 0;
    color: #9fb2cc;
}

.mt5j-section-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #19d3ff;
    background: rgba(16, 189, 242, .10);
    border: 1px solid rgba(16, 189, 242, .22);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    font-size: 12px;
}

.mt5j-settings-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mt5j-settings-grid-compact label {
    border: 1px solid rgba(42, 60, 87, .78);
    background: #101928;
    border-radius: 14px;
    padding: 12px;
}

.mt5j-switch-row,
.mt5j-inline-field {
    min-width: 220px;
    border: 1px solid #2a3c57;
    background: #101928;
    border-radius: 14px;
    padding: 12px;
}

.mt5j-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #e9f3ff;
    font-weight: 900;
}

.mt5j-switch-row input,
.mt5j-check-line input {
    width: 18px;
    height: 18px;
}

.mt5j-inline-field {
    display: grid;
    gap: 8px;
    color: #a8bbd4;
    font-weight: 800;
}

.mt5j-gateway-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mt5j-gateway-card {
    border: 1px solid #263a56;
    border-radius: 16px;
    padding: 16px;
    background: #0f1826;
    display: grid;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.mt5j-gateway-card.is-active {
    border-color: rgba(16, 189, 242, .62);
    background: linear-gradient(180deg, rgba(16, 189, 242, .10), rgba(15, 24, 38, 1));
}

.mt5j-gateway-card.is-active::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 4px;
    background: linear-gradient(180deg, #10bdf2, #20e0a8);
}

.mt5j-gateway-card.is-disabled {
    border-style: dashed;
    opacity: .76;
}

.mt5j-gateway-card.is-disabled .mt5j-gateway-ribbon {
    border-color: rgba(255, 196, 87, .28);
    background: rgba(255, 196, 87, .08);
    color: #ffd47d;
}

.mt5j-gateway-enable {
    padding: 10px 12px;
    border: 1px solid rgba(32, 224, 168, .22);
    border-radius: 12px;
    background: rgba(32, 224, 168, .06);
    color: #dffdf5;
}

.mt5j-gateway-ribbon {
    position: absolute;
    inset-block-start: 14px;
    inset-inline-end: 14px;
    border: 1px solid rgba(16, 189, 242, .26);
    background: rgba(16, 189, 242, .08);
    color: #9fe9ff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

.mt5j-gateway-card h3 {
    margin: 0 0 6px;
    color: #f5f9ff;
    font-size: 22px;
}

.mt5j-gateway-card p {
    margin: 0;
    color: #9fb2cc;
}

.mt5j-gateway-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mt5j-check-line {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px;
}

.mt5j-status-pill {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 900;
    border: 1px solid #28415f;
    color: #b8cce5;
    background: #111d2c;
}

.mt5j-status-pill.is-good {
    color: #20e0a8;
    border-color: rgba(32, 224, 168, .35);
    background: rgba(32, 224, 168, .10);
}

.mt5j-status-pill.is-warn {
    color: #ffd36d;
    border-color: rgba(247, 191, 66, .40);
    background: rgba(247, 191, 66, .10);
}

.mt5j-status-pill.is-bad {
    color: #ff8b95;
    border-color: rgba(255, 81, 99, .40);
    background: rgba(255, 81, 99, .10);
}

.mt5j-callback-box {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(16, 189, 242, .18);
    background: rgba(6, 14, 24, .72);
    border-radius: 14px;
    padding: 11px 12px;
}

.mt5j-callback-box span {
    color: #8ca3bf;
    font-size: 12px;
    font-weight: 900;
}

.mt5j-callback-box code {
    direction: ltr;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #7fe7ff;
    background: #07111d;
    border: 1px solid rgba(16, 189, 242, .16);
    border-radius: 10px;
    padding: 9px 10px;
}

.mt5j-payment-ops {
    margin-top: 16px;
    border: 1px solid rgba(38, 58, 86, .95);
    background:
        radial-gradient(circle at 12% 0, rgba(16, 189, 242, .10), transparent 32%),
        #0d1522;
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 14px;
}

.mt5j-payment-ops-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(38, 58, 86, .75);
}

.mt5j-payment-ops-head h3 {
    margin: 4px 0 6px;
    color: #f5f9ff;
    font-size: 23px;
}

.mt5j-payment-ops-head p {
    margin: 0;
    color: #9fb2cc;
    line-height: 1.8;
}

.mt5j-payment-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-payment-stat {
    border: 1px solid #263a56;
    background: #101928;
    border-radius: 14px;
    padding: 13px;
    display: grid;
    gap: 8px;
    min-height: 112px;
}

.mt5j-payment-stat span,
.mt5j-payment-stat small {
    color: #9fb2cc;
    font-weight: 800;
}

.mt5j-payment-stat strong {
    color: #f5f9ff;
    font-size: 24px;
    font-weight: 950;
}

.mt5j-payment-stat.is-good {
    border-color: rgba(32, 224, 168, .28);
    background: rgba(32, 224, 168, .07);
}

.mt5j-payment-stat.is-good strong {
    color: #20e0a8;
}

.mt5j-payment-stat.is-warn {
    border-color: rgba(247, 191, 66, .32);
    background: rgba(247, 191, 66, .07);
}

.mt5j-payment-stat.is-warn strong {
    color: #ffd36d;
}

.mt5j-payment-stat.is-bad {
    border-color: rgba(255, 81, 99, .34);
    background: rgba(255, 81, 99, .08);
}

.mt5j-payment-stat.is-bad strong {
    color: #ff8b95;
}

.mt5j-payment-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-payment-flow-item {
    border: 1px solid rgba(38, 58, 86, .9);
    background: rgba(11, 22, 36, .78);
    border-radius: 14px;
    padding: 13px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
}

.mt5j-payment-flow-item b {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(247, 191, 66, .12);
    color: #ffd36d;
    font-weight: 950;
}

.mt5j-payment-flow-item span {
    color: #f5f9ff;
    font-weight: 950;
}

.mt5j-payment-flow-item small {
    color: #9fb2cc;
    line-height: 1.7;
}

.mt5j-payment-flow-item.is-ready b {
    background: rgba(32, 224, 168, .12);
    color: #20e0a8;
}

.mt5j-help-strip {
    border-radius: 14px;
    padding: 13px 14px;
    font-weight: 800;
    color: #d7e5f7;
    border: 1px solid #263a56;
    background: #101928;
}

.mt5j-help-strip.is-good {
    border-color: rgba(22, 214, 157, .32);
    background: rgba(22, 214, 157, .08);
}

.mt5j-help-strip.is-warn {
    border-color: rgba(247, 191, 66, .36);
    background: rgba(247, 191, 66, .08);
}

.mt5j-plan-preview {
    min-width: 220px;
    border: 1px solid rgba(32, 224, 168, .26);
    background: rgba(32, 224, 168, .09);
    border-radius: 16px;
    padding: 13px 16px;
    display: grid;
    gap: 8px;
}

.mt5j-plan-preview span {
    color: #eaf5ff;
    font-weight: 900;
}

.mt5j-plan-preview strong {
    color: #20e0a8;
    font-size: 22px;
}

.mt5j-plan-builder-preview {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.mt5j-plan-builder-pro {
    grid-template-columns: minmax(310px, 390px) minmax(0, 1fr);
    align-items: start;
}

.mt5j-plan-card-admin {
    border: 1px solid rgba(16, 189, 242, .32);
    border-radius: 18px;
    padding: 18px;
    background:
        radial-gradient(circle at 15% 0, rgba(16, 189, 242, .18), transparent 38%),
        #0f1826;
}

.mt5j-plan-card-admin span {
    color: #19d3ff;
    font-weight: 900;
}

.mt5j-plan-card-admin h3 {
    margin: 10px 0;
    color: #fff;
    font-size: 26px;
}

.mt5j-plan-card-admin p {
    color: #9fb2cc;
    line-height: 1.9;
}

.mt5j-plan-card-pro {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 24px;
}

.mt5j-plan-badge {
    width: fit-content;
    border: 1px solid rgba(247, 191, 66, .32);
    background: rgba(247, 191, 66, .10);
    color: #ffd36d !important;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
}

.mt5j-plan-card-pro strong {
    color: #22f0b2;
    font-size: 30px;
    font-weight: 950;
}

.mt5j-plan-card-pro small {
    color: #93a8c4;
    font-weight: 800;
}

.mt5j-plan-feature-list {
    display: grid;
    gap: 8px;
    margin-top: 2px;
}

.mt5j-plan-feature-list em {
    position: relative;
    font-style: normal;
    border: 1px solid rgba(32, 224, 168, .18);
    background: rgba(32, 224, 168, .07);
    color: #e9f8ff;
    border-radius: 12px;
    padding: 9px 34px 9px 12px;
    font-weight: 800;
}

.mt5j-plan-feature-list em::before {
    content: "✓";
    position: absolute;
    inset-inline-start: auto;
    inset-inline-end: 12px;
    color: #22f0b2;
    font-weight: 950;
}

.mt5j-plan-limit-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mt5j-plan-limit-strip b {
    border: 1px solid #263a56;
    background: #101928;
    color: #dcecff;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
}

.mt5j-plan-preview-cta {
    width: 100%;
    border: 1px solid rgba(16, 189, 242, .55);
    background: linear-gradient(135deg, #009bd4, #0fc990);
    color: #fff;
    border-radius: 12px;
    padding: 13px;
    font-weight: 950;
    cursor: default;
}

.mt5j-plan-admin-editor {
    display: grid;
    gap: 14px;
}

.mt5j-plan-description-field {
    margin: 0;
}

.mt5j-plan-features-editor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mt5j-plan-admin-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-plan-admin-insights span {
    border: 1px solid rgba(16, 189, 242, .22);
    background: rgba(16, 189, 242, .06);
    color: #9fb2cc;
    border-radius: 12px;
    padding: 12px;
    font-weight: 800;
}

.mt5j-plan-admin-insights b {
    display: block;
    margin-top: 5px;
    color: #f5f9ff;
    font-size: 16px;
}

.mt5j-readiness-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mt5j-readiness-item {
    border: 1px solid #263a56;
    background: #101928;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 8px;
}

.mt5j-readiness-item span {
    width: fit-content;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

.mt5j-readiness-item strong {
    color: #f5f9ff;
    font-size: 17px;
}

.mt5j-readiness-item small {
    color: #9fb2cc;
    line-height: 1.8;
}

.mt5j-readiness-item.is-ready {
    border-color: rgba(32, 224, 168, .28);
    background: rgba(32, 224, 168, .07);
}

.mt5j-readiness-item.is-ready span {
    color: #20e0a8;
    background: rgba(32, 224, 168, .12);
}

.mt5j-readiness-item.is-missing {
    border-color: rgba(247, 191, 66, .32);
    background: rgba(247, 191, 66, .07);
}

.mt5j-readiness-item.is-missing span {
    color: #ffd36d;
    background: rgba(247, 191, 66, .12);
}

.mt5j-commerce-savebar {
    position: sticky;
    bottom: 16px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
    border: 1px solid rgba(16, 189, 242, .26);
    background: rgba(9, 13, 20, .92);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.mt5j-commerce-savebar strong,
.mt5j-commerce-savebar span {
    display: block;
}

.mt5j-commerce-savebar strong {
    color: #f5f9ff;
}

.mt5j-commerce-savebar span {
    margin-top: 4px;
    color: #9fb2cc;
}

.mt5j-sidebar {
    border-left: 1px solid var(--line);
    padding: 22px 18px;
    background: #070b11;
    position: sticky;
    top: 32px;
    height: calc(100vh - 32px);
}

.mt5j-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
}

.mt5j-logo {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #0e99ff, #0fc990);
    color: white;
    font-weight: 800;
}

.mt5j-brand strong,
.mt5j-brand small {
    display: block;
}

.mt5j-brand small {
    color: var(--muted);
    margin-top: 4px;
}

.mt5j-sidebar a {
    color: #b7c5d9;
    display: block;
    text-decoration: none;
    padding: 13px 14px;
    border-radius: 8px;
    margin-bottom: 7px;
    border: 1px solid transparent;
}

.mt5j-sidebar a.is-active,
.mt5j-sidebar a:hover {
    color: white;
    background: #082333;
    border-color: #0a5d7d;
}

.mt5j-main {
    padding: 26px;
    max-width: 1480px;
    width: 100%;
}

.mt5j-topbar,
.mt5j-card-head,
.mt5j-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.mt5j-topbar {
    margin-bottom: 18px;
}

.mt5j-topbar h1 {
    color: var(--text);
    margin: 0 0 6px;
    font-size: 26px;
}

.mt5j-topbar p,
.mt5j-card-head span {
    color: var(--muted);
    margin: 0;
}

.mt5j-api-pill,
.mt5j-api-box {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}

.mt5j-api-pill code,
.mt5j-api-box code {
    display: block;
    direction: ltr;
    text-align: left;
    color: var(--cyan);
    background: #07131c;
    padding: 8px;
    border-radius: 6px;
    margin: 6px 0 14px;
}

.mt5j-grid {
    display: grid;
    gap: 14px;
}

.mt5j-kpis {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 14px;
}

.mt5j-dashboard {
    grid-template-columns: 1.4fr 0.8fr;
    margin-bottom: 14px;
}

.mt5j-card {
    background: linear-gradient(180deg, var(--panel), #101620);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.mt5j-wide {
    min-width: 0;
}

.mt5j-kpi {
    min-height: 110px;
    position: relative;
    overflow: hidden;
}

.mt5j-kpi:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 7px;
    height: 38px;
    border-radius: 8px 0 0 0;
    background: linear-gradient(180deg, var(--cyan), var(--green));
}

.mt5j-kpi span,
.mt5j-kpi small {
    color: var(--muted);
}

.mt5j-kpi strong {
    display: block;
    color: var(--text);
    font-size: 26px;
    margin: 14px 0 8px;
}

.mt5j-card h2 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
}

.mt5j-stat-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.mt5j-stat-list span {
    background: #0d131d;
    border: 1px solid #1e2a3b;
    border-radius: 8px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    padding: 12px;
}

.mt5j-stat-list b,
.is-win {
    color: var(--green);
}

.is-loss {
    color: var(--red);
}

.mt5j-money {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mt5j-money.is-win {
    color: var(--app-green, var(--green));
}

.mt5j-money.is-loss {
    color: var(--app-red, var(--red));
}

.mt5j-money.is-flat {
    color: #d7e2f0;
}

.mt5j-heatmap {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    gap: 5px;
    min-height: 96px;
    align-content: center;
}

.mt5j-day {
    aspect-ratio: 1;
    border-radius: 4px;
    background: #1a2635;
    border: 1px solid #223249;
}

.mt5j-day[data-level="1"] { background: #0f514c; }
.mt5j-day[data-level="2"] { background: #0d8b6a; }
.mt5j-day[data-level="3"] { background: #12c890; }

.mt5j-table-wrap {
    overflow-x: auto;
    margin-top: 14px;
}

.mt5j-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 940px;
}

.mt5j-table th,
.mt5j-table td {
    border-bottom: 1px solid #202c3d;
    padding: 13px 10px;
    color: #c7d4e7;
    text-align: right;
}

.mt5j-table th {
    color: #8fa2bb;
    font-size: 12px;
    background: #0d131d;
}

.mt5j-status {
    background: #132335;
    border: 1px solid #234561;
    color: var(--cyan);
    border-radius: 999px;
    padding: 4px 9px;
}

.mt5j-actions input,
.mt5j-form input,
.mt5j-form select,
.mt5j-form textarea,
.mt5j-admin-form input,
.mt5j-admin-form select,
.mt5j-admin-form textarea {
    background: #111827;
    border: 1px solid #2a3950;
    color: var(--text);
    border-radius: 8px;
    min-height: 40px;
    padding: 8px 10px;
    width: 100%;
}

.mt5j-form textarea {
    min-height: 92px;
    resize: vertical;
}

.mt5j-btn {
    border: 1px solid #2a4861;
    background: #142235;
    color: var(--text);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
}

.mt5j-primary {
    background: #0799d5;
    border-color: #11bdf2;
    margin-top: 16px;
}

.mt5j-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
    padding: 8px;
    background: #0d131d;
    border: 1px solid #202c3d;
    border-radius: 8px;
}

.mt5j-tabs button {
    background: transparent;
    color: #91a2b9;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
}

.mt5j-tabs button.is-active {
    color: #fff;
    background: #083149;
    border-color: #0b6d94;
}

.mt5j-tab-panel {
    display: none;
}

.mt5j-tab-panel.is-active {
    display: block;
}

.mt5j-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mt5j-form label {
    color: #a7b8cf;
    display: grid;
    gap: 7px;
}

.mt5j-full {
    grid-column: 1 / -1;
}

.mt5j-checks,
.mt5j-tags {
    display: grid;
    gap: 10px;
}

.mt5j-checks label,
.mt5j-tags span,
.mt5j-upload-zone {
    background: #0d131d;
    border: 1px solid #213049;
    border-radius: 8px;
    padding: 14px;
}

.mt5j-tags {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mt5j-tags span {
    color: var(--cyan);
    text-align: center;
}

.mt5j-upload-zone {
    min-height: 120px;
    display: grid;
    place-items: center;
    border-style: dashed;
    color: var(--cyan);
    margin-bottom: 12px;
}

.mt5j-accounts-page {
    display: grid;
    gap: 18px;
}

.mt5j-accounts-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
    align-items: stretch;
    background:
        radial-gradient(circle at 16% 20%, rgba(16, 189, 242, .18), transparent 34%),
        linear-gradient(135deg, rgba(17, 24, 35, .98), rgba(8, 46, 66, .82));
    border: 1px solid rgba(16, 189, 242, .22);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.mt5j-accounts-hero > div:first-child {
    display: grid;
    align-content: center;
    gap: 10px;
}

.mt5j-accounts-hero span {
    color: #53d7ff;
    font-weight: 700;
}

.mt5j-accounts-hero h2 {
    margin: 0;
    max-width: 780px;
    color: #fff;
    font-size: 28px;
    line-height: 1.7;
}

.mt5j-accounts-hero p {
    margin: 0;
    max-width: 760px;
    color: #a9bad0;
    line-height: 2;
}

.mt5j-accounts-capacity {
    display: grid;
    gap: 8px;
    align-content: center;
    justify-items: center;
    min-height: 178px;
    background: rgba(5, 12, 22, .58);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 18px;
    text-align: center;
}

.mt5j-accounts-capacity small,
.mt5j-accounts-capacity span {
    color: #8ea0b8;
}

.mt5j-accounts-capacity strong {
    color: #fff;
    font-size: 44px;
    line-height: 1;
}

.mt5j-accounts-capacity em {
    color: #53d7ff;
    font-style: normal;
    font-size: 24px;
}

.mt5j-accounts-capacity a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 189, 242, .13);
    border: 1px solid rgba(16, 189, 242, .34);
    color: #9be8ff;
    text-decoration: none;
}

.mt5j-account-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 48px 22px;
    background: #0d131d;
    border: 1px dashed #2a4861;
    border-radius: 22px;
    text-align: center;
}

.mt5j-account-empty i {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: rgba(16, 189, 242, .12);
    color: #53d7ff;
    font-style: normal;
    font-size: 32px;
}

.mt5j-account-empty h3 {
    margin: 0;
    color: #fff;
    font-size: 22px;
}

.mt5j-account-empty p {
    max-width: 620px;
    margin: 0;
    color: #9cadc4;
    line-height: 2;
}

.mt5j-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mt5j-account-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(21, 29, 43, .96), rgba(13, 19, 29, .98)),
        radial-gradient(circle at top left, rgba(16, 189, 242, .15), transparent 34%);
    border: 1px solid rgba(56, 78, 110, .78);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .24);
}

.mt5j-account-card.is-default {
    border-color: rgba(16, 189, 242, .55);
}

.mt5j-account-card.is-inactive {
    opacity: .76;
    background: linear-gradient(180deg, rgba(20, 24, 33, .95), rgba(11, 14, 20, .98));
}

.mt5j-account-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.mt5j-account-card-head h3 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: 20px;
}

.mt5j-account-card-head span {
    color: #58d8ff;
    font-weight: 700;
}

.mt5j-account-card-head p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: #9cadc4;
}

.mt5j-account-card-head em {
    color: #71839c;
    font-style: normal;
}

.mt5j-account-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.mt5j-account-badges small {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #c7d5e8;
    font-size: 12px;
}

.mt5j-account-badges .is-live {
    background: rgba(15, 201, 144, .14);
    border-color: rgba(15, 201, 144, .3);
    color: #66f2c4;
}

.mt5j-account-badges .is-muted {
    background: rgba(255, 77, 87, .12);
    border-color: rgba(255, 77, 87, .25);
    color: #ff9aa0;
}

.mt5j-account-badges .is-default {
    background: rgba(16, 189, 242, .13);
    border-color: rgba(16, 189, 242, .3);
    color: #8fe8ff;
}

.mt5j-account-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-account-stats div {
    min-height: 74px;
    display: grid;
    align-content: center;
    gap: 6px;
    background: rgba(4, 10, 18, .42);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: 12px;
}

.mt5j-account-stats span {
    color: #8497b2;
    font-size: 12px;
}

.mt5j-account-stats b {
    color: #eef6ff;
    font-size: 15px;
}

.mt5j-account-stats .is-positive {
    color: #65f2c5;
}

.mt5j-account-stats .is-negative {
    color: #ff8b93;
}

.mt5j-account-form {
    display: grid;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.mt5j-account-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mt5j-account-form label {
    display: grid;
    gap: 7px;
    color: #a7b8cf;
    font-size: 13px;
}

.mt5j-account-form input,
.mt5j-account-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 11px;
    background: #101827;
    border: 1px solid #28384f;
    color: #eef6ff;
}

.mt5j-account-form input:focus,
.mt5j-account-form select:focus {
    outline: none;
    border-color: #10bdf2;
    box-shadow: 0 0 0 3px rgba(16, 189, 242, .12);
}

.mt5j-account-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #7588a2;
    font-size: 12px;
}

.mt5j-account-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.mt5j-account-actions .mt5j-primary {
    margin-top: 0;
}

.mt5j-account-actions .is-danger {
    border-color: rgba(255, 77, 87, .36);
    background: rgba(255, 77, 87, .1);
    color: #ffb6bb;
}

.mt5j-account-overview-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .9fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 12% 20%, rgba(16, 189, 242, .14), transparent 34%),
        linear-gradient(135deg, rgba(17, 24, 35, .96), rgba(11, 18, 29, .98));
    border: 1px solid rgba(16, 189, 242, .22);
}

.mt5j-account-overview-main {
    display: grid;
    gap: 6px;
}

.mt5j-account-overview-main span {
    color: #57d9ff;
    font-weight: 700;
}

.mt5j-account-overview-main h2 {
    margin: 0;
    color: #fff;
    font-size: 21px;
}

.mt5j-account-overview-main p {
    margin: 0;
    color: #9cadc4;
    line-height: 1.9;
}

.mt5j-account-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-account-overview-stats span {
    display: grid;
    gap: 5px;
    min-height: 68px;
    align-content: center;
    padding: 10px 12px;
    background: rgba(4, 10, 18, .42);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
}

.mt5j-account-overview-stats small {
    color: #8497b2;
}

.mt5j-account-overview-stats b {
    color: #eef6ff;
    font-size: 13px;
}

.mt5j-account-overview-actions {
    display: grid;
    gap: 8px;
}

.mt5j-expert-account-readiness {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid rgba(16, 189, 242, .22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(13, 19, 29, .98), rgba(6, 37, 53, .72));
}

.mt5j-expert-account-readiness h3 {
    margin: 5px 0 7px;
    color: #fff;
}

.mt5j-expert-account-readiness span {
    color: #53d7ff;
    font-weight: 700;
}

.mt5j-expert-account-readiness p {
    margin: 0;
    color: #9cadc4;
    line-height: 1.9;
}

.mt5j-expert-account-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mt5j-expert-account-pills span {
    min-width: 82px;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(4, 10, 18, .42);
    border: 1px solid rgba(255, 255, 255, .07);
}

.mt5j-expert-account-pills b {
    color: #fff;
    font-size: 20px;
}

.mt5j-expert-account-pills small {
    color: #8ea0b8;
    font-size: 11px;
}

.mt5j-admin-account-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 28px;
    border-radius: 999px;
    background: rgba(15, 201, 144, .13);
    border: 1px solid rgba(15, 201, 144, .32);
    color: #73f2c8;
    font-weight: 700;
}

.mt5j-admin-account-pill.is-full {
    background: rgba(247, 191, 66, .13);
    border-color: rgba(247, 191, 66, .34);
    color: #ffd77a;
}

@media (max-width: 1100px) {
    .mt5j-shell {
        grid-template-columns: 1fr;
    }

    .mt5j-sidebar {
        position: static;
        height: auto;
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }

    .mt5j-brand {
        min-width: 180px;
        margin-bottom: 0;
    }

    .mt5j-sidebar a {
        white-space: nowrap;
    }

    .mt5j-kpis,
    .mt5j-dashboard,
    .mt5j-form-grid,
    .mt5j-admin-grid,
    .mt5j-admin-link-grid,
    .mt5j-admin-roadmap,
    .mt5j-admin-form {
        grid-template-columns: 1fr;
    }

    .mt5j-topbar,
    .mt5j-admin-head {
        display: block;
    }

    .mt5j-admin-form {
        min-width: 0;
    }
}

/* Frontend dashboard app */
.mt5j-dashboard-app {
    --app-bg: #080c12;
    --app-card: #121924;
    --app-card-2: #151d2a;
    --app-line: #223044;
    --app-soft: #8da0bb;
    --app-text: #e8f0fb;
    --app-cyan: #0bb9f4;
    --app-green: #10c992;
    --app-red: #ff4855;
    --app-blue: #2d7df7;
    direction: ltr;
    grid-template-columns: minmax(0, 1fr) 252px;
    background: var(--app-bg);
    min-height: 100vh;
}

.mt5j-dashboard-app.is-nav-collapsed {
    grid-template-columns: minmax(0, 1fr) 76px;
}

.mt5j-dashboard-app .mt5j-app-sidebar {
    grid-column: 2;
    grid-row: 1;
    direction: rtl;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 12px 14px;
    background: #070b11;
    border-right: 1px solid #121b28;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mt5j-dashboard-app .mt5j-dashboard-main {
    grid-column: 1;
    grid-row: 1;
    direction: rtl;
    padding: 0 28px 30px;
    min-width: 0;
}

.mt5j-drawer-toggle,
.mt5j-drawer-backdrop {
    display: none;
}

.mt5j-nav-toggle {
    width: 32px;
    height: 32px;
    min-height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 23, 35, .72);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 10px;
    color: #88a2c3;
    cursor: pointer;
    margin: 0;
    transition: .18s ease;
}

.mt5j-nav-toggle:hover {
    color: #eaf7ff;
    border-color: rgba(16, 189, 242, .34);
    background: rgba(16, 189, 242, .10);
}

.mt5j-nav-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-1px);
}

.mt5j-app-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    color: var(--app-text);
    padding: 6px 2px 10px;
}

.mt5j-app-brand strong,
.mt5j-app-brand small {
    display: block;
}

.mt5j-app-brand strong {
    font-size: 16px;
    line-height: 1.3;
}

.mt5j-app-brand small {
    margin-top: 2px;
    font-size: 12px;
}

.mt5j-app-brand small,
.mt5j-app-nav a {
    color: var(--app-soft);
}

.mt5j-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5ff, #175cff);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(45, 125, 247, .20);
}

.mt5j-subscription-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 20px;
    margin-top: 7px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.4;
    text-decoration: none;
    border: 1px solid rgba(16, 189, 242, .20);
    background: rgba(16, 189, 242, .08);
    color: #93e7ff;
}

.mt5j-subscription-badge.is-warning {
    border-color: rgba(245, 158, 11, .28);
    background: rgba(245, 158, 11, .10);
    color: #fcd38a;
}

.mt5j-subscription-badge.is-inactive {
    border-color: rgba(248, 113, 113, .25);
    background: rgba(127, 29, 29, .12);
    color: #fecaca;
}

.mt5j-subscription-badge:hover {
    color: #f7fbff;
    border-color: rgba(16, 189, 242, .38);
}

.mt5j-app-nav {
    display: grid;
    gap: 7px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 189, 242, .34) transparent;
}

.mt5j-nav-group {
    display: grid;
    gap: 3px;
    padding-top: 6px;
    border-top: 1px solid rgba(148, 163, 184, .07);
}

.mt5j-nav-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.mt5j-nav-group-title {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px 2px;
    color: #61738d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: -.01em;
}

.mt5j-nav-group-title::before {
    content: "";
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(16, 189, 242, .9), rgba(16, 189, 242, 0));
}

.mt5j-app-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-decoration: none;
    padding: 9px 10px;
    border-radius: 9px;
    border: 1px solid transparent;
    transition: .18s ease;
    font-size: 14px;
    line-height: 1.45;
}

.mt5j-app-nav a span {
    display: inline-grid;
    place-items: center;
    color: #9eb0ca;
    min-width: 20px;
    height: 20px;
    border-radius: 7px;
    transition: .18s ease;
    font-size: 14px;
}

.mt5j-app-nav a::before {
    content: "";
    position: absolute;
    right: -1px;
    top: 9px;
    bottom: 9px;
    width: 2px;
    border-radius: 999px 0 0 999px;
    background: transparent;
}

.mt5j-app-nav a:hover {
    color: #eef8ff;
    background: rgba(16, 189, 242, .055);
    border-color: rgba(16, 189, 242, .12);
}

.mt5j-app-nav a:hover span {
    color: #67dcff;
    background: rgba(16, 189, 242, .10);
}

.mt5j-app-nav a.is-active {
    color: white;
    background: rgba(16, 189, 242, .12);
    border-color: rgba(16, 189, 242, .24);
    box-shadow: none;
}

.mt5j-app-nav a.is-active::before {
    background: var(--app-cyan);
    box-shadow: 0 0 12px rgba(16, 189, 242, .65);
}

.mt5j-app-nav a.is-active span {
    color: #dff8ff;
    background: rgba(16, 189, 242, .14);
}

.mt5j-sidebar-actions {
    padding-top: 2px;
}

.mt5j-logout-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    border: 1px solid rgba(248, 113, 113, .22);
    border-radius: 10px;
    background: rgba(127, 29, 29, .08);
    color: #fecaca;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    transition: .18s ease;
}

.mt5j-logout-link:hover {
    border-color: rgba(248, 113, 113, .42);
    background: rgba(127, 29, 29, .18);
    color: #fff1f2;
}

.mt5j-logout-link span {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(248, 113, 113, .10);
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-app-sidebar {
    padding: 14px 10px;
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-app-brand {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-app-brand div,
.mt5j-dashboard-app.is-nav-collapsed .mt5j-nav-group-title {
    display: none;
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-app-nav {
    gap: 6px;
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-nav-group {
    gap: 6px;
    padding-top: 6px;
    border-top-color: rgba(148, 163, 184, .08);
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-app-nav a {
    justify-content: center;
    padding: 12px 0;
    font-size: 0;
    gap: 0;
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-app-nav a span {
    font-size: 16px;
    min-width: 0;
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-sidebar-actions {
    padding-top: 8px;
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-logout-link {
    min-height: 40px;
    font-size: 0;
    padding: 0;
}

.mt5j-dashboard-app.is-nav-collapsed .mt5j-logout-link span {
    font-size: 16px;
}

.mt5j-app-topbar {
    border-bottom: 1px solid #151e2b;
    display: grid;
    gap: 12px;
    direction: rtl;
    margin: 0 -28px 18px;
    padding: 14px 28px;
    background:
        radial-gradient(circle at 12% 0%, rgba(16, 189, 242, .055), transparent 32%),
        linear-gradient(180deg, rgba(8, 12, 18, .96), rgba(8, 12, 18, .74));
}

.mt5j-app-topbar-main {
    display: grid;
    grid-template-columns: auto auto minmax(210px, 280px);
    gap: 12px;
    align-items: center;
    justify-content: start;
    justify-items: start;
    direction: rtl;
}

.mt5j-app-topbar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.mt5j-app-topbar-controls.is-dashboard-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.mt5j-profile-chip,
.mt5j-clock,
.mt5j-toolbar,
.mt5j-range-tabs,
.mt5j-custom-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mt5j-toolbar,
.mt5j-range-tabs {
    min-width: 0;
    flex-wrap: wrap;
}

.mt5j-range-tabs {
    justify-content: flex-end;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 189, 242, .28) transparent;
    padding-bottom: 2px;
}

.mt5j-profile-chip {
    background: #101723;
    border: 1px solid #1d2b3f;
    border-radius: 999px;
    padding: 5px 11px;
}

.mt5j-profile-chip > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: #20324a;
    border-radius: 50%;
}

.mt5j-profile-chip b,
.mt5j-profile-chip small,
.mt5j-clock b,
.mt5j-clock small {
    display: block;
}

.mt5j-profile-chip small,
.mt5j-clock small {
    color: var(--app-soft);
}

.mt5j-clock b {
    color: white;
    font-size: 20px;
}

.mt5j-account-scope-switcher {
    display: flex;
    justify-content: stretch;
    min-width: 240px;
}

.mt5j-account-scope-switcher label {
    width: 100%;
    display: grid;
    gap: 5px;
    color: #7f93ae;
    font-size: 11px;
}

.mt5j-account-scope-switcher span {
    padding-inline-start: 2px;
}

.mt5j-account-scope-switcher select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 42px;
    padding: 8px 36px 8px 11px;
    border-radius: 13px;
    background:
        linear-gradient(45deg, transparent 50%, #cfe9ff 50%) right 14px center / 7px 7px no-repeat,
        linear-gradient(135deg, #cfe9ff 50%, transparent 50%) right 19px center / 7px 7px no-repeat,
        linear-gradient(180deg, #121b2a, #0e1521);
    border: 1px solid rgba(16, 189, 242, .24);
    color: #dcecff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
    color-scheme: dark;
}

.mt5j-account-scope-switcher select:focus {
    outline: none;
    border-color: rgba(16, 189, 242, .58);
    box-shadow: 0 0 0 3px rgba(16, 189, 242, .10);
}

.mt5j-account-scope-switcher option {
    background: #0e1521;
    color: #e8f2ff;
}

.mt5j-toolbar button,
.mt5j-toolbar a,
.mt5j-range-tabs a,
.mt5j-range-tabs button,
.mt5j-range-tabs span,
.mt5j-range-tabs b,
.mt5j-custom-range input,
.mt5j-custom-range button,
.mt5j-dashboard-filters input,
.mt5j-dashboard-filters select,
.mt5j-dashboard-filters button,
.mt5j-dashboard-filters a {
    color: #b6c5d9;
    background: #101723;
    border: 1px solid #1d2b3f;
    border-radius: 8px;
    padding: 9px 13px;
    white-space: nowrap;
}

.mt5j-range-tabs a,
.mt5j-range-tabs button,
.mt5j-dashboard-filters a {
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.mt5j-toolbar button {
    position: relative;
}

.mt5j-toolbar button b {
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    margin-right: 7px;
    color: #06111c;
    background: var(--app-cyan);
    border-radius: 999px;
    font-size: 12px;
}

.mt5j-toolbar .mt5j-new-trade {
    color: white;
    background: #06324a;
    border-color: #0b7cb0;
}

.mt5j-range-tabs b,
.mt5j-range-tabs .is-active {
    color: white;
    background: #06324a;
    border-color: #0b7cb0;
}

.mt5j-custom-range {
    grid-column: 1 / -1;
    justify-content: flex-start;
    display: none;
    margin-top: -10px;
    padding-bottom: 12px;
}

.mt5j-custom-range.is-open {
    display: flex;
}

.mt5j-custom-range label {
    color: #8ea0b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mt5j-custom-range input {
    min-width: 150px;
    color-scheme: dark;
}

.mt5j-custom-range button {
    color: white;
    background: #0a6f98;
    border-color: #10bdf2;
}

.mt5j-dashboard-filters {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(6, minmax(140px, 1fr)) auto;
    gap: 10px;
    align-items: end;
    margin-top: -10px;
    padding: 12px;
    background: #0f1621;
    border: 1px solid #1d2b3f;
    border-radius: 8px;
}

.mt5j-dashboard-filters.is-open {
    display: grid;
}

.mt5j-dashboard-customizer {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid #1d2b3f;
    border-radius: 8px;
    background: rgba(9, 16, 25, .92);
}

.mt5j-dashboard-customizer.is-open {
    display: grid;
}

.mt5j-dashboard-customizer label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 38px;
    color: #b6c5d9;
    border: 1px solid #1d2b3f;
    border-radius: 8px;
    background: #101723;
    padding: 8px 10px;
}

.mt5j-dashboard-customizer input {
    accent-color: var(--app-cyan);
}

.mt5j-card-hidden {
    display: none !important;
}

.mt5j-dashboard-filters label {
    display: grid;
    gap: 6px;
    color: #8ea0b8;
    font-size: 12px;
}

.mt5j-dashboard-filters input,
.mt5j-dashboard-filters select {
    width: 100%;
    min-width: 0;
    color: #e5edf7;
}

.mt5j-dashboard-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mt5j-dashboard-filter-actions button {
    color: white;
    background: #0a6f98;
    border-color: #10bdf2;
}

.mt5j-dashboard-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.mt5j-home-kpis,
.mt5j-home-grid {
    display: grid;
    gap: 14px;
}

.mt5j-home-kpis {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 14px;
}

.mt5j-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid #1d2b3f;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(11, 19, 30, 0.96), rgba(13, 24, 38, 0.88));
}

.mt5j-filter-summary div {
    display: grid;
    gap: 4px;
}

.mt5j-filter-summary b {
    color: #e8f1ff;
}

.mt5j-filter-summary span {
    color: #8ea0b8;
    font-size: 12px;
}

.mt5j-filter-summary p {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.mt5j-filter-summary em {
    color: #b9d7ff;
    font-style: normal;
    border: 1px solid #24415f;
    background: #101b2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
}

.mt5j-filter-summary a {
    color: var(--app-cyan);
    text-decoration: none;
    white-space: nowrap;
}

.mt5j-dash-card {
    background: linear-gradient(180deg, var(--app-card), #111823);
    border: 1px solid var(--app-line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
    color: var(--app-text);
    padding: 16px;
}

.mt5j-home-kpi {
    min-height: 118px;
    position: relative;
    overflow: hidden;
}

.mt5j-home-kpi:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 36px;
    border-radius: 7px 0 0 0;
    background: linear-gradient(180deg, var(--app-cyan), var(--app-green));
}

.mt5j-home-kpi i {
    color: #8ea0b8;
    font-style: normal;
}

.mt5j-home-kpi span,
.mt5j-home-kpi small {
    color: var(--app-soft);
    display: block;
}

.mt5j-home-kpi strong {
    display: block;
    font-size: 26px;
    color: var(--app-text);
    margin: 12px 0 8px;
}

.mt5j-home-grid-top {
    grid-template-columns: minmax(0, 2.7fr) minmax(300px, .8fr);
    margin-bottom: 14px;
}

.mt5j-equity-card {
    min-height: 430px;
}

.mt5j-equity-card canvas,
.mt5j-donut-card canvas {
    display: block;
    width: 100%;
}

.mt5j-equity-card canvas {
    min-height: 320px;
    border-radius: 8px;
}

.mt5j-home-grid-mid {
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.75fr);
    margin-bottom: 14px;
}

.mt5j-home-grid-activity {
    grid-template-columns: minmax(0, 1.75fr) minmax(320px, .65fr);
    align-items: start;
    margin-bottom: 14px;
}

.mt5j-home-grid-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mt5j-widget-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.mt5j-widget-head h2 {
    margin: 0 0 5px;
    font-size: 18px;
    color: var(--app-text);
}

.mt5j-widget-head span,
.mt5j-mini-stats {
    color: var(--app-soft);
}

.mt5j-mini-stats {
    display: flex;
    gap: 22px;
    text-align: center;
}

.mt5j-mini-stats b {
    display: block;
}

.mt5j-donut-legend,
.mt5j-horizontal-bars,
.mt5j-rule-list,
.mt5j-session-list,
.mt5j-symbol-list,
.mt5j-direction-box {
    display: grid;
    gap: 10px;
}

.mt5j-ratio-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.mt5j-ratio-row span {
    color: #a9bad1;
}

.mt5j-ratio-row i {
    grid-column: 1 / -1;
    height: 7px;
    background: #1b2535;
    border-radius: 99px;
    overflow: hidden;
}

.mt5j-ratio-row em {
    display: block;
    height: 100%;
}

.mt5j-ratio-row.green em { background: var(--app-green); }
.mt5j-ratio-row.red em { background: var(--app-red); }
.mt5j-ratio-row.blue em { background: var(--app-cyan); }

.mt5j-metric-matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mt5j-metric-matrix span,
.mt5j-direction,
.mt5j-discipline-cards span {
    background: #0f1621;
    border: 1px solid #1e2a3d;
    border-radius: 8px;
    padding: 12px;
}

.mt5j-metric-matrix small,
.mt5j-direction span,
.mt5j-direction em,
.mt5j-discipline-cards span {
    color: var(--app-soft);
}

.mt5j-metric-matrix b {
    display: block;
    margin-top: 7px;
    color: var(--app-text);
}

.mt5j-analysis-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #8da0bb;
    border-bottom: 1px solid #1e2a3d;
    padding-bottom: 8px;
    margin-bottom: 18px;
}

.mt5j-analysis-tabs button {
    appearance: none;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #8da0bb;
    cursor: pointer;
    font: inherit;
    padding: 8px 10px 11px;
}

.mt5j-analysis-tabs button:hover,
.mt5j-analysis-tabs button:focus {
    color: #d8e6f8;
    outline: none;
}

.mt5j-analysis-tabs button.is-active {
    color: #fff;
    border-bottom: 2px solid var(--app-cyan);
    margin-bottom: -10px;
}

.mt5j-horizontal-bars div {
    display: grid;
    grid-template-columns: minmax(150px, 210px) 1fr;
    gap: 16px;
    align-items: center;
    min-height: 54px;
}

.mt5j-horizontal-bars span {
    color: #9fb0c8;
    direction: rtl;
    text-align: right;
}

.mt5j-horizontal-bars strong,
.mt5j-horizontal-bars small {
    display: block;
}

.mt5j-horizontal-bars strong {
    color: #e8f1ff;
    font-size: 14px;
}

.mt5j-horizontal-bars small {
    margin-top: 5px;
    color: #7f91aa;
    font-size: 12px;
}

.mt5j-horizontal-bars i {
    height: 16px;
    border-radius: 5px;
    display: block;
}

.mt5j-horizontal-bars .is-green { background: var(--app-green); }
.mt5j-horizontal-bars .is-red { background: var(--app-red); }

.mt5j-analysis-panel[hidden] {
    display: none;
}

.mt5j-analysis-empty {
    display: grid;
    min-height: 150px;
    place-items: center;
    color: #8da0bb;
    border: 1px dashed #24344d;
    border-radius: 8px;
    background: rgba(8, 14, 22, 0.35);
    text-align: center;
}

.mt5j-activity-card .mt5j-heatmap {
    gap: 4px;
    --mt5j-heat-cell: 14px;
    min-height: calc((var(--mt5j-heat-cell) * 7) + 24px);
    align-content: start;
    align-items: start;
    justify-content: start;
    grid-auto-columns: var(--mt5j-heat-cell);
    grid-auto-rows: var(--mt5j-heat-cell);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 10px;
}

.mt5j-day.is-empty {
    visibility: hidden;
}

.mt5j-activity-card .mt5j-day {
    width: var(--mt5j-heat-cell);
    height: var(--mt5j-heat-cell);
    aspect-ratio: auto;
    box-sizing: border-box;
    flex: 0 0 var(--mt5j-heat-cell);
    background: #1c2a3c;
    border-color: #263a54;
}

.mt5j-day.is-win[data-level="1"] { background: #0f514c; }
.mt5j-day.is-win[data-level="2"] { background: #0d8b6a; }
.mt5j-day.is-win[data-level="3"] { background: #12c890; }
.mt5j-day.is-loss[data-level="1"] { background: #60202d; }
.mt5j-day.is-loss[data-level="2"] { background: #a72b3b; }
.mt5j-day.is-loss[data-level="3"] { background: #ff4d57; }
.mt5j-day.is-flat[data-level="1"],
.mt5j-day.is-flat[data-level="2"],
.mt5j-day.is-flat[data-level="3"] { background: #126a8f; }

.mt5j-heat-tooltip {
    position: fixed;
    z-index: 999999;
    width: 230px;
    direction: rtl;
    text-align: right;
    color: #dce8f7;
    background: #0f1621;
    border: 1px solid #26364f;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0,0,0,.42);
    padding: 12px;
    pointer-events: none;
}

.mt5j-heat-tooltip[hidden] {
    display: none;
}

.mt5j-heat-tooltip:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 8px 0 0 8px;
    background: #10bdf2;
}

.mt5j-heat-tooltip.is-win:before { background: var(--app-green); }
.mt5j-heat-tooltip.is-loss:before { background: var(--app-red); }
.mt5j-heat-tooltip.is-flat:before { background: var(--app-cyan); }

.mt5j-heat-tooltip b,
.mt5j-heat-tooltip strong,
.mt5j-heat-tooltip span,
.mt5j-heat-tooltip small {
    display: block;
}

.mt5j-heat-tooltip b {
    color: #8ea0b8;
    font-size: 12px;
    margin-bottom: 5px;
}

.mt5j-heat-tooltip strong {
    color: white;
    font-size: 15px;
    margin-bottom: 10px;
}

.mt5j-heat-tooltip span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #1d2b3f;
    padding-top: 8px;
    margin-top: 8px;
}

.mt5j-heat-tooltip em {
    color: #8ea0b8;
    font-style: normal;
}

.mt5j-heat-tooltip i {
    color: #eaf2ff;
    font-style: normal;
    font-weight: 700;
}

.mt5j-heat-tooltip small {
    color: #9fb0c8;
    margin-top: 9px;
}

.mt5j-heatmap-legend {
    display: flex;
    gap: 6px;
    align-items: center;
    color: var(--app-soft);
    margin-top: 12px;
}

.mt5j-heatmap-legend i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--app-green);
}

.mt5j-heatmap-legend .loss {
    background: var(--app-red);
}

.mt5j-direction strong,
.mt5j-direction b,
.mt5j-direction span,
.mt5j-session-list span,
.mt5j-rule-list span,
.mt5j-symbol-list span {
    display: block;
}

.mt5j-direction b {
    font-size: 22px;
    margin: 8px 0;
}

.mt5j-session-list span,
.mt5j-rule-list span,
.mt5j-symbol-list span {
    border-bottom: 1px solid #1e2a3d;
    padding: 10px 0;
}

.mt5j-session-list b {
    float: left;
}

.mt5j-session-list strong {
    display: block;
    color: white;
}

.mt5j-session-list em {
    color: var(--app-soft);
    font-style: normal;
}

.mt5j-rule-list span {
    display: flex;
    justify-content: space-between;
    color: var(--app-soft);
}

.mt5j-discipline-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.mt5j-discipline-cards b {
    display: block;
    color: white;
    margin-top: 8px;
}

.mt5j-checklist-insight {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #1e2a3d;
    background: #0f1621;
    color: var(--app-soft);
    direction: rtl;
    text-align: right;
}

.mt5j-checklist-insight strong {
    color: var(--app-text);
}

.mt5j-checklist-insight small {
    color: #8ea0b8;
}

.mt5j-checklist-insight.is-good {
    border-color: rgba(16,201,146,.35);
    background: rgba(16,201,146,.08);
}

.mt5j-checklist-insight.is-warning,
.mt5j-checklist-insight.is-needs-work {
    border-color: rgba(247,191,66,.35);
    background: rgba(247,191,66,.08);
}

.mt5j-checklist-insight.is-no-data {
    border-style: dashed;
}

.mt5j-symbol-list span {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.mt5j-symbol-list i {
    height: 6px;
    border-radius: 99px;
    background: var(--app-cyan);
}

.mt5j-app-topbar-page {
    grid-template-columns: 1fr;
}

.mt5j-page-title h1,
.mt5j-breadcrumb {
    margin: 0;
    color: var(--app-text);
}

.mt5j-page-title h1 {
    font-size: 28px;
    text-align: center;
}

.mt5j-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mt5j-breadcrumb a {
    color: #90a3bd;
    text-decoration: none;
}

.mt5j-breadcrumb b {
    color: var(--app-cyan);
}

.mt5j-toolbar a,
.mt5j-toolbar button {
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.mt5j-list-page {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow-x: hidden;
}

.mt5j-add-page {
    max-width: 1320px;
    margin: 0 auto;
}

.mt5j-list-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0 22px;
    flex-wrap: wrap;
    padding: 10px;
    background: rgba(16, 23, 34, .72);
    border: 1px solid #1d2b3f;
    border-radius: 14px;
}

.mt5j-list-actions button,
.mt5j-check-filter-group button,
.mt5j-pagination button,
.mt5j-pagination span,
.mt5j-pagination b {
    background: #101723;
    border: 1px solid #1d2b3f;
    color: #b7c7dd;
    border-radius: 10px;
    min-height: 42px;
    padding: 0 15px;
}

.mt5j-list-action-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mt5j-list-action,
.mt5j-bulk-actions button {
    cursor: pointer;
}

.mt5j-check-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    direction: rtl;
}

.mt5j-check-filter-group button {
    min-height: 34px;
    border-radius: 999px;
    font-size: 12px;
}

.mt5j-check-filter-group .is-active,
.mt5j-list-actions button:hover {
    color: var(--app-cyan);
    border-color: #075d80;
    background: #062638;
}

.mt5j-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(10, 168, 220, .08);
    border: 1px solid rgba(10, 168, 220, .22);
}

.mt5j-bulk-actions[hidden] {
    display: none;
}

.mt5j-bulk-actions strong {
    color: #dce7f6;
    font-size: 13px;
    padding: 0 6px;
}

.mt5j-bulk-actions .is-danger {
    color: #ffd8dc;
    border-color: rgba(255,72,85,.45);
    background: rgba(255,72,85,.15);
}

.mt5j-bulk-actions .is-danger:hover {
    color: #fff;
    border-color: rgba(255,72,85,.72);
    background: rgba(255,72,85,.26);
}

.mt5j-journals-table-card,
.mt5j-pagination,
.mt5j-journal-tabs,
.mt5j-form-card {
    background: #101722;
    border: 1px solid #1f2d42;
    border-radius: 12px;
}

.mt5j-journals-table-card {
    overflow: hidden;
    width: 100%;
}

.mt5j-journal-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    color: #dce7f6;
    table-layout: fixed;
    font-size: 13px;
    line-height: 1.35;
}

.mt5j-journal-table th,
.mt5j-journal-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #1a2637;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.mt5j-journal-table th {
    color: #cdd7e6;
    background: #151b25;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0;
}

.mt5j-journal-table td {
    color: #b8c7da;
}

.mt5j-journal-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,.018);
}

.mt5j-journal-table small {
    display: block;
    color: #7f91ab;
    margin-top: 3px;
}

.mt5j-journal-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--app-cyan);
}

.mt5j-col-select { width: 42px; text-align: center !important; }
.mt5j-col-title { width: 13%; }
.mt5j-col-symbol { width: 7%; }
.mt5j-col-direction { width: 5%; }
.mt5j-col-volume { width: 5%; }
.mt5j-col-tf { width: 7%; }
.mt5j-col-date { width: 9%; }
.mt5j-col-time { width: 5%; }
.mt5j-col-commission { width: 6%; }
.mt5j-col-rr { width: 6%; }
.mt5j-col-checklist { width: 8%; }
.mt5j-col-result { width: 7%; }
.mt5j-col-media { width: 7%; }
.mt5j-col-actions { width: 6%; text-align: center !important; }

.mt5j-check-score {
    min-width: 82px;
    min-height: 34px;
    display: inline-grid;
    grid-template-columns: auto auto;
    gap: 7px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #233249;
    background: #0d131d;
    color: #9fb0c8;
    direction: rtl;
    text-align: center;
}

.mt5j-check-score b,
.mt5j-check-score small {
    display: block;
    line-height: 1;
}

.mt5j-check-score small {
    font-size: 10px;
    margin: 0;
    color: inherit;
}

.mt5j-check-score.is-good {
    color: var(--app-green);
    border-color: rgba(16,201,146,.42);
    background: rgba(16,201,146,.12);
}

.mt5j-check-score.is-warn {
    color: #f7bf42;
    border-color: rgba(247,191,66,.42);
    background: rgba(247,191,66,.12);
}

.mt5j-check-score.is-danger {
    color: var(--app-red);
    border-color: rgba(255,72,85,.42);
    background: rgba(255,72,85,.12);
}

.mt5j-check-score.is-empty {
    color: #7f91ab;
    border-style: dashed;
}

.mt5j-row-menu {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #8799b3;
    font-size: 22px;
    cursor: pointer;
}

.mt5j-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    direction: rtl;
}

.mt5j-row-actions button,
.mt5j-row-actions a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid #26364e;
    border-radius: 9px;
    background: #111923;
    color: #9fb0c8;
    cursor: pointer;
    transition: .16s ease;
    text-decoration: none;
}

.mt5j-row-actions button:hover,
.mt5j-row-actions a:hover {
    color: #fff;
    border-color: #0aa8dc;
    background: #082536;
}

.mt5j-row-actions [data-journal-delete]:hover {
    border-color: rgba(255,72,85,.55);
    background: rgba(255,72,85,.14);
    color: #ff737d;
}

.mt5j-title-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    max-width: 100%;
    white-space: nowrap;
}

.mt5j-title-cell b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mt5j-inline-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: .9;
}

.mt5j-inline-actions button,
.mt5j-inline-actions a {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 1px solid #26364e;
    border-radius: 8px;
    background: #0d1520;
    color: #a9bad1;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    flex: 0 0 auto;
}

.mt5j-inline-actions button:hover,
.mt5j-inline-actions a:hover {
    border-color: #0aa8dc;
    background: #082536;
    color: #fff;
}

.mt5j-inline-actions [data-journal-delete]:hover {
    border-color: rgba(255,72,85,.55);
    background: rgba(255,72,85,.14);
    color: #ff737d;
}

@media (max-width: 1560px) {
    .mt5j-journal-table {
        font-size: 12.5px;
    }

    .mt5j-journal-table th,
    .mt5j-journal-table td {
        padding: 13px 8px;
    }

    .mt5j-col-commission,
    .mt5j-col-rr {
        display: none;
    }

    .mt5j-col-title { width: 17%; }
    .mt5j-col-symbol { width: 9%; }
    .mt5j-col-date { width: 12%; }
    .mt5j-col-checklist { width: 10%; }
    .mt5j-col-result { width: 9%; }
}

@media (max-width: 1180px) {
    .mt5j-col-time,
    .mt5j-col-media {
        display: none;
    }

    .mt5j-list-actions {
        align-items: stretch;
    }

    .mt5j-list-action-stack,
    .mt5j-bulk-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 820px) {
    .mt5j-col-tf,
    .mt5j-col-volume {
        display: none;
    }

    .mt5j-journal-table {
        font-size: 12px;
    }

    .mt5j-journal-table th,
    .mt5j-journal-table td {
        padding: 12px 7px;
    }

    .mt5j-row-actions a,
    .mt5j-row-actions button {
        width: 28px;
        height: 28px;
    }
}

.mt5j-journal-modal[hidden] {
    display: none;
}

.mt5j-journal-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 24px;
    direction: rtl;
    text-align: right;
}

.mt5j-journal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2,7,13,.72);
    backdrop-filter: blur(8px);
}

.mt5j-journal-dialog {
    position: relative;
    width: min(780px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid #26364e;
    border-radius: 16px;
    background: #121923;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.mt5j-journal-dialog header,
.mt5j-journal-dialog footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #1f2d42;
}

.mt5j-journal-dialog footer {
    border-top: 1px solid #1f2d42;
    border-bottom: 0;
}

.mt5j-journal-dialog h2 {
    margin: 0;
    color: #eef5ff;
    font-size: 20px;
}

.mt5j-journal-dialog header button,
.mt5j-journal-dialog footer button {
    min-height: 40px;
    border: 1px solid #26364e;
    border-radius: 10px;
    background: #182334;
    color: #d6e2f2;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 800;
}

.mt5j-journal-dialog header button {
    width: 38px;
    padding: 0;
    margin-left: auto;
}

.mt5j-journal-dialog .mt5j-modal-primary {
    background: var(--app-cyan);
    border-color: var(--app-cyan);
    color: #fff;
}

.mt5j-journal-dialog-body {
    overflow: auto;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mt5j-journal-dialog-body label {
    display: grid;
    gap: 8px;
    color: #9fb0c8;
    font-weight: 800;
}

.mt5j-journal-dialog-body input,
.mt5j-journal-dialog-body textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #26364e;
    border-radius: 10px;
    background: #171f2d;
    color: #edf5ff;
    padding: 0 14px;
    font: inherit;
}

.mt5j-journal-dialog-body textarea {
    min-height: 104px;
    padding-top: 12px;
    resize: vertical;
}

.mt5j-dialog-full {
    grid-column: 1 / -1;
}

[data-journal-edit-status] {
    margin-left: auto;
    color: #91a5bf;
    font-weight: 800;
}

[data-journal-edit-status][data-type="success"] {
    color: var(--app-green);
}

[data-journal-edit-status][data-type="error"] {
    color: var(--app-red);
}

.mt5j-empty-row td {
    text-align: center;
    color: #8293aa;
    padding: 36px;
}

.mt5j-pagination {
    min-height: 76px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.mt5j-pagination b {
    min-width: 42px;
    display: grid;
    place-items: center;
    background: var(--app-cyan);
    color: white;
    border-color: var(--app-cyan);
    border-radius: 50%;
}

.mt5j-add-page {
    max-width: 1160px;
    padding-top: 18px;
    direction: rtl;
    text-align: right;
}

.mt5j-journal-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 26px;
}

.mt5j-journal-tabs button {
    min-width: 142px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: #92a4bd;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.mt5j-journal-tabs button:hover,
.mt5j-journal-tabs button:focus-visible {
    color: #d7e8ff;
    background: rgba(11, 185, 244, .08);
    border-color: rgba(91, 143, 193, .45);
}

.mt5j-journal-tabs button:focus-visible {
    outline: 2px solid rgba(11, 185, 244, .42);
    outline-offset: 2px;
}

.mt5j-journal-tabs button.is-active {
    color: var(--app-cyan);
    background: #062638;
    border-color: #075d80;
    box-shadow: inset 0 0 0 1px rgba(11, 185, 244, .12), 0 10px 26px rgba(0, 0, 0, .16);
}

.mt5j-tab-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    border-radius: 7px;
    color: #8fb2d8;
    background: rgba(120, 156, 197, .08);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

.mt5j-tab-label {
    display: inline-block;
    white-space: nowrap;
}

.mt5j-journal-tabs button.is-active .mt5j-tab-icon {
    color: #061621;
    background: var(--app-cyan);
}

.mt5j-journal-panel {
    display: none;
}

.mt5j-journal-panel.is-active {
    display: block;
}

.mt5j-form-card {
    padding: 30px;
    min-height: 320px;
    direction: rtl;
    text-align: right;
    background: linear-gradient(180deg, rgba(21, 31, 45, .92), rgba(14, 22, 34, .96));
    border-color: rgba(56, 83, 119, .72);
}

.mt5j-form-card h2 {
    margin: 0 0 18px;
    color: white;
}

.mt5j-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 34px;
}

.mt5j-two-col label,
.mt5j-range-field {
    display: grid;
    gap: 10px;
    color: #b8c9df;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.mt5j-two-col input,
.mt5j-two-col select,
.mt5j-two-col textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid #2a3f59;
    background: #151f2d;
    color: #eef5ff;
    border-radius: 10px;
    padding: 0 16px;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.mt5j-two-col input:hover,
.mt5j-two-col select:hover,
.mt5j-two-col textarea:hover {
    border-color: #395674;
    background: #172333;
}

.mt5j-two-col input:focus,
.mt5j-two-col select:focus,
.mt5j-two-col textarea:focus {
    outline: none;
    border-color: rgba(11, 185, 244, .78);
    box-shadow: 0 0 0 3px rgba(11, 185, 244, .12), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.mt5j-two-col input[type="date"],
.mt5j-two-col input[type="datetime-local"],
.mt5j-dashboard-filters input[type="date"],
.mt5j-admin-card input[type="datetime-local"] {
    color-scheme: dark;
    direction: ltr;
    text-align: left;
    padding-inline: 16px 12px;
}

.mt5j-two-col input[type="date"]::-webkit-calendar-picker-indicator,
.mt5j-two-col input[type="datetime-local"]::-webkit-calendar-picker-indicator,
.mt5j-dashboard-filters input[type="date"]::-webkit-calendar-picker-indicator,
.mt5j-admin-card input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    width: 22px;
    height: 22px;
    margin-inline-start: 10px;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 1;
    background-color: rgba(11, 185, 244, .10);
    filter: invert(82%) sepia(38%) saturate(751%) hue-rotate(171deg) brightness(101%) contrast(96%);
    transition: background-color .18s ease, filter .18s ease, box-shadow .18s ease;
}

.mt5j-two-col input[type="date"]::-webkit-calendar-picker-indicator:hover,
.mt5j-two-col input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover,
.mt5j-dashboard-filters input[type="date"]::-webkit-calendar-picker-indicator:hover,
.mt5j-admin-card input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(11, 185, 244, .22);
    filter: invert(71%) sepia(94%) saturate(1541%) hue-rotate(157deg) brightness(103%) contrast(96%);
    box-shadow: 0 0 0 3px rgba(11, 185, 244, .12);
}

.mt5j-two-col textarea {
    min-height: 108px;
    padding-top: 14px;
    resize: vertical;
}

.mt5j-full {
    grid-column: 1 / -1;
}

.mt5j-segmented {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    background: #111a27;
    border: 1px solid #2a3f59;
    border-radius: 12px;
    overflow: hidden;
    min-height: 54px;
    padding: 4px;
}

.mt5j-segmented input {
    display: none;
}

.mt5j-segmented label {
    display: grid;
    place-items: center;
    min-height: 44px;
    color: #99abc2;
    cursor: pointer;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 900;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.mt5j-segmented label:hover {
    color: #d7e8ff;
    background: rgba(255, 255, 255, .035);
}

.mt5j-segmented input:checked + label {
    color: var(--app-green);
    background: rgba(16,201,146,.18);
    box-shadow: inset 0 0 0 1px rgba(16,201,146,.35);
}

#mt5j-dir-sell:checked + label,
#mt5j-loss:checked + label {
    color: var(--app-red);
    background: rgba(255,72,85,.14);
    box-shadow: inset 0 0 0 1px rgba(255,72,85,.34);
}

.mt5j-switch-line {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #151f2d;
    border: 1px solid #2a3f59;
    border-radius: 10px;
    padding: 0 16px;
    color: #d4e2f4;
    font-size: 15px;
    font-weight: 800;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.mt5j-switch-line:hover {
    border-color: #395674;
    background: #172333;
}

.mt5j-switch-line input {
    appearance: none;
    width: 54px;
    min-width: 54px;
    height: 30px;
    min-height: 30px;
    flex: 0 0 54px;
    border: 1px solid #37506d;
    border-radius: 999px;
    background: #0d1724;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, .30);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.mt5j-switch-line input:checked {
    background: linear-gradient(90deg, #0baee6, #13c994);
    border-color: rgba(11, 185, 244, .78);
    box-shadow: 0 0 0 2px rgba(11, 185, 244, .10), inset 0 1px 4px rgba(255, 255, 255, .12);
}

.mt5j-switch-line input:after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    left: 4px;
    top: 3px;
    background: #8fa5be;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .32);
    transition: transform .18s ease, background .18s ease;
}

.mt5j-switch-line input:checked:after {
    transform: translateX(23px);
    background: #ffffff;
}

.mt5j-switch-line input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 185, 244, .18), inset 0 1px 4px rgba(0, 0, 0, .35);
}

.mt5j-checklist-lines input,
.mt5j-emotion-box input {
    accent-color: var(--app-cyan);
}

.mt5j-optional {
    margin-top: 30px;
    border-top: 1px solid rgba(56, 83, 119, .52);
    padding-top: 24px;
}

.mt5j-optional summary {
    cursor: pointer;
    color: #d8e7f8;
    font-weight: 800;
    background: #151f2d;
    border: 1px solid #2a3f59;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
    transition: border-color .18s ease, background .18s ease;
}

.mt5j-optional summary:hover {
    background: #172333;
    border-color: #395674;
}

.mt5j-form-divider {
    height: 1px;
    background: rgba(56, 83, 119, .52);
    margin: 32px 0;
}

.mt5j-check-progress {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    color: #a7b8cf;
    margin-bottom: 22px;
}

.mt5j-check-progress i {
    grid-column: 1 / -1;
    height: 7px;
    background: var(--app-cyan);
    border-radius: 99px;
}

.mt5j-checklist-lines,
.mt5j-emotion-box {
    display: grid;
    gap: 12px;
}

.mt5j-checklist-lines label,
.mt5j-emotion-box label,
.mt5j-tag-row {
    min-height: 42px;
    background: #111923;
    border: 1px solid #1d2a3e;
    border-radius: 9px;
    padding: 10px 14px;
    color: #c2d0e2;
}

.mt5j-upload-zone {
    min-height: 168px;
    border: 2px dashed #0776a8;
    border-radius: 14px;
    background: #0d2130;
    color: var(--app-cyan);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    margin-bottom: 34px;
}

.mt5j-upload-zone b {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #073248;
    font-size: 24px;
}

.mt5j-upload-zone span,
.mt5j-coming-soon p {
    color: #91a5bf;
}

.mt5j-media-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(0, 191, 255, .35);
    border-radius: 999px;
    color: var(--app-cyan);
    background: rgba(0, 191, 255, .08);
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.mt5j-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin: 0 0 24px;
}

.mt5j-media-panel {
    display: grid;
    gap: 22px;
}

.mt5j-media-panel ~ h2,
.mt5j-media-panel ~ .mt5j-media-grid,
.mt5j-media-panel ~ .mt5j-upload-zone {
    display: none !important;
}

.mt5j-media-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid #263951;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 27, 41, .92), rgba(11, 20, 32, .86));
}

.mt5j-media-head h2 {
    margin: 0 0 6px;
    color: #f3f8ff;
    font-size: 24px;
}

.mt5j-media-head p {
    margin: 0;
    color: #91a6c0;
    font-size: 13px;
    font-weight: 700;
}

.mt5j-media-counter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.mt5j-media-counter span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid rgba(11, 185, 244, .26);
    border-radius: 999px;
    background: rgba(11, 185, 244, .08);
    color: #c7d8ec;
    font-size: 12px;
    font-weight: 900;
}

.mt5j-media-counter b {
    color: var(--app-cyan);
    font-size: 15px;
}

.mt5j-media-thumb {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid #263951;
    border-radius: 12px;
    background: #0d1622;
    color: #d8e6f7;
    text-decoration: none;
}

.mt5j-media-thumb > a {
    color: inherit;
    text-decoration: none;
}

.mt5j-media-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    background: #07101a;
}

.mt5j-media-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mt5j-media-meta span {
    color: #9eb1ca;
    font-size: 12px;
    font-weight: 800;
}

.mt5j-media-meta button {
    min-height: 28px;
    border: 1px solid rgba(255, 72, 85, .34);
    border-radius: 8px;
    background: rgba(255, 72, 85, .10);
    color: #ff8791;
    padding: 0 10px;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
}

.mt5j-media-meta button:hover {
    background: rgba(255, 72, 85, .18);
    color: #ffd8dc;
}

.mt5j-media-audio-icon {
    min-height: 118px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: radial-gradient(circle at 50% 35%, rgba(11, 185, 244, .28), rgba(10, 18, 30, .95));
    color: var(--app-cyan);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: .5px;
}

.mt5j-media-thumb audio {
    width: 100%;
    height: 34px;
}

.mt5j-media-empty {
    min-height: 70px;
    display: grid;
    place-items: center;
    border: 1px dashed #2a405d;
    border-radius: 12px;
    background: rgba(13, 24, 37, .72);
    color: #8fa6c0;
    font-weight: 800;
}

.mt5j-media-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mt5j-upload-zone {
    cursor: pointer;
    position: relative;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.mt5j-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.mt5j-upload-zone:has(input:disabled) {
    opacity: .62;
    cursor: not-allowed;
}

.mt5j-upload-zone:has(input:disabled) input {
    cursor: not-allowed;
}

.mt5j-upload-zone:hover,
.mt5j-upload-zone.is-dragging {
    border-color: var(--app-cyan);
    background: rgba(11, 185, 244, .10);
    transform: translateY(-1px);
}

.mt5j-media-status {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 10px;
    padding: 0 14px;
    background: rgba(11, 185, 244, .08);
    color: #bfefff;
    font-weight: 900;
}

.mt5j-media-status[data-type="success"] {
    background: rgba(16, 201, 146, .12);
    color: var(--app-green);
}

.mt5j-media-status[data-type="error"] {
    background: rgba(255, 72, 85, .12);
    color: var(--app-red);
}

.mt5j-media-status[data-type="warning"] {
    background: rgba(255, 201, 75, .12);
    color: #ffd166;
}

.mt5j-has-lightbox {
    overflow: hidden;
}

.mt5j-media-lightbox[hidden] {
    display: none;
}

.mt5j-media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 28px;
    direction: rtl;
}

.mt5j-media-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 14, .78);
    backdrop-filter: blur(12px);
}

.mt5j-media-lightbox-dialog {
    position: relative;
    width: min(1180px, 96vw);
    max-height: 92vh;
    display: grid;
    gap: 14px;
    border: 1px solid rgba(87, 124, 170, .55);
    border-radius: 16px;
    background: linear-gradient(180deg, #111c2a, #07111c);
    box-shadow: 0 26px 90px rgba(0, 0, 0, .58);
    padding: 14px;
}

.mt5j-media-lightbox-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 46px;
}

.mt5j-media-lightbox-bar strong {
    color: #f4f8ff;
    font-size: 17px;
    font-weight: 950;
}

.mt5j-media-lightbox-bar div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mt5j-media-lightbox-bar a,
.mt5j-media-lightbox-bar button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #29435f;
    border-radius: 10px;
    background: #122033;
    color: #cfe3fb;
    padding: 0 12px;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
}

.mt5j-media-lightbox-bar button {
    width: 38px;
    padding: 0;
    color: #ff9aa3;
    border-color: rgba(255, 72, 85, .35);
    background: rgba(255, 72, 85, .10);
    font-size: 22px;
    line-height: 1;
}

.mt5j-media-lightbox-bar a:hover {
    border-color: rgba(11, 185, 244, .55);
    color: var(--app-cyan);
}

.mt5j-media-lightbox-bar button:hover {
    background: rgba(255, 72, 85, .18);
    color: #ffd9dd;
}

.mt5j-media-lightbox img {
    width: 100%;
    max-height: calc(92vh - 92px);
    object-fit: contain;
    border-radius: 12px;
    background: #02070d;
}

.mt5j-tag-filter,
.mt5j-tag-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mt5j-tags-panel {
    display: grid;
    gap: 18px;
}

.mt5j-tags-panel ~ h2,
.mt5j-tags-panel ~ .mt5j-tag-filter,
.mt5j-tags-panel ~ .mt5j-tag-row,
.mt5j-tags-panel ~ .mt5j-create-tag {
    display: none !important;
}

.mt5j-tags-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid #263951;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 27, 41, .92), rgba(11, 20, 32, .86));
}

.mt5j-tags-head h2 {
    margin: 0 0 6px;
    color: #f5f8ff;
    font-size: 24px;
}

.mt5j-tags-head p {
    margin: 0;
    color: #91a6c0;
    font-size: 13px;
    font-weight: 700;
}

.mt5j-tags-head button {
    min-height: 42px;
    border: 1px solid rgba(11, 185, 244, .42);
    border-radius: 11px;
    background: rgba(11, 185, 244, .12);
    color: var(--app-cyan);
    padding: 0 16px;
    cursor: pointer;
    font: inherit;
    font-weight: 950;
    white-space: nowrap;
}

.mt5j-tags-head button:hover {
    background: rgba(11, 185, 244, .20);
    color: #e8fbff;
}

.mt5j-tag-color-filter {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid #263951;
    border-radius: 12px;
    background: #111b29;
    padding: 10px;
}

.mt5j-tag-color-filter button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #2a405d;
    border-radius: 999px;
    background: #101a28;
    color: #a9bdd4;
    padding: 0 12px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
}

.mt5j-tag-color-filter button.is-active {
    border-color: rgba(11, 185, 244, .55);
    background: rgba(11, 185, 244, .13);
    color: #e5faff;
}

.mt5j-tag-color-filter span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .05);
}

.mt5j-tags-list {
    display: grid;
    gap: 12px;
}

.mt5j-tags-list .mt5j-tag-row {
    min-height: 66px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    border-color: #263951;
    background: #111b29;
    padding: 12px;
}

.mt5j-tags-list .mt5j-tag-row:has([data-tag-selected]:checked) {
    border-color: rgba(11, 185, 244, .44);
    background: linear-gradient(90deg, rgba(11, 185, 244, .08), rgba(17, 27, 41, .98));
}

.mt5j-tag-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #0d1724;
    border: 1px solid #2a405d;
    cursor: pointer;
}

.mt5j-tag-toggle input {
    display: none;
}

.mt5j-tag-toggle span {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    border: 1px solid #46617f;
    background: #101a28;
    position: relative;
}

.mt5j-tag-toggle input:checked + span {
    border-color: var(--app-cyan);
    background: var(--app-cyan);
}

.mt5j-tag-toggle input:checked + span:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 6px;
    border-right: 3px solid #07131f;
    border-bottom: 3px solid #07131f;
    left: 4px;
    top: 4px;
    transform: rotate(45deg);
}

.mt5j-tag-name {
    width: 100%;
    min-height: 42px;
    border: 1px solid #263951;
    border-radius: 10px;
    background: #0d1724;
    color: #edf6ff;
    padding: 0 12px;
    font: inherit;
    font-weight: 900;
}

.mt5j-tag-name:focus {
    outline: none;
    border-color: rgba(11, 185, 244, .72);
    box-shadow: 0 0 0 3px rgba(11, 185, 244, .10);
}

.mt5j-tag-color {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid #263951;
    background: #0d1724;
    cursor: pointer;
}

.mt5j-tag-color:before {
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--tag-color);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .05);
}

.mt5j-tag-color input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.mt5j-tags-list [data-tag-remove] {
    min-height: 42px;
    border: 1px solid rgba(255, 72, 85, .34);
    border-radius: 10px;
    background: rgba(255, 72, 85, .10);
    color: #ff8791;
    padding: 0 14px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 950;
}

.mt5j-tags-list [data-tag-remove]:hover {
    background: rgba(255, 72, 85, .18);
    color: #ffd8dc;
}

.mt5j-tags-empty {
    min-height: 70px;
    display: grid;
    place-items: center;
    border: 1px dashed #2a405d;
    border-radius: 12px;
    background: rgba(13, 24, 37, .72);
    color: #8fa6c0;
    font-weight: 800;
}

.mt5j-tag-filter {
    justify-content: flex-end;
    color: #9fb0c8;
    min-height: 54px;
    border: 1px solid #1d2a3e;
    border-radius: 10px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.mt5j-tag-filter span,
.mt5j-tag-row i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.mt5j-tag-row input {
    margin-right: auto;
}

.mt5j-tag-row button,
.mt5j-create-tag {
    background: transparent;
    border: 0;
    color: #a9bad1;
    cursor: pointer;
}

.mt5j-create-tag {
    width: 100%;
    min-height: 54px;
    color: var(--app-cyan);
    font-weight: 800;
}

.mt5j-emotion-step {
    display: flex;
    justify-content: center;
    gap: 140px;
    color: #8395af;
    border-bottom: 1px solid #1f2d42;
    margin-bottom: 24px;
    padding-bottom: 12px;
}

.mt5j-emotion-step b {
    color: #dce7f6;
    border-bottom: 2px solid var(--app-cyan);
    padding-bottom: 12px;
    margin-bottom: -14px;
}

.mt5j-emotion-box {
    border: 1px solid #075d80;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}

.mt5j-range-field {
    background: #101722;
    border: 1px solid #075d80;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}

.mt5j-range-field input {
    width: 100%;
    accent-color: var(--app-cyan);
}

.mt5j-emotion-panel {
    display: grid;
    gap: 18px;
}

.mt5j-emotion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(0, 191, 255, .24);
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 191, 255, .10), rgba(16, 201, 146, .05));
}

.mt5j-emotion-head span {
    display: inline-flex;
    color: var(--app-cyan);
    font-weight: 900;
    margin-bottom: 6px;
}

.mt5j-emotion-head h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.35;
    color: #f4f8ff;
}

.mt5j-emotion-head p {
    margin: 0;
    color: #9eb2cc;
    font-weight: 700;
}

.mt5j-emotion-score {
    min-width: 132px;
    min-height: 92px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16, 201, 146, .30);
    border-radius: 14px;
    background: rgba(6, 18, 30, .62);
}

.mt5j-emotion-score strong {
    color: #14e2b0;
    font-size: 28px;
    line-height: 1;
}

.mt5j-emotion-score span {
    margin: 0;
    color: #9eb2cc;
    font-size: 12px;
}

.mt5j-emotion-grid,
.mt5j-emotion-sliders {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mt5j-emotion-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.mt5j-emotion-title b {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(0, 191, 255, .14);
    color: var(--app-cyan);
}

.mt5j-emotion-title h3 {
    margin: 0;
    color: #f4f8ff;
    font-size: 18px;
}

.mt5j-emotion-pills,
.mt5j-motivation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-emotion-pills label,
.mt5j-motivation-grid label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    border: 1px solid #223550;
    border-radius: 12px;
    padding: 0 14px;
    background: #101923;
    color: #d8e7fb;
    font-weight: 900;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.mt5j-emotion-pills label:hover,
.mt5j-motivation-grid label:hover {
    border-color: rgba(0, 191, 255, .45);
    background: #122033;
}

.mt5j-emotion-pills input,
.mt5j-motivation-grid input {
    width: 18px;
    height: 18px;
    accent-color: var(--app-cyan);
    order: 2;
}

.mt5j-emotion-pills label:has(input:checked),
.mt5j-motivation-grid label:has(input:checked) {
    border-color: rgba(16, 201, 146, .58);
    background: linear-gradient(135deg, rgba(16, 201, 146, .22), rgba(0, 191, 255, .10));
    box-shadow: inset 0 0 0 1px rgba(16, 201, 146, .10);
}

.mt5j-emotion-sliders .mt5j-range-field {
    margin: 0;
    display: grid;
    gap: 14px;
    border-color: #223550;
    background: #101923;
}

.mt5j-range-field > span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.mt5j-range-field em {
    min-width: 42px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 191, 255, .16);
    color: var(--app-cyan);
    font-style: normal;
    font-weight: 900;
}

.mt5j-motivation-box {
    border-color: rgba(16, 201, 146, .26);
}

.mt5j-save-status {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #26364e;
    background: #101923;
    color: #c8d6e8;
    font-weight: 800;
    direction: rtl;
    text-align: right;
}

.mt5j-save-status[data-type="success"] {
    border-color: rgba(16,201,146,.42);
    background: rgba(16,201,146,.12);
    color: #31e0aa;
}

.mt5j-save-status[data-type="error"] {
    border-color: rgba(255,72,85,.42);
    background: rgba(255,72,85,.12);
    color: #ff737d;
}

.mt5j-save-status[data-type="warning"] {
    border-color: rgba(247,191,66,.42);
    background: rgba(247,191,66,.12);
    color: #f7bf42;
}

.mt5j-new-trade.is-loading {
    opacity: .72;
    cursor: wait;
}

.mt5j-journal-checklist-empty {
    display: grid;
    gap: 10px;
    justify-items: start;
    background: #0d131d;
    border: 1px dashed #26364e;
    border-radius: 14px;
    padding: 24px;
    color: #a8bad2;
    direction: rtl;
    text-align: right;
}

.mt5j-journal-checklist-empty h2,
.mt5j-journal-checklist-empty p {
    margin: 0;
}

.mt5j-journal-checklist-empty a {
    display: inline-grid;
    place-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--app-cyan);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.mt5j-journal-checklist-empty.is-compact {
    padding: 18px;
    justify-items: center;
    text-align: center;
}

.mt5j-journal-checklist {
    display: grid;
    gap: 18px;
    direction: rtl;
    text-align: right;
}

.mt5j-journal-checklist-head {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(260px, 360px);
    gap: 18px;
    align-items: end;
}

.mt5j-journal-checklist-head label {
    display: grid;
    gap: 8px;
    color: #9fb0c8;
    font-weight: 800;
}

.mt5j-journal-checklist-head select {
    width: 100%;
    min-height: 52px;
    border: 1px solid #233249;
    background: #171f2d;
    color: #e8f0fb;
    border-radius: 10px;
    padding: 0 14px;
    font: inherit;
    direction: rtl;
    text-align: right;
}

.mt5j-journal-score {
    display: grid;
    gap: 8px;
    border: 1px solid #233249;
    background: #0d131d;
    border-radius: 12px;
    padding: 12px 14px;
}

.mt5j-journal-score strong {
    color: #fff;
    font-size: 24px;
}

.mt5j-journal-score span {
    color: #8ea0b8;
    font-size: 12px;
}

.mt5j-journal-score i {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #1f2d42;
}

.mt5j-journal-score em {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #10bdf2, #0fc990);
    transition: width .18s ease;
}

.mt5j-journal-checklist-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.mt5j-journal-checklist-meta span,
.mt5j-journal-checklist-meta b {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #0d131d;
    border: 1px solid #233249;
    color: #9fb0c8;
    font-size: 12px;
}

.mt5j-journal-checklist-meta b {
    color: #ff737d;
    border-color: rgba(255,72,85,.38);
    background: rgba(255,72,85,.12);
}

.mt5j-journal-checklist-items {
    display: grid;
    gap: 12px;
}

.mt5j-journal-check-item {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid #1f2d42;
    border-radius: 12px;
    background: #0d131d;
    color: #c8d6e8;
    cursor: pointer;
    direction: rtl;
    text-align: right;
}

.mt5j-journal-check-item:hover {
    border-color: #075d80;
    background: #101d2b;
}

.mt5j-journal-check-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--app-cyan);
}

.mt5j-journal-check-item span {
    color: var(--app-cyan);
    background: #06324a;
    border: 1px solid #075d80;
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 800;
}

.mt5j-journal-check-item strong {
    color: #edf5ff;
}

.mt5j-journal-check-item small {
    color: #8ea0b8;
}

.mt5j-journal-check-item em {
    color: #f7bf42;
    background: rgba(247,191,66,.12);
    border: 1px solid rgba(247,191,66,.36);
    border-radius: 999px;
    padding: 5px 9px;
    font-style: normal;
    font-size: 12px;
}

.mt5j-journal-check-item:has(input:checked) {
    border-color: rgba(16,201,146,.45);
    background: rgba(16,201,146,.08);
}

.mt5j-checklists-page {
    min-height: calc(100vh - 84px);
    margin: 0 -28px -30px;
    padding: 34px 56px 56px;
    background:
        radial-gradient(circle at 1px 1px, rgba(57,82,115,.42) 1px, transparent 0) 0 0 / 24px 24px,
        #090d14;
    position: relative;
    overflow: hidden;
}

.mt5j-checklists-board {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(260px, 380px);
    gap: 28px;
    justify-content: end;
    align-items: start;
}

.mt5j-checklist-add-card {
    min-height: 150px;
    border: 2px dashed #075d80;
    border-radius: 18px;
    background: rgba(12,28,40,.42);
    color: var(--app-cyan);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    cursor: pointer;
    font: inherit;
}

.mt5j-checklist-add-card span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(11,185,244,.12);
    font-size: 30px;
}

.mt5j-checklist-cards {
    display: grid;
    gap: 18px;
}

.mt5j-checklist-card {
    background: rgba(16,23,34,.92);
    border: 1px solid #1f2d42;
    border-radius: 18px;
    color: var(--app-text);
    overflow: hidden;
    box-shadow: 0 22px 52px rgba(0,0,0,.24);
}

.mt5j-checklist-card-actions,
.mt5j-checklist-card-head,
.mt5j-checklist-card-progress,
.mt5j-checklist-card-foot {
    padding: 14px 18px;
}

.mt5j-checklist-card-actions {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #172235;
}

.mt5j-checklist-card-actions button {
    background: transparent;
    border: 0;
    color: #8fa2bd;
    cursor: pointer;
    font-size: 17px;
}

.mt5j-checklist-card-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

.mt5j-checklist-card-head h2 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.mt5j-checklist-card-head span,
.mt5j-checklist-card-head i {
    color: #8799b3;
    font-style: normal;
}

.mt5j-checklist-card-progress b {
    display: block;
    color: #8fa2bd;
    margin-bottom: 12px;
}

.mt5j-checklist-card-progress i {
    display: block;
    height: 7px;
    background: #172235;
    border-radius: 99px;
    overflow: hidden;
}

.mt5j-checklist-card-progress em {
    display: block;
    height: 100%;
    background: var(--app-cyan);
}

.mt5j-checklist-card-items {
    display: grid;
    gap: 9px;
    padding: 8px 18px 16px;
}

.mt5j-checklist-card-items label {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 9px;
    align-items: center;
    min-height: 42px;
    color: #c9d7e8;
}

.mt5j-checklist-card-items span,
.mt5j-checklist-card-foot span {
    color: var(--app-cyan);
    background: #06324a;
    border: 1px solid #075d80;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
}

.mt5j-checklist-card-items small {
    color: var(--app-amber, #f7bf42);
}

.mt5j-checklist-card-items input {
    accent-color: var(--app-cyan);
}

.mt5j-checklist-card-items i {
    color: #50647f;
    font-style: normal;
}

.mt5j-checklist-card-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #172235;
}

.mt5j-checklist-modal[hidden] {
    display: none;
}

.mt5j-checklist-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    direction: rtl;
}

.mt5j-checklist-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 1px 1px, rgba(57,82,115,.34) 1px, transparent 0) 0 0 / 24px 24px,
        rgba(5,8,12,.82);
}

.mt5j-checklist-dialog {
    width: min(720px, calc(100vw - 28px));
    max-height: calc(100vh - 72px);
    overflow: auto;
    position: relative;
    background: #121923;
    border: 1px solid #26364e;
    border-radius: 18px;
    color: var(--app-text);
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.mt5j-checklist-dialog header,
.mt5j-checklist-dialog footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #1c2a3d;
}

.mt5j-checklist-dialog footer {
    border-top: 1px solid #1c2a3d;
    border-bottom: 0;
    justify-content: flex-start;
    gap: 12px;
}

.mt5j-checklist-dialog h2,
.mt5j-dialog-section-head h3 {
    margin: 0;
    color: white;
}

.mt5j-checklist-dialog header button,
.mt5j-checklist-dialog footer button,
.mt5j-add-item-button {
    min-height: 46px;
    border: 1px solid #26364e;
    background: #172131;
    color: #c8d6e8;
    border-radius: 12px;
    padding: 0 20px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.mt5j-checklist-dialog header button {
    width: 36px;
    min-height: 36px;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 24px;
}

.mt5j-checklist-save,
.mt5j-add-item-button {
    background: var(--app-cyan) !important;
    border-color: var(--app-cyan) !important;
    color: white !important;
}

.mt5j-checklist-dialog-body {
    padding: 22px 24px;
}

.mt5j-checklist-title-field {
    display: grid;
    gap: 8px;
    color: #a8bad2;
    font-weight: 700;
    margin-bottom: 18px;
}

.mt5j-checklist-title-field input,
.mt5j-checklist-title-field textarea,
.mt5j-item-title,
.mt5j-item-category {
    min-height: 52px;
    width: 100%;
    border: 1px solid #28384f;
    background: #0d131d;
    color: #e8f0fb;
    border-radius: 12px;
    padding: 0 14px;
    font: inherit;
}

.mt5j-checklist-title-field textarea {
    min-height: 76px;
    padding-top: 12px;
}

.mt5j-dialog-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 12px;
}

.mt5j-dialog-section-head span {
    color: var(--app-green);
    background: rgba(16,201,146,.14);
    border: 1px solid rgba(16,201,146,.32);
    border-radius: 999px;
    padding: 6px 12px;
}

.mt5j-dialog-section-head span.is-over {
    color: var(--app-red);
    background: rgba(255,72,85,.14);
    border-color: rgba(255,72,85,.32);
}

.mt5j-checklist-item-editor {
    display: grid;
    gap: 14px;
}

.mt5j-checklist-item-row {
    display: grid;
    gap: 12px;
    background: #0d131d;
    border: 1px solid #1f2d42;
    border-radius: 14px;
    padding: 14px;
}

.mt5j-item-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.mt5j-item-top button {
    background: transparent;
    border: 0;
    color: #91a3bc;
    cursor: pointer;
    font-size: 18px;
}

.mt5j-item-weight {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    color: #a8bad2;
}

.mt5j-item-weight input {
    width: 100%;
    accent-color: var(--app-cyan);
}

.mt5j-item-weight span {
    color: var(--app-cyan);
    background: #06324a;
    border: 1px solid #075d80;
    border-radius: 999px;
    padding: 5px 10px;
}

.mt5j-item-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mt5j-item-options label,
.mt5j-advanced-box label {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #b8c7da;
}

.mt5j-item-options input,
.mt5j-advanced-box input {
    accent-color: var(--app-cyan);
}

.mt5j-add-item-button {
    width: 100%;
    margin: 14px 0;
    border-style: dashed !important;
    font-size: 24px;
}

.mt5j-advanced-box {
    display: grid;
    gap: 12px;
    border: 1px solid #1f2d42;
    border-radius: 14px;
    padding: 16px;
    background: #101722;
}

.mt5j-advanced-box label {
    justify-content: space-between;
}

.mt5j-advanced-box span,
.mt5j-advanced-box small {
    display: block;
}

.mt5j-advanced-box small {
    color: #8ea0b8;
}

@media (max-width: 1250px) {
    .mt5j-dashboard-app.is-nav-collapsed,
    .mt5j-dashboard-app {
        grid-template-columns: 1fr;
    }

    body.mt5j-nav-drawer-open {
        overflow: hidden;
    }

    .mt5j-drawer-toggle {
        position: fixed;
        top: 14px;
        right: 14px;
        z-index: 10003;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 58px;
        height: 42px;
        padding: 0 12px;
        border: 1px solid rgba(148, 163, 184, .22);
        border-radius: 14px;
        background: rgba(10, 16, 25, .88);
        color: #e8f5ff;
        box-shadow: 0 18px 36px rgba(0, 0, 0, .24);
        backdrop-filter: blur(14px);
        cursor: pointer;
    }

    .mt5j-drawer-toggle span,
    .mt5j-drawer-toggle span::before,
    .mt5j-drawer-toggle span::after {
        display: block;
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: .18s ease;
    }

    .mt5j-drawer-toggle span {
        position: relative;
    }

    .mt5j-drawer-toggle span::before,
    .mt5j-drawer-toggle span::after {
        content: "";
        position: absolute;
        right: 0;
    }

    .mt5j-drawer-toggle span::before {
        top: -6px;
    }

    .mt5j-drawer-toggle span::after {
        top: 6px;
    }

    .mt5j-drawer-toggle b {
        font-size: 12px;
        line-height: 1;
    }

    .mt5j-dashboard-app.is-nav-drawer-open .mt5j-drawer-toggle span {
        background: transparent;
    }

    .mt5j-dashboard-app.is-nav-drawer-open .mt5j-drawer-toggle span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mt5j-dashboard-app.is-nav-drawer-open .mt5j-drawer-toggle span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .mt5j-drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 10000;
        display: block;
        border: 0;
        background: rgba(2, 6, 12, .62);
        backdrop-filter: blur(6px);
        cursor: pointer;
    }

    .mt5j-drawer-backdrop[hidden] {
        display: none;
    }

    .mt5j-dashboard-app .mt5j-app-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 10002;
        width: min(322px, calc(100vw - 38px));
        height: 100dvh;
        grid-column: auto;
        transform: translateX(110%);
        transition: transform .24s ease;
        box-shadow: -22px 0 48px rgba(0, 0, 0, .35);
        gap: 8px;
    }

    .mt5j-dashboard-app.is-nav-drawer-open .mt5j-app-sidebar {
        transform: translateX(0);
    }

    .mt5j-dashboard-app .mt5j-dashboard-main {
        grid-column: 1;
        grid-row: 1;
    }

    .mt5j-app-nav {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .mt5j-nav-group {
        border: 0;
        border-top: 1px solid rgba(148, 163, 184, .07);
        border-radius: 0;
        padding: 6px 0 0;
        background: transparent;
    }

    .mt5j-nav-group:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .mt5j-sidebar-actions {
        padding-top: 0;
    }

    .mt5j-app-topbar {
        padding-right: 82px;
    }

    .mt5j-app-topbar-main {
        grid-template-columns: auto auto minmax(220px, 1fr);
    }

    .mt5j-app-topbar-controls,
    .mt5j-app-topbar-controls.is-dashboard-controls {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .mt5j-app-topbar-controls {
        display: grid;
    }

    .mt5j-toolbar {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: thin;
        scrollbar-color: rgba(16, 189, 242, .28) transparent;
    }

    .mt5j-range-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .mt5j-app-topbar,
    .mt5j-home-kpis,
    .mt5j-home-grid-top,
    .mt5j-home-grid-mid,
    .mt5j-home-grid-activity,
    .mt5j-home-grid-bottom,
    .mt5j-two-col {
        grid-template-columns: 1fr;
    }

    .mt5j-list-actions,
    .mt5j-journal-tabs {
        overflow-x: hidden;
        justify-content: flex-start;
    }

    .mt5j-journal-tabs button {
        min-width: 132px;
        min-height: 52px;
        font-size: 13px;
    }

    .mt5j-journal-checklist-head,
    .mt5j-journal-check-item {
        grid-template-columns: 1fr;
    }

    .mt5j-journal-check-item {
        justify-items: start;
    }

    .mt5j-journals-table-card {
        overflow: hidden;
    }

    .mt5j-app-topbar-page {
        grid-template-columns: 1fr;
    }

    .mt5j-dashboard-filters {
        grid-template-columns: 1fr;
    }

    .mt5j-dashboard-customizer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mt5j-dashboard-filter-actions {
        grid-column: 1 / -1;
    }

    .mt5j-emotion-step {
        gap: 30px;
    }

    .mt5j-emotion-grid,
    .mt5j-emotion-sliders {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .mt5j-dashboard-app .mt5j-app-sidebar {
        padding: 12px;
    }

    .mt5j-dashboard-app .mt5j-dashboard-main {
        padding: 0 14px 24px;
    }

    .mt5j-app-topbar {
        margin: 0 -14px 14px;
        padding: 12px 14px 12px 74px;
        gap: 10px;
    }

    .mt5j-app-topbar-main {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mt5j-clock {
        display: none;
    }

    .mt5j-profile-chip {
        justify-self: start;
        max-width: 100%;
    }

    .mt5j-account-scope-switcher {
        width: 100%;
        min-width: 0;
    }

    .mt5j-account-scope-switcher select {
        min-height: 40px;
    }

    .mt5j-toolbar {
        gap: 8px;
    }

    .mt5j-toolbar [data-dashboard-customize] {
        display: none;
    }

    .mt5j-toolbar button,
    .mt5j-toolbar a,
    .mt5j-range-tabs a,
    .mt5j-range-tabs button {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .mt5j-toolbar .mt5j-new-trade {
        flex: 0 0 auto;
    }

    .mt5j-range-tabs {
        margin: 0 -2px;
        padding: 0 2px 3px;
    }

    .mt5j-dashboard-app.is-nav-collapsed .mt5j-app-brand,
    .mt5j-app-brand {
        grid-template-columns: auto 1fr auto;
        justify-items: stretch;
        padding-bottom: 10px;
    }

    .mt5j-dashboard-app.is-nav-collapsed .mt5j-app-brand div,
    .mt5j-dashboard-app.is-nav-collapsed .mt5j-nav-group-title {
        display: flex;
    }

    .mt5j-dashboard-app.is-nav-collapsed .mt5j-app-brand div {
        display: block;
    }

    .mt5j-dashboard-app.is-nav-collapsed .mt5j-app-nav,
    .mt5j-app-nav {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .mt5j-dashboard-app.is-nav-collapsed .mt5j-nav-group,
    .mt5j-nav-group {
        gap: 5px;
        padding: 10px;
    }

    .mt5j-dashboard-app.is-nav-collapsed .mt5j-app-nav a,
    .mt5j-app-nav a {
        justify-content: flex-start;
        padding: 10px 12px;
        font-size: 14px;
        gap: 10px;
    }

    .mt5j-dashboard-app.is-nav-collapsed .mt5j-app-nav a span,
    .mt5j-app-nav a span {
        font-size: 15px;
        min-width: 22px;
    }

    .mt5j-dashboard-app.is-nav-collapsed .mt5j-logout-link {
        justify-content: flex-start;
        font-size: 14px;
        padding: 0 12px;
    }

    .mt5j-filter-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .mt5j-dashboard-filters,
    .mt5j-dashboard-customizer,
    .mt5j-custom-range {
        grid-template-columns: 1fr;
    }

    .mt5j-dashboard-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mt5j-emotion-head {
        display: grid;
    }

    .mt5j-emotion-score {
        width: 100%;
    }

    .mt5j-emotion-pills,
    .mt5j-motivation-grid {
        grid-template-columns: 1fr;
    }
}

.mt5j-toolbar a.mt5j-new-trade,
.mt5j-toolbar a.mt5j-btn,
.mt5j-expert-download a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mt5j-expert-page {
    display: grid;
    gap: 14px;
}

.mt5j-expert-alert {
    border: 1px solid rgba(15, 201, 144, .35);
    background: rgba(15, 201, 144, .12);
    color: #7ff0c8;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}

.mt5j-expert-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, #101925, #0c121b);
    border: 1px solid var(--app-line);
    border-radius: 8px;
    padding: 22px;
}

.mt5j-expert-hero h2 {
    margin: 6px 0 10px;
    color: var(--app-text);
    font-size: 26px;
}

.mt5j-expert-hero p {
    color: var(--app-muted);
    margin: 0;
    max-width: 760px;
    line-height: 1.9;
}

.mt5j-eyebrow {
    color: var(--cyan);
    font-weight: 700;
}

.mt5j-expert-status {
    display: grid;
    gap: 8px;
    min-width: 180px;
}

.mt5j-expert-status span {
    border: 1px solid var(--app-line);
    background: #111b29;
    border-radius: 8px;
    padding: 9px 12px;
    color: var(--app-muted);
    text-align: center;
}

.mt5j-expert-status .is-ok {
    color: #42e9b2;
    border-color: rgba(15, 201, 144, .35);
}

.mt5j-expert-status .is-warn {
    color: #ffd36d;
    border-color: rgba(247, 191, 66, .35);
}

.mt5j-expert-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 14px;
}

.mt5j-expert-grid-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mt5j-expert-card {
    min-height: 100%;
}

.mt5j-expert-download {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.mt5j-expert-download .mt5j-new-trade,
.mt5j-expert-download .mt5j-btn {
    min-height: 44px;
}

.mt5j-expert-studio {
    display: grid;
    gap: 18px;
    border: 1px solid rgba(16, 189, 242, .18);
    border-radius: 18px;
    padding: 18px;
    background:
        radial-gradient(circle at 88% 0%, rgba(16, 189, 242, .14), transparent 34%),
        linear-gradient(145deg, rgba(12, 22, 35, .94), rgba(8, 13, 21, .98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

.mt5j-expert-page-simple .mt5j-expert-hero {
    align-items: stretch;
}

.mt5j-expert-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mt5j-expert-platform-card {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    padding: 16px;
    background:
        radial-gradient(circle at 18% 0%, rgba(16, 189, 242, .12), transparent 34%),
        linear-gradient(160deg, rgba(17, 27, 42, .98), rgba(9, 15, 24, .98));
}

.mt5j-expert-platform-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.mt5j-expert-platform-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 54px;
    border-radius: 16px;
    color: #03131b;
    background: linear-gradient(135deg, #1fd5ff, #19dda2);
    font-weight: 950;
}

.mt5j-expert-platform-head h3 {
    margin: 0 0 4px;
    color: var(--app-text);
    font-size: 21px;
}

.mt5j-expert-platform-head p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.7;
}

.mt5j-expert-version-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-expert-version-card {
    display: grid;
    gap: 12px;
    align-content: space-between;
    min-height: 218px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 15px;
    padding: 14px;
    background: rgba(5, 12, 20, .58);
}

.mt5j-expert-version-card.is-simple {
    border-color: rgba(15, 201, 144, .24);
}

.mt5j-expert-version-card.is-pro {
    border-color: rgba(16, 189, 242, .24);
}

.mt5j-expert-version-card b,
.mt5j-expert-version-card small,
.mt5j-expert-version-card span {
    display: block;
}

.mt5j-expert-version-card b {
    color: var(--app-text);
    font-size: 17px;
    margin-bottom: 6px;
}

.mt5j-expert-version-card small {
    color: var(--app-muted);
    line-height: 1.8;
}

.mt5j-expert-version-card > span {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 999px;
    padding: 7px 10px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, .72);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.mt5j-expert-version-card > span.is-ok {
    color: #7ff0c8;
    border-color: rgba(15, 201, 144, .28);
    background: rgba(15, 201, 144, .08);
}

.mt5j-expert-version-card > span.is-warn {
    color: #ffd36d;
    border-color: rgba(247, 191, 66, .32);
    background: rgba(247, 191, 66, .08);
}

.mt5j-expert-version-card .mt5j-expert-primary-download {
    min-height: 44px;
}

.mt5j-expert-studio-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 18px;
    align-items: end;
}

.mt5j-expert-studio-head h2 {
    margin: 7px 0 8px;
    color: var(--app-text);
    font-size: 24px;
}

.mt5j-expert-studio-head p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.9;
}

.mt5j-expert-studio-hint {
    border: 1px solid rgba(25, 221, 162, .22);
    border-radius: 14px;
    background: rgba(15, 201, 144, .08);
    padding: 14px;
}

.mt5j-expert-studio-hint b,
.mt5j-expert-studio-hint span {
    display: block;
}

.mt5j-expert-studio-hint b {
    color: #7ff0c8;
    margin-bottom: 7px;
}

.mt5j-expert-studio-hint span {
    color: #d6ecff;
    line-height: 1.8;
}

.mt5j-expert-download-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mt5j-expert-download-card {
    display: grid;
    gap: 14px;
    align-content: stretch;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    padding: 18px;
    background:
        radial-gradient(circle at 16% 0%, rgba(148, 163, 184, .10), transparent 34%),
        linear-gradient(160deg, #111b2a, #0a1019);
    min-height: 100%;
}

.mt5j-expert-download-card.is-primary {
    border-color: rgba(16, 189, 242, .42);
    background:
        radial-gradient(circle at 20% 0%, rgba(16, 189, 242, .22), transparent 36%),
        radial-gradient(circle at 88% 28%, rgba(15, 201, 144, .12), transparent 30%),
        linear-gradient(160deg, #0f2030, #07111d);
    box-shadow: 0 22px 52px rgba(16, 189, 242, .11);
}

.mt5j-expert-download-card-top {
    display: grid;
    gap: 10px;
}

.mt5j-expert-download-card h3 {
    margin: 0;
    color: var(--app-text);
    font-size: 25px;
}

.mt5j-expert-download-card p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.9;
}

.mt5j-expert-download-card ul {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mt5j-expert-download-card li {
    position: relative;
    color: #d7e9ff;
    line-height: 1.75;
    padding-right: 21px;
}

.mt5j-expert-download-card li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(16, 189, 242, .10);
}

.mt5j-expert-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.mt5j-expert-primary-download,
.mt5j-expert-secondary-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 950;
}

.mt5j-expert-primary-download {
    color: #02131c;
    background: linear-gradient(135deg, #1fd5ff, #19dda2);
    box-shadow: 0 16px 34px rgba(16, 189, 242, .18);
}

.mt5j-expert-primary-download.is-manager {
    color: #e8f5ff;
    background: linear-gradient(135deg, #1d3554, #123b5b);
    border: 1px solid rgba(125, 211, 252, .28);
    box-shadow: none;
}

.mt5j-expert-secondary-download {
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(15, 23, 42, .72);
    color: #d6e6f8;
    padding: 0 14px;
}

.mt5j-expert-setup-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 14px;
}

.mt5j-expert-simple-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 14px;
    align-items: stretch;
}

.mt5j-expert-copy-card,
.mt5j-expert-install-card {
    background:
        radial-gradient(circle at 88% 0%, rgba(16, 189, 242, .10), transparent 34%),
        linear-gradient(160deg, rgba(17, 27, 42, .98), rgba(9, 15, 24, .98));
}

.mt5j-expert-copy-grid {
    display: grid;
    gap: 12px;
}

.mt5j-expert-copy-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 15px;
    padding: 14px;
    background: rgba(5, 12, 20, .58);
}

.mt5j-expert-copy-item b,
.mt5j-expert-copy-item small {
    display: block;
}

.mt5j-expert-copy-item b {
    color: var(--app-text);
    font-size: 15px;
    margin-bottom: 5px;
}

.mt5j-expert-copy-item small {
    color: var(--app-muted);
    line-height: 1.8;
}

.mt5j-expert-copy-item code {
    grid-column: 1 / -1;
    direction: ltr;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(0, 10, 18, .82);
    color: #21d4ff;
    border: 1px solid rgba(16, 189, 242, .12);
}

.mt5j-copy-btn {
    appearance: none;
    border: 1px solid rgba(16, 189, 242, .36);
    border-radius: 12px;
    min-height: 40px;
    padding: 0 16px;
    color: #dff7ff;
    background: rgba(16, 189, 242, .12);
    cursor: pointer;
    font-weight: 900;
    transition: .18s ease;
}

.mt5j-copy-btn:hover,
.mt5j-copy-btn.is-copied {
    color: #03131b;
    background: linear-gradient(135deg, #1fd5ff, #19dda2);
    border-color: transparent;
}

.mt5j-copy-btn.is-copy-error {
    color: #fecdd3;
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .35);
}

.mt5j-expert-advanced {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(148, 163, 184, .10), transparent 30%),
        linear-gradient(160deg, rgba(13, 21, 33, .94), rgba(7, 12, 20, .98));
    overflow: hidden;
}

.mt5j-expert-advanced summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    cursor: pointer;
    list-style: none;
}

.mt5j-expert-advanced summary::-webkit-details-marker {
    display: none;
}

.mt5j-expert-advanced summary span,
.mt5j-expert-advanced summary small {
    display: block;
}

.mt5j-expert-advanced summary span {
    color: var(--app-text);
    font-weight: 950;
    font-size: 17px;
}

.mt5j-expert-advanced summary small {
    color: var(--app-muted);
    margin-top: 5px;
}

.mt5j-expert-advanced summary::after {
    content: "نمایش";
    border: 1px solid rgba(16, 189, 242, .26);
    border-radius: 999px;
    padding: 8px 14px;
    color: #91e7ff;
    background: rgba(16, 189, 242, .08);
    font-size: 12px;
    font-weight: 900;
}

.mt5j-expert-advanced[open] summary {
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.mt5j-expert-advanced[open] summary::after {
    content: "پنهان کردن";
}

.mt5j-expert-advanced-body {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.mt5j-expert-connection-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.mt5j-expert-connection-actions a,
.mt5j-expert-connection-actions button {
    text-decoration: none;
    min-height: 42px;
}

.mt5j-expert-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.mt5j-expert-option {
    position: relative;
    display: grid;
    gap: 12px;
    align-content: stretch;
    border: 1px solid var(--app-line);
    border-radius: 14px;
    padding: 18px;
    background:
        radial-gradient(circle at 20% 0%, rgba(16, 189, 242, .12), transparent 34%),
        linear-gradient(145deg, rgba(16, 25, 39, .96), rgba(10, 16, 25, .98));
    box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.mt5j-expert-option.is-recommended {
    border-color: rgba(16, 189, 242, .42);
    box-shadow: 0 24px 48px rgba(16, 189, 242, .10);
}

.mt5j-expert-option h3 {
    margin: 0;
    color: var(--app-text);
    font-size: 22px;
}

.mt5j-expert-option p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.9;
}

.mt5j-expert-option ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mt5j-expert-option li {
    position: relative;
    color: #cfe7ff;
    padding-right: 20px;
    line-height: 1.7;
}

.mt5j-expert-option li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(16, 189, 242, .10);
}

.mt5j-expert-option .mt5j-new-trade,
.mt5j-expert-option .mt5j-btn {
    min-height: 44px;
    margin-top: auto;
    text-decoration: none;
}

.mt5j-expert-badge {
    justify-self: start;
    border: 1px solid rgba(16, 189, 242, .34);
    background: rgba(16, 189, 242, .12);
    color: #7fe5ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.mt5j-expert-badge.is-muted {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(148, 163, 184, .10);
    color: #cbd5e1;
}

.mt5j-expert-token-actions {
    margin-top: 4px;
}

.mt5j-expert-package-note {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 18px;
}

.mt5j-expert-package-note span {
    display: block;
    border: 1px solid rgba(16, 189, 242, .18);
    border-radius: 10px;
    background: rgba(16, 25, 39, .72);
    padding: 12px;
}

.mt5j-expert-package-note b,
.mt5j-expert-package-note em {
    display: block;
}

.mt5j-expert-package-note b {
    color: var(--app-text);
    margin-bottom: 6px;
}

.mt5j-expert-package-note em {
    color: var(--app-muted);
    font-style: normal;
    line-height: 1.75;
}

.mt5j-expert-steps {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mt5j-expert-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--app-line);
    background: #101927;
    border-radius: 8px;
    padding: 10px;
}

.mt5j-expert-steps b {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(16, 189, 242, .12);
    color: var(--cyan);
}

.mt5j-expert-api code {
    white-space: normal;
    word-break: break-all;
}

.mt5j-expert-security {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-expert-security span {
    border: 1px solid var(--app-line);
    background: #101927;
    border-radius: 8px;
    padding: 12px;
    min-height: 84px;
}

.mt5j-expert-security b,
.mt5j-expert-security em {
    display: block;
}

.mt5j-expert-security b {
    color: var(--app-text);
    margin-bottom: 8px;
}

.mt5j-expert-security em {
    color: var(--app-muted);
    font-style: normal;
    line-height: 1.7;
    word-break: break-word;
}

.mt5j-landing {
    --land-bg: #050912;
    --land-panel: #0d1623;
    --land-panel-2: #111d2c;
    --land-line: #203149;
    --land-text: #eef7ff;
    --land-muted: #9aadc5;
    --land-cyan: #18d2ff;
    --land-green: #19dda2;
    min-height: 100vh;
    padding-top: 14px;
    color: var(--land-text);
    background:
        radial-gradient(circle at 10% 5%, rgba(24, 210, 255, .10), transparent 25%),
        radial-gradient(circle at 90% 30%, rgba(25, 221, 162, .07), transparent 25%),
        var(--land-bg);
    font-family: var(--mt5j-font-family);
    direction: rtl;
    text-align: right;
}

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

.mt5j-landing a {
    color: inherit;
    text-decoration: none;
}

.mt5j-landing-header,
.mt5j-landing > main,
.mt5j-landing-footer {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.mt5j-landing-header {
    position: sticky;
    z-index: 100;
    top: 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 70px;
    margin-top: 0;
    padding: 10px 14px;
    border: 1px solid rgba(70, 105, 143, .35);
    border-radius: 16px;
    background: rgba(7, 13, 23, .84);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .22);
}

.mt5j-landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mt5j-landing-brand > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #021019;
    background: linear-gradient(135deg, var(--land-cyan), var(--land-green));
    font-size: 22px;
    font-weight: 950;
}

.mt5j-landing-brand b,
.mt5j-landing-brand small {
    display: block;
}

.mt5j-landing-brand b {
    color: #fff;
}

.mt5j-landing-brand small {
    margin-top: 3px;
    color: var(--land-muted);
    font-size: 10px;
}

.mt5j-landing-header nav {
    display: flex;
    justify-content: center;
    gap: 27px;
}

.mt5j-landing-header nav a {
    color: #aebed2;
    font-size: 13px;
    transition: color .2s ease;
}

.mt5j-landing-header nav a:hover {
    color: var(--land-cyan);
}

.mt5j-landing-header nav a.is-current {
    color: #fff;
    font-weight: 900;
}

.mt5j-landing-login {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border: 1px solid rgba(24, 210, 255, .38);
    border-radius: 10px;
    color: var(--land-cyan) !important;
    font-size: 12px;
    font-weight: 900;
}

.mt5j-public-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.mt5j-account-label-short,
.mt5j-public-menu-toggle {
    display: none;
}

.mt5j-public-menu-toggle {
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(70, 105, 143, .45);
    border-radius: 11px;
    background: rgba(14, 27, 42, .92);
    color: #d9edff;
    cursor: pointer;
    font: inherit;
}

.mt5j-public-menu-toggle > span {
    display: grid;
    width: 18px;
    gap: 4px;
}

.mt5j-public-menu-toggle i {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.mt5j-landing-header.is-menu-open .mt5j-public-menu-toggle i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mt5j-landing-header.is-menu-open .mt5j-public-menu-toggle i:nth-child(2) {
    opacity: 0;
}

.mt5j-landing-header.is-menu-open .mt5j-public-menu-toggle i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mt5j-landing-hero {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
    align-items: center;
    gap: 55px;
    min-height: 720px;
    padding: 90px 0 65px;
}

.mt5j-landing-eyebrow,
.mt5j-landing-section-title > span,
.mt5j-showcase-copy > span,
.mt5j-security-support article div > span,
.mt5j-landing-final span {
    display: inline-block;
    color: var(--land-cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.1px;
}

.mt5j-landing-hero h1 {
    max-width: 610px;
    margin: 18px 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 67px);
    line-height: 1.38;
    letter-spacing: -2.4px;
}

.mt5j-landing-hero h1 em {
    color: transparent;
    background: linear-gradient(90deg, var(--land-green), var(--land-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    font-style: normal;
}

.mt5j-landing-hero-copy > p {
    max-width: 630px;
    margin: 0;
    color: var(--land-muted);
    font-size: 16px;
    line-height: 2.1;
}

.mt5j-landing-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.mt5j-landing-primary,
.mt5j-landing-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 900;
}

.mt5j-landing-primary {
    color: #02131a !important;
    background: linear-gradient(135deg, var(--land-green), var(--land-cyan));
    box-shadow: 0 12px 35px rgba(24, 210, 255, .15);
}

.mt5j-landing-secondary {
    border: 1px solid var(--land-line);
    color: #dbe9f7 !important;
    background: #0b1420;
}

.mt5j-landing-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 20px;
    margin-top: 25px;
    color: #8195ae;
    font-size: 11px;
}

.mt5j-product-shot {
    position: relative;
    margin: 0;
    border: 1px solid #29405c;
    border-radius: 18px;
    overflow: hidden;
    background: #08111d;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .45);
}

.mt5j-product-shot-main {
    transform: perspective(1200px) rotateY(4deg) rotateX(1deg);
}

.mt5j-product-shot-main::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12% -10% -16% 15%;
    border-radius: 50%;
    background: rgba(24, 210, 255, .17);
    filter: blur(70px);
}

.mt5j-shot-top {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 43px;
    padding: 0 13px;
    border-bottom: 1px solid #1d2d43;
    background: #0c1521;
}

.mt5j-shot-top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #32465f;
}

.mt5j-shot-top i:first-child {
    background: #ff6671;
}

.mt5j-shot-top i:nth-child(2) {
    background: #f7bf42;
}

.mt5j-shot-top i:nth-child(3) {
    background: var(--land-green);
}

.mt5j-shot-top b {
    margin-inline-start: 10px;
    color: #c9d7e8;
    font-size: 10px;
}

.mt5j-shot-top small {
    margin-inline-start: auto;
    color: var(--land-green);
    font-size: 8px;
}

.mt5j-shot-body {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 430px;
}

.mt5j-shot-body > aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 16px 9px;
    border-inline-end: 1px solid #1b2b40;
    background: #0a1320;
}

.mt5j-shot-body > aside strong {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    color: #03131a;
    background: var(--land-cyan);
}

.mt5j-shot-body > aside span {
    width: 20px;
    height: 5px;
    border-radius: 10px;
    background: #293a50;
}

.mt5j-shot-content {
    padding: 17px;
}

.mt5j-shot-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.mt5j-shot-metrics span {
    padding: 12px;
    border: 1px solid #1c2d43;
    border-radius: 9px;
    background: #0d1826;
}

.mt5j-shot-metrics small,
.mt5j-shot-metrics b {
    display: block;
}

.mt5j-shot-metrics small {
    color: #7389a4;
    font-size: 8px;
}

.mt5j-shot-metrics b {
    margin-top: 7px;
    color: #eef8ff;
    font-size: 13px;
}

.mt5j-shot-metrics span:first-child b {
    color: var(--land-green);
}

.mt5j-shot-chart {
    height: 235px;
    margin-top: 10px;
    padding: 14px 10px 0;
    border: 1px solid #1c2d43;
    border-radius: 10px;
    background: #0b1522;
}

.mt5j-shot-chart svg {
    width: 100%;
    height: 100%;
}

.mt5j-shot-chart .grid {
    fill: none;
    stroke: #1d2a3c;
    stroke-width: 1;
}

.mt5j-shot-chart .area {
    fill: url(#mt5jHeroFill);
}

.mt5j-shot-chart .line {
    fill: none;
    stroke: var(--land-cyan);
    stroke-width: 4;
    stroke-linecap: round;
}

.mt5j-shot-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.mt5j-shot-table span {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    padding: 9px;
    border-radius: 7px;
    color: #8ea3bc;
    background: #101d2b;
    font-size: 8px;
}

.mt5j-shot-table b {
    color: var(--land-green);
}

.mt5j-shot-table span:last-child b {
    color: #ff7882;
}

.mt5j-landing-proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-block: 1px solid #182638;
    background: rgba(11, 19, 31, .55);
}

.mt5j-landing-proof div {
    padding: 24px 20px;
    text-align: center;
    border-inline-end: 1px solid #182638;
}

.mt5j-landing-proof div:last-child {
    border: 0;
}

.mt5j-landing-proof strong,
.mt5j-landing-proof span {
    display: block;
}

.mt5j-landing-proof strong {
    color: #eff8ff;
    font-size: 15px;
}

.mt5j-landing-proof span {
    margin-top: 7px;
    color: #7287a0;
    font-size: 10px;
}

.mt5j-landing-section {
    padding: 110px 0 25px;
    scroll-margin-top: 90px;
}

.mt5j-landing-section-title {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.mt5j-landing-section-title h2 {
    margin: 12px 0;
    color: #fff;
    font-size: clamp(27px, 4vw, 43px);
    line-height: 1.55;
    letter-spacing: -1.2px;
}

.mt5j-landing-section-title p {
    margin: 0;
    color: var(--land-muted);
    line-height: 2;
}

.mt5j-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mt5j-feature-grid article {
    min-height: 235px;
    padding: 23px;
    border: 1px solid #1d2d43;
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(17, 29, 44, .88), rgba(9, 16, 27, .88));
    transition: transform .2s ease, border-color .2s ease;
}

.mt5j-feature-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 210, 255, .4);
}

.mt5j-feature-grid i,
.mt5j-security-support article > i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(24, 210, 255, .26);
    border-radius: 12px;
    color: var(--land-cyan);
    background: rgba(24, 210, 255, .07);
    font-style: normal;
    font-size: 21px;
}

.mt5j-feature-grid h3 {
    margin: 18px 0 9px;
    color: #eef7ff;
    font-size: 17px;
}

.mt5j-feature-grid p,
.mt5j-showcase-copy p,
.mt5j-security-support p {
    margin: 0;
    color: #8ea2bb;
    font-size: 13px;
    line-height: 2;
}

.mt5j-showcase-row {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(480px, 1.2fr);
    align-items: center;
    gap: 65px;
    margin-bottom: 80px;
}

.mt5j-showcase-row.is-reverse {
    grid-template-columns: minmax(480px, 1.2fr) minmax(0, .8fr);
}

.mt5j-showcase-row.is-reverse .mt5j-showcase-copy {
    order: 2;
}

.mt5j-showcase-copy h3 {
    margin: 10px 0 13px;
    color: #fff;
    font-size: 29px;
    line-height: 1.6;
}

.mt5j-showcase-copy ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    color: #c6d4e4;
    font-size: 12px;
}

.mt5j-showcase-copy li::before {
    content: "✓";
    margin-inline-end: 9px;
    color: var(--land-green);
}

.mt5j-product-shot-journal,
.mt5j-product-shot-analysis {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 12px;
    min-height: 350px;
    padding: 23px;
}

.mt5j-mini-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    padding: 17px;
    border: 1px solid #1c2d42;
    border-radius: 12px;
    background: #0b1521;
}

.mt5j-mini-calendar i {
    display: grid;
    place-items: center;
    min-height: 32px;
    border-radius: 6px;
    color: #60758f;
    background: #101c2a;
    font-style: normal;
    font-size: 8px;
}

.mt5j-mini-calendar i.is-win {
    color: #78edc6;
    background: rgba(25, 221, 162, .13);
}

.mt5j-mini-calendar i.is-loss {
    color: #ff8992;
    background: rgba(255, 102, 113, .12);
}

.mt5j-mini-journals {
    display: grid;
    align-content: center;
    gap: 9px;
}

.mt5j-mini-journals > span {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    padding: 15px;
    border: 1px solid #1d2e43;
    border-radius: 10px;
    background: #101b29;
}

.mt5j-mini-journals b {
    color: #e9f5ff;
    font-size: 11px;
}

.mt5j-mini-journals em {
    color: var(--land-cyan);
    font-style: normal;
    font-size: 8px;
}

.mt5j-mini-journals strong {
    grid-column: 1 / -1;
    color: var(--land-green);
    direction: ltr;
}

.mt5j-mini-journals .is-loss strong {
    color: #ff7882;
}

.mt5j-product-shot-analysis {
    align-items: center;
}

.mt5j-analysis-ring {
    display: grid;
    place-items: center;
    align-content: center;
    width: 190px;
    height: 190px;
    margin: auto;
    border: 20px solid #15283b;
    border-top-color: var(--land-cyan);
    border-right-color: var(--land-green);
    border-radius: 50%;
}

.mt5j-analysis-ring b,
.mt5j-analysis-ring span {
    display: block;
}

.mt5j-analysis-ring b {
    color: #fff;
    font-size: 34px;
}

.mt5j-analysis-ring span {
    margin-top: 6px;
    color: #8095ae;
    font-size: 10px;
}

.mt5j-analysis-bars {
    display: grid;
    gap: 19px;
}

.mt5j-analysis-bars i {
    position: relative;
    display: block;
    height: 9px;
    border-radius: 10px;
    background: #172538;
}

.mt5j-analysis-bars i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--v);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--land-green), var(--land-cyan));
}

.mt5j-analysis-bars b {
    position: absolute;
    bottom: 14px;
    color: #96aac2;
    font-size: 9px;
}

.mt5j-landing-pricing {
    position: relative;
}

.mt5j-landing-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}

.mt5j-landing-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 580px;
    padding: 25px;
    border: 1px solid #21334a;
    border-radius: 18px;
    background: linear-gradient(160deg, #101b2a, #09111c);
}

.mt5j-landing-plan.is-recommended {
    border-color: var(--land-green);
    box-shadow: 0 0 0 2px rgba(25, 221, 162, .10), 0 25px 75px rgba(0, 0, 0, .32);
    transform: translateY(-10px);
}

.mt5j-plan-recommended {
    position: absolute;
    top: -15px;
    inset-inline: 25px;
    padding: 7px 12px;
    border-radius: 20px;
    color: #00140d;
    background: var(--land-green);
    text-align: center;
    font-size: 10px;
    font-weight: 950;
}

.mt5j-landing-plan > small {
    color: var(--land-cyan);
    font-weight: 900;
}

.mt5j-landing-plan h3 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: 23px;
}

.mt5j-landing-plan > p {
    min-height: 75px;
    margin: 0;
    color: #8fa3bc;
    line-height: 1.9;
    font-size: 12px;
}

.mt5j-landing-plan-price {
    min-height: 120px;
    margin: 20px 0;
    padding-block: 18px;
    border-block: 1px solid #1e2e43;
}

.mt5j-landing-plan-price div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mt5j-landing-plan-price del {
    color: #6f8299;
    font-size: 11px;
}

.mt5j-landing-plan-price em {
    padding: 4px 7px;
    border-radius: 20px;
    color: #ffd18d;
    background: rgba(247, 191, 66, .09);
    font-style: normal;
    font-size: 9px;
}

.mt5j-landing-plan-price strong,
.mt5j-landing-plan-price > span {
    display: block;
}

.mt5j-landing-plan-price strong {
    margin-top: 8px;
    color: var(--land-green);
    font-size: 29px;
}

.mt5j-landing-plan-price strong i {
    font-style: normal;
    font-size: 11px;
}

.mt5j-landing-plan-price > span {
    margin-top: 7px;
    color: #778ba4;
    font-size: 10px;
}

.mt5j-landing-plan > ul {
    display: grid;
    gap: 12px;
    flex: 1;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
    color: #c3d2e3;
    font-size: 11px;
}

.mt5j-landing-plan > ul li::before {
    content: "✓";
    margin-inline-end: 9px;
    color: var(--land-green);
}

.mt5j-landing-plan > a,
.mt5j-landing-plan > button {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(24, 210, 255, .35);
    border-radius: 10px;
    color: var(--land-cyan);
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.mt5j-landing-plan.is-recommended > a,
.mt5j-landing-plan.is-recommended > button {
    color: #00140e;
    border-color: transparent;
    background: linear-gradient(135deg, var(--land-green), var(--land-cyan));
}

.mt5j-payment-login-note {
    margin: 13px 0 0;
    color: #8498b1;
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
}

.mt5j-comparison-wrap {
    overflow-x: auto;
    border: 1px solid #203149;
    border-radius: 16px;
    background: #0b1420;
}

.mt5j-plan-comparison table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.mt5j-plan-comparison th,
.mt5j-plan-comparison td {
    padding: 17px 18px;
    border-bottom: 1px solid #1b2b40;
    color: #9fb1c8;
    text-align: center;
    font-size: 11px;
}

.mt5j-plan-comparison th {
    color: #e8f4ff;
    background: #101c2a;
}

.mt5j-plan-comparison th:first-child,
.mt5j-plan-comparison td:first-child {
    text-align: right;
}

.mt5j-plan-comparison tr:last-child td {
    border-bottom: 0;
}

.mt5j-plan-comparison td.is-check {
    color: var(--land-green);
    font-size: 17px;
}

.mt5j-security-support {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mt5j-security-support article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 22px;
    border: 1px solid #1d2d43;
    border-radius: 15px;
    background: #0c1521;
}

.mt5j-security-support h3 {
    margin: 8px 0;
    color: #edf7ff;
    font-size: 16px;
}

.mt5j-faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 10px;
}

.mt5j-faq details {
    border: 1px solid #1d2e43;
    border-radius: 12px;
    background: #0d1724;
}

.mt5j-faq summary {
    padding: 18px;
    color: #e3effa;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.mt5j-faq details[open] {
    border-color: rgba(24, 210, 255, .35);
}

.mt5j-faq details p {
    margin: 0;
    padding: 0 18px 18px;
    color: #8fa3bb;
    font-size: 11px;
    line-height: 2;
}

.mt5j-landing-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 110px 0 50px;
    padding: 40px;
    border: 1px solid rgba(24, 210, 255, .25);
    border-radius: 20px;
    background:
        radial-gradient(circle at 10% 10%, rgba(24, 210, 255, .12), transparent 35%),
        linear-gradient(135deg, #101c2b, #09131f);
}

.mt5j-landing-final h2 {
    margin: 9px 0;
    color: #fff;
    font-size: 30px;
}

.mt5j-landing-final p {
    margin: 0;
    color: #91a5bd;
}

.mt5j-landing-final > a {
    flex: 0 0 auto;
    padding: 15px 23px;
    border-radius: 11px;
    color: #00140e;
    background: linear-gradient(135deg, var(--land-green), var(--land-cyan));
    font-size: 12px;
    font-weight: 950;
}

.mt5j-landing-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px;
    padding: 25px 0 35px;
    border-top: 1px solid #182638;
    color: #71869f;
    font-size: 10px;
}

.mt5j-landing-footer p {
    margin: 0;
    text-align: center;
}

.mt5j-landing-footer > nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.mt5j-landing-footer > nav a {
    color: #879bb1;
    transition: color .2s ease;
}

.mt5j-landing-footer > nav a:hover,
.mt5j-landing-footer > nav a:last-child {
    color: var(--land-cyan);
}

@media (max-width: 1100px) {
    .mt5j-landing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 75px;
    }

    .mt5j-product-shot-main {
        width: min(100%, 760px);
        margin-inline: auto;
        transform: none;
    }

    .mt5j-feature-grid,
    .mt5j-landing-plan-grid,
    .mt5j-security-support {
        grid-template-columns: repeat(2, 1fr);
    }

    .mt5j-showcase-row,
    .mt5j-showcase-row.is-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mt5j-showcase-row.is-reverse .mt5j-showcase-copy {
        order: 0;
    }

    .mt5j-landing-plan.is-recommended {
        transform: none;
    }

    .mt5j-expert-hero,
    .mt5j-expert-grid,
    .mt5j-expert-grid-bottom,
    .mt5j-expert-security,
    .mt5j-expert-options,
    .mt5j-expert-package-note,
    .mt5j-expert-studio-head,
    .mt5j-expert-download-cards,
    .mt5j-expert-platform-grid,
    .mt5j-expert-version-list,
    .mt5j-expert-setup-grid,
    .mt5j-expert-simple-grid {
        grid-template-columns: 1fr;
    }

    .mt5j-expert-card-actions,
    .mt5j-expert-connection-actions {
        grid-template-columns: 1fr;
    }

    .mt5j-expert-copy-item {
        grid-template-columns: 1fr;
    }

    .mt5j-copy-btn {
        width: 100%;
        justify-content: center;
    }

    .mt5j-expert-advanced summary {
        align-items: stretch;
        flex-direction: column;
    }

    .mt5j-expert-advanced summary::after {
        text-align: right;
    }

    .mt5j-settings-grid,
    .mt5j-subscribe-card,
    .mt5j-purchase-grid,
    .mt5j-auth-two,
    .mt5j-commerce-metrics,
    .mt5j-gateway-grid,
    .mt5j-payment-stat-grid,
    .mt5j-payment-flow,
    .mt5j-plan-builder-preview,
    .mt5j-readiness-grid {
        grid-template-columns: 1fr;
    }

    .mt5j-commerce-hero,
    .mt5j-purchase-heading,
    .mt5j-commerce-section-head,
    .mt5j-payment-ops-head,
    .mt5j-commerce-savebar {
        align-items: stretch;
        flex-direction: column;
    }

    .mt5j-commerce-hero-actions,
    .mt5j-commerce-savebar .mt5j-btn {
        width: 100%;
    }

    .mt5j-commerce-hero-actions .mt5j-btn,
    .mt5j-commerce-savebar .mt5j-btn {
        justify-content: center;
    }

    .mt5j-plan-card-pro {
        position: static;
    }

    .mt5j-purchase-card.is-recommended {
        transform: none;
    }

    .mt5j-plan-features-editor,
    .mt5j-plan-admin-insights,
    .mt5j-subscribe-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .mt5j-landing-header,
    .mt5j-landing > main,
    .mt5j-landing-footer {
        width: min(100% - 24px, 1180px);
    }

    .mt5j-landing-header {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 64px;
        gap: 8px;
        top: 8px;
        margin-top: 0;
        padding: 8px 10px;
        border-radius: 15px;
    }

    .mt5j-landing-header nav {
        position: absolute;
        top: calc(100% + 8px);
        inset-inline: 0;
        display: none;
        grid-template-columns: 1fr;
        gap: 8px;
        overflow: visible;
        padding: 10px;
        border: 1px solid rgba(70, 105, 143, .42);
        border-radius: 15px;
        background: rgba(7, 15, 25, .97);
        box-shadow: 0 22px 55px rgba(0, 0, 0, .42);
        backdrop-filter: blur(16px);
        white-space: normal;
    }

    .mt5j-landing-header.is-menu-open nav {
        display: grid;
        animation: mt5j-public-menu-in .18s ease-out both;
    }

    .mt5j-landing-header nav a {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: flex-start;
        padding: 8px 10px;
        border: 1px solid rgba(70, 105, 143, .20);
        border-radius: 10px;
        background: rgba(17, 31, 47, .80);
        color: #c1d2e5;
        font-size: 12px;
        font-weight: 800;
        text-align: right;
    }

    .mt5j-landing-header nav a.is-current {
        border-color: rgba(24, 210, 255, .35);
        background: rgba(24, 210, 255, .09);
        color: #fff;
    }

    .mt5j-landing-brand {
        min-width: 0;
    }

    .mt5j-landing-brand > span {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 20px;
    }

    .mt5j-landing-brand b {
        font-size: 14px;
        white-space: nowrap;
    }

    .mt5j-landing-brand small {
        display: none;
    }

    .mt5j-public-header-actions {
        gap: 7px;
    }

    .mt5j-landing-login {
        min-height: 42px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .mt5j-account-label-full {
        display: none;
    }

    .mt5j-account-label-short {
        display: inline;
    }

    .mt5j-public-menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .mt5j-landing-hero {
        gap: 35px;
        padding: 65px 0 40px;
    }

    .mt5j-landing-hero h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .mt5j-landing-actions {
        flex-direction: column;
    }

    .mt5j-landing-primary,
    .mt5j-landing-secondary {
        width: 100%;
    }

    .mt5j-shot-body {
        grid-template-columns: 34px minmax(0, 1fr);
        min-height: 335px;
    }

    .mt5j-shot-body > aside {
        gap: 19px;
        padding-inline: 5px;
    }

    .mt5j-shot-body > aside strong {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .mt5j-shot-body > aside span {
        width: 14px;
    }

    .mt5j-shot-content {
        padding: 9px;
    }

    .mt5j-shot-metrics {
        gap: 5px;
    }

    .mt5j-shot-metrics span {
        padding: 8px;
    }

    .mt5j-shot-metrics b {
        font-size: 9px;
    }

    .mt5j-shot-chart {
        height: 180px;
    }

    .mt5j-shot-table span {
        padding: 6px;
        font-size: 6px;
    }

    .mt5j-landing-proof,
    .mt5j-feature-grid,
    .mt5j-landing-plan-grid,
    .mt5j-security-support,
    .mt5j-faq-list {
        grid-template-columns: 1fr;
    }

    .mt5j-landing-proof {
        grid-template-columns: repeat(2, 1fr);
    }

    .mt5j-landing-proof div:nth-child(2) {
        border-inline-end: 0;
    }

    .mt5j-landing-section {
        padding-top: 75px;
    }

    .mt5j-landing-section-title {
        margin-bottom: 30px;
    }

    .mt5j-product-shot-journal,
    .mt5j-product-shot-analysis {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .mt5j-product-shot-analysis {
        gap: 55px;
        padding-block: 35px;
    }

    .mt5j-landing-plan {
        min-height: auto;
    }

    .mt5j-landing-final {
        align-items: stretch;
        flex-direction: column;
        margin-top: 75px;
        padding: 27px;
    }

    .mt5j-landing-final h2 {
        font-size: 24px;
    }

    .mt5j-landing-final > a {
        text-align: center;
    }

    .mt5j-landing-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .mt5j-landing-footer > nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@keyframes mt5j-public-menu-in {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 360px) {
    .mt5j-landing-login {
        padding-inline: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mt5j-landing-header.is-menu-open nav {
        animation: none;
    }

    .mt5j-public-menu-toggle i {
        transition: none;
    }
}

@media (max-width: 900px) {
    .mt5j-login-gate.mt5j-otp-gate {
        padding: 16px;
        place-items: start center;
    }

    .mt5j-login-gate .mt5j-auth-card {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .mt5j-auth-intro {
        min-height: auto;
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .mt5j-auth-intro,
    .mt5j-auth-panel {
        padding: 24px;
    }

    .mt5j-auth-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mt5j-auth-benefits span {
        width: auto;
        justify-content: center;
    }

    .mt5j-current-subscription,
    .mt5j-purchase-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .mt5j-current-subscription > strong {
        min-width: 0;
        min-height: 68px;
    }
}

@media (max-width: 560px) {
    .mt5j-login-gate.mt5j-otp-gate {
        padding: 10px;
    }

    .mt5j-auth-intro,
    .mt5j-auth-panel,
    .mt5j-paywall,
    .mt5j-payment-dialog {
        padding: 18px;
    }

    .mt5j-auth-benefits,
    .mt5j-auth-steps,
    .mt5j-auth-plan-note,
    .mt5j-payment-dialog fieldset {
        grid-template-columns: 1fr;
    }

    .mt5j-auth-steps {
        display: grid;
    }

    .mt5j-payment-dialog fieldset {
        display: grid;
    }

    .mt5j-auth-benefits span,
    .mt5j-auth-kicker {
        width: 100%;
        justify-content: center;
    }

    .mt5j-login-gate .mt5j-auth-panel h2,
    .mt5j-paywall-head h2,
    .mt5j-purchase-heading h2 {
        font-size: 24px;
    }

    .mt5j-purchase-card {
        padding: 18px;
    }

    .mt5j-purchase-price strong {
        font-size: 26px;
    }
}

/* Minimal OTP login */
.mt5j-login-gate.mt5j-otp-gate {
    --auth-bg: #070b12;
    --auth-panel: rgba(13, 22, 35, .88);
    --auth-border: rgba(90, 188, 255, .25);
    --auth-text: #f6fbff;
    --auth-muted: #9fb2cc;
    --auth-cyan: #19d3ff;
    --auth-green: #22f0b2;
    min-height: 100svh;
    padding: clamp(16px, 4vw, 42px);
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 10%, rgba(25, 211, 255, .14), transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(34, 240, 178, .10), transparent 26%),
        linear-gradient(135deg, #050910 0%, #07111b 52%, #061720 100%);
}

.mt5j-login-gate .mt5j-auth-card {
    width: min(432px, 100%);
    display: block;
    border: 1px solid var(--auth-border);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 0%, rgba(25, 211, 255, .12), transparent 38%),
        rgba(12, 20, 33, .86);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(18px);
}

.mt5j-login-gate .mt5j-auth-card::before,
.mt5j-auth-intro,
.mt5j-auth-steps,
.mt5j-auth-benefits,
.mt5j-auth-kicker {
    display: none;
}

.mt5j-auth-panel {
    padding: clamp(26px, 5vw, 38px) !important;
    background: transparent;
}

.mt5j-auth-brand {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.mt5j-auth-brand span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #1fd5ff, #1d65ff);
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(16, 189, 242, .22);
}

.mt5j-auth-brand strong {
    color: var(--auth-text);
    font-size: 16px;
    line-height: 1.3;
}

.mt5j-login-gate .mt5j-auth-panel h2 {
    margin: 0 !important;
    color: var(--auth-text) !important;
    font-size: clamp(27px, 4vw, 34px);
    font-weight: 950;
    line-height: 1.35;
}

.mt5j-login-gate .mt5j-auth-panel p {
    margin: 10px auto 0;
    max-width: 310px;
    color: var(--auth-muted);
    line-height: 1.9;
    font-size: 14px;
}

.mt5j-login-gate .mt5j-auth-panel p b {
    color: #dff8ff;
    direction: ltr;
    display: inline-block;
}

.mt5j-auth-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.mt5j-auth-field {
    display: grid;
    gap: 8px;
    text-align: right;
    color: #dbe8fa;
    font-weight: 900;
}

.mt5j-auth-form input:not([type="hidden"]) {
    box-sizing: border-box;
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(116, 153, 198, .28);
    border-radius: 16px;
    background: rgba(5, 12, 22, .76);
    color: #f7fbff;
    padding: 0 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
    font: inherit;
}

.mt5j-auth-form input:not([type="hidden"]):focus {
    outline: none;
    border-color: rgba(25, 211, 255, .78);
    box-shadow: 0 0 0 4px rgba(25, 211, 255, .10);
}

.mt5j-auth-form input::placeholder {
    color: rgba(170, 188, 212, .58);
}

.mt5j-auth-form .mt5j-btn.mt5j-primary {
    min-height: 50px;
    border: 0;
    border-radius: 15px;
    color: #03131b;
    background: linear-gradient(135deg, #1fd5ff, #22f0b2);
    font-weight: 950;
    cursor: pointer;
}

.mt5j-auth-form .mt5j-btn.mt5j-primary:disabled,
.mt5j-auth-form .mt5j-btn.mt5j-primary[disabled] {
    opacity: .55;
    cursor: not-allowed;
    filter: grayscale(.2);
}

.mt5j-otp-boxes {
    --otp-size: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    direction: ltr;
}

.mt5j-otp-boxes .mt5j-otp-digit {
    box-sizing: border-box;
    flex: 0 0 var(--otp-size);
    width: var(--otp-size) !important;
    min-width: var(--otp-size);
    height: var(--otp-size);
    min-height: var(--otp-size);
    padding: 0;
    border-radius: 16px;
    text-align: center;
    font-size: 25px;
    font-weight: 950;
    direction: ltr;
    caret-color: var(--auth-cyan);
}

.mt5j-otp-boxes[data-length="6"] { --otp-size: 50px; gap: 8px; }
.mt5j-otp-boxes[data-length="7"] { --otp-size: 45px; gap: 7px; }
.mt5j-otp-boxes[data-length="8"] { --otp-size: 40px; gap: 6px; }

.mt5j-auth-form.is-error .mt5j-otp-boxes {
    animation: mt5j-otp-shake .28s ease;
}

.mt5j-auth-form.is-error .mt5j-otp-digit {
    border-color: rgba(255, 91, 122, .65);
    box-shadow: 0 0 0 4px rgba(255, 91, 122, .08);
}

@keyframes mt5j-otp-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(6px); }
    50% { transform: translateX(-6px); }
    75% { transform: translateX(4px); }
}

.mt5j-auth-message {
    margin: 16px auto 0;
    max-width: 100%;
    border-radius: 14px;
    padding: 10px 12px;
    line-height: 1.8;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
}

.mt5j-auth-plan-note {
    margin-top: 16px;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 12px;
}

.mt5j-auth-plan-note span {
    grid-row: auto;
    justify-self: center;
}

.mt5j-auth-profile-mini {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(34, 240, 178, .20);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(34, 240, 178, .08), rgba(25, 211, 255, .05)),
        rgba(4, 12, 22, .38);
}

.mt5j-auth-profile-mini > span {
    color: #9fffe6;
    font-size: 13px;
    font-weight: 950;
    text-align: center;
}

.mt5j-auth-profile-mini > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mt5j-auth-profile-mini .mt5j-auth-field {
    gap: 7px;
    font-size: 13px;
}

.mt5j-auth-profile-mini input:not([type="hidden"]) {
    min-height: 48px;
    border-radius: 14px;
}

.mt5j-auth-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.mt5j-auth-resend {
    display: block;
    margin: 0;
}

.mt5j-auth-links a,
.mt5j-auth-resend button {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(25, 211, 255, .20);
    border-radius: 14px;
    background: rgba(9, 20, 34, .70);
    color: var(--auth-cyan);
    padding: 0 12px;
    text-decoration: none;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.mt5j-auth-links a:hover,
.mt5j-auth-resend button:hover {
    border-color: rgba(25, 211, 255, .44);
    background: rgba(25, 211, 255, .08);
    color: #8cedff;
}

.mt5j-auth-resend button:disabled,
.mt5j-auth-resend button.is-counting {
    color: rgba(190, 216, 240, .72);
    cursor: not-allowed;
    border-color: rgba(116, 153, 198, .16);
    background: rgba(8, 15, 26, .56);
}

@media (max-width: 560px) {
    .mt5j-login-gate.mt5j-otp-gate {
        padding: 14px;
        align-items: center;
    }

    .mt5j-login-gate .mt5j-auth-card {
        border-radius: 22px;
    }

    .mt5j-auth-panel {
        padding: 24px 20px !important;
    }

    .mt5j-otp-boxes {
        --otp-size: 52px;
        gap: 8px;
    }

    .mt5j-otp-boxes .mt5j-otp-digit {
        font-size: 22px;
        border-radius: 14px;
    }

    .mt5j-otp-boxes[data-length="6"] { --otp-size: 44px; gap: 6px; }
    .mt5j-otp-boxes[data-length="7"] { --otp-size: 39px; gap: 5px; }
    .mt5j-otp-boxes[data-length="8"] { --otp-size: 34px; gap: 4px; }

    .mt5j-auth-profile-mini > div,
    .mt5j-auth-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .mt5j-account-grid,
    .mt5j-accounts-hero,
    .mt5j-account-overview-strip,
    .mt5j-expert-account-readiness {
        grid-template-columns: 1fr;
    }

    .mt5j-accounts-capacity {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .mt5j-accounts-hero {
        padding: 18px;
        border-radius: 18px;
    }

    .mt5j-accounts-hero h2 {
        font-size: 22px;
    }

    .mt5j-account-card {
        padding: 16px;
        border-radius: 18px;
    }

    .mt5j-account-card-head {
        flex-direction: column;
    }

    .mt5j-account-badges {
        justify-content: flex-start;
    }

    .mt5j-account-stats,
    .mt5j-account-form-grid,
    .mt5j-account-overview-stats {
        grid-template-columns: 1fr;
    }

    .mt5j-account-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mt5j-account-actions .mt5j-btn,
    .mt5j-account-overview-actions .mt5j-btn,
    .mt5j-account-overview-actions .mt5j-new-trade,
    .mt5j-expert-account-readiness .mt5j-btn {
        width: 100%;
        justify-content: center;
    }

    .mt5j-expert-account-pills {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Server typography normalization
   Keeps the plugin visually stable when the live theme sets large body/button fonts. */
:where(
    .mt5j-shell,
    .mt5j-frontend,
    .mt5j-dashboard-app,
    .mt5j-login-gate,
    .mt5j-payment-modal,
    .mt5j-settings-panel,
    .mt5j-admin-form,
    .mt5j-commerce-admin,
    .mt5j-landing,
    .mt5j-analysis-page
) {
    font-size: 14px;
    line-height: 1.65;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
}

:where(
    .mt5j-shell,
    .mt5j-frontend,
    .mt5j-dashboard-app,
    .mt5j-login-gate,
    .mt5j-payment-modal,
    .mt5j-settings-panel,
    .mt5j-admin-form,
    .mt5j-commerce-admin,
    .mt5j-landing
) :where(button, input, select, textarea, a, label, span, p, small, strong, b, em, td, th, li) {
    line-height: 1.65;
}

.mt5j-login-gate .mt5j-auth-panel h2 {
    font-size: clamp(24px, 3.2vw, 30px);
    line-height: 1.35;
    font-weight: 800;
}

.mt5j-login-gate .mt5j-auth-panel p {
    font-size: 13px;
    line-height: 1.8;
}

.mt5j-auth-brand strong {
    font-size: 14px;
    font-weight: 700;
}

.mt5j-auth-brand span {
    font-weight: 700;
}

.mt5j-auth-field,
.mt5j-auth-profile-mini .mt5j-auth-field,
.mt5j-auth-profile-mini > span,
.mt5j-auth-message {
    font-size: 12.5px;
    font-weight: 700;
}

.mt5j-auth-form input:not([type="hidden"]) {
    font-size: 14px;
    font-weight: 700;
}

.mt5j-auth-form .mt5j-btn.mt5j-primary,
.mt5j-auth-links a,
.mt5j-auth-resend button {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.mt5j-otp-boxes {
    --otp-size: 52px;
}

.mt5j-otp-boxes .mt5j-otp-digit {
    font-size: 22px;
    font-weight: 700;
}

.mt5j-app-brand strong {
    font-size: 16px;
    font-weight: 800;
}

.mt5j-app-brand small,
.mt5j-subscription-chip,
.mt5j-nav-group-title {
    font-size: 11px;
    font-weight: 700;
}

.mt5j-app-nav a,
.mt5j-logout-link {
    font-size: 14px;
    font-weight: 700;
}

.mt5j-page-title h1,
.mt5j-dashboard-title h1 {
    font-size: clamp(22px, 2.2vw, 26px);
    line-height: 1.35;
    font-weight: 800;
}

.mt5j-btn,
.mt5j-new-trade,
.mt5j-range-tabs a,
.mt5j-range-tabs button,
.mt5j-dashboard-actions .mt5j-btn,
.mt5j-toolbar .mt5j-btn {
    font-size: 13px;
    font-weight: 700;
}

.mt5j-widget-head h2,
.mt5j-card-head h2,
.mt5j-form-card h2,
.mt5j-expert-hero h2,
.mt5j-expert-studio-head h2 {
    font-size: clamp(18px, 1.8vw, 23px);
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 560px) {
    .mt5j-login-gate .mt5j-auth-card {
        width: min(420px, 100%);
    }

    .mt5j-login-gate .mt5j-auth-panel h2 {
        font-size: 26px;
    }

    .mt5j-otp-boxes {
        --otp-size: 48px;
        gap: 8px;
    }

    .mt5j-otp-boxes[data-length="5"] {
        --otp-size: 46px;
    }

    .mt5j-auth-form .mt5j-btn.mt5j-primary,
    .mt5j-auth-links a,
    .mt5j-auth-resend button {
        font-size: 13px;
    }
}

/* Checklist page polish */
.mt5j-checklists-page {
    direction: rtl;
    text-align: right;
    overflow-y: auto;
}

.mt5j-checklists-board {
    width: 100%;
    max-width: 430px;
    margin-inline-start: 0;
    margin-inline-end: auto;
    grid-template-columns: minmax(280px, 390px);
    justify-content: start;
    direction: rtl;
}

.mt5j-checklist-cards,
.mt5j-checklist-add-card,
.mt5j-checklist-card,
.mt5j-checklist-dialog {
    direction: rtl;
    text-align: right;
}

.mt5j-checklist-cards {
    grid-column: 1;
}

.mt5j-checklist-card-actions {
    justify-content: flex-end;
}

.mt5j-checklist-card-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.mt5j-checklist-card-head h2 {
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}

.mt5j-checklist-card-items label {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    direction: rtl;
    gap: 8px;
    min-width: 0;
}

.mt5j-checklist-card-items label > i {
    display: none;
}

.mt5j-checklist-card-items strong {
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.75;
}

.mt5j-checklist-card-items span,
.mt5j-checklist-card-items small {
    white-space: nowrap;
    flex: 0 0 auto;
}

.mt5j-checklist-card-items small {
    font-size: 10.5px;
    padding: 3px 7px;
}

.mt5j-checklist-card-items input {
    justify-self: center;
}

.mt5j-checklist-card-foot {
    align-items: center;
    flex-wrap: wrap;
}

.mt5j-checklist-card-foot span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.mt5j-checklist-modal {
    padding: 18px;
    align-items: center;
}

.mt5j-checklist-dialog {
    width: min(760px, calc(100vw - 28px));
    max-height: min(820px, calc(100vh - 36px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(16, 189, 242, .10), transparent 36%),
        #101825;
}

.mt5j-checklist-dialog header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(16, 24, 37, .98);
    backdrop-filter: blur(12px);
}

.mt5j-checklist-dialog header h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    line-height: 1.35;
}

.mt5j-checklist-dialog header button {
    order: 2;
    color: #a7c6ef;
}

.mt5j-checklist-dialog-body {
    overflow-y: auto;
    direction: ltr;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 189, 242, .55) rgba(15, 23, 34, .8);
}

.mt5j-checklist-dialog-body > * {
    direction: rtl;
}

.mt5j-checklist-dialog-body::-webkit-scrollbar {
    width: 8px;
}

.mt5j-checklist-dialog-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 34, .8);
    border-radius: 999px;
}

.mt5j-checklist-dialog-body::-webkit-scrollbar-thumb {
    background: rgba(16, 189, 242, .55);
    border-radius: 999px;
}

.mt5j-checklist-title-field {
    text-align: right;
}

.mt5j-checklist-title-field input,
.mt5j-checklist-title-field textarea,
.mt5j-item-title,
.mt5j-item-category {
    text-align: right;
}

.mt5j-checklist-item-row {
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(16, 189, 242, .055), rgba(16, 201, 146, .035)),
        #0c1420;
}

.mt5j-item-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.mt5j-item-index {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #81ecff;
    background: rgba(16, 189, 242, .10);
    border: 1px solid rgba(16, 189, 242, .28);
    font-weight: 800;
}

.mt5j-item-top button[data-item-remove] {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 77, 87, .08);
    border: 1px solid rgba(255, 77, 87, .20);
    color: #ff9aa4;
    font-size: 20px;
}

.mt5j-item-category {
    color-scheme: dark;
}

.mt5j-item-weight {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.mt5j-item-options {
    justify-content: flex-start;
}

.mt5j-checklist-dialog footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: rgba(16, 24, 37, .98);
    backdrop-filter: blur(12px);
}

@media (max-width: 820px) {
    .mt5j-checklists-page {
        margin: 0 -16px -24px;
        padding: 22px 16px 36px;
    }

    .mt5j-checklists-board {
        max-width: none;
        grid-template-columns: 1fr;
    }

    .mt5j-checklist-cards {
        grid-column: auto;
    }

    .mt5j-checklist-dialog {
        width: min(100%, calc(100vw - 16px));
        max-height: calc(100vh - 18px);
        border-radius: 18px;
    }

    .mt5j-checklist-dialog header,
    .mt5j-checklist-dialog footer,
    .mt5j-checklist-dialog-body {
        padding-inline: 16px;
    }

    .mt5j-checklist-dialog header h2 {
        font-size: 22px;
    }

    .mt5j-item-top,
    .mt5j-item-weight {
        grid-template-columns: 1fr;
    }

    .mt5j-item-index,
    .mt5j-item-top button[data-item-remove] {
        justify-self: start;
    }
}

/* Commerce admin final polish */
.mt5j-commerce-admin {
    --commerce-panel: #101b25;
    --commerce-line: rgba(84, 126, 161, .36);
    --commerce-line-soft: rgba(84, 126, 161, .22);
    --commerce-text: #f4f8fb;
    --commerce-muted: #9fb2c2;
    --commerce-cyan: #27c7ea;
    --commerce-green: #22d7a7;
    --commerce-gold: #f4bf52;
    --commerce-red: #ff5d66;
    max-width: none;
    width: auto;
    min-height: calc(100vh - 32px);
    padding: 28px 30px 92px;
    background:
        radial-gradient(circle at 98% 2%, rgba(34, 215, 167, .12), transparent 30%),
        radial-gradient(circle at 5% 18%, rgba(39, 199, 234, .11), transparent 34%),
        linear-gradient(180deg, #08131a 0%, #060c11 100%);
    color: var(--commerce-text);
}

.mt5j-commerce-admin .mt5j-commerce-hero {
    min-height: 168px;
    margin: 0 0 18px;
    padding: 28px 32px;
    border: 1px solid rgba(39, 199, 234, .28);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(34, 215, 167, .10), transparent 34%),
        radial-gradient(circle at 14% 10%, rgba(39, 199, 234, .16), transparent 36%),
        linear-gradient(135deg, #132a35 0%, #0d1720 62%, #091016 100%);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .26);
}

.mt5j-commerce-admin .mt5j-commerce-hero h1 {
    max-width: 760px;
    margin: 12px 0 10px;
    color: #ffffff;
    background: transparent;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.35;
    letter-spacing: -.04em;
}

.mt5j-commerce-admin .mt5j-commerce-hero p {
    max-width: 880px;
    color: #b7c8d7;
    font-size: 14px;
    line-height: 2;
}

.mt5j-commerce-admin .mt5j-commerce-hero-actions {
    gap: 12px;
    justify-content: flex-start;
}

.mt5j-commerce-admin .mt5j-section-label {
    border-color: rgba(34, 215, 167, .30);
    background: rgba(34, 215, 167, .10);
    color: #65f0ce;
}

.mt5j-commerce-admin .mt5j-btn,
.mt5j-commerce-admin .button {
    min-height: 46px;
    border-radius: 14px;
    border-color: rgba(124, 160, 194, .26);
    background: linear-gradient(180deg, #162637, #0d1824);
    color: #edf8ff;
    box-shadow: none;
}

.mt5j-commerce-admin .mt5j-btn:hover,
.mt5j-commerce-admin .button:hover {
    border-color: rgba(39, 199, 234, .55);
    color: #ffffff;
    background: linear-gradient(180deg, #1b3244, #102231);
}

.mt5j-commerce-admin .mt5j-btn.mt5j-primary,
.mt5j-commerce-admin .mt5j-primary {
    border: 0;
    color: #041317;
    background: linear-gradient(135deg, var(--commerce-green), var(--commerce-cyan));
    box-shadow: 0 14px 34px rgba(39, 199, 234, .18);
}

.mt5j-commerce-admin .mt5j-commerce-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 16px;
}

.mt5j-commerce-admin .mt5j-commerce-metric {
    min-height: 126px;
    padding: 18px;
    border-color: var(--commerce-line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 12% 0, rgba(39, 199, 234, .08), transparent 42%),
        linear-gradient(180deg, rgba(19, 35, 49, .92), rgba(12, 21, 30, .96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.mt5j-commerce-admin .mt5j-commerce-metric::after {
    inset-inline-start: auto;
    inset-inline-end: 0;
    width: 5px;
    height: 52px;
    border-radius: 999px 0 0 999px;
}

.mt5j-commerce-admin .mt5j-commerce-metric span,
.mt5j-commerce-admin .mt5j-commerce-metric small {
    color: var(--commerce-muted);
    line-height: 1.8;
}

.mt5j-commerce-admin .mt5j-commerce-metric strong {
    color: var(--commerce-text);
    font-size: clamp(22px, 1.8vw, 30px);
}

.mt5j-commerce-admin .mt5j-commerce-tabs {
    position: sticky;
    top: 32px;
    z-index: 15;
    margin: 0 0 16px;
    padding: 12px;
    border-color: var(--commerce-line);
    border-radius: 20px;
    background: rgba(11, 20, 29, .92);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.mt5j-commerce-admin .mt5j-commerce-tabs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: rgba(124, 160, 194, .22);
    border-radius: 14px;
    background: #0c1722;
    color: #c4d3df;
}

.mt5j-commerce-admin .mt5j-commerce-tabs a:hover,
.mt5j-commerce-admin .mt5j-commerce-tabs a:focus {
    border-color: rgba(39, 199, 234, .62);
    background: rgba(39, 199, 234, .12);
    color: #ffffff;
}

.mt5j-commerce-admin .mt5j-commerce-form {
    display: grid;
    gap: 18px;
    background: transparent;
}

.mt5j-commerce-admin .mt5j-commerce-section {
    gap: 20px;
    margin: 0;
    padding: 24px;
    border-color: var(--commerce-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(39, 199, 234, .08), transparent 36%),
        linear-gradient(180deg, rgba(16, 28, 39, .96), rgba(8, 16, 24, .98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .20);
}

.mt5j-commerce-admin .mt5j-commerce-section + .mt5j-commerce-section {
    margin-top: 0;
}

.mt5j-commerce-admin .mt5j-commerce-section-head {
    align-items: center;
    padding-bottom: 18px;
    border-bottom-color: var(--commerce-line-soft);
}

.mt5j-commerce-admin .mt5j-commerce-section-head h2 {
    margin: 8px 0 6px;
    color: #ffffff;
    font-size: clamp(24px, 2.1vw, 34px);
}

.mt5j-commerce-admin .mt5j-commerce-section-head p {
    max-width: 880px;
    color: var(--commerce-muted);
    line-height: 2;
}

.mt5j-commerce-admin .mt5j-settings-grid,
.mt5j-commerce-admin .mt5j-settings-grid-compact {
    gap: 14px;
}

.mt5j-commerce-admin .mt5j-settings-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mt5j-commerce-admin .mt5j-settings-grid section,
.mt5j-commerce-admin .mt5j-settings-grid-compact label,
.mt5j-commerce-admin .mt5j-switch-row,
.mt5j-commerce-admin .mt5j-inline-field {
    border-color: var(--commerce-line-soft);
    border-radius: 18px;
    background: rgba(8, 17, 25, .78);
    color: #dce9f3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.mt5j-commerce-admin .mt5j-switch-row,
.mt5j-commerce-admin .mt5j-inline-field {
    min-width: min(320px, 100%);
}

.mt5j-commerce-admin .mt5j-settings-panel label {
    color: #dbe7f0;
    font-weight: 850;
}

.mt5j-commerce-admin .mt5j-settings-panel input,
.mt5j-commerce-admin .mt5j-settings-panel select,
.mt5j-commerce-admin .mt5j-settings-panel textarea {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    border-color: rgba(124, 160, 194, .26);
    border-radius: 14px;
    background: rgba(4, 11, 17, .80);
    color: #f4f8fb;
}

.mt5j-commerce-admin .mt5j-settings-panel input:focus,
.mt5j-commerce-admin .mt5j-settings-panel select:focus,
.mt5j-commerce-admin .mt5j-settings-panel textarea:focus {
    border-color: rgba(39, 199, 234, .78);
    box-shadow: 0 0 0 4px rgba(39, 199, 234, .10);
}

.mt5j-commerce-admin .mt5j-check-line {
    min-height: 54px;
    align-content: center;
    margin: 0;
}

.mt5j-commerce-admin .mt5j-check-line input,
.mt5j-commerce-admin .mt5j-switch-row input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--commerce-green);
}

.mt5j-commerce-admin .mt5j-gateway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mt5j-commerce-admin .mt5j-gateway-card {
    gap: 16px;
    padding: 22px;
    border-color: var(--commerce-line-soft);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(19, 35, 49, .92), rgba(8, 17, 25, .98));
}

.mt5j-commerce-admin .mt5j-gateway-card.is-active {
    border-color: rgba(34, 215, 167, .55);
    background:
        radial-gradient(circle at 100% 0, rgba(34, 215, 167, .13), transparent 36%),
        linear-gradient(145deg, rgba(18, 42, 45, .96), rgba(8, 17, 25, .98));
}

.mt5j-commerce-admin .mt5j-gateway-card.is-active::before {
    inset-inline-start: auto;
    inset-inline-end: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--commerce-green), var(--commerce-cyan));
}

.mt5j-commerce-admin .mt5j-gateway-ribbon {
    inset-inline-start: 18px;
    inset-inline-end: auto;
    border-color: rgba(34, 215, 167, .28);
    background: rgba(34, 215, 167, .10);
    color: #7ff2d2;
}

.mt5j-commerce-admin .mt5j-gateway-card h3 {
    color: #ffffff;
    font-size: 26px;
}

.mt5j-commerce-admin .mt5j-gateway-card p {
    max-width: 680px;
    color: var(--commerce-muted);
    line-height: 1.9;
}

.mt5j-commerce-admin .mt5j-status-pill {
    border-color: rgba(124, 160, 194, .24);
    background: rgba(9, 18, 27, .72);
}

.mt5j-commerce-admin .mt5j-status-pill.is-good {
    color: #77f2d2;
}

.mt5j-commerce-admin .mt5j-status-pill.is-warn {
    color: #ffd983;
}

.mt5j-commerce-admin .mt5j-status-pill.is-bad {
    color: #ff9aa2;
}

.mt5j-commerce-admin .mt5j-callback-box {
    border-color: var(--commerce-line-soft);
    background: rgba(4, 11, 17, .62);
}

.mt5j-commerce-admin .mt5j-callback-box code {
    max-width: 100%;
    white-space: nowrap;
    overflow-x: auto;
    text-overflow: clip;
    border-color: rgba(39, 199, 234, .22);
    background: #050d14;
    color: #95ecff;
}

.mt5j-commerce-admin .mt5j-payment-ops {
    margin-top: 4px;
    padding: 20px;
    border-color: var(--commerce-line-soft);
    border-radius: 22px;
    background:
        radial-gradient(circle at 0 0, rgba(39, 199, 234, .08), transparent 35%),
        rgba(6, 14, 21, .72);
}

.mt5j-commerce-admin .mt5j-payment-ops-head {
    align-items: center;
    border-bottom-color: var(--commerce-line-soft);
}

.mt5j-commerce-admin .mt5j-payment-ops-head h3 {
    color: #ffffff;
    font-size: clamp(23px, 2vw, 32px);
}

.mt5j-commerce-admin .mt5j-payment-ops-head p {
    color: var(--commerce-muted);
}

.mt5j-commerce-admin .mt5j-payment-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mt5j-commerce-admin .mt5j-payment-stat,
.mt5j-commerce-admin .mt5j-payment-flow-item,
.mt5j-commerce-admin .mt5j-readiness-item {
    border-color: var(--commerce-line-soft);
    background: rgba(11, 22, 32, .78);
    border-radius: 18px;
}

.mt5j-commerce-admin .mt5j-payment-stat {
    min-height: 124px;
    padding: 16px;
}

.mt5j-commerce-admin .mt5j-payment-stat span,
.mt5j-commerce-admin .mt5j-payment-stat small,
.mt5j-commerce-admin .mt5j-payment-flow-item small,
.mt5j-commerce-admin .mt5j-readiness-item small {
    color: var(--commerce-muted);
}

.mt5j-commerce-admin .mt5j-payment-stat strong,
.mt5j-commerce-admin .mt5j-payment-flow-item span,
.mt5j-commerce-admin .mt5j-readiness-item strong {
    color: var(--commerce-text);
}

.mt5j-commerce-admin .mt5j-payment-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mt5j-commerce-admin .mt5j-payment-flow-item {
    min-height: 126px;
    padding: 16px;
    align-items: start;
}

.mt5j-commerce-admin .mt5j-payment-flow-item b {
    background: rgba(244, 191, 82, .12);
    color: #ffd983;
}

.mt5j-commerce-admin .mt5j-payment-flow-item.is-ready b {
    background: rgba(34, 215, 167, .12);
    color: #77f2d2;
}

.mt5j-commerce-admin .mt5j-help-strip {
    border-color: var(--commerce-line-soft);
    background: rgba(9, 18, 27, .74);
    color: #dce8f2;
    line-height: 1.9;
}

.mt5j-commerce-admin .mt5j-plan-admin-jump {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--commerce-line-soft);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(34, 215, 167, .08), rgba(39, 199, 234, .05)),
        rgba(8, 17, 25, .82);
}

.mt5j-commerce-admin .mt5j-plan-admin-jump strong,
.mt5j-commerce-admin .mt5j-plan-admin-jump span {
    display: block;
}

.mt5j-commerce-admin .mt5j-plan-admin-jump strong {
    color: #ffffff;
    font-size: 18px;
}

.mt5j-commerce-admin .mt5j-plan-admin-jump span {
    margin-top: 6px;
    color: var(--commerce-muted);
}

.mt5j-commerce-admin .mt5j-readiness-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mt5j-commerce-admin .mt5j-readiness-item {
    min-height: 148px;
    padding: 16px;
}

.mt5j-commerce-admin .mt5j-readiness-item.is-ready {
    border-color: rgba(34, 215, 167, .34);
    background: rgba(34, 215, 167, .08);
}

.mt5j-commerce-admin .mt5j-readiness-item.is-ready span {
    color: #77f2d2;
    background: rgba(34, 215, 167, .13);
}

.mt5j-commerce-admin .mt5j-readiness-item.is-missing {
    border-color: rgba(244, 191, 82, .34);
    background: rgba(244, 191, 82, .08);
}

.mt5j-commerce-admin .mt5j-readiness-item.is-missing span {
    color: #ffd983;
    background: rgba(244, 191, 82, .13);
}

.mt5j-commerce-admin .mt5j-commerce-savebar {
    right: 20px;
    bottom: 18px;
    width: calc(100% - 40px);
    margin-top: 0;
    border-color: rgba(39, 199, 234, .28);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(34, 215, 167, .08), rgba(39, 199, 234, .08)),
        rgba(6, 14, 21, .94);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .35);
}

.mt5j-commerce-admin .mt5j-commerce-savebar strong {
    color: #ffffff;
}

.mt5j-commerce-admin .mt5j-commerce-savebar span {
    color: var(--commerce-muted);
}

@media (min-width: 1800px) {
    .mt5j-commerce-admin .mt5j-commerce-metrics {
        grid-template-columns: repeat(5, minmax(220px, 1fr));
    }

    .mt5j-commerce-admin .mt5j-settings-grid-compact {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1320px) {
    .mt5j-commerce-admin .mt5j-commerce-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mt5j-commerce-admin .mt5j-settings-grid-compact,
    .mt5j-commerce-admin .mt5j-payment-stat-grid,
    .mt5j-commerce-admin .mt5j-payment-flow,
    .mt5j-commerce-admin .mt5j-readiness-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .mt5j-commerce-admin {
        margin: 0 0 0 -10px;
        padding: 22px 18px 96px;
    }

    .mt5j-commerce-admin .mt5j-commerce-hero,
    .mt5j-commerce-admin .mt5j-commerce-section-head,
    .mt5j-commerce-admin .mt5j-payment-ops-head,
    .mt5j-commerce-admin .mt5j-plan-admin-jump,
    .mt5j-commerce-admin .mt5j-commerce-savebar {
        align-items: stretch;
        flex-direction: column;
    }

    .mt5j-commerce-admin .mt5j-commerce-metrics,
    .mt5j-commerce-admin .mt5j-gateway-grid,
    .mt5j-commerce-admin .mt5j-settings-grid-compact,
    .mt5j-commerce-admin .mt5j-payment-stat-grid,
    .mt5j-commerce-admin .mt5j-payment-flow,
    .mt5j-commerce-admin .mt5j-readiness-grid {
        grid-template-columns: 1fr;
    }

    .mt5j-commerce-admin .mt5j-commerce-tabs {
        position: static;
    }

    .mt5j-commerce-admin .mt5j-commerce-tabs a,
    .mt5j-commerce-admin .mt5j-commerce-hero-actions .mt5j-btn,
    .mt5j-commerce-admin .mt5j-commerce-savebar .mt5j-btn,
    .mt5j-commerce-admin .mt5j-plan-admin-jump .mt5j-btn {
        width: 100%;
        justify-content: center;
    }

    .mt5j-commerce-admin .mt5j-commerce-savebar {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }
}

@media (max-width: 560px) {
    .mt5j-commerce-admin {
        margin: 0 -10px 0 -10px;
        padding: 18px 12px 110px;
    }

    .mt5j-commerce-admin .mt5j-commerce-hero,
    .mt5j-commerce-admin .mt5j-commerce-section {
        border-radius: 18px;
        padding: 18px;
    }

    .mt5j-commerce-admin .mt5j-commerce-tabs {
        padding: 10px;
        border-radius: 16px;
    }

    .mt5j-commerce-admin .mt5j-commerce-tabs a {
        min-height: 42px;
        padding: 9px 10px;
        font-size: 12px;
    }

    .mt5j-commerce-admin .mt5j-commerce-metric,
    .mt5j-commerce-admin .mt5j-payment-stat,
    .mt5j-commerce-admin .mt5j-payment-flow-item,
    .mt5j-commerce-admin .mt5j-readiness-item {
        min-height: auto;
    }
}
