@font-face {
  font-family: Inter;
  src: url(assets/inter.woff2) format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --canvas: #f3f5f2;
  --surface: #fff;
  --surface2: #f3f6f3;
  --ink: #192d2a;
  --muted: #536963;
  --line: #d7e1dc;
  --accent: #236954;
  --accent-on: #fff;
  --tint: #e5f1e9;
  --dark: #102a31;
  --nav: #0d242c;
  --heading: Georgia, 'Times New Roman', serif;
  --body: Inter, Arial, sans-serif;
  --shadow: 0 3px 0 #263f300b, 0 5px 17px #19332806;
  --report-heading: var(--heading);
  --report-body: var(--body);
  --report-dark: var(--dark);
  --report-accent: var(--accent);
  color-scheme: light;
  font: 14px/1.5 var(--body);
  color: var(--ink);
  background: var(--canvas);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.52;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #a16d23;
  outline-offset: 3px;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.icon {
  flex: none;
  vertical-align: middle;
  pointer-events: none;
}
.skip {
  position: fixed;
  top: -80px;
  left: 12px;
  background: var(--surface);
  padding: 12px;
  z-index: 30;
}
.skip:focus {
  top: 8px;
}
.boot {
  max-width: 660px;
  margin: 12vh auto;
  padding: 32px;
}
.boot h1 {
  font: 500 42px/1.1 var(--heading);
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--dark), var(--nav) 75%);
  color: #edf5f1;
  z-index: 9;
  border-inline-end: 1px solid #254245;
}
.brand-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 22px 22px;
  border-bottom: 1px solid #ffffff18;
}
.brand-lock > button:first-child {
  padding: 0;
}
.wordmark {
  width: 105px;
  height: 38px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.sidebar .maker {
  font-size: 10px;
  color: #bed0cf;
  letter-spacing: 0.025em;
}
.maker strong {
  color: inherit;
  font-weight: 650;
}
.sidebar nav {
  padding: 14px 11px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #405856 transparent;
}
.nav-group {
  padding: 12px 12px 5px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a4bcba;
}
.navlink {
  width: 100%;
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: start;
  min-height: 38px;
  border-radius: 7px;
  padding: 8px 12px;
  margin: 1px 0;
  color: #d6e6e1;
  font-weight: 475;
}
.navlink .icon {
  opacity: 0.88;
}
.navlink:hover {
  background: #ffffff0d;
}
.navlink.active {
  background: linear-gradient(110deg, #295347, #25423d);
  color: #fff;
  box-shadow:
    inset 3px 0 #91cdb1,
    inset 0 1px #ffffff15;
  font-weight: 610;
}
.side-foot {
  border-top: 1px solid #ffffff20;
  padding: 14px 18px 15px;
  display: grid;
  gap: 8px;
}
.side-user {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
}
.avatar {
  width: 33px;
  height: 33px;
  flex: none;
  border: 1px solid #668c80;
  border-radius: 10px;
  background: #29473f;
  color: #e9f8e8;
  display: grid;
  place-items: center;
  font-weight: 650;
}
.side-user > span:nth-child(2) {
  display: grid;
  min-width: 0;
}
.side-user b {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-user small {
  font-size: 10px;
  color: #b9ceca;
}
.side-user button {
  margin-inline-start: auto;
  color: #dfedeb;
}
.app-area {
  min-width: 0;
}
.topbar {
  height: 61px;
  padding: 0 clamp(18px, 3.1vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.crumb {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}
.crumb b {
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.context-strip {
  display: flex;
  gap: 10px;
  align-items: center;
}
.env {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}
.env::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #36856a;
}
.env.sample::before {
  background: #ab733b;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  color: inherit;
  border-radius: 8px;
}
.icon-btn:hover {
  background: #879a8d1a;
}
.workspace {
  max-width: 1620px;
  margin: 0 auto;
  padding: 25px clamp(18px, 3.1vw, 48px) 48px;
  min-width: 0;
}
.mobile-only {
  display: none;
}
.btn,
.hero-action,
.text-btn,
.back,
.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 570;
  font-size: 13px;
  min-height: 42px;
  line-height: 1.3;
  text-align: center;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  background: linear-gradient(var(--surface), var(--surface2));
  box-shadow: 0 2px 0 #1e3b290c;
  color: var(--ink);
}
.btn.primary {
  color: var(--accent-on);
  border-color: var(--accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent), white 5%), var(--accent));
  box-shadow: 0 2px 0 color-mix(in srgb, var(--accent), black 25%);
}
.btn:hover:not(:disabled) {
  filter: brightness(0.975);
}
.text-btn,
.back,
.link {
  color: var(--accent);
  padding: 4px 0;
}
.text-btn,
.back {
  min-height: 40px;
}
.link {
  text-align: start;
  justify-content: flex-start;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 226px;
  display: flex;
  align-items: center;
  border-radius: 16px;
  background: linear-gradient(105deg, #16362f, #112d30 53%, #091a26 100%);
  box-shadow: var(--shadow);
  color: #fff;
  border: 1px solid #143332;
}
.hero-image {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 50%;
  background: url(assets/apartment-cutaway.webp) center 52% / cover no-repeat;
  mask-image: linear-gradient(to right, transparent, #000 36%);
}
.hero-copy {
  padding: 24px 32px;
  max-width: 66%;
}
.hero-date {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d0e4d9;
  font-size: 12px;
  font-weight: 480;
}
.hero h1,
.page-heading h1,
.report-paper h1 {
  font: 500 clamp(38px, 4vw, 62px) / 1.07 var(--heading);
  letter-spacing: -0.044em;
}
.hero h1 {
  margin: 12px 0 3px;
}
.hero p {
  color: #e1ece4;
  margin: 0 0 14px;
  font-size: 14px;
}
.hero-action {
  min-height: 35px;
  padding: 7px 12px;
  border-radius: 7px;
  background: #ffffff11;
  color: #f5fff8;
  border: 1px solid #ffffff4a;
  font-size: 12px;
}
.hero-action:hover {
  background: #ffffff20;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 17px 0;
}
.stat,
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(
    125deg,
    var(--surface),
    color-mix(in srgb, var(--surface) 94%, var(--surface2))
  );
  box-shadow: var(--shadow);
  border-radius: 13px;
  min-width: 0;
}
.stat {
  text-align: start;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.stat:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.stat-top i,
.tile {
  height: 32px;
  width: 32px;
  flex: none;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: var(--tint);
  color: var(--accent);
  border: 1px solid #24493210;
}
.stat strong {
  font: 500 clamp(23px, 2.5vw, 38px) / 1.2 var(--heading);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.035em;
  margin: 4px 0 3px;
  overflow-wrap: anywhere;
}
.stat small,
.panel-head p,
.page-heading p,
.empty p,
.muted,
.scope-line {
  color: var(--muted);
}
.stat small {
  font-size: 11px;
}
.mid-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(245px, 1fr);
  gap: 17px;
}
.panel {
  padding: 20px;
}
.panel-head,
.page-heading,
.list-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.panel h2,
.panel-head h2,
.dialog-title,
.report-tools h2 {
  font: 500 25px/1.2 var(--heading);
  letter-spacing: -0.025em;
  margin: 0;
}
.panel-head p {
  font-size: 12px;
  margin: 5px 0 0;
}
.panel-head > .icon {
  color: var(--muted);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
}
.legend span {
  white-space: nowrap;
}
.legend span::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  margin-inline-end: 4px;
}
.legend span + span::before {
  background: #c49d69;
}
.chart {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  height: 145px;
  padding-bottom: 18px;
}
.ylabels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: end;
  color: var(--muted);
  font-size: 10px;
  min-width: 23px;
}
.plot {
  position: relative;
  flex: 1;
  min-width: 0;
}
.gridlines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gridlines i {
  border-top: 1px dashed var(--line);
}
.bars {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  gap: 5px;
}
.bars-month {
  flex: 1;
  position: relative;
  text-align: center;
  max-width: 58px;
}
.bars-month small {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}
.pair {
  height: 100%;
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: flex-end;
}
.pair i {
  width: 28%;
  max-width: 18px;
  background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent), #b4d5ad 25%));
  border-radius: 4px 4px 0 0;
}
.pair i + i {
  background: linear-gradient(#b99161, #d2ad7f);
}
.queue .panel-head {
  margin-bottom: 8px;
}
.queue-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 0;
  text-align: start;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.queue-row:last-child {
  border: 0;
}
.queue-row b {
  margin-inline-start: auto;
  font-variant-numeric: tabular-nums;
}
.queue-row > .icon {
  color: var(--muted);
}
.tile {
  height: 29px;
  width: 29px;
  border-radius: 7px;
}
.tile.peach {
  background: #f9eae4;
  color: #925431;
}
.tile.sand {
  background: #f4efdf;
  color: #816839;
}
.tile.blue {
  background: #e9f0f5;
  color: #476773;
}
.below {
  margin-top: 17px;
}
.below .panel-head {
  margin-bottom: 10px;
}
.page-heading {
  align-items: flex-start;
  margin: 7px 0 22px;
  flex-wrap: wrap;
}
.page-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 48px);
  overflow-wrap: anywhere;
}
.page-heading p {
  margin: 6px 0 0;
}
.actions,
.tools-right,
.dialog-actions,
.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tabs {
  border-bottom: 1px solid var(--line);
  margin: 0 0 22px;
}
.tabs button {
  padding: 10px 12px;
  min-height: 44px;
  color: var(--muted);
  font-weight: 550;
}
.tabs [aria-current] {
  color: var(--accent);
  box-shadow: inset 0 -3px var(--accent);
}
.list-panel {
  padding: 0;
  overflow: hidden;
}
.list-tools,
.scope-line {
  padding: 16px 18px;
}
.search {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--surface2);
  min-width: 0;
  color: var(--muted);
  width: min(360px, 48%);
}
.search input {
  width: 100%;
  background: none;
  border: 0;
  min-height: 42px;
  color: var(--ink);
  min-width: 0;
}
.search:focus-within {
  outline: 2px solid var(--accent);
}
.search input:focus-visible {
  outline: none;
}
.tools-right select {
  min-height: 42px;
  padding: 0 8px;
  max-width: 160px;
}
.table-wrap,
.report-table {
  overflow-x: auto;
}
.register {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.register th,
.register td {
  padding: 11px 12px;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
.register th {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface2);
  white-space: nowrap;
}
.register td {
  height: 46px;
}
.register tr:last-child td {
  border-bottom: 0;
}
.register tbody tr {
  cursor: pointer;
}
.register tbody tr:hover {
  background: var(--surface2);
}
.row-link {
  font-weight: 610;
  text-align: start;
  padding: 4px 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}
.chev {
  width: 25px;
  color: var(--muted);
}
.pill {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  color: #41544d;
  background: #e9eeeb;
  padding: 4px 9px;
  border-radius: 20px;
  display: inline-block;
  white-space: nowrap;
}
.pill.paid,
.pill.cleared,
.pill.active,
.pill.occupied,
.pill.held,
.pill.done,
.pill.approved {
  background: #dfefe6;
  color: #275641;
}
.pill.overdue,
.pill.bounced,
.pill.rejected,
.pill.urgent {
  background: #fae6dd;
  color: #8c452f;
}
.pill.pending,
.pill.pending_approval,
.pill.in_progress,
.pill.deposited,
.pill.due,
.pill.unpaid {
  background: #f5edda;
  color: #70551e;
}
.pill.vacant,
.pill.scheduled {
  background: #e4edf3;
  color: #365b6a;
}
.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 6px 16px;
  color: var(--muted);
  font-size: 12px;
}
.pager > div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.empty {
  text-align: center;
  padding: 30px 14px;
  color: var(--muted);
}
.empty > .icon {
  display: block;
  margin: 0 auto 10px;
}
.empty strong {
  display: block;
  color: var(--ink);
}
.empty p {
  font-size: 13px;
  margin: 4px 0 10px;
}
.notice,
.error,
.inline-status {
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0;
}
.notice,
.inline-status {
  background: var(--tint);
  color: var(--ink);
  border: 1px solid var(--line);
}
.error {
  background: #faeae6;
  color: #812e20;
  border: 1px solid #eac0b6;
}
.error:empty {
  display: none;
}
.facts,
.balance-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 22px;
}
.facts {
  margin: 18px 0 4px;
}
.facts > div {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.facts dt,
.balance-strip small {
  color: var(--muted);
  font-size: 12px;
}
.facts dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.facts .link {
  min-height: 25px;
}
.balance-strip {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  margin-bottom: 15px;
  gap: 8px;
}
.balance-strip > div {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.balance-strip strong,
.balance-strip small {
  display: block;
}
.balance-strip strong {
  font-size: 17px;
}
.related {
  border-top: 1px solid var(--line);
  padding: 9px 0;
}
.related summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 35px;
}
.related summary span {
  color: var(--muted);
  margin-inline-start: 5px;
}
.related .link {
  display: flex;
}
.activity {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.activity span {
  float: right;
  font-size: 12px;
  color: var(--muted);
}
.activity p {
  margin: 3px 0;
}
.scope-line {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
dialog {
  width: min(590px, calc(100vw - 26px));
  max-height: 90dvh;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 24px 100px #09252255;
}
dialog::backdrop {
  background: #071f29a8;
}
dialog:has(.report-paper) {
  width: min(880px, calc(100vw - 26px));
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.dialog-body {
  padding: 18px 22px;
}
.dialog-body > p:first-child {
  margin-top: 0;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.field {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  font-weight: 550;
  font-size: 12px;
}
.field.wide,
.field:has(textarea) {
  grid-column: 1/-1;
}
.field input,
.field select,
.field textarea,
.tools-right select,
select.control {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface2);
  color: var(--ink);
  padding: 9px 10px;
  min-height: 44px;
  font-size: 14px;
}
.field input[type='checkbox'] {
  width: 20px;
  min-height: 20px;
}
.tools-right {
  flex-wrap: nowrap;
}
.tools-right select {
  width: auto;
}
.field input[type='color'] {
  padding: 4px;
}
.field textarea {
  min-height: 75px;
  resize: vertical;
}
.field[hidden] {
  display: none;
}
.dialog-actions {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding: 14px 22px;
}
.dialog-actions input[type='submit'] {
  cursor: pointer;
}
.summary-list {
  padding: 0;
  margin: 10px 0;
}
.summary-list div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
  gap: 14px;
}
.summary-list dd {
  margin: 0;
  text-align: end;
  overflow-wrap: anywhere;
}
.report-controls,
.appearance {
  max-width: 950px;
}
.report-controls .field-grid {
  grid-template-columns: 1.4fr 1fr 1fr auto;
  align-items: end;
}
.report-controls .btn {
  min-height: 44px;
}
.report-show {
  margin-top: 18px;
}
.appearance {
  padding: 22px;
}
.appearance .field-grid {
  margin: 18px 0;
}
.doc-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 12px 0;
}
.report-print {
  display: none;
}
.scrim {
  display: none;
}
.inline-status {
  font-size: 13px;
}
#toast {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 20;
  max-width: min(450px, calc(100vw - 32px));
  background: var(--dark);
  color: white;
  border-radius: 9px;
  box-shadow: var(--shadow);
}
#toast:not(:empty) {
  padding: 12px 16px;
}
.login {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  width: min(990px, 94vw);
  margin: clamp(24px, 10vh, 110px) auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 70px #16342618;
}
.login-art {
  min-height: 515px;
  background: #0b2029 url(assets/apartment-cutaway.webp) center 82%/105% auto no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px;
}
.login-art .wordmark {
  width: 125px;
  height: auto;
}
.login-art .maker {
  color: #d7e6e4;
}
.login-form {
  padding: clamp(24px, 4.5vw, 60px);
  align-self: center;
}
.login-form h1 {
  font: 500 46px/1.03 var(--heading);
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}
.login-form > p {
  margin: 0 0 24px;
  color: var(--muted);
}
.login-form .field {
  margin: 15px 0;
}
.login-form .primary {
  margin-top: 8px;
  width: 100%;
}
.login-form a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  text-underline-offset: 3px;
}
.login-mark {
  display: none;
}
.loading-line {
  height: 3px;
  background: var(--tint);
  margin: 15px 0;
}
.loading-line:after {
  content: '';
  display: block;
  width: 33%;
  background: var(--accent);
  height: 100%;
  animation: load 1.4s infinite ease-in-out;
}
@keyframes load {
  50% {
    transform: translateX(190%);
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 194px minmax(0, 1fr);
  }
  .stat {
    padding: 13px;
  }
  .hero {
    min-height: 205px;
  }
  .panel {
    padding: 16px;
  }
  .panel.list-panel {
    padding: 0;
  }
  .stats {
    gap: 9px;
  }
  .mid-grid {
    gap: 12px;
  }
  .brand-lock {
    padding: 23px 18px;
  }
  .workspace {
    padding-inline: 20px;
  }
  .register th,
  .register td {
    padding-inline: 9px;
  }
  .legend {
    gap: 5px;
  }
  .chart {
    height: 135px;
  }
}
@media (max-width: 950px) {
  .shell {
    display: block;
  }
  .mobile-only {
    display: inline-grid;
  }
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 236px;
    display: none;
  }
  .sidebar.open {
    display: flex;
  }
  .scrim.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #071f2970;
    z-index: 8;
  }
  .topbar {
    height: 54px;
  }
  .workspace {
    padding: 18px 20px 38px;
  }
  .hero {
    min-height: 200px;
  }
  .brand-lock .mobile-only {
    display: grid;
  }
  .navlink {
    min-height: 44px;
  }
  .stats .stat strong {
    font-size: 28px;
  }
  .report-controls .field-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field-grid {
    gap: 12px;
  }
  .topbar .crumb {
    gap: 6px;
  }
}
@media (max-width: 620px) {
  .workspace {
    padding: 13px 12px 28px;
  }
  .topbar {
    padding: 0 8px;
  }
  .crumb > .root-crumb,
  .crumb > .crumb-sep {
    display: none;
  }
  .context-strip {
    gap: 1px;
  }
  .hero {
    min-height: 184px;
  }
  .hero-copy {
    padding: 18px;
    max-width: 70%;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero-image {
    width: 52%;
    background-position: 43% 50%;
    mask-image: linear-gradient(to right, transparent, #000 50%);
  }
  .hero-date {
    font-size: 10px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-action {
    min-height: 36px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 11px 0;
  }
  .stat {
    padding: 11px 12px;
  }
  .stats .stat strong {
    font-size: 25px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-top i {
    width: 25px;
    height: 25px;
  }
  .stat-top .icon {
    width: 15px;
  }
  .stat small {
    font-size: 10px;
  }
  .mid-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .panel {
    padding: 14px;
  }
  .panel-head h2 {
    font-size: 23px;
  }
  .chart {
    height: 138px;
  }
  .below {
    margin-top: 11px;
  }
  .register thead,
  .register .chev {
    display: none;
  }
  .register,
  .register tbody,
  .register tr {
    display: block;
  }
  .register tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    gap: 3px 9px;
  }
  .register td {
    padding: 1px 0;
    height: auto;
    border: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
  }
  .register td:first-child {
    grid-column: 1/-1;
  }
  .register td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 10px;
  }
  .register .row-link {
    min-height: 38px;
    font-size: 14px;
  }
  .list-tools {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }
  .search {
    width: 100%;
  }
  .tools-right {
    width: 100%;
    justify-content: space-between;
  }
  .tools-right select {
    max-width: 145px;
  }
  .tabs {
    gap: 3px;
    margin-bottom: 14px;
  }
  .tabs button {
    padding-inline: 9px;
  }
  .page-heading {
    margin: 5px 0 14px;
    gap: 9px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .page-heading p,
  .btn {
    font-size: 12px;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .balance-strip {
    grid-template-columns: 1fr 1fr;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .report-controls .field-grid {
    grid-template-columns: 1fr;
  }
  .dialog-head,
  .dialog-body,
  .dialog-actions {
    padding: 13px 15px;
  }
  .report-head {
    gap: 8px;
  }
  .login {
    display: block;
    margin: 16px auto;
    max-width: 420px;
  }
  .login-art {
    min-height: 160px;
    background-size: 60%;
    background-position: right 58%;
    padding: 18px;
  }
  .login-art .wordmark {
    width: 96px;
  }
  .login-art .maker {
    font-size: 10px;
  }
  .login-form {
    padding: 24px;
  }
  .login-form h1 {
    font-size: 36px;
  }
  .btn,
  .hero-action,
  .text-btn,
  .icon-btn {
    min-height: 44px;
  }
  .pager {
    padding-inline: 10px;
  }
  .panel-head {
    gap: 8px;
  }
  .facts dd,
  .notice {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .workspace {
    padding-inline: 8px;
  }
  .hero-copy {
    padding: 14px;
    max-width: 75%;
  }
  .hero h1 {
    font-size: 31px;
  }
  .stats .stat strong {
    font-size: 22px;
  }
  .legend {
    flex-direction: column;
  }
  .stat small {
    line-height: 1.3;
  }
  .queue-row {
    font-size: 12px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .register tr {
    padding: 8px;
  }
  .appearance .field-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  body.is-printing > #root,
  body.is-printing > #toast,
  body.is-printing > .skip,
  body.is-printing > dialog {
    display: none !important;
  }
  .report-print {
    display: block !important;
  }
}

.freshness {
  font-size: 11px;
  color: var(--muted);
}
.text-btn,
.back,
.link,
.tabs [aria-current],
.stat-top i {
  color: var(--link, var(--accent));
}
.login-form a {
  color: var(--link, var(--accent));
}
@media (min-width: 951px) {
  .hero-image {
    background-size: auto 112%;
    background-position: 79% 50%;
    background-color: #081924;
  }
}
@media (max-width: 620px) {
  .freshness {
    display: none;
  }
}
@media print {
  body.is-printing {
    overflow: visible !important;
  }
  body.is-printing::backdrop,
  body.is-printing dialog::backdrop {
    display: none !important;
  }
}

.ops-caption { color:var(--link);font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;font-weight:700;margin-bottom:.35rem }
.ops-heading { display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-bottom:1.25rem }
.ops-heading h1 { margin:0;font:500 clamp(2.15rem,4.4vw,3.9rem)/1.05 var(--heading);color:var(--dark);letter-spacing:-.035em }
.ops-heading .field { min-width: min(15rem,100%); }
.ops-actions,.ops-page { display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.85rem 0 1rem }
.ops-actions .btn { text-decoration:none }
.ops-actions .btn[data-op-action]:first-child { background:var(--accent);color:var(--accent-on);border-color:var(--accent) }
.ops-register { padding:0;overflow:hidden }
.ops-filters { padding:1.1rem;display:flex;gap:.85rem;align-items:end;flex-wrap:wrap }
.ops-filters .field:first-child { flex:1 1 13rem }
.ops-filters .field { min-width:0 }
.ops-detail,.ops-form { padding:clamp(1rem,3vw,2rem);margin-top:.75rem }
.ops-form h2,.ops-detail h2 { font-family:var(--heading);margin-top:0 }
.ops-form .field-grid { margin:1rem 0 }
.ops-form .ops-check { align-self:center;padding:.65rem 0;display:flex;gap:.55rem;align-items:center;font-size:.94rem }
.ops-check input { width:1.2rem;height:1.2rem;accent-color:var(--accent) }
.ops-link { color:var(--link);font-weight:650;text-decoration:underline;text-underline-offset:.2em;overflow-wrap:anywhere }
.ops-table td,.ops-detail dd { overflow-wrap:anywhere;white-space:normal }
.ops-page { padding:.85rem 1.1rem;margin:0;justify-content:space-between;border-top:1px solid var(--line) }
.ops-preview { max-height:26rem;overflow:auto }
.ops-preview p { display:flex;flex-wrap:wrap;gap:.45rem 1rem;border-bottom:1px solid var(--line);padding-bottom:.45rem }
.sidebar nav { min-height:0;overflow-y:auto;overscroll-behavior:contain }
@media(max-width:700px) {
 .ops-heading { align-items:stretch }
 .ops-heading .field { flex-basis:100% }
 .ops-filters { padding:.8rem }
 .ops-register .ops-table td::before { content:attr(data-label);color:var(--muted);font-weight:500;font-size:.78rem }
 .ops-register .ops-table td { display:grid;grid-template-columns:minmax(5.75rem,35%) minmax(0,1fr);gap:.5rem;text-align:left!important;padding:.32rem .7rem }
 .ops-register .ops-table tr { display:block;padding:.6rem 0 }
 .ops-register .ops-table td:empty { display:none }
 .ops-page {font-size:.85rem}
 .ops-heading h1 {font-size:2.4rem}
}
