/* NID-1413: the Expenses app — everything else comes from pos_shell.css. The
   radio chips and the bill-photo box light up off :checked / :valid, no JS. */
.xc-stack { display: flex; flex-direction: column; gap: 7px; }
.xc-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.xc-choice input { position: absolute; opacity: 0; pointer-events: none; }
.xc-choice:has(input:checked).pos-chip { border-color: var(--acc); background: var(--accsoft); color: var(--acc); }
.xc-choice:has(input:checked).pos-seg__opt { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.xc-choice:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }
.xc-seg .pos-seg__opt { text-align: center; }
.xc-proof {
  cursor: pointer; border: 1.5px dashed var(--acc); background: var(--accsoft); border-radius: 16px;
  min-height: 130px; padding: 14px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; color: var(--acc); font: 700 13px var(--font); text-align: center;
}
.xc-proof small { font: 500 11px var(--font); color: var(--sub); }
.xc-proof input { width: 100%; max-width: 240px; font: 500 11px var(--font); color: var(--sub); }
.xc-proof img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.xc-proof--error { border-color: var(--warn); }
.xc-errors { border: 1px solid var(--warn); color: var(--warn); border-radius: 12px; padding: 11px 13px; font: 600 12.5px/1.4 var(--font); }
.xc-errors ul { margin: 4px 0 0; padding-left: 18px; }
.xc-notice { border-radius: 12px; padding: 11px 13px; background: var(--accsoft); color: var(--acc); font: 700 12.5px var(--font); }
.xc-day { font: 800 12px var(--font); color: var(--sub); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.xc-thumb { width: 44px; height: 56px; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; flex: none; }
.xc-save { width: 100%; box-sizing: border-box; padding: 15px; border-radius: 14px; font: 800 14px/1 var(--font); border: 0; cursor: pointer; }
/* NID-1415: approval — status pill, claim detail, trail and the approve list. */
.xc-pill--ok { background: var(--surfacealt); color: var(--ok); }
.xc-bill img { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); background: var(--surfacealt); }
.xc-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font: 600 13px var(--font); }
.xc-facts dt { color: var(--sub); font-weight: 500; }
.xc-facts dd { margin: 0; color: var(--text); }
.xc-trail { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 10px; font: 500 12.5px/1.4 var(--font); color: var(--sub); }
.xc-trail--ok { color: var(--ok); }
.xc-trail--warn { color: var(--warn); }
.xc-line { display: flex; flex-direction: column; gap: 6px; }
.xc-actions { display: flex; gap: 8px; align-items: flex-start; }
.xc-actions form:first-child { flex: none; }
.xc-actions .pos-btn-secondary, .xc-sendback summary { padding: 9px 14px; border-radius: 12px; font: 700 12.5px var(--font); cursor: pointer; }
.xc-sendback { flex: 1; }
.xc-sendback summary { list-style: none; text-align: center; }
.xc-sendback summary::-webkit-details-marker { display: none; }
.xc-sendback[open] form { margin-top: 8px; }
/* NID-1416: the owed stats are links to the owed list. */
a.pos-stat { text-decoration: none; color: inherit; }
