.mkp-shell {
    --mkp-ink: #17233a;
    --mkp-muted: #68748a;
    --mkp-line: #dfe5ee;
    --mkp-soft: #f5f7fb;
    --mkp-brand: #155eef;
    --mkp-brand-dark: #0d46bd;
    --mkp-teal: #087f75;
    --mkp-warn: #a15c00;
    --mkp-danger: #b42318;
    --mkp-success: #067647;
    --mkp-shadow: 0 16px 42px rgba(26, 40, 67, .08);
    color: var(--mkp-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 1240px;
}

.mkp-shell *,
.mkp-shell *::before,
.mkp-shell *::after {
    box-sizing: border-box;
}

.mkp-shell h2,
.mkp-shell h3,
.mkp-shell h4,
.mkp-shell p {
    margin-top: 0;
}

.mkp-shell h2 {
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    letter-spacing: -.035em;
    line-height: 1.15;
    margin-bottom: .65rem;
}

.mkp-shell h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: .55rem;
}

.mkp-shell h4 {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: .35rem;
}

.mkp-card {
    background: #fff;
    border: 1px solid var(--mkp-line);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(26, 40, 67, .03);
    margin-bottom: 1.25rem;
    padding: clamp(1rem, 2.5vw, 1.6rem);
}

.mkp-card-head,
.mkp-analysis-head,
.mkp-report-hero,
.mkp-program-hero {
    align-items: flex-start;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.mkp-card-head > div > p:last-child,
.mkp-analysis-head > div > p:last-child,
.mkp-program-hero > div > p:last-child {
    color: var(--mkp-muted);
    margin-bottom: 0;
    max-width: 760px;
}

.mkp-kicker {
    color: var(--mkp-brand);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .1em;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.mkp-muted,
.mkp-help {
    color: var(--mkp-muted);
}

.mkp-help {
    font-size: .82rem;
    line-height: 1.45;
    margin: .4rem 0 0;
}

.mkp-alert,
.mkp-field-test {
    border: 1px solid;
    border-radius: 13px;
    margin: 0 0 1rem;
    padding: .8rem 1rem;
}

.mkp-alert-success {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #05603a;
}

.mkp-alert-error {
    background: #fef3f2;
    border-color: #fecdca;
    color: #912018;
}

.mkp-alert-warning {
    background: #fffaeb;
    border-color: #fedf89;
    color: #854a0e;
}

.mkp-field-test {
    align-items: center;
    background: #f0f7ff;
    border-color: #b2ddff;
    color: #1849a9;
    display: flex;
    gap: .85rem;
}

.mkp-field-test span {
    background: #d1e9ff;
    border-radius: 999px;
    flex: none;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    padding: .3rem .65rem;
    text-transform: uppercase;
}

.mkp-field-test p {
    font-size: .88rem;
    margin: 0;
}

.mkp-form {
    display: grid;
    gap: 1rem;
}

.mkp-field {
    color: var(--mkp-ink);
    display: grid;
    font-size: .9rem;
    font-weight: 650;
    gap: .4rem;
    margin: 0;
}

.mkp-field em {
    color: var(--mkp-danger);
    font-style: normal;
}

.mkp-field input,
.mkp-field select,
.mkp-field textarea,
.mkp-sector-choice input,
.mkp-choice input {
    accent-color: var(--mkp-brand);
}

.mkp-field input[type="text"],
.mkp-field input[type="url"],
.mkp-field input[type="tel"],
.mkp-field input[type="number"],
.mkp-field input[type="date"],
.mkp-field input[type="datetime-local"],
.mkp-field input[type="file"],
.mkp-field select,
.mkp-field textarea {
    background: #fff;
    border: 1px solid #cfd7e6;
    border-radius: 10px;
    color: var(--mkp-ink);
    font: inherit;
    font-weight: 450;
    min-height: 44px;
    padding: .65rem .75rem;
    width: 100%;
}

.mkp-field textarea {
    min-height: 76px;
    resize: vertical;
}

.mkp-field input:focus,
.mkp-field select:focus,
.mkp-field textarea:focus,
.mkp-button:focus-visible,
.mkp-link:focus-visible,
.mkp-choice:has(input:focus-visible),
.mkp-sector-choice label:has(input:focus-visible) {
    border-color: var(--mkp-brand);
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .15);
    outline: none;
}

.mkp-field-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mkp-field-textarea,
.mkp-field-string_list,
.mkp-field-code_list {
    grid-column: 1 / -1;
}

.mkp-field-compact {
    max-width: 320px;
}

.mkp-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: .9rem;
    font-weight: 750;
    justify-content: center;
    min-height: 44px;
    padding: .62rem 1rem;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
    width: fit-content;
}

