/* Scoped Finance workspace; RC EXT layout and actions retain their existing CSS. */
.athm-tabs{display:flex;gap:12px;border-bottom:1px solid #d8e5e8;margin-bottom:24px;padding-bottom:10px}.athm-tabs .active{color:#087d78;border-bottom:3px solid #087d78}.athm-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 20px}.athm-title h2,.athm-title h4{margin:0}.athm-title p,.athm-help{color:#607b83}.athm-filter{display:flex;gap:12px;margin:20px 0}.athm-filter input{flex:1}.athm-table{overflow:auto;background:white;border:1px solid #d8e5e8;border-radius:10px}.athm-table table{width:100%;min-width:1100px}.athm-table th,.athm-table td{padding:14px;text-align:left;border-bottom:1px solid #e5edf0;vertical-align:top}.athm-badge{display:inline-block;padding:4px 10px;border-radius:20px;background:#e4f3f0;color:#087d78}.athm-badge.quote{background:#fff2d7;color:#8c5c00}.athm-layout{display:grid;grid-template-columns:minmax(300px,32%) 1fr;gap:24px;align-items:start}.athm-card{padding:24px;border:1px solid #d8e5e8;border-radius:14px;background:white;margin-bottom:20px}.athm-card h3{margin:0 0 22px;font-size:22px}.athm-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.athm-grid .athm-wide{grid-column:1/-1}#finance-athm label{display:block;font-weight:600;color:#27444c}#finance-athm input:not([type=checkbox]),#finance-athm select,#finance-athm textarea{display:block;width:100%;min-width:0;border:1px solid #cfdee2;border-radius:8px;padding:12px;margin-top:8px;font:inherit;box-sizing:border-box}#finance-athm input[readonly]{background:#f0f6f6;color:#5d757b}#finance-athm small{font-weight:400;color:#658189;margin-left:6px}#finance-athm fieldset{border:0;padding:0;margin:0;min-width:0}.athm-item{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #dde7e9}.athm-amounts{display:grid;grid-template-columns:1.6fr .7fr 1fr 1fr 1fr;gap:12px;margin-top:18px}.athm-tax{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px;font-size:14px}.athm-matches{display:grid;gap:6px;max-height:280px;overflow:auto}.athm-matches button{text-align:left;white-space:normal}.athm-source{position:sticky;top:20px}#athm-preview img{width:100%;height:auto}#athm-preview iframe{width:100%;height:650px;border:0}.athm-toolbar{margin:14px 0}.athm-message{margin:12px 0}.athm-message.error{padding:12px;background:#fff0ee;color:#a63128}.athm-conversion{background:#fffcf0;border:1px solid #ecdca5;padding:18px;margin:20px 0;overflow:auto}.athm-conversion table{width:100%;font-size:14px}.athm-conversion td,.athm-conversion th{padding:8px;text-align:left;overflow-wrap:anywhere}#finance-athm [hidden],#finance-rc-ext[hidden],#finance-athm[hidden]{display:none!important}@media(max-width:1100px){.athm-layout{grid-template-columns:1fr}.athm-source{position:static}.athm-amounts{grid-template-columns:1fr 1fr}}@media(max-width:600px){.athm-grid{grid-template-columns:1fr}.athm-title,.athm-filter{flex-wrap:wrap}.athm-card{padding:16px}.athm-tabs{overflow:auto}}

/* Uploaded-file list stays immediately below the upload control. */
#athm-upload-list h4{margin:16px 0 8px;font-size:16px}.athm-file-list{padding:0;margin:0;list-style:none}.athm-file-list li{border:1px solid #d8e5e8;border-radius:8px;padding:12px;margin:8px 0;background:#f8fbfb}.athm-file-info{display:grid;gap:4px;overflow-wrap:anywhere}.athm-file-info span,.athm-file-info small{font-size:13px;color:#607b83}.athm-file-info small{margin:0!important}.athm-file-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.athm-file-actions .btn{padding:7px 10px;font-size:13px}.athm-file-editor{border-top:1px solid #d8e5e8;margin-top:12px;padding-top:12px}.athm-file-name{display:flex;align-items:center;gap:8px}.athm-file-name input{flex:1}.athm-file-name>span{font-weight:400;flex-shrink:0}.athm-file-error{color:#a63128}.athm-file-editor .athm-help{font-size:13px;font-weight:400}

.athm-date-control{position:relative;display:flex;align-items:center;gap:8px}.athm-date-control>input[data-date-input]{flex:1;min-width:0;font-variant-numeric:tabular-nums}.athm-date-control>.athm-date-button{flex-shrink:0;margin:0;padding:10px 14px;font-size:20px}.athm-date-control>.athm-date-picker{position:absolute;left:0;bottom:0;width:1px;height:1px;padding:0;opacity:0;pointer-events:none}.athm-date-field>.athm-date-format{font-weight:400;font-size:12px;color:#607b83;margin-top:4px}.athm-date-control>input[aria-invalid="true"]{border-color:#b62e25}

#finance-athm .athm-select-all{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer}
/* Register tools are scoped to AT HM; independent section filters and visible selection. */
#finance-athm .athm-filter{align-items:center;flex-wrap:wrap}#finance-athm .athm-filter input{flex:1 1 260px;width:auto;margin:0}#finance-athm .athm-filter select{flex:0 1 300px;width:auto;margin:0}.athm-register-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:20px 0;color:#607b83}.athm-register-section{border:1px solid #d8e5e8;border-radius:12px;background:white;margin:18px 0;overflow:hidden}.athm-register-section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;cursor:pointer;background:#f8fbfc;list-style:none;border-left:5px solid #9c6b10}.athm-register-section.ready>summary{border-left-color:#087d78;background:#eff8f6}.athm-register-section.history>summary{border-left-color:#70828a}.athm-register-section>summary:before{content:'▸';font-size:20px;color:#607b83}.athm-register-section[open]>summary:before{content:'▾'}.athm-register-section>summary>span:first-of-type{flex:1}.athm-register-section>summary strong{font-size:20px;display:block}.athm-register-section>summary small{display:block;margin:6px 0 0!important}.athm-section-count{white-space:nowrap;color:#607b83;font-size:14px}.athm-section-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;color:#607b83;font-size:13px}.athm-section-tools .btn{padding:7px 10px;font-size:13px}.athm-register-section .athm-table{border:0;border-top:1px solid #d8e5e8;border-radius:0}.athm-register-section .athm-table table{min-width:1700px;border-collapse:collapse;font-size:14px}.athm-register-section .athm-table th{background:#f8fbfc;vertical-align:middle;padding:12px 10px}.athm-register-section .athm-table td{padding:15px 10px}.athm-heading{display:flex;align-items:center;gap:5px}.athm-sort{font:inherit;font-weight:700;white-space:nowrap;border:0;background:transparent;color:#425663;cursor:pointer;padding:5px 0;text-align:left}.athm-sort span{color:#9baab4;font-size:12px}.athm-filter-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;color:#6a8490;border-radius:5px;padding:5px;cursor:pointer}.athm-filter-button.active{border-color:#087d78;background:#ddf2ed;color:#087d78}.athm-heading button:hover{color:#087d78}.athm-heading button:focus-visible,.athm-register-section summary:focus-visible{outline:2px solid #087d78;outline-offset:2px}.athm-batch-value{white-space:nowrap;font-weight:600;color:#32565d}.athm-column-filter{margin:0 18px 16px;padding:18px;max-width:680px;border:1px solid #bbd8d4;border-radius:10px;background:#f5fbfa}.athm-column-filter h4{margin:0 0 12px}.athm-filter-choices{display:flex;flex-wrap:wrap;gap:12px;max-height:220px;overflow:auto}#finance-athm .athm-filter-choices label{display:inline-flex;align-items:center;gap:8px;font-weight:400}.athm-batch-preview{max-height:220px;overflow:auto;margin:14px 0;border-top:1px solid #d8e5e8}.athm-batch-preview p{padding:10px 0;margin:0;border-bottom:1px solid #e5edf0;font-size:14px}#athm-batch-panel{border-color:#91c6be}#athm-batch-panel>label{max-width:430px}#finance-athm button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:650px){.athm-section-tools{flex-wrap:wrap}.athm-register-section>summary{padding:14px;gap:10px}.athm-register-section>summary strong{font-size:18px}}
