/* Housekeeper Assist portal — Claims screen (revamp/screenshots). Uses the hk- kit in src/index.css. */

/* list */
.cl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cl-date { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--hk-muted); }
.cl-date .hk-select { height: 42px; }
.cl-search { display: flex; align-items: center; }
.cl-search input { padding-right: 30px; }
.cl-search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #97a397; font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.cl-loading { padding: 32px; text-align: center; color: var(--hk-muted); }
.cl-table-wrap { overflow-x: auto; }
.cl-sort { cursor: pointer; user-select: none; }
.cl-sort-arrow { margin-left: 4px; font-size: 10px; opacity: .3; }
.cl-sort-arrow--on { opacity: 1; color: var(--hk-teal); }
.cl-name { font-weight: 600; color: var(--hk-ink); }
.cl-sub { font-size: 12px; color: var(--hk-muted); }
.cl-amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.cl-action { text-align: right; }
.cl-none { text-align: center; color: #99a39d; padding: 32px !important; }
.cl-receipt-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--hk-muted); }
.cl-receipt-link:hover { color: var(--hk-teal); }

/* review */
.cl-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 22px; align-items: start; }
.cl-stack > * + * { margin-top: 18px; }
.cl-h2 { font-size: 18px; font-weight: 650; letter-spacing: -.3px; margin: 0 0 6px; color: var(--hk-ink); }
.cl-h3 { font-size: 15px; font-weight: 650; margin: 16px 0 4px; color: var(--hk-ink); }
.cl-notes { font-size: 12.5px; color: var(--hk-muted); white-space: pre-wrap; margin: 0; }
.hk-row.cl-total-row strong { font-size: 25px; font-weight: 650; color: var(--hk-teal); font-variant-numeric: tabular-nums; }
.cl-textarea { display: block; width: 100%; min-height: 90px; resize: vertical; margin-bottom: 14px; padding: 10px 12px; border: 1px solid #dfe6d9; border-radius: 6px; font: inherit; font-size: 13.5px; color: var(--hk-ink); background: #fff; box-sizing: border-box; }
.cl-textarea:focus { outline: none; border-color: var(--hk-teal); box-shadow: 0 0 0 3px rgba(18,92,88,.1); }
.cl-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.cl-hint { font-size: 12px; color: var(--hk-muted); margin: 8px 0 0; }
.cl-hint--top { margin: 0 0 16px; }
.cl-change { font-size: 12.5px; color: var(--hk-muted); margin: 0 0 12px; }
.cl-decided-when { font-size: 11.5px; opacity: .85; margin-top: 3px; }
.cl-receipt-card .cl-h2 { margin-bottom: 4px; }
.cl-receipt-btn { display: block; width: 100%; padding: 0; border: none; background: transparent; cursor: zoom-in; }
.cl-receipt-img { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #f7f8f3; border: 1px solid var(--hk-line); border-radius: 8px; }
.cl-receipt-frame { display: block; width: 100%; height: 420px; border: 1px solid var(--hk-line); border-radius: 8px; background: #f7f8f3; }
.cl-receipt-open { margin-top: 10px; }
.cl-receipt-empty { min-height: 200px; border: 1px dashed #cbd8c6; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #7c9278; text-align: center; padding: 20px; margin-top: 14px; }
.cl-receipt-empty p { font-size: 12.5px; margin: 0; }

@media (max-width: 900px) {
  .cl-detail { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cl-stats { grid-template-columns: 1fr; }
}
