:root {
  --interest-orange: #f97316;
  --interest-orange-dark: #c2410c;
  --interest-blue: #2684ff;
  --interest-blue-dark: #1d4ed8;
  --interest-red: #dc2626;
  --interest-green: #16a34a;
  --interest-text: #172033;
  --interest-muted: #64748b;
  --interest-line: #e4e7ec;
  --interest-bg: #fffaf5;
}

.interest-page-container,
.interest-page-container * {
  box-sizing: border-box;
}

.interest-page-container {
  width: 100%;
}

.interest-notice {
  margin: 0 0 22px;
  padding: 16px 18px;
  background: #fffaf0;
  border: 1px solid #fed7aa;
  border-radius: 12px;
}

.interest-notice strong {
  display: block;
  color: #9a3412;
}

.interest-notice p {
  margin: 6px 0 0;
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.6;
}

.interest-portal-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.calc-portal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.interest-calculator-layout {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.interest-input-summary {
  position: sticky;
  top: 90px;
}

.interest-summary-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(249, 115, 22, .08);
}

.interest-result-summary {
  margin-top: 14px;
}

.interest-summary-title {
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #7c2d12;
  font-weight: 800;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
}

.interest-summary-title span {
  color: var(--interest-orange);
  font-size: 10px;
  white-space: nowrap;
}

.interest-summary-row {
  padding: 11px 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #f1f3f5;
}

.interest-summary-row:last-child {
  border-bottom: 0;
}

.interest-summary-row span,
.interest-summary-row strong {
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.interest-summary-row strong {
  color: var(--interest-orange-dark);
  text-align: right;
}

.interest-summary-row.is-primary strong {
  color: var(--interest-red);
  font-size: 16px;
}

.interest-input-section,
.repayment-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--interest-line);
  border-radius: 14px;
}

.interest-input-guide {
  margin: 0;
  padding: 14px 16px;
  color: #7c2d12;
  font-size: 12px;
  line-height: 1.55;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
}

.interest-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interest-field {
  min-width: 0;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 7px 10px;
  align-items: center;
  border-bottom: 1px solid #eef0f3;
}

.interest-field:nth-child(odd) {
  border-right: 1px solid #eef0f3;
}

.interest-field-wide {
  grid-column: 1 / -1;
  border-right: 0 !important;
  border-bottom: 0;
}

.interest-field-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--interest-orange-dark);
  font-size: 12px;
  font-weight: 900;
  background: #fff7ed;
  border-radius: 10px;
}

.interest-field-icon.icon-money {
  color: #047857;
  background: #eafbf5;
}

.interest-field-icon.icon-calendar {
  color: #7c3aed;
  background: #f3efff;
}

.interest-field-icon.icon-rate {
  color: #c2410c;
  background: #ffedd5;
}

.interest-field-icon.icon-check {
  color: #1d4ed8;
  background: #eef6ff;
}

.interest-field label,
.repayment-card label > span {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.interest-field input,
.repayment-card input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 11px;
  color: var(--interest-text);
  font-size: 13px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  outline: none;
}

.interest-field input:focus,
.repayment-card input:focus {
  border-color: var(--interest-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

.interest-input-unit {
  position: relative;
}

.interest-input-unit input {
  padding-right: 38px;
  text-align: right;
}

.interest-input-unit > span {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #667085;
  font-size: 11px;
  pointer-events: none;
}

.repayment-section {
  margin-top: 18px;
}

.repayment-section-header {
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fffaf5;
  border-bottom: 1px solid #ffedd5;
}

.repayment-section-header strong {
  font-size: 16px;
}

.repayment-section-header p {
  margin: 4px 0 0;
  color: var(--interest-muted);
  font-size: 12px;
}

.interest-add-row {
  min-height: 36px;
  padding: 0 12px;
  color: var(--interest-orange-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #fdba74;
  border-radius: 8px;
  cursor: pointer;
}

.repayment-list {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.repayment-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 11px;
}

.repayment-card-head {
  min-height: 38px;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border-bottom: 1px solid #eef0f3;
}

.repayment-card-head strong {
  color: #475467;
  font-size: 12px;
}

.remove {
  width: 28px;
  height: 28px;
  color: #98a2b3;
  font-size: 20px;
  line-height: 1;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 50%;
  cursor: pointer;
}

.remove:disabled {
  opacity: .35;
  cursor: default;
}

.repayment-card-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.repayment-card label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.repayment-account-field {
  grid-column: 1 / -1;
}

.repayment-card-meta {
  padding: 8px 12px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: #667085;
  font-size: 11px;
  background: #fafbfc;
  border-top: 1px solid #eef0f3;
}

.repayment-card-meta strong {
  color: #344054;
}

.interest-validation {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--interest-red);
  font-size: 13px;
  font-weight: 700;
}

.interest-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px;
}

.interest-reset-btn,
.interest-calculate-btn,
.interest-outline-btn,
.interest-print-btn {
  min-height: 48px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 9px;
  cursor: pointer;
}

.interest-reset-btn,
.interest-outline-btn {
  color: #475467;
  background: #fff;
  border: 1px solid #cbd5e1;
}

.interest-calculate-btn {
  color: #fff;
  background: var(--interest-orange);
  border: 1px solid var(--interest-orange);
}

.interest-calculate-btn:hover {
  background: var(--interest-orange-dark);
  border-color: var(--interest-orange-dark);
}

.interest-result-area {
  margin-top: 22px;
  padding: 22px;
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, .08);
}

