.converted-page {
  margin: 0;
  color: #1f2f3d;
  font: 15px/1.58 "Segoe UI", "Calibri", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% -10%, #dceaf8 0, transparent 36%),
    radial-gradient(circle at 100% 8%, #dff3e8 0, transparent 28%),
    #f3f7fb;
}

.converted-wrap {
  width: min(1180px, 94vw);
  margin: 20px auto;
}

.converted-header,
.converted-body-card {
  background: #fff;
  border: 1px solid #d7e2ec;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(19, 40, 62, 0.08);
  margin-bottom: 12px;
}

.converted-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.converted-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.converted-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #c5d8e6;
  background: #fff;
}

.converted-brand strong {
  display: block;
  font: 700 16px "Bahnschrift", "Trebuchet MS", "Segoe UI", sans-serif;
}

.converted-brand small {
  display: block;
  color: #587185;
  font-size: 11px;
}

.converted-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.converted-header h1 {
  margin: 0 0 8px;
  font: 700 clamp(22px, 2.5vw, 32px) "Bahnschrift", "Trebuchet MS", "Segoe UI", sans-serif;
  color: #16324f;
  word-break: break-word;
}

.converted-source {
  color: #5a7287;
  font-size: 12px;
  margin: 0 0 8px;
  word-break: break-all;
}

.converted-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.converted-meta li {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #d1dde8;
  border-radius: 999px;
  background: #edf4fa;
  color: #355a74;
}

.cbtn {
  display: inline-block;
  border: 1px solid #a8c8de;
  border-radius: 9px;
  background: #fff;
  color: #0d5f99;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 10px;
  cursor: pointer;
}

.cbtn.primary {
  background: #eaf4fc;
}

.converted-content h2,
.converted-content h3,
.converted-content h4 {
  margin: 16px 0 8px;
  color: #174162;
  font-family: "Bahnschrift", "Trebuchet MS", "Segoe UI", sans-serif;
}

.converted-content h2:first-child,
.converted-content h3:first-child {
  margin-top: 0;
}

.converted-content p,
.converted-content li {
  margin: 0 0 10px;
  word-break: break-word;
}

.converted-content ul,
.converted-content ol {
  margin: 0 0 12px 20px;
}

.converted-content .note {
  border: 1px dashed #b9cad8;
  border-radius: 11px;
  background: #f6fafd;
  color: #4c667b;
  padding: 12px 13px;
  font-size: 13px;
}

.converted-viewer {
  border: 1px solid #d3dee8;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
}

.converted-viewer object,
.converted-viewer iframe {
  width: 100%;
  border: 0;
  min-height: 72vh;
}

.converted-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid #d8e3ec;
  border-radius: 10px;
}

.converted-pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #f6f9fc;
  border: 1px solid #dde7ef;
  border-radius: 10px;
  padding: 12px;
  margin: 0;
  font: 13px/1.55 Consolas, "Courier New", monospace;
}

.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid #d8e3ec;
  border-radius: 10px;
  margin-bottom: 10px;
}

.converted-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 740px;
  table-layout: fixed;
  background: #fff;
}

.converted-table thead th {
  background: #ecf4fb;
  color: #21455f;
  font: 700 12px "Segoe UI", "Calibri", Arial, sans-serif;
  border-bottom: 1px solid #d8e3ec;
}

.converted-table th,
.converted-table td {
  border-right: 1px solid #e4edf4;
  border-bottom: 1px solid #deeaF2;
  padding: 8px 9px;
  vertical-align: top;
  text-align: left;
  font-size: 12px;
  word-break: break-word;
}

.converted-table th:last-child,
.converted-table td:last-child {
  border-right: 0;
}

.converted-table tbody tr:nth-child(even) {
  background: #f8fbfe;
}

@media (max-width: 900px) {
  .converted-wrap {
    width: 96vw;
  }
}

@media print {
  .converted-page {
    background: #fff;
  }

  .converted-wrap {
    width: 100%;
    margin: 0;
  }

  .converted-header,
  .converted-body-card {
    box-shadow: none;
    border-color: #d5dfe9;
  }

  .converted-actions {
    display: none !important;
  }
}
