#acc-panel-automation>.content-card {margin-bottom:1.25rem}
.aut-intro {padding:1.5rem}.aut-intro h2 {margin:.2rem 0 .5rem}.aut-capture {padding:1.5rem}.aut-capture h3 {margin-top:0}
.aut-mode-heading {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.aut-mode-heading h3 {margin:0}.aut-mode-status {margin:0;padding:.45rem .8rem;border:1px solid;border-radius:2rem;font-size:.82rem;font-weight:700}.aut-mode-auto {color:#166347;background:#eaf7ef;border-color:#b8dbc7}.aut-mode-review {color:#77520e;background:#fff7e3;border-color:#e5d49c}.aut-mode-unknown {color:#52686d;background:#f2f5f5;border-color:#d8e3e7}#aut-settings-form {padding-top:.5rem;max-width:48rem}#aut-settings-form .field {margin-bottom:.8rem}#aut-mode-description {line-height:1.6}
.aut-detail {padding:1.5rem}.aut-detail pre {white-space:pre-wrap;overflow-wrap:anywhere;max-height:16rem;overflow:auto;background:#f6f9f8;border:1px solid var(--line,#d8e3e7);padding:1rem;border-radius:.6rem;font:inherit;font-size:.84rem;line-height:1.55}
.aut-candidate-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:1rem 0}.aut-candidate {padding:.85rem;border:1px solid #dce9e5;border-radius:.65rem;background:#f8fbfa;min-width:0}.aut-candidate span,.aut-candidate strong {display:block}.aut-candidate span {font-size:.78rem;color:#52686d}.aut-candidate strong {margin-top:.35rem;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#aut-review-form {margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line,#d8e3e7)}
.aut-pad {padding:1.5rem}.aut-pad>h3:first-child {margin-top:0}.aut-overview {display:grid;grid-template-columns:1fr 1.2fr;gap:1.25rem;margin-bottom:1.25rem}.aut-overview h3 {margin-top:0}.aut-overview .message {margin-bottom:0}.aut-check {border-bottom:1px solid var(--line,#d8e3e7);padding:.85rem 0}.aut-check:first-child {padding-top:0}.aut-check:last-child {border-bottom:0}.aut-check p {margin:.4rem 0 0;color:var(--muted,#52686d);font-size:.88rem;line-height:1.5}.aut-scenarios {display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin:1rem 0}.aut-existing {margin-top:1.2rem}.aut-existing summary,#aut-detail summary,#aut-forecast summary {cursor:pointer;font-weight:600;line-height:1.6}.aut-existing form {margin-top:1rem}#aut-jobs:not(:empty) {margin-top:1.5rem}#aut-fingerprint {overflow-wrap:anywhere}#aut-purchase-form {margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--line,#d8e3e7)}.aut-item {display:grid;grid-template-columns:minmax(12rem,2fr) repeat(4,minmax(6rem,1fr)) auto;gap:.6rem;align-items:end;margin-bottom:.75rem;padding:.8rem;background:#f8fbfa;border:1px solid var(--line,#d8e3e7);border-radius:.6rem}.aut-item .field {min-width:0;margin:0}.aut-item input,.aut-item select {width:100%;min-width:0}.aut-item label>span {display:block;font-size:.76rem;font-weight:600;margin-bottom:.4rem}.aut-item button {align-self:center}.aut-extra-taxes {margin-top:1rem}.aut-confirm-source {padding:1.1rem;margin-top:1.25rem;background:#f0f7f4;border:1px solid #d6e7df;border-radius:.7rem}.aut-confirm-source h4 {margin-top:0}.aut-confirm-source p {font-size:.9rem;line-height:1.5}.aut-rule-consent {margin:1.25rem 0}.aut-rule-consent .field-hint {margin-left:1.7rem}.aut-preview {padding:1.2rem;margin:1.5rem 0;border:1px solid #b9d6c9;border-radius:.7rem;background:#f8fbfa}.aut-preview h3 {margin-top:0}#aut-decision-editor {margin-top:1.5rem}#aut-policy-cancel {margin-left:.5rem}#aut-policy-description {overflow-wrap:anywhere}
@media(max-width:1150px){.aut-item {grid-template-columns:repeat(4,minmax(0,1fr))}.aut-item-description {grid-column:1/-1}.aut-item button {grid-column:1/-1;justify-self:start}.aut-overview {grid-template-columns:1fr}}
@media(max-width:600px){.aut-item {grid-template-columns:repeat(2,minmax(0,1fr))}.aut-scenarios {grid-template-columns:1fr}.aut-detail,.aut-pad,.aut-intro {padding:1rem}.aut-detail>.card-heading {display:block;padding:0}.aut-detail>.card-heading>button {margin:.5rem 0}.aut-confirm-source {padding:.85rem}.aut-rule-consent .field-hint {margin-left:0}}
@media(max-width:780px){.aut-candidate-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.aut-candidate-grid {grid-template-columns:1fr}}

#aut-reading {margin-bottom:1rem}#aut-reading h4 {margin:.5rem 0}.aut-ocr-page {margin:.75rem 0;padding:.75rem;border:1px solid var(--line,#d8e3e7);border-radius:.6rem}#aut-evidence {margin-top:.75rem;overflow-x:auto}#aut-evidence td:last-child {white-space:normal;overflow-wrap:anywhere;min-width:14rem}

/* Daily document work: intake and exceptions precede infrequent configuration. */
.aut-inbox-heading,.aut-batch-heading {display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.aut-inbox-heading p {margin:.4rem 0}.aut-intro .aut-mode-status {white-space:nowrap}.aut-intro .eyebrow {font-size:.7rem}
.aut-upload-card {padding:1.25rem}.aut-dropzone {border:1.5px dashed #93b9b4;border-radius:.85rem;background:#f5faf9;text-align:center;padding:1.4rem}.aut-dropzone h3 {margin:0 0 .3rem;font-size:1.2rem}.aut-dropzone p {margin:.45rem 0 .9rem}.aut-dropzone .field-hint {font-size:.77rem;margin:.85rem 0 0;line-height:1.5}
.aut-file-label {position:relative;overflow:hidden;cursor:pointer}.aut-file-label input {position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.aut-file-label:focus-within {outline:3px solid #8dc0b7;outline-offset:3px}
.aut-batch-heading {align-items:center;margin-top:1rem}.aut-batch-heading h4 {margin:.4rem 0}.aut-batch-list {max-height:14rem;overflow:auto}.aut-batch-list td:last-child {white-space:normal;max-width:35rem;font-size:.8rem}.aut-batch-actions {display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;margin-top:1rem}.aut-batch-actions p {font-size:.85rem}#aut-reader-fields {margin-top:1rem}
.aut-processing {padding:1rem 1.5rem;margin-bottom:1.25rem}.aut-processing summary,.aut-controls>summary {font-weight:650;cursor:pointer;color:var(--ink,#14303b)}.aut-processing #aut-jobs {max-height:20rem;overflow:auto}.aut-processing td {white-space:normal}.aut-controls {padding:1.25rem;margin-top:1.25rem}.aut-controls[open]>summary {margin-bottom:1.5rem}.aut-controls .content-card {box-shadow:none}
.aut-inbox .card-heading {padding-bottom:.75rem}.aut-list-tools {padding:0 1.5rem 1rem;display:flex;gap:1rem;justify-content:space-between;flex-wrap:wrap}.aut-filters {display:flex;gap:.4rem;flex-wrap:wrap}.aut-filters button {border:1px solid #d8e3e7;background:#fff;border-radius:2rem;padding:.6rem .85rem;color:#51666e;font-size:.8rem;cursor:pointer}.aut-filters button[aria-pressed=true] {background:#15343e;color:#fff;border-color:#15343e}.aut-search {display:flex;gap:.45rem;flex:1;min-width:16rem;max-width:27rem}.aut-search input {width:100%;min-width:0}.aut-pagination {display:flex;align-items:center;justify-content:flex-end;padding:1rem 1.5rem;gap:1rem}.aut-pagination span {font-size:.8rem;color:#52686d}.aut-pagination button {font-size:.78rem}.aut-file-cell {display:grid;gap:.3rem;max-width:24rem;white-space:normal;overflow-wrap:anywhere}.aut-file-cell span {font-size:.78rem;color:#52686d}.aut-status {display:inline-block;padding:.3rem .55rem;border-radius:.4rem;font-size:.76rem;white-space:normal;max-width:12rem;line-height:1.4}.aut-status-review {background:#fff5dc;color:#835c12}.aut-status-posted {background:#e8f5ee;color:#276247}.aut-status-dismissed {background:#edf1f2;color:#52686d}
.aut-review-navigation {display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 1rem}.aut-detail>.card-heading {padding:0 0 1rem}.aut-detail {scroll-margin-top:1rem}.aut-review-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:1.25rem}.aut-source {min-width:0;background:#edf1f3;border-radius:.75rem;padding:.75rem;align-self:start;position:sticky;top:1rem}.aut-source h4 {margin:.25rem 0 .75rem}.aut-source-view {min-height:28rem;max-height:76vh;overflow:auto}.aut-source-view img {display:block;width:100%;height:auto}.aut-review-data {min-width:0;max-height:82vh;overflow:auto;padding:0 .5rem .5rem}.aut-review-data .aut-candidate-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.aut-review-data .aut-item {grid-template-columns:repeat(2,minmax(0,1fr))}.aut-review-data .aut-item-description {grid-column:1/-1}.aut-review-data .aut-item button {grid-column:1/-1;justify-self:start}.aut-review-data .field-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.aut-review-data .aut-item input {min-width:0}.aut-review-data .aut-candidate {padding:.6rem;font-size:.83rem}.aut-review-data #aut-purchase-form {margin-top:1rem}#aut-approve-next,#aut-review-next {margin-top:.6rem;margin-left:.4rem}
@media(max-width:1100px){.aut-review-grid {grid-template-columns:1fr}.aut-source {position:static}.aut-source-view {min-height:20rem;height:55vh;max-height:55vh}.aut-review-data {max-height:none;overflow:visible}.aut-review-data .aut-item {grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.aut-inbox-heading {display:block}.aut-intro .aut-mode-status {display:inline-block;margin-top:.5rem}.aut-list-tools {padding:0 1rem 1rem}.aut-pagination {padding:.75rem;gap:.5rem;justify-content:space-between}.aut-pagination button {padding:.55rem}.aut-review-data .aut-item,.aut-review-data .field-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.aut-detail {padding:.85rem}.aut-dropzone {padding:1rem}.aut-batch-actions {display:grid}.aut-file-cell {max-width:13rem}.aut-filters button {font-size:.74rem}.aut-search {max-width:none}}

#accounting-view[data-inbox="true"] .acc-tabs,#accounting-view[data-inbox="true"] .acc-stage-note {display:none}
.aut-source-toolbar {display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin-bottom:.65rem;font-size:.75rem}.aut-source-toolbar .button {padding:.45rem .6rem;font-size:.75rem}.aut-source-toolbar label {display:flex;align-items:center;gap:.3rem;margin-left:auto}.aut-source-toolbar select {padding:.35rem;font-size:.75rem}.aut-source-toolbar .text-button {font-size:.75rem}#aut-source-page {font-variant-numeric:tabular-nums}.aut-source-view img {max-width:none}.aut-source-150 img {width:150%}.aut-source-200 img {width:200%}
#accounting-view[data-inbox="true"] .page-header {margin-bottom:10px;align-items:center}#accounting-view[data-inbox="true"] #acc-page-eyebrow {display:none}#accounting-view[data-inbox="true"] #accounting-title {font-size:28px;margin:0 0 .35rem}#accounting-view[data-inbox="true"] #acc-role {margin:.5rem 0 .8rem}#accounting-view[data-inbox="true"] .aut-intro {padding:.7rem 1rem}#accounting-view[data-inbox="true"] .aut-intro .eyebrow,#accounting-view[data-inbox="true"] .aut-intro h2,#accounting-view[data-inbox="true"] #aut-company {display:none}#accounting-view[data-inbox="true"] .aut-inbox-heading {align-items:center}.aut-upload-card .aut-dropzone {display:grid;grid-template-columns:1fr auto;column-gap:1rem;align-items:center;text-align:left;padding:1rem}.aut-dropzone h3 {grid-column:1;grid-row:1}.aut-dropzone>p:not(.field-hint) {grid-column:1;grid-row:2;margin:.25rem 0}.aut-dropzone .aut-file-label {grid-column:2;grid-row:1/3}.aut-dropzone .field-hint {grid-column:1/-1}
@media(max-width:650px){.aut-upload-card .aut-dropzone {display:block;text-align:center}.aut-dropzone .aut-file-label {margin:.7rem 0}.aut-inbox-heading {display:block}}

/* A visible result and a short review lead to the explicit ledger action. */
.aut-mode-banner {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;border-top:1px solid #d8e3e7;padding-top:.65rem;margin-top:.4rem}.aut-mode-banner p {flex:1;min-width:15rem;margin:.25rem 0;font-size:.85rem;line-height:1.5}.aut-mode-banner .button {font-size:.8rem}
.aut-next-action {background:#fff7e5;border:1px solid #ead4a1;border-radius:.7rem;padding:.8rem 1rem;margin-bottom:1rem}.aut-next-action h4 {margin:0 0 .5rem}.aut-next-action ul {padding-left:1.2rem;margin:.5rem 0;font-size:.86rem;line-height:1.6}.aut-next-action p {margin:.5rem 0 0}.aut-diagnostics {margin-bottom:.8rem;color:#52686d;font-size:.85rem}.aut-amount-choice {padding:1rem;background:#edf6fa;border:1px solid #bfd9e3;border-radius:.7rem;margin:1rem 0}.aut-amount-choice h4 {margin:0 0 .6rem}.aut-amount-choice p {font-size:.85rem;line-height:1.5}.aut-advanced,#aut-line-editor {padding:.8rem 0;border-bottom:1px solid #d8e3e7}.aut-advanced[open]>.field-grid,#aut-line-editor[open]>#aut-items {margin-top:1rem}.aut-primary-action {display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;padding:1rem 0 .5rem;position:sticky;bottom:0;background:#fff}.aut-primary-action span {font-size:.78rem;color:#52686d}.aut-review-data #aut-purchase-form {margin-top:.8rem;padding-top:.6rem}.aut-review-data .aut-confirm-source {padding:.8rem;margin-top:.9rem}.aut-review-data .aut-confirm-source p {margin-bottom:0}.aut-review-data #aut-posted:not(:empty) {margin-bottom:1rem}
.aut-item-quantity,.aut-item-unit_price {align-self:start}
