@import url("/assets/fonts.css");
:root {
  color-scheme: dark;
  --bg: #07121f;
  --sidebar: #050e18;
  --panel: #0d2034;
  --panel2: #10263d;
  --line: #23435f;
  --muted: #8ea9c6;
  --text: #edf4ff;
  --cyan: #32d4f5;
  --purple: #a779ff;
  --blue: #579dff;
  --green: #39d39b;
  --orange: #ffb559;
  --red: #ff537b;
  --radius: 12px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  color: inherit;
  border: 1px solid var(--line);
  background: #14263b;
  border-radius: 9px;
  padding: 10px 15px;
  font-weight: 650;
  transition: 0.16s;
}
button:hover {
  border-color: #4b769d;
  background: #1b3550;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
}
a {
  color: var(--blue);
  text-decoration: none;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #294760;
  background: #081725;
  color: var(--text);
  padding: 11px 12px;
  border-radius: 9px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #66809d;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: 2px solid #32d4f519;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
label {
  font-size: 12px;
  color: #c2d4e7;
  display: block;
  font-weight: 550;
}
label input,
label select,
label textarea {
  margin-top: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  font-weight: 780;
  letter-spacing: -1.5px;
  line-height: 1.22;
}
h2 {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 13px;
}
small,
.muted {
  color: var(--muted);
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm {
  width: 15px;
  height: 15px;
}
.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: var(--muted);
}
.boot img {
  width: 240px;
}
.primary {
  background: linear-gradient(110deg, #236caf, #7547cc);
  border-color: #5d69c2;
  color: #fff;
  box-shadow: 0 3px 16px #573eaa16;
}
.primary:hover {
  background: linear-gradient(110deg, #2c82cb, #8b57e8);
  border-color: #7a88e6;
}
.danger {
  color: #ff91aa;
  background: #491d32;
  border-color: #7c314b;
}
.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.btn-icon {
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.btn-sm {
  padding: 6px 10px;
  font-size: 11px;
}
.button-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-size: 12px;
}
.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.spacer {
  flex: 1;
}
.nowrap {
  white-space: nowrap;
}
.subtext {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.section-label {
  color: var(--cyan);
  font-family: ui-monospace, monospace;
  font-weight: 750;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
  letter-spacing: 0.15px;
}
.tag.blue {
  color: #91c9ff;
  background: #123657;
}
.tag.green {
  color: #67e5b4;
  background: #103d35;
}
.tag.orange {
  color: #ffc978;
  background: #4a351e;
}
.tag.red {
  color: #ff7b9c;
  background: #492139;
}
.tag.purple {
  color: #bb9aff;
  background: #30284d;
}
.tag.gray {
  color: #a9bfd6;
  background: #1b3045;
}
.dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 100%;
  display: inline-block;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #185e9d, #4945a1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 750;
  color: #e0efff;
  flex-shrink: 0;
}
.avatar.purple {
  background: #45317c;
}
.avatar.green {
  background: #155b50;
}
.avatar.orange {
  background: #684b26;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 45%, #163668 0, transparent 49%),
    radial-gradient(ellipse at 86% 53%, #271d4b66, transparent 35%), #070e1a;
}
.login:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#2470bc 1px, transparent 1px);
  background-size: 179px 149px;
  opacity: 0.22;
  pointer-events: none;
}
.login-brand {
  padding: 12vh 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}
.login-brand img {
  width: min(100%, 560px);
  margin-left: -20px;
  margin-bottom: 35px;
  filter: drop-shadow(0 0 25px #006ab132);
}
.login-brand h1 {
  font-size: 46px;
  margin: 14px 0;
  color: #e2f1ff;
  max-width: 650px;
}
.login-brand p {
  font-size: 14px;
  color: #8da3be;
  max-width: 560px;
  line-height: 1.9;
}
.login-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 50px;
}
.login-form {
  width: 100%;
  max-width: 390px;
}
.login-form .eyebrow {
  margin-bottom: 6px;
}
.login-form h2 {
  font-size: 24px;
  margin-bottom: 6px;
  letter-spacing: -0.8px;
}
.login-form .welcome {
  margin-bottom: 30px;
}
.login-form label {
  margin-bottom: 18px;
}
.login-form input {
  height: 47px;
}
.login-form button[type="submit"] {
  width: 100%;
  height: 47px;
  margin-top: 7px;
}
.login-footer {
  font-size: 11px;
  text-align: center;
  color: #7d91b1;
  margin-top: 25px;
}
.login-error {
  color: #ff8da4;
  min-height: 24px;
  margin: 10px 0;
}
.login-note {
  margin-top: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7e9bb8;
  font-size: 11px;
}
.login-note .icon {
  color: var(--cyan);
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 232px;
  background: linear-gradient(180deg, #06131f, #040b14);
  border-right: 1px solid #18344a;
  display: flex;
  flex-direction: column;
  z-index: 30;
  transition: width 0.2s;
}
.brand {
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 17px 8px;
}
.brand img {
  width: 196px;
}
.brand .brand-mini {
  display: none;
}
.brand-caption {
  text-align: center;
  letter-spacing: 3px;
  color: #6889ad;
  font-size: 8px;
  margin-top: -12px;
  margin-bottom: 22px;
}
.collapse-toggle {
  margin: 0 13px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #081624;
  padding: 10px 12px;
  font-size: 11px;
  color: #bad1e9;
}
.collapse-toggle .icon {
  color: var(--cyan);
  width: 15px;
}
.nav-group-title {
  color: #526f90;
  font-size: 8px;
  letter-spacing: 1.6px;
  padding: 0 24px 10px;
  font-weight: 750;
}
.nav-list {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  color: #8faac9;
  border: 1px solid transparent;
  border-radius: 9px;
  position: relative;
  font-weight: 650;
  font-size: 12px;
  width: 100%;
  background: transparent;
  text-align: left;
  white-space: nowrap;
}
.nav-item .icon {
  color: var(--cyan);
  width: 17px;
}
.nav-item:hover {
  color: #eaf5ff;
  background: #0b1d30;
  border-color: #183c57;
}
.nav-item.active {
  background: linear-gradient(100deg, #132c42, #0b172b);
  border-color: #234a69;
  color: #eef8ff;
  box-shadow: 0 0 18px #28c4ff07;
}
.nav-item.active:before {
  position: absolute;
  content: "";
  left: -1px;
  top: 7px;
  bottom: 7px;
  width: 3px;
  background: linear-gradient(var(--cyan), var(--purple));
  border-radius: 3px;
}
.nav-count {
  margin-left: auto;
  font-size: 9px;
  color: #81b9da;
  background: #18364d;
  padding: 1px 6px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 18px 13px;
  border-top: 1px solid #14293b;
}
.env-status {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 10px 0;
  font-size: 9px;
  color: #5d7897;
}
.env-status .dot {
  color: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.app-main {
  margin-left: 232px;
  transition: margin 0.2s;
  min-height: 100vh;
  background-image:
    linear-gradient(#1d3d5415 1px, transparent 1px),
    linear-gradient(90deg, #1d3d5415 1px, transparent 1px);
  background-size: 42px 42px;
}
.topbar {
  height: 65px;
  border-bottom: 1px solid #183047;
  background: #071524ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(12px);
}
.breadcrumb {
  font-size: 11px;
  color: #6e8bad;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb strong {
  color: #a9bed6;
  font-weight: 500;
}
.topbar-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}
.searchbox {
  position: relative;
  width: min(36vw, 560px);
  color: var(--muted);
}
.searchbox > .icon {
  position: absolute;
  left: 13px;
  top: 12px;
  width: 16px;
}
.searchbox input {
  height: 40px;
  padding-left: 39px;
  font-size: 11px;
  background: #05111e;
}
.searchbox kbd {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 1px solid #28445e;
  border-radius: 4px;
  padding: 0 4px;
  font-size: 9px;
  color: #86a8ca;
}
.badge-number {
  position: absolute;
  top: -5px;
  right: -4px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  border-radius: 10px;
  padding: 1px 5px;
  border: 2px solid #071524;
}
.topbar .btn-icon {
  height: 39px;
  width: 39px;
  border-color: #1c334d;
  background: #0b1930;
}
.profile-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  padding: 5px 9px;
  border-color: #294568;
  background: #0e1c32;
}
.profile-toggle .avatar {
  width: 28px;
  height: 28px;
}
.profile-menu {
  position: absolute;
  right: 30px;
  top: 58px;
  width: 228px;
  background: #081624;
  border: 1px solid #28465f;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 14px 50px #0007;
  z-index: 40;
}
.profile-menu p {
  color: #8ea9c6;
  font-size: 11px;
  margin: 4px 0 12px;
}
.profile-menu button {
  display: block;
  width: 100%;
  margin-top: 7px;
  text-align: left;
  font-size: 11px;
}
.content {
  padding: 0 30px 30px;
  max-width: 2200px;
  margin: 0 auto;
}
.page-hero {
  min-height: 151px;
  padding: 35px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid #29435a;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, #14689b13, transparent 70%);
  pointer-events: none;
}
.hero-title {
  border-left: 3px solid transparent;
  border-image: linear-gradient(var(--purple), var(--cyan)) 1;
  padding-left: 16px;
  z-index: 1;
}
.hero-title h1 {
  margin-top: 7px;
  margin-bottom: 6px;
}
.hero-title p {
  color: #9bbbd9;
  font-size: 11px;
  letter-spacing: 0.15px;
}
.hero-actions {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 3px;
}
.hero-date {
  font-size: 10px;
  color: #88a9c6;
  white-space: nowrap;
}
.hero-actions button {
  font-size: 11px;
  white-space: nowrap;
}
.hero-top {
  height: 12px;
}
.collapsed .sidebar {
  width: 72px;
}
.collapsed .app-main {
  margin-left: 72px;
}
.collapsed .brand {
  height: 82px;
  padding: 14px;
}
.collapsed .brand img {
  display: none;
}
.collapsed .brand .brand-mini {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--cyan);
}
.collapsed .brand-caption,
.collapsed .nav-group-title,
.collapsed .nav-item span,
.collapsed .collapse-toggle span,
.collapsed .env-status {
  display: none;
}
.collapsed .collapse-toggle {
  margin: 8px 13px 22px;
  justify-content: center;
  padding: 10px;
}
.collapsed .nav-item {
  justify-content: center;
  padding: 13px 5px;
}
.collapsed .nav-list {
  padding: 0 12px;
  gap: 7px;
}
.collapsed .sidebar-bottom .nav-item {
  padding: 12px 4px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
  margin: 16px 0;
}
.stat {
  min-height: 107px;
  border: 1px solid #275170;
  border-radius: 12px;
  background: linear-gradient(125deg, #122c44aa, #0d1e31);
  padding: 16px 13px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 11px;
  align-items: center;
}
.stat:before {
  content: "";
  width: 2px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 60%);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent), transparent 91%);
  border-radius: 12px;
  flex-shrink: 0;
}
.stat-label {
  color: #a9c0da;
  font-size: 10px;
  line-height: 1.45;
  max-width: 115px;
}
.stat-value {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
  margin-top: 5px;
  color: var(--accent);
  white-space: nowrap;
}
.stat-value.money {
  font-size: 23px;
}
.stat-note {
  font-size: 9px;
  color: #7295b5;
  margin-top: 4px;
}
.sparkline {
  width: 64px;
  height: 35px;
  margin-left: auto;
  align-self: flex-end;
  opacity: 0.85;
  flex-shrink: 0;
}
.summary-strip {
  background: #0d1b2be8;
  border-radius: 14px;
  padding: 15px 16px;
  margin-bottom: 16px;
}
.summary-strip h2 {
  margin-bottom: 12px;
}
.summary-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--accent), #20334c 65%);
  border-radius: 9px;
  padding: 12px 13px;
  background: #0c1b2d;
  position: relative;
}
.summary-item:before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  top: 8px;
  bottom: 8px;
  border-radius: 3px;
  background: var(--accent);
}
.summary-item .stat-icon {
  width: 31px;
  height: 34px;
  border-radius: 9px;
}
.summary-item .label {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9fbbd6;
  font-weight: 750;
}
.summary-item .number {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 750;
}
.summary-item small {
  font-size: 9px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(285px, 1fr);
  gap: 14px;
  align-items: start;
}
.panel {
  background: #0d2034ed;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
.panel-header {
  padding: 16px 16px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.panel-header p {
  font-size: 10px;
  color: #9ab7d4;
  margin-top: 3px;
  letter-spacing: 0.15px;
}
.panel-body {
  padding: 0 16px 16px;
}
.panel-spaced {
  padding: 18px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #1d3e59;
  border-radius: 10px;
}
.statement-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.statement-summary > .panel { padding: 14px; font-weight: 600; }
.statement-preview .table-wrap { max-height: 320px; }
.finance-toolbar > .flex { flex-wrap: wrap; min-width: 0; max-width: 100%; }
@media (max-width: 760px) {
  .finance-toolbar { flex-wrap: wrap; align-items: flex-start; }
  .finance-toolbar button { white-space: normal; }
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}
.data-table th {
  background: #122a43;
  color: #94b3d3;
  font-size: 8px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 13px 12px;
  font-weight: 750;
}
.data-table td {
  padding: 13px 12px;
  border-top: 1px solid #1c3c54;
  background: #091b2b;
  vertical-align: middle;
}
.data-table tbody tr:hover td {
  background: #10283c;
}
.data-table .title-cell {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dfebf8;
  font-weight: 600;
}
.data-table .client-cell {
  font-size: 10px;
  color: #a5bed8;
}
.data-table .btn-icon {
  padding: 7px;
}
.empty {
  padding: 42px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  color: #43718e;
}
.empty p {
  margin-top: 6px;
}
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 0 8px;
}
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 32px;
  align-items: center;
  gap: 12px;
  font-size: 10px;
}
.bar-track {
  height: 7px;
  background: #1a3853;
  border-radius: 6px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 6px;
  background: var(--accent);
}
.bar-value {
  text-align: right;
  font-weight: 750;
}
.activity-item {
  padding: 12px 0;
  border-bottom: 1px solid #1e3b53;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.activity-item:last-child {
  border: 0;
}
.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--green);
  box-shadow: 0 0 9px #37d49a70;
  margin-top: 7px;
  flex-shrink: 0;
}
.activity-item h3 {
  font-size: 10px;
  font-weight: 700;
}
.activity-item p {
  font-size: 9px;
  color: #99b5d2;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.activity-item time {
  margin-left: auto;
  white-space: nowrap;
  font-size: 8px;
  color: #7e9fbc;
}
.chart-legend {
  display: flex;
  gap: 14px;
  color: #8fabcb;
  font-size: 9px;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.financial-chart {
  width: 100%;
  height: 180px;
  display: block;
}
.chart-label {
  fill: #6d8eac;
  font-size: 9px;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #4f7394;
  margin: 25px 0 0;
  border-top: 1px solid #193148;
  padding-top: 14px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-group select,
.filter-group input {
  width: auto;
  min-width: 150px;
  height: 37px;
  font-size: 11px;
}
.filter-group input {
  width: 240px;
}
.segmented {
  display: flex;
  background: #0a1929;
  border: 1px solid #213e56;
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
}
.segmented button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  font-size: 10px;
  color: #88a8c5;
}
.segmented button.active {
  background: #1a3853;
  color: #edf6ff;
}
.tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid #23415b;
  margin: 0 0 20px;
  padding-bottom: 8px;
  overflow: auto;
}
.tabs button {
  white-space: nowrap;
  background: none;
  border: 1px solid transparent;
  font-size: 11px;
  color: #8eaecd;
  padding: 8px 13px;
}
.tabs button.active {
  background: #133046;
  color: #50d6f1;
  border-color: #24516a;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.entity-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, #11263b, #0a1b2b);
}
.entity-card:hover {
  border-color: #3a6688;
}
.entity-card h2 {
  font-size: 15px;
  margin-top: 14px;
  margin-bottom: 4px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.company-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #345c7b;
  border-radius: 11px;
  background: linear-gradient(135deg, #1b3d5f, #392e60);
  color: #b7d2ed;
  font-size: 14px;
  font-weight: 750;
}
.card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 17px 0;
  margin: 14px 0;
  border-top: 1px solid #233e55;
  border-bottom: 1px solid #233e55;
  gap: 10px;
}
.card-metrics strong {
  display: block;
  font-size: 18px;
  font-weight: 750;
}
.card-metrics small {
  font-size: 9px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #8ca9c5;
  font-size: 10px;
}
.kanban {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 1fr);
  overflow: auto;
  gap: 13px;
  padding-bottom: 18px;
  min-height: 420px;
  align-items: start;
}
.kanban-col {
  background: #091a2ac4;
  border: 1px solid #1b3a54;
  border-radius: 11px;
  min-height: 390px;
  padding: 0 10px 12px;
  border-top: 2px solid var(--accent);
  transition: 0.15s;
}
.kanban-col.drag-over {
  background: #133047;
  border-color: #44cbe4;
}
.kanban-heading {
  padding: 15px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kanban-heading h2 {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kanban-heading .count {
  font-size: 9px;
  padding: 2px 7px;
  background: #1c344a;
  color: #a0bad2;
  border-radius: 5px;
}
.ticket-card {
  background: linear-gradient(120deg, #102a40, #102238);
  border: 1px solid #27475f;
  border-radius: 9px;
  padding: 13px 12px;
  margin: 0 0 10px;
  cursor: pointer;
  box-shadow: 0 3px 10px #020c1622;
}
.ticket-card:hover {
  border-color: #3d7a9c;
  transform: translateY(-1px);
}
.ticket-card[draggable="true"] {
  cursor: grab;
}
.ticket-card.dragging {
  opacity: 0.4;
}
.ticket-id {
  color: #6f99bc;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.4px;
}
.ticket-card h3 {
  font-size: 11px;
  line-height: 1.6;
  font-weight: 650;
  margin: 11px 0 8px;
}
.ticket-client {
  color: #9cb8d3;
  font-size: 9px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.ticket-client .icon {
  width: 12px;
  height: 12px;
}
.ticket-card-footer {
  border-top: 1px solid #23435b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
}
.sla {
  font-size: 9px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sla.overdue {
  color: var(--red);
}
.sla.paused {
  color: var(--orange);
}
.ticket-card-footer .avatar {
  width: 23px;
  height: 23px;
  font-size: 8px;
}
.client-group {
  margin: 20px 0 12px;
  color: #c9dcf0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.client-group small {
  font-size: 10px;
  font-weight: 400;
}
.notice {
  padding: 13px 16px;
  border: 1px solid #2a536e;
  border-radius: 9px;
  background: #0c293b;
  color: #9ec8e1;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.notice.warning {
  background: #382d1e;
  border-color: #6d542c;
  color: #e5bb80;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid #213e55;
  font-size: 11px;
}
.detail-row > span:first-child {
  color: #8daac6;
}
.detail-row > span:last-child {
  text-align: right;
}
.progress {
  height: 6px;
  background: #1b3650;
  border-radius: 5px;
  overflow: hidden;
}
.progress > span {
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  height: 100%;
  max-width: 100%;
}
.metric-big {
  font-size: 32px;
  font-weight: 780;
  letter-spacing: -1px;
  margin: 8px 0 14px;
}
.inline-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.inline-form > label {
  flex: 1;
}
.integration-card {
  padding: 22px;
}
.integration-card .integration-symbol {
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #153851;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 15px;
}
.integration-card h2 {
  font-size: 16px;
}
.integration-card p {
  font-size: 11px;
  color: #91afcb;
  line-height: 1.8;
  margin: 12px 0 20px;
}
.timeline-item {
  padding: 12px 0;
  border-bottom: 1px solid #213b50;
  display: flex;
  gap: 10px;
}
.timeline-body {
  flex: 1;
  min-width: 0;
}
.timeline-body p {
  white-space: pre-wrap;
  font-size: 12px;
  color: #c3d6e8;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.timeline-body small {
  font-size: 9px;
}
.timeline-internal {
  background: #251e3922;
  border-left: 2px solid var(--purple);
  padding-left: 10px;
}
.workflow-column-row {
  padding: 13px 16px;
  border: 1px solid #27465f;
  border-left: 3px solid var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0c1e30;
  margin-bottom: 10px;
}
.workflow-column-row h3 {
  flex: 1;
}
.workflow-column-row small {
  font-size: 10px;
}
.no-data {
  font-size: 11px;
  color: #7796b5;
  padding: 18px;
}
dialog {
  color: var(--text);
  background: #0c1c2e;
  border: 1px solid #34546d;
  border-radius: 15px;
  padding: 0;
  width: min(620px, calc(100vw - 32px));
  max-height: 90vh;
  box-shadow: 0 25px 100px #0009;
}
dialog::backdrop {
  background: #020a14b8;
  backdrop-filter: blur(5px);
}
dialog.wide {
  width: min(1080px, calc(100vw - 40px));
}
.modal-header {
  padding: 20px 23px;
  border-bottom: 1px solid #23415a;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  position: sticky;
  top: 0;
  background: #0c1c2ef5;
  z-index: 2;
}
.modal-header h2 {
  font-size: 18px;
  line-height: 1.5;
}
.modal-header p {
  font-size: 11px;
  color: #829fbd;
  margin-top: 3px;
}
.modal-body {
  padding: 23px;
}
.modal-footer {
  padding: 16px 23px;
  border-top: 1px solid #23415a;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #0a1929;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-error {
  font-size: 11px;
  color: #ff8ca3;
  min-height: 20px;
  padding-top: 12px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  padding: 8px 0;
}
.checkbox-label input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--cyan);
}
.form-help {
  font-size: 10px;
  color: #7899b8;
  margin: 8px 0 4px;
  line-height: 1.6;
}
.field-permissions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.ticket-description {
  padding: 14px;
  background: #081725;
  border: 1px solid #1e3c54;
  border-radius: 9px;
  color: #b1c9e1;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  margin-bottom: 20px;
}
.ticket-sidebar {
  background: #081725;
  border: 1px solid #213f57;
  padding: 15px;
  border-radius: 10px;
  align-self: start;
}
.ticket-sidebar h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7e9cbd;
  margin-bottom: 10px;
}
.ticket-sidebar label {
  margin: 14px 0;
}
.ticket-sidebar .primary {
  width: 100%;
  margin-top: 10px;
}
.comment-form {
  margin-top: 20px;
  border-top: 1px solid #23415a;
  padding-top: 15px;
}
.comment-form textarea {
  margin: 10px 0;
  min-height: 80px;
}
.detail-tab-content {
  min-height: 180px;
}
.bank-import-example {
  font-size: 10px;
  color: #8faec9;
  background: #061522;
  border: 1px solid #23415a;
  border-radius: 8px;
  padding: 12px;
  overflow: auto;
  line-height: 1.8;
}
.pagination-count {
  color: #6d91b2;
  font-size: 10px;
  margin-left: auto;
}
.notification-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px;
  margin-bottom: 9px;
  background: #10273d;
  font-size: 11px;
}
.notification-item small {
  display: block;
  margin-top: 4px;
}
.search-results {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  background: #0a1b2c;
  border: 1px solid #31536d;
  max-height: 400px;
  overflow: auto;
  box-shadow: 0 20px 40px #0005;
  border-radius: 10px;
  z-index: 50;
  padding: 7px;
}
.search-results button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  font-size: 11px;
  padding: 10px;
}
.search-results small {
  display: block;
  font-size: 9px;
  color: #7c9cba;
  margin-top: 3px;
}
.payout-row {
  padding: 14px 0;
  border-bottom: 1px solid #25435a;
  display: flex;
  align-items: center;
  gap: 12px;
}
.payout-row strong {
  font-size: 12px;
}
.payout-row p {
  font-size: 10px;
  color: #87a5c2;
}
.payout-amount {
  margin-left: auto;
  text-align: right;
}
.payout-amount strong {
  font-size: 14px;
  color: var(--green);
}
.monthly-chart {
  height: 160px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  padding: 15px 10px 25px;
  border-bottom: 1px solid #29475f;
}
.monthly-chart .month {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  gap: 4px;
  position: relative;
}
.monthly-chart .month > span {
  width: 18%;
  min-width: 10px;
  max-width: 25px;
  border-radius: 4px 4px 0 0;
}
.monthly-chart .month small {
  position: absolute;
  bottom: -23px;
  font-size: 9px;
  color: #7c9cb9;
}
.monthly-chart .income {
  background: linear-gradient(#36c5e9, #2186b5);
}
.monthly-chart .expense {
  background: linear-gradient(#9664e6, #644294);
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  color: #e7f4ff;
  background: #17364a;
  border: 1px solid #3f8a9d;
  border-radius: 11px;
  padding: 14px 20px;
  font-size: 12px;
  box-shadow: 0 8px 40px #0005;
  transform: translateY(120px);
  opacity: 0;
  transition: 0.25s;
  max-width: 420px;
}
#toast.show {
  transform: translateY(0);
  opacity: 1;
}
#toast.error {
  background: #3f1c2e;
  border-color: #a34866;
}
.help-list {
  padding-left: 17px;
  color: #9ab8d4;
  font-size: 12px;
  line-height: 2;
}
.error-panel {
  max-width: 700px;
  margin: 80px auto;
  text-align: center;
  padding: 30px;
}
@media (min-width: 1600px) {
  .stat {
    padding: 18px 16px;
  }
  .stat-value {
    font-size: 32px;
  }
  .stat-label {
    font-size: 11px;
  }
  .sparkline {
    width: 80px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 2.25fr) minmax(360px, 1fr);
  }
  .data-table {
    font-size: 12px;
  }
  .data-table td {
    padding: 15px 12px;
  }
  .data-table .title-cell {
    max-width: 410px;
  }
}
@media (max-width: 1300px) {
  .sidebar {
    width: 210px;
  }
  .app-main {
    margin-left: 210px;
  }
  .content {
    padding: 0 22px 25px;
  }
  .topbar {
    padding: 0 22px;
  }
  .brand img {
    width: 178px;
  }
  .stat {
    gap: 8px;
    padding: 14px 10px;
  }
  .stat-icon {
    width: 31px;
    height: 34px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-value.money {
    font-size: 19px;
  }
  .sparkline {
    display: none;
  }
  .hero-date {
    display: none;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bar-row {
    grid-template-columns: 90px 1fr 27px;
    gap: 8px;
  }
  .breadcrumb {
    display: none;
  }
  .topbar-tools {
    margin-left: auto;
  }
  .searchbox {
    width: 43vw;
  }
  .hero-title h1 {
    font-size: 30px;
  }
  .summary-item {
    padding: 11px 9px;
    gap: 8px;
  }
  .summary-item .stat-icon {
    display: none;
  }
}
@media (max-width: 1000px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stat {
    min-height: 90px;
  }
  .sparkline {
    display: block;
    width: 50px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .summary-items {
    grid-template-columns: repeat(5, 1fr);
  }
  .summary-item .label {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .summary-item small {
    font-size: 8px;
  }
  .summary-item .number {
    font-size: 20px;
  }
  .login-brand {
    padding: 10vh 5vw;
  }
  .login-brand h1 {
    font-size: 36px;
  }
  .login-form-area {
    padding: 35px;
  }
  .profile-toggle .profile-name {
    display: none;
  }
  .page-hero {
    min-height: 140px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .searchbox {
    width: 43vw;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 64px !important;
  }
  .app-main {
    margin-left: 64px !important;
  }
  .brand {
    height: 80px;
    padding: 15px;
  }
  .brand img {
    display: none;
  }
  .brand .brand-mini {
    display: block;
    width: 32px;
    height: 32px;
    color: var(--cyan);
  }
  .brand-caption,
  .nav-group-title,
  .nav-item span,
  .collapse-toggle,
  .env-status {
    display: none !important;
  }
  .nav-item {
    justify-content: center;
    padding: 12px 4px;
  }
  .nav-list {
    padding: 0 9px;
    gap: 7px;
  }
  .sidebar-bottom {
    padding: 12px 9px;
  }
  .sidebar-bottom .nav-item {
    padding: 12px 4px;
  }
  .topbar {
    padding: 0 13px;
    height: 59px;
  }
  .content {
    padding: 0 14px 20px;
  }
  .topbar-tools {
    gap: 6px;
    width: 100%;
    justify-content: flex-end;
  }
  .searchbox {
    flex: 1;
    width: 100%;
  }
  .searchbox kbd {
    display: none;
  }
  .searchbox input {
    font-size: 10px;
    padding-right: 8px;
  }
  .topbar .fullscreen-button {
    display: none;
  }
  .topbar .btn-icon {
    height: 35px;
    width: 35px;
    padding: 8px;
  }
  .profile-toggle {
    padding: 3px 5px;
  }
  .profile-toggle > .icon {
    display: none;
  }
  .profile-menu {
    right: 12px;
  }
  .page-hero {
    align-items: flex-start;
    padding: 26px 0 20px;
    min-height: auto;
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-title {
    padding-left: 12px;
  }
  .hero-title h1 {
    font-size: 26px;
  }
  .hero-title p {
    font-size: 10px;
  }
  .section-label {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .hero-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .hero-actions button {
    padding: 8px 11px;
    font-size: 10px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 12px 9px;
    min-height: 92px;
    gap: 7px;
  }
  .stat .stat-icon {
    display: none;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-value.money {
    font-size: 19px;
  }
  .stat-label {
    font-size: 9px;
  }
  .sparkline {
    display: none;
  }
  .stat-note {
    font-size: 8px;
  }
  .summary-items {
    grid-template-columns: repeat(3, 1fr);
  }
  .summary-item {
    min-width: 0;
  }
  .summary-strip {
    padding: 13px 11px;
  }
  .summary-strip > .between {
    align-items: flex-start;
  }
  .summary-strip > .between > small {
    display: none;
  }
  .summary-item .label {
    font-size: 8px;
  }
  .summary-item:nth-child(4),
  .summary-item:nth-child(5) {
    display: none;
  }
  .cards-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .toolbar {
    gap: 10px;
  }
  .filter-group {
    width: 100%;
    gap: 7px;
  }
  .filter-group select {
    flex: 1;
    min-width: 110px;
  }
  .filter-group input {
    width: 100%;
    flex-basis: 100%;
  }
  .pagination-count {
    display: none;
  }
  .kanban {
    grid-auto-columns: 250px;
    gap: 10px;
  }
  .card-metrics {
    padding: 13px 0;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-brand {
    padding: 40px 30px 0;
    align-items: center;
    text-align: center;
  }
  .login-brand img {
    width: 260px;
    margin: 0 0 15px;
  }
  .login-brand h1 {
    font-size: 28px;
    margin-top: 8px;
  }
  .login-brand p {
    font-size: 12px;
    max-width: 400px;
  }
  .login-brand .section-label {
    display: none;
  }
  .login-note {
    display: none;
  }
  .login-form-area {
    padding: 35px 30px 60px;
    align-items: flex-start;
  }
  .login-form h2 {
    font-size: 21px;
  }
  .login-form .welcome {
    margin-bottom: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: 1;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-header {
    padding: 17px;
  }
  .modal-header h2 {
    font-size: 16px;
  }
  .page-footer span:last-child {
    display: none;
  }
  .detail-row {
    font-size: 10px;
  }
  .bar-row {
    grid-template-columns: 95px 1fr 26px;
  }
  .panel-header {
    padding: 15px 13px;
  }
  .panel-body {
    padding: 0 13px 14px;
  }
  .data-table td {
    padding: 12px 10px;
  }
  .tabs button {
    font-size: 10px;
    padding: 8px 11px;
  }
  #toast {
    left: 78px;
    right: 14px;
    bottom: 16px;
    max-width: none;
  }
  .hero-actions .primary {
    margin-left: auto;
  }
  .notice {
    font-size: 10px;
    padding: 12px;
  }
  .detail-grid {
    gap: 16px;
  }
}
.stat {
  height: 116px;
  min-height: 116px;
}
.stat > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.stat-label {
  max-width: none;
}
.sparkline {
  position: absolute;
  right: 12px;
  bottom: 16px;
  width: 58px;
  height: 30px;
  opacity: 0.55;
}
.stat:has(.sparkline) .stat-note {
  max-width: 100px;
}
.stat:has(.sparkline) .stat-value {
  max-width: 95px;
}
.page-hero:after {
  content: "";
  position: absolute;
  inset: -20px 0 -60px 24%;
  background: url("/assets/network.svg") center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.hero-title,
.hero-actions {
  position: relative;
  z-index: 1;
}
.stats.client-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    height: 104px;
    min-height: 104px;
  }
  .stats[style*="repeat(4"],
  .stats[style*="repeat(3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .page-hero:after {
    inset: 0 -50% 0 20%;
    opacity: 0.13;
  }
  .stat:has(.sparkline) .stat-note {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Client administration and private invoice documents. */
.client-management-body { display: grid; gap: 16px; }
.client-management-body .panel { min-width: 0; }
.client-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.client-management-tabs { flex-wrap: wrap; }
.client-profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
.client-profile-grid .detail-row { min-width: 0; gap: 12px; }
.client-profile-grid strong { overflow-wrap: anywhere; text-align: right; }
.client-notes { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); margin-top: 16px; }
.invoice-files { margin: 20px 0; }
.invoice-file { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.invoice-file strong { display: block; overflow-wrap: anywhere; }
.invoice-file small { display: block; color: var(--muted); margin-top: 5px; }
#invoice-upload { display: grid; gap: 14px; }
#invoice-upload input[type=file] { max-width: 100%; }
@media(max-width: 1000px) { .client-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 650px) {
  .client-profile-grid { grid-template-columns: minmax(0,1fr); }
  .client-management-tabs button { flex: 1 0 auto; }
  .invoice-file { flex-direction: column; align-items: stretch; }
  .client-management-grid { grid-template-columns: minmax(0,1fr); }
}
@media(max-width: 650px) {
  .client-management-body .panel-header { flex-direction: column; align-items: stretch; gap: 12px; }
  .client-management-body .panel-header > .flex { flex-wrap: wrap; }
  .client-management-body .panel-header > .flex > button { flex: 1; }
}
.invoice-service { white-space: pre-wrap; min-width: 190px; overflow-wrap: anywhere; }
#invoice-calculation .table-wrap { max-height: 260px; overflow: auto; }
#invoice-calculation .form-error { margin: 12px 0; }
input[readonly] { color: var(--cyan); border-color: #2a596b; }

.bank-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.bank-account-card{text-align:left;padding:20px;color:var(--text);cursor:pointer;min-width:0;background:linear-gradient(140deg,#11283f,#0b1c2e);border:1px solid #29475f;border-radius:12px}
.bank-account-card:hover{border-color:var(--cyan)}.bank-account-card h3{font-size:18px;margin:18px 0 5px}.bank-account-card p{overflow-wrap:anywhere}.bank-account-card .detail-row strong{overflow-wrap:anywhere;max-width:70%;font-size:12px}.bank-symbol{color:var(--cyan);background:#123b50;padding:11px;border-radius:10px;display:inline-flex}.bank-pix{color:var(--cyan);overflow-wrap:anywhere}.invoice-upload input{margin-top:6px}

.panel:has(.bank-account-grid)>.panel-header{flex-wrap:wrap;gap:14px}.panel:has(.bank-account-grid)>.panel-header>.flex{flex-wrap:wrap}

.provider-comparison{margin-top:16px;border-top:1px solid var(--border);padding-top:18px}.provider-comparison td{white-space:normal;min-width:160px}.setup-steps{padding-left:20px;color:var(--muted);line-height:1.9}.success-text{color:var(--green)}details.full summary{cursor:pointer;color:var(--cyan);padding:12px 0}#gateway-fields label{margin:12px 0}#gateway-fields[hidden]{display:none}.provider-comparison a{color:var(--cyan)}
.form-grid>*{min-width:0}.form-grid .full{max-width:100%}.provider-comparison{min-width:0;max-width:100%}
@media(max-width:760px){.form-grid{grid-template-columns:minmax(0,1fr)}.modal-body #entity-form>.modal-footer{margin:18px -18px -18px!important}}

.bank-toolbar>.flex{flex-wrap:wrap;min-width:0}@media(max-width:760px){.bank-toolbar{flex-wrap:wrap;align-items:flex-start}.bank-toolbar button{white-space:normal}}
