:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #333847;
  background: #f0f2f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --sidebar: #2d3041;
  --sidebar-muted: #9da2b6;
  --teal: #39bea9;
  --orange: #e78353;
  --purple: #6b67d9;
  --blue: #469ce4;
  --border: #e7e9ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, a, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #8683e8;
  outline-offset: 3px;
}
.app-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  background: var(--sidebar);
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 26px 15px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.brand {
  align-items: center;
  color: #f4f5fa;
  display: flex;
  font-size: 17px;
  font-weight: 720;
  gap: 11px;
  letter-spacing: -.5px;
  margin: 0 7px 52px;
  text-decoration: none;
}
.brand-mark {
  align-items: center;
  border: 1px solid var(--orange);
  color: var(--teal);
  display: inline-flex;
  font-size: 17px;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.brand-accent { color: var(--teal); }
.nav-caption { color: #8e93aa; font-size: 10px; font-weight: 750; letter-spacing: 1.15px; margin: 0 12px 12px; }
.primary-nav { display: grid; gap: 5px; }
.nav-link {
  align-items: center;
  border-radius: 6px;
  color: #c8cbd7;
  display: flex;
  font-size: 13px;
  gap: 12px;
  min-height: 43px;
  padding: 0 11px;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
.nav-link:hover, .nav-link:focus-visible { background: #393d51; color: var(--teal); }
.nav-link[aria-current="page"] { background: #393d51; color: var(--teal); }
.nav-icon { color: var(--orange); font-size: 19px; line-height: 1; text-align: center; width: 20px; }
.nav-caption-accounting { margin-top: 25px; }
.accounting-nav { margin-bottom: 18px; }
.sidebar-footer {
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 9%);
  color: var(--sidebar-muted);
  display: flex;
  font-size: 11px;
  gap: 9px;
  margin-top: auto;
  padding: 17px 9px 0;
}
.privacy-indicator { background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 4px rgb(57 190 169 / 12%); height: 7px; width: 7px; }
.app-main { min-width: 0; }
.topbar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 52px);
}
.breadcrumb { color: #8a8f9e; font-size: 12px; }
.breadcrumb-separator { color: #c4c7d0; margin: 0 10px; }
.breadcrumb strong { color: #4a4e5d; font-weight: 600; }
.user-area { align-items: center; display: flex; gap: 12px; }
.user-name { color: #626879; font-size: 12px; }
.profile-menu-wrap { flex: 0 0 auto; position: relative; }
.avatar-button {
  background: #e9eaff;
  border: 0;
  border-radius: 50%;
  color: #4c52c3;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  overflow: hidden;
  padding: 0;
  place-items: center;
  width: 38px;
}
.avatar-button img { height: 100%; object-fit: cover; width: 100%; }
.avatar-button:focus-visible { outline: 3px solid rgb(102 99 196 / 35%); outline-offset: 3px; }
.profile-dropdown {
  background: #fff;
  border: 1px solid #e1e3ec;
  border-radius: 7px;
  box-shadow: 0 12px 30px rgb(34 39 61 / 16%);
  display: none;
  min-width: 252px;
  padding: 14px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 20;
}
.profile-menu-wrap:hover .profile-dropdown,
.profile-menu-wrap.profile-menu-open .profile-dropdown { display: block; }
.profile-menu-identity { border-bottom: 1px solid #edf0f5; display: grid; gap: 4px; padding: 2px 3px 13px; }
.profile-menu-identity strong { color: #3a3e4c; font-size: 12px; font-weight: 700; }
.profile-menu-identity span { color: #7d8392; font-size: 11px; overflow-wrap: anywhere; }
.profile-menu-actions { display: grid; gap: 3px; padding-top: 9px; }
.profile-menu-action {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #505666;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 11px;
  gap: 10px;
  min-height: 36px;
  padding: 0 8px;
  text-align: left;
  width: 100%;
}
.profile-menu-action:hover, .profile-menu-action:focus-visible { background: #f4f4fb; color: #4c49b4; outline: none; }
.profile-menu-action-icon { align-items: center; color: #6764c9; display: inline-flex; height: 18px; justify-content: center; width: 18px; }
main { margin: 0 auto; max-width: 1340px; padding: 40px clamp(22px, 4vw, 52px) 48px; }
.page-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 35px; }
.eyebrow { color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: 1.15px; margin: 0 0 9px; }
h1 { color: #343847; font-size: clamp(28px, 3vw, 36px); letter-spacing: -1.3px; line-height: 1.15; margin: 0 0 9px; }
h2 { color: #3a3e4c; font-size: 19px; letter-spacing: -.35px; margin: 0; }
h3 { color: #3a3e4c; font-size: 16px; letter-spacing: -.2px; margin: 0 0 9px; }
.page-heading > div > p:last-child, .section-description, .panel > p { color: #7b8090; font-size: 13px; line-height: 1.65; margin: 0; }
.section-block { margin-top: 8px; }
.section-heading, .panel-heading, .ledger-heading { align-items: center; display: flex; gap: 18px; justify-content: space-between; }
.section-heading { margin-bottom: 17px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-description { font-size: 12px; }
.section-heading > .section-description { max-width: 360px; text-align: right; }
.import-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 5px 16px rgb(32 40 66 / 3%); }
.import-card { min-height: 250px; padding: 21px 23px 20px; }
.panel-heading { margin-bottom: 17px; }
.card-icon {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 20px;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.card-icon-bank { background: #eaf8f5; color: #27a995; }
.card-icon-file { background: #fff2eb; color: var(--orange); }
.status-label { align-items: center; color: #6c7484; display: inline-flex; font-size: 9px; font-weight: 750; gap: 7px; letter-spacing: .75px; }
.status-label-manual { color: #8b705e; }
.status-dot { background: #3ab49e; border-radius: 50%; height: 6px; width: 6px; }
.status-label-manual .status-dot { background: var(--orange); }
.import-card > p { max-width: 440px; min-height: 43px; }
.button, .file-picker {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  gap: 9px;
  justify-content: center;
  min-height: 39px;
  padding: 0 15px;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.button-primary { background: var(--purple); color: #fff; margin-top: 14px; }
.button-primary:hover:not(:disabled) { background: #5551c5; }
.button-muted, .file-picker { background: #fff; border-color: #d7d9e8; color: #6663c4; }
.button-muted:hover:not(:disabled), .file-picker:hover { background: #f7f7ff; border-color: #aaa8e0; }
.button:disabled, .file-picker:has(input:disabled) { cursor: not-allowed; opacity: .52; }
.file-picker { margin-top: 14px; min-width: 142px; position: relative; }
.file-picker input { cursor: pointer; inset: 0; opacity: 0; position: absolute; width: 100%; }
.fine-print { color: #999eac !important; font-size: 10px !important; margin-top: 12px !important; min-height: 0 !important; }
.ledger { margin-top: 38px; }
.ledger-heading { margin-bottom: 14px; }
.ledger-heading h2 { margin-bottom: 6px; }
.ledger-heading .button { flex-shrink: 0; }
.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow-x: auto; }
table { border-collapse: collapse; min-width: 620px; text-align: left; width: 100%; }
th, td { border-bottom: 1px solid #edf0f5; padding: 13px 15px; }
th { background: #edf0f5; color: #626879; font-size: 10px; font-weight: 650; }
td { color: #4b5060; font-size: 12px; }
tbody tr:last-child td { border-bottom: 0; }
.amount { text-align: right; }
.empty { color: #8990a0; padding: 32px; text-align: center; }
.transaction-table { box-shadow: 0 5px 16px rgb(32 40 66 / 3%); }
.notice { border-radius: 6px; font-size: 12px; margin: 0 0 20px; padding: 13px 16px; }
.notice.error { background: #fff0ef; color: #9e332d; }
.notice.success { background: #eaf8f1; color: #1c6b48; }
.hidden { display: none !important; }
.csv-review { margin-top: 20px; padding: 22px; }
.csv-review .panel-heading { margin-bottom: 13px; }
.csv-summary { color: #697083; font-size: 12px; margin: 0 0 14px; }
.csv-review .button-primary { margin-top: 17px; }
.module-page .page-heading { margin-bottom: 20px; }
.module-placeholder { padding: 27px; }
.module-status { align-items: center; color: #947253; display: inline-flex; font-size: 10px; font-weight: 750; gap: 8px; letter-spacing: .8px; margin-bottom: 15px; }
.module-status .status-dot { background: #d7a260; }
.module-placeholder h2 { margin-bottom: 9px; }
.module-placeholder > p { margin-bottom: 18px; max-width: 680px; }
.module-placeholder .button-primary { margin-top: 0; }
footer { border-top: 1px solid var(--border); color: #8c91a0; font-size: 10px; line-height: 1.6; margin: 0 auto; max-width: 1340px; padding: 18px clamp(22px, 4vw, 52px) 25px; }

.operator-info-page, .operator-directory-page { display: grid; gap: 20px; }
.operator-info-page .page-heading, .operator-directory-page .page-heading { margin-bottom: 4px; }
.operator-card { min-width: 0; padding: 22px; }
.operator-card-heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 18px; }
.operator-card-heading .eyebrow { margin-bottom: 7px; }
.operator-heading-actions, .form-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; }
.operator-card .button-primary, .operator-dialog .button-primary { margin-top: 0; }
.operator-form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.operator-form-grid .form-field-wide { grid-column: 1 / -1; }
.form-field { color: #636a7a; display: grid; font-size: 11px; font-weight: 650; gap: 7px; }
.form-field input, .directory-search input, .directory-pagination select {
  background: #fff;
  border: 1px solid #dfe2eb;
  border-radius: 5px;
  color: #363b4b;
  font: inherit;
  font-size: 12px;
  min-height: 39px;
  padding: 0 11px;
  width: 100%;
}
.form-field input:focus, .directory-search input:focus { border-color: #8683e8; outline: 3px solid rgb(134 131 232 / 18%); }
.operator-profile-form fieldset, #operator-profile-fields { border: 0; margin: 0; min-width: 0; padding: 0; }
.operator-profile-page .operator-card { margin-bottom: 0; }
.form-help { color: #83899a; font-size: 11px; line-height: 1.55; margin: 12px 0 0; }
.account-privacy-note { margin-top: 12px; }
.checkbox-field { align-items: center; color: #666d7d; display: flex; font-size: 11px; gap: 8px; margin-top: 13px; }
.checkbox-field input { accent-color: var(--purple); }
.form-actions { margin-top: 15px; }
.signature-instructions { color: #747b8b; font-size: 12px; line-height: 1.6; margin: 0 0 12px; }
#operator-signature-canvas { background: #fff; border: 1px dashed #cfd3df; border-radius: 5px; display: block; height: auto; max-width: 100%; touch-action: none; width: 100%; }
.account-options, .interest-options { white-space: nowrap; }
.account-option, .directory-row-action { font-size: 10px; min-height: 30px; padding: 0 9px; }
.account-options { display: flex; gap: 6px; }
.directory-tools { align-items: end; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 14px; }
.directory-tools > .button { flex: 0 0 auto; }
.directory-search { color: #697083; display: grid; font-size: 10px; font-weight: 700; gap: 6px; max-width: 370px; width: 100%; }
.directory-search input { font-weight: 400; }
.operator-directory-table { min-width: 920px; }
.operator-interest-table { min-width: 760px; }
.sort-button { align-items: center; background: transparent; border: 0; color: inherit; cursor: pointer; display: inline-flex; font: inherit; gap: 8px; padding: 0; }
.sort-button span { color: #898e9c; font-size: 13px; }
.operator-directory-table td, .operator-interest-table td { vertical-align: middle; }
.operator-directory-table .button, .operator-interest-table .button { margin: 0; }
.directory-pagination { align-items: center; color: #818797; display: flex; font-size: 10px; gap: 12px; justify-content: space-between; padding-top: 15px; }
.directory-pagination > div { align-items: center; display: flex; gap: 7px; }
.directory-pagination select { font-size: 10px; min-height: 30px; padding: 0 6px; width: auto; }
.directory-pagination .button { min-height: 30px; padding: 0 10px; }
.operator-dialog {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgb(23 27 44 / 22%);
  color: #343847;
  max-height: min(90vh, 900px);
  max-width: min(720px, calc(100vw - 32px));
  overflow: auto;
  padding: 25px;
  width: 100%;
}
.operator-dialog::backdrop { background: rgb(26 29 42 / 52%); }
.operator-dialog form { display: grid; gap: 15px; }
.operator-dialog .operator-card-heading { margin-bottom: 2px; }
.operator-dialog .operator-form-grid { gap: 13px; }
.operator-dialog .form-help { margin-top: 0; }
.operator-dialog .form-actions { margin-top: 0; }
.operator-dialog .button-danger { background: #fff2f1; border-color: #f0c2be; color: #a63e36; }
.operator-dialog .button-danger:hover:not(:disabled) { background: #ffe8e5; }
.dialog-close { align-items: center; background: transparent; border: 0; border-radius: 5px; color: #74798a; cursor: pointer; display: inline-flex; font-size: 25px; height: 34px; justify-content: center; line-height: 1; width: 34px; }
.dialog-close:hover { background: #f0f1f6; }
.inline-error { background: #fff0ef; border-radius: 5px; color: #9e332d; font-size: 11px; line-height: 1.5; margin: 0; padding: 10px 12px; }
.operator-interests-dialog { max-width: min(1080px, calc(100vw - 32px)); }
.operator-interests-dialog > .button-primary { margin-bottom: 14px; }
.interest-table-wrap { max-height: 55vh; }

.accounting-module-content { display: grid; gap: 18px; }
.accounting-card { min-width: 0; padding: 22px; }
.accounting-toolbar, .accounting-card-heading, .accounting-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.accounting-toolbar { margin-bottom: 16px; }
.accounting-toolbar .button, .accounting-card-heading .button { margin: 0; }
.accounting-card-heading { margin-bottom: 15px; }
.accounting-card-heading h2 { margin: 0; }
.accounting-card-heading .eyebrow { margin-bottom: 6px; }
.accounting-filter-row { justify-content: flex-start; margin: 0 0 14px; }
.accounting-filter-row .form-field { min-width: 145px; }
.accounting-filter-row input, .accounting-filter-row select, .accounting-search input,
.accounting-dialog input, .accounting-dialog select, .accounting-dialog textarea {
  background: #fff;
  border: 1px solid #dfe2eb;
  border-radius: 5px;
  color: #363b4b;
  font: inherit;
  font-size: 12px;
  min-height: 38px;
  padding: 0 10px;
}
.accounting-dialog textarea { min-height: 88px; padding: 10px; resize: vertical; }
.accounting-search { color: #697083; display: grid; font-size: 10px; font-weight: 700; gap: 6px; max-width: 330px; width: 100%; }
.accounting-search input { font-weight: 400; }
.accounting-table { min-width: 980px; }
.accounting-table td { vertical-align: middle; }
.accounting-table .button { margin: 0; min-height: 30px; padding: 0 9px; }
.accounting-row-actions { display: flex; gap: 6px; white-space: nowrap; }
.accounting-summary { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.accounting-summary-item { background: #f7f8fc; border: 1px solid #edf0f5; border-radius: 6px; padding: 14px 16px; }
.accounting-summary-item span { color: #7a8090; display: block; font-size: 10px; margin-bottom: 7px; }
.accounting-summary-item strong { color: #323747; font-size: 18px; font-weight: 700; }
.accounting-pagination { align-items: center; color: #818797; display: flex; font-size: 10px; gap: 12px; justify-content: space-between; padding-top: 14px; }
.accounting-pagination > div { align-items: center; display: flex; gap: 7px; }
.accounting-pagination select { background: #fff; border: 1px solid #dfe2eb; border-radius: 4px; color: inherit; min-height: 30px; padding: 0 6px; }
.accounting-pagination .button { margin: 0; min-height: 30px; padding: 0 10px; }
.accounting-notice { background: #f7f8fc; border-left: 3px solid #8885df; color: #646b7a; font-size: 11px; line-height: 1.6; margin: 0; padding: 11px 13px; }
.accounting-report-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.accounting-report-button { background: #fff; border: 1px solid #e4e6ef; border-radius: 6px; color: #464c5b; cursor: pointer; min-height: 68px; padding: 14px; text-align: left; }
.accounting-report-button:hover { background: #f7f7ff; border-color: #aaa8e0; }
.accounting-report-button strong { display: block; font-size: 12px; margin-bottom: 6px; }
.accounting-report-button span { color: #858b99; font-size: 10px; }
.accounting-report-output { margin-top: 18px; }
.accounting-report-output h3 { margin: 0 0 12px; }
.accounting-dialog {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgb(23 27 44 / 22%);
  color: #343847;
  max-height: min(92vh, 960px);
  max-width: min(860px, calc(100vw - 32px));
  overflow: auto;
  padding: 25px;
  width: 100%;
}
.accounting-dialog::backdrop { background: rgb(26 29 42 / 52%); }
.accounting-dialog form { display: grid; gap: 15px; }
.accounting-dialog .operator-form-grid { gap: 13px; }
.accounting-dialog .button-primary { margin: 0; }
.accounting-dialog .dialog-heading { align-items: center; display: flex; justify-content: space-between; }
.accounting-dialog .dialog-heading h2 { font-size: 18px; margin: 0; }
.accounting-dialog .form-field textarea { width: 100%; }
.accounting-dialog .journal-lines { display: grid; gap: 8px; }
.accounting-dialog .journal-line { align-items: end; border-bottom: 1px solid #edf0f5; display: grid; gap: 8px; grid-template-columns: minmax(150px, 1.4fr) minmax(90px, .7fr) minmax(90px, .7fr) minmax(120px, 1fr) auto; padding-bottom: 10px; }
.accounting-dialog .journal-line .button { min-height: 34px; padding: 0 9px; }
.accounting-dialog .button-danger { background: #fff2f1; border-color: #f0c2be; color: #a63e36; }
.accounting-dialog .button-danger:hover:not(:disabled) { background: #ffe8e5; }
.accounting-dialog .form-help { margin-top: 0; }
.accounting-dialog .checkbox-field { margin-top: 0; }
.accounting-card .form-actions { margin-top: 0; }
.csv-file-input { display: none; }
.module-loading { color: #747b8b; padding: 28px; }

@media (max-width: 800px) {
  .accounting-card { padding: 18px; }
  .accounting-dialog .journal-line { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .accounting-card { padding: 16px; }
  .accounting-toolbar, .accounting-card-heading { align-items: flex-start; }
  .accounting-card-heading .operator-heading-actions { flex-direction: column-reverse; }
  .accounting-dialog { padding: 19px; }
  .accounting-dialog .operator-form-grid { grid-template-columns: 1fr; }
  .accounting-dialog .operator-form-grid .form-field-wide { grid-column: auto; }
  .accounting-dialog .journal-line { grid-template-columns: 1fr; }
  .accounting-pagination { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 800px) {
  .app-shell { grid-template-columns: 205px minmax(0, 1fr); }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .brand { font-size: 15px; margin-left: 4px; }
  main { padding-top: 32px; }
  .operator-card { padding: 18px; }
  .operator-directory-table { min-width: 850px; }
}

@media (max-width: 620px) {
  .app-shell { display: block; }
  .sidebar { height: auto; min-height: 0; padding: 12px 16px 0; position: static; }
  .brand { margin: 0 0 12px; }
  .nav-caption, .sidebar-footer { display: none; }
  .primary-nav { display: flex; gap: 5px; margin: 0 -4px; overflow-x: auto; padding-bottom: 10px; }
  .nav-link { flex: 0 0 auto; font-size: 11px; gap: 7px; min-height: 36px; padding: 0 9px; }
  .nav-icon { font-size: 16px; width: 16px; }
  .topbar { height: 58px; padding: 0 16px; }
  .breadcrumb { font-size: 10px; }
  .user-area { gap: 8px; }
  .user-name { display: none; }
  .user-area .button { font-size: 10px; min-height: 34px; padding: 0 10px; }
  main { padding: 29px 16px 35px; }
  .page-heading { margin-bottom: 27px; }
  .page-heading > div > p:last-child { max-width: 420px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .section-heading > .section-description { max-width: none; text-align: left; }
  .import-grid { grid-template-columns: 1fr; }
  .import-card { min-height: 0; padding: 19px; }
  .import-card > p { min-height: 0; }
  .ledger { margin-top: 30px; }
  .ledger-heading { align-items: flex-start; flex-direction: row; }
  th, td { padding: 11px 12px; }
  .operator-card { padding: 16px; }
  .operator-card-heading { align-items: flex-start; }
  .operator-heading-actions { flex-direction: column-reverse; }
  .operator-heading-actions .button { width: 100%; }
  .operator-form-grid { grid-template-columns: 1fr; }
  .operator-form-grid .form-field-wide { grid-column: auto; }
  .directory-tools { align-items: stretch; flex-wrap: wrap; }
  .directory-tools > .button { flex: 1 1 100%; }
  .directory-pagination { align-items: flex-start; flex-direction: column; }
  .operator-dialog { padding: 19px; }
  .operator-dialog .operator-form-grid { grid-template-columns: 1fr; }
  .operator-dialog .operator-form-grid .form-field-wide { grid-column: auto; }
  .directory-row-action { padding: 0 7px; }
  footer { padding: 15px 16px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  .sidebar, .topbar, footer, .notice, .accounting-toolbar, .accounting-filter-row,
  .accounting-report-grid, .accounting-report-output .operator-heading-actions,
  .directory-tools, .accounting-pagination { display: none !important; }
  .app-shell { display: block; }
  main { padding: 0; }
  .module-page > .page-heading { margin: 0 0 12px; }
  .accounting-module-content > .panel, .accounting-module-content > .accounting-notice { display: none !important; }
  .accounting-report-output { display: block !important; }
  .accounting-report-output .table-wrap { overflow: visible; }
  .accounting-report-output table { min-width: 0; }
}
