/* ============================================================
   en.css — English site styles (EN pages only)
   Loaded by /en/* pages together with style.css (v20260913c)
   Independent file: never touches style.css.
   ============================================================ */

/* ---- Breadcrumb ---- */
.en-crumb {
  font-size: 13.5px; color: var(--muted); margin: 0 0 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 2px;
}
.en-crumb a { color: var(--muted); }
.en-crumb a:hover { color: var(--green-dark); text-decoration: underline; }
.en-crumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
.crumb-sep { color: #b9c6c0; padding: 0 4px; }

/* ---- Content typography helpers ---- */
.lp-content ul, .lp-content ol { margin: 0 0 18px; padding-left: 24px; }
.lp-content ul li, .lp-content ol li { margin-bottom: 10px; line-height: 1.85; }
.lp-content ul li::marker { color: var(--green); }
.lp-content ol li::marker { color: var(--green); font-weight: 700; }

/* ---- Data tables ---- */
.en-table {
  width: 100%; border-collapse: collapse; margin: 6px 0 20px;
  font-size: 15px; background: #fff;
}
.en-table th, .en-table td {
  border: 1px solid var(--border); padding: 10px 12px; text-align: left;
  vertical-align: top; line-height: 1.6;
}
.en-table thead th {
  background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: 14.5px;
}
.en-table tbody tr:nth-child(even) { background: #fafcfb; }
.en-table td strong { color: var(--ink); }

/* ---- Source / disclaimer note ---- */
.en-note {
  font-size: 14px; color: var(--muted); background: var(--bg-soft);
  border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0;
  padding: 12px 16px; margin: 0 0 20px; line-height: 1.75;
}
.en-note strong { color: var(--ink); }

/* ---- FAQ definition list ---- */
.en-faq { margin: 0 0 22px; }
.en-faq dt {
  font-weight: 700; color: var(--ink); font-size: 16px;
  padding: 12px 0 4px; line-height: 1.5;
}
.en-faq dd {
  margin: 0 0 6px; padding: 0 0 12px; color: var(--muted);
  font-size: 15.5px; line-height: 1.85; border-bottom: 1px dashed var(--border);
}
.en-faq dd:last-child { border-bottom: 0; }

/* ---- Trust sign strip ---- */
.en-sign {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 22px;
  padding: 14px 18px; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14.5px; color: var(--muted);
}
.en-sign b { color: var(--ink); }

/* ============================================================
   Online calculators (tools-en.js)
   ============================================================ */
.en-tool {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px; margin: 0 0 26px;
}
.tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tool-tabs button {
  font: inherit; font-size: 14px; cursor: pointer; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; transition: all .18s ease;
}
.tool-tabs button:hover { border-color: var(--green); color: var(--green-dark); }
.tool-tabs button.active,
.tool-tabs button.is-active {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff; border-color: transparent; font-weight: 600;
}
.tool-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px 14px; margin: 0 0 16px;
}
.tool-grid label { font-size: 13px; color: var(--muted); display: block; }
.tool-grid input, .tool-grid select {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px;
  color: var(--ink); background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 10px; margin-top: 4px;
}
.tool-grid input:focus, .tool-grid select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(6,182,122,.15);
}
.tool-hint { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.7; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.tool-btn {
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--green), var(--green-dark));
  border: 0; border-radius: 10px; padding: 10px 22px; transition: transform .15s ease;
}
.tool-btn:hover { transform: translateY(-1px); }
.tool-btn.tool-btn2 {
  color: var(--ink); background: #fff; border: 1px solid var(--border); font-weight: 500;
}
.tool-btn.tool-btn2:hover { border-color: var(--green); color: var(--green-dark); }
/* Result tables (markup is <table class="en-table tool-result">) */
.tool-result th { width: 46%; color: var(--muted); font-weight: 500; }
.tool-result td {
  font-weight: 700; color: var(--green-dark);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tool-table {
  width: 100%; border-collapse: collapse; margin: 4px 0 10px; font-size: 14.5px;
}
.tool-table th, .tool-table td {
  border: 1px solid var(--border); padding: 8px 10px; text-align: left;
  font-variant-numeric: tabular-nums;
}
.tool-table thead th { background: var(--bg-soft); font-size: 13.5px; }
.tool-recommend {
  font-size: 15px; color: var(--ink); background: #eefaf4;
  border: 1px solid rgba(6,182,122,.35); border-radius: 12px;
  padding: 12px 16px; margin: 0 0 12px; line-height: 1.75;
}
.tool-recommend b { color: var(--green-dark); }

@media (max-width: 640px) {
  .en-tool { padding: 16px 14px; }
  .en-table { font-size: 13.5px; }
  .en-table th, .en-table td { padding: 8px 8px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
