.mk-workspace{--mk-blue:#1768df;--mk-ink:#18314c;--mk-muted:#75859a;color:var(--mk-ink)}
.mk-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.mk-heading h1{margin:8px 0;color:#112b49;font-size:30px;letter-spacing:-.6px}.mk-heading p{margin:0;color:#718196;line-height:1.8;font-size:13px}.mk-eyebrow{font-size:11px;color:#6e89a8;font-weight:700;letter-spacing:1px}.mk-scope{letter-spacing:0;color:#7d8ca0;border-left:1px solid #d6e0eb;margin-left:12px;padding-left:12px;font-weight:400}
.mk-worknav{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid #e2e9f2;border-radius:13px;overflow:hidden;margin-bottom:22px}.mk-worknav a{display:flex;align-items:center;gap:14px;padding:19px 24px;color:#708198;text-decoration:none;border-right:1px solid #e9eef5;position:relative}.mk-worknav a:last-child{border-right:0}.mk-worknav a.active{color:#1768df;background:#f2f7ff}.mk-worknav a.active:after{content:'';position:absolute;bottom:0;left:24px;right:24px;height:3px;background:#1768df;border-radius:3px 3px 0 0}.mk-worknav svg{width:29px;height:29px;flex-shrink:0}.mk-worknav b{display:block;font-size:15px}.mk-worknav small{display:block;margin-top:5px;font-size:11px;color:#8c9aad}
.mk-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:20px}.mk-metric{background:#fff;border:1px solid #e1e9f2;border-radius:12px;min-height:112px;padding:20px 24px;display:grid;grid-template-columns:1fr auto;align-items:center}.mk-metric>span{font-size:13px;color:#62738a}.mk-metric strong{font-size:32px;font-variant-numeric:tabular-nums;font-weight:650;grid-row:span 2;color:#1c3654}.mk-metric small{font-size:11px;color:#93a0b0;line-height:1.6}.mk-metric.blue{background:linear-gradient(125deg,#eef5ff,#fff);border-color:#d6e6ff}.mk-metric.blue strong{color:#1768df}
.mk-process{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#6e8098;margin:2px 0 22px;background:#f8faff;border:1px dashed #d7e3f3;padding:16px 24px;border-radius:10px;font-size:12px}.mk-process span{display:flex;align-items:center;gap:9px}.mk-process b{font-size:11px;color:#1768df;background:#e7f0ff;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}.mk-process i{font-style:normal;color:#bbcadf}
.mk-list-card{padding:0!important;overflow:hidden;border:1px solid #e2e9f2;border-radius:13px;background:#fff;box-shadow:0 3px 14px #23486d03}.mk-card-title{padding:22px 24px 18px;display:flex;justify-content:space-between;align-items:center}.mk-card-title h2{font-size:16px;margin:0}.mk-card-title p{color:#8795a8;font-size:12px;margin:6px 0 0}.mk-card-title>span{color:#8a98a9;font-size:12px}.mk-toolbar{padding:0 24px 21px;display:flex;align-items:center;gap:10px}.mk-toolbar select{max-width:220px}.mk-search{max-width:340px;flex:1}.mk-toolbar input,.mk-toolbar select,.mk-local-search input{height:38px;border:1px solid #dce4ee;border-radius:7px;padding:0 12px;background:#fff;color:#314760;font-size:12px}.mk-toolbar .button,.mk-local-search .button{height:38px;font-size:12px}.mk-search input{width:100%}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mk-table{font-size:12px!important;width:100%}.mk-table th{color:#8b98a8!important;font-size:11px!important;font-weight:500!important;background:#f8fafd!important;padding:12px 24px!important;border-top:1px solid #edf1f6}.mk-table td{padding:18px 24px!important;border-bottom:1px solid #eff3f7;color:#496078;vertical-align:middle}.mk-table td small{display:block;color:#91a0b1;margin-top:6px;font-size:11px;line-height:1.7;max-width:290px;overflow-wrap:anywhere}.mk-table td>b,.mk-table td>strong{color:#2d435e;font-weight:600}.mk-table .button{font-size:11px;padding:7px 12px}.mk-table .row-actions{gap:12px;flex-wrap:nowrap}.mk-table .text-button{font-size:11px;white-space:nowrap}.mk-name-button{font:inherit;font-weight:650;color:#213c5b;background:none;border:0;padding:0;text-align:left;cursor:pointer;line-height:1.5}.mk-name-button:hover{color:#1768df;text-decoration:underline}.mk-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.3;padding:5px 8px;border-radius:5px;font-weight:500;white-space:nowrap}.mk-status:before{content:'';width:4px;height:4px;display:block;border-radius:50%;background:currentColor}.mk-status.good{background:#eaf7f0;color:#248563}.mk-status.warn{background:#fff5e4;color:#bf8724}.mk-status.bad{background:#fff0ef;color:#cd665b}.mk-status.neutral{background:#eef2f7;color:#8191a6}.mk-dim{color:#8796a9;font-size:12px;line-height:1.8}.mk-blue{color:#1768df!important}.mk-code{font-size:13px;letter-spacing:1px;color:#205fae!important}.mk-footnote{font-size:11px;line-height:1.8;color:#8a99ac;margin:15px 2px}
.mk-list-header{padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #edf1f6}.mk-tabs{display:flex;gap:8px;flex-wrap:wrap}.mk-tabs button{font-size:12px;padding:9px 12px;background:transparent;color:#7b8a9d;border:none;border-radius:6px;cursor:pointer;white-space:nowrap}.mk-tabs button span{font-size:10px;background:#edf1f6;border-radius:8px;padding:1px 5px;margin-left:6px;color:#8b99aa}.mk-tabs button.active{background:#eaf2ff;color:#1768df;font-weight:600}.mk-tabs button.active span{background:#d9e9ff;color:#1768df}.mk-local-search{display:flex;gap:8px;max-width:330px}.mk-local-search input{width:230px;max-width:100%}.mk-pagination{display:flex;align-items:center;justify-content:space-between;color:#8d9bb0;font-size:11px;padding:18px 24px}.mk-pagination .button{font-size:11px;min-height:30px;padding:6px 12px}.mk-notice{border:1px solid #dce9fd;border-radius:8px;background:#f3f7ff;color:#577596;font-size:12px;padding:13px 16px;line-height:1.8;margin-bottom:20px}.mk-notice strong{display:block;color:#38649b;font-size:12px;margin-bottom:3px}.mk-notice span{display:block;color:#7d92ad;font-size:11px}
dialog.mk-dialog{width:min(620px,calc(100vw - 48px))!important}.mk-dialog.mk-wide{width:min(880px,calc(100vw - 48px))!important}.mk-dialog .modal-heading h2{font-size:17px!important;letter-spacing:0}.mk-dialog-content{display:flex;flex-direction:column;gap:20px;min-width:0}.mk-dialog .modal-body{padding:24px!important}.mk-dialog .modal-actions{padding:16px 24px!important;border-top:1px solid #e7edf5;background:#fff;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mk-footer-note{font-size:11px;color:#8c9ab0;margin-right:auto}.mk-footer[hidden]{display:none!important}.mk-dialog [hidden]{display:none!important}.mk-inline-error{font-size:12px;background:#fff2f0;border:1px solid #ffd7d0;border-radius:7px;color:#bf5a4a;line-height:1.6;padding:12px 14px}.mk-dialog .table-wrap,.mk-dialog .mk-prize-table{max-height:none!important;overflow-x:auto!important;overflow-y:visible!important}.mk-dialog label{display:flex;flex-direction:column;gap:8px;color:#52647b;font-size:12px;font-weight:500}.mk-dialog label.checkbox{flex-direction:row;align-items:flex-start;font-weight:400;line-height:1.7;gap:9px}.mk-dialog label.checkbox input{width:16px;min-height:16px;height:16px;margin:3px 0}.mk-dialog input,.mk-dialog textarea,.mk-dialog select{border:1px solid #d8e1ed;border-radius:7px;padding:10px 12px;width:100%;font-size:12px;color:#2b4462;background:#fff;min-height:40px;box-sizing:border-box}.mk-dialog textarea{resize:vertical;line-height:1.8}.mk-dialog label small{font-size:11px;font-weight:400;color:#91a0b2;line-height:1.8}.mk-dialog button:disabled{opacity:.45;cursor:not-allowed}.mk-detail-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mk-detail-top>span:last-child{color:#8b99ac;font-size:11px}.mk-detail-section h3,.mk-payout-panel h3,.mk-confirm-panel h3,.mk-prize-editor h3,.mk-form-section h3,.mk-reject-panel h3{font-size:13px;margin:0 0 13px;color:#294563}.mk-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;padding:18px 20px;border-radius:9px;background:#f8fafd}.mk-fields>div{display:flex;flex-direction:column;gap:7px;min-width:0}.mk-fields span{font-size:11px;color:#8b9bb0}.mk-fields strong{font-size:12px;color:#3f5773;font-weight:500;line-height:1.8;overflow-wrap:anywhere}.mk-fields strong span{color:inherit;font-size:inherit}.mk-prose{font-size:12px;color:#73859d;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.mk-amounts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mk-amounts>div{border:1px solid #e0e9f5;border-radius:9px;padding:16px 20px;background:#f3f7fe}.mk-amounts span{display:block;color:#8ba1bd;font-size:11px}.mk-amounts b{display:block;color:#2069ca;font-size:25px;margin-top:7px;font-weight:600}.mk-shot-group{margin-bottom:14px}.mk-shot-group>span{display:block;font-size:11px;color:#91a0b3;margin:0 0 9px}.mk-shot-group>div{display:flex;gap:10px;flex-wrap:wrap}.mk-shot{position:relative;background:#f3f6fb;padding:0;border:1px solid #dfe7f2;border-radius:7px;width:104px;height:112px;overflow:hidden;cursor:zoom-in}.mk-shot img{width:100%;height:100%;object-fit:cover}.mk-shot>span{position:absolute;bottom:0;left:0;right:0;background:#153153b8;color:white;font-size:9px;line-height:23px}.mk-image-view{text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px}.mk-image-view>.button{align-self:flex-start}.mk-image-view>p{font-size:12px;color:#7c8ea4;margin:0}.mk-image-view>img{max-width:100%;width:auto;height:auto;border:1px solid #e2e9f2;border-radius:7px}.mk-confirm-panel,.mk-reject-panel{background:#f8fafd;border:1px solid #e2e9f3;border-radius:9px;padding:18px;display:grid;gap:13px}.mk-confirm-panel h3,.mk-reject-panel h3{margin:0}.mk-confirm-panel p{font-size:12px;color:#7d8fa5;line-height:1.8;margin:0}.mk-payout-panel{border:1px solid #d3e5ff;background:#f3f8ff;border-radius:10px;padding:20px}.mk-payout-panel .mk-fields{background:#ffffffa6;margin-bottom:15px}.mk-payout-panel p{font-size:12px;color:#8497af}.mk-account{display:grid;gap:9px;padding:15px;background:#fff;border:1px solid #e2edfb;border-radius:7px;margin-bottom:15px;overflow-wrap:anywhere}.mk-account span{color:#92a3b8;font-size:11px}.mk-account b{color:#2d5689;font-size:15px;line-height:1.7}.mk-reward-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #dce8fb;border-radius:10px;padding:21px 24px;background:#f6f9ff}.mk-reward-summary span{font-size:11px;color:#899fbc}.mk-reward-summary h2{font-size:18px;color:#294b76;margin:7px 0 10px}.mk-reward-summary>div>b{font-size:23px;color:#1768df}.mk-redeem-code{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.mk-redeem-code strong{letter-spacing:3px;font-size:23px;color:#234f88;font-family:Consolas,monospace}.mk-redeem-code .text-button{font-size:11px}
.mk-pool-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mk-pool-preview>div{display:flex;flex-direction:column;gap:7px;border:1px solid #e2e9f3;border-radius:8px;padding:12px 15px}.mk-pool-preview strong{color:#365575;font-size:12px}.mk-pool-preview span{font-size:11px;color:#92a3b6}.mk-secondary-actions{display:flex;flex-wrap:wrap;gap:8px}.mk-secondary-actions .button{font-size:11px}.mk-delete-panel{border:1px solid #f3cec7;background:#fff7f5;border-radius:8px;padding:14px;color:#ad6a5e;font-size:12px}.mk-wizard-steps{display:flex;gap:12px;border-bottom:1px solid #e7edf6;padding-bottom:20px;margin-bottom:1px}.mk-wizard-steps>div{flex:1;display:flex;align-items:center;gap:8px;font-size:12px;color:#9cabbc}.mk-wizard-steps b{border-radius:50%;background:#f0f3f8;display:grid;place-items:center;width:24px;height:24px;font-size:11px;font-weight:500}.mk-wizard-steps>div.active{color:#1768df;font-weight:600}.mk-wizard-steps>div.active b{color:#fff;background:#1768df}.mk-form-section{display:grid;gap:20px}.mk-form-section h3{margin-bottom:0}.mk-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mk-prize-editor{padding-top:18px;border-top:1px solid #e6edf6}.mk-prize-table td,.mk-prize-table th{padding:13px 12px!important}.mk-rate-preview{font-size:12px;color:#216cce;background:#edf5ff;border-radius:7px;padding:12px 14px;margin:16px 0 10px;font-variant-numeric:tabular-nums}.mk-editing{background:#f0f6ff}.mk-empty-pool{color:#94a4b8;font-size:12px;border:1px dashed #d6e1ed;padding:30px;text-align:center;border-radius:8px}.mk-delete-prize-confirm{font-size:11px;color:#b77060;margin-top:12px}.mk-delete-prize-confirm .button{margin-left:8px}.mk-qr-content{display:flex;flex-direction:column;align-items:center;text-align:center;color:#8a9bb0;font-size:12px;gap:15px}.mk-qr-content canvas{max-width:100%;height:auto;border:1px solid #e4eaf4;border-radius:8px;padding:10px;background:#fff}.mk-link-text{font-family:Consolas,monospace;border:1px solid #e0e8f2;background:#f7f9fc;border-radius:7px;color:#48709a;font-size:11px;padding:15px;overflow-wrap:anywhere;max-width:100%}
@media(max-width:1200px){.mk-list-header{flex-direction:column;align-items:flex-start}.mk-table td,.mk-table th{padding-left:15px!important;padding-right:15px!important}.mk-worknav a{padding:17px}.mk-process{padding:14px;gap:7px;font-size:11px}.mk-metric{padding:18px}.mk-metric strong{font-size:28px}.mk-toolbar{flex-wrap:wrap}.mk-search{min-width:200px}}
@media(max-width:760px){.mk-heading{align-items:flex-start;flex-direction:column}.mk-worknav a{gap:7px;padding:13px 10px}.mk-worknav svg{width:22px;height:22px}.mk-worknav b{font-size:12px}.mk-worknav small{display:none}.mk-metrics{gap:8px}.mk-metric{padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:112px}.mk-metric small{font-size:9px}.mk-process{flex-wrap:wrap;justify-content:flex-start}.mk-process i{display:none}.mk-table .row-actions{flex-wrap:wrap}.mk-form-grid,.mk-fields{grid-template-columns:1fr}.mk-reward-summary{align-items:flex-start;flex-direction:column}.mk-redeem-code{align-items:flex-start}.mk-toolbar{padding:0 15px 15px}.mk-wizard-steps{gap:7px}.mk-wizard-steps>div{font-size:10px;gap:5px}}

/* Participation accounting keeps business references readable without fixed columns. */
.mk-accounting{border-top:1px solid #dce5f0;padding-top:20px;display:grid;gap:18px;min-width:0}
.mk-accounting-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mk-accounting-heading h3{margin:0;color:#294563;font-size:15px}
.mk-accounting [data-accounting-result]{display:grid;gap:20px;min-width:0}
.mk-accounting h4{margin:0 0 12px;font-size:13px;color:#294563}
.mk-accounting-table-wrap{overflow-x:auto;max-width:100%;border:1px solid #e0e8f2;border-radius:8px;scrollbar-gutter:stable}
.mk-accounting-table{border-collapse:collapse;width:100%;min-width:920px;font-size:12px;table-layout:auto}
.mk-accounting-table th,.mk-accounting-table td{padding:12px 14px;vertical-align:top;text-align:left;border-bottom:1px solid #e7edf5;line-height:1.7;min-width:110px}
.mk-accounting-table th{background:#f3f7fc;color:#496078;font-weight:600;white-space:nowrap}
.mk-accounting-table td{color:#36506c;white-space:nowrap;font-variant-numeric:tabular-nums}
.mk-accounting-table td:last-child{min-width:190px;white-space:normal;overflow-wrap:anywhere}
.mk-accounting-table tbody tr:last-child td{border-bottom:0}
.mk-accounting-warning{padding:12px 14px;background:#fff7e8;border:1px solid #f1dcae;border-radius:7px;color:#8b631c;font-size:12px;line-height:1.8}
.mk-accounting-conclusion{font-size:12px;line-height:1.8;color:#36506c;background:#f3f7fc;border-radius:7px;padding:12px 14px}
.mk-accounting [data-accounting-result]>section{min-width:0;max-width:100%}
.mk-accounting-holds{display:grid;gap:14px;min-width:0}.mk-accounting-hold{border:1px solid #dce5f0;border-radius:9px;padding:16px;min-width:0}.mk-accounting-hold>.mk-fields{padding:0;background:transparent}.mk-accounting-hold>h4{padding-bottom:12px;border-bottom:1px solid #e7edf5}

/* Keep tall evidence fully visible first, with an explicit original-size view. */
#modal.mk-image-preview[open]{height:min(820px,88dvh)}
#modal.mk-image-preview>.modal-body{display:flex;overflow:hidden}
.mk-image-preview .mk-image-view{flex:1;min-width:0;min-height:0;align-items:stretch}
.mk-image-toolbar,.mk-image-modes,.mk-image-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:none}
.mk-image-toolbar{justify-content:space-between}.mk-image-tabs .button[aria-pressed="true"],.mk-image-modes .button[aria-pressed="true"]{background:#eaf2ff;border-color:#b8d2f5;color:#1768df}
.mk-image-view .mk-image-viewport{flex:1;min-height:0;min-width:0;overflow:auto;background:#edf1f6;border:1px solid #dfe7f2;border-radius:8px;overscroll-behavior:contain}
#modal .mk-image-viewport>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
#modal .mk-image-viewport.is-original>img{width:auto;height:auto;max-width:none;max-height:none;margin:0 auto}
.mk-image-view>.mk-image-hint{font-size:11px}.mk-image-view>.mk-inline-error{flex:none}
@media(max-width:760px){.mk-image-toolbar{align-items:flex-start}.mk-image-toolbar .button,.mk-image-tabs .button{font-size:11px;padding:7px 9px}.mk-image-preview .mk-image-view{gap:8px}}