.interest-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.interest-result-badge {
  display: inline-flex;
  padding: 5px 9px;
  color: #9a3412;
  font-size: 11px;
  font-weight: 800;
  background: #ffedd5;
  border-radius: 999px;
}

.interest-result-head h2 {
  margin: 8px 0 0;
  font-size: 22px;
}

.interest-result-rate {
  text-align: right;
}

.interest-result-rate span {
  display: block;
  color: #64748b;
  font-size: 12px;
}

.interest-result-rate strong {
  display: block;
  margin-top: 5px;
  color: var(--interest-red);
  font-size: 28px;
  font-weight: 900;
}

.interest-result-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.interest-result-metric {
  padding: 15px;
  background: #fffaf5;
  border: 1px solid #ffedd5;
  border-radius: 11px;
}

.interest-result-metric span {
  display: block;
  color: #64748b;
  font-size: 11px;
}

.interest-result-metric strong {
  display: block;
  margin-top: 7px;
  color: #172033;
  font-size: 17px;
}

.interest-result-metric.is-danger strong {
  color: var(--interest-red);
}

.interest-result-section {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
}

.interest-result-section-title {
  min-height: 48px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e4e7ec;
}

.interest-result-section-title strong {
  color: #344054;
  font-size: 14px;
}

.interest-result-section-title span {
  color: #98a2b3;
  font-size: 11px;
}

.interest-print-btn {
  min-height: 32px;
  color: #fff;
  background: var(--interest-orange);
  border: 0;
}

.interest-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interest-detail-grid > div {
  min-height: 48px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #eef0f3;
}

.interest-detail-grid > div:nth-child(odd) {
  border-right: 1px solid #eef0f3;
}

.interest-detail-grid span {
  color: #667085;
  font-size: 12px;
}

.interest-detail-grid strong {
  color: #344054;
  font-size: 13px;
  text-align: right;
}

.status-over {
  color: var(--interest-red) !important;
  font-weight: 900;
}

.status-ok {
  color: var(--interest-green) !important;
  font-weight: 900;
}

.interest-basis-list {
  display: grid;
}

.interest-basis-card {
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 34px repeat(4, minmax(0, 1fr));
  gap: 8px;
  border-bottom: 1px solid #eef0f3;
}

.interest-basis-card:last-child {
  border-bottom: 0;
}

.interest-basis-card strong {
  color: #344054;
  font-size: 12px;
}

.interest-basis-card span {
  color: #667085;
  font-size: 11px;
}

.interest-basis-total {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: #fffaf5;
  border-top: 1px solid #fed7aa;
}

.interest-basis-total div {
  min-width: 0;
}

.interest-basis-total span,
.interest-basis-total strong {
  display: block;
  font-size: 11px;
}

.interest-basis-total strong {
  margin-top: 4px;
  color: #9a3412;
}

.interest-formula-box {
  padding: 4px 16px;
}

.interest-formula-box p {
  margin: 0;
  padding: 11px 0;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 14px;
  color: #475467;
  font-size: 12px;
  line-height: 1.65;
  border-bottom: 1px dashed #d0d5dd;
}

.interest-formula-box p:last-child {
  border-bottom: 0;
}

.interest-disclaimer {
  margin: 15px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.65;
}

.interest-result-actions {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
}

.interest-outline-btn {
  min-height: 38px;
}

.repay-bottom-nav {
  width: calc(100% - 20px);
  max-width: 900px;
  margin: 28px auto 30px;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #dfe5ec;
}

