/* Scoped final-batch geometry. Permission attributes and conditional visibility are original. */
html body .seventh-page{padding:35px 48px 95px!important;background:#f5f5f7;color:#1d1d1f}
html body .seventh-page .card{box-sizing:border-box;border:1px solid #e4e6eb;border-radius:16px;background:#fff;box-shadow:none;padding:24px 21px;margin-bottom:28px}
html body .seventh-page .tbar{gap:20px;flex-wrap:wrap;margin-bottom:26px}
html body .seventh-page input:not([type=checkbox]),html body .seventh-page select{height:46px;box-sizing:border-box;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:#fff;color:#6e727b;font-size:16px}
html body .seventh-page button{min-height:42px;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:#fff;color:#1d1d1f;font-size:15px}
html body .seventh-page button.btn-p{background:#007aff;color:#fff;border-color:#007aff}
html body .seventh-page button:disabled{opacity:.5}
html body .seventh-table{width:100%;table-layout:fixed;border-collapse:collapse}
html body .seventh-table th{box-sizing:border-box;height:48px;padding:0 12px!important;background:#f1f3f6!important;color:#6e727b!important;font-size:14px;font-weight:400;text-align:left;border:0}
html body .seventh-table td{box-sizing:border-box;min-height:68px;height:68px;padding:12px!important;border-bottom:1px solid #e4e6eb;font-size:14px;line-height:22px;white-space:normal!important;overflow-wrap:anywhere}
html body .seventh-table td button{min-height:30px;height:auto;padding:3px 7px;font-size:12px}
html body .seventh-page .review-table-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:24px}
html body .seventh-page .review-table-tools input{width:372px}
html body .seventh-lock{max-width:1282px;margin:28px auto!important;padding:32px!important}
html body .seventh-lock .card-hd{font-size:22px;font-weight:600;margin-bottom:18px}
html body .seventh-lock>p{font-size:15px!important;line-height:24px;margin:0 0 24px!important}
html body .seventh-user .seventh-permissions{margin:35px 0 0!important}
html body .seventh-user .seventh-permissions>label{font-size:16px;font-weight:400;color:#6e727b;margin:0 0 13px}
html body .seventh-user #u-perms{display:flex;gap:12px 18px;flex-wrap:wrap}
html body .seventh-user #u-perms>div{width:100%;background:transparent!important;border:0!important;padding:0!important}
html body .seventh-user #u-perms label{display:inline-flex;align-items:center;gap:8px;font-size:16px;line-height:24px;margin:4px 14px 4px 0}
html body .seventh-user input[type=checkbox]{width:20px;height:20px;accent-color:#007aff}
html body .seventh-user .seventh-select-all{display:inline-flex!important;align-items:center;gap:8px;color:#1d1d1f!important;cursor:pointer}
html body .seventh-user #u-perm-admin-note{font-size:16px!important;line-height:24px;background:#f8f9fb!important;padding:18px!important}
html body .seventh-dicts .dict-card{margin:0 0 24px;border:1px solid #e4e6eb;border-radius:16px}
html body .seventh-dicts summary{cursor:pointer;min-height:48px;font-size:18px;line-height:28px}
html body .seventh-dicts .dict-body{padding-top:22px}
html body .seventh-dicts .dict-desc,html body .seventh-dicts .dict-cnt{font-size:14px;color:#6e727b;margin-left:16px}
html body .seventh-dicts .dict-ph{font-size:17px;font-weight:600;margin:20px 0 14px}
html body .seventh-dicts .dict-acts{width:40%}
html body .seventh-dicts .dict-addbtn{margin:14px 0 24px}
html body .seventh-legacy-alert .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px}
html body .seventh-pos-toolbar{display:flex;gap:10px;margin:0 0 28px}
html body .seventh-pos-filters{margin-bottom:32px}
html body .seventh-pos-filters label{display:block;font-size:16px;color:#6e727b;margin-bottom:12px}
html body .seventh-pos-filters input{width:372px!important}
html body .seventh-pos-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:18px 0 22px}
html body .seventh-pos-stat{box-sizing:border-box;min-height:124px;border:1px solid #e4e6eb;border-radius:14px;padding:16px 20px}
html body .seventh-pos-stat>span{display:block;font-size:16px;line-height:24px;color:#6e727b;margin-bottom:22px}
html body .seventh-pos-stat>strong{display:block;font-size:28px;line-height:36px;font-weight:600}
html body .seventh-pos-stat #pos-conn,html body .seventh-pos-stat #pos-lastsync{font-size:15px!important;line-height:24px;margin:0!important;overflow-wrap:anywhere}
html body .seventh-pos-mode{border:0!important;background:transparent!important;padding:0!important;font-size:14px;color:#6e727b}
html body .seventh-dialog .flow-confirm p{white-space:pre-wrap;overflow-wrap:anywhere}
/* Parent-shell panes: the existing pay_method sample is deliberately outside this class. */
html body .seventh-hub{display:block!important;max-width:none;color:#1d1d1f}
html body .seventh-hub .hub-card{box-sizing:border-box;max-width:1282px;margin:0 auto 28px;padding:32px;border:1px solid #e4e6eb;border-radius:16px;background:#fff;color:#1d1d1f;box-shadow:none}
html body .seventh-hub .hub-card h3{font-size:22px;line-height:29px;margin:0 0 22px;color:#1d1d1f}
html body .seventh-hub .hub-card p,html body .seventh-hub pre{font-family:inherit;font-size:15px;line-height:25px;color:#6e727b;white-space:pre-wrap;overflow-wrap:anywhere}
html body .seventh-hub .hub-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid #e4e6eb}
html body .seventh-hub .hub-row .row-actions{grid-column:1/-1;display:flex;gap:18px;align-items:center}
html body .seventh-hub .hub-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px}
html body .seventh-hub .hub-form>label{display:flex;flex-direction:column;gap:13px;font-size:16px;color:#6e727b}
html body .seventh-hub input:not([type=checkbox]),html body .seventh-hub select{box-sizing:border-box;width:100%;height:46px;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:#fff;color:#6e727b;font-size:17px}
html body .seventh-hub input[type=checkbox]{width:20px;height:20px;accent-color:#007aff}
html body .seventh-hub .hub-action{min-height:42px;width:auto;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:white;color:#1d1d1f;font-size:16px}
html body .seventh-hub .hub-action.primary{background:#007aff;color:#fff;border-color:#007aff}
html body .seventh-hub :disabled{opacity:.55;cursor:default}
html body .seventh-hub[data-pane=categories] .category-row{min-height:68px}
html body .seventh-hub[data-pane=categories] .category-add{margin-top:30px}
@media(max-width:1000px){html body .seventh-page{padding:28px 24px 65px!important}html body .seventh-pos-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}html body .seventh-hub .hub-card{padding:24px}}
@media(max-width:650px){html body .seventh-hub .hub-form,html body .seventh-hub .hub-row{grid-template-columns:1fr}html body .seventh-pos-metrics{grid-template-columns:1fr}html body .seventh-page .review-table-tools input,html body .seventh-pos-filters input{width:100%!important}}

html body .page.seventh-page{padding:0!important}

html body .page.seventh-list{padding:0!important}
html body .seventh-list .seventh-toolbar{margin-bottom:26px}
html body .seventh-list .seventh-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-bottom:32px}
html body .seventh-list .seventh-filters .flow-field{width:auto;min-width:0}
html body .seventh-list .seventh-filters label{font-size:16px;line-height:20px;margin:0 0 14px;font-weight:400}
html body .seventh-list .seventh-filters input,html body .seventh-list .seventh-filters select{display:block;font-size:18px!important;color:#6e727b!important;margin:0!important;min-height:46px!important;width:100%!important;max-width:none!important}
html body .seventh-list .seventh-table-card{padding:24px 22px 21px!important;min-height:0;border:1px solid #e4e6eb!important;background:#fff!important;box-shadow:none!important}
html body .seventh-list .seventh-table-title{display:none}
html body .seventh-list .review-table-tools,html body .seventh-list .review-table-tools:not(:has(.review-inventory-summary)){position:static;display:flex;flex-wrap:wrap;min-height:62px;margin:0;padding:0 22px 20px 0;gap:10px;border:0;background:transparent}
html body .seventh-list .review-table-tools>span{order:-1;margin-right:auto;font-size:14px}
html body .seventh-list .review-table-tools button{height:42px;min-height:42px;padding:0 14px;font-size:16px;border-radius:9px}
html body .seventh-list table.seventh-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
html body .seventh-list .seventh-table th,html body .seventh-list .seventh-table th *{font-size:16px!important;font-weight:400!important;line-height:24px!important;color:#6e727b!important}
html body .seventh-list .seventh-table th{height:48px!important;padding:0 12px!important;background:#f1f3f6!important}
html body .seventh-list .seventh-table th:first-child{border-radius:8px 0 0 8px}html body .seventh-list .seventh-table th:last-child{border-radius:0 8px 8px 0}
html body .seventh-list .seventh-table td{height:68px!important;min-height:68px!important;line-height:24px!important;padding:12px!important;font-size:16px!important;font-weight:400!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;color:#1d1d1f!important;background:transparent!important;text-align:left!important}
html body .seventh-list .seventh-table td .bg,html body .seventh-list .seventh-table td strong{font-size:16px!important;font-weight:400!important;display:inline;padding:0;background:transparent!important;color:inherit!important}
html body .seventh-list .seventh-table td button{display:inline-block!important;min-height:0;height:auto;max-width:none;width:auto;font-size:15px;line-height:24px;white-space:nowrap;padding:0 3px;border:0;background:transparent;color:#007aff;vertical-align:middle;margin-bottom:0}
html body .seventh-list .seventh-table td:last-child{white-space:nowrap!important}
html body .seventh-list .seventh-selection>p{font-size:17px;line-height:24px;margin-bottom:9px}
html body .seventh-list .ledger-scroll{scrollbar-gutter:auto;overflow-y:hidden;margin:0;border:0}
@media(max-width:900px){html body .seventh-list .seventh-filters{grid-template-columns:repeat(2,minmax(0,1fr))}html body .seventh-list table.seventh-table{min-width:850px!important}}


html body .seventh-filters{row-gap:33px}

html body .seventh-toolbar{display:flex;align-items:center;gap:10px;height:42px;margin:0 0 26px}html body .seventh-filters label{display:block;color:#6e727b}html body .seventh-list .seventh-table-card{margin:0!important}html body .seventh-pos-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}html body .seventh-pos-filters label{line-height:20px;margin:0 0 14px}html body .seventh-pos-toolbar{margin-bottom:26px}html body .seventh-pos-filters input{width:100%!important;font-size:18px}html body .seventh-pos-filters .flow-field{min-width:0}

/* Keep real repeated settings records compact; do not turn each action into another grid row. */
html body .settings-content:has(.seventh-hub) .settings-head{max-width:1282px;margin:26px auto 24px;padding:0;border:0;align-items:center}
html body .settings-content:has(.seventh-hub) .settings-head h2{display:none}
html body .settings-content:has(.seventh-hub) .settings-head p{margin:0;font-size:15px;line-height:24px;font-weight:400}
html body .seventh-hub[data-pane="fund-projects"] .hub-row,html body .seventh-hub[data-pane="accounts"] .hub-row{grid-template-columns:minmax(160px,1fr) minmax(0,1fr) auto;gap:24px;min-height:80px;padding:16px 0;margin:0}
html body .seventh-hub[data-pane="fund-projects"] .hub-row .row-actions,html body .seventh-hub[data-pane="accounts"] .hub-row .row-actions{grid-column:auto;gap:16px}
html body .seventh-hub .row-label{font-size:16px;font-weight:400;overflow-wrap:anywhere}
html body .seventh-hub .hub-form>button{grid-column:1/-1;justify-self:start;width:auto}
html body .seventh-hub[data-pane="notification-integrations"] .hub-form>label:first-child{grid-column:1/-1}
html body .seventh-hub .hub-row.compact{min-height:60px;padding:12px 0;margin:0}
@media(max-width:800px){html body .seventh-hub[data-pane="fund-projects"] .hub-row,html body .seventh-hub[data-pane="accounts"] .hub-row{grid-template-columns:1fr}html body .settings-content:has(.seventh-hub) .settings-head{display:block}}

/* Classic amount prefixes remain separate from their unchanged numeric values. */
html body .seventh-page .amount-input input[type=number]{padding-left:34px!important}
html body .seventh-page .amount-input>span{left:12px;font-weight:400}
/* Five settings panes use one two-column surface and a shared action footer. */
html body .seventh-settings-back{display:block;height:24px;min-height:24px;padding:0;margin:26px 0 24px;border:0;background:transparent;color:#007aff;font-size:16px;line-height:24px;text-align:left}
html body .seventh-hub .seventh-composed-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px;padding:32px;margin-bottom:30px}
html body .seventh-settings-section{min-width:0;border:0;background:transparent;margin:0;padding:0}
html body .seventh-hub .seventh-settings-section h3{font-size:16px;line-height:22px;font-weight:400;color:#6e727b;margin:0 0 24px}
html body .seventh-hub .seventh-settings-section pre{margin:0;min-height:32px;font-size:17px;line-height:26px}
html body .seventh-wide-section,html body .seventh-settings-description{grid-column:1/-1}
html body .seventh-hub .seventh-settings-description{margin:0;font-size:14px;line-height:22px}
html body .seventh-alert-section,html body .seventh-alert-section>.hub-form{display:contents}
html body .seventh-duplicate-heading{display:none}
html body .seventh-alert-section>p{grid-column:1/-1;margin:0!important}
html body .seventh-hub .seventh-alert-section>.hub-form>label{margin:0;gap:13px}
html body .seventh-settings-footer{max-width:1282px;margin:0 auto 60px;padding-top:20px;border-top:1px solid #e4e6eb;display:flex;flex-wrap:wrap;gap:16px;align-items:center}
html body .seventh-settings-footer button{width:auto;min-height:42px;font-size:16px;font-weight:400;padding:0 14px}
html body .seventh-hub[data-pane=permission-security] .seventh-settings-section{grid-column:1/-1}
@media(max-width:650px){html body .seventh-hub .seventh-composed-card{grid-template-columns:1fr}}

/* Classic dictionary views: original rows/buttons, horizontal category navigation. */
html body .seventh-legacy-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 26px}
html body .seventh-legacy-tabs button{min-height:42px;padding:0 14px;font-size:16px;border:1px solid #e4e6eb;border-radius:9px;background:#fff}
html body .seventh-legacy-tabs button[aria-selected=true]{color:#007aff}
html body .seventh-dicts .dict-card{padding:0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0}
html body .seventh-dicts .dict-card>summary{display:none}
html body .seventh-dicts .dict-body{padding:0}
html body .seventh-dicts .dict-addbtn{display:block;height:42px;margin:0 0 26px;padding:0 14px;background:#007aff;color:#fff;border:1px solid #007aff;border-radius:9px;font-size:16px}
html body .seventh-dict-table-card{padding:24px 21px;border:1px solid #e4e6eb;border-radius:16px;background:white}
html body .seventh-dicts .seventh-table{table-layout:fixed;border-collapse:separate;border-spacing:0}
html body .seventh-dicts .seventh-table th{height:48px;font-size:16px;font-weight:400;padding:0 12px!important}
html body .seventh-dicts .seventh-table td{height:68px;font-size:16px;padding:0 12px!important;white-space:normal}
html body .seventh-dicts .seventh-table th:first-child{border-radius:8px 0 0 8px}html body .seventh-dicts .seventh-table th:last-child{border-radius:0 8px 8px 0}
html body .seventh-dicts .seventh-selected td{background:#f0f6ff!important}html body .seventh-dicts .seventh-selected td:first-child{box-shadow:inset 3px 0 #007aff}
html body .seventh-dicts .seventh-pick{border:0;background:transparent;color:#007aff;font-size:16px;padding:0}
html body .seventh-dict-selected-actions{margin:24px 0 32px}
html body .seventh-dict-selected-actions>p{font-size:16px;color:#6e727b;margin:0 0 12px}
html body .seventh-dict-selected-buttons{display:flex;gap:10px;flex-wrap:wrap}
html body .seventh-dict-selected-buttons button{min-height:42px;padding:0 14px;font-size:16px;background:white;border:1px solid #e4e6eb;border-radius:8px}
html body .seventh-dict-selected-buttons .dlnk-d{color:#e5484d}
html body .seventh-legacy-category-open>.seventh-legacy-alert,html body .seventh-legacy-category-open>.seventh-classic-back,html body .seventh-legacy-category-open>.seventh-classic-footer{display:none!important}
html body .seventh-classic-hints{margin:24px 0;color:#6e727b;font-size:14px}
html body .seventh-legacy-category-open>.seventh-classic-hints{display:none}
html body .seventh-classic-back{display:block;min-height:24px;height:24px;padding:0;margin:0 0 24px;border:0;background:transparent;color:#007aff;font-size:16px}
html body .seventh-legacy-tabs-page>.seventh-legacy-alert{max-width:1282px;margin:0 auto 30px;padding:32px!important;border:1px solid #e4e6eb;border-radius:16px}
html body .seventh-legacy-alert .alert-settings-hd{display:none}
html body .seventh-legacy-alert .alert-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px}
html body .seventh-legacy-alert .alert-toggle-box{grid-column:1/-1;border:0;padding:0;display:block;background:transparent}
html body .seventh-legacy-alert .alert-toggle-copy{margin-bottom:13px}
html body .seventh-legacy-alert .alert-toggle-copy b{font-size:16px;font-weight:400}
html body .seventh-legacy-alert .alert-toggle-copy span{font-size:13px}
html body .seventh-legacy-alert .fg label{font-size:16px;font-weight:400;line-height:22px;margin-bottom:13px}
html body .seventh-classic-footer{max-width:1282px;margin:0 auto;padding:20px 0 0;border-top:1px solid #e4e6eb;background:transparent}
html body .seventh-classic-footer .alert-settings-actions{justify-content:flex-start}
@media(max-width:650px){html body .seventh-legacy-alert .alert-setting-grid{grid-template-columns:1fr}}

html body #page-possync .seventh-table th .review-sort{background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;padding:0!important;height:auto!important;min-height:0!important;font:inherit!important}html body .seventh-pos-items-title{font-size:18px!important;line-height:24px!important;margin:0 0 16px!important}

html body #page-settings .seventh-classic-back{height:24px!important;min-height:24px!important;padding:0!important;border:0!important;background:transparent!important;color:#007aff!important;box-shadow:none!important}html body #page-settings .seventh-legacy-alert label.switch{position:relative!important;display:block!important;width:50px!important;height:29px!important;min-height:29px!important;padding:0!important;margin:0!important}html body #page-settings .seventh-legacy-alert .switch-track{position:absolute!important;display:block!important;inset:0!important;width:50px!important;height:29px!important;background:#d1d1d6!important;border:0!important;border-radius:999px!important}html body #page-settings .seventh-legacy-alert .switch-track:after{width:23px!important;height:23px!important;top:3px!important;left:3px!important;background:#fff!important}html body #page-settings .seventh-legacy-alert input:checked+.switch-track{background:#34c759!important}html body #page-settings .seventh-legacy-alert input:checked+.switch-track:after{transform:translateX(21px)!important}

html body #dict-groups.seventh-dicts table td:last-child{text-align:left!important}html body #dict-groups.seventh-dicts table td:last-child>button{float:none!important;margin-left:0!important;margin-right:auto!important}

html body .seventh-hub[data-pane=permission-security] .seventh-settings-section h3{font-size:24px!important;line-height:32px!important;font-weight:700!important;color:#1d1d1f!important}html body .seventh-hub[data-pane=permission-security] .seventh-settings-footer .hub-action.primary{background:#fff!important;border-color:#e4e6eb!important;color:#1d1d1f!important}

html body #page-users .seventh-table th .review-sort,html body #page-audit .seventh-table th .review-sort{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;font:inherit!important;color:inherit!important;min-height:0!important;height:auto!important}

html body #page-settings .seventh-legacy-alert .alert-settings-body{padding:0!important;margin:0!important}
html body #page-settings .seventh-legacy-alert{padding:32px 31px 41px!important}
html body #page-settings .seventh-legacy-alert .alert-toggle-box{padding:0!important;border:0!important;background:transparent!important}
html body #page-settings .seventh-legacy-alert label.switch{display:flex!important;align-items:center!important;gap:8px!important;width:auto!important;height:20px!important;min-height:20px!important;position:static!important}
html body #page-settings .seventh-legacy-alert #fa-enabled{position:static!important;opacity:1!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;appearance:auto!important}
html body #page-settings .seventh-legacy-alert .switch-track{display:none!important}
html body #page-settings .seventh-checkbox-caption{font-size:16px!important;line-height:20px!important;color:#1d1d1f!important}
html body #page-settings #fa-save-btn{background:#fff!important;color:#1d1d1f!important;border:1px solid #e4e6eb!important}
html body #page-settings .seventh-classic-back,html body .seventh-settings-back[data-settings-pane=permission-security]{display:flex!important;align-items:center!important;gap:16px!important;padding-left:6px!important}
html body #page-settings .seventh-classic-back:before,html body .seventh-settings-back[data-settings-pane=permission-security]:before{content:'';display:block;width:10px;height:10px;border-left:1.6px solid #007aff;border-bottom:1.6px solid #007aff;transform:rotate(45deg)}

html body .seventh-dialog[data-screen="possync--possync-items"] th:first-child{border-radius:8px 0 0 8px!important}html body .seventh-dialog[data-screen="possync--possync-items"] th:last-child{border-radius:0 8px 8px 0!important}

html body #page-settings .seventh-legacy-alert .alert-setting-grid{align-items:start!important;row-gap:35px!important}
html body #page-settings .seventh-legacy-alert .alert-toggle-box{min-height:57px!important}
html body #page-settings .seventh-legacy-alert .fg{gap:0!important;margin:0!important}
html body #page-settings .seventh-legacy-alert .fg>label{line-height:22px!important;margin:0 0 10px!important}
html body #page-settings .seventh-legacy-alert .fg input{height:46px!important;min-height:46px!important;font-size:18px!important;font-weight:400!important;line-height:24px!important}
html body #page-settings .seventh-classic-footer .btn{height:42px!important;font-size:16px!important;font-weight:400!important;line-height:24px!important}

/* Match the original <=700px record-card breakpoint; no desktop table changes. */
@media(max-width:700px){
 html body #app .page table.mobile-record-table{width:100%!important;max-width:100%!important;min-width:0!important}
 html body #app .page table.mobile-record-table>colgroup{display:none!important}
 html body #app .page table.mobile-record-table td{height:auto!important;min-height:0!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;overflow:visible!important}
}
