/* SellerID — CSS bersama, tanpa dependensi eksternal. Mobile-first. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f4f6f5;
  color: #1c2420;
  line-height: 1.55;
  font-size: 16px;
}
a { color: #0a7a4b; }
header.site {
  background: #0a7a4b;
  color: #fff;
  padding: 14px 16px;
}
header.site .brand { font-weight: 800; font-size: 20px; color: #fff; text-decoration: none; }
header.site .tagline { font-size: 13px; opacity: .9; }
nav.tools {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px 16px; background: #fff; border-bottom: 1px solid #dde5e1;
}
nav.tools a {
  text-decoration: none; color: #1c2420; background: #eef4f1;
  padding: 10px 12px; border-radius: 999px; font-size: 14px; min-height: 44px;
  display: inline-flex; align-items: center;
}
nav.tools a.active { background: #0a7a4b; color: #fff; }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
h1 { font-size: 24px; line-height: 1.3; margin: 8px 0 10px; }
h2 { font-size: 19px; margin: 22px 0 8px; }
p.lead { font-size: 17px; color: #37423c; }
.card {
  background: #fff; border: 1px solid #dde5e1; border-radius: 12px;
  padding: 16px; margin: 14px 0;
}
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: 1fr 1fr; } }
.tool-card { display: block; text-decoration: none; color: inherit; }
.tool-card strong { display: block; font-size: 17px; margin-bottom: 4px; color: #0a7a4b; }
.tool-card span { font-size: 14px; color: #4a5750; }
label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 15px; }
label small, .hint { display: block; font-weight: 400; color: #5c6a63; font-size: 13px; margin-top: 2px; }
input[type="number"], select {
  width: 100%; min-height: 52px; font-size: 17px; padding: 10px 12px;
  border: 1.5px solid #b9c6bf; border-radius: 10px; background: #fff; color: #1c2420;
}
input[type="number"]:focus, select:focus { outline: 3px solid #9fd8bc; border-color: #0a7a4b; }
.toggle {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 8px 4px; font-weight: 600; cursor: pointer;
}
.toggle input[type="checkbox"] { width: 26px; height: 26px; flex: none; accent-color: #0a7a4b; }
.toggle small { font-weight: 400; color: #5c6a63; font-size: 13px; }
fieldset { border: 1px solid #dde5e1; border-radius: 12px; margin: 16px 0; padding: 4px 14px 14px; }
legend { font-weight: 700; padding: 0 6px; }
.result {
  background: #0d2b1e; color: #eafaf1; border-radius: 12px; padding: 16px; margin: 16px 0;
}
.result .big { font-size: 28px; font-weight: 800; }
.result .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
table.breakdown { width: 100%; border-collapse: collapse; font-size: 15px; }
table.breakdown td { padding: 8px 4px; border-bottom: 1px solid #e3eae6; vertical-align: top; }
table.breakdown td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.breakdown tr.total td { font-weight: 800; border-bottom: none; }
.indicator { border-radius: 12px; padding: 14px 16px; font-weight: 700; margin: 14px 0; }
.indicator.hijau { background: #dff5e6; color: #14532d; border: 1px solid #86cfa3; }
.indicator.kuning { background: #fdf3d7; color: #713f12; border: 1px solid #e8cd7a; }
.indicator.merah { background: #fde3e3; color: #7f1d1d; border: 1px solid #f0a3a3; }
footer.site {
  max-width: 760px; margin: 0 auto; padding: 20px 16px 36px;
  font-size: 13px; color: #5c6a63;
}
.warn { background: #fff8e1; border: 1px solid #ecd27f; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
