[hidden]{display:none!important}
.modal-head h2{flex:1;min-width:0}
.modal-minimize{flex:0 0 30px;width:30px;height:30px;border:0;border-radius:9px;background:#edf3f1;color:#173f35;font-size:22px;cursor:pointer;margin-left:auto;margin-right:7px}
.modal-minimize:hover{background:#d6ebe3}
#transactionShortcutBar{width:22px!important}
#transactionShortcutBar:hover,#transactionShortcutBar:focus-within,#transactionShortcutBar.pinned{width:72px!important}
#transactionShortcutBar .shortcut-icons{right:8px!important;padding:10px!important;border-radius:18px!important;transform:translate(calc(100% + 12px),-50%)!important;transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .2s!important}
#transactionShortcutBar:hover .shortcut-icons,#transactionShortcutBar:focus-within .shortcut-icons,#transactionShortcutBar.pinned .shortcut-icons{transform:translate(0,-50%)!important;opacity:1!important}
#transactionShortcutBar .shortcut-label{background:#f6fcf8!important;color:#173f35!important}
@media(min-width:901px){#appView:not(.menus-pinned) .sidebar:not(:hover):not(:focus-within) .sidebar-pin{visibility:hidden;pointer-events:none}}
.shortcut-icons button:not(.shortcut-pin){background:linear-gradient(145deg,#226b56,#123d32);color:#fff;border:1px solid #ffffff70;box-shadow:0 3px 6px #123d3226}
.shortcut-icons button:not(.shortcut-pin):hover{background:#226b56;transform:scale(1.08)}
#transactionShortcutBar.pinned .shortcut-icons{transform:translate(0,-50%);opacity:1;overflow:visible}
.sidebar-pin{align-self:flex-end;flex:0 0 26px;width:26px;height:26px;border:1px solid #ffffff30;border-radius:8px;background:#ffffff12;color:#bce6d6;cursor:pointer;position:relative;z-index:3}
@media(min-width:901px){
  #appView:not(.menus-pinned){grid-template-columns:68px minmax(0,1fr)!important}
  #appView .sidebar{width:244px;transition:width .25s cubic-bezier(.2,.8,.2,1);overflow-x:hidden}
  #appView:not(.menus-pinned) .sidebar:not(:hover):not(:focus-within){width:68px;padding-left:8px;padding-right:8px}
  #appView:not(.menus-pinned) .sidebar:not(:hover):not(:focus-within) :is(.side-brand-copy,.side-user>div:nth-child(2),.side-footer,.nav-group,.nav-submenu,.nav-item>span,.nav-expand){display:none!important}
  #appView:not(.menus-pinned) .sidebar:not(:hover):not(:focus-within) .side-brand{padding:0;justify-content:center}
  #appView:not(.menus-pinned) .sidebar:not(:hover):not(:focus-within) .nav-item{justify-content:center;padding:10px 5px}
  #appView:not(.menus-pinned) .sidebar:not(:hover):not(:focus-within) .side-user{flex-direction:column;gap:8px}
  #appView:not(.menus-pinned) .sidebar:hover{box-shadow:12px 0 30px #092d3530}
}
#transactionShortcutBar{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:90;width:18px;height:min(540px,85vh)}
.shortcut-edge{position:absolute;right:3px;top:calc(50% - 24px);width:4px;height:48px;border-radius:5px;background:#39977c;box-shadow:0 0 0 3px #edf6f070}
.shortcut-icons{position:absolute;right:0;top:50%;transform:translate(100%,-50%);opacity:0;display:flex;flex-direction:column;gap:4px;padding:9px 7px;background:#edf6f0ee;backdrop-filter:blur(16px);border:1px solid #d6e7de;border-radius:16px 0 0 16px;box-shadow:0 8px 24px #123d3230;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s;max-height:85vh;overflow-y:auto;overflow-x:hidden}
#transactionShortcutBar:hover .shortcut-icons,#transactionShortcutBar:focus-within .shortcut-icons{transform:translate(0,-50%);opacity:1;overflow:visible}
.shortcut-icons button{position:relative;display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:0;border-radius:10px;background:transparent;color:#174f3e;cursor:pointer}
.shortcut-icons button:hover,.shortcut-icons button:focus-visible{background:#cdeade}
.shortcut-icons svg{width:23px;height:23px}
.shortcut-label{position:absolute;right:calc(100% + 14px);white-space:nowrap;padding:7px 10px;background:#f6fcf8;border:1px solid #d2e5da;border-radius:8px;box-shadow:0 4px 15px #123d3226;font:600 11px Manrope,Arial,sans-serif;opacity:0;transform:translateX(6px);pointer-events:none;transition:opacity .18s,transform .2s}
.shortcut-icons button:hover .shortcut-label,.shortcut-icons button:focus-visible .shortcut-label{opacity:1;transform:translateX(0)}
@media print{#transactionShortcutBar{display:none!important}}
@media(prefers-reduced-motion:reduce){.shortcut-icons,.shortcut-label{transition:none}}
.modal-task>span>svg{width:25px;height:25px;display:block}
#modalTaskDock{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);z-index:105;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:90vw;padding:10px 14px;border:1px solid #ffffff80;border-radius:20px;background:#edf6f0e8;backdrop-filter:blur(18px);box-shadow:0 8px 30px #092d3540;overflow:visible}
.modal-task{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;background:transparent;border-radius:12px;color:#173f35;cursor:pointer;outline-offset:4px}
.modal-task>span{display:grid;place-items:center;width:42px;height:42px;background:linear-gradient(145deg,#226b56,#123d32);color:white;border:1px solid #ffffff70;border-radius:12px;font-size:27px;box-shadow:0 3px 6px #123d3226;transform-origin:center bottom;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.modal-task:hover>span,.modal-task:focus-visible>span{transform:translateY(-6px) scale(1.18);box-shadow:0 8px 15px #123d3233}
.modal-task small{position:absolute;bottom:calc(100% + 18px);left:50%;transform:translate(-50%,8px) scale(.94);opacity:0;pointer-events:none;padding:7px 11px;border:1px solid #ffffff80;border-radius:9px;background:#f7fcf9f5;box-shadow:0 5px 16px #123d3226;color:#173f35;max-width:min(320px,80vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 11px Manrope,Arial,sans-serif;transition:opacity .2s,transform .25s cubic-bezier(.2,.8,.2,1)}
.modal-task:hover small,.modal-task:focus-visible small{opacity:1;transform:translate(-50%,0) scale(1)}
@media print{#modalTaskDock,.modal-minimize{display:none!important}}
@media(prefers-reduced-motion:reduce){.modal-task>span,.modal-task small{transition:none}}
.sidebar,#nav{scrollbar-width:thin;scrollbar-color:#689b8970 transparent}
.sidebar::-webkit-scrollbar,#nav::-webkit-scrollbar{width:6px;height:6px}
.sidebar::-webkit-scrollbar-track,#nav::-webkit-scrollbar-track{background:transparent}
.sidebar::-webkit-scrollbar-thumb,#nav::-webkit-scrollbar-thumb{background:#689b8970;border-radius:999px;border:1px solid #123b30}
.sidebar:hover::-webkit-scrollbar-thumb,#nav:hover::-webkit-scrollbar-thumb{background:#83b6a399}
.sidebar::-webkit-scrollbar-thumb:hover,#nav::-webkit-scrollbar-thumb:hover{background:#a3d3bfcc}
.sidebar::-webkit-scrollbar-button,#nav::-webkit-scrollbar-button{display:none;width:0;height:0}
.sidebar::-webkit-scrollbar-corner,#nav::-webkit-scrollbar-corner{background:transparent}
.account-list-card tbody tr[data-tree-depth] td:first-child{border-left:0!important}
.account-list-card tbody tr[data-tree-depth] .account-code-cell{padding-left:0!important}
.account-list-card tbody tr[data-tree-depth] td:nth-child(2){padding-left:calc(12px + var(--chart-indent,0px))!important}
.account-list-card tbody tr[data-tree-depth] .account-tree-node{padding-left:0!important}
.account-list-card tbody tr[data-tree-depth] .account-tree-node::before,.account-list-card tbody tr[data-tree-depth] .account-tree-node::after{display:none!important}
.account-list-card tbody tr[data-tree-depth] td:nth-child(2)::before,.account-list-card tbody tr[data-tree-depth] td:nth-child(2)::after{display:none!important}
#content .account-list-card tbody tr[data-tree-depth] td:nth-child(2){border-top:0!important;border-bottom:0!important}
#content .account-list-card tbody tr[data-tree-depth] td:nth-child(2)::before,#content .account-list-card tbody tr[data-tree-depth] td:nth-child(2)::after,#content .account-list-card tbody tr[data-tree-depth] .account-tree-node::before,#content .account-list-card tbody tr[data-tree-depth] .account-tree-node::after{content:none!important;display:none!important;border:0!important}
#content .account-list-card tbody tr[data-tree-depth] td{border-top:0!important;border-bottom:0!important;border-left:0!important;border-right:0!important}
#content .account-list-card tbody tr[data-tree-depth] td:nth-child(2){background-image:none!important}
.account-list-card .account-tree-connectors{display:block!important;pointer-events:none}
.account-list-card .account-tree-connectors path{fill:none!important;stroke:#a6bdb4!important;stroke-width:1!important;stroke-linecap:butt;stroke-linejoin:miter}
#content .account-list-card tbody tr[data-tree-depth]:not(.account-child) td{background-color:#f4f6f5!important}
#content .account-list-card tbody tr[data-tree-depth].account-child td{background-color:#fff!important}
.permission-matrix-row label.dependency-auto{background:#fff0f0!important;color:#8a3f45!important;box-shadow:inset 0 0 0 1px #efb9be!important}
.permission-matrix-row label.dependency-auto input{accent-color:#df9a9f!important;outline:2px solid #f5c7cc;outline-offset:2px}
.permission-dependency-note{background:#fff3f3!important;border-color:#efc3c7!important;color:#89464c!important}
.permission-matrix-row label:has(input[name="custom_permissions[]"]:checked):not(.dependency-auto){background:#e9f7ef;color:#246c50}
.permission-matrix-row input[name="custom_permissions[]"]:checked{accent-color:#25a77a}
#settingsPanel{min-width:0}
.software-sync-panel .backup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.software-sync-panel .backup-card{min-width:0;overflow-wrap:anywhere}
.software-sync-panel input,.software-sync-panel textarea{max-width:100%;min-width:0}
.desktop-releases{min-width:0;container-type:inline-size;container-name:desktop-releases}
.desktop-releases .table-wrap{max-width:100%;overflow-x:visible}
.desktop-releases table{width:100%;min-width:0!important;table-layout:fixed}
.desktop-releases th,.desktop-releases td{white-space:normal!important;overflow-wrap:anywhere;vertical-align:top}
.desktop-releases th:nth-child(1){width:35%}
.desktop-releases th:nth-child(2){width:9%}
.desktop-releases th:nth-child(3){width:10%}
.desktop-releases th:nth-child(4){width:11%}
.desktop-releases th:nth-child(5){width:16%}
.desktop-releases th:nth-child(6){width:19%}
.desktop-releases td small{display:block;white-space:normal;line-height:1.6;margin-top:5px;color:var(--muted)}
.desktop-release-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px}
.desktop-release-actions .btn{white-space:normal;padding:8px 10px}
.desktop-release-actions .action-delete{flex-shrink:0}
@container desktop-releases (max-width:760px){
  .desktop-releases table,.desktop-releases tbody{display:block}
  .desktop-releases thead{display:none}
  .desktop-releases tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 16px;gap:10px 16px;border-bottom:1px solid #e0e9e5}
  .desktop-releases tbody td{display:block;padding:0;border:0!important;min-width:0;text-align:left}
  .desktop-releases td:first-child,.desktop-releases td:last-child{grid-column:1/-1}
  .desktop-releases td:before{content:attr(data-label);display:block;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
  .desktop-releases td:last-child:before{display:none}
}
@media(max-width:900px){.software-sync-panel .backup-grid{grid-template-columns:minmax(0,1fr)}}
.free-print-preview.theme-non_header{padding-top:3.5in!important}
.free-print-preview.theme-non_header>h2{margin-top:0!important;line-height:1;position:relative;top:calc(-1 * var(--title-ink-top,0px))}
.ageing-party-filter{position:relative;flex:1 1 340px;max-width:460px;min-width:0;padding:0;border:0;background:transparent;align-self:center}
.ageing-party-searchbar{display:flex;gap:6px;align-items:center}
.report-workspace>.toolbar .ageing-party-searchbar input{flex:1;min-width:0;width:100%;height:38px;padding:8px 34px 8px 12px;border:1px solid #d5e4de;border-radius:9px;background:#fff;color:#173f35;font-size:12px;outline:none;transition:border-color .15s,box-shadow .15s}
.report-workspace>.toolbar .ageing-party-searchbar input:focus{border-color:#2ca878;box-shadow:0 0 0 3px #2ca87818}
.report-workspace>.toolbar .ageing-party-searchbar button{flex:0 0 34px;min-width:34px;width:34px;height:38px;padding:0;border-radius:9px;background:#edf4f1;color:#245f50;font-size:17px;box-shadow:none}
.report-workspace>.toolbar .ageing-party-searchbar button:hover{background:#dceee6;color:#12352d}
.ageing-party-picker{position:absolute;top:0;left:0;right:120px;margin:0;pointer-events:none}
.ageing-party-picker summary{position:absolute;top:0;right:0;width:28px;height:38px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#245f50;font-size:0;list-style:none;pointer-events:auto}
.ageing-party-picker summary::-webkit-details-marker{display:none}
.ageing-party-picker summary::after{content:'⌄';font-size:17px}
.ageing-party-picker[open] summary::after{content:'⌃'}
.ageing-party-options{position:absolute;top:44px;left:0;display:grid;grid-template-columns:1fr;gap:6px;width:min(480px,70vw);padding:10px;margin:0;max-height:260px;overflow:auto;background:#fff;border:1px solid #d5e4de;border-radius:10px;box-shadow:0 12px 30px #173f3526;pointer-events:auto;z-index:40}
.ageing-party-option{display:flex;align-items:center;gap:8px;padding:6px 8px;background:#f3f8f5;border-radius:6px;font-size:12px;cursor:pointer}
.ageing-party-option input{flex:0 0 auto;accent-color:#239c75}
.outstanding-tree-party .ageing-party-toggle{display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;width:23px;height:23px;margin-right:8px;color:#1d6652;background:#d9eee5;border-radius:5px;font-weight:700}
.invoice-writeoff-choice{display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:11px;color:#245f50;padding:0 8px}
.allocation-row:has(.invoice-writeoff-choice){grid-template-columns:minmax(150px,1fr) auto minmax(120px,240px) auto}
#modalRoot .allocation-row:has(.invoice-writeoff-choice){height:auto;min-height:40px!important;align-items:center}
#modalRoot .allocation-row:has(.invoice-writeoff-choice)>.allocation-choice{grid-column:1;grid-row:1;min-width:0}
#modalRoot .allocation-row:has(.invoice-writeoff-choice) .allocation-choice>span{white-space:normal;flex-wrap:wrap;line-height:1.3!important}
#modalRoot .allocation-row:has(.invoice-writeoff-choice)>.allocation-balance{grid-column:2;grid-row:1;white-space:nowrap}
#modalRoot .allocation-row:has(.invoice-writeoff-choice)>.allocation-payment{position:static;grid-column:3;grid-row:1;width:100%;transform:none!important}
#modalRoot .allocation-row:has(.invoice-writeoff-choice)>.invoice-writeoff-choice{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end;gap:6px;grid-column:4;grid-row:1;margin:0;padding:0;min-height:24px;line-height:1.2;cursor:pointer}
#modalRoot .allocation-row:has(.invoice-writeoff-choice)>.invoice-writeoff-choice input{margin:0!important}
@media(max-width:780px){
  #modalRoot .allocation-row:has(.invoice-writeoff-choice){grid-template-columns:minmax(0,1fr) auto;row-gap:5px;padding:7px 9px!important}
  #modalRoot .allocation-row:has(.invoice-writeoff-choice)>.allocation-payment{grid-column:1;grid-row:2}
  #modalRoot .allocation-row:has(.invoice-writeoff-choice)>.allocation-payment:not(.open){display:none}
  #modalRoot .allocation-row:has(.invoice-writeoff-choice)>.invoice-writeoff-choice{grid-column:2;grid-row:2;justify-self:end}
}
.invoice-writeoff-choice input{width:14px!important;min-width:14px;height:14px;margin:0;accent-color:#2ca878}
#modalRoot .allocation-row>.invoice-writeoff-choice[hidden]{display:none!important}
.invoice-writeoff-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 16px;border:1px solid #d5e4de;border-radius:10px;background:#f3f8f5}
.invoice-writeoff-summary small{display:block;color:#648077;font-size:11px;margin-bottom:7px}
.invoice-writeoff-summary strong{display:block;color:#173f35;font-size:19px;font-variant-numeric:tabular-nums}
.invoice-writeoff-form>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#193b32}
.invoice-writeoff-form select{box-sizing:border-box;width:100%;min-width:0;height:40px;padding:8px 12px;border:1px solid #d5e4de;border-radius:9px;background:#fff;color:#173f35;font:inherit}
.invoice-writeoff-form select:focus{outline:none;border-color:#2ca878;box-shadow:0 0 0 3px #2ca87818}
@media(max-width:480px){.invoice-writeoff-summary{grid-template-columns:1fr}}
.writeoff-ledger-search{display:flex;align-items:center;gap:6px}
.writeoff-ledger-search input{box-sizing:border-box;flex:1;min-width:0;width:100%;height:40px;margin:0!important;padding:8px 12px;border:1px solid #d5e4de;border-radius:9px;background:#fff;color:#173f35;font:inherit;font-weight:400}
.writeoff-ledger-search input:focus{outline:none;border-color:#2ca878;box-shadow:0 0 0 3px #2ca87818}
.writeoff-ledger-search button{flex:0 0 36px;width:36px;height:40px;padding:0;border:0;border-radius:9px;background:#edf4f1;color:#245f50;font-size:18px;cursor:pointer}
.writeoff-ledger-picker{position:relative}
.writeoff-ledger-results{position:relative;margin-top:6px;max-height:200px;overflow:auto;border:1px solid #d5e4de;border-radius:9px;padding:5px;background:#fff;box-shadow:0 5px 14px #173f3512}
.writeoff-ledger-results[hidden]{display:none!important}
.writeoff-ledger-results button{display:block;width:100%;text-align:left;border:0;background:#fff;color:#173f35;padding:9px 10px;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer}
.writeoff-ledger-results button:hover,.writeoff-ledger-results button:focus{background:#e9f5ef;outline:none}
.writeoff-ledger-results>.muted{padding:10px;font-size:12px}
.direct-ledger-allocations{padding:6px;border:1px solid #d5e4de;border-radius:9px;background:#f8fbfa}
.direct-ledger-allocation-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 4px;color:#173f35}
.direct-ledger-allocation-head small{color:#648077;font-size:10px}
.direct-ledger-allocation-list{display:grid;gap:4px}
.direct-ledger-allocation{display:grid;grid-template-columns:minmax(180px,1fr) minmax(120px,190px) minmax(180px,260px) 30px;gap:7px;align-items:center;min-height:36px;padding:3px 6px;border:1px solid #dbe8e3;border-radius:7px;background:#fff}
.direct-ledger-allocation>div b{display:block;font-size:12px;font-weight:600;line-height:1.2}
.direct-ledger-allocation label{display:grid;grid-template-columns:auto minmax(100px,1fr);align-items:center;gap:7px;margin:0!important;color:#648077;font-size:10px!important;white-space:nowrap}.direct-ledger-allocation input{box-sizing:border-box;width:100%;height:28px!important;min-height:28px!important;margin:0!important;padding:3px 8px!important;font-size:12px!important}
.direct-ledger-remove{width:28px;height:28px;padding:0;border:0;border-radius:7px;background:#fff0f0;color:#b44343;font-size:16px;cursor:pointer}
@media(max-width:800px){.direct-ledger-allocation{grid-template-columns:minmax(0,1fr) minmax(120px,180px) 30px}.direct-ledger-allocation label{grid-column:1/3}.direct-ledger-remove{grid-column:3;grid-row:1}}
#modalRoot .contact-combobox>.direct-ledger-results-popup{margin-top:0!important}
#modalRoot .contact-combobox>.party-search-results-attached{margin-top:0!important;transform:translateY(-40px)!important}
