/* crew/css/v3-expenses.css — crew app v3 stream S6: expenses (list, capture
   flow, detail) and the feedback / BDN cards of the request detail. Tokens from
   crew/css/app.css only (dark mode follows them); motion ≤ 220 ms and the global
   prefers-reduced-motion rule of app.css switches it off. */

/* list */
.exp-group .head { gap: 10px; }
.exp-group .head .exp-total { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-2); white-space: nowrap; }
.exp-row .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.exp-row .right .amt { font-variant-numeric: tabular-nums; }

/* detail */
.exp-hero { display: flex; flex-direction: column; gap: 8px; }
.exp-hero .chips { gap: 6px; justify-content: flex-end; }
.exp-big { font-size: 34px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.exp-big small { font-size: 16px; font-weight: 600; color: var(--text-2); }

/* capture flow */
.exp-q { font-size: 20px; font-weight: 600; letter-spacing: -.005em; margin: 6px 0 0; }
.exp-camera {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 180px; padding: 20px;
  border: 2px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); color: var(--text); text-align: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.exp-camera:active { background: var(--surface-2); border-color: var(--gold); }
.exp-camera .t { font-weight: 600; font-size: 17px; }
.exp-camera .s { font-size: 14px; color: var(--text-2); }
.exp-shot { border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); max-height: 46vh; display: flex; justify-content: center; }
.exp-shot img { display: block; max-width: 100%; max-height: 46vh; object-fit: contain; }

.exp-amount { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.exp-amount:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.exp-amount-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 4px 0; }
.exp-amount-input:focus { outline: none; }
.exp-amount-input::placeholder { color: var(--text-3); }
.exp-amount .exp-cur { width: auto; min-width: 96px; flex: none; font-weight: 600; }
.exp-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.exp-keypad button {
  min-height: 56px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font-size: 24px; font-weight: 600; display: grid; place-items: center; transition: background var(--dur-fast), transform var(--dur-fast);
}
.exp-keypad button:active { background: var(--surface-2); transform: scale(.97); }
.exp-chips.exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.exp-chips.exp-grid .chip { justify-content: flex-start; min-height: 44px; }
@media (min-width: 560px) { .exp-chips.exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.exp-chips .chip { min-height: 44px; }
.exp-sum { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); }
.exp-sum img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--r-sm); flex: none; }
.exp-sendtotal { padding-left: 0; padding-right: 0; }

/* feedback / BDN (request detail) */
.fb-card { display: flex; flex-direction: column; gap: 8px; }
.fb-stars { display: flex; gap: 4px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fb-stars.ro { gap: 2px; }
.fb-star { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; color: var(--text-3); cursor: pointer; border-radius: var(--r-sm); transition: color var(--dur-fast), transform var(--dur-fast); }
.fb-stars.ro .fb-star { min-width: 22px; min-height: 22px; cursor: default; }
.fb-star svg.ico { width: 30px; height: 30px; }
.fb-stars.ro .fb-star svg.ico { width: 18px; height: 18px; }
.fb-star.on { color: var(--gold); }
.fb-star.on svg.ico { fill: currentColor; }
.fb-star:active { transform: scale(.94); }
.fb-star input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.fb-hint { min-height: 1.3em; margin: 0; }
.fb-thanks { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 4px 0 0; color: var(--ok); }
.fb-comment { white-space: pre-wrap; margin: 4px 0 0; }
.fb-photo { gap: 10px; }
