:root {
  font-family: system-ui, sans-serif;
  color: #172033;
  background: #f5f7fa;
}

body { margin: 0; }

.application-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 3rem;
  padding: 0 1rem;
  color: #fff;
  background: #12355b;
}

.application-header a { color: inherit; }
.application-name { font-weight: 700; text-decoration: none; }
main { max-width: 64rem; padding: 1rem; }
.login-panel { max-width: 24rem; margin: 3rem auto; padding: 1.25rem; background: #fff; border: 1px solid #ccd4df; }
.login-panel label { display: grid; gap: .3rem; margin: .8rem 0; }
input, button { font: inherit; padding: .4rem; } button { cursor: pointer; }
.error { color: #9b1c1c; font-weight: 600; }.shell-header { display:flex; gap:1rem; align-items:center; padding:.7rem 1rem; background:#dce8e8; flex-wrap:wrap; }.shell-header form { margin-left:auto; }.shell-layout { display:grid; grid-template-columns:12rem 1fr; min-height:20rem; }.shell-layout nav { padding:1rem; background:#e9ecef; }.shell-layout nav a { display:block; }.shell-layout section { padding:1rem; }

:focus-visible {
  outline: 3px solid #e58a00;
  outline-offset: 2px;
}

.admin-container { max-width: 52rem; }
.admin-page-header { display: flex; align-items: center; gap: 1rem; justify-content: space-between; margin-bottom: 1rem; }
.admin-page-header h1 { margin: 0; }
.button-link, .form-actions button { display: inline-block; border: 1px solid #12355b; background: #12355b; color: #fff; padding: .45rem .75rem; text-decoration: none; }
.admin-table-wrap { overflow-x: auto; border: 1px solid #ccd4df; background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: .55rem .65rem; border-bottom: 1px solid #d9e0e8; text-align: left; vertical-align: middle; }
.admin-table th { background: #e8f0f1; }
.status-indicator { display: inline-block; padding: .12rem .4rem; border-radius: .15rem; font-size: .9rem; font-weight: 600; }
.status-active { color: #075c44; background: #d8f0e7; }.status-inactive { color: #8a2e2e; background: #f5e2e2; }
.admin-form { max-width: 38rem; }
.form-section { margin: 1.2rem 0; padding: 1rem; border: 1px solid #ccd4df; background: #fff; }
.form-section h2 { margin: 0 0 .9rem; font-size: 1.1rem; }.form-section--identity { background: #eef4f4; }
.form-group { display: grid; gap: .3rem; margin: 0 0 .85rem; }.form-label { font-weight: 600; }.form-control { width: min(100%, 32rem); box-sizing: border-box; }
select.form-control[multiple] { min-height: 8rem; }.form-hint { margin: -.45rem 0 .85rem; color: #465568; font-size: .9rem; }.form-actions { margin-top: 1rem; }
.scope-dependent[hidden] { display: none; }.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 42rem) { .admin-page-header { align-items: flex-start; flex-direction: column; }.admin-table th, .admin-table td { white-space: nowrap; } }

/* Customer Service smoothing: compact, form-focused, and shared by search/detail/create/edit. */
.customer-page { max-width: 58rem; }.customer-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }.customer-page-header h1 { margin: 0; }.page-intro { margin: .35rem 0 0; color: #465568; }.eyebrow { margin: 0 0 .2rem; color: #465568; font-size: .9rem; font-weight: 600; text-transform: uppercase; }.text-link { color: #12355b; font-weight: 600; }.customer-search-form { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; padding: 1rem; border: 1px solid #ccd4df; background: #fff; }.customer-search-form input { flex: 1 1 18rem; min-width: 0; }.customer-results { margin-top: 1rem; overflow-x: auto; border: 1px solid #ccd4df; background: #fff; }.customer-results table { width: 100%; border-collapse: collapse; }.customer-results th, .customer-results td { padding: .7rem .85rem; border-bottom: 1px solid #d9e0e8; text-align: left; vertical-align: top; }.customer-results th { color: #172033; background: #e8f0f1; }.customer-results tbody tr:last-child td { border-bottom: 0; }.customer-results td:first-child, .customer-results td:nth-child(2) { white-space: nowrap; }.customer-results a { color: #12355b; font-weight: 600; }.empty-state { padding: 1rem; border: 1px solid #ccd4df; background: #fff; color: #465568; }.customer-context { max-width: 46rem; margin: 0 0 1rem; padding: 1rem; border: 1px solid #ccd4df; background: #eef4f4; }.customer-context label { display: grid; gap: .3rem; max-width: 24rem; font-weight: 600; }.customer-context--readonly { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }.customer-context--readonly div, .detail-grid div { min-width: 0; }.customer-context--readonly dt, .detail-grid dt { color: #465568; font-size: .88rem; }.customer-context--readonly dd, .detail-grid dd { margin: 0; overflow-wrap: anywhere; }.customer-warning { max-width: 46rem; padding: .8rem 1rem; border-left: .3rem solid #c77900; background: #fff4dd; }.customer-form { max-width: 46rem; }.customer-form-section { margin: 1rem 0; padding: 1rem; border: 1px solid #ccd4df; background: #fff; }.customer-form-section legend { padding: 0 .35rem; color: #12355b; font-weight: 700; }.customer-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem 1rem; }.customer-form .form-group { min-width: 0; }.customer-form .form-group--wide { grid-column: span 2; }.customer-form small { color: #465568; font-size: .85em; font-weight: 400; }.required-marker { color: #9b1c1c; }.detail-card { max-width: 56rem; margin: 1rem 0; padding: 1rem; border: 1px solid #ccd4df; background: #fff; }.detail-card h2 { margin: 0 0 .8rem; font-size: 1.05rem; }.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; margin: 0; }.detail-grid > div { display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: .6rem; align-items: baseline; }.shell-content { min-width: 0; }
@media (max-width: 42rem) { .customer-page-header { flex-direction: column; }.customer-form-grid, .detail-grid, .customer-context--readonly { grid-template-columns: 1fr; }.customer-form .form-group--wide { grid-column: auto; }.customer-search-form { align-items: stretch; }.customer-search-form select, .customer-search-form button { width: 100%; }.detail-grid > div { grid-template-columns: minmax(7.5rem, 42%) 1fr; } }

/* M03.6 screen-first reports: compact, keyboard-friendly desktop tables. */
.nav-section { display:block; margin-top:1rem; padding-top:.65rem; border-top:1px solid #c4ccd5; color:#12355b; font-weight:700; }.nav-subsection { display:block; margin-top:.55rem; font-size:.86rem; font-weight:700; }.nav-subsection ~ a { padding-left:.55rem; }.report-page { max-width:none; padding:0; }.report-header h1 { margin:.1rem 0 .25rem; }.report-context { margin:.25rem 0; color:#465568; }.report-notice { margin:.65rem 0; padding:.55rem .7rem; border-left:.25rem solid #18736b; background:#eef4f4; }.report-filters { display:flex; align-items:end; gap:.65rem; flex-wrap:wrap; margin:1rem 0 .7rem; padding:.75rem; border:1px solid #ccd4df; background:#fff; }.report-filters label { display:grid; gap:.25rem; font-size:.88rem; font-weight:600; }.report-filters select,.report-filters input { min-width:10rem; padding:.4rem; font:inherit; }.report-filters button { border:1px solid #12355b; background:#12355b; color:#fff; }.report-count { margin:.5rem 0; }.report-table-wrap { overflow-x:auto; border:1px solid #ccd4df; background:#fff; }.report-table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }.report-table th,.report-table td { padding:.4rem .55rem; border-bottom:1px solid #d9e0e8; text-align:left; vertical-align:top; white-space:nowrap; }.report-table thead th { background:#dce8e8; }.report-table tfoot th,.report-table tfoot td { border-top:2px solid #83919f; border-bottom:0; background:#eef2f5; font-weight:700; }.report-table .money { text-align:right; font-variant-numeric:tabular-nums; }.product-group-heading th { padding:.42rem .55rem; border-top:1px solid #83919f; background:#e7efef; color:#12355b; font-weight:700; }.product-subtotal th,.product-subtotal td { border-top:1px solid #aeb9c4; background:#f0f3f6; font-weight:700; }
@media (max-width:42rem) { .report-filters { align-items:stretch; }.report-filters label,.report-filters select,.report-filters input,.report-filters button { width:100%; box-sizing:border-box; } }
.report-table thead .account-number-heading { text-align:center; }
.report-table .account-component { width:1%; padding-left:.16rem; padding-right:.16rem; }
.report-table .account-component-first { padding-left:.45rem; }
.report-table .account-component-last { padding-right:.45rem; }
.report-table .report-description { min-width:10rem; max-width:20rem; white-space:normal; }
.report-table .report-customer { min-width:8rem; max-width:14rem; white-space:normal; }
.report-table .rate { text-align:right; font-variant-numeric:tabular-nums; }
.statement-account-header { display:grid; gap:.3rem; margin:.7rem 0; padding:.7rem; border:1px solid #ccd4df; background:#fff; }.statement-account-header div { display:grid; grid-template-columns:9rem minmax(0,1fr); }.statement-account-header dt { font-weight:700; }.statement-account-header dd { margin:0; }.statement-account-number { font-variant-numeric:tabular-nums; }.statement-account-number span + span { margin-left:.55rem; }


/* M03.6U universal dense desktop application shell. */
.authenticated-shell {
  min-width: 68rem;
  color: #172033;
  background: #eef2f3;
  font-size: 12px;
}
.application-header--authenticated {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 58px;
  box-sizing: border-box;
  gap: 14px;
  padding: 0 12px;
  background: #052f2e;
  border-bottom: 1px solid #1d6662;
  box-shadow: 0 1px 4px rgb(0 0 0 / 28%);
}
.application-header--authenticated .application-name,
.application-header--authenticated .application-name:visited {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 176px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .01em;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 24px;
  height: 22px;
}
.brand-mark i {
  display: block;
  width: 5px;
  border-radius: 1px;
  background: #62cbc3;
}
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 22px; }
.application-context {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: #d9eeec;
}
.context-item {
  display: grid;
  gap: 1px;
  white-space: nowrap;
}
.context-label {
  color: #91bbb7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}
.context-item strong {
  color: #fff;
  font-size: 12px;
}
.context-separator {
  align-self: stretch;
  width: 1px;
  max-height: 30px;
  margin: auto 0;
  background: #39716e;
}
.account-context {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #fff;
  white-space: nowrap;
}
.user-icon {
  color: #62cbc3;
  font-size: 15px;
}
.user-details {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}
.user-details span {
  color: #a9cecb;
  font-size: 10px;
}
.logout-form { margin: 0; }
.logout-form button,
.sidebar-toggle {
  min-height: 30px;
  box-sizing: border-box;
  border: 1px solid #4f8d89;
  border-radius: 3px;
  color: #fff;
  background: #0a5652;
}
.logout-form button:hover,
.sidebar-toggle:hover { background: #117069; }
.sidebar-toggle {
  width: 34px;
  padding: 2px;
  font-size: 16px;
}
.shell-layout {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  min-height: calc(100vh - 58px);
  transition: grid-template-columns 140ms ease;
}
.application-sidebar {
  position: sticky;
  top: 58px;
  align-self: start;
  height: calc(100vh - 58px);
  overflow-y: auto;
  color: #ecf7f6;
  background: #073b3a;
  border-right: 1px solid #1d6662;
  box-shadow: 1px 0 3px rgb(0 0 0 / 14%);
}
.application-sidebar nav {
  padding: 8px 7px 18px;
  background: #073b3a;
}
.application-sidebar .nav-group {
  background: transparent;
}
.application-sidebar .nav-children {
  background: #073b3a;
}
.application-sidebar a,
.application-sidebar a:visited,
.application-sidebar summary {
  color: #e6f3f2;
  text-decoration: none;
}
.nav-item,
.nav-group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 29px;
  box-sizing: border-box;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
}
.nav-primary { font-weight: 650; }
.nav-group { margin-top: 3px; }
.nav-group > summary {
  position: relative;
  font-weight: 700;
  list-style: none;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after {
  content: "\25BE";
  margin-left: auto;
  color: #80b7b3;
  font-size: 10px;
}
.nav-group:not([open]) > summary::after { content: "\25B8"; }
.nav-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid rgb(153 213 208 / 32%);
  border-radius: 3px;
  color: #e1f4f2;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-section-title {
  margin: 11px 8px 4px;
  padding-top: 8px;
  border-top: 1px solid #2b6562;
  color: #8fbab7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-children {
  margin: 2px 0 4px 11px;
  padding-left: 10px;
  border-left: 1px solid #2f6d69;
}
.nav-children .nav-item {
  min-height: 27px;
  padding: 3px 7px;
  color: #e1f0ef;
  font-size: 11px;
  line-height: 1.2;
}
.application-sidebar .nav-item:hover,
.application-sidebar .nav-group > summary:hover {
  color: #fff;
  background: rgb(75 177 168 / 20%);
}
.application-sidebar .nav-item.is-active {
  color: #fff;
  background: #11756e;
  box-shadow: inset 3px 0 #efb44d;
  font-weight: 700;
}
.nav-group.contains-active > summary {
  color: #fff;
  background: rgb(75 177 168 / 24%);
}
.nav-group.contains-active > summary .nav-icon {
  border-color: #62cbc3;
  color: #fff;
  background: #0d625d;
}
.shell-content {
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  padding: 10px 12px 18px;
}
.sidebar-collapsed .shell-layout {
  grid-template-columns: 3.5rem minmax(0, 1fr);
}
.sidebar-collapsed .application-sidebar nav { padding-inline: 6px; }
.sidebar-collapsed .application-sidebar .nav-label,
.sidebar-collapsed .application-sidebar .nav-section-title,
.sidebar-collapsed .application-sidebar .nav-group > summary::after,
.sidebar-collapsed .application-sidebar .nav-children {
  display: none;
}
.sidebar-collapsed .application-sidebar .nav-item,
.sidebar-collapsed .application-sidebar .nav-group > summary {
  justify-content: center;
  padding-inline: 4px;
}
.sidebar-collapsed .application-sidebar .nav-icon {
  flex-basis: 28px;
  width: 28px;
}
.admin-container,
.customer-page,
.report-page { max-width: none; }
.admin-container > h1,
.customer-page h1,
.report-header h1 {
  margin: 2px 0 5px;
  color: #162b3d;
  font-size: 18px;
  line-height: 1.25;
}
.report-header .eyebrow {
  margin: 0;
  color: #35615e;
  font-size: 10px;
}
.report-context { margin: 2px 0; }
.report-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 7px 0 5px;
}
.report-filters {
  flex: 1 1 auto;
  gap: 6px;
  margin: 0;
  padding: 5px 6px;
  border-color: #bdcccb;
  background: #f8fafa;
}
.report-filters label {
  gap: 2px;
  font-size: 10px;
}
.report-filters select,
.report-filters input,
.report-filters button {
  min-height: 29px;
  min-width: 8rem;
  box-sizing: border-box;
  padding: 3px 6px;
  border-radius: 2px;
}
.report-filters select[name="page_size"] { min-width: 4rem; }
.report-filters button {
  border: 1px solid #0b5450;
  color: #fff;
  background: #0b5450;
  font-weight: 700;
}
.report-filters button:hover { background: #117069; }
.report-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
  margin: 0 0 1px;
}
.report-actions .report-action,
.report-actions .report-action:visited,
.report-pagination a,
.report-pagination a:visited,
.report-pagination span,
.report-pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  box-sizing: border-box;
  padding: 3px 9px;
  border: 1px solid #397d78;
  border-radius: 3px;
  color: #fff;
  background: #0b5a55;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}
.report-actions .report-action:hover,
.report-pagination a:hover { background: #11756e; }
.report-pagination span[aria-disabled="true"] {
  border-color: #b7c3c2;
  color: #778382;
  background: #edf0f0;
}
.report-pagination strong {
  border-color: #a9b8b7;
  color: #233c3a;
  background: #fff;
}
.report-count { margin: 4px 0; }
.report-table {
  table-layout: auto;
  font-size: 12px;
  line-height: 1.2;
}
.report-table th,
.report-table td {
  height: 28px;
  box-sizing: border-box;
  padding: 5px 7px;
  vertical-align: middle;
}
.report-table thead th {
  color: #193b3a;
  background: #dce8e7;
  font-size: 11px;
  font-weight: 650;
}
.report-table .money {
  width: 1%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.report-table .account-component,
.report-table td:first-child {
  width: 1%;
  white-space: nowrap;
}
.report-table .report-description {
  width: 100%;
  min-width: 16rem;
  max-width: none;
  white-space: normal;
}
.report-table .report-customer {
  min-width: 9rem;
  max-width: 18rem;
}
.report-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 6px;
}
.excel-download { margin-top: 6px; }
.statement-account-header {
  margin: 5px 0;
  padding: 5px 7px;
}
.report-notice {
  margin: 5px 0;
  padding: 5px 7px;
}
@media (max-width: 85rem) {
  .authenticated-shell { min-width: 60rem; }
  .shell-layout { grid-template-columns: 14rem minmax(0, 1fr); }
  .sidebar-collapsed .shell-layout { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .application-header--authenticated { gap: 9px; }
  .application-header--authenticated .application-name { min-width: 155px; }
  .application-context { gap: 8px; }
  .report-table { font-size: 11px; }
  .report-table th,
  .report-table td { padding: 4px 6px; }
}
/* M03.6U Round 3 canonical operational forms and public login. */
.application-header--public {
  min-height: 58px;
  padding: 0 18px;
  background: #052f2e;
  border-bottom: 1px solid #1d6662;
}
.application-header--public .application-name,
.application-header--public .application-name:visited {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}
.public-shell {
  min-height: 100vh;
  background: #eef2f3;
}
.public-shell main {
  max-width: none;
  padding: 1rem;
}
.login-panel {
  width: min(100% - 2rem, 350px);
  max-width: none;
  box-sizing: border-box;
  margin: 4rem auto;
  padding: 18px 20px 20px;
  border: 1px solid #b9c9c8;
  border-top: 4px solid #0b6a64;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(19 54 52 / 12%);
}
.login-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.login-brand-mark { flex: 0 0 24px; }
.login-identity h1 {
  margin: 0;
  color: #123b39;
  font-size: 20px;
}
.login-identity p {
  margin: 3px 0 0;
  color: #526665;
  font-size: 11px;
}
.login-form {
  display: grid;
  gap: 10px;
}
.operational-form {
  width: 100%;
  max-width: 78rem;
}
.form-section--compact {
  margin: 8px 0;
  padding: 8px 10px 10px;
  border: 1px solid #c6d2d1;
  border-radius: 3px;
  background: #f9fbfb;
}
.form-section--compact h2,
.schedule-section h2 {
  margin: 0 0 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid #d5dedd;
  color: #244846;
  font-size: 13px;
  line-height: 1.2;
}
.form-grid {
  display: grid;
  gap: 8px 10px;
}
.form-grid--3 {
  grid-template-columns: repeat(3, minmax(10rem, 1fr));
}
.form-field,
.admin-form > label,
.customer-form .form-group {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
}
.form-field label,
.admin-form > label,
.form-label,
.customer-form label {
  color: #263b4c;
  font-size: 11px;
  font-weight: 650;
}
.form-field--wide { grid-column: 1 / -1; }
.form-field--compact { max-width: 16rem; }
.form-field input,
.form-field select,
.form-field textarea,
.admin-form input,
.admin-form select,
.admin-form textarea,
.customer-form input,
.customer-form select,
.customer-form textarea {
  width: 100%;
  min-height: 32px;
  box-sizing: border-box;
  padding: 5px 7px;
  border: 1px solid #9fb1b0;
  border-radius: 3px;
  color: #172b3c;
  background: #fff;
  font: inherit;
  font-size: 12px;
}
.form-field textarea,
.admin-form textarea,
.customer-form textarea {
  min-height: 68px;
  line-height: 1.35;
  resize: vertical;
}
.form-field input:disabled,
.form-field select:disabled,
.admin-form input:disabled,
.admin-form select:disabled {
  color: #667574;
  background: #e9eeee;
}
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.admin-form input:focus-visible,
.admin-form select:focus-visible,
.admin-form textarea:focus-visible,
.customer-form input:focus-visible,
.customer-form select:focus-visible,
.customer-form textarea:focus-visible {
  border-color: #0b6a64;
  outline: 2px solid #e5a63b;
  outline-offset: 1px;
}
.button,
.admin-form button,
.customer-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  box-sizing: border-box;
  padding: 5px 11px;
  border: 1px solid #0b5a55;
  border-radius: 3px;
  color: #fff;
  background: #0b5a55;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary {
  border-color: #0b5a55;
  color: #fff;
  background: #0b5a55;
}
.button:hover,
.admin-form button:hover,
.customer-form button:hover { background: #11756e; }
.button-secondary {
  border-color: #78908e;
  color: #254441;
  background: #fff;
}
.button-secondary:hover { background: #edf3f2; }
.button-danger {
  border-color: #9b4545;
  color: #8a2929;
  background: #fff;
}
.button-danger:hover {
  color: #fff;
  background: #9b4545;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}
.record-reference {
  margin: 3px 0 7px;
  color: #526665;
}
.schedule-section {
  max-width: 78rem;
  margin-top: 14px;
}
.schedule-section > p { margin: 5px 0 7px; }
.schedule-actions {
  display: flex;
  gap: 7px;
  margin-bottom: 8px;
}
.schedule-actions form { margin: 0; }
.schedule-table {
  width: 100%;
  font-size: 12px;
  line-height: 1.2;
}
.schedule-table th,
.schedule-table td {
  height: 28px;
  box-sizing: border-box;
  padding: 4px 7px;
}
.schedule-table thead th {
  color: #193b3a;
  background: #dce8e7;
  font-size: 11px;
  font-weight: 650;
}
.schedule-table .money {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 70rem) {
  .form-grid--3 { grid-template-columns: repeat(2, minmax(10rem, 1fr)); }
  .form-field--compact { max-width: none; }
}

@page report-portrait { size: A4 portrait; margin: 10mm; }
@page report-landscape { size: A4 landscape; margin: 8mm; }
.report-narrow { page: report-portrait; }
.report-wide { page: report-landscape; }
@media print {
  :root, body, .authenticated-shell {
    min-width: 0 !important;
    color: #000;
    background: #fff;
  }
  .application-header,
  .application-sidebar,
  .report-filters,
  .report-actions,
  .report-pagination,
  .excel-download {
    display: none !important;
  }
  .shell-layout {
    display: block;
    min-height: 0;
  }
  .shell-content { padding: 0; }
  .report-page { width: 100%; }
  .report-table-wrap {
    overflow: visible;
    border-color: #777;
  }
  .report-table { font-size: 11pt; }
  .report-table th,
  .report-table td {
    height: auto;
    padding: 2.5pt 4pt;
  }
  .report-table thead { display: table-header-group; }
  .report-table tfoot { display: table-row-group; }
  .report-table tr { break-inside: avoid; }
  .report-output-print .export-notice,
  .report-output-pdf .export-notice { display: none; }
}
