/* /compare.html: the free comparison tool (2026-11-13). Built on app.css (cards, fields, buttons). */
body.bare { background: var(--bg, #F4F7F9); }
.cmp-page { max-width: 1080px; margin: 0 auto; padding: 18px 20px 60px; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.cmp-top { display: flex; align-items: center; gap: 14px; padding: 6px 0 18px; }
.cmp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; color: var(--ink); text-decoration: none; }
.cmp-sp { flex: 1; }
.cmp-lang { font-weight: 650; font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 6px 8px; }
.cmp-head { margin: 10px 0 22px; }
.cmp-head h1 { font-size: clamp(28px, 4.4vw, 42px); letter-spacing: -.03em; line-height: 1.1; margin: 12px 0 10px; }
.cmp-lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 760px; }
.cmp-card { margin-top: 18px; }
.cmp-ex { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.cmp-ex-l { font-size: 13.5px; color: var(--ink-2); margin-right: 4px; }
.cmp-ex-note { font-size: 13px; color: var(--ink-2); margin: 10px 0 4px; line-height: 1.5; }
.cmp-debts { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.cd-row { display: grid; grid-template-columns: 1.3fr 1.5fr 1fr .8fr 1fr .8fr auto 32px; gap: 8px; align-items: end; padding: 12px; border: 1px solid var(--line, #E3E9E7); border-radius: 14px; background: #fff; }
.cd-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cd-f > span:first-child { font-size: 12px; color: var(--ink-2); font-weight: 550; }
.cd-f .affix { width: 100%; }
.cd-f .input, .cd-f .select { width: 100%; min-width: 0; }
.cd-chk { flex-direction: row; align-items: center; gap: 6px; font-size: 13px; padding-bottom: 12px; white-space: nowrap; }
.cd-chk > span:first-child { font-size: 13px; color: var(--ink); }
.cd-x { width: 32px; height: 40px; border: 0; background: none; font-size: 22px; color: var(--ink-2); cursor: pointer; border-radius: 8px; }
.cd-x:hover { background: #F1F4F3; }
.affix .suf { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); font-size: 14px; pointer-events: none; }
.affix { position: relative; }
.input.has-suf { padding-right: 28px; }
.cmp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cmp-aff { margin-bottom: 14px; }
.cmp-t { display: flex; flex-direction: column; border: 1px solid var(--line, #E3E9E7); border-radius: 14px; overflow: hidden; }
.cmp-tr { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line, #E3E9E7); background: #fff; font-size: 14.5px; }
.cmp-tr:first-child { border-top: 0; }
.cmp-th { background: #F4F7F6; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.cmp-tr small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.cmp-tr.best { background: #EEF7F2; }
.cmp-tr .neg { color: #8A5A00; }
.cmp-why { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-top: 14px; }
.cmp-cta { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 18px; }
.cmp-cta .muted { font-size: 13px; }
.cmp-note .card-t { margin-bottom: 10px; }
.cmp-list { margin: 0 0 0 18px; padding: 0; list-style: disc; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.cmp-list li { margin: 5px 0; }
.cmp-help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.cmp-help > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line, #E3E9E7); border-radius: 14px; background: #fff; font-size: 14px; }
.cmp-help span { color: var(--ink-2); font-size: 13px; line-height: 1.45; margin-bottom: 4px; }
.cmp-help a, .cmp-note p a, .cmp-legal a, .cmp-aff a { color: var(--blue, #2563EB); text-decoration: underline; overflow-wrap: anywhere; }
.cmp-checked { font-size: 12.5px; margin-top: 8px; }
.cmp-note p.soft { font-size: 14px; line-height: 1.6; }
.cmp-legal { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; margin-top: 26px; text-align: center; }
.lang-sw a.on { font-weight: 700; text-decoration: none; }
@media (max-width: 960px) {
  .cd-row { grid-template-columns: repeat(3, minmax(0, 1fr)) 32px; }
  .cd-name { grid-column: 1 / 3; } .cd-type { grid-column: 3 / 5; }
  .cmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cmp-page { padding: 12px 16px 48px; }
  .cmp-top .btn { display: none; }
  .cd-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; padding-right: 40px; }
  .cd-name, .cd-type { grid-column: 1 / -1; }
  .cd-x { position: absolute; top: 6px; right: 4px; }
  .cmp-grid { grid-template-columns: minmax(0, 1fr); }
  .cmp-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-th { display: none; }
  .cmp-tr > span:first-child { grid-column: 1 / -1; }
  .cmp-help { grid-template-columns: minmax(0, 1fr); }
}
