@import url("../assets/css/sysimple-grid-row-actions.css?v=20261024-outline-ink");
/* Compact document lists derived from the shared operational dashboard. */
.acc-document-toolbar { display:flex; align-items:center; gap:8px; padding:8px 10px; }
.acc-document-toolbar .acc-workspace-search { flex:1; min-width:160px; padding:0; border:0; background:transparent; }
.acc-document-toolbar .acc-workspace-search input { height:34px; }
.acc-document-grid { scrollbar-gutter:stable; }
.acc-document-grid table { min-width:880px; }
.acc-document-grid table th { padding:10px 12px; white-space:nowrap; font-size:11px; text-transform:none; letter-spacing:0; }
.acc-document-grid table td { padding:9px 12px; height:52px; font-size:13px; line-height:1.35; }
.acc-document-grid th:first-child { width:110px; }
.acc-document-grid th:nth-child(2) { min-width:180px; }
.acc-document-grid th:nth-child(3),.acc-document-grid th:nth-child(4) { width:110px; }
.acc-document-grid .acc-num { white-space:nowrap; font-variant-numeric:tabular-nums; }
.acc-document-grid .acc-document-number { font-weight:600; white-space:nowrap; color:var(--acc-brand); }
.acc-document-grid tbody tr:focus-visible { outline:2px solid var(--acc-brand); outline-offset:-2px; }
.acc-document-grid .acc-document-action-cell { width:120px; text-align:right; white-space:nowrap; }
.acc-document-actions { gap:4px; }
.acc-document-balance { font-weight:600; }
.acc-document-due { display:inline-flex; flex-direction:column; gap:2px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.acc-document-due small { color:var(--acc-muted); font-size:11px; }
.acc-document-due[data-due-state=overdue] small { color:var(--adm-danger,#dd4b39); font-weight:600; }
.acc-document-due[data-due-state=soon] small { color:var(--acc-warn); font-weight:600; }
.acc-document-status { display:inline-block; padding:3px 7px; border-radius:3px; font-size:12px; font-weight:600; white-space:nowrap; color:var(--acc-muted); background:var(--acc-surface-bg); }
.acc-document-status:is([data-document-status=paid],[data-document-status=accepted]) { color:var(--adm-success,#00894c); background:color-mix(in srgb,var(--adm-success,#00a65a) 10%,var(--acc-panel-bg)); }
.acc-document-status:is([data-document-status=posted],[data-document-status=validated]) { color:var(--acc-brand); background:color-mix(in srgb,var(--acc-brand) 9%,var(--acc-panel-bg)); }
.acc-document-grid .acc-grid-pager { position:sticky; left:0; font-weight:400; }
.acc-document-grid .acc-grid-pager>span { font-variant-numeric:tabular-nums; }
.acc-document-menu[popover] { text-align:left; position:fixed; inset:auto; margin:0; padding:6px; width:250px; max-width:calc(100vw - 16px); max-height:min(440px,75vh); overflow:auto; background:var(--acc-panel-bg,var(--adm-surface)); color:var(--acc-text,var(--adm-text)); border:1px solid var(--acc-stroke,var(--adm-border)); border-radius:3px; box-shadow:0 8px 24px #0002; }
.acc-document-menu>strong { display:block; padding:7px 9px; margin-bottom:4px; border-bottom:1px solid var(--acc-stroke,var(--adm-border)); font-size:12px; }
@layer sysimple-actions {
body[data-theme] .acc-document-menu button.acc-document-menu-item { display:flex!important; justify-content:flex-start!important; align-items:center; gap:10px!important; width:100%; min-height:36px; padding:8px 9px!important; border:0!important; border-radius:2px!important; background:transparent!important; color:var(--acc-text,var(--adm-text))!important; font:inherit; font-size:13px; text-align:left; cursor:pointer; }
.acc-document-menu-item i { width:16px; text-align:center; }
body[data-theme] .acc-document-menu button.acc-document-menu-item:is(:hover,:focus-visible) { background:var(--acc-surface-bg,var(--adm-surface-2))!important; outline:2px solid var(--acc-brand,var(--adm-primary)); outline-offset:-2px; }
.acc-document-menu-item[data-row-action=delete-test-invoice] { margin-top:4px; border-top:1px solid var(--acc-stroke)!important; }
body[data-theme] .acc-document-menu-item[data-row-action=delete-test-invoice] { color:var(--adm-danger,#dd4b39)!important; }
}
.acc-document-scroll-hint { display:none; }
@media(max-width:760px) {
 .acc-document-scroll-hint { display:block; position:sticky; left:0; width:100%; margin:0; padding:8px 12px; font-size:12px; color:var(--acc-muted); background:var(--acc-surface-bg); border-bottom:1px solid var(--acc-stroke); }
 .acc-document-toolbar { flex-wrap:wrap; }
 .acc-document-toolbar .acc-workspace-search { flex-basis:calc(100% - 110px); }
 .acc-document-grid table { min-width:850px; }
 .acc-document-grid table td { min-height:52px; }
 .acc-document-menu button.acc-document-menu-item { min-height:44px!important; }
}
