.mk-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.mk-page .mk-page-head {
  margin-bottom: 0;
}

.mk-context,
.mk-context-main {
  display: flex;
  align-items: center;
  gap: 11px;
}

.mk-context {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: -12px;
  padding: 12px 15px;
}

.mk-context-main {
  min-width: 0;
}

.mk-context-icon {
  display: grid;
  flex: none;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
}

.mk-context h2 {
  font-size: 15px;
}

.mk-context p {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.mk-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 12px;
}

.mk-section-title h2 {
  margin: 0 0 5px;
  font-size: 19px;
  letter-spacing: -.04em;
}

.mk-section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mk-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mk-service {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 19px 20px 15px;
  border: 1px solid var(--mk-border);
  border-radius: var(--radius, 14px);
  background: var(--mk-bg);
}

.mk-service::after {
  position: absolute;
  z-index: -1;
  top: -45px;
  right: -32px;
  width: 132px;
  height: 132px;
  border: 1px solid var(--mk-border);
  border-radius: 50%;
  box-shadow: 0 0 0 12px var(--mk-ring), 0 0 0 26px var(--mk-ring);
  content: '';
  pointer-events: none;
}

.mk-peach {
  --mk-bg: #fcf6ef;
  --mk-border: #efe0d2;
  --mk-ring: #f5e9df;
  --mk-icon-bg: #f7e7d8;
  --mk-accent: #8c512f;
}

.mk-lilac {
  --mk-bg: #f8f5fb;
  --mk-border: #e9e0f2;
  --mk-ring: #f0e9f6;
  --mk-icon-bg: #eee6f6;
  --mk-accent: #6c4f86;
}

.mk-mint {
  --mk-bg: #eff7f2;
  --mk-border: #d9eadf;
  --mk-ring: #e6f0ea;
  --mk-icon-bg: #dceee3;
  --mk-accent: #2c644c;
}

.mk-service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 12px;
  background: var(--mk-icon-bg);
  color: var(--mk-accent);
}

.mk-service h3 {
  margin: 2px 0 6px;
  font-size: 16px;
  letter-spacing: -.04em;
}

.mk-service-tag {
  margin: 0;
  color: var(--mk-accent);
  font-size: 11px;
  font-weight: 750;
}

.mk-service-desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.mk-service-button,
.mk-row-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.mk-service-button {
  min-height: 31px;
  margin-top: auto;
  padding: 3px 0;
  color: var(--mk-accent);
}

.mk-service-button:hover,
.mk-row-action:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk-list-panel {
  position: relative;
  overflow: hidden;
}

.mk-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
}

.mk-filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.mk-filters button:hover,
.mk-filters button.is-active {
  background: var(--brand-soft);
  color: var(--brand);
}

.mk-filters button span {
  min-width: 18px;
  padding: 1px 4px;
  border-radius: 7px;
  background: var(--canvas);
  font-size: 10px;
  text-align: center;
}

.mk-table {
  min-width: 680px;
}

.mk-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
}

.mk-table td:last-child {
  text-align: right;
}

.mk-period {
  color: var(--muted);
  white-space: nowrap;
}

.mk-country {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.mk-row-action {
  min-height: 34px;
  padding: 3px 0 3px 8px;
}

.mk-empty {
  margin: 0;
  padding: 38px 12px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.mk-sr {
  position: absolute;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mk-modal-content {
  display: grid;
  gap: 15px;
  min-width: 0;
}

.mk-form-grid,
.mk-detail-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mk-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.mk-form-grid label small {
  display: inline;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.mk-form-grid input,
.mk-form-grid select,
.mk-form-grid textarea {
  width: 100%;
  min-width: 0;
  min-height: 41px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.mk-form-grid textarea {
  resize: vertical;
}

.mk-span {
  grid-column: 1 / -1;
}

.mk-channel-note {
  margin-top: -7px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.mk-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.mk-sample-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 10px;
}

.mk-sample-row .btn {
  min-height: 30px;
  padding: 4px 8px;
  font-size: 12px;
}

.mk-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.mk-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.mk-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 11px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  list-style: none;
}

.mk-timeline li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  padding: 4px 2px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  font-weight: 650;
}

.mk-timeline li span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--canvas);
}

.mk-timeline li.is-current,
.mk-timeline li.is-done {
  color: var(--brand);
}

.mk-timeline li.is-current span {
  background: var(--brand);
  color: #fff;
}

.mk-timeline li.is-done span {
  background: var(--brand-soft);
}

.mk-detail-card {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mk-detail-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  font-size: 14px;
}

.mk-detail-card dl {
  margin: 0;
}

.mk-detail-card dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
}

.mk-detail-card dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.mk-detail-card .mk-form-note {
  margin-top: 11px;
}

.mk-detail-price {
  color: var(--brand);
}

.mk-report-label {
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
}

.mk-detail-callout {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 750px) {
  .mk-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .mk-page {
    gap: 22px;
  }

  .mk-form-grid {
    grid-template-columns: 1fr;
  }
}