.mkp-button:hover {
    transform: translateY(-1px);
}

.mkp-button:disabled {
    cursor: not-allowed;
    opacity: .48;
    transform: none;
}

.mkp-button-primary {
    background: var(--mkp-brand);
    color: #fff;
}

.mkp-button-primary:hover {
    background: var(--mkp-brand-dark);
    color: #fff;
}

.mkp-button-secondary {
    background: #fff;
    border-color: #b8c5d9;
    color: #24446d;
}

.mkp-button-secondary:hover,
.mkp-button-ghost:hover {
    background: #f0f5ff;
    border-color: #84a9ee;
    color: #123c7e;
}

.mkp-button-ghost {
    background: transparent;
    border-color: transparent;
    color: #344054;
}

.mkp-link {
    background: transparent;
    border: 0;
    color: var(--mkp-brand);
    cursor: pointer;
    font: inherit;
    font-size: .88rem;
    font-weight: 750;
    padding: 0;
    text-decoration: none;
}

.mkp-link:hover {
    color: var(--mkp-brand-dark);
    text-decoration: underline;
}

.mkp-link-danger {
    color: var(--mkp-danger);
}

.mkp-back {
    color: #475467;
    display: inline-block;
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-decoration: none;
}

.mkp-back:hover {
    color: var(--mkp-brand);
}

.mkp-actions {
    align-items: center;
    display: flex;
    gap: .65rem;
    justify-content: space-between;
    margin-top: 1.1rem;
}

.mkp-choice-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mkp-choice {
    border: 1px solid var(--mkp-line);
    border-radius: 13px;
    cursor: pointer;
    display: flex;
    gap: .7rem;
    padding: .9rem;
}

.mkp-choice:has(input:checked) {
    background: #eff4ff;
    border-color: #84adff;
}

.mkp-choice input {
    flex: none;
    margin-top: .25rem;
}

.mkp-choice strong,
.mkp-choice small {
    display: block;
}

.mkp-choice small {
    color: var(--mkp-muted);
    font-size: .8rem;
    font-weight: 450;
    margin-top: .25rem;
}

.mkp-focus {
    border: 1px solid var(--mkp-line);
    border-radius: 13px;
    margin: 0;
    padding: 1rem;
}

.mkp-focus legend,
.mkp-sector-choice legend {
    font-weight: 750;
    padding: 0 .3rem;
}

.mkp-focus > p {
    color: var(--mkp-muted);
    font-size: .84rem;
}

.mkp-check-grid {
    columns: 3 220px;
}

.mkp-check-grid label,
.mkp-checkbox-list label,
.mkp-check {
    align-items: flex-start;
    break-inside: avoid;
    display: flex;
    font-size: .86rem;
    font-weight: 500;
    gap: .45rem;
    margin-bottom: .55rem;
}

.mkp-checkbox-list {
    border: 1px solid var(--mkp-line);
    border-radius: 10px;
    display: grid;
    gap: .2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .75rem;
}

.mkp-checkbox-list label {
    margin-bottom: 0;
}

.mkp-empty {
    background: var(--mkp-soft);
    border: 1px dashed #bdc7d7;
    border-radius: 13px;
    padding: 1.35rem;
    text-align: center;
}

.mkp-empty p {
    font-weight: 750;
    margin-bottom: .2rem;
}

.mkp-empty span {
    color: var(--mkp-muted);
    font-size: .88rem;
}

.mkp-table-wrap {
    overflow-x: auto;
}

.mkp-table {
    border-collapse: collapse;
    font-size: .88rem;
    width: 100%;
}

