/* ==========================================================================
   Lease Calculator Styles - Exact Clone of Reference Images 1 & 2
   Responsive, Modern, Accessible & Multilingual Layout
   ========================================================================== */

:root {
  --lc-blue: #274e7d;
  --lc-blue-hover: #1c395c;
  --lc-link-blue: #0844a4;
  --lc-green-header: #38761d;
  --lc-green-btn: #3d8b37;
  --lc-green-btn-hover: #32752d;
  --lc-border: #dcdcdc;
  --lc-form-bg: #f4f4f4;
  --lc-text: #333333;
  --lc-gray-btn: #88929b;
  --lc-gray-btn-hover: #737c84;
  --lc-chart-blue: #2b76d2;
  --lc-chart-green: #7ac143;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--lc-text);
  background-color: #ffffff;
  font-size: 13px;
  line-height: 1.5;
}

.lc-page-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 14px 16px 48px;
  box-sizing: border-box;
}

/* ==========================================================================
   Top Utility Bar & Breadcrumbs (Image 2)
   ========================================================================== */
.lc-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.lc-breadcrumbs {
  color: var(--lc-link-blue);
  font-size: 12px;
}

.lc-breadcrumbs a {
  color: var(--lc-link-blue);
  text-decoration: none;
}

.lc-breadcrumbs a:hover {
  text-decoration: underline;
}

.lc-breadcrumbs .sep {
  color: #777777;
  margin: 0 4px;
}

.lc-breadcrumbs .current {
  color: #333333;
}

.lc-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lc-print-link {
  color: var(--lc-link-blue);
  text-decoration: underline;
  background: none;
  border: none;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.lc-print-link:hover {
  color: #002266;
}

.lc-instant-link {
  color: var(--lc-blue);
  background-color: #edf3fa;
  border: 1px solid #bcd0e6;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lc-instant-link:hover {
  background-color: #dbe7f5;
}

.lc-history-badge-btn {
  background-color: #f0f4f8;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lc-history-badge-btn:hover {
  background-color: #e2e8f0;
}

/* Page Title & Intro Paragraph (Image 2) */
.lc-page-title {
  color: #003366;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
}

.lc-intro-text {
  font-size: 13px;
  line-height: 1.55;
  color: #333333;
  margin: 0 0 18px 0;
  max-width: 820px;
}

.lc-intro-text a {
  color: var(--lc-link-blue);
  text-decoration: underline;
}

.lc-intro-text a:hover {
  color: #002266;
}

/* ==========================================================================
   Main Two-Column Layout (Calculator on left, Sidebar on right)
   ========================================================================== */
.lc-main-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .lc-main-layout {
    grid-template-columns: 1fr;
  }
}

.lc-content-area {
  min-width: 0;
}

/* ==========================================================================
   Calculator Form + Results Grid (Exact Clone of Image 2)
   ========================================================================== */
.lc-calc-results-row {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .lc-calc-results-row {
    grid-template-columns: 1fr;
  }
}

/* Calculator Box & Tabs */
.lc-calc-box {
  width: 100%;
}

.lc-calc-tabs {
  display: flex;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}

.lc-tab-btn {
  border: 1px solid #a4b4c4;
  border-bottom: none;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 4px 4px 0 0;
  transition: background-color 0.15s;
}

.lc-tab-btn.active {
  background-color: var(--lc-form-bg);
  color: #222222;
  border-color: #b0b8c0;
  border-bottom: 1px solid var(--lc-form-bg);
}

.lc-tab-btn:not(.active) {
  background-color: var(--lc-blue);
  color: #ffffff;
  border-color: var(--lc-blue);
}

.lc-tab-btn:not(.active):hover {
  background-color: var(--lc-blue-hover);
}

/* Form Container */
.lc-form-card {
  background-color: var(--lc-form-bg);
  border: 1px solid #b0b8c0;
  border-radius: 0 4px 4px 4px;
  padding: 14px 14px 16px;
  box-sizing: border-box;
}

.lc-form-table {
  width: 100%;
  border-collapse: collapse;
}

.lc-form-table tr {
  height: 34px;
}

.lc-form-table td {
  padding: 4px 0;
  vertical-align: middle;
}

.lc-label-col {
  width: 44%;
  font-size: 12px;
  color: #222222;
  white-space: nowrap;
}

.lc-input-col {
  width: 56%;
}

.lc-input-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lc-input {
  box-sizing: border-box;
  height: 24px;
  border: 1px solid #7f9db9;
  padding: 2px 6px;
  font-size: 12px;
  color: #111111;
  background-color: #ffffff;
  border-radius: 2px;
  outline: none;
  width: 100%;
}

