html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #7B15F4;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* =========================================================
   MOKUMAX CAMPAIGN HEALTH
   ========================================================= */

.mokumax-health {
    --health-color: #64748b;
    --health-soft: #f8fafc;
    --health-border: #cbd5e1;

    background: #ffffff;
    border: 1px solid var(--health-border);
    border-top: 6px solid var(--health-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.06),
        0 2px 6px rgba(15, 23, 42, 0.04);
}


/* HEALTH COLORS */

.mokumax-health.health-good {
    --health-color: #15803d;
    --health-soft: #f0fdf4;
    --health-border: #bbf7d0;
}

.mokumax-health.health-learning {
    --health-color: #0369a1;
    --health-soft: #f0f9ff;
    --health-border: #bae6fd;
}

.mokumax-health.health-watch {
    --health-color: #b45309;
    --health-soft: #fffbeb;
    --health-border: #fde68a;
}

.mokumax-health.health-bad {
    --health-color: #b91c1c;
    --health-soft: #fef2f2;
    --health-border: #fecaca;
}


/* HEADER */

.mokumax-health-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 32px 24px;
    background:
        linear-gradient(
            135deg,
            var(--health-soft) 0%,
            #ffffff 70%
        );
}

.mokumax-health-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--health-color);
    color: #ffffff;

    font-size: 30px;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 5px 14px rgba(15, 23, 42, 0.12);
}

.mokumax-health-label {
    color: var(--health-color);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.09em;
    margin-bottom: 5px;
}

.mokumax-health-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 750;
    color: #172033;
}

.mokumax-health-summary {
    max-width: 800px;
    margin: 0;
    color: #526071;
    font-size: 17px;
    line-height: 1.55;
}


/* NEXT MOVE */

.mokumax-next-move {
    margin: 0 32px;
    padding: 20px 22px;

    background: var(--health-soft);
    border-left: 4px solid var(--health-color);
    border-radius: 8px;
}

