.er-card {
  background: white;
  border: 1px solid #d5dfed;
  border-radius: 14px;
  padding: 22px;
  margin: 16px 0;
}
.er-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.er-card label {
  display: block;
  font-size: 13px;
  color: #254468;
  margin: 8px 0;
}
.er-card input:not([type='checkbox']),
.er-card select,
.er-card textarea {
  width: 100%;
  border: 1px solid #bed0e6;
  border-radius: 7px;
  padding: 10px;
  color: #163453;
  background: #fff;
  font: inherit;
}
.er-card textarea {
  min-height: 90px;
}
.er-scroll {
  overflow: auto;
}
.er-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.er-table td,
.er-table th {
  padding: 10px;
  border: 1px solid #d6e1ef;
  vertical-align: top;
}
.er-table th {
  background: #edf3fc;
}
.er-table input {
  min-width: 125px;
}
.er-table button {
  white-space: nowrap;
}
.er-card fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.er-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.er-note {
  background: #eef5ff;
  color: #254b79;
  padding: 14px;
  border-radius: 8px;
}
.er-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.er-badge {
  display: inline-block;
  background: #edf4ff;
  padding: 6px 10px;
  border-radius: 8px;
  margin: 3px;
}
.er-doc {
  font-family: 'Malgun Gothic', sans-serif;
  font-size: 10pt;
  line-height: 1.65;
  padding: 3mm;
}
.er-doc h1 {
  text-align: center;
  font-size: 19pt;
  margin: 20px 0;
}
.er-doc h2 {
  font-size: 12pt;
  margin-top: 24px;
}
.er-doc table {
  width: 99%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 8pt;
}
.er-doc td,
.er-doc th {
  border: 1px solid #555;
  padding: 6px;
  word-break: break-word;
}
.er-doc th {
  background: #edf1f5;
}
.er-doc tr {
  break-inside: avoid;
}
.er-doc thead {
  display: table-header-group;
}
.er-doc p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.er-doc .er-doc-meta {
  font-size: 9pt;
  color: #555;
  border-bottom: 2px solid #234c7a;
  padding-bottom: 8px;
}
.er-doc .er-attachment-index {
  break-before: page;
}
.er-doc img {
  max-width: 100%;
}
@media (max-width: 800px) {
  .er-grid {
    grid-template-columns: 1fr;
  }
}
.er-doc.er-doc {
  line-height: 1.35;
  padding: 1mm;
  font-size: 9pt;
}
.er-doc.er-doc h1 {
  font-size: 17pt;
  margin: 10px 0;
}
.er-doc.er-doc h2 {
  font-size: 10pt;
  margin: 9px 0 4px;
}
.er-doc.er-doc p {
  margin: 5px 0;
}
.er-doc.er-doc td,
.er-doc.er-doc th {
  padding: 4px;
}
.er-doc.er-doc .er-doc-meta {
  padding-bottom: 4px;
}
.er-doc .er-attachment-index:not(:has(h3)) {
  display: none;
}
