.mk-workspace { max-width:1400px; margin:0 auto; padding-bottom:36px; }
.mk-heading,.mk-filterbar,.mk-section-head,.mk-subhead,.mk-link,.mk-link-title,.mk-link-actions,.mk-open-chat,.mk-mode,.mk-back,.mk-selector,.mk-proof > div,.mk-ledger > div,.mk-postback-states > div { display:flex; align-items:center; }
.mk-heading { justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:23px; }
.mk-heading > div { min-width:0; }
.mk-heading h1,.mk-workspace > h1 { font-size:clamp(26px,2.6vw,40px); letter-spacing:-.055em; line-height:1.18; font-weight:600; overflow-wrap:anywhere; }
.mk-heading > .button { flex-shrink:0; }
.mk-back { width:fit-content; gap:6px; color:var(--muted); font-size:12px; margin-bottom:13px; }
.mk-back:hover,.mk-row-name:hover,.mk-open-chat:hover { color:var(--accent); text-decoration:underline; }
.mk-back svg { width:15px; }
.mk-subhead { gap:8px 13px; flex-wrap:wrap; margin-top:10px; color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.mk-mode { gap:6px; width:fit-content; color:#35594d; font-size:12px; white-space:nowrap; }
.mk-mode svg,.mk-open-chat svg { width:15px; height:15px; }
.mk-mode.postbacks { color:#66568a; }
.mk-filterbar { justify-content:space-between; flex-wrap:wrap; gap:10px; padding:12px 0; border-block:1px solid var(--line); color:var(--muted); font-size:12px; }
.mk-selector { gap:10px; max-width:100%; color:var(--ink); font-weight:500; }
.mk-selector select { max-width:min(280px,62vw); min-width:130px; border:1px solid var(--line-strong); border-radius:5px; background:#fff; padding:6px 8px; color:var(--ink); }
.mk-analysis { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(210px,1fr); gap:clamp(20px,3vw,44px); padding:25px 0; border-bottom:1px solid var(--line); }
.mk-section-head { justify-content:space-between; gap:8px; }
.mk-workspace h2 { font-size:17px; letter-spacing:-.035em; font-weight:600; }
.mk-section-head > span { font-size:11px; color:var(--muted); text-align:right; }
.mk-stages { display:grid; grid-auto-columns:minmax(0,1fr); grid-auto-flow:column; margin-top:20px; border-top:2px solid #c4d7ce; }
.mk-stages > div { min-width:0; padding:13px 7px 4px 12px; border-left:1px solid var(--line); }
.mk-stages > div:first-child { border-left:0; padding-left:0; }
.mk-stages h3 { font-size:12px; font-weight:550; }
.mk-stages strong { display:block; font-size:clamp(24px,2.7vw,40px); font-weight:550; letter-spacing:-.055em; line-height:1.3; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.mk-stages span,.mk-note,.mk-scope-note,.mk-postback-empty { color:var(--muted); font-size:12px; line-height:1.5; }
.mk-stages span { font-size:11px; }
.mk-note,.mk-scope-note { margin-top:12px; }
.mk-scope-note { padding-top:10px; border-top:1px solid var(--line); }
.mk-sales { padding:15px 20px; border-radius:7px; background:#f1f6f2; }
.mk-sales-total { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; margin-block:5px 10px; color:#235345; }
.mk-sales-total strong { font-size:clamp(27px,3.4vw,44px); line-height:1.1; font-weight:550; letter-spacing:-.055em; overflow-wrap:anywhere; }
.mk-sales-total span { font-size:12px; }
.mk-ledger > div,.mk-postback-states > div { justify-content:space-between; gap:12px; margin:3px 0; font-size:12px; }
.mk-ledger > div > span { color:#56695e; }
.mk-ledger strong { font-weight:550; font-variant-numeric:tabular-nums; }
.mk-detail-grid { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(210px,1fr); gap:clamp(20px,3vw,44px); }
.mk-detail-grid section { padding:22px 0; }
.mk-detail-grid section + section { border-top:1px solid var(--line); }
.mk-detail-grid > * { min-width:0; }
.mk-proof { margin-top:13px; }
.mk-proof > div { justify-content:space-between; gap:6px; font-size:12px; }
.mk-proof strong { font-weight:500; }
.mk-proof span { color:var(--muted); font-variant-numeric:tabular-nums; }
.mk-proof progress { display:block; width:100%; height:5px; margin-top:6px; overflow:hidden; appearance:none; border:none; border-radius:5px; background:var(--surface-muted); }
.mk-proof progress::-webkit-progress-bar { background:var(--surface-muted); }
.mk-proof progress::-webkit-progress-value { background:var(--accent); border-radius:5px; }
.mk-proof progress.campaign::-webkit-progress-value { background:#85a99b; }
.mk-proof progress::-moz-progress-bar { background:var(--accent); }
.mk-link { gap:10px; padding:13px 0; border-bottom:1px solid var(--line); }
.mk-link:last-child { border-bottom:0; }
.mk-link-icon { display:grid; place-items:center; flex-shrink:0; width:32px; height:32px; border-radius:6px; background:var(--accent-soft); color:var(--accent); }
.mk-link-title { align-items:flex-start; flex-direction:column; min-width:0; flex:1; }
.mk-link-title strong,.mk-row-name,.mk-strong { font-weight:600; }
.mk-link-title strong,.mk-link-title span { overflow-wrap:anywhere; }
.mk-link-title span,.mk-table small { font-size:11px; color:var(--muted); }
.mk-link-actions { flex-wrap:wrap; justify-content:flex-end; gap:4px; }
.mk-link-actions .button { font-size:11px; }
.mk-table-wrap { max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; }
.mk-table { width:100%; border-collapse:collapse; margin:9px 0; font-size:13px; }
.mk-table th,.mk-table td { padding:12px 8px; text-align:left; border-bottom:1px solid var(--line); }
.mk-table th { font-weight:500; color:var(--muted); font-size:11px; white-space:nowrap; }
.mk-table td:first-child,.mk-table th:first-child { padding-left:0; }
.mk-table .mk-num { text-align:right; font-variant-numeric:tabular-nums; }
.mk-table small { display:block; }
.mk-row-name,.mk-table small { overflow-wrap:anywhere; }
.mk-arrow { width:26px; }
.mk-open-chat { gap:5px; color:var(--accent); }
.mk-empty { padding:25px 0; }
.mk-empty h3 { font-size:14px; font-weight:550; }
.mk-empty p,.mk-form-context,.mk-options small { margin-top:4px; color:var(--muted); font-size:12px; }
.mk-form-context { margin:0; }
.mk-options { display:grid; gap:7px; }
.mk-options legend { margin-bottom:6px; font-weight:550; }
.mk-options label { display:flex; align-items:flex-start; gap:9px; padding:10px 12px; border:1px solid var(--line); border-radius:6px; cursor:pointer; }
.mk-options label:has(:checked) { background:var(--accent-soft); border-color:var(--accent-line); }
.mk-options input { width:15px; height:15px; margin-top:3px; accent-color:var(--accent); }
.mk-options strong,.mk-options small { display:block; }
.mk-options strong { font-size:13px; font-weight:550; }
.mk-options small { margin:0; }
.mk-postback-states { margin:8px 0 0; }
.mk-postback-empty { margin-top:6px; }
@media(max-width:1150px) {
  .mk-detail-grid { grid-template-columns:minmax(0,1.75fr) minmax(175px,.8fr); gap:22px; }
  .mk-open-chat span { display:none; }
}
@media(max-width:950px) {
  .mk-detail-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  .mk-detail-grid aside { border-top:1px solid var(--line); }
}
@media(max-width:700px) {
  .mk-analysis { grid-template-columns:minmax(0,1fr); gap:17px; padding:18px 0; }
  .mk-heading { flex-wrap:wrap; gap:12px; margin-bottom:12px; }
  .mk-sales { padding:13px 16px; }
  .mk-stages { margin-top:14px; }
  .mk-sales-total strong { font-size:29px; }
  .mk-stages > div { padding-left:7px; }
  .mk-table td,.mk-table th { padding:10px 6px; }
  .mk-table-wrap { border-bottom:1px solid var(--line); }
  .mk-subhead { gap:7px; }
}
@media(max-width:450px) {
  .mk-link { flex-wrap:wrap; }
  .mk-link-title { min-width:65%; }
  .mk-link-actions { margin-left:42px; }
  .mk-filterbar .button { font-size:11px; padding:4px 6px; }
  .mk-filterbar select { min-width:0; max-width:52vw; }
  .mk-stages h3,.mk-stages span { font-size:10px; }
}

.mk-nav { display:flex; gap:24px; border-bottom:1px solid var(--line); margin:0 0 22px; }
.mk-nav a { padding:3px 0 10px; color:var(--muted); font-size:13px; font-weight:550; }
.mk-nav a[aria-current] { color:var(--ink); box-shadow:inset 0 -2px var(--accent); }
.exo-toolbar,.exo-tools { display:flex; flex-wrap:wrap; align-items:end; gap:10px 14px; padding:14px 0; }
.exo-toolbar { border-block:1px solid var(--line); }
.exo-tools { padding:18px 0; }
.exo-toolbar label,.exo-tools label { display:grid; gap:4px; font-size:11px; font-weight:550; color:var(--muted); }
.exo-toolbar input,.exo-toolbar select,.exo-tools input,.exo-tools select { min-height:32px; min-width:0; max-width:230px; border:1px solid var(--line-strong); border-radius:5px; padding:5px 9px; background:white; font-size:13px; color:var(--ink); }
.exo-zone,.exo-foot { color:var(--muted); font-size:11px; }
.exo-zone { align-self:end; padding-bottom:7px; }
.exo-tool-actions { display:flex; gap:7px; margin-left:auto; }
.exo-scroll { border-block:1px solid var(--line); }
.exo-table { margin:0; width:100%; white-space:nowrap; }
.exo-table th { background:#f4f7f5; }
.exo-table th button { color:inherit; background:transparent; border:0; padding:5px 0; font:inherit; cursor:pointer; }
.exo-table th[aria-sort] button { color:var(--accent); font-weight:650; }
.exo-table td,.exo-table th { padding:8px 12px; }
.exo-table td:first-child,.exo-table th:first-child { position:sticky; left:0; z-index:1; padding-left:10px; border-right:1px solid var(--line); background:#fff; }
.exo-table th:first-child { background:#f4f7f5; }
.exo-table td:first-child strong { display:block; max-width:min(260px,45vw); white-space:normal; overflow-wrap:anywhere; font-weight:600; }
.exo-table td small { font-size:11px; color:var(--muted); }
.exo-table .exo-num { font-variant-numeric:tabular-nums; text-align:right; }
.exo-table tbody tr:hover td { background:#f6f9f7; }
.exo-foot { padding:9px 0; display:flex; gap:8px 18px; justify-content:space-between; flex-wrap:wrap; }
.exo-col-row { display:flex; gap:12px; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); padding:5px 0; font-size:13px; }
.exo-col-row label { display:flex; align-items:center; gap:10px; flex:1; }
.exo-col-row input { accent-color:var(--accent); }
.exo-col-row button { background:white; border:1px solid var(--line); border-radius:4px; padding:2px 8px; margin-left:3px; }
.exo-col-row button:disabled { opacity:.4; }
.exo-chip { margin-bottom:10px; }
.exo-connect { color:var(--accent); text-decoration:underline; border:0; padding:3px 0; background:none; font-size:11px; }
@media(max-width:700px) {
  .exo-toolbar,.exo-tools { gap:8px; }
  .exo-tool-actions { margin-left:0; }
  .exo-tools input,.exo-tools select,.exo-toolbar input,.exo-toolbar select { max-width:160px; }
  .exo-table td:first-child,.exo-table th:first-child { min-width:125px; }
}

.exo-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#exo-rehearsal-result { overflow-x: auto; }
.exo-proof { width: 100%; }
.exo-proof small { display: block; color: var(--muted); }