.repay-bottom-nav a {
  color: #526579;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.repay-bottom-nav .repay-status-link {
  color: var(--interest-orange-dark);
}

.print-head {
  display: none;
}

@media (max-width: 768px) {
  .interest-calculator-layout {
    display: flex;
    flex-direction: column;
  }

  .interest-calculator-inputs {
    order: 1;
    width: 100%;
  }

  .interest-input-summary {
    order: 2;
    position: static;
    width: 100%;
  }

  .interest-field-grid {
    grid-template-columns: 1fr;
  }

  .interest-field,
  .interest-field:nth-child(odd) {
    border-right: 0;
  }

  .interest-calculator-inputs {
    width: 100%;
  }

  .interest-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interest-detail-grid {
    grid-template-columns: 1fr;
  }

  .interest-detail-grid > div:nth-child(odd) {
    border-right: 0;
  }

  .interest-basis-card {
    grid-template-columns: 30px repeat(2, minmax(0, 1fr));
  }

  .interest-basis-total {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .interest-notice {
    padding: 14px;
  }

  .calc-portal-card-header {
    display: block;
  }

  .calc-portal-card-header strong,
  .calc-portal-card-header span {
    display: block;
  }

  .interest-field {
    padding: 13px 12px;
  }

  .repayment-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .interest-add-row {
    width: 100%;
  }

  .repayment-card-grid {
    grid-template-columns: 1fr;
  }

  .repayment-account-field {
    grid-column: auto;
  }

  .interest-actions {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .interest-result-area {
    padding: 16px;
  }

  .interest-result-head {
    display: block;
  }

  .interest-result-rate {
    margin-top: 12px;
    text-align: left;
  }

  .interest-result-grid {
    grid-template-columns: 1fr;
  }

  .interest-basis-card {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .interest-basis-total {
    grid-template-columns: 1fr 1fr;
  }

  .interest-formula-box p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .repay-bottom-nav a {
    font-size: 13px;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  #header,
  #searchbar,
  #side,
  #footer,
  #modals,
  .calc-portal-header,
  .interest-notice,
  .interest-portal-card,
  .repay-bottom-nav,
  .interest-result-actions,
  .interest-print-btn {
    display: none !important;
  }

  body,
  .layout-2col,
  .center-content,
  .interest-page-container,
  .interest-result-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .print-head {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .print-head h1 {
    margin: 0;
    font-size: 18px;
  }

  .interest-result-head,
  .interest-result-grid,
  .interest-result-section,
  .interest-disclaimer {
    break-inside: avoid;
  }
}

/* ============================================================
   2025.7.22 불법사금융 기준 및 상담 신청
============================================================ */
.interest-law-guide {
  margin: 0 0 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 14px;
}

.interest-law-guide summary {
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #9a3412;
  font-size: 14px;
  font-weight: 800;
  background: #fff7ed;
  cursor: pointer;
  list-style: none;
}

.interest-law-guide summary::-webkit-details-marker {
  display: none;
}

.interest-law-guide summary small {
  color: #c2410c;
  font-size: 11px;
}

.interest-law-guide-body {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid #fed7aa;
}

.interest-law-guide-body section {
  padding: 14px;
  background: #fffaf5;
  border: 1px solid #ffedd5;
  border-radius: 10px;
}

.interest-law-guide-body h2 {
  margin: 0 0 9px;
  color: #7c2d12;
  font-size: 14px;
}

.interest-law-guide-body ul {
  margin: 0;
  padding-left: 18px;
}

.interest-law-guide-body li {
  margin: 5px 0;
  color: #475467;
  font-size: 12px;
  line-height: 1.55;
}

.interest-law-source {
  grid-column: 1 / -1;
  margin: 0;
  text-align: right;
}

.interest-law-source a {
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
}

.interest-result-guide {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.interest-result-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.interest-legal-status {
  margin-top: 14px;
  padding: 13px 15px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
}

.interest-legal-status.is-danger {
  color: #b42318;
  background: #fff1f1;
  border-color: #fecaca;
}

.interest-consult-cta {
  margin-top: 18px;
  padding: 20px;
  text-align: center;
  background: #fffaf5;
  border: 1px solid #fed7aa;
  border-radius: 14px;
}

.interest-consult-title {
  margin: 0 0 6px;
  color: #1f2937;
  font-size: 17px;
  font-weight: 800;
}

.interest-consult-guide {
  margin: 0 0 15px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.interest-consult-btn {
  width: 100%;
  min-height: 48px;
  padding: 11px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: #f97316;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.interest-consult-btn:hover {
  background: #c2410c;
}

.interest-consult-privacy {
  margin: 9px 0 0;
  color: #64748b;
  font-size: 11px;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  padding: 14px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(2px);
}

.modal-box {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  padding: 24px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .22);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  color: #475569;
  font-size: 25px;
  background: #f1f5f9;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.app-modal-title {
  margin: 0 44px 6px 0;
  color: #172033;
  font-size: 20px;
}

.modal-desc,
.privacy-sub-title {
  margin: 0 0 18px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.privacy-safe-box {
  margin: 0 0 16px;
  padding: 12px;
  color: #9a3412;
  font-size: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
}

#interestConsultForm > label {
  display: block;
  margin: 0 0 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.app-input {
  width: 100%;
  height: 46px;
  margin: 0 0 16px;
  padding: 0 13px;
  box-sizing: border-box;
  color: #172033;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 9px;
  outline: none;
}

.app-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

.privacy-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 2px 0 18px;
}

.privacy-row label {
  font-size: 12px;
}

.privacy-row button {
  min-height: 34px;
  padding: 0 10px;
  color: #c2410c;
  font-weight: 700;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 8px;
  cursor: pointer;
}

.required-mark {
  color: #ef4444;
}

.app-modal-btn {
  width: 100%;
  min-height: 50px;
  color: #fff;
  font-weight: 800;
  background: #f97316;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.app-modal-btn:disabled {
  opacity: .65;
  cursor: default;
}

#interestSubmitStatus {
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

.privacy-table {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
}

.privacy-info-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  border-bottom: 1px solid #edf1f5;
}

.privacy-info-row:last-child {
  border-bottom: 0;
}

.privacy-label {
  padding: 13px 12px;
  font-size: 12px;
  font-weight: 800;
  background: #f8fafc;
}

.privacy-value {
  padding: 13px 14px;
  color: #475467;
  font-size: 12px;
  line-height: 1.55;
}

.privacy-guide {
  color: #667085;
  font-size: 11px;
}

@media (max-width: 768px) {
  .interest-law-guide-body {
    grid-template-columns: 1fr;
  }

  .interest-law-source {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .interest-result-grid-compact {
    grid-template-columns: 1fr;
  }

  .interest-consult-cta {
    padding: 16px 14px;
  }

  .modal {
    padding: 8px;
  }

  .modal-box {
    width: 100%;
    padding: 20px 16px;
  }

  .privacy-row {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .privacy-row button {
    grid-column: 2;
    justify-self: start;
  }
}


/* 차용정보 단일열, 텍스트 배지, 상환안내 위치 개선 */
.interest-field-grid-single {
  grid-template-columns: 1fr;
}
.interest-field-grid-single .interest-field,
.interest-field-grid-single .interest-field:nth-child(odd) {
  border-right: 0;
}
.interest-field-grid-single .interest-field:last-child {
  border-bottom: 0;
}
.interest-field-row {
  grid-template-columns: 72px minmax(110px, .7fr) minmax(180px, 1.3fr);
  gap: 8px 12px;
}
.interest-field-row .interest-field-icon {
  grid-column: 1;
  grid-row: 1;
}
.interest-field-row label {
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}
.interest-field-row > input,
.interest-field-row > .interest-input-unit {
  grid-column: 3;
  grid-row: 1;
}
.interest-text-badge {
  width: auto;
  min-width: 64px;
  height: 30px;
  padding: 0 9px;
  box-sizing: border-box;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  border-radius: 999px;
}
.interest-text-badge.badge-date {
  color: #7c3aed;
  background: #f3efff;
}
.interest-text-badge.badge-amount {
  color: #047857;
  background: #eafbf5;
}
.repayment-multi-guide {
  margin: 10px 4px 6px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
}
@media (max-width: 480px) {
  .interest-field-row {
    grid-template-columns: 62px minmax(92px, .72fr) minmax(145px, 1.28fr);
    gap: 7px 8px;
    padding: 13px 10px;
  }
  .interest-text-badge {
    min-width: 56px;
    padding: 0 7px;
    font-size: 9px;
  }
  .interest-field-row label {
    font-size: 11px;
  }
  .interest-field-row > input,
  .interest-field-row > .interest-input-unit {
    min-width: 145px;
  }
  .repayment-multi-guide {
    margin: 9px 3px 5px;
    font-size: 9px;
    text-align: left;
  }
}
