/* ミツカル 共通スタイル */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600;
  line-height: 1;
}
.badge-red    { background: #fee2e2; color: #b91c1c; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-green  { background: #d1fae5; color: #065f46; }

.status-row-red    { background: #fef2f2; }
.status-row-yellow { background: #fffbeb; }
.status-row-green  { background: #ffffff; }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem; border-radius: 0.5rem;
  font-weight: 600; transition: background 0.15s;
  font-size: 0.9rem; white-space: nowrap;
}
.btn-primary { background: #14a088; color: white; }
.btn-primary:hover { background: #10866f; }
.btn-ghost   { background: #f1f5f9; color: #0f172a; }
.btn-ghost:hover { background: #e2e8f0; }
.btn-danger  { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; }

.input {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: white;
  font-size: 0.95rem;
}
.input:focus { outline: 2px solid #14a08833; border-color: #14a088; }

table.data { width: 100%; border-collapse: collapse; background: white; }
table.data thead th {
  background: #f1f5f9; text-align: left;
  padding: 0.6rem 0.75rem; border-bottom: 2px solid #cbd5e1;
  font-size: 0.8rem; color: #334155;
}
table.data tbody td {
  padding: 0.55rem 0.75rem; border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}
table.data tbody tr:hover { background: #f8fafc; }

.card {
  background: white; border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  padding: 1.25rem;
}

/* 現場のスマホ操作向け:ボタンは大きく */
@media (max-width: 768px) {
  .btn { padding: 0.75rem 1.1rem; font-size: 1rem; }
  .input { padding: 0.75rem 0.9rem; font-size: 1rem; }
}

/* 印刷用 */
@media print {
  header, footer, .no-print { display: none !important; }
  main { max-width: none; padding: 0; }
  body { background: white; }
}