.lc-input:focus {
  border-color: #1a5695;
  box-shadow: 0 0 2px rgba(26, 86, 149, 0.4);
}

.lc-unit-addon {
  font-size: 12px;
  color: #444444;
  margin-left: 2px;
}

/* Action Buttons (Calculate Play Button & Clear) */
.lc-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}

.lc-calc-btn {
  background: linear-gradient(to bottom, #4f9f38 0%, #3d8b28 100%);
  color: #ffffff;
  border: 1px solid #2e711c;
  border-radius: 3px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.lc-calc-btn:hover {
  background: linear-gradient(to bottom, #469031 0%, #357a22 100%);
}

.lc-play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #ffffff;
}

.lc-clear-btn {
  background: linear-gradient(to bottom, #f2f2f2 0%, #dcdcdc 100%);
  color: #333333;
  border: 1px solid #ababab;
  border-radius: 3px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
}

.lc-clear-btn:hover {
  background: linear-gradient(to bottom, #e4e4e4 0%, #cecece 100%);
}

/* ==========================================================================
   Results Panel (Exact Clone of Image 2)
   ========================================================================== */
.lc-results-box {
  background-color: #ffffff;
}

/* Green Header Banner with Save Icon */
.lc-results-banner {
  background-color: var(--lc-green-header);
  color: #ffffff;
  padding: 7px 12px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 2px 2px 0 0;
}

.lc-save-action-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  color: #ffffff;
  padding: 2px 7px;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: lowercase;
}

.lc-save-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.lc-save-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Results Data Table */
.lc-results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2px;
  font-size: 12px;
}

.lc-results-table td {
  padding: 5px 8px;
}

.lc-highlight-row {
  background-color: #e9edf4;
}

.lc-res-label {
  color: #333333;
}

.lc-highlight-row .lc-res-label {
  font-weight: bold;
}

.lc-res-value {
  text-align: right;
  font-weight: normal;
  color: #111111;
}

.lc-res-value.lc-primary-val {
  font-size: 15px;
  font-weight: bold;
  color: #000000;
}

/* Donut Chart Container (Image 2) */
.lc-chart-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 4px 8px 10px;
}

.lc-chart-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
}

.lc-chart-canvas {
  width: 130px;
  height: 130px;
}

.lc-chart-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.lc-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333333;
}

.lc-legend-swatch {
  width: 13px;
  height: 13px;
  border-radius: 2px;
}

.lc-swatch-blue {
  background-color: var(--lc-chart-blue);
}

.lc-swatch-green {
  background-color: var(--lc-chart-green);
}

/* ==========================================================================
   Amortization & Schedule Section
   ========================================================================== */
.lc-amort-section {
  margin-top: 24px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 16px;
}

.lc-amort-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.lc-amort-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--lc-blue);
  margin: 0;
}

.lc-amort-toggles {
  display: flex;
  border: 1px solid #7f9db9;
  border-radius: 3px;
  overflow: hidden;
}

.lc-amort-toggle-btn {
  background-color: #ffffff;
  border: none;
  padding: 4px 12px;
  font-size: 11px;
  cursor: pointer;
  color: #333333;
}

.lc-amort-toggle-btn.active {
  background-color: var(--lc-blue);
  color: #ffffff;
  font-weight: bold;
}

.lc-amort-table-wrapper {
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid #dcdcdc;
}

.lc-amort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.lc-amort-table th {
  background-color: #edf2f7;
  color: #333333;
  padding: 6px 8px;
  text-align: right;
  border-bottom: 2px solid #cbd5e1;
  position: sticky;
  top: 0;
  z-index: 1;
}

.lc-amort-table th:first-child {
  text-align: center;
}

.lc-amort-table td {
  padding: 5px 8px;
  text-align: right;
  border-bottom: 1px solid #f1f5f9;
}

.lc-amort-table td:first-child {
  text-align: center;
  font-weight: bold;
}

.lc-amort-table tr:nth-child(even) {
  background-color: #fafbfc;
}

/* ==========================================================================
   Fraction Arithmetic & Joint Lease Syndicate (Requirements 1, 5, 6)
   ========================================================================== */
.lc-fraction-section {
  margin-top: 32px;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 18px 20px;
}

.lc-frac-header {
  margin-bottom: 16px;
}

.lc-frac-title {
  font-size: 17px;
  font-weight: bold;
  color: #0f2d4a;
  margin: 0 0 6px 0;
}

.lc-frac-subtitle {
  font-size: 12px;
  color: #555555;
  margin: 0;
  line-height: 1.45;
}

/* Fraction Arithmetic Unit */
.lc-frac-calc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background-color: #ffffff;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-bottom: 16px;
}

.lc-frac-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 54px;
}

