.wp-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 16px;
}
.wp-card {
  background: #fff;
  border: 1px solid #d6e2f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  color: #183a60;
}
.wp-card h2 {
  font-size: 17px;
  margin: 0 0 15px;
}
.wp-card p {
  line-height: 1.65;
}
.wp-types {
  padding: 10px;
  align-self: start;
}
.wp-types button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 12px 10px;
  border-radius: 8px;
  color: #23486d;
  cursor: pointer;
}
.wp-types button.active {
  background: #e7f0ff;
  color: #1264d8;
  font-weight: 700;
}
.wp-types small {
  float: right;
}
.wp-grid,
.wp-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.wp-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
  align-items: end;
}
.wp-form label,
.wp-filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.wp-form input:not([type='checkbox']),
.wp-form select,
.wp-form textarea,
.wp-filters input,
.wp-filters select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c9d7e7;
  border-radius: 6px;
  padding: 10px;
  color: #14365c;
  background: #fff;
  font: inherit;
}
.wp-form textarea {
  resize: vertical;
  min-height: 86px;
  line-height: 1.6;
}
.wp-check {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  margin: 8px;
}
.wp-grid fieldset {
  border: 1px solid #c9d7e7;
  border-radius: 6px;
}
.wp-note {
  background: #fff7e7;
  padding: 12px;
  border-left: 3px solid #e2a530;
  font-size: 13px;
}
.wp-scroll {
  overflow: auto;
}
.wp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.wp-table th,
.wp-table td {
  border: 1px solid #d6e2f0;
  padding: 10px;
  vertical-align: top;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.wp-table th {
  background: #eef4fb;
  color: #183a60;
}
.wp-table th button,
.wp-link {
  border: 0;
  background: none;
  color: #135dad;
  font: inherit;
  cursor: pointer;
}
.wp-table small {
  display: block;
  color: #a54b12;
}
.wp-attachment {
  border: 1px dashed #becfe3;
  padding: 12px;
  margin: 12px 0;
  border-radius: 8px;
}
.wp-attachment b {
  display: block;
  margin-bottom: 8px;
}
.wp-guidance a {
  color: #1264c9;
}
.wp-print h1 {
  text-align: center;
  font-size: 24px;
}
.wp-print h2 {
  margin: 18px 0 8px;
  font-size: 16px;
}
.wp-print p {
  white-space: pre-wrap;
}
.wp-print-attachment img {
  max-width: 100%;
  max-height: 240mm;
  object-fit: contain;
}
.wp-detail {
  max-width: 1050px;
}
.wp-print footer {
  font-size: 11px;
  margin-top: 16px;
}
.wp-print .wp-table th {
  width: 34%;
}
@media (max-width: 950px) {
  .wp-layout {
    grid-template-columns: 1fr;
  }
  .wp-types {
    display: flex;
    overflow: auto;
  }
  .wp-types button {
    min-width: 150px;
  }
  .wp-grid,
  .wp-filters {
    grid-template-columns: 1fr;
  }
}
@media print {
  .wp-print {
    font-family: 'Malgun Gothic', sans-serif;
    font-size: 10pt;
    color: #000;
  }
  .wp-print .wp-table {
    font-size: 9pt;
    table-layout: fixed;
  }
  .wp-print .wp-table th,
  .wp-print .wp-table td {
    border: 0.25mm solid #555;
    padding: 2mm;
    white-space: pre-wrap;
  }
  .wp-print h2 {
    break-after: avoid;
  }
  .wp-print tr {
    break-inside: avoid;
  }
  .wp-print-attachment {
    break-before: page;
  }
  .wp-print header {
    break-inside: avoid;
  }
  .wp-print .wp-note {
    background: white;
    border: 1px solid #999;
  }
}
.wp-print .wp-table thead th {
  width: 25%;
}
@media print {
  .wp-print {
    padding: 0 1px;
  }
  .wp-print .wp-table {
    width: calc(100% - 2px);
    max-width: 100%;
  }
}
.wp-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wp-horizontal button {
  width: auto;
  flex: 0 1 auto;
  padding: 10px 14px;
}
.wp-filters[hidden],
.wp-filters label[hidden] {
  display: none !important;
}
.wp-filters {
  margin-top: 10px;
}
