.documents,.documents *,.documents *:before,.documents *:after{box-sizing:border-box}.documents{display:grid;gap:1rem;max-width:64rem}.documents p{margin:0}.documents-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1.5rem}.documents-count{padding:.25rem .75rem;background:var(--surface-muted);border:1px solid var(--rule);border-radius:999px;font-variant-numeric:tabular-nums}.documents-status:empty{display:none}.documents-error{color:#b00020}.documents-list:focus-visible,.documents :focus-visible{outline:3px solid var(--accent);outline-offset:2px}.documents-list:focus:not(:focus-visible){outline:none}.documents-list ul{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}.documents-empty{display:grid;gap:.5rem;padding:1.5rem 1rem;text-align:center;border:1px dashed var(--rule);border-radius:6px}.documents-empty a{color:var(--accent)}.doc-row{display:grid;gap:.75rem;min-width:0;padding:.75rem;border:1px solid var(--rule);border-radius:6px}.doc-row-main{display:grid;gap:.25rem;min-width:0}.doc-row-title,.doc-row-client{overflow-wrap:anywhere}.doc-row-source{font-size:.875rem;color:var(--ink-muted)}.doc-type{display:inline-block;padding:0 .4rem;font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;border-radius:4px}.doc-type-invoice{color:#0b3d75;background:#dbe8f8}.doc-type-quote{color:#5a3300;background:#f8e7cc}.doc-row-meta{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;margin:0}.doc-row-meta div{display:flex;gap:.375rem}.doc-row-meta dt{color:var(--ink-muted)}.doc-row-meta dd{margin:0;font-variant-numeric:tabular-nums}.doc-row-total{font-weight:600}.doc-row-actions{display:flex;flex-wrap:wrap;gap:.5rem}.doc-row-actions button{flex:1 1 auto;min-height:2.75rem;padding:.5rem 1rem;font:inherit;color:var(--ink);background:#fff;border:1px solid #6b6b6b;border-radius:6px;cursor:pointer}.doc-row-actions button:hover{background:var(--surface-muted)}.doc-row-actions .doc-row-lock{flex:1 1 auto;justify-content:center;min-height:2.75rem;padding:0 .5rem}.doc-row-actions .doc-row-delete{color:#b00020;border-color:#b00020}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media(min-width:40rem){.doc-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.doc-row-actions button{flex:0 0 auto}}