.lc-frac-input {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #7f9db9;
  border-radius: 3px;
  padding: 3px;
  outline: none;
}

.lc-frac-bar {
  width: 100%;
  height: 2px;
  background-color: #111111;
  margin: 3px 0;
}

.lc-frac-op-select {
  font-size: 16px;
  font-weight: bold;
  height: 32px;
  padding: 2px 6px;
  border: 1px solid #7f9db9;
  border-radius: 3px;
  background-color: #ffffff;
  cursor: pointer;
}

.lc-frac-equals {
  font-size: 18px;
  font-weight: bold;
  color: #444444;
}

/* Fraction Results Cards */
.lc-frac-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.lc-frac-res-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

.lc-frac-res-label {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.lc-frac-res-val {
  font-size: 16px;
  font-weight: bold;
  color: #0284c7;
}

/* Fraction Visualizations (Requirement 5) */
.lc-frac-vis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 700px) {
  .lc-frac-vis-grid {
    grid-template-columns: 1fr;
  }
}

.lc-frac-vis-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 12px;
}

.lc-vis-title {
  font-size: 12px;
  font-weight: bold;
  color: #334155;
  margin: 0 0 8px 0;
}

/* Comparison Bar */
.lc-comp-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
}

.lc-comp-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-comp-bar-label {
  width: 50px;
  font-weight: bold;
}

