/* Trade Maestro Ascents 0.2.0. Every selector is confined to a shortcode root. */
:is(.tma-ascents-dashboard, .tma-ascent-journey) {
    --tma-midnight: #080a2b;
    --tma-indigo: #11134a;
    --tma-purple: #7047eb;
    --tma-violet: #825cff;
    --tma-gold: #d6a84b;
    --tma-warm-gold: #f0c568;
    --tma-white: #f7f7fb;
    --tma-grey: #a9abbf;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: anywhere;
    isolation: isolate;
}
:is(.tma-ascents-dashboard, .tma-ascent-journey) *,
:is(.tma-ascents-dashboard, .tma-ascent-journey) *::before,
:is(.tma-ascents-dashboard, .tma-ascent-journey) *::after { box-sizing: border-box; }
:is(.tma-ascents-dashboard, .tma-ascent-journey) :is(h2,h3,h4,p,dl,dt,dd) { margin: 0; padding: 0; font-family: inherit; }
:is(.tma-ascents-dashboard, .tma-ascent-journey) svg { display: block; width: 100%; height: auto; }
.tma-ascents-dashboard {
    color: var(--tma-midnight);
    background: var(--tma-white);
    border: 1px solid #e5e5ef;
    border-radius: 24px;
    overflow: hidden;
}
.tma-ascents-dashboard .tma-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(26px, 4vw, 48px);
    color: var(--tma-white);
    background: linear-gradient(115deg, var(--tma-midnight) 0%, var(--tma-indigo) 100%);
}
.tma-ascents-dashboard .tma-header-copy { position: relative; z-index: 1; max-width: 660px; }
.tma-ascents-dashboard .tma-eyebrow { color: var(--tma-warm-gold); font-size: 11px; font-weight: 700; letter-spacing: 1.7px; }
.tma-ascents-dashboard .tma-eyebrow span { margin: 0 8px; color: #8487a5; }
.tma-ascents-dashboard .tma-title { margin-top: 14px; color: var(--tma-white); font-size: clamp(28px, 4vw, 44px); font-weight: 750; line-height: 1.15; letter-spacing: -.9px; }
.tma-ascents-dashboard .tma-intro { margin-top: 12px; color: #d2d3e1; font-size: 15px; line-height: 1.65; max-width: 460px; }
.tma-ascents-dashboard .tma-header-art { display: none; width: 170px; flex: 0 0 170px; color: var(--tma-warm-gold); opacity: .7; }
.tma-ascents-dashboard .tma-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 22px 12px; background: #fff; border-bottom: 1px solid #e5e5ef; }
.tma-ascents-dashboard .tma-summary-item { display: flex; flex-direction: column; align-items: center; padding: 0 8px; }
.tma-ascents-dashboard .tma-summary-item + .tma-summary-item { border-left: 1px solid #e5e5ef; }
.tma-ascents-dashboard .tma-summary dt { color: #61647a; font-size: 10px; font-weight: 750; letter-spacing: 1px; text-align: center; }
.tma-ascents-dashboard .tma-summary dd { color: var(--tma-midnight); font-size: 27px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.tma-ascents-dashboard .tma-summary-item:first-child dd { color: var(--tma-purple); }
.tma-ascents-dashboard .tma-sections { padding: clamp(20px, 3.5vw, 40px); }
.tma-ascents-dashboard .tma-group + .tma-group { margin-top: 40px; padding-top: 32px; border-top: 1px solid #e1e2eb; }
.tma-ascents-dashboard .tma-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.tma-ascents-dashboard .tma-heading { color: var(--tma-indigo); font-size: clamp(16px, 2vw, 19px); font-weight: 750; line-height: 1.3; letter-spacing: .6px; }
.tma-ascents-dashboard .tma-section-heading p { margin-top: 5px; color: #666980; font-size: 14px; }
.tma-ascents-dashboard .tma-count { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #55596f; background: #e9e9f2; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.tma-ascents-dashboard .tma-group-active .tma-count { color: #6136d0; background: #eae3ff; }
.tma-ascents-dashboard .tma-group-completed .tma-count { color: #785410; background: #f3e7c9; }
.tma-ascents-dashboard .tma-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.tma-ascents-dashboard .tma-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e2e2ed; border-radius: 18px; overflow: hidden; box-shadow: 0 5px 18px #080a2b06; }
.tma-ascents-dashboard .tma-card-active { border-color: #d5c8fa; box-shadow: 0 6px 22px #7047eb0b; }
.tma-ascents-dashboard .tma-cover { position: relative; aspect-ratio: 16 / 9; background: var(--tma-indigo); overflow: hidden; }
.tma-ascents-dashboard .tma-cover img { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; border: 0; border-radius: 0; object-fit: cover; }
.tma-ascents-dashboard .tma-cover-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 18px; color: #c4b5fd; background: linear-gradient(135deg, #11134a, #241852); }
.tma-ascents-dashboard .tma-fallback-brand { font-size: 9px; font-weight: 650; letter-spacing: 2.3px; color: #b9b8d2; }
.tma-ascents-dashboard .tma-fallback-mark { width: 94px; }
.tma-ascents-dashboard .tma-fallback-label { font-size: 10px; letter-spacing: 3px; color: #c8c9db; }
.tma-ascents-dashboard .tma-card-completed .tma-fallback-label { visibility: hidden; }
.tma-ascents-dashboard .tma-achievement { position: absolute; bottom: 12px; left: 12px; display: flex; align-items: center; gap: 6px; padding: 5px 9px; background: #fff5da; color: #715016; border: 1px solid #f0d695; border-radius: 20px; font-size: 10px; letter-spacing: .7px; font-weight: 750; }
.tma-ascents-dashboard .tma-achievement svg { width: 16px; flex: 0 0 16px; }
.tma-ascents-dashboard .tma-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.tma-ascents-dashboard .tma-card-title { color: var(--tma-midnight); font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: -.25px; }
.tma-ascents-dashboard .tma-description { margin-top: 10px; color: #65697b; font-size: 14px; line-height: 1.65; }
.tma-ascents-dashboard .tma-card-bottom { margin-top: auto; padding-top: 24px; }
:is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-progress-track { height: 7px; overflow: hidden; background: #ebe6fa; border-radius: 20px; }
:is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-progress-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tma-purple), var(--tma-violet)); }
:is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-progress-label { margin-top: 9px; color: #6440c7; font-size: 11px; font-weight: 750; letter-spacing: 1px; }
.tma-ascents-dashboard .tma-not-started { color: #696c81; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.tma-ascents-dashboard .tma-complete-label { display: flex; align-items: center; gap: 7px; color: #856019; font-size: 11px; font-weight: 750; letter-spacing: 1px; }
.tma-ascents-dashboard .tma-complete-label svg { width: 19px; flex: 0 0 19px; }
:is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-action { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; margin-top: 20px; padding: 12px 16px; border: 1px solid transparent; border-radius: 10px; background: var(--tma-purple); color: #fff; font-size: 12px; line-height: 1.5; font-weight: 750; letter-spacing: .7px; text-decoration: none; box-shadow: none; transition: background-color .15s ease, border-color .15s ease; }
:is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-action:hover { background: #6038d6; color: #fff; text-decoration: none; }
:is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-action:focus-visible { outline: 3px solid var(--tma-violet); outline-offset: 4px; }
:is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-arrow { font-size: 21px; font-weight: 400; line-height: 1; flex-shrink: 0; }
.tma-ascents-dashboard .tma-card-available .tma-action { background: #f1edfc; color: #5b34c2; }
.tma-ascents-dashboard .tma-card-available .tma-action:hover { background: #e7defb; }
.tma-ascents-dashboard .tma-card-completed .tma-action { background: #fff9ec; border-color: #eedfbc; color: #795719; }
.tma-ascents-dashboard .tma-card-completed .tma-action:hover { background: #f8edcf; }
.tma-ascents-dashboard .tma-empty { padding: 26px; border: 1px dashed #d3d3e2; border-radius: 14px; color: #62667d; font-size: 15px; background: #ffffff80; }
.tma-ascents-dashboard .tma-empty-account { margin: clamp(20px, 3.5vw, 40px); text-align: center; padding: 40px 24px; }
.tma-ascents-dashboard .tma-empty-mark { display: block; width: 90px; margin: 0 auto 20px; color: var(--tma-purple); }
:is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-state { padding: 30px; }
.tma-ascents-dashboard .tma-state .tma-action { max-width: 280px; }
.tma-ascent-journey { padding: 26px; border: 1px solid #363565; border-radius: 18px; color: var(--tma-white); background: linear-gradient(145deg, var(--tma-indigo), var(--tma-midnight)); box-shadow: 0 8px 28px #080a2b12; }
.tma-ascent-journey .tma-journey-label { display: flex; gap: 10px; align-items: center; color: var(--tma-warm-gold); }
.tma-ascent-journey .tma-journey-label > span { width: 31px; flex: 0 0 31px; }
.tma-ascent-journey .tma-journey-label h2 { font-size: 11px; font-weight: 750; letter-spacing: 1.6px; line-height: 1.5; color: var(--tma-warm-gold); }
.tma-ascent-journey .tma-journey-title { margin: 22px 0; font-size: 23px; font-weight: 650; letter-spacing: -.3px; line-height: 1.35; color: var(--tma-white); }
.tma-ascent-journey .tma-progress-track { background: #34345b; height: 6px; }
.tma-ascent-journey .tma-progress-label { color: #c4b3ff; }
.tma-ascent-journey .tma-action { margin-top: 24px; background: #7047eb; }
.tma-ascent-journey .tma-action:focus-visible { outline-color: var(--tma-warm-gold); }
.tma-ascent-journey .tma-journey-waiting { margin-top: 22px; color: #dfdfec; font-size: 20px; line-height: 1.5; }
.tma-ascent-journey .tma-state { padding: 22px 0 0; color: #dfdfec; }
@media (min-width: 700px) {
    .tma-ascents-dashboard .tma-header-art { display: block; }
    .tma-ascents-dashboard .tma-summary { padding: 24px 32px; }
    .tma-ascents-dashboard .tma-summary dt { font-size: 11px; }
}
@media (max-width: 360px) {
    .tma-ascents-dashboard .tma-summary { padding-inline: 4px; }
    .tma-ascents-dashboard .tma-summary-item { padding-inline: 4px; }
    .tma-ascents-dashboard .tma-summary dt { letter-spacing: .3px; }
}
@media (prefers-reduced-motion: reduce) {
    :is(.tma-ascents-dashboard, .tma-ascent-journey) .tma-action { transition: none; }
}

/* Phase 1: dashboard-only foundation and top-of-page experience. */
.tma-ascents-dashboard {
    --tm-midnight: #080A2B;
    --tm-deep-indigo: #11134A;
    --tm-legacy-purple: #7047EB;
    --tm-electric-violet: #825CFF;
    --tm-legacy-gold: #D6A84B;
    --tm-warm-gold: #F0C568;
    --tm-soft-white: #F7F7FB;
    --tm-cool-grey: #A9ABBF;
    --tm-transformation-image: none;
    --tm-panel-radius: 20px;
    --tm-section-space: clamp(24px, 4vw, 48px);
}
.tma-ascents-dashboard .tma-transformation-header {
    padding: var(--tm-section-space);
    color: var(--tm-soft-white);
    background-color: var(--tm-midnight);
    background-image: linear-gradient(115deg, rgba(8,10,43,.9), rgba(17,19,74,.55)), var(--tm-transformation-image), linear-gradient(135deg, var(--tm-midnight), var(--tm-deep-indigo));
    background-size: cover;
    background-position: center;
}
.tma-ascents-dashboard .tma-transformation-title {
    max-width: 820px;
    margin: 0;
    color: var(--tm-soft-white);
    font-size: clamp(25px, 3.6vw, 42px);
    font-weight: 700;
    letter-spacing: -.7px;
    line-height: 1.18;
    text-wrap: balance;
}
.tma-ascents-dashboard .tma-transformation-process {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}
.tma-ascents-dashboard .tma-transformation-process li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 0;
    min-width: 0;
    color: var(--tm-soft-white);
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: .5px;
}
.tma-ascents-dashboard .tma-transformation-process li:last-child { color: var(--tm-warm-gold); }
.tma-ascents-dashboard .tma-process-arrow { display: inline-block; color: var(--tm-cool-grey); font-size: 22px; font-weight: 400; transform: rotate(90deg); line-height: 1; }
.tma-ascents-dashboard .tma-transformation-quote { margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid #ffffff1c; background: none; box-shadow: none; }
.tma-ascents-dashboard .tma-transformation-quote p { color: var(--tm-soft-white); font-size: clamp(18px, 2vw, 22px); font-weight: 400; line-height: 1.5; }
.tma-ascents-dashboard .tma-transformation-quote cite { display: block; margin-top: 10px; color: var(--tm-cool-grey); font-family: inherit; font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: 1.5px; }
.tma-ascents-dashboard .tma-current-region { padding: 0 var(--tm-section-space) var(--tm-section-space); background: var(--tm-midnight); color: var(--tm-soft-white); }
.tma-ascents-dashboard .tma-current-panel { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1px solid #ffffff1c; border-radius: var(--tm-panel-radius); background: var(--tm-deep-indigo); }
.tma-ascents-dashboard .tma-current-image { position: relative; aspect-ratio: 16 / 10; min-width: 0; overflow: hidden; background: linear-gradient(145deg, var(--tm-deep-indigo), #21154d); }
.tma-ascents-dashboard .tma-current-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; border: 0; border-radius: 0; object-fit: cover; }
.tma-ascents-dashboard .tma-current-image-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; color: var(--tm-cool-grey); }
.tma-ascents-dashboard .tma-current-image-fallback svg { width: 140px; max-width: 100%; }
.tma-ascents-dashboard .tma-current-content { min-width: 0; padding: clamp(24px, 3vw, 36px); }
.tma-ascents-dashboard .tma-current-eyebrow { margin: 0 0 12px; color: #c8baff; font-size: 12px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.5; }
.tma-ascents-dashboard .tma-current-title { margin: 0; color: var(--tm-soft-white); font-size: clamp(23px, 3vw, 32px); font-weight: 650; line-height: 1.25; letter-spacing: -.4px; }
.tma-ascents-dashboard .tma-current-region .tma-progress-block { margin-top: 24px; }
.tma-ascents-dashboard .tma-current-region .tma-progress-track { background: #ffffff18; height: 8px; }
.tma-ascents-dashboard .tma-current-region .tma-progress-fill { background: linear-gradient(90deg, var(--tm-legacy-purple), var(--tm-electric-violet)); }
.tma-ascents-dashboard .tma-current-region .tma-progress-label { margin-top: 12px; color: var(--tm-soft-white); font-size: 12px; }
.tma-ascents-dashboard .tma-current-region .tma-action { max-width: 320px; min-height: 48px; margin-top: 24px; background: var(--tm-legacy-purple); color: var(--tm-soft-white); font-size: 12px; }
.tma-ascents-dashboard .tma-current-region .tma-action:hover { background: var(--tm-electric-violet); }
.tma-ascents-dashboard .tma-current-region .tma-action:focus-visible { outline: 3px solid var(--tm-warm-gold); outline-offset: 4px; }
.tma-ascents-dashboard .tma-current-empty { padding: clamp(24px, 3vw, 36px); border: 1px solid #ffffff1c; border-radius: var(--tm-panel-radius); background: var(--tm-deep-indigo); }
.tma-ascents-dashboard .tma-current-suggestion { margin-top: 18px; color: var(--tm-soft-white); font-size: 19px; line-height: 1.4; }
.tma-ascents-dashboard .tma-current-empty-copy { margin-top: 16px; color: var(--tm-cool-grey); font-size: 15px; line-height: 1.65; }
@media (min-width: 700px) {
    .tma-ascents-dashboard .tma-transformation-process { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; margin: 36px 0; }
    .tma-ascents-dashboard .tma-transformation-process li { flex: 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
    .tma-ascents-dashboard .tma-transformation-process li:last-child { flex: 0 1 auto; }
    .tma-ascents-dashboard .tma-process-arrow { transform: none; }
    .tma-ascents-dashboard .tma-current-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); }
    .tma-ascents-dashboard .tma-current-image { aspect-ratio: auto; min-height: 280px; }
}

/* Phase 1B: only the hero and Current Ascent presentation. */
.tma-ascents-dashboard .tma-transformation-header { display: grid; gap: 26px; padding: 30px 24px; background-image: linear-gradient(100deg, rgba(8,10,43,.94), rgba(17,19,74,.72)), var(--tm-transformation-image), radial-gradient(ellipse at top right, #30205f, var(--tm-midnight) 75%); }
.tma-ascents-dashboard .tma-transformation-main { min-width: 0; }
.tma-ascents-dashboard .tma-transformation-title { max-width: 620px; font-size: clamp(22px, 2.3vw, 29px); line-height: 1.3; letter-spacing: 1.4px; }
.tma-ascents-dashboard .tma-transformation-process { display: flex; flex-direction: row; align-items: flex-start; gap: 0; margin: 26px 0 0; }
.tma-ascents-dashboard .tma-transformation-process li { position: relative; flex: 1 1 0; display: block; text-align: center; font-size: clamp(9px, 1.05vw, 12px); letter-spacing: .6px; line-height: 1.4; }
.tma-ascents-dashboard .tma-transformation-process li:last-child { flex: 1 1 0; }
.tma-ascents-dashboard .tma-process-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tma-ascents-dashboard .tma-process-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--tm-legacy-purple); background: #7047eb26; color: var(--tm-electric-violet); }
.tma-ascents-dashboard .tma-process-icon svg { width: 23px; height: 23px; }
.tma-ascents-dashboard .tma-transformation-process li:last-child .tma-process-icon { color: var(--tm-warm-gold); border-color: var(--tm-legacy-gold); background: #d6a84b15; }
.tma-ascents-dashboard .tma-process-arrow { position: absolute; top: 13px; right: -6px; font-size: 18px; transform: none; }
.tma-ascents-dashboard .tma-transformation-quote { padding: 22px 0 0; }
.tma-ascents-dashboard .tma-transformation-quote p { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(23px, 2.3vw, 29px); font-style: italic; line-height: 1.4; }
.tma-ascents-dashboard .tma-transformation-quote cite { color: var(--tm-warm-gold); font-size: 10px; letter-spacing: 2px; margin-top: 16px; }
.tma-ascents-dashboard .tma-current-region { padding: 0 24px 28px; }
.tma-ascents-dashboard .tma-current-image { aspect-ratio: 16 / 9; }
.tma-ascents-dashboard .tma-current-image img { object-position: center; }
.tma-ascents-dashboard .tma-current-content { padding: 24px; }
.tma-ascents-dashboard .tma-current-eyebrow { margin-bottom: 8px; font-size: 11px; }
.tma-ascents-dashboard .tma-current-title { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
.tma-ascents-dashboard .tma-current-region .tma-progress-block { margin-top: 16px; }
.tma-ascents-dashboard .tma-current-region .tma-progress-label { margin-top: 8px; font-size: 11px; }
.tma-ascents-dashboard .tma-current-region .tma-action { margin-top: 16px; max-width: 285px; background: linear-gradient(105deg, var(--tm-legacy-purple), var(--tm-electric-violet)); }
.tma-ascents-dashboard .tma-current-region .tma-action:hover { background: var(--tm-electric-violet); }
@media (min-width: 700px) {
    .tma-ascents-dashboard .tma-current-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); min-height: 240px; }
    .tma-ascents-dashboard .tma-current-image { aspect-ratio: auto; min-height: 240px; }
    .tma-ascents-dashboard .tma-current-content { padding: 24px 30px; align-self: center; }
}
@media (min-width: 900px) {
    .tma-ascents-dashboard .tma-transformation-header { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; align-items: center; min-height: 300px; padding: 32px; }
    .tma-ascents-dashboard .tma-transformation-quote { padding: 8px 0 8px 26px; border-top: 0; border-left: 1px solid #d6a84b55; }
    .tma-ascents-dashboard .tma-process-icon { width: 50px; height: 50px; }
    .tma-ascents-dashboard .tma-process-arrow { top: 16px; }
    .tma-ascents-dashboard .tma-current-region { padding: 0 32px 32px; }
}

/* FluentCommunity frame only: reuse Rewards' dashboard-presence scoping.
   Keep native sidebar/header layout and modest fluid outer gutters. */
.fcom_wp_frame .feeds_main.fcom_wp_content:has(.tma-ascents-dashboard) {
    padding-inline: clamp(12px, 1.5vw, 24px);
}
.fcom_wp_frame .wp_content_wrapper:has(.tma-ascents-dashboard) {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-inline: 0;
    padding: 0;
}
.fcom_wp_frame .wp_content_wrapper:has(.tma-ascents-dashboard) > .fcom_wp_content_title {
    display: none;
}
.fcom_wp_frame .fcom_wp_content_body:has(.tma-ascents-dashboard) {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.fcom_wp_frame .fcom_wp_content_body > .tma-ascents-dashboard {
    width: 100%;
}