.mkp-table th,
.mkp-table td {
    border-bottom: 1px solid #eaecf0;
    padding: .8rem .65rem;
    text-align: left;
    vertical-align: middle;
}

.mkp-table th {
    color: #667085;
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mkp-status {
    background: #f2f4f7;
    border-radius: 999px;
    color: #475467;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 750;
    padding: .25rem .55rem;
    white-space: nowrap;
}

.mkp-status-finalized,
.mkp-status-closed,
.mkp-status-complete,
.mkp-status-passed {
    background: #dcfae6;
    color: #067647;
}

.mkp-status-active,
.mkp-status-in_progress,
.mkp-status-verification_pending {
    background: #dbeafe;
    color: #175cd3;
}

.mkp-status-blocked,
.mkp-status-failed {
    background: #fee4e2;
    color: #b42318;
}

.mkp-status-paused,
.mkp-status-proposed,
.mkp-status-draft {
    background: #fff3d5;
    color: #8a4b08;
}

.mkp-limit,
.mkp-report-row-score {
    background: #eff4ff;
    border-radius: 12px;
    color: #1849a9;
    display: grid;
    flex: none;
    padding: .7rem .9rem;
    text-align: center;
}

.mkp-limit strong,
.mkp-report-row-score strong {
    font-size: 1.25rem;
}

.mkp-limit span,
.mkp-report-row-score small {
    font-size: .7rem;
    font-weight: 650;
}

.mkp-wizard-step {
    outline: none;
}

.mkp-step-title {
    align-items: center;
    display: flex;
    gap: .8rem;
    margin-bottom: 1.2rem;
}

.mkp-step-title > span {
    align-items: center;
    background: #eaf0ff;
    border-radius: 50%;
    color: var(--mkp-brand);
    display: flex;
    flex: 0 0 36px;
    font-weight: 800;
    height: 36px;
    justify-content: center;
}

.mkp-step-title h3,
.mkp-step-title p {
    margin-bottom: 0;
}

.mkp-step-title p {
    color: var(--mkp-muted);
    font-size: .82rem;
}

.mkp-sector-choice {
    border: 0;
    display: flex;
    gap: .7rem;
    margin: 0 0 1rem;
    padding: 0;
}

.mkp-sector-choice label {
    border: 1px solid var(--mkp-line);
    border-radius: 11px;
    cursor: pointer;
    font-weight: 700;
    padding: .7rem 1rem;
}

.mkp-sector-choice label:has(input:checked) {
    background: #eff4ff;
    border-color: #84adff;
    color: #1849a9;
}

.mkp-switch {
    align-items: center;
    display: flex;
    gap: .5rem;
    min-height: 44px;
}

.mkp-switch input {
    height: 20px;
    width: 36px;
}

.mkp-analysis-head,
.mkp-report-hero,
.mkp-program-hero {
    background: linear-gradient(135deg, #f6f9ff 0%, #f0fdfa 100%);
    border: 1px solid #d9e4f4;
    border-radius: 18px;
    padding: clamp(1rem, 3vw, 1.8rem);
}

.mkp-progress-ring {
    align-items: center;
    background: conic-gradient(var(--mkp-brand) calc(var(--value, 0) * 1%), #dbe4f2 0);
    border-radius: 50%;
    display: flex;
    flex: 0 0 112px;
    height: 112px;
    justify-content: center;
    position: relative;
    text-align: center;
}

.mkp-progress-ring::before {
    background: #fff;
    border-radius: 50%;
    content: "";
    inset: 9px;
    position: absolute;
}

.mkp-progress-ring strong,
.mkp-progress-ring span {
    display: block;
    position: relative;
    z-index: 1;
}

.mkp-progress-ring strong {
    font-size: 1.2rem;
}

.mkp-progress-ring span {
    color: var(--mkp-muted);
    font-size: .67rem;
}

.mkp-save-state {
    color: var(--mkp-muted);
    font-size: .8rem;
    margin: -.7rem 0 .8rem;
    text-align: right;
}

.mkp-save-state[data-state="saving"] {
    color: var(--mkp-brand);
}

.mkp-save-state[data-state="saved"] {
    color: var(--mkp-success);
}

.mkp-save-state[data-state="error"] {
    color: var(--mkp-danger);
    font-weight: 650;
}

.mkp-analysis-workspace {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(240px, 285px) minmax(0, 1fr);
}

.mkp-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.mkp-module-menu {
    background: #fff;
    border: 1px solid var(--mkp-line);
    border-radius: 16px;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    position: sticky;
    top: 1rem;
}

body.admin-bar .mkp-module-menu {
    max-height: calc(100vh - 32px - 2rem);
    top: calc(32px + 1rem);
}

body.admin-bar .mkp-question-module {
    scroll-margin-top: calc(32px + 1rem);
}

.mkp-module-menu summary {
    align-items: center;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
    cursor: pointer;
    display: grid;
    gap: .65rem;
    grid-template-columns: minmax(0, 1fr) auto 1rem;
    list-style: none;
    min-height: 64px;
    padding: .75rem .85rem;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mkp-module-menu summary::after {
    border-bottom: 2px solid #667085;
    border-right: 2px solid #667085;
    content: "";
    height: .42rem;
    justify-self: center;
    transform: rotate(45deg);
    transition: transform .16s ease;
    width: .42rem;
}

.mkp-module-menu[open] summary::after {
    transform: rotate(225deg);
}

.mkp-module-menu summary:focus-visible {
    outline: 2px solid var(--mkp-brand);
    outline-offset: 2px;
}

.mkp-module-menu summary::-webkit-details-marker {
    display: none;
}

.mkp-module-menu summary > span {
    display: grid;
    gap: .08rem;
    min-width: 0;
}

.mkp-module-menu summary > span > span {
    color: var(--mkp-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mkp-module-menu summary strong {
    font-size: .82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mkp-module-menu summary small {
    color: var(--mkp-muted);
    font-size: .68rem;
    text-align: right;
}

.mkp-module-nav {
    display: grid;
    gap: .4rem;
    padding: .65rem;
}

.mkp-module-link {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--mkp-ink);
    display: grid;
    gap: .3rem;
    min-height: 44px;
    padding: .65rem .7rem;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.mkp-module-link:hover,
.mkp-module-link:focus-visible {
    background: #f6f9ff;
    border-color: #b2ccff;
}

.mkp-module-link:focus-visible {
    outline: 2px solid var(--mkp-brand);
    outline-offset: 2px;
}

.mkp-module-link.is-active {
    background: #eff4ff;
    border-color: #84adff;
    box-shadow: 0 0 0 2px rgba(21, 94, 239, .08);
}

.mkp-module-link.is-complete {
    border-color: #abefc6;
}

.mkp-module-link-top,
.mkp-module-link-meta {
    align-items: center;
    display: flex;
    gap: .45rem;
    justify-content: space-between;
}

.mkp-module-link-top > span:last-child {
    color: var(--mkp-muted);
    font-size: .72rem;
    font-weight: 700;
}

.mkp-module-link.is-complete .mkp-module-link-top > span:last-child {
    color: var(--mkp-success);
}

.mkp-module-link > strong {
    font-size: .78rem;
    line-height: 1.35;
}

.mkp-module-link-meta {
    color: var(--mkp-muted);
    font-size: .72rem;
}

.mkp-module-link-meta b {
    color: inherit;
    font-weight: 750;
}

.mkp-module-bar {
    background: #e8edf5;
    border-radius: 999px;
    display: block;
    height: 4px;
    overflow: hidden;
}

.mkp-module-bar > span {
    background: var(--mkp-brand);
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .2s ease;
}

.mkp-module-link.is-complete .mkp-module-bar > span {
    background: var(--mkp-success);
}

.mkp-module-stage {
    min-width: 0;
}

.mkp-analysis.has-module-nav .mkp-question-module:not(.is-active) {
    display: none;
}

.mkp-question-module {
    margin-bottom: 1rem;
    scroll-margin-top: 1rem;
}

.mkp-module-head {
    align-items: center;
    display: flex;
    gap: .8rem;
    justify-content: space-between;
    margin-bottom: .65rem;
}

.mkp-module-title {
    align-items: center;
    display: flex;
    gap: .65rem;
    min-width: 0;
}

.mkp-code {
    background: #eef4ff;
    border-radius: 6px;
    color: #1849a9;
    display: inline-flex;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .7rem;
    font-weight: 800;
    padding: .23rem .45rem;
}

.mkp-module-head h3 {
    margin: 0;
}

.mkp-module-current-progress {
    align-items: flex-end;
    background: #f8fafc;
    border: 1px solid var(--mkp-line);
    border-radius: 10px;
    display: flex;
    flex: none;
    gap: .35rem;
    padding: .45rem .6rem;
}

.mkp-module-current-progress strong {
    color: var(--mkp-brand);
    font-size: .88rem;
}

.mkp-module-current-progress small {
    color: var(--mkp-muted);
    font-size: .64rem;
}

.mkp-question {
    background: #fff;
    border: 1px solid var(--mkp-line);
    border-radius: 14px;
    display: grid;
    gap: .85rem;
    grid-template-columns: minmax(0, 1fr) 250px;
    margin-bottom: .65rem;
    padding: 1rem;
}

.mkp-question-copy {
    align-items: flex-start;
    display: flex;
    gap: .7rem;
}

.mkp-question-copy p {
    font-weight: 600;
    margin-bottom: .25rem;
}

.mkp-question-copy small {
    color: var(--mkp-muted);
    font-size: .7rem;
}

.mkp-question-no {
    align-items: center;
    background: var(--mkp-soft);
    border-radius: 50%;
    color: #475467;
    display: flex;
    flex: 0 0 28px;
    font-size: .72rem;
    font-weight: 750;
    height: 28px;
    justify-content: center;
}

.mkp-na-reason,
.mkp-question-detail {
    grid-column: 1 / -1;
}

.mkp-question-detail {
    border-top: 1px solid #eef0f4;
    padding-top: .65rem;
}

.mkp-question-detail summary,
.mkp-checkpoint summary {
    color: #344054;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 700;
}

.mkp-question-detail > p {
    background: #f8fafc;
    border-radius: 8px;
    color: var(--mkp-muted);
    font-size: .82rem;
    margin: .6rem 0;
    padding: .6rem .75rem;
}

.mkp-module-pager {
    align-items: center;
    display: none;
    gap: .65rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    margin: 1rem 0;
}

.mkp-analysis.has-module-nav .mkp-module-pager {
    display: grid;
}

.mkp-module-pager > :last-child {
    justify-self: end;
}

.mkp-module-pager > span {
    color: var(--mkp-muted);
    font-size: .75rem;
    text-align: center;
}

.mkp-sticky-actions {
    align-items: center;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--mkp-line);
    border-radius: 12px;
    bottom: .75rem;
    box-shadow: var(--mkp-shadow);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .65rem .8rem;
    position: sticky;
    z-index: 4;
}

.mkp-sticky-actions span {
    color: var(--mkp-muted);
    font-size: .8rem;
}

.mkp-finalize-form {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: 1.2rem;
}

.mkp-finalize-form p {
    color: var(--mkp-muted);
    font-size: .78rem;
}

.mkp-score-card {
    align-items: center;
    background: #fff;
    border: 1px solid #cfe0f7;
    border-radius: 16px;
    display: flex;
    flex: 0 0 165px;
    flex-direction: column;
    padding: 1rem;
}

.mkp-score-card strong {
    color: var(--mkp-brand);
    font-size: 2rem;
    line-height: 1;
}

.mkp-score-card span {
    color: var(--mkp-ink);
    font-size: .78rem;
    font-weight: 750;
    margin-top: .4rem;
}

.mkp-score-card small {
    color: var(--mkp-muted);
    margin-top: .25rem;
}

.mkp-report-metrics {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

.mkp-report-metrics > div {
    background: #fff;
    border: 1px solid var(--mkp-line);
    border-radius: 12px;
    display: flex;
    flex-direction: column-reverse;
    padding: .8rem;
}

.mkp-report-metrics span {
    color: var(--mkp-muted);
    font-size: .72rem;
}

.mkp-report-metrics strong {
    font-size: 1.25rem;
}

.mkp-module-scores {
    display: grid;
    gap: .8rem;
}

.mkp-module-score {
    display: grid;
    gap: .6rem;
    grid-template-columns: minmax(210px, 1fr) minmax(200px, 2fr);
}

.mkp-module-score > div:first-child {
    display: flex;
    flex-direction: column;
}

.mkp-module-score strong {
    font-size: .86rem;
}

.mkp-module-score span {
    color: var(--mkp-muted);
    font-size: .72rem;
}

.mkp-bar,
.mkp-progress {
    align-self: center;
    background: #e8edf5;
    border-radius: 999px;
    height: 9px;
    overflow: hidden;
    width: 100%;
}

.mkp-bar span,
.mkp-progress span {
    background: linear-gradient(90deg, var(--mkp-brand), #2fb7a8);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.mkp-insight-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mkp-finding-panel .mkp-card-head {
    align-items: center;
    margin-bottom: .8rem;
}

.mkp-finding-panel .mkp-card-head h3 {
    margin: 0;
}

.mkp-finding-panel .mkp-card-head > span {
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    padding: .2rem .5rem;
}

.mkp-finding-risk .mkp-card-head > span {
    background: #fee4e2;
    color: #b42318;
}

.mkp-finding-improvement .mkp-card-head > span {
    background: #fff3d5;
    color: #8a4b08;
}

.mkp-finding-strength .mkp-card-head > span {
    background: #dcfae6;
    color: #067647;
}

.mkp-finding-panel ol {
    list-style: none;
    margin: 0;
    max-height: 520px;
    overflow: auto;
    padding: 0;
}

.mkp-finding-panel li {
    border-top: 1px solid #eef0f4;
    padding: .7rem 0;
}

.mkp-finding-panel li > span,
.mkp-finding-panel li > small {
    color: var(--mkp-muted);
    font-size: .7rem;
}

.mkp-finding-panel li p {
    font-size: .82rem;
    margin: .2rem 0;
}

.mkp-inline-counts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.mkp-inline-counts span {
    background: var(--mkp-soft);
    border-radius: 999px;
    font-size: .78rem;
    padding: .35rem .65rem;
}

.mkp-recommendations {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mkp-recommendations article {
    border: 1px solid var(--mkp-line);
    border-radius: 11px;
    display: grid;
    gap: .25rem;
    padding: .8rem;
}

.mkp-recommendations .mkp-code {
    width: fit-content;
}

.mkp-recommendations small {
    color: var(--mkp-muted);
}

.mkp-report-list {
    display: grid;
    gap: .7rem;
}

.mkp-report-row {
    align-items: center;
    border: 1px solid var(--mkp-line);
    border-radius: 12px;
    display: grid;
    gap: .8rem;
    grid-template-columns: 1fr auto auto;
    padding: .85rem;
}

.mkp-report-row > div:first-child {
    display: grid;
}

.mkp-report-row > div:first-child span {
    color: var(--mkp-muted);
    font-size: .78rem;
}

.mkp-program-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mkp-program-card {
    border: 1px solid var(--mkp-line);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.mkp-program-card h3 {
    margin-top: .75rem;
}

.mkp-program-card > p {
    color: var(--mkp-muted);
    flex: 1;
    font-size: .86rem;
}

.mkp-program-top,
.mkp-program-meta {
    align-items: center;
    display: flex;
    gap: .45rem;
    justify-content: space-between;
}

.mkp-program-meta {
    color: var(--mkp-muted);
    font-size: .72rem;
    justify-content: flex-start;
    margin: .6rem 0 .8rem;
}

.mkp-program-meta span + span::before {
    content: "·";
    margin-right: .45rem;
}

.mkp-program-percent {
    align-items: center;
    background: #fff;
    border: 1px solid #d9e4f4;
    border-radius: 13px;
    display: flex;
    flex: 0 0 150px;
    flex-direction: column;
    padding: .9rem;
}

.mkp-program-percent strong {
    color: var(--mkp-brand);
    font-size: 1.6rem;
}

.mkp-program-percent span {
    color: var(--mkp-muted);
    font-size: .68rem;
    text-align: center;
}

.mkp-callout {
    align-items: center;
    background: #eff8ff;
    border: 1px solid #b2ddff;
    border-radius: 14px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding: 1rem;
}

.mkp-callout h3,
.mkp-callout p {
    margin-bottom: .2rem;
}

.mkp-callout p {
    color: #475467;
    font-size: .84rem;
}

.mkp-program-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1.75fr) minmax(270px, .8fr);
}

.mkp-guidance-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mkp-guidance-grid article {
    background: var(--mkp-soft);
    border-radius: 10px;
    padding: .75rem;
}

.mkp-guidance-grid span {
    color: var(--mkp-brand);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mkp-guidance-grid p {
    font-size: .83rem;
    margin: .35rem 0 0;
}

.mkp-checkpoints {
    display: grid;
    gap: .75rem;
}

.mkp-checkpoint {
    border: 1px solid var(--mkp-line);
    border-radius: 12px;
    padding: .85rem;
}

.mkp-checkpoint.is-complete {
    background: #f3fff7;
    border-color: #abefc6;
}

.mkp-checkpoint > header {
    align-items: flex-start;
    display: flex;
    gap: .7rem;
    justify-content: space-between;
}

.mkp-checkpoint > header span {
    color: var(--mkp-brand);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mkp-checkpoint > header h4 {
    margin: .15rem 0 .35rem;
}

.mkp-checkpoint > header > strong {
    background: var(--mkp-soft);
    border-radius: 8px;
    flex: none;
    font-size: .78rem;
    padding: .35rem .5rem;
}

.mkp-checkpoint > p {
    color: var(--mkp-muted);
    font-size: .82rem;
}

.mkp-checkpoint-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .6rem;
}

.mkp-checkpoint-meta span {
    background: var(--mkp-soft);
    border-radius: 999px;
    color: #475467;
    font-size: .68rem;
    padding: .2rem .45rem;
}

.mkp-checkpoint details[open] summary {
    margin-bottom: .8rem;
}

.mkp-checkpoint-form {
    background: #f8fafc;
    border-radius: 10px;
    padding: .8rem;
}

.mkp-inline-form {
    align-items: end;
    border-top: 1px solid var(--mkp-line);
    display: grid;
    gap: .7rem;
    grid-template-columns: 1fr auto;
    margin-top: 1rem;
    padding-top: 1rem;
}

.mkp-anchor-note {
    background: #eefcf6;
    border-radius: 10px;
    color: #05603a;
    font-size: .82rem;
    margin: 1rem 0 0;
    padding: .65rem .8rem;
}

.mkp-note-form {
    border-bottom: 1px solid var(--mkp-line);
    display: grid;
    gap: .65rem;
    margin-bottom: .8rem;
    padding-bottom: 1rem;
}

.mkp-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mkp-timeline li {
    display: grid;
    gap: .65rem;
    grid-template-columns: 14px 1fr;
    padding: .45rem 0 .85rem;
    position: relative;
}

.mkp-timeline li:not(:last-child)::before {
    background: #dbe2ed;
    content: "";
    height: calc(100% - 3px);
    left: 6px;
    position: absolute;
    top: 16px;
    width: 2px;
}

.mkp-timeline-dot {
    background: var(--mkp-brand);
    border: 3px solid #dbeafe;
    border-radius: 50%;
    height: 14px;
    position: relative;
    width: 14px;
    z-index: 1;
}

.mkp-timeline li > div > div {
    align-items: baseline;
    display: flex;
    gap: .6rem;
    justify-content: space-between;
}

.mkp-timeline time,
.mkp-timeline small {
    color: var(--mkp-muted);
    font-size: .68rem;
}

.mkp-timeline p {
    font-size: .84rem;
    margin: .25rem 0;
}

.mkp-finding-list,
.mkp-attachment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mkp-finding-list li,
.mkp-attachment-list li {
    border-top: 1px solid #eef0f4;
    padding: .65rem 0;
}

.mkp-finding-list span {
    color: var(--mkp-brand);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .68rem;
}

.mkp-finding-list p {
    font-size: .8rem;
    margin: .2rem 0;
}

.mkp-finding-list small,
.mkp-attachment-list small {
    color: var(--mkp-muted);
    display: block;
    font-size: .68rem;
}

.mkp-attachment-list li {
    align-items: center;
    display: flex;
    gap: .6rem;
    justify-content: space-between;
}

.mkp-attachment-list strong {
    display: block;
    font-size: .8rem;
    overflow-wrap: anywhere;
}

.mkp-attachment-list form {
    margin: 0;
}

.mkp-close-card ul {
    color: var(--mkp-muted);
    font-size: .82rem;
    padding-left: 1.1rem;
}

.mkp-upgrade {
    background: linear-gradient(135deg, #f6f9ff, #f7f5ff);
    padding: clamp(1.2rem, 4vw, 2.5rem);
    text-align: center;
}

.mkp-upgrade p:last-child {
    color: var(--mkp-muted);
    margin: 0 auto;
    max-width: 720px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 960px) {
    .mkp-analysis-workspace {
        grid-template-columns: 1fr;
    }

    .mkp-module-menu {
        max-height: none;
        overflow: visible;
        position: sticky;
        top: .5rem;
        z-index: 5;
    }

    body.admin-bar .mkp-module-menu {
        max-height: none;
        top: calc(32px + .5rem);
    }

    body.admin-bar .mkp-question-module {
        scroll-margin-top: calc(32px + 5.25rem);
    }

    .mkp-module-menu:not([open]) summary {
        border-radius: 16px;
    }

    .mkp-module-menu[open] .mkp-module-nav {
        max-height: min(55vh, 520px);
        overflow: auto;
    }

    .mkp-question-module {
        scroll-margin-top: 5.25rem;
    }

    .mkp-program-layout {
        grid-template-columns: 1fr;
    }

    .mkp-insight-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mkp-insight-grid > :last-child {
        grid-column: 1 / -1;
    }

    .mkp-choice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 782px) {
    body.admin-bar .mkp-module-menu {
        top: calc(46px + .5rem);
    }

    body.admin-bar .mkp-question-module {
        scroll-margin-top: calc(46px + 5.25rem);
    }
}

@media (max-width: 720px) {
    .mkp-card-head,
    .mkp-analysis-head,
    .mkp-report-hero,
    .mkp-program-hero,
    .mkp-callout {
        align-items: stretch;
        flex-direction: column;
    }

    .mkp-field-grid,
    .mkp-program-grid,
    .mkp-guidance-grid,
    .mkp-recommendations,
    .mkp-insight-grid,
    .mkp-report-metrics {
        grid-template-columns: 1fr;
    }

    .mkp-insight-grid > :last-child {
        grid-column: auto;
    }

    .mkp-question {
        grid-template-columns: 1fr;
    }

    .mkp-module-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .mkp-module-current-progress {
        align-items: center;
        align-self: stretch;
        justify-content: space-between;
    }

    .mkp-na-reason,
    .mkp-question-detail {
        grid-column: auto;
    }

    .mkp-module-score,
    .mkp-report-row,
    .mkp-inline-form {
        grid-template-columns: 1fr;
    }

    .mkp-progress-ring,
    .mkp-score-card,
    .mkp-program-percent,
    .mkp-limit {
        align-self: flex-start;
    }

    .mkp-progress-ring {
        flex-basis: 96px;
        height: 96px;
        width: 96px;
    }

    .mkp-field-test {
        align-items: flex-start;
        flex-direction: column;
    }

    .mkp-sector-choice {
        flex-direction: column;
    }

    .mkp-checkbox-list {
        grid-template-columns: 1fr;
    }

    .mkp-attachment-list li {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .mkp-module-pager {
        grid-template-columns: 1fr;
    }

    .mkp-module-pager > :last-child,
    .mkp-module-pager > .mkp-button {
        justify-self: stretch;
        width: 100%;
    }

}

@media (prefers-reduced-motion: reduce) {
    .mkp-shell *,
    .mkp-shell *::before,
    .mkp-shell *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
