:root {
  color-scheme: light;
  --bg: #f3f2ee;
  --surface: #fff;
  --raised: #f7f7f4;
  --selected: #e9f4f6;
  --border: #dcdedb;
  --border-strong: #aeb9ba;
  --text: #182c38;
  --muted: #66777c;
  --primary: #176a7b;
  --primary-deep: #163744;
  --accent: #29a8c9;
  --success: #0c7656;
  --warning: #9a5b00;
  --danger: #b42318;
  --focus: rgb(41 168 201 / 40%);
  --shadow: 0 1px 2px rgb(17 19 21 / 5%), 0 7px 20px rgb(17 19 21 / 4%);
  font-family: "Segoe UI Variable Text", Aptos, Inter, "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  line-height: 1.42;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: var(--primary); }
:where(a,button,input,select,[tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
.app-shell { display: grid; grid-template-columns: 244px minmax(0,1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--border); background: var(--surface); z-index: 60; box-shadow: 7px 0 24px rgb(17 19 21 / 14%); }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; min-height: 92px; padding: 20px 18px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--primary-deep); }
.brand strong,.brand small { display: block; }
.brand strong { font-size: 17px; font-weight: 750; letter-spacing: -.35px; }
.brand small { margin-top: 3px; font-size: 11px; color: var(--muted); }
.brand-mark { display: grid; width: 40px; height: 42px; place-items: center; border-radius: 10px; color: white; background: var(--primary); }
.brand-mark .icon { width: 24px; height: 24px; }
.sidebar nav { flex: 1 1 auto; min-height: 0; padding: 8px 10px 18px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #92aac2 transparent; }
.nav-heading { display: block; margin: 20px 9px 7px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 1.1px; text-transform: uppercase; }
.sidebar nav a { display: flex; align-items: center; min-height: 38px; gap: 9px; margin: 3px 0; padding: 7px 10px; border: 1px solid transparent; border-radius: 6px; color: #40566d; font-size: 13px; text-decoration: none; transition: background 140ms ease,border-color 140ms ease,color 140ms ease; }
.sidebar nav a .icon { color: var(--primary); width: 16px; height: 16px; }
.sidebar nav a:hover { color: var(--text); background: var(--raised); border-color: var(--border); }
.sidebar nav a.active { color: var(--primary-deep); background: rgb(20 121 201 / 14%); border-color: rgb(20 121 201 / 26%); box-shadow: inset 3px 0 0 var(--accent); font-weight: 700; }
.sidebar nav a.active .icon { color: var(--primary-deep); }
.sidebar nav .nav-workspace { min-height: 43px; font-size: 13px; font-weight: 650; }
.sidebar nav .nav-workspace .icon { width: 19px; height: 19px; }
.nav-module { margin-block: 3px 5px; }
.nav-module-toggle,.nav-future-module { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 43px; padding: 8px 9px; color: #40566d; background: transparent; border: 1px solid transparent; border-radius: 6px; text-align: left; font-size: 13px; }
.nav-module-toggle:hover { border-color: var(--border); background: var(--raised); }
.nav-module-toggle strong,.nav-future-module strong { font-weight: 650; }
.nav-module.current-module > .nav-module-toggle { color: var(--primary-deep); background: var(--raised); }
.nav-module-icon { display: grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; color: var(--primary); background: rgb(20 121 201 / 12%); border: 1px solid rgb(20 121 201 / 20%); border-radius: 50%; }
.nav-module-icon .icon { width: 15px; height: 15px; }
.nav-module-count { display: grid; width: 19px; height: 19px; place-items: center; margin-left: auto; border: 1px solid var(--border); border-radius: 5px; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 600; }
.nav-chevron { display: flex; margin-left: auto; color: var(--muted); transition: transform 140ms ease; }
.nav-module-count + .nav-chevron { margin-left: 1px; }
.nav-chevron .icon { width: 12px; height: 12px; }
.nav-chevron.open { transform: rotate(90deg); }
.nav-module-children { margin: 5px 3px 12px 22px; padding-left: 12px; border-left: 1px solid rgb(20 121 201 / 20%); }
.nav-module-children[hidden] { display: none; }
.nav-future-modules { display: grid; gap: 3px; margin-top: 9px; }
.sidebar .nav-future-module:disabled { opacity: 1; color: #657b90; }
.nav-future-module .nav-module-icon { color: #657b90; background: var(--raised); border-color: var(--border); }
.nav-future-module small { margin-left: auto; padding: 2px 5px; border: 1px solid var(--border); border-radius: 4px; color: #657b90; background: var(--raised); font-size: 8px; font-weight: 500; white-space: nowrap; }
.nav-management { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--border); }
.sidebar-footer { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--raised); color: var(--muted); font-size: 10px; }
.sidebar-footer strong,.sidebar-footer small { display: block; }
.sidebar-footer strong { color: var(--text); font-size: 11px; font-weight: 650; }
.sidebar-footer small { margin-top: 2px; font-size: 10px; }
.source-mark { display: grid; width: 30px; height: 32px; place-items: center; color: var(--success); background: rgb(12 118 86 / 7%); border-radius: 6px; }
.source-mark .icon { width: 18px; height: 18px; }
.sidebar .drawer-close { display: none; }
.navigation-open .drawer-close { display: grid; position: absolute; top: 11px; right: 11px; width: 28px; min-height: 28px; z-index: 1; color: var(--muted); background: var(--raised); border-color: var(--border); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.status-dot.neutral { background: #657b90; }
.workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 40; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 23px; border-bottom: 1px solid var(--border); background: rgb(255 255 255 / 97%); box-shadow: 0 1px 2px rgb(17 19 21 / 5%); }
.topbar-start { display: flex; gap: 12px; align-items: center; }
.environment-badge { padding: 3px 7px; border: 1px solid #bad7ed; border-radius: 4px; color: var(--primary-deep); background: #e6f1fb; font-size: 10px; font-weight: 750; }
.topbar-context { display: grid; padding-left: 12px; border-left: 1px solid var(--border); }
.topbar-context small { text-transform: uppercase; font-size: 9px; font-weight: 750; color: var(--muted); }
.topbar-context strong { color: var(--primary-deep); font-size: 12px; }
.topbar-mode { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.topbar-mode .icon { width: 16px; height: 16px; }
main { min-height: calc(100vh - 58px); padding: 23px; background: radial-gradient(circle at 9% -6%,rgb(20 121 201 / 7%),transparent 28rem),var(--bg); }
.page { max-width: 1760px; margin: 0 auto; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 17px; }
.eyebrow { margin: 0 0 5px; color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(24px,2.25vw,31px); letter-spacing: -.8px; line-height: 1.2; font-weight: 760; }
.page-description { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; gap: 7px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 6px; color: var(--primary-deep); background: white; font-weight: 700; font-size: 12px; text-decoration: none; white-space: nowrap; transition: background 140ms ease,border-color 140ms ease; }
.button:hover:not(:disabled) { background: var(--raised); border-color: var(--primary); }
.button.primary { border-color: var(--primary); color: #fff; background: var(--primary); }
.button.primary:hover:not(:disabled) { background: #004b8d; }
.button .icon { width: 16px; height: 16px; }
.icon-button { display: grid; place-items: center; width: 32px; min-height: 32px; padding: 5px; color: var(--muted); background: white; border: 1px solid var(--border); border-radius: 5px; }
.icon-button:hover { background: var(--selected); }
.menu-toggle,.drawer-backdrop { display: none; }
.context-strip { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 13px 17px; background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.company-context { display: flex; gap: 12px; align-items: center; min-width: 0; }
.company-avatar { display: grid; width: 36px; height: 36px; border-radius: 6px; place-items: center; background: var(--selected); color: var(--primary); flex: 0 0 auto; }
.company-copy strong,.company-copy small { display: block; }
.company-copy strong { font-size: 14px; }
.company-copy small { color: var(--muted); font-size: 11px; margin-top: 2px; overflow-wrap: anywhere; }
.company-facts { display: flex; align-items: center; gap: 25px; }
.company-facts div { display: grid; gap: 3px; }
.company-facts span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .5px; }
.company-facts strong { font-size: 12px; font-weight: 700; }
.readonly-label { display: inline-flex; gap: 5px; align-items: center; color: var(--success); font-size: 11px; font-weight: 650; }
.readonly-label .icon { width: 15px; height: 15px; }
.period-form { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
.period-form label { display: grid; gap: 5px; color: #41536a; font-size: 10px; font-weight: 750; }
.period-form input { width: 159px; min-height: 37px; padding: 7px 10px; border: 1px solid var(--border-strong); border-radius: 6px; background: white; color: var(--text); font-size: 12px; }
.period-shortcut { margin-left: auto; min-height: 36px; border: 0; background: transparent; color: var(--primary); font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.text-button { padding: 0; border: 0; background: none; color: var(--primary); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.action-message { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: 11px; }
.active-filter { display: flex; align-items: center; gap: 8px; padding: 9px 18px; color: #80520c; background: #fff7e8; border-bottom: 1px solid #ecd8b3; font-size: 11px; }
.active-filter .text-button { margin-left: auto; }
.source-footer { display: flex; gap: 6px; align-items: start; padding: 14px 2px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.source-footer .icon { width: 14px; height: 14px; }
.statement-label { font-size: 10px; white-space: nowrap; }
.initial-state { border: 0; border-radius: 0; }
.validation { width: 100%; color: var(--danger); font-size: 12px; margin: 0; }
.report-overview { display: grid; grid-template-columns: 1fr 1fr 1.12fr; margin-bottom: 17px; background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.overview-link { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border: 0; border-right: 1px solid var(--border); background: white; text-align: left; color: var(--text); }
.overview-link:hover { background: var(--raised); }
.overview-link.active { background: #f3f9fe; box-shadow: inset 0 -3px var(--accent); }
.overview-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 650; }
.overview-label .icon { color: var(--primary); width: 15px; height: 15px; }
.overview-value { font-size: clamp(20px,2vw,26px); color: var(--primary-deep); line-height: 1.3; letter-spacing: -.6px; font-weight: 760; }
.overview-caption { display: flex; justify-content: space-between; gap: 7px; font-size: 10px; color: var(--muted); }
.overview-control { padding: 16px 18px; background: var(--raised); }
.overview-control strong { display: block; margin: 8px 0 3px; font-size: 15px; }
.overview-control p { margin: 0; font-size: 11px; color: var(--muted); }
.tone-success { color: var(--success) !important; }
.tone-warning { color: var(--warning) !important; }
.tone-danger { color: var(--danger) !important; }
.control-heading { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; color: var(--muted); }
.control-heading .icon { width: 16px; height: 16px; }
.report-workbench { background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.report-tabs { display: flex; gap: 20px; padding: 0 17px; border-bottom: 1px solid var(--border); }
.report-tabs button { display: flex; align-items: center; gap: 7px; min-height: 48px; padding: 10px 2px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.report-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 750; }
.report-tabs .icon { width: 16px; height: 16px; }
.report-heading { display: flex; justify-content: space-between; gap: 15px; align-items: start; padding: 19px 18px 14px; }
.report-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.35px; }
.report-heading p { color: var(--muted); font-size: 11px; margin: 4px 0 0; }
.currency-note { text-align: right; white-space: nowrap; color: var(--muted); font-size: 10px; padding-top: 3px; }
.currency-note strong { color: var(--primary-deep); }
.table-tools { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 10px 18px; background: var(--raised); border-top: 1px solid #e7eff5; border-bottom: 1px solid var(--border); }
.search-field { display: flex; align-items: center; gap: 8px; min-width: 200px; width: min(360px,45%); padding: 7px 9px; border: 1px solid var(--border-strong); border-radius: 5px; background: white; }
.search-field .icon { width: 15px; height: 15px; color: var(--muted); }
.search-field input { width: 100%; border: 0; background: transparent; color: var(--text); font-size: 12px; min-width: 0; }
.search-field input:focus { outline: 0; }
.search-field:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.checkbox-field { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.checkbox-field input { accent-color: var(--primary); width: 14px; height: 14px; }
.row-count { color: var(--muted); font-size: 10px; white-space: nowrap; }
.table-scroll { overflow: auto; max-height: 58vh; scrollbar-color: #92aac2 #edf4fa; scrollbar-width: thin; }
.report-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.report-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.report-table thead th { position: sticky; top: 0; z-index: 10; background: #edf2f7; border-bottom: 1px solid var(--border-strong); padding: 10px 13px; color: #3f526a; font-size: 9px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; text-align: left; white-space: nowrap; }
.report-table td { padding: 10px 13px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
.report-table tbody tr:nth-child(even) { background: #fbfcfe; }
.report-table tbody tr:hover { background: #eef5fb; }
.report-table tbody tr.selected { background: var(--selected); }
.report-table .numeric { text-align: right; white-space: nowrap; }
.report-table .account-code { color: var(--primary); font-size: 11px; font-weight: 700; white-space: nowrap; }
.account-link { border: 0; padding: 0; background: none; color: inherit; text-align: left; font: inherit; }
.account-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.account-name { min-width: 180px; }
.report-table .synthetic { background: #f0f7f5 !important; }
.report-table .synthetic td { font-weight: 700; border-top: 1px solid #bdd6cb; }
.synthetic-label { margin-left: 7px; border: 1px solid #bdd6cb; border-radius: 3px; padding: 2px 4px; font-size: 8px; font-weight: 650; color: var(--success); white-space: nowrap; }
.report-table tfoot td { position: sticky; bottom: 0; z-index: 9; border-top: 1px solid var(--border-strong); border-bottom: 0; background: #edf2f7; color: var(--primary-deep); font-weight: 750; padding-block: 13px; }
.table-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; padding: 11px 18px; color: var(--muted); font-size: 10px; background: var(--raised); border-top: 1px solid var(--border); }
.source-time { display: flex; align-items: center; gap: 5px; }
.source-time .icon { width: 13px; height: 13px; }
.warning-stack { display: grid; gap: 7px; margin: 14px 0; }
.warning-banner { display: flex; gap: 10px; padding: 11px 13px; border: 1px solid #e7cfa7; background: #fff9ed; border-radius: 6px; color: #785015; font-size: 11px; }
.warning-banner .icon { width: 17px; height: 17px; margin-top: 1px; }
.warning-banner strong { display: block; margin-bottom: 2px; font-size: 11px; }
.warning-banner p { margin: 0; }
.financial-warning { margin: 13px 0 16px; border: 1px solid #e7cfa7; border-radius: 6px; color: #785015; background: #fff9ed; overflow: hidden; }
.financial-warning summary { display: flex; align-items: center; gap: 10px; padding: 11px 13px; cursor: pointer; list-style: none; }
.financial-warning summary::-webkit-details-marker,.source-information summary::-webkit-details-marker { display: none; }
.financial-warning summary > .icon { width: 18px; height: 18px; }
.financial-warning-copy { display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; font-size: 11px; }
.financial-warning-copy strong { font-size: 11px; }
.warning-details-label { display: flex; gap: 4px; align-items: center; margin-left: auto; white-space: nowrap; font-size: 10px; font-weight: 700; }
.warning-details-label .icon { width: 13px; height: 13px; }
.financial-warning[open] .warning-details-label .icon,.source-information[open] summary > .icon:last-child { transform: rotate(90deg); }
.warning-details-body { display: grid; gap: 11px; padding: 0 13px 14px 41px; border-top: 1px solid #efdfc4; font-size: 11px; }
.warning-details-body > div:first-child { padding-top: 12px; }
.warning-details-body strong { display: block; margin-bottom: 3px; }
.warning-details-body p { margin: 0; line-height: 1.55; }
.context-panels { display: grid; gap: 13px; align-content: start; }
.source-information { border: 1px solid var(--border); border-radius: 8px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.source-information summary { display: flex; align-items: center; gap: 8px; padding: 13px 15px; cursor: pointer; color: var(--primary-deep); list-style: none; }
.source-information summary strong { font-size: 12px; }
.source-information summary > span { margin-left: auto; color: var(--muted); font-size: 9px; }
.source-information summary .icon { width: 15px; height: 15px; }
.source-information-body { padding: 0 15px 14px; font-size: 10px; }
.source-information-body dl { display: grid; gap: 3px; margin: 0 0 12px; }
.source-information-body dt { color: var(--muted); margin-top: 8px; }
.source-information-body dd { margin: 0; overflow-wrap: anywhere; }
.source-warning { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--muted); line-height: 1.55; }
.source-warning strong { color: var(--primary-deep); }
.source-warning p { margin: 3px 0 0; }
.error-banner { display: flex; gap: 10px; padding: 14px; border: 1px solid #ecc2bf; background: #fff5f4; color: var(--danger); border-radius: 6px; font-size: 12px; margin-bottom: 15px; }
.error-banner strong { display: block; margin-bottom: 4px; }
.error-banner p { margin: 0; }
.state-panel { display: grid; justify-items: center; gap: 10px; padding: 45px 20px; text-align: center; background: white; border: 1px solid var(--border); border-radius: 8px; }
.state-panel h2 { margin: 0; font-size: 18px; }
.state-panel p { margin: 0; max-width: 470px; font-size: 12px; color: var(--muted); }
.empty-in-table td { padding: 42px 18px; text-align: center; color: var(--muted); }
.loading-table { display: grid; gap: 15px; padding: 25px 18px; }
.skeleton { height: 14px; border-radius: 3px; background: #e4edf5; animation: pulse 1.5s ease-in-out infinite; }
.skeleton:nth-child(2n) { width: 84%; }
.loading-label { display: flex; gap: 8px; align-items: center; color: var(--primary-deep); font-size: 12px; }
.spinner { display: inline-block; height: 19px; width: 19px; border: 2px solid #c6deef; border-top-color: var(--primary); border-radius: 50%; animation: spin 800ms linear infinite; }
.reconciliation { display: grid; grid-template-columns: minmax(0,1fr) minmax(290px,34%); gap: 17px; margin-top: 17px; }
.reconciliation-panel,.detail-panel { background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.panel-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--raised); }
.panel-heading h3 { margin: 0; font-size: 12px; font-weight: 750; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; color: var(--success); background: #e5f2eb; border-radius: 4px; font-size: 9px; font-weight: 700; }
.status-chip.warning { background: #fff0d5; color: #80520c; }
.reconciliation-lines { padding: 7px 16px; }
.reconciliation-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; border-bottom: 1px solid #e7eff5; padding: 9px 0; font-size: 11px; color: var(--muted); }
.reconciliation-line:last-child { border-bottom: 0; color: var(--text); font-weight: 750; }
.reconciliation-line strong { color: var(--text); font-weight: 650; white-space: nowrap; }
.panel-note { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 10px; }
.detail-copy { padding: 14px 16px; }
.detail-copy h4 { margin: 0 0 4px; font-size: 15px; }
.detail-copy p { color: var(--muted); font-size: 11px; margin: 0 0 12px; }
.detail-copy dl { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin: 0; font-size: 11px; }
.detail-copy dt { color: var(--muted); }
.detail-copy dd { margin: 0; text-align: right; font-weight: 650; }
.detail-placeholder { padding: 21px 16px; color: var(--muted); font-size: 11px; }
.detail-placeholder strong { display: block; color: var(--primary-deep); font-size: 13px; margin: 6px 0; }
.detail-placeholder p { margin: 0; }
.detail-placeholder .icon { color: var(--primary); width: 23px; height: 23px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: white; box-shadow: var(--shadow); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.boot-state { display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 100vh; color: var(--primary-deep); font-size: 13px; }
.boot-state span:last-child { color: var(--muted); font-size: 12px; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; width: 100%; padding: 13px 20px; background: #fff0ee; color: var(--danger); z-index: 100; font-size: 12px; }
#blazor-error-ui a { color: var(--danger); margin-left: 9px; }
#blazor-error-ui .dismiss { float: right; border: 0; background: transparent; color: var(--danger); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; } }
@media (max-width:1180px) {
  .app-shell { grid-template-columns: 220px minmax(0,1fr); }
  main { padding: 17px; }
  .company-facts { gap: 17px; }
  .report-table td,.report-table th { padding-inline: 10px; }
}
@media (max-width:980px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; width: 244px; max-width: calc(100vw - 38px); visibility: hidden; transform: translateX(-105%); transition: transform 160ms ease,visibility 160ms ease; }
  .navigation-open .sidebar { visibility: visible; transform: translateX(0); }
  .menu-toggle { display: grid; }
  .navigation-open .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 55; border: 0; background: rgb(16 37 58 / 40%); }
  .topbar { padding-inline: 17px; }
  .reconciliation { grid-template-columns: 1fr 1fr; }
}
@media (max-width:700px) {
  main { padding: 14px 10px; }
  .page-header { align-items: start; flex-wrap: wrap; gap: 12px; }
  .page-header h1 { font-size: 25px; }
  .header-actions { width: 100%; }
  .header-actions .button { flex: 1; }
  .context-strip { flex-wrap: wrap; gap: 12px; padding: 12px; }
  .company-facts { width: 100%; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--border); }
  .period-form { gap: 9px; }
  .period-form label { flex: 1; }
  .period-form input { width: 100%; }
  .period-form .button { width: 100%; }
  .period-shortcut { margin-left: 0; min-height: 26px; }
  .report-overview { grid-template-columns: 1fr 1fr; }
  .overview-link { padding: 13px; }
  .overview-control { grid-column: 1 / -1; padding: 11px 13px; border-top: 1px solid var(--border); }
  .overview-control strong { display: inline; margin-right: 8px; font-size: 12px; }
  .overview-control p { display: inline; font-size: 10px; }
  .control-heading { margin-bottom: 5px; }
  .report-tabs { overflow-x: auto; gap: 17px; padding-inline: 13px; }
  .report-tabs button { min-height: 45px; }
  .report-heading { padding: 14px 13px; }
  .table-tools { padding: 9px 13px; flex-wrap: wrap; gap: 10px; }
  .search-field { width: 100%; }
  .row-count { margin-left: auto; }
  .reconciliation { grid-template-columns: 1fr; }
  .topbar-context { display: none; }
  .topbar-mode { font-size: 11px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  :root,body { background: white; font-size: 10pt; }
  .sidebar,.topbar,.drawer-backdrop,.skip-link,.header-actions,.period-form,.report-tabs,.table-tools,.overview-link,.detail-panel,#blazor-error-ui { display: none !important; }
  .app-shell { display: block; }
  main { padding: 0; background: white; min-height: 0; }
  .page-header { margin-bottom: 10px; }
  .context-strip,.report-workbench,.reconciliation-panel { box-shadow: none; border-color: #bbb; }
  .context-strip { padding: 8px 10px; margin-bottom: 10px; }
  .report-overview { display: block; margin-bottom: 10px; border: 0; }
  .overview-control { padding: 0; background: white; }
  .report-heading { padding: 10px; }
  .table-scroll { overflow: visible; max-height: none; }
  .report-table { font-size: 9pt; }
  .report-table thead { display: table-header-group; }
  .report-table thead th,.report-table tfoot td { position: static; }
  .report-table tr { break-inside: avoid; }
  .report-table td,.report-table thead th { padding: 6px 8px; }
  .account-link { color: black; }
  .reconciliation { display: block; break-inside: avoid; margin-top: 10px; }
  .warning-banner { break-inside: avoid; }
  .financial-warning { break-inside: avoid; }
  .financial-warning .warning-details-body { display: grid !important; }
  .source-information { margin-top: 10px; break-inside: avoid; box-shadow: none; }
  .source-information-body { display: block !important; }
  .source-information summary > .icon:last-child,.warning-details-label { display: none !important; }
  .table-footer { padding: 7px 10px; }
  .currency-note { font-size: 9pt; }
}

.brand.has-logo { flex-direction: column; align-items: flex-start; gap: 9px; padding: 17px 12px 20px; }
.brand-logo { width: 220px; max-width: 100%; height: 140px; object-fit: contain; object-position: center; flex: 0 0 auto; }
.brand > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.session-tools { display: flex; align-items: center; gap: 13px; }
.session-identity { display: flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; color: var(--text); }
.session-avatar { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--primary); background: var(--selected); }
.session-avatar .icon { width: 18px; height: 18px; }
.session-copy { display: grid; gap: 1px; min-width: 0; }
.session-identity strong { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.session-identity small { font-size: 10px; color: var(--muted); }
.logout-button { padding-inline: 10px; font-size: 11px; }
.session-error { margin: 12px 23px 0; }
.role-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 4px; color: var(--primary-deep); background: var(--raised); font-size: 10px; font-weight: 650; white-space: nowrap; }
.role-chip .icon { width: 14px; height: 14px; }
.status-chip.inactive { background: #edf0f3; color: #4f606f; }
.access-form { display: grid; gap: 14px; }
.access-form label { display: grid; gap: 6px; color: #3b5165; font-size: 11px; font-weight: 700; }
.access-form input:not([type=checkbox]), .access-form select { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid var(--border-strong); border-radius: 5px; color: var(--text); background: white; font-size: 13px; }
.access-form input:disabled,.access-form select:disabled { background: #f0f3f7; color: #546a7c; }
.access-form .checkbox-field { display: flex; font-size: 12px; font-weight: 550; }
.access-form > p { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 0; }
.access-form > p.validation { color: var(--danger); }
.access-form > p.action-message { color: var(--success); }
.form-symbol { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 10px; background: var(--selected); color: var(--primary); }
.form-symbol .icon { width: 24px; height: 24px; }
.access-state { max-width: 780px; margin: 50px auto; padding: 50px 30px; }
.access-state h1 { font-size: 25px; }
.access-state .eyebrow { margin: 4px 0 0; }
.settings-tabs { padding-inline: 0; margin-bottom: 18px; }
.role-guide { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-bottom: 20px; border-block: 1px solid var(--border); background: #f7faff; }
.role-guide > div { display: grid; gap: 5px; padding: 14px 18px; border-right: 1px solid var(--border); }
.role-guide > div:last-child { border-right: 0; }
.role-guide strong { color: var(--primary-deep); font-size: 12px; }
.role-guide span { font-size: 11px; color: var(--muted); line-height: 1.6; }
.administration-workbench { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,365px); align-items: start; gap: 18px; }
.users-section { min-width: 0; background: white; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; box-shadow: var(--shadow); }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 17px; border-bottom: 1px solid var(--border); }
.admin-toolbar h2 { margin: 0; font-size: 15px; }
.admin-toolbar h2 span { display: inline-block; margin-left: 6px; font-size: 10px; color: var(--muted); }
.admin-search { margin: 13px 17px; width: min(340px,calc(100% - 34px)); }
.user-table-scroll { max-height: 65vh; }
.user-table { font-size: 11px; }
.user-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.user-table td strong { font-size: 12px; }
.user-table td .role-chip { font-size: 9px; }
.admin-hint { border-left: 2px solid var(--border-strong); padding: 15px 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.admin-hint > .icon { width: 26px; height: 26px; color: var(--primary); }
.admin-hint h2 { color: var(--primary-deep); font-size: 17px; margin: 12px 0 6px; }
.settings-section { background: white; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; box-shadow: var(--shadow); }
.settings-section > header { padding: 18px; border-bottom: 1px solid var(--border); background: var(--raised); }
.settings-section h2 { margin: 0; font-size: 17px; letter-spacing: -.3px; }
.settings-section header p:not(.eyebrow) { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 6px 0 0; }
.settings-section > .access-form { padding: 18px; }
.settings-section > .validation,.settings-section > .action-message { margin: 0 18px 18px; }
.editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.editor-heading .eyebrow { margin-bottom: 5px; font-size: 9px; }
.user-editor { position: sticky; top: 78px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.access-fieldset { border: 1px solid var(--border); border-radius: 5px; margin: 0; padding: 12px; background: var(--raised); }
.access-fieldset legend { font-size: 10px; color: var(--muted); padding: 0 5px; font-weight: 700; }
.access-fieldset p { margin: 8px 0 0; font-size: 10px; line-height: 1.6; color: var(--muted); }
.password-reset { border-top: 1px solid var(--border); }
.password-reset summary { display: flex; align-items: center; gap: 7px; padding: 16px 18px; cursor: pointer; color: var(--primary-deep); font-size: 11px; font-weight: 650; }
.password-reset summary .icon { width: 15px; height: 15px; }
.password-reset form { padding: 0 18px 18px; }
.account-page { max-width: 920px; }
.password-section { max-width: 550px; }
.branding-workbench { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 20px; max-width: 1050px; }
.logo-preview { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; min-height: 210px; margin: 18px; background: #f8fbfd; border: 1px dashed var(--border-strong); border-radius: 5px; color: var(--muted); font-size: 11px; }
.logo-preview img { width: 320px; max-width: 90%; height: 180px; object-fit: contain; }
.logo-preview > .icon { width: 33px; height: 33px; }
.upload-field { display: grid; gap: 8px; margin: 18px; font-size: 11px; font-weight: 700; color: #3b5165; }
.upload-field input { max-width: 100%; font-size: 11px; color: var(--muted); }
.upload-field input::file-selector-button { border: 1px solid var(--border-strong); border-radius: 5px; padding: 7px 10px; margin-right: 9px; color: var(--primary-deep); background: var(--raised); font: inherit; cursor: pointer; }
.selected-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; margin: 18px; padding: 12px; background: var(--raised); border: 1px solid var(--border); border-radius: 5px; }
.selected-logo img { width: 320px; max-width: 100%; height: 180px; object-fit: contain; object-position: left center; }
.selected-logo span { font-size: 11px; overflow-wrap: anywhere; }
.selected-logo small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.logo-reason { margin-inline: 18px; }
.settings-section > .button { margin: 16px 18px 18px; }
.remove-logo { display: block; margin: 0 18px 18px; color: var(--danger); font-size: 11px; }
.remove-confirmation { margin: 0 18px 18px; padding: 12px; border: 1px solid var(--border); background: var(--raised); border-radius: 5px; }
.remove-confirmation p { margin: 0 0 12px; font-size: 11px; color: var(--muted); }
@media (max-width:1180px) {
  .administration-workbench { grid-template-columns: minmax(0,1fr); }
  .user-editor { position: static; max-width: 600px; }
  .admin-hint { max-width: 620px; }
}
@media (max-width:700px) {
  .role-guide { grid-template-columns: 1fr; }
  .role-guide > div { border-right: 0; border-bottom: 1px solid var(--border); padding: 11px 13px; }
  .role-guide > div:last-child { border-bottom: 0; }
  .branding-workbench { grid-template-columns: 1fr; }
  .admin-toolbar { padding: 13px; flex-wrap: wrap; }
  .admin-search { margin-inline: 13px; }
  .session-identity strong { max-width: 140px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
  .session-tools { gap: 8px; }
  .logout-button span { display: none; }
  .logout-button { min-width: 34px; }
  .session-error { margin-inline: 10px; }
  .header-actions { flex-wrap: wrap; }
}
@media print { .session-error { display: none !important; } }

/* Financial statements: paper, ink and the customer's restrained cyan. */
.topbar { min-height: 58px; background: rgb(255 255 255 / 96%); box-shadow: 0 1px 2px rgb(17 19 21 / 5%); }
.environment-badge { color: var(--primary-deep); background: var(--selected); border-color: var(--border); }
.topbar-context strong { color: var(--primary-deep); font-weight: 650; }
main { padding: 26px 28px; background: var(--bg); }
.button { border-radius: 4px; font-weight: 650; }
.button.primary:hover:not(:disabled) { background: #135663; }
.icon-button { border-radius: 4px; background: transparent; }
.financial-header { margin-bottom: 22px; align-items: end; }
.financial-header h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px,3vw,43px); font-weight: 500; letter-spacing: -1.2px; color: #1e3742; }
.financial-header .eyebrow { margin-bottom: 9px; color: #718186; font-size: 9px; letter-spacing: 1.6px; }
.financial-header .eyebrow span { margin-inline: 7px; color: #adb5b4; }
.financial-header .page-description { margin-top: 8px; color: #6b7a7e; font-size: 12px; }
.report-issue { display: grid; text-align: right; gap: 3px; padding-bottom: 3px; }
.report-issue > span { font-size: 9px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); }
.report-issue strong { font-size: 13px; font-weight: 650; }
.report-issue small { font-size: 10px; color: var(--muted); }
.financial-command-bar { position: sticky; top: 58px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid #ccd4d1; border-radius: 5px; background: #fcfdfa; box-shadow: 0 3px 7px rgb(21 45 56 / 3%); }
.financial-command-bar .period-form { gap: 9px; margin: 0; align-items: center; }
.financial-command-bar .period-form label { gap: 2px; font-size: 8px; letter-spacing: .35px; }
.financial-command-bar .period-form input { width: 141px; min-height: 32px; border: 0; padding: 2px 0; border-radius: 0; background: transparent; font-size: 12px; font-weight: 600; }
.financial-command-bar .period-symbol { display: grid; place-items: center; width: 28px; color: #587782; }
.period-dash { color: #9da9aa; margin-inline: 2px; }
.financial-command-bar .period-form .button { margin-left: 5px; }
.financial-command-bar .period-shortcut { margin: 0; padding: 6px; font-size: 10px; min-height: 32px; color: #69818a; }
.financial-command-bar .header-actions { padding-left: 15px; border-left: 1px solid var(--border); align-items: center; }
.export-primary { color: #244d5b; border-color: #aabdbc; background: #edf4f1; }
.financial-workspace .context-strip { margin-bottom: 11px; padding: 7px 1px 11px; border: 0; border-radius: 0; border-bottom: 1px solid var(--border); background: transparent; box-shadow: none; }
.financial-workspace .company-avatar { width: 28px; height: 30px; color: #6c8188; background: #e6eae5; border-radius: 3px; }
.financial-workspace .company-avatar .icon { width: 17px; height: 17px; }
.financial-workspace .company-context { gap: 9px; }
.financial-workspace .company-copy strong { font-size: 12px; font-weight: 650; }
.financial-workspace .company-copy small { font-size: 9px; color: #7d888b; }
.financial-workspace .company-facts { gap: 24px; }
.financial-workspace .company-facts span { font-size: 8px; letter-spacing: .7px; }
.financial-workspace .company-facts strong { font-size: 10px; font-weight: 600; }
.financial-status-line { display: flex; align-items: center; gap: 0; margin-bottom: 20px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.status-line-label { display: flex; align-items: center; gap: 8px; margin-right: 20px; color: #73878b; font-size: 10px; white-space: nowrap; }
.status-line-label .icon { width: 16px; height: 16px; }
.status-line-value { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 14px; row-gap: 2px; padding: 6px 22px; border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--text); text-align: left; }
.status-line-value:hover { background: #eaf0ec; }
.status-line-value > span { font-size: 10px; color: #607579; }
.status-line-value strong { font-size: 17px; font-weight: 650; letter-spacing: -.45px; }
.status-line-value small { grid-column: 1 / -1; font-size: 8px; color: #7d8a8b; }
.status-line-control { margin-left: auto; display: grid; justify-items: end; gap: 4px; padding-left: 15px; }
.status-line-control small,.status-line-control .text-button { font-size: 9px; color: #748489; }
.financial-workspace .status-chip { border-radius: 3px; background: #e3ede5; }
.financial-workspace .financial-warning { margin-top: -5px; background: #fff8e9; border-radius: 4px; }
.statement-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; align-items: start; gap: 22px; }
.statement-layout.has-account-selection { grid-template-columns: minmax(0,1fr) 330px; }
.statement-paper { border: 1px solid #cfd7d3; border-radius: 4px; box-shadow: 0 3px 12px rgb(19 39 45 / 3%); background: #fffefa; }
.statement-paper .report-tabs { padding-inline: 20px; gap: 24px; background: #f5f6f2; border-color: #d6ddd7; }
.statement-paper .report-tabs button { min-height: 44px; font-size: 11px; letter-spacing: .1px; }
.statement-paper .report-tabs button.active { color: #254855; border-color: #279ab2; }
.statement-paper .report-heading { padding: 22px 20px 20px; align-items: center; }
.statement-kicker { margin: 0 0 6px !important; color: #788787 !important; font-size: 9px !important; font-weight: 650; letter-spacing: .7px; text-transform: uppercase; }
.statement-paper .report-heading h2 { font-family: Georgia, "Times New Roman", serif; color: #2a4147; font-size: 23px; font-weight: 400; letter-spacing: -.4px; }
.statement-paper .currency-note { padding-top: 0; font-size: 9px; color: #7a8989; line-height: 1.7; }
.statement-paper .currency-note strong { color: #3c5f68; font-size: 11px; }
.statement-paper .table-tools { padding: 9px 14px; background: #fffefa; border-color: #e0e5df; gap: 12px; }
.statement-paper .search-field { border-color: #d9dfd9; width: min(360px,49%); background: #fafbf7; padding: 7px 9px; }
.statement-paper .search-field input { font-size: 11px; }
.statement-paper .checkbox-field { font-size: 10px; }
.statement-paper .row-count { font-size: 9px; }
.statement-paper .row-count strong { color: #3c626c; font-weight: 750; }
.structure-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; padding: 8px 14px; background: #f5f6f1; border-bottom: 1px solid #d7ded6; }
.segmented-control { display: inline-flex; padding: 2px; border: 1px solid #d1dbd4; border-radius: 4px; background: #e8ece5; }
.segmented-control button { display: flex; gap: 5px; align-items: center; min-height: 26px; border: 0; border-radius: 3px; padding: 4px 8px; background: transparent; color: #71817f; font-size: 10px; }
.segmented-control button.active { background: #fffefa; color: #254e5b; box-shadow: 0 1px 3px rgb(25 47 52 / 12%); font-weight: 700; }
.segmented-control .icon { width: 13px; height: 13px; }
.level-control { display: flex; align-items: center; gap: 3px; }
.level-control > span { margin-right: 4px; color: #6a7e80; font-size: 9px; }
.level-control button { width: 25px; height: 25px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #5d747b; font-size: 10px; }
.level-control button:hover { background: #e3ebe4; }
.level-control button.active { color: #fff; background: #3b6170; border-color: #3b6170; font-weight: 700; }
.structure-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.tool-button { display: flex; gap: 4px; align-items: center; border: 0; background: transparent; padding: 5px 1px; color: #698086; font-size: 9px; }
.tool-button:hover { color: #173f4d; }
.tool-button .icon { width: 13px; height: 13px; }
.structure-note { font-size: 9px; color: #788887; }
.statement-scroll { max-height: 65vh; min-height: 240px; scrollbar-color: #a7b8b4 #f2f4ed; }
.statement-table { min-width: 760px; font-size: 12px; }
.statement-table.trial-statement { min-width: 880px; }
.statement-table thead th { background: #ecf0e9; color: #4e6664; border-bottom-color: #c5d1c7; font-size: 10px; letter-spacing: .6px; padding: 11px 10px; }
.statement-table thead th.statement-account { width: 34%; }
.statement-table td { padding: 9px 10px; border-color: #e9ece5; }
.statement-table td.numeric,.statement-table th.numeric { padding-inline: 7px; }
.statement-table .account-code { font-size: 12px; color: #456a73; font-weight: 600; min-width: 100px; }
.statement-table .account-name { min-width: 195px; color: #4e646b; }
.statement-table tbody tr:nth-child(even) { background: #fafbf7; }
.statement-table tbody tr:hover { background: #eef4ee; }
.statement-table .secondary-amount { color: #4b6466; font-size: 12px; }
.statement-table .primary-amount { color: #204d5b; background: rgb(54 130 143 / 4%); font-weight: 700; }
.statement-table tbody tr.selected { background: #e4f2f3 !important; box-shadow: inset 3px 0 #30a0b8; }
.rubric-cell { padding-left: calc(10px + var(--row-depth) * 14px) !important; }
.rubric-content { display: flex; align-items: center; gap: 6px; min-height: 22px; }
.rubric-disclosure { display: flex; align-items: center; gap: 7px; padding: 3px 0; border: 0; color: inherit; background: none; text-align: left; font: inherit; }
.rubric-disclosure strong { font-weight: inherit; }
.rubric-disclosure:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.disclosure-icon { display: inline-flex; transition: transform 140ms ease; flex: 0 0 auto; }
.disclosure-icon.open { transform: rotate(90deg); }
.disclosure-icon .icon { width: 12px; height: 12px; }
.rubric-code { color: #7b969d; font-size: 9px; font-weight: 500; }
.rubric-level { font-size: 8px; color: #60786d; border: 1px solid #ccd7cb; border-radius: 2px; padding: 0 3px; }
.rubric-count { margin-left: auto; color: #647b6a; font-size: 8px; font-weight: 500; }
.statement-table .rubric-row { color: #355865; font-weight: 650; background: #edf2e9 !important; }
.statement-table .rubric-row td { border-top: 1px solid #e2e7de; }
.statement-table .rubric-row .secondary-amount { color: #4b6462; font-weight: 600; }
.statement-table .rubric-level-1 { color: #f1f5f0; background: #274856 !important; font-size: 13px; font-weight: 650; }
.statement-table .rubric-level-1 td { border-top: 7px solid #fffefa; border-bottom-color: #274856; padding-block: 12px; }
.statement-table .rubric-level-1 .secondary-amount { color: #bdd0cf; }
.statement-table .rubric-level-1 .primary-amount { color: #fff; background: #315460; }
.statement-table .rubric-level-1 .rubric-code,.statement-table .rubric-level-1 .rubric-count { color: #abc7c7; }
.statement-table .rubric-level-1 .rubric-level { border-color: #5b7c83; color: #b3c9cc; }
.statement-table .rubric-level-2 { background: #e6ece1 !important; }
.statement-table .rubric-level-3 { background: #f0f3ec !important; font-size: 12px; }
.statement-table .rubric-level-4,.statement-table .rubric-level-5 { background: #f8f9f3 !important; font-size: 12px; }
.statement-table .hierarchy-code { padding-left: calc(20px + var(--row-depth) * 14px); }
.statement-table .synthetic { background: #edf4ec !important; }
.statement-table .synthetic td { border-top-color: #bdcfb8; }
.statement-table tfoot td { background: #e6ede3; border-top: 2px solid #aebfab; color: #264f56; font-size: 12px; padding-block: 12px; }
.statement-table tfoot td small { display: block; color: #627664; font-size: 8px; font-weight: 500; margin-top: 2px; }
.statement-table .empty-in-table td { padding: 50px 20px; }
.empty-in-table .icon { width: 25px; height: 25px; margin-bottom: 8px; }
.empty-in-table strong,.empty-in-table span { display: block; font-size: 11px; margin-bottom: 4px; }
.empty-in-table span { font-size: 10px; }
.statement-paper .table-footer { background: #f8f9f3; border-color: #d8e0d5; color: #819087; font-size: 8px; padding: 9px 13px; }
.statement-inspector { position: sticky; top: 153px; min-width: 0; }
.inspector-title { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 13px; border-bottom: 1px solid var(--border); margin-bottom: 13px; font-size: 10px; color: #6a7e82; text-transform: uppercase; letter-spacing: .8px; }
.inspector-marker { display: flex; align-items: center; gap: 4px; font-size: 8px; color: #687b70; letter-spacing: .3px; text-transform: none; }
.inspector-marker .icon { width: 12px; height: 12px; }
.statement-inspector .detail-panel { background: transparent; box-shadow: none; border: 0; border-radius: 0; }
.statement-inspector .panel-heading { padding: 3px 0 10px; background: transparent; border-color: #dce1d8; }
.statement-inspector .panel-heading h3 { color: #48636b; font-size: 11px; }
.statement-inspector .detail-placeholder { padding: 23px 0; color: #7c8d8e; }
.statement-inspector .detail-placeholder > .icon { color: #9aaca7; }
.statement-inspector .detail-placeholder strong { color: #4f696e; font-size: 12px; }
.statement-inspector .detail-placeholder p { font-size: 10px; }
.statement-inspector .detail-copy { padding: 13px 0; }
.statement-inspector .detail-copy h4 { margin-top: 4px; font-size: 19px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #344f58; line-height: 1.3; }
.statement-inspector .detail-copy > p { color: #63796c; font-size: 10px; }
.statement-inspector .detail-copy dl { font-size: 10px; }
.statement-inspector .detail-copy dt { color: #62786a; }
.statement-inspector .detail-copy dd { color: #3c6269; font-weight: 550; }
.inspector-note { display: flex; gap: 7px; padding-top: 16px; margin-top: 5px; border-top: 1px solid #dce1d8; color: #677b70; font-size: 9px; line-height: 1.7; }
.inspector-note .icon { width: 13px; height: 13px; margin-top: 2px; color: #789387; }
.rubric-total { display: grid; gap: 4px; margin-block: 20px 10px; padding-bottom: 18px; border-bottom: 1px solid #dbe3d7; }
.rubric-total > span { color: #64796d; font-size: 9px; }
.rubric-total small { margin-left: 8px; }
.rubric-total strong { color: #2a6672; font-size: 26px; font-weight: 550; letter-spacing: -.7px; }
.rubric-explanation { margin-top: 20px !important; font-size: 9px !important; line-height: 1.7; }
.source-control-workbench { margin-top: 20px; padding-top: 2px; border-top: 1px solid #d2dbd1; }
.source-control-workbench > summary { display: flex; align-items: center; gap: 15px; padding: 13px 0; cursor: pointer; list-style: none; }
.source-control-workbench > summary::-webkit-details-marker { display: none; }
.source-control-workbench > summary > span:first-child { display: flex; gap: 8px; align-items: center; color: #49676b; font-size: 11px; }
.source-control-workbench > summary small { margin-left: 7px; font-size: 9px; color: #65796e; font-weight: 400; }
.source-control-workbench > summary > .icon { margin-left: auto; width: 14px; height: 14px; color: #81978d; }
.source-control-workbench[open] > summary > .icon { transform: rotate(90deg); }
.source-control-workbench .reconciliation { margin-top: 2px; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.source-control-workbench .reconciliation-panel,.source-control-workbench .source-information { border-radius: 4px; box-shadow: none; }
.financial-workspace .source-footer { font-size: 8px; color: #657a6c; }
.financial-workspace .skeleton { background: #e8ede2; }
.account-entries-panel { margin-top: 14px; border-top: 1px solid #c6d5c7; }
.account-entries-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0 10px; }
.account-entries-panel > header > span { display: flex; align-items: center; gap: 7px; color: #40666b; font-size: 11px; }
.account-entries-panel > header .icon { width: 15px; height: 15px; }
.entries-period { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 5px; margin-bottom: 14px; font-size: 10px; color: #6c8884; }
.entries-period strong { color: #3d707a; }
.entries-period small { grid-column: 1 / -1; color: #62796c; font-size: 8px; }
.journal-list { max-height: 56vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #a3b7a8 #edf1e6; }
.journal-entry { padding: 13px 0; border-top: 1px solid #dce5d6; }
.journal-entry-meta { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.journal-entry-meta time { font-size: 9px; font-weight: 650; color: #486d74; }
.journal-entry-meta > span { color: #61786c; font-size: 7px; }
.journal-entry > p { color: #4a696b; font-size: 10px; margin: 8px 0 10px; line-height: 1.5; overflow-wrap: anywhere; }
.journal-entry-amounts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.journal-entry-amounts > span { display: grid; gap: 4px; }
.journal-entry-amounts .journal-net { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; border-top: 1px solid #dce5d6; padding-top: 7px; }
.journal-entry-amounts small { font-size: 7px; color: #62776b; text-transform: uppercase; letter-spacing: .7px; }
.journal-entry-amounts strong { font-size: 9px; color: #6d877e; font-weight: 550; overflow-wrap: anywhere; }
.journal-entry-amounts .journal-net strong { color: #276873; font-weight: 700; justify-self: end; }
.journal-references { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; row-gap: 4px; margin: 10px 0 0; font-size: 8px; }
.journal-references dt { color: #657b6d; }
.journal-references dd { margin: 0; color: #6a8881; text-align: right; overflow-wrap: anywhere; }
.entries-loading { display: flex; align-items: center; gap: 7px; padding: 16px 0; color: #75928c; font-size: 9px; }
.entries-loading .spinner { width: 14px; height: 14px; }
.entries-state { padding: 21px 0; color: #607869; font-size: 10px; }
.entries-state > .icon { width: 24px; height: 24px; margin-bottom: 9px; }
.entries-state strong { display: block; color: #547771; }
.entries-state p { font-size: 9px; line-height: 1.7; margin-bottom: 0; }
.entries-error { padding: 12px 0; color: #a46036; font-size: 10px; }
.entries-error p { margin-block: 7px 10px; }
.journal-load-more { margin: 13px 0 4px; min-height: 31px; width: 100%; border-color: #c9d8c8; color: #52776e; background: #edf2e9; font-size: 9px; }
.journal-load-more small { font-size: 8px; color: #687c6b; }
.entries-read-note { display: flex; align-items: start; gap: 6px; border-top: 1px solid #d8e2d4; padding-top: 13px; margin-top: 14px; color: #64786a; font-size: 8px; line-height: 1.7; }
.entries-read-note .icon { width: 12px; height: 12px; margin-top: 1px; }
.entries-read-note small { display: block; margin-top: 5px; font-size: 8px; }
@media (max-width:1450px) {
  main { padding: 22px; }
  .statement-layout { grid-template-columns: minmax(0,1fr) 224px; gap: 18px; }
  .statement-layout.has-account-selection { grid-template-columns: minmax(0,1fr) 300px; }
  .status-line-label { display: none; }
  .status-line-value:first-of-type { border-left: 0; padding-left: 0; }
  .status-line-value { padding-inline: 16px; }
  .structure-toolbar { gap: 10px; }
}
@media (max-width:1180px) {
  .statement-layout,.statement-layout.has-account-selection { grid-template-columns: minmax(0,1fr); }
  .statement-inspector { position: static; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 30px; }
  .inspector-title { grid-column: 1 / -1; }
  .statement-inspector .detail-panel { grid-column: 1; }
  .inspector-note { grid-column: 1; }
  .account-entries-panel { grid-column: 2; grid-row: 2 / 4; margin-top: 0; border-top: 0; }
  .financial-command-bar { gap: 12px; padding: 10px; flex-wrap: wrap; }
  .financial-command-bar .header-actions { margin-left: auto; }
  .financial-command-bar .period-form { flex: 1 1 auto; }
  .financial-command-bar .period-symbol { display: none; }
  .report-issue small { max-width: 190px; }
  .financial-status-line { flex-wrap: wrap; gap: 10px 0; }
}
@media (max-width:900px) {
  main { padding: 18px; }
  .financial-command-bar { top: 58px; }
  .financial-header { gap: 13px; }
  .report-issue { display: none; }
  .financial-header h1 { font-size: 36px; }
  .financial-command-bar .period-form { gap: 6px; }
  .financial-command-bar .period-form input { width: 133px; }
  .financial-status-line { margin-bottom: 16px; }
  .financial-status-line .status-line-control { padding-left: 0; }
  .statement-scroll { max-height: 63vh; }
}
@media (max-width:700px) {
  main { padding: 16px 12px; }
  .financial-header { margin-bottom: 16px; }
  .financial-header h1 { font-size: 33px; }
  .financial-header .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .financial-header .page-description { font-size: 10px; }
  .financial-command-bar { position: static; gap: 11px; }
  .financial-command-bar .period-form { gap: 7px; }
  .financial-command-bar .period-form label { flex: 1 1 115px; }
  .financial-command-bar .period-form input { width: 100%; font-size: 11px; }
  .financial-command-bar .period-form .button { margin-left: 0; padding-inline: 9px; font-size: 10px; min-height: 31px; }
  .period-dash { display: none; }
  .financial-command-bar .header-actions { width: 100%; border-left: 0; border-top: 1px solid var(--border); padding: 10px 0 0; justify-content: flex-end; }
  .financial-command-bar .header-actions .button { margin-right: auto; }
  .financial-workspace .company-facts { gap: 17px; }
  .financial-workspace .company-facts div:last-child { display: none; }
  .financial-status-line { align-items: stretch; }
  .status-line-value { flex: 1; grid-template-columns: 1fr; padding: 4px 12px; }
  .status-line-value strong { font-size: 18px; }
  .status-line-control { width: 100%; justify-items: start; grid-template-columns: auto 1fr; align-items: center; padding-block: 8px 2px; }
  .status-line-control small { justify-self: end; }
  .statement-paper .report-tabs { gap: 15px; padding-inline: 12px; overflow-x: auto; }
  .statement-paper .report-tabs button { gap: 5px; font-size: 10px; min-height: 43px; }
  .statement-paper .report-tabs .icon { width: 14px; height: 14px; }
  .statement-paper .report-heading { padding: 18px 13px; }
  .statement-paper .report-heading h2 { font-size: 20px; }
  .statement-kicker { font-size: 8px !important; }
  .statement-paper .currency-note { font-size: 8px; }
  .statement-paper .search-field { width: 100%; }
  .structure-toolbar { gap: 9px; padding-inline: 12px; }
  .structure-actions { margin-left: auto; }
  .tool-button span { display: none; }
  .tool-button { padding: 5px; }
  .tool-button .icon { width: 15px; height: 15px; }
  .level-control { margin-left: auto; }
  .level-control > span { font-size: 8px; }
  .level-control button { width: 23px; height: 25px; }
  .statement-inspector { grid-template-columns: 1fr; gap: 0; }
  .statement-inspector .detail-panel,.inspector-note,.account-entries-panel { grid-column: 1; grid-row: auto; }
  .source-control-workbench > summary { gap: 7px; }
  .source-control-workbench > summary > span:first-child { font-size: 10px; }
  .source-control-workbench > summary small { display: none; }
  .source-control-workbench .reconciliation { grid-template-columns: 1fr; }
  .journal-list { max-height: 400px; }
}
@media print {
  .financial-command-bar,.financial-status-line,.structure-toolbar,.statement-inspector,.source-control-workbench > summary { display: none !important; }
  .statement-layout,.statement-layout.has-account-selection { display: block; }
  .statement-paper { border-color: #bbb; box-shadow: none; }
  .statement-scroll { min-height: 0; max-height: none; overflow: visible; }
  .statement-table,.statement-table.trial-statement { min-width: 0; font-size: 8pt; }
  .statement-table .rubric-level-1 { color: #173d4b; background: #e1e9e5 !important; }
  .statement-table .rubric-level-1 .primary-amount,.statement-table .rubric-level-1 .secondary-amount { color: #173d4b; background: #e1e9e5; }
  .source-control-workbench > .reconciliation { display: grid !important; }
  .financial-header h1 { font-size: 24pt; }
  .statement-paper .report-heading h2 { font-size: 16pt; }
  .report-issue { display: grid; }
}
.journal-pagination { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 13px 0 3px; border-top: 1px solid #d4dfcd; }
.journal-pagination .button { padding: 5px 7px; min-height: 28px; font-size: 8px; border-color: #c9d7c3; background: #f3f5ec; color: #607f74; }
.journal-pagination .button .icon { width: 11px; height: 11px; }
.journal-pagination > span { display: grid; gap: 2px; text-align: center; font-size: 8px; color: #6c8b7d; }
.journal-pagination small { font-size: 7px; color: #677c6a; }
.previous-icon { display: flex; transform: rotate(180deg); }
@media (max-width:700px) { .financial-command-bar .period-form .button { width: auto; } }

.journal-entry-meta time { font-size: 10px; }
.journal-entry-meta > span { font-size: 10px; }
.journal-entry > p { font-size: 12px; }
.journal-entry-amounts small { font-size: 10px; }
.journal-entry-amounts strong { font-size: 12px; color: #48665e; white-space: nowrap; }
.journal-references { font-size: 11px; }
.entries-read-note,.entries-read-note small { font-size: 11px; }
.journal-pagination .button,.journal-pagination > span { font-size: 11px; }
.journal-pagination .button { min-height: 34px; }
.journal-pagination small { font-size: 10px; }
/* Keep the statement wide until there is a concrete object to inspect. */
.statement-layout:not(.has-account-selection) { grid-template-columns: minmax(0,1fr); gap: 10px; }
.statement-layout:not(.has-account-selection) .statement-inspector { position: static; display: flex; align-items: center; gap: 18px; }
.statement-layout:not(.has-account-selection) .inspector-title { border: 0; padding: 0; margin: 0; gap: 9px; }
.statement-layout:not(.has-account-selection) .inspector-marker { display: none; }
.statement-layout:not(.has-account-selection) .detail-panel { flex: 1; }
.statement-layout:not(.has-account-selection) .panel-heading,.statement-layout:not(.has-account-selection) .detail-placeholder > .icon,.statement-layout:not(.has-account-selection) .detail-placeholder > strong,.statement-layout:not(.has-account-selection) .inspector-note { display: none; }
.statement-layout:not(.has-account-selection) .detail-placeholder { display: block; padding: 0; text-align: left; }
.statement-layout:not(.has-account-selection) .detail-placeholder p { margin: 0; color: #70847b; font-size: 9px; }
@media (max-width:700px) { .statement-layout:not(.has-account-selection) .statement-inspector { align-items: start; gap: 10px; } }
@media print { .statement-layout:not(.has-account-selection) .statement-inspector { display: none; } }

/* A source document opens on demand across the full workbench width. */
.journal-document-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 9px; }
.journal-document-type { display: inline-flex; padding: 3px 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--primary-deep); background: var(--selected); font-size: 10px; font-weight: 650; }
.journal-document-reference { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.journal-entry.selected-document-entry { padding: 13px 8px; border-radius: 6px; background: var(--selected); box-shadow: inset 3px 0 0 var(--accent); }
.journal-document-button { justify-content: flex-start; width: 100%; margin-top: 11px; min-height: 34px; padding: 6px 8px; border-color: var(--border); background: var(--surface); color: var(--primary); font-size: 11px; }
.journal-document-button > .icon:last-child { width: 12px; height: 12px; margin-left: auto; }
.source-document-panel { margin-top: 22px; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.source-document-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px 16px; border-bottom: 1px solid var(--border); }
.source-document-heading .eyebrow { font-size: 10px; margin-bottom: 5px; }
.source-document-heading h2 { margin: 0; color: var(--primary-deep); font-size: 24px; line-height: 1.3; letter-spacing: -.4px; }
.source-document-actions { display: flex; align-items: center; gap: 8px; }
.source-document-actions .icon-button { width: 34px; min-height: 34px; }
.source-document-origin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 10px 22px; border-bottom: 1px solid var(--border); background: var(--raised); color: var(--muted); font-size: 12px; }
.source-document-origin > .icon { width: 16px; height: 16px; color: var(--primary); }
.source-document-origin .readonly-label { margin-left: auto; }
.source-document-loading { display: flex; align-items: center; gap: 10px; min-height: 180px; padding: 25px; color: var(--muted); font-size: 13px; }
.source-document-error { display: flex; align-items: flex-start; gap: 12px; padding: 24px; color: var(--danger); font-size: 13px; }
.source-document-error p { margin-block: 8px 14px; color: var(--muted); }
.source-document-summary { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 28px; padding: 22px; }
.source-document-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 24px; margin: 0; }
.source-document-facts dt { margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.source-document-facts dd { margin: 0; color: var(--text); font-size: 13px; overflow-wrap: anywhere; }
.source-document-partner,.source-document-customer-reference { grid-column: 1 / -1; }
.source-document-partner dd strong,.source-document-partner dd span { display: block; }
.source-document-partner dd strong { font-size: 17px; margin-bottom: 3px; }
.source-document-partner dd span { color: var(--muted); font-size: 12px; }
.source-document-totals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-content: start; }
.source-document-totals section { min-width: 0; border-top: 2px solid var(--accent); }
.source-document-totals section:last-child { border-top-color: var(--border-strong); }
.source-document-totals h3 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; margin: 12px 0 16px; color: var(--muted); font-size: 11px; font-weight: 600; }
.source-document-totals h3 span { color: var(--primary-deep); font-size: 12px; font-weight: 750; }
.source-document-totals dl { margin: 0; }
.source-document-totals dl > div { display: grid; gap: 4px; margin-bottom: 12px; }
.source-document-totals dt { color: var(--muted); font-size: 10px; }
.source-document-totals dd { margin: 0; color: var(--text); font-size: 15px; white-space: nowrap; }
.source-document-totals .source-document-total { padding-top: 12px; border-top: 1px solid var(--border); }
.source-document-totals .source-document-total dd { color: var(--primary-deep); font-size: 20px; font-weight: 700; }
.source-document-amount-note { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.source-document-lines-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 22px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--raised); }
.source-document-lines-heading h3 { margin: 0; font-size: 13px; font-weight: 700; }
.source-document-lines-heading > span { color: var(--muted); font-size: 11px; }
.source-document-table-scroll { max-height: 470px; overflow: auto; overscroll-behavior: contain; }
.source-document-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 12px; }
.source-document-table th { position: sticky; top: 0; z-index: 1; padding: 11px 13px; border-bottom: 1px solid var(--border-strong); background: var(--raised); color: var(--muted); text-align: left; font-size: 11px; font-weight: 650; white-space: nowrap; }
.source-document-table td { padding: 11px 13px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
.source-document-table .numeric { text-align: right; white-space: nowrap; }
.source-document-table tbody tr:nth-child(even) { background: var(--raised); }
.source-document-line-description { min-width: 230px; max-width: 370px; overflow-wrap: anywhere; }
.source-document-line-description strong,.source-document-line-description span { display: block; }
.source-document-line-description strong { margin-bottom: 4px; font-size: 11px; color: var(--primary); }
.source-document-unit-price small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.source-document-empty { display: flex; align-items: center; gap: 10px; padding: 24px; color: var(--muted); font-size: 12px; }
.source-document-limit { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 12px 22px; border-top: 1px solid var(--border); color: var(--warning); background: #fff8ec; font-size: 11px; line-height: 1.6; }
.source-document-limit .icon { width: 15px; height: 15px; margin-top: 2px; }
.source-document-related { padding: 20px 22px; border-top: 1px solid var(--border); }
.source-document-related h3 { margin: 0 0 12px; font-size: 13px; }
.source-document-related > div { display: flex; flex-wrap: wrap; gap: 8px; }
.source-document-related .button { font-size: 12px; font-weight: 500; }
.source-document-related-copy { display: grid; gap: 3px; text-align: left; }
.source-document-related-copy strong { font-weight: 650; }
.source-document-related-copy small { color: var(--muted); font-size: 10px; }
.source-document-related .button > .icon:last-child { width: 12px; height: 12px; margin-left: 6px; }
.source-document-related p { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.source-document-read-note { display: flex; align-items: flex-start; gap: 8px; padding: 13px 22px; border-top: 1px solid var(--border); background: var(--raised); color: var(--muted); font-size: 10px; line-height: 1.7; }
.source-document-read-note .icon { width: 14px; height: 14px; margin-top: 1px; }
@media (max-width:1180px) { .source-document-summary { grid-template-columns: 1fr; gap: 22px; } .source-document-totals { max-width: 560px; } }
@media (max-width:700px) {
  .source-document-heading { align-items: flex-start; padding: 16px; gap: 12px; flex-wrap: wrap; }
  .source-document-heading h2 { font-size: 21px; }
  .source-document-actions { margin-left: auto; }
  .source-document-actions .button { padding-inline: 8px; font-size: 11px; }
  .source-document-origin { padding-inline: 16px; font-size: 11px; }
  .source-document-origin .readonly-label { margin-left: 24px; }
  .source-document-summary { padding: 18px 16px; }
  .source-document-facts { gap: 14px; }
  .source-document-totals { gap: 16px; }
  .source-document-totals .source-document-total dd { font-size: 17px; }
  .source-document-amount-note { padding-inline: 16px; }
  .source-document-lines-heading,.source-document-limit,.source-document-related,.source-document-read-note { padding-inline: 16px; }
  .source-document-related .button { font-size: 11px; }
}
@media print { .source-document-panel { display: none !important; } }
