.card{border:1px solid var(--border-card);background:var(--surface);box-shadow:var(--sh-1);border-radius:12px;padding:16px 18px}@media (width>=768px){.card{border-radius:14px}}.chip{font-size:13px;font-weight:var(--weight-semibold);white-space:nowrap;border-radius:999px;padding:3px 8px;display:inline-block}.chip--draft{background:var(--chip-draft-bg);color:var(--chip-draft-text)}.chip--waiting{background:var(--chip-waiting-bg);color:var(--chip-waiting-text)}.chip--approved{background:var(--chip-to-issue-bg);color:var(--chip-to-issue-text)}.chip--issued{background:var(--chip-to-receive-bg);color:var(--chip-to-receive-text)}.chip--received{background:var(--chip-to-pay-bg);color:var(--chip-to-pay-text)}.chip--danger{background:var(--chip-overdue-bg);color:var(--chip-overdue-text)}.back-link{place-self:flex-start start;align-items:center;gap:var(--space-1);width:fit-content;max-width:100%;min-height:var(--touch-target);color:var(--text-brand);font-weight:var(--weight-semibold);text-decoration:none;display:inline-flex}.back-link svg{width:20px;height:20px;transform:rotate(180deg)}.page-header{gap:var(--space-1);margin-bottom:var(--space-4);display:grid}.page-header__row{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.page-header__heading{gap:var(--space-1);min-width:0;display:grid}.page-header__title{min-width:0;font-family:var(--font-display);font-size:24px;font-weight:var(--weight-semibold);letter-spacing:-.02em;margin:0}.page-header__meta{color:var(--text-muted);font-size:var(--text-sm)}.page-header__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.page-header__actions :is(button,a){white-space:nowrap;flex-shrink:0}@media (width>=768px){.page-header__title{flex:auto;font-size:22px}.page-header__heading{flex:auto}.page-header__row{flex-wrap:nowrap;align-items:flex-start}.page-header__actions{flex:0 auto;justify-content:flex-end;max-width:60%}}
