.mr-fiche {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #111;
  background: #ececec;
  border: 1px solid #bbb;
  margin-bottom: 16px;
  line-height: 1.35;
}

.mr-fiche * {
  box-sizing: border-box;
}

.mr-nav {
  display: flex;
  background: #8b1a4a;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.mr-nav span {
  padding: 8px 16px;
  cursor: default;
}

.mr-nav .on {
  background: #6e143a;
}

.mr-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #6a6a6a;
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
}

.mr-tools input,
.mr-expno {
  height: 22px;
  border: 1px solid #999;
  padding: 2px 8px;
  font-size: 12px;
  background: #fff;
  color: #111;
  font-weight: 700;
  display: inline-block;
  min-width: 88px;
  line-height: 18px;
  vertical-align: middle;
}

.mr-btn {
  display: inline-block;
  background: #d4d4d4;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 11px;
  color: #222;
  cursor: default;
}

.mr-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #dedede;
  padding: 6px 10px;
  font-weight: 700;
}

.mr-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 8px;
  padding: 8px;
}

.mr-box {
  background: #fff;
  border: 1px solid #c8c8c8;
  margin-bottom: 8px;
}

.mr-box h3 {
  margin: 0;
  padding: 5px 8px;
  background: #e6e6e6;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
}

.mr-box .in {
  padding: 8px;
}

.mr-box .in p {
  margin: 0 0 2px;
}

.mr-link {
  color: #06c;
  text-decoration: underline;
}

.mr-meta {
  margin-top: 8px;
  border-top: 1px solid #ddd;
  padding-top: 6px;
}

.mr-meta div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2px 6px;
}

.mr-meta span {
  color: #555;
}

.mr-sign {
  background: #2ec4c4;
  color: #111;
  text-align: center;
  font-weight: 700;
  padding: 18px 8px;
}

.mr-main {
  background: #fff;
  border: 1px solid #bbb;
  padding: 8px;
}

.mr-main-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.mr-main-top h2 {
  margin: 0;
  font-size: 14px;
}

.mr-badges {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.mr-badges b {
  background: #3d9b4a;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  min-width: 32px;
  text-align: center;
}

.mr-tabs {
  display: flex;
  gap: 2px;
  background: #cfcfcf;
  padding: 4px 4px 0;
  margin: 8px 0 0;
}

.mr-tabs button {
  background: #ddd;
  border: 0;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.mr-tabs button.on {
  background: #f3f3f3;
}

.mr-detail {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 8px;
}

.mr-detail th {
  width: 160px;
  text-align: right;
  padding: 6px 10px;
  background: #e6e6e6;
  font-weight: 700;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

.mr-detail td {
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
}

.mr-sub .mr-btn {
  cursor: pointer;
}

.mr-sav {
  display: inline-block;
  background: #c00;
  color: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
  margin-left: 4px;
  vertical-align: middle;
}

.mr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.mr-table th {
  background: linear-gradient(#8a8a8a, #6a6a6a);
  color: #fff;
  font-weight: 700;
  padding: 5px 6px;
  text-align: left;
}

.mr-table td {
  padding: 5px 6px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}

.mr-table tr:nth-child(even) td {
  background: #f4f4f4;
}

.mr-plus {
  color: #06c;
  font-weight: 700;
  cursor: default;
}

.mr-log,
.mr-notif {
  display: inline-block;
  border: 1px solid;
  padding: 0 4px;
  margin-right: 4px;
  font-size: 10px;
  font-weight: 700;
}

.mr-log {
  color: #2b6cb0;
  border-color: #4a90d9;
}

.mr-notif {
  color: #d35400;
  border-color: #e67e22;
}

.mr-col {
  display: inline-block;
  background: #3d9b4a;
  color: #fff;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
}

.mr-flag {
  display: inline-block;
  width: 16px;
  height: 11px;
  vertical-align: middle;
  margin-right: 4px;
  background: #fff;
  border: 1px solid #ccc;
}

.mr-flag.fr {
  background: linear-gradient(90deg, #0055a4 33%, #fff 33% 66%, #ef4135 66%);
}

.mr-flag.es {
  background: linear-gradient(#c60b1e 25%, #ffc400 25% 75%, #c60b1e 75%);
}

.mr-close {
  display: block;
  margin: 8px auto;
  background: #d4d4d4;
  border: 1px solid #999;
  padding: 4px 18px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .mr-body {
    grid-template-columns: 1fr;
  }
}