.lc-comp-bar-track {
  flex: 1;
  height: 14px;
  background-color: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.lc-comp-bar-fill {
  height: 100%;
  transition: width 0.3s ease;
}

/* Number Line */
.lc-numline-container {
  margin-top: 10px;
  padding: 10px 4px;
}

.lc-numline-axis {
  position: relative;
  height: 4px;
  background-color: #475569;
  margin: 18px 10px 10px;
}

.lc-numline-marker {
  position: absolute;
  top: -8px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lc-numline-dot {
  width: 12px;
  height: 12px;
  background-color: #0284c7;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lc-numline-text {
  font-size: 10px;
  font-weight: bold;
  color: #0284c7;
  margin-top: 3px;
}

/* Co-Lessee Syndicate Split */
.lc-syndicate-box {
  margin-top: 18px;
  background-color: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 4px;
  padding: 14px;
}

.lc-syndicate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.lc-syndicate-card {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 10px;
  background-color: #f8fafc;
}

.lc-syndicate-card.partner-a {
  border-top: 3px solid #2b76d2;
}

.lc-syndicate-card.partner-b {
  border-top: 3px solid #7ac143;
}

.lc-syndicate-card.remaining {
  border-top: 3px solid #94a3b8;
}

/* ==========================================================================
   Right Sidebar (Exact Clone of Image 2)
   ========================================================================== */
.lc-sidebar {
  width: 100%;
}

/* Search Bar (Image 2) */
.lc-search-box {
  display: flex;
  margin-bottom: 16px;
  position: relative;
}

.lc-search-input {
  flex: 1;
  height: 26px;
  border: 1px solid #7f9db9;
  border-right: none;
  padding: 2px 8px;
  font-size: 12px;
  color: #111111;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
}

.lc-search-input:focus {
  border-color: #1a5695;
}

.lc-search-btn {
  background-color: var(--lc-blue);
  color: #ffffff;
  border: 1px solid var(--lc-blue);
  padding: 0 12px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0;
  height: 26px;
}

.lc-search-btn:hover {
  background-color: var(--lc-blue-hover);
}

.lc-search-dropdown {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #7f9db9;
  border-top: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  max-height: 260px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.lc-search-item {
  padding: 6px 10px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.lc-search-item:hover,
.lc-search-item.active {
  background-color: #edf2f7;
  color: var(--lc-blue);
}

.lc-search-cat {
  font-size: 10px;
  color: #64748b;
  background-color: #f1f5f9;
  padding: 1px 4px;
  border-radius: 2px;
}

/* Financial Calculators Card (Image 2) */
.lc-sidebar-card {
  border: 1px solid #7f9db9;
  background-color: #ffffff;
  margin-bottom: 20px;
}

.lc-sidebar-card-header {
  background-color: var(--lc-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 10px;
}

.lc-sidebar-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 10px;
  gap: 4px 10px;
  font-size: 12px;
}

.lc-sidebar-links-grid a {
  color: var(--lc-link-blue);
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lc-sidebar-links-grid a:hover {
  color: #002266;
}

.lc-sidebar-more-link {
  display: block;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--lc-link-blue);
  text-decoration: underline;
  border-top: 1px solid #e2e8f0;
}

.lc-sidebar-card-footer {
  border-top: 1px solid #cbd5e1;
  background-color: #f8fafc;
  padding: 6px 10px;
  font-size: 11px;
  text-align: center;
  color: #64748b;
}

.lc-sidebar-card-footer a {
  color: var(--lc-link-blue);
  text-decoration: underline;
  margin: 0 3px;
}

/* ==========================================================================
   Modals: Instant Tool (Image 1), Print, History
   ========================================================================== */
.lc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lc-modal-overlay.active {
  display: flex;
}

/* Instant Tool Modal (Exact Clone of Image 1) */
.lc-modal-instant {
  background-color: #ffffff;
  width: 490px;
  max-width: 92vw;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border-radius: 0;
  overflow: hidden;
  animation: lcModalFadeIn 0.2s ease-out;
}

.lc-modal-instant-header {
  background-color: var(--lc-blue);
  color: #ffffff;
  padding: 9px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lc-modal-instant-title {
  font-size: 14px;
  font-weight: bold;
}

.lc-modal-instant-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.lc-modal-instant-body {
  padding: 16px 20px 22px;
}

.lc-instant-subtitle {
  color: #555555;
  font-size: 12px;
  margin: 0 0 16px 0;
}

.lc-instant-form-group {
  margin-bottom: 14px;
}

.lc-instant-label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 5px;
}

.lc-instant-input {
  width: 100%;
  box-sizing: border-box;
  height: 30px;
  border: 1px solid #7f9db9;
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 13px;
  outline: none;
}

.lc-instant-input:focus {
  border-color: #1a5695;
}

.lc-instant-compute-btn {
  background-color: var(--lc-blue);
  color: #ffffff;
  border: none;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 6px;
}

.lc-instant-compute-btn:hover {
  background-color: var(--lc-blue-hover);
}

.lc-instant-res-box {
  margin-top: 16px;
  padding: 12px;
  background-color: #f1f5f9;
  border-left: 4px solid var(--lc-blue);
  display: none;
}

/* General Modals (Print & History) */
.lc-modal-container {
  background-color: #ffffff;
  width: 620px;
  max-width: 92vw;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  overflow: hidden;
}

.lc-modal-header {
  background-color: var(--lc-blue);
  color: #ffffff;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
}

.lc-modal-body {
  padding: 18px 20px;
  max-height: 75vh;
  overflow-y: auto;
}

.lc-modal-footer {
  padding: 10px 16px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@keyframes lcModalFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast */
.lc-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #1e293b;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: none;
  z-index: 2000;
  animation: lcToastFade 0.25s ease-out;
}

@keyframes lcToastFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SEO & Content Sections (500+ words)
   ========================================================================== */
.lc-article-content {
  margin-top: 36px;
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  color: #333333;
  line-height: 1.65;
}

.lc-article-content h2 {
  font-size: 19px;
  color: #003366;
  margin: 24px 0 10px 0;
  font-weight: bold;
}

.lc-article-content h3 {
  font-size: 15px;
  color: #1e293b;
  margin: 18px 0 8px 0;
  font-weight: bold;
}

.lc-article-content p {
  margin: 0 0 14px 0;
  font-size: 13px;
}

.lc-article-content ul,
.lc-article-content ol {
  margin: 0 0 16px 22px;
  font-size: 13px;
}

.lc-formula-card {
  background-color: #f8fafc;
  border-left: 4px solid var(--lc-blue);
  padding: 12px 16px;
  margin: 14px 0 18px 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
}

/* FAQ Accordion */
.lc-faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}

.lc-faq-question {
  font-size: 14px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 6px;
}

.lc-faq-answer {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}

/* ==========================================================================
   Print & RTL
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .site-header,
  .lc-top-bar,
  .lc-sidebar,
  .lc-btn-row,
  .lc-modal-overlay,
  .lc-toast,
  .lc-fraction-section,
  .lc-article-content {
    display: none !important;
  }
  .lc-main-layout {
    grid-template-columns: 1fr !important;
  }
  .lc-calc-results-row {
    grid-template-columns: 1fr 1fr !important;
  }
  .lc-amort-table-wrapper {
    max-height: none !important;
    overflow: visible !important;
  }
}

html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .lc-play-icon {
  border-left: none;
  border-right: 7px solid #ffffff;
}

html[dir="rtl"] .lc-search-input {
  border-right: 1px solid #7f9db9;
  border-left: none;
}

html[dir="rtl"] .lc-formula-card {
  border-left: none;
  border-right: 4px solid var(--lc-blue);
}

html[dir="rtl"] .lc-res-value {
  text-align: left;
}

html[dir="rtl"] .lc-amort-table th,
html[dir="rtl"] .lc-amort-table td {
  text-align: left;
}

html[dir="rtl"] .lc-amort-table th:first-child,
html[dir="rtl"] .lc-amort-table td:first-child {
  text-align: center;
}
