/* Independent upper and lower Credit Calculator favorites. */
.oto760-web-start-grid .oto760-web-start-credit-top-star {
  top: 6px;
  bottom: auto;
}
.summary-strip .oto760-overview-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  width: 528px;
  max-width: 100%;
  flex: 0 1 528px;
}
.summary-strip .oto760-overview-shortcuts.has-credit-shortcut {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 796px;
  flex-basis: 796px;
}
.summary-strip .oto760-overview-shortcuts > .oto760-overview-view-tabs {
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.summary-strip .oto760-overview-shortcuts .oto760-overview-view-button {
  min-width: 0;
  padding-inline: 12px;
}
.oto760-overview-credit-button[hidden] {
  display: none !important;
}
.oto760-overview-credit-button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .summary-strip:has(.oto760-overview-shortcuts.has-credit-shortcut) {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .summary-strip .oto760-overview-shortcuts,
  .summary-strip .oto760-overview-shortcuts.has-credit-shortcut {
    width: 100%;
    flex-basis: 100%;
  }
}
@media (max-width: 560px) {
  .summary-strip .oto760-overview-shortcuts .oto760-overview-view-button {
    padding-inline: 6px;
    font-size: 11px;
  }
}

#moduleWindow.credit-calculator-mode { padding: 12px; }
#moduleWindow.credit-calculator-mode .module-frame {
  width: min(1740px, 100%); height: calc(100vh - 24px); height: calc(100dvh - 24px);
  min-height: 0; grid-template-rows: auto minmax(0, 1fr);
}
#moduleWindow.credit-calculator-mode .module-header {
  min-height: 58px; padding: 8px 14px;
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "heading actions";
}
#moduleWindow.credit-calculator-mode .module-mark { width: 38px; height: 38px; border-radius: 8px; font-size: 20px; }
#moduleWindow.credit-calculator-mode .module-heading { gap: 10px; }
#moduleWindow.credit-calculator-mode .module-heading h2 { margin: 0 0 2px; font-size: 18px; }
#moduleWindow.credit-calculator-mode .module-heading p { font-size: 11px; }
#moduleWindow.credit-calculator-mode .module-header-actions .secondary-button { height: 36px; min-height: 36px; }
#moduleWindow.credit-calculator-mode .module-toolbar,
#moduleWindow.credit-calculator-mode .module-search,
#moduleWindow.credit-calculator-mode .module-metrics,
#moduleWindow.credit-calculator-mode .module-footer,
#moduleWindow.credit-calculator-mode .module-body > :not(#creditCalculator) { display: none !important; }
#moduleWindow.credit-calculator-mode #moduleBody { overflow: auto !important; background: var(--soft, #f4f8fc); overscroll-behavior: contain; }
.credit-calculator {
  display: grid; grid-template-rows: repeat(4, auto); align-content: start;
  gap: 12px; padding: 14px; height: auto; min-height: 0;
  box-sizing: border-box; color: var(--ink); font-size: 12px;
}
.credit-calculator [hidden] { display: none !important; }
.credit-card { min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; }
.credit-saved {
  display: grid; grid-template-columns: auto minmax(160px, 1fr) minmax(180px, 1fr) auto auto;
  align-items: center; gap: 8px; padding: 10px 12px;
  background: var(--soft, #f7fafc);
}
.credit-saved-heading { display: grid; gap: 3px; min-width: 0; margin-right: 4px; }
.credit-saved-heading strong { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.credit-saved-heading small { max-width: 240px; font-size: 11px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.credit-saved-select, .credit-alias { display: block; width: 100%; min-width: 0; }
.credit-calculator input, .credit-calculator select {
  width: 100%; min-width: 0; height: 36px; padding: 7px 9px; border: 1px solid var(--line);
  border-radius: 7px; color: var(--ink); background: #fff; font: inherit; font-size: 13px;
  box-sizing: border-box; font-variant-numeric: tabular-nums;
}
.credit-calculator input:focus, .credit-calculator select:focus,
.credit-share-dialog textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.credit-calculator button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; min-height: 36px; margin: 0; padding: 0 12px;
  box-sizing: border-box; border-radius: 8px;
  font-size: 12px; line-height: 1.2; white-space: nowrap;
}
.credit-calculator button:disabled { cursor: not-allowed; opacity: .5; }
.credit-calculator :disabled { background-color: var(--panel); }
.credit-saved-actions, .credit-exports {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; min-width: 0; max-width: 100%;
}
.credit-saved-actions button, .credit-exports button {
  width: auto; flex: 0 0 auto; min-width: 0; padding-inline: 12px;
}
.credit-exports {
  margin-left: auto; padding-left: 12px; border-left: 1px solid var(--line);
  box-sizing: border-box;
}
.credit-message { grid-column: 1 / -1; min-width: 0; margin: 0; color: var(--teal); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.credit-message:empty { display: none; }
.credit-message.is-error { color: var(--danger); font-weight: 600; }
.credit-overview { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 12px; }
.credit-overview h3 { margin: 0; padding: 10px 14px; text-align: center; font-size: 13px; line-height: 20px; font-weight: 650; box-sizing: border-box; }
.credit-input-heading { color: #fff; background: #0b4565; border-bottom: 1px solid #0b4565; }
.credit-inputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 9px; border: 0; min-width: 0; margin: 0; padding: 12px; }
.credit-field { display: grid; grid-template-rows: 16px 36px; align-content: start; align-self: start; gap: 5px; min-width: 0; }
.credit-field > span {
  display: block; min-width: 0; line-height: 16px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  color: var(--muted); font-size: 11px; font-weight: 650;
}
.credit-field input, .credit-field select { margin: 0; font-weight: 700; }
.credit-rate-pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; align-self: start; gap: 8px; min-width: 0;
}
.credit-rate-pair .credit-field > span { font-size: 10px; letter-spacing: 0; }
.credit-term-control { position: relative; min-width: 0; height: 36px; }
.credit-calculator .credit-term-control > input { padding-right: 42px; }
.credit-calculator .credit-term-presets {
  position: absolute; top: 0; right: 0; width: 34px; height: 36px;
  margin: 0; padding: 0 4px; appearance: auto;
  border: 0; border-left: 1px solid var(--line); border-radius: 0 8px 8px 0;
  background: transparent; color: var(--ink); cursor: pointer;
}
.credit-term-presets option { color: var(--ink); background: #fff; }
.credit-calculator .credit-field input[type="date"] {
  display: block; height: 36px; min-height: 36px; padding: 7px 9px;
  line-height: 20px; text-align: left; direction: ltr; color-scheme: light;
}
.credit-field input[type="date"]::-webkit-datetime-edit {
  min-width: 0; padding: 0; line-height: 20px;
}
.credit-field input[type="date"]::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.credit-field input[type="date"]::-webkit-date-and-time-value {
  min-height: 20px; text-align: left;
}
.credit-field input[type="date"]::-webkit-calendar-picker-indicator {
  width: 16px; height: 16px; margin: 0 0 0 6px; padding: 0; cursor: pointer;
}
.credit-rate-pair.credit-rate-pair-single { grid-template-columns: minmax(0, 1fr); }
.credit-rate-pair input { min-width: 0; padding-inline: 8px; }
.credit-rate-pair #credit-periodicRate {
  color: var(--teal);
}
.credit-alias input, .credit-saved-select select { font-weight: 700; }
.credit-money-field { position: relative; }
.credit-money-field input { padding-right: 36px; }
.credit-money-field::after {
  content: "TL"; position: absolute; right: 10px; bottom: 10px;
  color: var(--muted); font-size: 12px; font-weight: 650; line-height: 16px;
  pointer-events: none;
}
.credit-calculate { align-self: end; }
.credit-contribution-option {
  grid-column: span 2; align-self: end; display: flex; align-items: center;
  gap: 8px; min-height: 36px; min-width: 0; cursor: pointer;
  color: var(--ink); font-size: 12px; font-weight: 650;
}
.credit-calculator .credit-contribution-option > input {
  width: 16px; height: 16px; flex: 0 0 16px; margin: 0; padding: 0;
  accent-color: var(--teal); cursor: pointer;
}
.credit-contribution-option > span { min-width: 0; }
.credit-contribution-option small {
  display: block; margin-top: 3px; color: var(--muted);
  font-size: 10px; line-height: 1.35; font-weight: 400;
}
.credit-dealer-settlement {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 16px; min-width: 0; margin: 0 14px 12px; padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--teal) 32%, var(--line));
  border-left: 4px solid var(--teal); border-radius: 10px;
  background: linear-gradient(110deg,
    color-mix(in srgb, var(--teal) 9%, var(--warm, #fff)),
    color-mix(in srgb, var(--teal) 3%, var(--warm, #fff)));
}
.credit-dealer-settlement p {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px;
  min-width: 0; margin: 0; color: var(--ink); font-size: 13px; line-height: 1.5;
}
.credit-dealer-settlement strong {
  color: #a7591b; font-size: 16px; font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.credit-dealer-settlement .credit-dealer-net strong { color: var(--teal); }
.credit-dealer-settlement .credit-dealer-net span { font-weight: 650; }
@media (max-width: 760px) {
  .credit-dealer-settlement { display: grid; gap: 8px; padding: 11px 12px; }
}
.credit-results h3 { color: #fff; background: #0b4565; border-bottom: 1px solid #0b4565; }
.credit-results-heading, .credit-input-heading-bar { position: relative; }
.credit-input-heading-bar h3, .credit-results-heading h3 { padding: 10px 48px; min-height: 40px; }
.credit-calculator .credit-result-settings-button {
  position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 0;
  color: #fff; background: #225875; border: 1px solid #6b8ba1;
  border-radius: 8px; cursor: pointer;
}
.credit-result-settings-button:hover,
.credit-result-settings-button[aria-expanded="true"] { background: #376e8c; border-color: #a7c6d9; }
.credit-result-settings-button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.credit-result-settings { margin: 10px 14px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: color-mix(in srgb, var(--teal) 5%, var(--warm, #fff)); }
.credit-result-settings > strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 10px; }
.credit-visibility-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.credit-visibility-options label { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--ink); cursor: pointer; }
.credit-calculator .credit-visibility-options input { flex: 0 0 16px; width: 16px; min-width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; accent-color: var(--teal); box-shadow: none; }
.credit-result-settings > small { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
@media (max-width: 560px) { .credit-visibility-options { grid-template-columns: 1fr; } }

.credit-results dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; margin: 10px 14px; }
.credit-results dt, .credit-results dd { min-width: 0; min-height: 36px; margin: 0; display: flex; align-items: center; font-size: 13px; }
.credit-results dt { color: var(--muted); }
.credit-results dd { justify-content: flex-end; text-align: right; color: var(--teal); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.credit-payment-editor { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; }
.credit-calculator .credit-payment-editor input {
  width: min(190px, 36vw); max-width: 100%; height: 30px;
  margin: 0; padding: 2px 4px; border-radius: 6px;
  border-color: color-mix(in srgb, var(--teal) 30%, var(--line));
  background: transparent; color: inherit; font: inherit; text-align: right;
}
#creditResult-netPrincipal { color: #2563eb; }
#creditResult-totalPayment { color: var(--navy-2); }
#creditResult-totalInterest, #creditResult-totalTax { color: #a7591b; }
.credit-schedule { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.credit-schedule header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; padding: 10px 14px;
  background: var(--soft, #f7fafc);
}
.credit-schedule h3 { font-size: 14px; margin: 0 0 4px; }
.credit-schedule p { color: var(--muted); font-size: 11px; margin: 0; }
.credit-schedule small { color: var(--teal); font-size: 11px; }
.credit-table-wrap { min-height: 0; max-height: min(420px, 48dvh); overflow: auto; border-top: 1px solid var(--line); scrollbar-color: var(--teal) var(--panel); overscroll-behavior: contain; }
.credit-table { width: 100%; min-width: 960px; border-collapse: separate; border-spacing: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.credit-table th { position: sticky; top: 0; z-index: 1; color: #fff; background: #0b4565; font-weight: 650; }
.credit-table th, .credit-table td { height: 36px; padding: 7px 10px; box-sizing: border-box; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.credit-table th:first-child, .credit-table td:first-child,
.credit-table th:nth-child(2), .credit-table td:nth-child(2) { text-align: left; }
.credit-table tbody tr:nth-child(even) { background: var(--surface); }
.credit-calculator input:not([type="checkbox"]), .credit-calculator select,
.credit-table tbody td {
  border-radius: 8px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.credit-table tbody td { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .credit-calculator input:not([type="checkbox"]):not(:disabled):hover,
  .credit-calculator select:not(:disabled):hover,
  .credit-table tbody td:hover {
    background-color: color-mix(in srgb, var(--teal) 4%, var(--surface, #fff));
    box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--teal) 65%, transparent),
      0 3px 8px color-mix(in srgb, var(--teal) 8%, transparent);
  }
  .credit-calculator input:not([type="checkbox"]):not(:disabled):hover,
  .credit-calculator select:not(:disabled):hover {
    border-color: color-mix(in srgb, var(--teal) 65%, var(--line));
  }
  .credit-table tbody td:hover { z-index: 1; }
}
.credit-calculator input:not([type="checkbox"]):not(:disabled):focus,
.credit-calculator select:not(:disabled):focus {
  background-color: color-mix(in srgb, var(--teal) 4%, var(--surface, #fff));
  border-color: var(--teal); outline-width: 1px;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--teal) 8%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .credit-calculator input:not([type="checkbox"]), .credit-calculator select,
  .credit-table tbody td { transition: none; }
}
.credit-table th:nth-child(2), .credit-table th:nth-child(8),
.credit-table td:nth-child(2), .credit-table td:nth-child(8) {
  font-weight: 700;
}
.credit-empty { padding: 40px 16px; text-align: center; color: var(--muted); }
.credit-footnote { margin: 0; font-size: 10px; color: var(--muted); }
.credit-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.credit-share-dialog { width: min(680px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 70px #061b3555; }
.credit-share-dialog::backdrop { background: #061b3599; }
.credit-share-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.credit-share-dialog h3 { margin: 0; }
.credit-share-dialog p { color: var(--muted); }
.credit-share-dialog textarea { width: 100%; min-height: 200px; max-height: 55vh; resize: vertical; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; box-sizing: border-box; margin-bottom: 12px; }

.credit-pdf-dialog { width: min(760px, calc(100vw - 28px)); }
.credit-pdf-eyebrow { display: block; margin-bottom: 5px; color: var(--teal); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.credit-pdf-file { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.credit-pdf-file > div { min-width: 0; }
.credit-pdf-file strong { display: block; overflow-wrap: anywhere; color: var(--ink); }
.credit-pdf-file small { display: block; margin-top: 5px; color: var(--muted); }
.credit-pdf-badge { display: grid; place-items: center; flex: 0 0 48px; height: 58px; border: 1px solid var(--teal); border-radius: 7px; color: var(--teal); background: var(--surface); font-weight: 800; }
.credit-pdf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.credit-pdf-actions a { display: inline-flex; justify-content: center; align-items: center; min-height: 36px; padding: 0 12px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font-size: 12px; text-decoration: none; }
.credit-pdf-actions a:hover { border-color: var(--teal); }
.credit-pdf-actions a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.credit-share-message-label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 700; }
.credit-share-dialog #creditShareText { min-height: 180px; max-height: 32vh; margin-bottom: 0; background: var(--surface); color: var(--ink); line-height: 1.5; }
.credit-share-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.credit-share-pdf-option { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 700; }
.credit-calculator .credit-share-pdf-option input { width: 17px; min-width: 17px; height: 17px; min-height: 17px; flex: 0 0 17px; margin: 0; padding: 0; accent-color: var(--teal); }
.credit-share-pdf-option:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.credit-share-phone { display: grid; flex: 1 1 220px; gap: 5px; min-width: 0; max-width: 320px; margin-inline: auto; color: var(--ink); font-size: 12px; font-weight: 650; }
.credit-calculator .credit-share-phone input { width: 100%; min-width: 0; height: 40px; margin: 0; padding: 8px 10px; box-sizing: border-box; color: var(--ink); background: var(--surface); font: inherit; }
.credit-share-phone small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.35; }
.credit-calculator .credit-share-phone input[aria-invalid="true"] { border-color: var(--danger); }
.credit-calculator #creditShareSend { min-width: 150px; min-height: 40px; }
#creditPdfPanel { min-width: 0; }
.credit-pdf-company-option { margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.credit-pdf-company-option label { display: flex; align-items: center; gap: 9px; min-height: 24px; cursor: pointer; color: var(--ink); font-size: 12px; font-weight: 650; }
.credit-calculator .credit-pdf-company-option input { flex: 0 0 17px; width: 17px; min-width: 17px; height: 17px; min-height: 17px; margin: 0; padding: 0; accent-color: var(--teal); }
.credit-pdf-company-option > small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; }
#creditPdfStatus { font-size: 12px; line-height: 1.5; }
@media (max-width: 480px) {
  .credit-share-dialog .credit-pdf-file { gap: 10px; padding: 12px; }
  .credit-share-dialog .credit-share-footer { gap: 10px; }
  .credit-share-phone { order: -1; flex-basis: 100%; max-width: none; margin: 0; }
  .credit-calculator #creditShareSend { flex: 1 1 150px; }
}
.credit-pdf-note { font-size: 11px; line-height: 1.55; }

.credit-print-report { display: none; }
@media (max-width: 1400px) {
  .credit-saved { grid-template-columns: auto minmax(150px, 1fr) minmax(170px, 1fr) auto; }
  .credit-exports { grid-column: 1 / -1; justify-self: end; margin: 0; padding: 0; border: 0; }
}
@media (max-width: 1250px) {
  .credit-overview { grid-template-columns: minmax(0, 1fr); }
  .credit-results dt { font-size: 12px; }
}
@media (max-width: 900px) {
  .credit-saved { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit-saved-heading { grid-column: 1 / -1; }
  .credit-saved-actions { grid-column: 1 / -1; }
  .credit-exports { justify-self: stretch; }
  .credit-inputs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #moduleWindow.credit-calculator-mode { padding: 6px; }
  #moduleWindow.credit-calculator-mode .module-frame { height: calc(100vh - 12px); height: calc(100dvh - 12px); border-radius: 12px; }
  #moduleWindow.credit-calculator-mode .module-header { padding: 10px; gap: 8px; }
  #moduleWindow.credit-calculator-mode .module-mark { display: none; }
  #moduleWindow.credit-calculator-mode .module-heading h2 { font-size: 16px; }
  #moduleWindow.credit-calculator-mode .module-heading p { max-width: 42vw; font-size: 11px; }
  #moduleWindow.credit-calculator-mode .module-header-actions { gap: 5px; }
  .credit-calculator { gap: 10px; padding: 9px; }
  .credit-saved { gap: 8px; padding: 10px; }
  .credit-saved-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit-exports { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 1.2fr); }
  .credit-saved-actions button, .credit-exports button { padding-inline: 10px; font-size: 11px; }
  .credit-overview { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .credit-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit-results dd { font-size: 15px; }
  .credit-table-wrap { max-height: 360px; }
  .credit-share-dialog { padding: 12px; }
}
@media (max-width: 420px) {
  .credit-saved { gap: 7px; padding: 9px; }
  .credit-saved-actions button, .credit-exports button { height: auto; min-height: 38px; padding: 6px; white-space: normal; overflow-wrap: anywhere; }
  .credit-inputs { gap: 10px 8px; padding: 10px; }
  .credit-rate-pair { grid-column: span 2; }
  .credit-results dl { margin: 10px; gap: 0 8px; }
  .credit-results dd { font-size: 13px; }
  .credit-calculator .credit-payment-editor input { width: 138px; }
}
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body.credit-printing { overflow: visible !important; height: auto !important; background: #fff !important; }
  body.credit-printing > :not(#creditPrintReport) { display: none !important; }
  body.credit-printing #creditPrintReport { display: block !important; color: #111; background: #fff; font: 10pt "Segoe UI", sans-serif; }
  .credit-print-report h1 { font-size: 18pt; margin: 0 0 4mm; }
  .credit-print-report h2 { font-size: 13pt; margin-top: 6mm; }
  .credit-print-report dl { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 2mm 4mm; }
  .credit-print-report dt { color: #444; }
  .credit-print-report dd { margin: 0; font-weight: 650; }
  .credit-print-report table { width: 100%; border-collapse: collapse; font-size: 8pt; font-variant-numeric: tabular-nums; }
  .credit-print-report thead { display: table-header-group; }
  .credit-print-report th, .credit-print-report td { border: 1px solid #c4cbd1; padding: 2mm; text-align: right; }
  .credit-print-report th { background: #e8efef; }
  .credit-print-report th:nth-child(2), .credit-print-report td:nth-child(2),
  .credit-print-report th:nth-child(8), .credit-print-report td:nth-child(8) {
    font-weight: 700;
  }
  .credit-print-report tr { break-inside: avoid; }
}
