
/* ===== claim layer patch ===== */
.claim-action-section { margin-top: 28px; }
.claim-entry-button-row { align-items: center; }
.claim-layer { display: none; position: fixed; inset: 0; z-index: 9999; }
.claim-layer.show { display: block; }
.claim-layer-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.55); }
.claim-layer-panel { position: relative; z-index: 2; width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); margin: 24px auto; overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.2); padding: 24px 24px 28px; }
.claim-history-panel { width: min(900px, calc(100vw - 32px)); }
.claim-layer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #ececec; }
.claim-layer-head h3 { margin: 0; font-size: 22px; font-weight: 700; color: #111; }
.claim-layer-close { width: 38px; height: 38px; border: 0; border-radius: 999px; background: #f2f2f2; color: #111; font-size: 24px; line-height: 1; cursor: pointer; }
.claim-layer-open { overflow: hidden; }
.claim-guide-text { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: #666; }
.claim-form-grid { display: grid; gap: 16px; }
.claim-label { display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #222; }
.shop-textarea { width: 100%; min-height: 120px; padding: 12px 14px; border: 1px solid #d7d7d7; border-radius: 10px; resize: vertical; font-size: 14px; box-sizing: border-box; }
.shop-input-file { display: block; width: 100%; padding: 10px 12px; border: 1px solid #d7d7d7; border-radius: 10px; background: #fff; box-sizing: border-box; }
.claim-file-help { display: block; margin-top: 8px; font-size: 12px; color: #777; }
.claim-success-message { padding: 14px 16px; border: 1px solid #b8e3c0; background: #f3fff5; color: #207245; border-radius: 10px; margin-bottom: 16px; }
.claim-history-list { display: grid; gap: 14px; }
.claim-history-card { border: 1px solid #e9e9e9; border-radius: 14px; background: #fff; padding: 16px; }
.claim-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.claim-history-head strong { font-size: 16px; }
.claim-type-badge,.claim-status-badge,.claim-writer-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-left: 6px; }
.claim-type-badge { background: #eef5ff; color: #1857b8; }
.claim-status-badge { background: #f7f1e6; color: #8b5d11; }
.claim-writer-badge.customer { background: #eaf8ef; color: #1d7c41; }
.claim-writer-badge.admin { background: #f1f1f1; color: #555; }
.claim-history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.claim-history-grid > div { border: 1px solid #f0f0f0; border-radius: 12px; background: #fafafa; padding: 12px 14px; display: grid; gap: 6px; }
.claim-history-grid strong { font-size: 12px; color: #666; }
.claim-image-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.claim-image-thumb-link { display: block; border-radius: 12px; overflow: hidden; border: 1px solid #ececec; background: #fff; }
.claim-image-thumb { width: 100%; height: 160px; object-fit: cover; }
.empty-claim-box { padding: 18px 20px; border: 1px dashed #cfcfcf; border-radius: 12px; background: #fcfcfc; color: #666; line-height: 1.7; }
@media (max-width: 768px) {
  .claim-layer-panel { width: calc(100vw - 20px); margin: 10px auto; padding: 18px 16px 20px; max-height: calc(100vh - 20px); }
  .claim-layer-head h3 { font-size: 18px; }
  .claim-history-grid,.claim-image-gallery { grid-template-columns: 1fr; }
  .claim-history-head { flex-direction: column; align-items: flex-start; }
  .claim-type-badge,.claim-status-badge,.claim-writer-badge { margin: 6px 6px 0 0; }
  .claim-image-thumb { height: auto; aspect-ratio: 1 / 1; }
}
