.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-bottom: 24px; }
@media (max-width: 768px) { .seg { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
@media (max-width: 480px) { .seg { grid-template-columns: 1fr; } }
.seg a {
  display: flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 10px 14px;
  border: 2px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--ink);
  text-align: center; line-height: 1.5; text-decoration: none;
}
.seg a:hover { border-color: var(--muted); }
.seg a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }

.sec-d { font-size: var(--fs-label); color: var(--muted); margin: 10px 0 16px; line-height: 1.7; }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: none; }
.row-main { flex: 1; min-width: 0; }
.rt-note { font-size: var(--fs-label); color: var(--muted); margin-top: 4px; line-height: 1.6; overflow-wrap: anywhere; }

.unit-field { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.unit-field .field { width: auto; flex: 0 1 10em; margin-bottom: 0; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); font-weight: 700; }
.check input { width: 22px; height: 22px; }
