/* Dashboard workspace: visual language follows the supplied reference while retaining the existing logo and routes. */
.app-shell__frame { max-width: none; padding: 0; }
.app-command-bar { min-height: 74px; margin: 0; padding: 10px 28px 10px 18px; border: 0; border-bottom: 1px solid #e2e9e6; border-radius: 0; box-shadow: none; }
.app-layout { width: 100%; }
.app-sidebar-cell { width: 238px !important; min-width: 238px; padding-right: 0; border-right: 1px solid #e2e9e6; background: #fff; }
.app-sidebar { min-height: calc(100vh - 74px); border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.app-sidebar__brand { display: flex; align-items: center; min-height: 74px; padding: 14px 28px; border-bottom: 1px solid #e2e9e6; }
.app-sidebar__brand img { width: 160px; }
.app-sidebar__body { padding: 18px 16px; background: #fff; }
.app-content-cell { padding: 0 !important; background: #f8faf9; }
.app-content-wrap { background: #f8faf9; }
.app-main { min-height: calc(100vh - 74px); padding: 18px 20px 28px; }
.app-footer { display: none; }
.app-command-bar__search { max-width: 560px; }
.app-command-bar__search input { border-radius: 8px; border-color: #d6e1dc; background: #fbfcfc; }
.standard-search-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; padding: 12px 10px 8px; }
.standard-search-fields > div { display: grid; grid-template-columns: minmax(125px, .9fr) minmax(0, 1.45fr); align-items: center; gap: 10px; }
.standard-search-fields label { color: #263e34; font-size: 11px; font-weight: 700; text-align: right; }
.standard-search-fields input, .standard-search-fields select { box-sizing: border-box; width: 100% !important; min-height: 32px !important; padding: 5px 8px !important; border: 1px solid #d3e0da; border-radius: 6px; background: #fff; color: #30443c; font: inherit; }
.standard-search-fields input:focus, .standard-search-fields select:focus { border-color: #0b945c; outline: 2px solid #cbe8da; }
.standard-search-actions { display: flex; align-items: center; gap: 12px; padding: 4px 10px 12px; color: #657a71; font-size: 11px; }
.standard-search-actions button { min-height: 34px !important; padding: 7px 17px; border: 1px solid #087b4c; border-radius: 6px; color: #fff; background: #087b4c; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
#invoice-search-form .search-panel__table, .standard-search-form .search-panel__table { width: 100%; border-spacing: 0; }
#invoice-search-form .search-panel__table tbody tr, .standard-search-form .search-panel__table tbody tr { display: grid; grid-template-columns: minmax(125px, .9fr) minmax(0, 1.45fr) minmax(125px, .9fr) minmax(0, 1.45fr); align-items: center; gap: 10px; padding: 5px 10px; }
#invoice-search-form .search-panel__table td, .standard-search-form .search-panel__table td { padding: 0; }
#invoice-search-form .search-panel__table .search-panel__label, .standard-search-form .search-panel__table .search-panel__label { width: auto; white-space: normal; text-align: right; }
#invoice-search-form .search-panel__table input:not([type="hidden"]), #invoice-search-form .search-panel__table select, .standard-search-form .search-panel__table input:not([type="hidden"]), .standard-search-form .search-panel__table select { box-sizing: border-box; width: 100% !important; min-height: 32px !important; padding: 5px 8px !important; border: 1px solid #d3e0da; border-radius: 6px; background: #fff; color: #30443c; font: inherit; }
#invoice-search-form .search-panel__table tr:has(td[colspan]), .standard-search-form .search-panel__table tr:has(td[colspan]) { display: flex; gap: 12px; padding-top: 9px; }
#invoice-search-form .search-panel__table tbody { display: grid; grid-template-columns: minmax(125px, .9fr) minmax(0, 1.45fr) minmax(125px, .9fr) minmax(0, 1.45fr); align-items: center; gap: 10px; padding: 5px 10px; }
#invoice-search-form .search-panel__table tbody tr { display: contents; }
#invoice-search-form .search-panel__table tbody tr td[colspan] { grid-column: 1 / -1; }
#voucher-search-form .search-panel__table { width: 100%; border-spacing: 0; }
#voucher-search-form .search-panel__table tbody tr { display: grid; grid-template-columns: minmax(125px, .9fr) minmax(0, 1.45fr) minmax(125px, .9fr) minmax(0, 1.45fr); align-items: center; gap: 10px; padding: 5px 10px; }
#voucher-search-form .search-panel__table th, #voucher-search-form .search-panel__table td { padding: 0; }
#voucher-search-form .search-panel__table th { color: #263e34; font-size: 11px; font-weight: 700; text-align: right; }
#voucher-search-form .search-panel__table input:not([type="hidden"]) { box-sizing: border-box; width: 100% !important; min-height: 32px !important; padding: 5px 8px !important; border: 1px solid #d3e0da; border-radius: 6px; background: #fff; color: #30443c; font: inherit; }
#voucher-search-form .search-panel__table tr:has(td[colspan]) { display: flex; gap: 12px; padding-top: 9px; }
#voucher-search-form .search-panel__table tbody { display: table-row-group; }
#voucher-search-form .search-panel__table tbody tr { display: table-row; }
#voucher-search-form .search-panel__table { border-collapse: separate; border-spacing: 0 6px; }
#voucher-search-form .search-panel__table tbody td { display: table-cell; padding-top: 0; padding-bottom: 0; }
form[name="bs_search"] .search-panel__table { width: 100%; border-spacing: 0; }
form[name="bs_search"] .search-panel__table tr { display: grid; grid-template-columns: minmax(125px, .9fr) minmax(0, 1.45fr) minmax(125px, .9fr) minmax(0, 1.45fr); align-items: center; gap: 10px; padding: 5px 10px; }
form[name="bs_search"] .search-panel__table td { padding: 0; }
form[name="bs_search"] .search-panel__table .search-panel__label { width: auto; white-space: normal; text-align: right; }
form[name="bs_search"] .search-panel__table input:not([type="hidden"]), form[name="bs_search"] .search-panel__table select { box-sizing: border-box; width: 100% !important; min-height: 32px !important; padding: 5px 8px !important; border: 1px solid #d3e0da; border-radius: 6px; background: #fff; color: #30443c; font: inherit; }
form[name="bs_search"] .search-panel__table tr:has(td[colspan]) { display: flex; gap: 12px; padding-top: 9px; }
.customer-search__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; padding: 12px 10px 8px; }
.customer-search__fields > div { display: grid; grid-template-columns: minmax(125px, .9fr) minmax(0, 1.45fr); align-items: center; gap: 10px; }
.customer-search__fields label { color: #263e34; font-size: 11px; font-weight: 700; text-align: right; }
.customer-search__fields input, .customer-search__fields select { box-sizing: border-box; width: 100%; min-height: 32px; padding: 5px 8px; border: 1px solid #d3e0da; border-radius: 6px; background: #fff; color: #30443c; font: inherit; }
.customer-search__fields input:focus, .customer-search__fields select:focus { border-color: #0b945c; outline: 2px solid #cbe8da; }
.customer-search #customer-search-form > button { margin: 4px 10px 12px; min-height: 34px; padding: 7px 17px; border: 1px solid #087b4c; border-radius: 6px; color: #fff; background: #087b4c; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.app-command-bar__search button { display: none; }
.transaction-information-dialog { width: min(760px, calc(100vw - 32px)); max-width: 760px; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 10px; box-shadow: 0 18px 55px rgba(15, 43, 31, .28); overflow: hidden; }
.transaction-information-dialog::backdrop { background: rgba(18, 35, 28, .48); }
.transaction-information-dialog iframe { display: block; width: 100%; height: min(680px, calc(100vh - 96px)); border: 0; background: #fff; }
.transaction-information-dialog__close { position: absolute; right: 14px; top: 12px; z-index: 2; min-height: 30px; padding: 5px 12px; border: 1px solid #d4e1db; border-radius: 6px; color: #233a31; background: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.bank-statement-dialog { width: min(720px, calc(100vw - 32px)); max-width: 720px; height: min(620px, calc(100vh - 32px)); padding: 52px 16px 16px; border: 0; border-radius: 10px; background: #f7fbf9; box-shadow: 0 18px 55px rgba(15, 43, 31, .28); }
.bank-statement-dialog::backdrop { background: rgba(18, 35, 28, .48); }
.bank-statement-dialog iframe { display: block; width: 100%; height: 100%; border: 1px solid #d5e2dc; border-radius: 6px; background: #fff; }
.bank-statement-dialog > button { position: absolute; right: 16px; top: 12px; min-height: 30px; padding: 5px 12px; border: 1px solid #d4e1db; border-radius: 6px; color: #233a31; background: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.transaction-information-dialog__close:hover { color: #fff; border-color: #087b4c; background: #087b4c; }
.audit-records-dialog { width: min(94vw, 980px); max-width: 980px; height: min(82vh, 620px); padding: 52px 16px 16px; border: 0; border-radius: 14px; color: #17352b; background: #f7fbf9; box-shadow: 0 24px 70px rgba(12, 35, 27, .28); }
.audit-records-dialog::backdrop { background: rgba(16, 31, 25, .62); }
.audit-records-dialog iframe { display: block; width: 100%; height: 100%; border: 1px solid #d5e2dc; border-radius: 10px; background: #fff; }
.otp-dialog-modal { width: min(94vw, 720px); max-width: 720px; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 70px rgba(12, 35, 27, .28); }
.otp-dialog-modal::backdrop { background: rgba(16, 31, 25, .62); }
.otp-dialog-modal iframe { display: block; width: 100%; height: min(600px, calc(100vh - 64px)); border: 0; background: #f7fbf9; }
.test-results-dialog-modal { width: min(96vw, 980px); max-width: 980px; height: min(86vh, 760px); padding: 0; border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 70px rgba(12, 35, 27, .28); }
.test-results-dialog-modal::backdrop { background: rgba(16, 31, 25, .62); }
.test-results-dialog-modal iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.app-command-bar__notification-icon::after { display: none; }
.dashboard { max-width: 1440px; margin: 0 auto; }
.dashboard__topline { display: flex; align-items: end; justify-content: space-between; margin: 0 2px 16px; }
.dashboard__eyebrow { margin: 0 0 2px; color: #0b945c; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dashboard__topline h1 { margin: 0; color: #172b25; font-size: 25px; letter-spacing: -.03em; }
.dashboard__date { color: #667a73; font-size: 12px; }
.dashboard__date span { padding: 0 6px; color: #0b945c; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 12px; margin-bottom: 12px; }
.metric-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 94px; padding: 14px 14px 28px; border: 1px solid #e1e9e5; border-radius: 9px; background: #fff; box-shadow: 0 3px 10px rgba(23,53,43,.04); text-align: left; }
.metric-card__icon { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #087c4d; background: #eef8f3; font-size: 24px; font-weight: 700; }
.metric-card__icon--refresh { font-size: 28px; }.metric-card__icon--money { font-family: Georgia,serif; font-size: 22px; }
.metric-card div { display: grid; gap: 3px; min-width: 0; }.metric-card strong { color: #172b25; font-size: 24px; line-height: 1; }.metric-card div span { color: #243b32; font-size: 12px; }.metric-card em { position: absolute; left: 65px; bottom: 10px; color: #6e817a; font-size: 11px; font-style: normal; }.trend { margin-left: 4px; font-size: 10px; }.trend--up { color: #0b945c; }.trend--down { color: #da3b35; }
.dashboard-panel { border: 1px solid #e1e9e5; border-radius: 9px; background: #fff; box-shadow: 0 3px 10px rgba(23,53,43,.04); }.dashboard-search { padding: 16px; }.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }.panel-heading h2 { margin: 0; color: #172b25; font-size: 16px; }.panel-heading p { margin: 4px 0 0; color: #6c7e77; font-size: 12px; }.link-button { border: 0; background: transparent; color: #223a31; font-size: 12px; font-weight: 700; cursor: pointer; }.transaction-form { display: grid; gap: 14px; }.form-field { display: grid; gap: 6px; color: #233a31; font-size: 11px; font-weight: 700; }.form-field input,.form-field select { box-sizing: border-box; width: 100%; height: 34px; padding: 6px 10px; border: 1px solid #d3e0da; border-radius: 6px; background: #fff; color: #30443c; font: inherit; font-weight: 500; }.form-field input:focus,.form-field select:focus { border-color: #0b945c; outline: 2px solid #cbe8da; }.transaction-form__row { display: grid; grid-template-columns: 1.15fr 1.35fr 1.1fr 1fr; gap: 16px; }.advanced-filters { padding: 10px 12px 12px; border: 1px solid #d8e6df; border-radius: 7px; background: #fbfdfc; }.advanced-filters summary { color: #2a4037; font-size: 12px; cursor: pointer; }.advanced-filters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 18px; margin-top: 12px; }.transaction-form__actions { display: flex; gap: 10px; }.button { min-height: 34px; padding: 7px 16px; border: 1px solid #d4e1db; border-radius: 6px; background: #fff; color: #233a31; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }.button--primary { border-color: #087b4c; background: #087b4c; color: #fff; }.button:hover { filter: brightness(.97); }
.dashboard-lower { display: grid; grid-template-columns: minmax(290px, .8fr) minmax(0, 2fr); gap: 12px; margin-top: 12px; }.recent-searches,.recent-results { padding: 14px 16px; }.recent-searches ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }.recent-searches li { display: grid; grid-template-columns: 18px 1fr auto; gap: 6px; align-items: center; min-height: 39px; border-bottom: 1px solid #eef2f0; font-size: 11px; }.recent-searches li span { color: #688078; }.recent-searches li strong { color: #27483b; }.recent-searches li small { grid-column: 2; color: #6d8079; }.recent-searches li b { grid-column: 3; grid-row: 1 / span 2; padding: 4px 7px; border-radius: 4px; color: #14754f; background: #e2f3e9; font-size: 9px; }.recent-searches li .badge--pending { color: #b67908; background: #fff0cc; }.recent-searches li .badge--quote { color: #316394; background: #e7f0fa; }.view-all { display: block; margin-top: 13px; color: #087b4c; font-size: 11px; font-weight: 800; text-align: center; }.table-actions { display: flex; gap: 6px; }.table-actions .button { min-height: 30px; padding: 5px 9px; font-size: 10px; }.icon-button { min-width: 30px; border: 1px solid #d4e1db; border-radius: 6px; background: #fff; cursor: pointer; }.result-count { margin-left: 5px; padding: 4px 7px; border-radius: 5px; color: #64766f; background: #f1f5f3; font-size: 10px; font-weight: 600; }.table-scroll { overflow-x: auto; }.recent-results table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 10px; }.recent-results th { padding: 9px 7px; color: #52655d; background: #f8faf9; font-size: 10px; text-align: left; }.recent-results td { padding: 10px 7px; border-top: 1px solid #edf2ef; color: #243a31; }.status { padding: 4px 7px; border-radius: 4px; font-size: 9px; font-weight: 800; }.status--complete { color: #14754f; background: #e2f3e9; }.status--pending { color: #b67908; background: #fff0cc; }.status--open { color: #316394; background: #e7f0fa; }.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: #6d8079; font-size: 10px; }.table-footer nav { display: flex; align-items: center; gap: 4px; }.table-footer button,.table-footer select { min-width: 25px; height: 25px; border: 1px solid #dce7e2; border-radius: 5px; background: #fff; color: #50645b; font-size: 10px; cursor: pointer; }.table-footer .is-current { border-color: #0b945c; background: #0b945c; color: #fff; }.table-footer select { width: 82px; }
@media (max-width: 1100px) { .dashboard-stats { grid-template-columns: repeat(3, 1fr); }.transaction-form__row,.advanced-filters__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .app-sidebar-cell { width: auto !important; min-width: 0; }.dashboard-lower { grid-template-columns: 1fr; }.dashboard__topline { align-items: start; flex-direction: column; gap: 8px; }.dashboard-stats { grid-template-columns: repeat(2, 1fr); }.transaction-form__row,.advanced-filters__grid { grid-template-columns: 1fr; }.table-footer { align-items: start; flex-direction: column; }.app-main { padding: 14px 10px; } }
@media (max-width: 760px) { .standard-search-fields { grid-template-columns: 1fr; padding-inline: 0; }.standard-search-fields > div { grid-template-columns: 1fr; gap: 5px; }.standard-search-fields label { text-align: left; }.standard-search-actions { align-items: flex-start; flex-direction: column; padding-inline: 0; } }
@media (max-width: 760px) { #invoice-search-form .search-panel__table tbody { display: grid; grid-template-columns: 1fr; gap: 5px; padding-inline: 0; } #invoice-search-form .search-panel__table tbody tr, .standard-search-form .search-panel__table tbody tr { display: contents; } #invoice-search-form .search-panel__table .search-panel__label, .standard-search-form .search-panel__table .search-panel__label { text-align: left; } #invoice-search-form .search-panel__table tr:has(td[colspan]), .standard-search-form .search-panel__table tr:has(td[colspan]) { display: contents; } }
@media (max-width: 760px) { #voucher-search-form .search-panel__table tbody { display: table-row-group; } #voucher-search-form .search-panel__table tbody tr { display: grid; grid-template-columns: 1fr; gap: 5px; padding-inline: 0; } #voucher-search-form .search-panel__table tbody td { display: block; } #voucher-search-form .search-panel__table th { text-align: left; } #voucher-search-form .search-panel__table tr:has(td[colspan]) { display: flex; } }
@media (max-width: 760px) { form[name="bs_search"] .search-panel__table tr { display: grid; grid-template-columns: 1fr; gap: 5px; padding-inline: 0; } form[name="bs_search"] .search-panel__table .search-panel__label { text-align: left; } form[name="bs_search"] .search-panel__table tr:has(td[colspan]) { display: flex; } }
@media (max-width: 460px) { .dashboard-stats { grid-template-columns: 1fr; }.panel-heading { align-items: start; flex-direction: column; }.table-actions { width: 100%; }.app-command-bar { padding-right: 10px; }.app-command-bar__profile .app-command-bar__identity { display: none; } }
#invoice-search-form + table.form_noncontrol { width: 100%; max-width: none; margin: 16px 0 0; border-collapse: separate; border-spacing: 0; border: 1px solid #dce7e2; border-radius: 8px; overflow: hidden; background: #fff; font-size: 13px; }
#invoice-search-form + table.form_noncontrol th { padding: 12px 14px; border-bottom: 1px solid #dce7e2; color: #fff; background: #087b4c; font-size: 12px; font-weight: 800; text-align: left; white-space: nowrap; }
#invoice-search-form + table.form_noncontrol td { padding: 13px 14px; border-bottom: 1px solid #edf2ef; color: #243a31; vertical-align: middle; white-space: nowrap; }
#invoice-search-form + table.form_noncontrol tbody tr:last-child td { border-bottom: 0; }
#invoice-search-form + table.form_noncontrol tbody tr:hover td { background: #f5faf7; }
#invoice-search-form + table.form_noncontrol { display: none; }
.invoice-results-enhanced { width: 100%; max-width: none; margin: 16px 0 0; border-collapse: separate; border-spacing: 0; border: 1px solid #dce7e2; border-radius: 8px; overflow: hidden; background: #fff; font-size: 13px; }
.data-grid-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #dce7e2; border-bottom: 0; border-radius: 8px 8px 0 0; color: #52655d; background: #f7fbf9; font-size: 12px; }
.data-grid-toolbar select { min-height: 30px; margin: 0 4px; padding: 4px 8px; border: 1px solid #a9c3b7; border-radius: 5px; color: #17352b; background: #fff; }
.invoice-results-enhanced th { padding: 12px 14px; border-bottom: 1px solid #dce7e2; color: #fff; background: #087b4c; font-size: 12px; font-weight: 800; text-align: left; white-space: nowrap; }
.invoice-results-enhanced th a { color: inherit; text-decoration: none; }
.invoice-results-enhanced th a:hover, .invoice-results-enhanced th a:focus-visible { text-decoration: underline; outline: 2px solid #cbe8da; outline-offset: 2px; }
.invoice-results-enhanced td { padding: 13px 14px; border-bottom: 1px solid #edf2ef; color: #243a31; vertical-align: middle; white-space: nowrap; }
.invoice-results-enhanced tbody tr:last-child td { border-bottom: 0; }
.invoice-results-enhanced tbody tr:hover td { background: #f5faf7; }
.invoice-results-enhanced tbody tr.transaction-result-row--credited td { background: #ffe2e2; }
.invoice-results-enhanced tbody tr.transaction-result-row--credited:hover td { background: #ffd0d0; }
.invoice-results-enhanced .transaction-actions { white-space: nowrap; }
.invoice-results-enhanced .transaction-actions a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 4px; border-radius: 4px; vertical-align: middle; }
.invoice-results-enhanced .transaction-actions a:last-child { margin-right: 0; }
.invoice-results-enhanced .transaction-actions a:hover, .invoice-results-enhanced .transaction-actions a:focus-visible { background: #e5f2eb; outline: 2px solid #087b4c; outline-offset: 1px; }
.invoice-results-enhanced .transaction-actions img { width: 16px; height: 16px; object-fit: contain; }
.customer-results-table-wrap { width: 100%; max-width: none; overflow-x: auto; }
.customer-search__results { min-width: 760px; }
.customer-search__results .customer-account-type-icon { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.customer-search__results .customer-search__actions { white-space: nowrap; }
.customer-search__results .customer-search__action { display: inline-flex; align-items: center; min-height: 24px; margin-right: 6px; color: #087b4c; font-size: 12px; font-weight: 700; text-decoration: none; }
.customer-search__results .customer-search__action img { width: 16px; height: 16px; margin-right: 3px; object-fit: contain; vertical-align: middle; }
.customer-search__results .customer-search__action:hover, .customer-search__results .customer-search__action:focus-visible { color: #005638; text-decoration: underline; outline: 2px solid #cbe8da; outline-offset: 2px; }
#invoice-search-form + table.form_noncontrol a[data-transaction-information]::before { display: inline-block; width: 16px; height: 16px; margin-right: 4px; background: url('../../tpl/def/img/icon_info.gif') center / contain no-repeat; content: ''; vertical-align: middle; }
#invoice-search-form + table.form_noncontrol a[href*="document_print_popup"]::before { display: inline-block; width: 16px; height: 16px; margin-right: 4px; background: url('../../tpl/def/img/icon_print_invoice.gif') center / contain no-repeat; content: ''; vertical-align: middle; }
.action-legend { margin: 12px 0; border: 1px solid #dce7e2; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(23,53,43,.04); }
.action-legend summary { padding: 10px 14px; color: #243a31; font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.action-legend summary::-webkit-details-marker { display: none; }
.action-legend summary::after { float: right; content: '⌄'; color: #087b4c; }
.action-legend[open] summary::after { content: '⌃'; }
.action-legend__icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; color: #fff; background: #087b4c; }
.action-legend__items { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 14px 12px; color: #52655d; font-size: 11px; }
.action-legend__items span { display: inline-flex; align-items: center; gap: 5px; }
.action-legend__items img { width: 16px; height: 16px; object-fit: contain; }
#invoice-search-form ~ nav[aria-label="Invoice result pages"] { margin: 16px 0 4px; }
#invoice-search-form + .invoice-results-table-wrap { margin-top: 12px; }
.invoice-results-pagination { display: flex; justify-content: center; margin: 12px 0 4px; }
.invoice-results-pagination ul { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
.invoice-results-pagination .page-item { display: block; margin: 0; }
.invoice-results-pagination .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 11px; border: 1px solid #d4e1db; border-radius: 6px; color: #385248; background: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.invoice-results-pagination .page-item.active .page-link { border-color: #087b4c; color: #fff; background: #087b4c; }
.invoice-results-pagination .page-item.disabled .page-link { color: #a3b2ac; background: #f5f7f6; pointer-events: none; }
@media (min-width: 801px) { .app-sidebar__body { display: flex; flex-direction: column; } }
.app-sidebar__body > .transaction-legend { margin-top: auto; }
.transaction-legend h3 { margin: 0 0 8px; color: #174f38; font-size: 12px; }
.transaction-legend .legend-item { display: flex; align-items: center; gap: 7px; padding: 4px 0; color: #315646; font-size: 11px; }
.transaction-legend .legend-item img { width: 16px; height: 16px; object-fit: contain; }
.transaction-results-pagination { display: flex; justify-content: center; gap: 5px; margin: 12px 0 4px; }
.transaction-results-pagination a, .transaction-results-pagination strong { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 11px; border: 1px solid #d4e1db; border-radius: 6px; color: #385248; background: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.transaction-results-pagination strong { border-color: #087b4c; color: #fff; background: #087b4c; }
#invoice-search-form ~ nav[aria-label="Invoice result pages"] ul.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
#invoice-search-form ~ nav[aria-label="Invoice result pages"] .page-item { display: block; margin: 0; }
#invoice-search-form ~ nav[aria-label="Invoice result pages"] .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 11px; border: 1px solid #d4e1db; border-radius: 6px; color: #385248; background: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
#invoice-search-form ~ nav[aria-label="Invoice result pages"] .page-link:hover { border-color: #087b4c; color: #087b4c; background: #f1f8f4; }
#invoice-search-form ~ nav[aria-label="Invoice result pages"] .page-item.active .page-link { border-color: #087b4c; color: #fff; background: #087b4c; }
#invoice-search-form ~ nav[aria-label="Invoice result pages"] .page-item.disabled .page-link { color: #a3b2ac; background: #f5f7f6; cursor: not-allowed; pointer-events: none; }
#invoice-search-form ~ nav[aria-label="Invoice result pages"] .page-item.disabled .page-link[aria-disabled="true"] { opacity: .8; }
@media (max-width: 760px) { .invoice-results-enhanced { display: table; width: max-content; min-width: 900px; max-width: none; font-size: 12px; } .invoice-results-enhanced th { padding: 11px 12px; } .invoice-results-enhanced td { padding: 12px; } #invoice-search-form ~ nav[aria-label="Invoice result pages"] ul.pagination { flex-wrap: wrap; } }

/* Dashboard refresh: compact enterprise workspace and permission-aware D-Checkin card. */
.dashboard__content-grid { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.7fr); gap: 16px; align-items: start; margin-top: 4px; }
.dashboard__content-grid--single { display: block; }
.dashboard__content-grid--single .home-news { max-width: none; }
.dcheckin-widget, .home-news { border: 1px solid #dce8e2; border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(23,53,43,.055); }
.dcheckin-widget { overflow: hidden; }
.dcheckin-widget__header { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 18px; border-bottom: 1px solid #e3ece7; background: linear-gradient(135deg, #f2faf6, #fff); }
.dcheckin-widget__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: #087b4c; font-size: 20px; font-weight: 800; }
.dcheckin-widget__header h2 { margin: 1px 0 2px; color: #17352b; font-size: 18px; letter-spacing: -.02em; }
.dcheckin-widget__header p:not(.dashboard__eyebrow) { margin: 0; color: #6b8077; font-size: 11px; }
.dcheckin-widget__open, .home-news__back { color: #087b4c; font-size: 11px; font-weight: 800; text-decoration: none; }
.dcheckin-widget__open:hover, .home-news__back:hover { text-decoration: underline; }
.dcheckin-widget__total { display: flex; align-items: baseline; gap: 8px; padding: 18px 18px 13px; }
.dcheckin-widget__total strong { color: #17352b; font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.dcheckin-widget__total span { color: #36594a; font-size: 12px; font-weight: 700; }
.dcheckin-widget__total small { margin-left: auto; color: #0b945c; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.dcheckin-widget__statuses { display: grid; gap: 0; margin: 0 18px; padding: 0; border-top: 1px solid #edf2ef; list-style: none; }
.dcheckin-widget__statuses li { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; border-bottom: 1px solid #edf2ef; color: #28483b; font-size: 11px; }
.dcheckin-widget__statuses li strong { color: #17352b; font-size: 14px; }
.dcheckin-status { display: inline-flex; align-items: center; gap: 6px; }
.dcheckin-status::before { width: 7px; height: 7px; border-radius: 50%; background: #0b945c; content: ''; }
.dcheckin-status--warning::before { background: #d9961a; }.dcheckin-status--danger::before { background: #d14f4a; }
.dcheckin-widget__empty { color: #71847c; font-style: italic; }
.dcheckin-widget footer { padding: 13px 18px 16px; color: #71847c; font-size: 10px; }
.home-news { max-width: none; margin: 0; padding: 20px; }
.home-news__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 0 2px 16px; border-bottom: 1px solid #e3ece7; }
.home-news__badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; color: #087b4c; background: #e7f6ed; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-news__header h2 { margin: 8px 0 3px; color: #17352b; font-size: 21px; letter-spacing: -.03em; }
.home-news__intro { margin: 0; color: #6b8077; font-size: 12px; }
.home-news__back { margin-top: 8px; white-space: nowrap; }
.home-news__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px 10px; color: #6b8077; font-size: 11px; }
.home-news__summary strong { color: #28483b; font-size: 12px; }.home-news__summary span { color: #8a9b94; }
.home-news__sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 2px; border: 0; overflow: visible; }
.home-news__section { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 14px; gap: 10px; align-items: center; min-height: 74px; padding: 11px 12px; border: 1px solid #e1ebe5; border-radius: 10px; color: #28483b; background: #fbfdfc; text-align: left; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.home-news__section:hover, .home-news__section:focus-visible { border-color: #7dbb9d; box-shadow: 0 5px 14px rgba(23,53,43,.08); outline: 0; transform: translateY(-1px); }
.home-news__section.has-unread { border-color: #b7dfc8; background: #f4fbf7; }
.home-news__section-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #087b4c; background: #e4f4eb; font-size: 12px; font-weight: 800; }
.home-news__section-copy { display: grid; gap: 4px; min-width: 0; }.home-news__section-name { overflow: hidden; color: #28483b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.home-news__section-copy small { color: #83958e; font-size: 10px; }
.home-news__section-meta { display: grid; justify-items: end; gap: 2px; }.home-news__section-meta strong { color: #087b4c; font-size: 14px; line-height: 1; }.home-news__section-meta small { color: #83958e; font-size: 9px; }.home-news__chevron { color: #087b4c; font-size: 19px; }
.my-tasks { margin-top: 16px; padding: 18px; border: 1px solid #dce8e2; border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(23,53,43,.055); }.my-tasks__header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:14px; border-bottom:1px solid #e3ece7; }.my-tasks__header h2 { margin: 2px 0 3px; color:#17352b; font-size:20px; }.my-tasks__header p:not(.dashboard__eyebrow) { margin:0; color:#6b8077; font-size:11px; }.my-tasks__total { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; color:#087b4c; background:#e7f6ed; font-size:16px; font-weight:800; }.my-tasks__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding-top:14px; }.my-task { display:grid; grid-template-columns:36px minmax(0,1fr) 14px; gap:9px; align-items:center; min-height:54px; padding:8px 10px; border:1px solid #e1ebe5; border-radius:9px; color:#28483b; background:#fbfdfc; text-decoration:none; }.my-task:hover,.my-task:focus-visible { border-color:#7dbb9d; box-shadow:0 4px 12px rgba(23,53,43,.08); outline:0; }.my-task__count { display:grid; place-items:center; width:30px; height:30px; border-radius:8px; color:#087b4c; background:#e4f4eb; font-weight:800; }.my-task--danger .my-task__count { color:#a42c2c; background:#fde7e7; }.my-task--warning .my-task__count { color:#956000; background:#fff2d4; }.my-task > span:last-child { color:#087b4c; font-size:18px; }
@media (max-width: 1050px) { .dashboard__content-grid { grid-template-columns: 1fr; }.dcheckin-widget { max-width: none; }.home-news__sections { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.my-tasks__empty { margin:0; padding:18px 4px 2px; color:#61766d; font-size:13px; }
@media (max-width: 760px) { .home-news { padding: 16px; }.home-news__sections { grid-template-columns: 1fr; }.home-news__summary { align-items: flex-start; flex-direction: column; gap: 4px; }.dcheckin-widget__total small { display: none; } }
@media (max-width: 900px) { .my-tasks__grid { grid-template-columns:repeat(2,minmax(0,1fr)); } } @media (max-width: 560px) { .my-tasks__grid { grid-template-columns:1fr; } }
