* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: #f5f5f4;
  color: #2c2c2a;
  margin: 0;
}
.container { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 20px; font-weight: 600; margin: 0; }
label { display: block; font-size: 13px; color: #5f5e5a; margin: 16px 0 4px; }
.hint { color: #888780; font-weight: normal; }
input[type=text], input[type=number], input[type=password], select, textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d3d1c7;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}
textarea { resize: vertical; }
button, .btn, .btn-secondary {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #d3d1c7;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  color: #2c2c2a;
}
.btn { background: #185fa5; color: #fff; border-color: #185fa5; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.page-header > div { display: flex; gap: 8px; }

.filter-bar { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-bar select, .filter-bar input { width: auto; min-width: 140px; }

.property-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.property-table th, .property-table td { padding: 10px 12px; border-bottom: 1px solid #ece9e3; font-size: 14px; text-align: left; vertical-align: top; }
.property-table .title { font-weight: 600; }
.property-table .sub { font-size: 12px; color: #888780; }
.property-table .empty { text-align: center; color: #888780; padding: 24px; }
.thumb-cell { width: 56px; }
.thumb-cell img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.thumb-placeholder { width: 48px; height: 48px; border-radius: 6px; background: #ece9e3; }

.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; margin-bottom: 2px; background: #ece9e3; color: #5f5e5a; }
.badge-募集中, .badge-掲載中 { background: #c0dd97; color: #27500a; }
.badge-保留, .badge-準備中 { background: #b5d4f4; color: #0c447c; }
.badge-成約済み, .badge-掲載中止, .badge-削除済み { background: #ece9e3; color: #5f5e5a; }
.badge-エラー { background: #f7c1c1; color: #791f1f; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.row-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; }

.existing-images { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.existing-image { text-align: center; font-size: 12px; }
.existing-image img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 4px; }

.listing-section { margin-top: 24px; border-top: 1px solid #ece9e3; padding-top: 16px; }
.listing-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.platform-name { width: 100px; font-size: 14px; }
.platform-block { background: #fff; border: 1px solid #ece9e3; border-radius: 8px; padding: 12px 16px; margin-bottom: 12px; }
.platform-block-title { font-size: 14px; font-weight: 600; margin: 0 0 4px; }

.login-box { max-width: 320px; margin: 80px auto; background: #fff; padding: 24px; border-radius: 8px; }
.error { color: #791f1f; font-size: 13px; }