.mokumax-next-label {
    color: var(--health-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

.mokumax-next-text {
    color: #172033;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.45;
}


/* DON'T */

.mokumax-dont {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 0 32px 16px;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}
.mokumax-dont-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.mokumax-dont-text {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 4px;
    min-width: 0;
}

.mokumax-dont-text strong {
    color: #334155;
    white-space: nowrap;
}

.mokumax-health-dont {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 0 32px 16px;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}

.mokumax-health-dont-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.mokumax-health-dont-text {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 4px;
    min-width: 0;
}

.mokumax-health-dont-text strong {
    color: #334155;
    white-space: nowrap;
}


/* SEE WHY */

.mokumax-details {
    border-top: 1px solid #e5e7eb;
}

.mokumax-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 32px;

    cursor: pointer;
    user-select: none;

    color: #334155;
    font-weight: 700;

    list-style: none;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.mokumax-details > summary::-webkit-details-marker {
    display: none;
}

.mokumax-details > summary:hover {
    background: #f8fafc;
    color: var(--health-color);
}

.mokumax-details-arrow {
    font-size: 28px;
    font-weight: 400;
    line-height: 1;

    transition: transform 0.2s ease;
}

.mokumax-details[open]
    .mokumax-details-arrow {
    transform: rotate(90deg);
}

.mokumax-details-content {
    padding: 4px 32px 28px;
}


/* BASELINE */

.mokumax-baseline {
    padding: 14px 16px;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;

    color: #475569;
    line-height: 1.5;
}


/* FUNNEL TABLE */

.mokumax-funnel-table {
    margin-bottom: 0;
}

.mokumax-funnel-table th {
    color: #64748b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom-width: 1px;
}

.mokumax-funnel-table td {
    padding-top: 14px;
    padding-bottom: 14px;
}


/* STAGE BADGES */

.mokumax-stage-badge {
    display: inline-block;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.mokumax-stage-badge.stage-good {
    background: #dcfce7;
    color: #166534;
}

.mokumax-stage-badge.stage-learning {
    background: #e0f2fe;
    color: #075985;
}

.mokumax-stage-badge.stage-watch {
    background: #fef3c7;
    color: #92400e;
}

.mokumax-stage-badge.stage-bad {
    background: #fee2e2;
    color: #991b1b;
}

.mokumax-stage-badge.stage-neutral {
    background: #e2e8f0;
    color: #475569;
}


/* MOBILE */

@media (max-width: 767px) {

    .mokumax-health-header {
        padding: 24px 20px 20px;
        gap: 14px;
    }

    .mokumax-health-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 24px;
    }

    .mokumax-health-title {
        font-size: 24px;
    }

    .mokumax-health-summary {
        font-size: 16px;
    }

    .mokumax-next-move {
        margin-left: 20px;
        margin-right: 20px;
    }

    .mokumax-dont {
        margin-left: 20px;
        margin-right: 20px;
    }

    .mokumax-details > summary {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mokumax-details-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================================
   MOKUMAX CHANGE ANALYSIS
   ========================================================= */

.mokumax-change-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mokumax-change-meta > div {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.mokumax-change-source {
    display: inline-flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mokumax-change-source.source-meta {
    color: #0369a1;
}

.mokumax-change-source.source-manual {
    color: #64748b;
}

.mokumax-meta-label {
    display: block;
    margin-bottom: 3px;

    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.mokumax-findings {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mokumax-findings li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.mokumax-findings li:last-child {
    border-bottom: 0;
}

.mokumax-findings li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 9px;

    color: var(--health-color);
    font-weight: 800;
}

@media (max-width: 767px) {

    .mokumax-change-meta {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MOKUMAX SECTIONS + RESULTS
   ========================================================= */

.mokumax-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;

    box-shadow:
        0 6px 20px rgba(15, 23, 42, 0.04);
}

.mokumax-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;

    padding: 24px 28px 18px;
}

.mokumax-section-heading h3 {
    margin: 0;
    color: #172033;
    font-size: 22px;
    font-weight: 750;
}

.mokumax-section-eyebrow {
    margin-bottom: 3px;

    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.mokumax-result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;

    margin: 0 28px 24px;

    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.mokumax-result {
    min-height: 125px;
    padding: 20px;

    background: #ffffff;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mokumax-result-primary {
    background: #f8fafc;
}

.mokumax-result-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.mokumax-result-value {
    margin-top: 3px;

    color: #172033;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}

.mokumax-result-detail {
    margin-top: 5px;

    color: #64748b;
    font-size: 13px;
}

.mokumax-secondary-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.mokumax-secondary-metrics > div {
    padding: 14px;

    background: #f8fafc;
    border-radius: 8px;
}

.mokumax-secondary-metrics span {
    display: block;

    color: #64748b;
    font-size: 12px;
}

.mokumax-secondary-metrics strong {
    display: block;
    margin-top: 2px;

    color: #172033;
    font-size: 17px;
}


@media (max-width: 900px) {

    .mokumax-result-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mokumax-secondary-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 575px) {

    .mokumax-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .mokumax-result-grid {
        grid-template-columns: 1fr;
        margin-left: 20px;
        margin-right: 20px;
    }

    .mokumax-secondary-metrics {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MOKUMAX CHANGE STORY
   ========================================================= */

.mokumax-change-card {
    --health-color: #64748b;
    --health-soft: #f8fafc;
    --health-border: #cbd5e1;

    background: #ffffff;
    border: 1px solid var(--health-border);
    border-radius: 14px;
    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.06),
        0 2px 6px rgba(15, 23, 42, 0.04);
}

.mokumax-change-card.health-good {
    --health-color: #15803d;
    --health-soft: #f0fdf4;
    --health-border: #bbf7d0;
}

.mokumax-change-card.health-learning {
    --health-color: #0369a1;
    --health-soft: #f0f9ff;
    --health-border: #bae6fd;
}

.mokumax-change-card.health-watch {
    --health-color: #b45309;
    --health-soft: #fffbeb;
    --health-border: #fde68a;
}

.mokumax-change-card.health-bad {
    --health-color: #b91c1c;
    --health-soft: #fef2f2;
    --health-border: #fecaca;
}


/* THE CHANGE */

.mokumax-change-context {
    padding: 22px 30px;

    background: #ffffff;
    border-top: 6px solid var(--health-color);
    border-bottom: 1px solid #e2e8f0;
}

.mokumax-change-context-label {
    margin-bottom: 5px;

    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.mokumax-change-context-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mokumax-change-context-title {
    margin: 0;

    color: #172033;
    font-size: 21px;
    font-weight: 750;
}

.mokumax-change-date {
    margin-top: 3px;

    color: #64748b;
    font-size: 13px;
}

.mokumax-change-note {
    margin-top: 12px;

    color: #475569;
    font-size: 14px;
}


/* MOKUMAX VERDICT */

.mokumax-change-verdict {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 28px 30px 24px;

    background:
        linear-gradient(
            135deg,
            var(--health-soft) 0%,
            #ffffff 72%
        );
}


/* MOBILE */

@media (max-width: 767px) {

    .mokumax-change-context {
        padding: 20px;
    }

    .mokumax-change-verdict {
        padding: 24px 20px 20px;
        gap: 14px;
    }

    .mokumax-change-context-title {
        font-size: 19px;
    }
}

/* =========================================================
   MOKUMAX EXPERT DETAILS
   ========================================================= */

.mokumax-expert {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.03);
}

.mokumax-expert > details > summary {
    list-style: none;
}

.mokumax-expert > details > summary::-webkit-details-marker {
    display: none;
}

.mokumax-expert-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 28px;

    cursor: pointer;
    user-select: none;

    transition: background-color 0.15s ease;
}

.mokumax-expert-summary:hover {
    background: #f8fafc;
}

.mokumax-expert-title {
    margin-top: 2px;

    color: #172033;
    font-size: 20px;
    font-weight: 750;
}

.mokumax-expert-description {
    margin-top: 3px;

    color: #64748b;
    font-size: 14px;
}

.mokumax-expert-arrow {
    color: #64748b;
    font-size: 30px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.mokumax-expert details[open]
    .mokumax-expert-arrow {
    transform: rotate(90deg);
}

.mokumax-expert-content {
    padding: 4px 28px 28px;
    border-top: 1px solid #e2e8f0;
}

.mokumax-expert-content h2,
.mokumax-expert-content h3 {
    margin-top: 26px;
    color: #172033;
}

@media (max-width: 767px) {

    .mokumax-expert-summary {
        padding: 20px;
    }

    .mokumax-expert-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================================
   TELL MOKUMAX
   ========================================================= */

.mokumax-tell-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 18px 22px;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.mokumax-tell-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mokumax-tell-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    min-width: 38px;

    border-radius: 50%;

    background: #e0f2fe;
    color: #0369a1;

    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.mokumax-tell-title {
    color: #172033;
    font-size: 15px;
    font-weight: 750;
}

.mokumax-tell-description {
    margin-top: 2px;

    color: #64748b;
    font-size: 13px;
}

.mokumax-tell-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 14px;

    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;

    color: #172033;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    white-space: nowrap;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.mokumax-tell-button:hover {
    color: #0369a1;
    border-color: #7dd3fc;

    box-shadow:
        0 3px 10px rgba(15, 23, 42, 0.08);

    transform: translateY(-1px);
}

@media (max-width: 650px) {

    .mokumax-tell-card {
        align-items: stretch;
        flex-direction: column;
    }

    .mokumax-tell-button {
        justify-content: center;
        width: 100%;
    }
}

.mokumax-date-range {
    margin: 20px 0 24px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.mokumax-date-range-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mokumax-date-range-label {
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #64748b;
}

.mokumax-date-range-current {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.mokumax-date-presets {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.mokumax-date-preset {
    padding: 7px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.mokumax-date-preset:hover {
    background: #f8fafc;
    color: #0f172a;
}

.mokumax-custom-range {
    display: flex;
    align-items: end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.mokumax-custom-range label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}

.mokumax-custom-range input {
    padding: 7px 9px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    color: #0f172a;
}

.mokumax-custom-range button {
    padding: 8px 15px;
    border: 0;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 700px) {
    .mokumax-date-range-header,
    .mokumax-custom-range {
        align-items: stretch;
        flex-direction: column;
    }

    .mokumax-custom-range input {
        width: 100%;
    }
}

/* Account email verification indicator */
.mk-email-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mk-email-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    vertical-align: middle;
    transition: background-color .15s ease;
}

.mk-email-indicator:hover,
.mk-email-indicator:focus-visible {
    background: #f4f7fc;
}

.mk-email-indicator:focus-visible {
    outline: 2px solid #3B2BD6;
    outline-offset: 1px;
}

.mk-email-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.mk-email-state-icon-confirmed {
    color: #067647;
    background: #ecfdf3;
    border: 1px solid #b7ebd3;
}

.mk-email-state-icon-unconfirmed {
    color: #92400e;
    background: #fff8eb;
    border: 1px solid #f7dfb0;
}

.mk-verify-email-link {
    font-size: .84rem;
    font-weight: 600;
}

/* Prevent duplicate submissions */
.mk-is-loading {
    position: relative;
    pointer-events: none;
    opacity: .85;
}

button.mk-is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mk-button-loader {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(148, 163, 184, .5);
    border-top-color: currentColor;
    border-radius: 999px;
    animation: mk-spin .7s linear infinite;
}

@keyframes mk-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Account page tooltip skin (scoped via data-bs-custom-class) */
.tooltip.mk-account-tooltip .tooltip-inner {
    background: #ffffff;
    color: #172033;
    border: 1px solid #d8deea;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .12);
    padding: 8px 10px;
    font-size: .78rem;
    font-weight: 600;
}

.tooltip.bs-tooltip-top.mk-account-tooltip .tooltip-arrow::before {
    border-top-color: #d8deea;
}

.tooltip.bs-tooltip-bottom.mk-account-tooltip .tooltip-arrow::before {
    border-bottom-color: #d8deea;
}

.tooltip.bs-tooltip-start.mk-account-tooltip .tooltip-arrow::before {
    border-left-color: #d8deea;
}

.tooltip.bs-tooltip-end.mk-account-tooltip .tooltip-arrow::before {
    border-right-color: #d8deea;
}

/* =========================================================
   MOKUMAX VISUAL ACTION CARD
   ========================================================= */

.mk-action-card {
    background: #fff;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(18, 32, 54, .06);
    padding: 22px 22px 18px;
}

.mk-action-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.mk-action-priority {
    color: #4f5b6d;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mk-action-priority-note {
    color: #6d7890;
    font-size: .74rem;
    font-weight: 600;
    margin-top: 2px;
}

.mk-action-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 4px 10px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mk-action-status svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mk-action-status-attention {
    color: #a83939;
    background: #fcecec;
    border-color: #f5cece;
}

.mk-action-status-watch {
    color: #9a6910;
    background: #fff5dc;
    border-color: #f0ddb1;
}

.mk-action-status-healthy {
    color: #18784f;
    background: #eaf7f1;
    border-color: #cce9dc;
}

.mk-action-status-learning {
    color: #2d64b3;
    background: #edf4ff;
    border-color: #d6e4fa;
}

.mk-action-tone-attention {
    border-top: 4px solid #c84c4c;
}

.mk-action-tone-watch {
    border-top: 4px solid #d99a21;
}

.mk-action-tone-healthy {
    border-top: 4px solid #239b69;
}

.mk-action-tone-learning {
    border-top: 4px solid #3976d3;
}

.mk-action-headline {
    color: #172033;
    font-size: 1.55rem;
    font-weight: 740;
    letter-spacing: -.02em;
    margin: 0 0 8px;
}

.mk-action-summary {
    color: #536075;
    font-size: .98rem;
    line-height: 1.55;
    margin: 0 0 10px;
}

.mk-action-object {
    color: #3a4e70;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mk-action-monitoring {
    border: 1px solid #f1ddad;
    background: #fff8e8;
    color: #835e06;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: .82rem;
    margin-bottom: 12px;
}

.mk-action-comparisons {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.mk-action-comparison-item {
    border: 1px solid #e4e9f2;
    border-radius: 10px;
    background: #f8fafd;
    padding: 10px 10px 9px;
}

.mk-action-comparison-label {
    color: #26334a;
    font-size: .79rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.mk-action-comparison-values {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.mk-action-value {
    color: #172033;
    font-size: 1.18rem;
    font-weight: 760;
    line-height: 1.2;
}

.mk-action-period {
    color: #6a768a;
    font-size: .74rem;
    line-height: 1.3;
}

.mk-action-bars {
    display: grid;
    gap: 6px;
}

.mk-action-bar-row {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 7px;
    align-items: center;
}

.mk-action-bar-label {
    color: #6a768a;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mk-action-bar-track {
    height: 8px;
    border-radius: 999px;
    background: #e5ebf5;
    overflow: hidden;
}

.mk-action-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.mk-action-bar-fill.current {
    background: #2f6ccc;
}

.mk-action-bar-fill.baseline {
    background: #8ea5cc;
}

.mk-action-next-step {
    border-left: 4px solid #2f6ccc;
    background: #f4f8ff;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.mk-action-next-label {
    color: #315f9f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.mk-action-next-text {
    color: #172033;
    font-size: .95rem;
    font-weight: 650;
    margin: 0;
    line-height: 1.45;
}

.mk-action-details {
    border: 1px solid #e4e9f2;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 10px;
}

.mk-action-details > summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 12px;
    color: #33425b;
    font-size: .84rem;
    font-weight: 700;
}

.mk-action-details > summary::-webkit-details-marker {
    display: none;
}

.mk-action-details-body {
    border-top: 1px solid #edf1f7;
    padding: 10px 12px;
    color: #4f5b6d;
    font-size: .86rem;
    line-height: 1.45;
}

.mk-action-details-body p {
    margin: 0;
}

.mk-action-evidence-list {
    margin: 0;
    padding-left: 18px;
}

.mk-action-evidence-list li + li {
    margin-top: 4px;
}

.mk-action-evidence-period {
    margin-top: 8px !important;
    color: #6a768a;
    font-size: .76rem;
}

.mk-action-do-not-change {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    color: #4f5b6d;
    font-size: .82rem;
    line-height: 1.45;
    margin-bottom: 10px;
}

.mk-action-do-not-change strong {
    color: #2c3d59;
}

.mk-action-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 10px;
}

.mk-action-confidence {
    color: #26334a;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mk-action-evidence-sufficiency {
    color: #5f6d82;
    font-size: .8rem;
}

.mk-action-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.mk-action-link-primary,
.mk-action-link-secondary {
    color: #3B2BD6;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

.mk-action-link-primary:hover,
.mk-action-link-secondary:hover {
    color: #2255a5;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .mk-action-card {
        padding: 18px 16px 14px;
    }

    .mk-action-headline {
        font-size: 1.32rem;
    }

    .mk-action-bar-row {
        grid-template-columns: 64px 1fr;
    }
}

/* Action-first V2: prioritize the instruction, keep supporting context available on demand. */
.mk-action-quiet-note { color: #59687b; font-size: .93rem; line-height: 1.5; margin: 0 0 14px; }
.mk-action-card .mk-action-next-step { padding: 16px 18px; border-left-width: 5px; margin-top: 12px; }
.mk-action-card .mk-action-next-text { font-size: 1.05rem; line-height: 1.45; }
.mk-action-card .mk-action-headline { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.mk-action-card .mk-action-evidence-list + .mk-action-evidence-list { margin-top: 10px; }
.mk-action-card .mk-action-details-body .mk-action-evidence-period + .mk-action-evidence-period { margin-top: 8px !important; }

/* Visual action card V3: scannable, low-risk checks for monitoring states. */
.mk-action-quick-read { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:14px 0 10px; }
.mk-action-quick-tile { display:flex; align-items:flex-start; gap:12px; padding:18px; border:1px solid #cfe0f9; background:#f4f8ff; border-radius:12px; min-width:0; }
.mk-action-quick-tile-neutral { border-color:#e1e7ef; background:#f8fafc; }
.mk-action-quick-icon { flex:0 0 32px; height:32px; border-radius:50%; display:grid; place-items:center; font-size:1.15rem; font-weight:800; background:#dceaff; color:#245aab; }
.mk-action-quick-tile-neutral .mk-action-quick-icon { background:#e8edf4; color:#516075; }
.mk-action-quick-label { display:block; font-size:.7rem; font-weight:800; letter-spacing:.065em; color:#557199; margin-bottom:5px; }
.mk-action-quick-tile strong { display:block; color:#1a2940; font-size:1rem; line-height:1.35; }
.mk-action-card .mk-action-quiet-note { margin:8px 0 16px; font-size:.85rem; }
@media(max-width:620px) { .mk-action-quick-read { grid-template-columns:1fr; } }

/* Visual Action V4: measured funnel evidence, not a diagnosis */
.mk-action-observation { padding:16px 18px; margin:12px 0 16px; border:1px solid #dce5f0; border-radius:12px; background:#f8fafc; }
.mk-action-observation-top,.mk-action-observation-foot { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.mk-action-observation-top strong { color:#1a2940; }
.mk-action-observation-number { font-size:1.8rem; line-height:1.2; font-weight:800; }
.mk-action-observation-track { margin:12px 0 9px; height:13px; overflow:hidden; border-radius:99px; background:#e3eaf2; }
.mk-action-observation-track span { display:block; height:100%; border-radius:99px; background:#d69a25; }
.mk-action-observation-foot { color:#53657c; font-size:.8rem; flex-wrap:wrap; }
.mk-action-observation-note { color:#59687b; font-size:.82rem; line-height:1.45; margin:10px 0 0; }

/* Reporting navigation — separate exploratory reporting from today's recommendation */
.mk-report-toolbar { margin: 0 0 18px; padding: 16px 18px; border: 1px solid #dbe3ef; border-radius: 12px; background: #fff; }
.mk-report-toolbar-header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.mk-report-toolbar-header strong { color:#172033; font-size:1rem; }
.mk-report-toolbar-subtitle { color:#64748b; font-size:.81rem; margin-top:3px; max-width:650px; }
.mk-report-toolbar-presets { display:flex; gap:6px; }
.mk-report-toolbar-preset { text-decoration:none; border:1px solid #dbe3ef; padding:7px 12px; border-radius:18px; color:#3B2BD6; font-weight:600; font-size:.83rem; }
.mk-report-toolbar-preset.is-selected { background:#eaf1ff; border-color:#3B2BD6; }
.mk-report-toolbar-form { display:flex; flex-wrap:wrap; gap:10px; align-items:end; margin-top:12px; }
.mk-report-toolbar-form label { display:flex; flex-direction:column; gap:3px; color:#64748b; font-size:.76rem; }
.mk-report-toolbar-form input { border:1px solid #dbe3ef; border-radius:6px; padding:6px 8px; color:#172033; }
.mk-report-toolbar-form button { border:0; border-radius:6px; padding:8px 15px; background:#3B2BD6; color:#fff; font-weight:600; }
.mk-report-toolbar-range { font-size:.8rem; color:#64748b; }
.mk-dashboard-explore { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:10px 0 20px; font-size:.81rem; color:#64748b; }
.mk-dashboard-explore a { color:#3B2BD6; font-weight:600; text-decoration:none; border:1px solid #dbe3ef; border-radius:16px; padding:4px 10px; background:white; }
.mk-dashboard-explore-note { flex-basis:100%; font-size:.74rem; }
