/* =====================================================================
   style.css — 郵便番号・住所の一括変換 ツール固有の微調整。
   共通スタイルは /_shared/shirugear.css に任せる。
   ===================================================================== */

.pb-mode {
  display: flex;
  width: 100%;
}
.pb-mode .sg-segment__btn {
  flex: 1 1 0;
}

.pb-input {
  width: 100%;
  min-height: 10em;
  resize: vertical;
  font: inherit;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.pb-count {
  margin-left: 6px;
  font-weight: 600;
}

.pb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pb-actions .sg-btn {
  flex: 1 1 auto;
}

.pb-status {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--sg-muted, #666);
}
.pb-status:empty {
  display: none;
}

.pb-summary {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 600;
}

.pb-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: var(--sg-radius, 8px);
}
.pb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.pb-table th,
.pb-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
  vertical-align: top;
}
.pb-table th {
  position: sticky;
  top: 0;
  background: var(--sg-surface, #fff);
  white-space: nowrap;
  z-index: 1;
}
.pb-num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pb-row--warn td {
  background: rgba(224, 168, 0, 0.1);
}
.pb-row--ng td {
  background: rgba(220, 53, 69, 0.08);
}
