@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap";

/* src/styles.css */
:root {
  font-family: "DM Sans", sans-serif;
  color: #232336;
  background: #f6f7fb;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button {
  font: inherit;
}
.app {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 250px;
  background: #1e1b35;
  color: #d8d5e8;
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
}
.brand {
  font: 800 20px Manrope;
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  padding: 0 10px 24px;
}
.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(
      145deg,
      #8b6ff1,
      #6d4ee3);
  display: grid;
  place-items: center;
}
.company {
  border: 1px solid #3a3653;
  background: #292541;
  border-radius: 12px;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  width: 100%;
  margin-bottom: 18px;
}
.company-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #3b3559;
  display: grid;
  place-items: center;
}
.company svg {
  width: 17px;
}
.company > svg {
  margin-left: auto;
  width: 15px;
}
.company div:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.company small,
.profile small {
  font-size: 11px;
  color: #9b96b8;
  margin-top: 2px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar nav button,
.sidebar-bottom > button {
  height: 43px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: #aaa6c1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  cursor: pointer;
}
.sidebar nav button:hover,
.sidebar nav button.active {
  color: white;
  background: #383153;
}
.sidebar nav button.active {
  box-shadow: inset 3px 0 #8b70f5;
}
.sidebar nav svg,
.sidebar-bottom svg {
  width: 18px;
}
.count {
  margin-left: auto;
  background: #7e62ec;
  color: white;
  min-width: 21px;
  border-radius: 10px;
  font-size: 11px;
  padding: 2px 6px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #34304b;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
}
.profile {
  display: flex;
  gap: 10px;
  padding: 15px 10px 0;
  align-items: center;
}
.profile > div {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #e8b76c;
  color: #3b2d19;
  border-radius: 50%;
  font-weight: 700;
}
.profile span {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}
.mobile-close {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: white;
}
main {
  margin-left: 250px;
  width: calc(100% - 250px);
}
header {
  height: 96px;
  background: white;
  border-bottom: 1px solid #e8e9ef;
  display: flex;
  align-items: center;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 3;
}
h1 {
  font: 800 25px Manrope;
  margin: 0;
  color: #25233a;
}
header p {
  font-size: 13px;
  color: #77788a;
  margin: 5px 0 0;
}
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.search,
.icon-button {
  height: 40px;
  border: 1px solid #e0e1e8;
  background: white;
  border-radius: 9px;
  color: #79798a;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
}
.search svg,
.icon-button svg,
.primary svg {
  width: 17px;
}
.icon-button {
  width: 40px;
  padding: 0;
  justify-content: center;
  position: relative;
}
.icon-button i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e75d67;
  right: 9px;
  top: 8px;
}
.primary {
  border: 0;
  background: #7457e7;
  color: white;
  border-radius: 9px;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 600;
  cursor: pointer;
}
.menu {
  display: none;
  border: 0;
  background: none;
}
.content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 36px 55px;
}
.trial {
  padding: 13px 17px;
  background:
    linear-gradient(
      100deg,
      #ede8ff,
      #f8f5ff);
  border: 1px solid #ddd3ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.trial > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trial svg {
  color: #7255e7;
  width: 21px;
}
.trial span {
  display: flex;
  flex-direction: column;
}
.trial b {
  font-size: 13px;
}
.trial small {
  color: #706d7f;
  margin-top: 3px;
}
.trial button {
  border: 0;
  background: none;
  color: #6549d6;
  font-weight: 700;
  cursor: pointer;
}
.card {
  background: white;
  border: 1px solid #e7e8ee;
  border-radius: 13px;
  box-shadow: 0 2px 5px rgba(29, 25, 55, .025);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}
.metric {
  padding: 18px;
}
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #737486;
  font-size: 12px;
}
.metric-top div {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f0edff;
  color: #7457e7;
  display: grid;
  place-items: center;
}
.metric-top svg {
  width: 17px;
}
.metric > b {
  font: 700 23px Manrope;
  display: block;
  margin-top: 5px;
}
.metric > small {
  font-size: 11px;
  color: #88899a;
}
.positive {
  color: #269875 !important;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 15px;
  margin-bottom: 15px;
}
.cash,
.tasks,
.transactions {
  padding: 20px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-head h2 {
  font: 700 15px Manrope;
  margin: 0;
}
.card-head p {
  font-size: 11px;
  color: #8d8d9d;
  margin: 4px 0 0;
}
.card-head button {
  border: 1px solid #e2e2e9;
  background: white;
  height: 32px;
  border-radius: 7px;
  padding: 0 10px;
  color: #6f7080;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-head svg {
  width: 13px;
}
.chart {
  height: 214px;
  display: flex;
  padding-top: 18px;
}
.ylabels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 9px;
  color: #a1a1af;
  padding: 0 7px 17px 0;
}
.plot {
  flex: 1;
  position: relative;
  padding-bottom: 17px;
}
.plot .gridline {
  height: 25%;
  border-top: 1px dashed #e8e8ee;
}
.plot svg {
  position: absolute;
  inset: 2px 0 17px;
  width: 100%;
  height: calc(100% - 19px);
}
.months {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9999a8;
}
.task {
  display: flex;
  width: 100%;
  border: 0;
  background: white;
  border-bottom: 1px solid #eeeeF2;
  padding: 15px 0;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}
.task > span:first-child {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-weight: 700;
  font-size: 12px;
}
.task .orange {
  color: #cf7b2e;
  background: #fff1df;
}
.task .purple {
  color: #7354e5;
  background: #eee9ff;
}
.task .green {
  color: #218e6b;
  background: #def7ed;
}
.task .green svg {
  width: 15px;
}
.task > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.task b {
  font-size: 12px;
}
.task small {
  font-size: 10px;
  color: #8c8c9b;
  margin-top: 3px;
}
.task > strong {
  margin-left: auto;
  color: #a2a2af;
}
.text-button {
  border: 0 !important;
  color: #6c50da !important;
}
.transaction {
  height: 65px;
  display: flex;
  align-items: center;
  border-top: 1px solid #eeeeF2;
  gap: 11px;
}
.transactions .card-head {
  padding-bottom: 14px;
}
.transaction-icon {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.transaction-icon svg {
  width: 15px;
}
.transaction-icon.in {
  color: #269875;
  background: #e7f8f2;
}
.transaction-icon.out {
  color: #d08238;
  background: #fff1e2;
}
.transaction-name {
  display: flex;
  flex-direction: column;
  min-width: 210px;
}
.transaction-name b {
  font-size: 12px;
}
.transaction-name small {
  font-size: 10px;
  color: #90909e;
  margin-top: 3px;
}
.transaction > strong {
  margin-left: auto;
  font-size: 12px;
}
.matched,
.review {
  font-size: 10px;
  border-radius: 10px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.matched {
  background: #e6f7ef;
  color: #218763;
}
.review {
  background: #fff0df;
  color: #bc6b26;
}
.matched svg {
  width: 11px;
}
.module {
  text-align: center;
  padding: 70px 30px;
  max-width: 720px;
  margin: 40px auto;
}
.module-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #eee9ff;
  color: #7355e5;
  border-radius: 17px;
  margin: 0 auto 20px;
}
.module-icon svg {
  width: 27px;
}
.module h2 {
  font: 700 22px Manrope;
  margin: 0;
}
.module p {
  color: #747586;
  max-width: 490px;
  margin: 10px auto 24px;
  line-height: 1.6;
}
.module-note {
  background: #f7f5ff;
  color: #716d84;
  border-radius: 9px;
  padding: 11px;
  margin: 30px auto 0;
  max-width: 440px;
  font-size: 12px;
}
.module-note svg {
  width: 14px;
  vertical-align: middle;
  margin-right: 5px;
  color: #7255e7;
}
.import-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, .8fr);
  gap: 18px;
  max-width: 980px;
  margin: 20px auto;
}
.importer {
  padding: 42px;
  text-align: center;
}
.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}
.steps span {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ededf2;
  color: #999;
  font-size: 11px;
  font-weight: 700;
}
.steps span.done {
  background: #7356e5;
  color: white;
}
.steps i {
  height: 2px;
  width: 70px;
  background: #e4e4ea;
}
.importer h2 {
  font: 700 22px Manrope;
}
.importer > p {
  color: #757686;
  font-size: 13px;
  line-height: 1.6;
  max-width: 550px;
  margin: 10px auto 22px;
}
.upload-zone {
  width: 100%;
  height: 155px;
  border: 1.5px dashed #b8abea;
  background: #faf9ff;
  border-radius: 12px;
  color: #6d54d4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}
.upload-zone svg {
  width: 27px;
}
.upload-zone b {
  font-size: 13px;
}
.upload-zone small {
  color: #9291a1;
}
.wide {
  width: 100%;
  margin-top: 16px;
}
.wide:disabled {
  background: #c9c6d6;
}
.import-list {
  padding: 25px;
  height: max-content;
}
.import-list h3 {
  font: 700 15px Manrope;
  margin: 0 0 15px;
}
.import-list div {
  font-size: 12px;
  padding: 10px 0;
  border-top: 1px solid #eeeef2;
  display: flex;
  gap: 8px;
  align-items: center;
}
.import-list svg,
.import-ready svg {
  width: 15px;
  color: #269875;
}
.import-ready {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 18px;
  border-radius: 10px;
  background: #eaf8f3;
  gap: 12px;
}
.import-ready > svg {
  width: 25px;
}
.import-ready div {
  display: flex;
  flex-direction: column;
}
.import-ready small {
  margin-top: 4px;
  color: #71837d;
}
.plan-intro {
  text-align: center;
  padding: 18px 0 25px;
}
.plan-intro h2 {
  font: 800 25px Manrope;
  margin: 0;
}
.plan-intro p {
  color: #747586;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: auto;
}
.plan {
  padding: 27px;
  position: relative;
}
.plan.popular {
  border: 2px solid #775ae7;
  box-shadow: 0 8px 25px rgba(83, 59, 175, .12);
}
.popular-label {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #eee9ff;
  color: #674bd5;
  padding: 5px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
}
.plan h3 {
  font: 700 19px Manrope;
  margin: 0;
}
.plan > p {
  color: #7c7d8c;
  font-size: 12px;
  min-height: 38px;
}
.price {
  height: 70px;
  display: flex;
  align-items: end;
  gap: 6px;
}
.price > b {
  font: 800 27px Manrope;
}
.price > small {
  align-self: flex-start;
  margin-top: 10px;
  color: #999;
}
.price > span {
  font-size: 9px;
  color: #8b8b99;
  margin-bottom: 7px;
}
.plan > button {
  width: 100%;
  height: 40px;
  border: 1px solid #d9d8e0;
  background: white;
  border-radius: 8px;
  font-weight: 600;
  color: #5f6071;
}
.plan > button.selected-plan {
  background: #7457e7;
  color: white;
  border-color: #7457e7;
}
.plan > button svg {
  width: 15px;
  vertical-align: middle;
}
.plan ul {
  list-style: none;
  padding: 13px 0 0;
  margin: 0;
  border-top: 1px solid #eeeef2;
}
.plan li {
  font-size: 12px;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan li svg {
  width: 14px;
  color: #269875;
}
.pricing-note {
  text-align: center;
  color: #92929f;
  font-size: 11px;
}
.scrim {
  display: none;
}
@media (max-width: 1100px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .plan > p {
    min-height: 0;
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: .2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-close,
  .menu {
    display: block;
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #17132280;
    z-index: 4;
  }
  main {
    margin-left: 0;
    width: 100%;
  }
  header {
    padding: 0 18px;
    height: 82px;
  }
  .menu {
    margin-right: 10px;
  }
  .header-actions .search {
    display: none;
  }
  .content {
    padding: 18px;
  }
  .grid-main,
  .import-layout {
    grid-template-columns: 1fr;
  }
  .trial small {
    display: none;
  }
  .plans {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  header {
    height: auto;
    min-height: 82px;
    padding: 12px 14px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  header h1 {
    font-size: 20px;
  }
  header p {
    font-size: 11px;
    max-width: 230px;
  }
  .header-actions {
    width: 100%;
    margin-left: 0;
    justify-content: stretch;
    gap: 8px;
    order: 6;
  }
  .header-actions .demo-button {
    display: none;
  }
  .header-actions .primary {
    flex: 1;
    height: 46px;
  }
  .simple-mode {
    height: 28px;
    font-size: 9px;
    margin-left: auto;
  }
  .content {
    padding: 14px 12px 42px;
  }
  .trial {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .trial button {
    height: 40px;
  }
  .card {
    border-radius: 16px;
  }
  .workspace {
    padding: 14px;
  }
  .workspace-head {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .settings-grid,
  .builder-grid,
  .builder-grid.three {
    grid-template-columns: 1fr !important;
  }
  .table-wrap {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-wrap table {
    min-width: 620px;
  }
  .primary,
  .secondary,
  .text-button,
  button {
    touch-action: manipulation;
  }
  .plan {
    padding: 22px;
  }
  .plan > button {
    height: 48px;
  }
  .plans {
    gap: 12px;
  }
  .plan-intro h2 {
    font-size: 22px;
  }
  .landing-nav {
    height: auto;
    padding: 18px 14px;
  }
  .landing-nav > div:last-child {
    gap: 8px;
  }
  .landing-nav button {
    height: 44px;
  }
  .landing-hero {
    padding: 34px 14px;
  }
  .landing-actions button {
    height: 48px;
    flex: 1;
  }
  .landing-card {
    padding: 18px;
  }
  .landing-proof,
  .landing-pricing,
  .legal-strip {
    padding-left: 14px;
    padding-right: 14px;
    margin-left: 0;
    margin-right: 0;
  }
  .landing-pricing h2 {
    font-size: 26px;
  }
}
@media (max-width: 560px) {
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .metric {
    padding: 13px;
  }
  .metric > b {
    font-size: 17px;
  }
  .metric-top span {
    font-size: 10px;
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .cash {
    display: none;
  }
  .transaction-name {
    min-width: 0;
  }
  .transaction .matched,
  .transaction .review {
    display: none;
  }
  .trial button {
    display: none;
  }
  .header-actions .primary {
    width: 40px;
    padding: 0;
  }
  .header-actions .primary {
    font-size: 0;
  }
  .importer {
    padding: 28px 18px;
  }
  .content {
    padding: 13px;
  }
}
.logo {
  background: none !important;
  overflow: hidden;
}
.logo img {
  display: block;
  width: 100%;
  height: 100%;
}
.workspace {
  padding: 25px;
  min-height: 520px;
}
.workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 24px;
}
.workspace-title {
  display: flex;
  gap: 14px;
}
.workspace-title > div {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eee9ff;
  color: #7355e5;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.workspace-title svg {
  width: 21px;
}
.workspace-title h2 {
  font: 700 19px Manrope;
  margin: 0;
}
.workspace-title p {
  color: #777889;
  font-size: 12px;
  line-height: 1.55;
  margin: 5px 0 0;
  max-width: 650px;
}
.editor {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  padding: 17px;
  background: #f8f8fc;
  border: 1px solid #e8e8ef;
  border-radius: 11px;
  margin-bottom: 20px;
}
.editor label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #696a7b;
}
.editor input,
.editor select {
  height: 39px;
  border: 1px solid #dcdce5;
  border-radius: 8px;
  background: white;
  padding: 0 10px;
  color: #303042;
  outline: none;
}
.editor input:focus,
.editor select:focus {
  border-color: #7a5ce7;
  box-shadow: 0 0 0 3px #7a5ce71c;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #ebebf0;
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
th {
  text-align: left;
  background: #f8f8fb;
  color: #858594;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 11px 14px;
}
td {
  font-size: 12px;
  padding: 14px;
  border-top: 1px solid #ededf2;
  color: #585968;
}
td b {
  color: #29293a;
}
td small {
  display: block;
  font-size: 10px;
  color: #9293a1;
  margin-top: 3px;
}
.amount {
  text-align: right;
  font-weight: 700;
  color: #29293a;
}
.pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 12px;
  background: #f0f0f4;
  color: #747584;
  font-size: 10px;
}
.pill.paid,
.pill.matched,
.pill.active,
.pill.jortt {
  background: #e5f7ef;
  color: #208766;
}
.pill.sent {
  background: #eee9ff;
  color: #684bd2;
}
.pill.review {
  background: #fff0df;
  color: #b96d27;
}
.success,
.notice,
.error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 12px;
  margin: 0 auto 18px;
}
.success {
  background: #e6f7ef;
  color: #217d61;
}
.success svg,
.notice svg {
  width: 15px;
}
.notice {
  justify-content: flex-start;
  background: #f1edff;
  color: #6652b7;
}
.error {
  background: #feeaea;
  color: #a23d46;
}
.loading {
  text-align: center;
  padding: 30px;
  color: #858594;
}
.empty {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888999;
  border: 1.5px dashed #dfdfe7;
  border-radius: 12px;
}
.empty > svg {
  width: 30px;
  color: #7759e8;
  margin-bottom: 12px;
}
.empty b {
  color: #39394a;
}
.empty p {
  font-size: 12px;
}
.vat-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      120deg,
      #f0ecff,
      #faf9ff);
  border: 1px solid #e0d8ff;
  border-radius: 13px;
  padding: 45px;
  margin-bottom: 18px;
}
.vat-summary span {
  font-size: 12px;
  color: #747187;
}
.vat-summary b {
  font: 800 34px Manrope;
  margin: 7px;
}
.vat-summary small {
  color: #918e9e;
}
.upload-zone input {
  display: none;
}
.demo-import {
  border: 0;
  background: none;
  color: #694fd0;
  font-weight: 700;
  font-size: 11px;
  margin: 11px auto 0;
  cursor: pointer;
}
.import-list div {
  line-height: 1.4;
}
.import-tabs {
  display: inline-flex;
  padding: 4px;
  background: #f0eff5;
  border-radius: 10px;
  margin-bottom: 22px;
}
.import-tabs button {
  border: 0;
  background: transparent;
  color: #777789;
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.import-tabs button.active {
  background: white;
  color: #654bd0;
  box-shadow: 0 1px 4px #302a5017;
}
.xaf-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  text-align: left;
  padding: 15px;
  background: #f8f8fc;
  border: 1px solid #e5e5ed;
  border-radius: 11px;
}
.xaf-preview > div {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #ececf1;
  border-radius: 8px;
  padding: 10px;
}
.xaf-preview span {
  font-size: 9px;
  color: #9292a0;
  text-transform: uppercase;
}
.xaf-preview b {
  font-size: 12px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.xaf-preview > small {
  grid-column: 1/-1;
  color: #a3692b;
  background: #fff3e5;
  border-radius: 7px;
  padding: 8px;
}
.import-list .number {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee9ff;
  color: #684bd2;
  font-size: 9px;
  font-weight: 700;
  flex: 0 0 auto;
}
.import-hint {
  font-size: 10px;
  color: #777888;
  line-height: 1.5;
  background: #f7f5ff;
  padding: 10px;
  border-radius: 8px;
}
.starter-form {
  display: grid;
  gap: 12px;
  text-align: left;
  background: #f8f8fc;
  border: 1px solid #e5e5ed;
  border-radius: 11px;
  padding: 17px;
}
.starter-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #666779;
  font-size: 10px;
  font-weight: 700;
}
.starter-form input {
  height: 40px;
  border: 1px solid #dadbe4;
  border-radius: 8px;
  padding: 0 11px;
  background: white;
  font: inherit;
}
.starter-form .primary {
  margin-top: 4px;
}
.sidebar-bottom > button.active-bottom {
  color: white;
  background: #383153;
}
.advanced-toggle {
  margin: 10px 0 4px;
  height: 39px;
  border: 1px solid #3b3752;
  background: #28243e;
  color: #aaa6c1;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-size: 11px;
  cursor: pointer;
}
.advanced-toggle:hover {
  color: white;
}
.advanced-toggle svg {
  width: 16px;
}
.advanced-toggle span {
  margin-left: auto;
  background: #3b3655;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 9px;
}
.file-action {
  cursor: pointer;
}
.file-action input {
  display: none;
}
.csv-hint {
  font-size: 10px;
  color: #777888;
  background: #f7f5ff;
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 14px;
}
.pill.open,
.pill.pending {
  background: #fff0df;
  color: #a8652b;
}
.pill.credit,
.pill.credited {
  background: #f0eaf8;
  color: #7449a8;
}
.pill.reverse {
  background: #eee9ff;
  color: #684bd2;
  font-weight: 700;
}
.vat-breakdown {
  max-width: 620px;
  margin: 20px auto;
  display: grid;
  gap: 8px;
}
.vat-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafd;
  border: 1px solid #e9e9ef;
  padding: 15px;
  border-radius: 9px;
}
.vat-breakdown span {
  font-size: 12px;
  color: #696a7b;
}
.vat-breakdown b {
  font: 700 16px Manrope;
}
.vat-breakdown .total {
  background: #eee9ff;
  border-color: #ddd3ff;
}
.technical-details {
  max-width: 620px;
  margin: 12px auto 18px;
  background: #fafafd;
  border: 1px solid #e7e7ee;
  border-radius: 9px;
  padding: 11px 14px;
  color: #696a7b;
  font-size: 11px;
}
.technical-details summary {
  cursor: pointer;
  font-weight: 700;
  color: #5f4cb2;
}
.technical-details p {
  line-height: 1.5;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  background: #f8f8fc;
  border: 1px solid #e8e8ef;
  padding: 18px;
  border-radius: 11px;
}
.settings-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #696a7b;
}
.settings-grid input,
.settings-grid select {
  height: 40px;
  border: 1px solid #dadbe4;
  border-radius: 8px;
  padding: 0 10px;
  background: white;
}
.settings-grid .primary {
  align-self: end;
}
.section-title {
  font: 700 15px Manrope;
  margin: 28px 0 12px;
}
.invite-editor {
  grid-template-columns: 1.4fr 1fr auto;
}
.row-actions,
.head-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.row-actions button,
.row-upload {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e0e7;
  border-radius: 7px;
  background: white;
  color: #6e55d0;
  cursor: pointer;
}
.row-actions svg,
.row-upload svg {
  width: 14px;
}
.row-upload input {
  display: none;
}
.secondary {
  height: 40px;
  border: 1px solid #d9d8e1;
  background: white;
  color: #5f6070;
  border-radius: 9px;
  padding: 0 13px;
  font-weight: 600;
  cursor: pointer;
}
td code {
  font-size: 9px;
  color: #666779;
  white-space: normal;
}
.today {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px;
  margin-bottom: 15px;
}
.today h2 {
  font: 800 20px Manrope;
  margin: 3px 0;
}
.today p {
  font-size: 11px;
  color: #858594;
  margin: 0;
}
.eyebrow {
  color: #7355e5;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.today-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 9px;
  flex: 1;
  max-width: 760px;
}
.today-actions button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  border: 1px solid #e5e5eb;
  background: #fafafd;
  border-radius: 10px;
  padding: 11px;
  cursor: pointer;
  color: #333344;
}
.today-actions button:hover {
  border-color: #bcb0ec;
  background: #f7f4ff;
}
.today-actions svg {
  width: 19px;
  color: #7355e5;
  flex: 0 0 auto;
}
.today-actions span {
  display: flex;
  flex-direction: column;
}
.today-actions b {
  font-size: 11px;
}
.today-actions small {
  font-size: 9px;
  color: #8c8c9b;
  margin-top: 2px;
}
.explain {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f7f5ff;
  border: 1px solid #e5dfff;
  border-radius: 9px;
  padding: 11px 13px;
  margin-bottom: 16px;
  color: #5d5870;
}
.explain-icon {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #7659e7;
  color: white;
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 auto;
}
.explain > span:last-child {
  display: flex;
  flex-direction: column;
}
.explain b {
  font-size: 11px;
}
.explain small {
  font-size: 10px;
  line-height: 1.45;
  margin-top: 2px;
  color: #767286;
}
@media (max-width: 1050px) {
  .editor {
    grid-template-columns: 1fr 1fr;
  }
  .editor .primary {
    width: 100%;
  }
}
@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1050px) {
  .today {
    align-items: flex-start;
    flex-direction: column;
  }
  .today-actions {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 700px) {
  .workspace {
    padding: 17px;
  }
  .workspace-head {
    flex-direction: column;
  }
  .workspace-head > .primary,
  .workspace-head > .file-action {
    width: 100%;
  }
  .editor,
  .invite-editor,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .vat-summary {
    padding: 35px 15px;
  }
  .today-actions {
    grid-template-columns: 1fr 1fr;
  }
  .head-actions {
    width: 100%;
    flex-direction: column;
  }
  .head-actions > * {
    width: 100%;
  }
}
.search kbd {
  border: 1px solid #e2e2e8;
  background: #f7f7f9;
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 9px;
  color: #92929e;
}
.setup-card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 22px;
  margin-bottom: 15px;
  border-color: #ddd5ff;
  background:
    linear-gradient(
      110deg,
      #fbfaff,
      #f4f1ff);
}
.setup-card h2 {
  font: 800 17px Manrope;
  margin: 3px 0;
}
.setup-card p {
  font-size: 10px;
  color: #858394;
  margin: 0;
}
.setup-checks {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-left: auto;
}
.setup-checks button {
  border: 1px solid #ddd9eb;
  background: white;
  border-radius: 9px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #555466;
  cursor: pointer;
}
.setup-checks button > span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee9ff;
  color: #6e51dd;
  font-weight: 800;
}
.setup-checks button svg {
  width: 11px;
}
.setup-checks button.done {
  color: #7d7c89;
  text-decoration: line-through;
}
.setup-checks button.done > span {
  background: #e4f5ee;
  color: #238462;
}
.subsections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.subsections > section {
  border: 1px solid #e8e8ee;
  background: #fafafd;
  border-radius: 11px;
  padding: 15px;
}
.subsection-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.subsection-head h3 {
  font: 700 13px Manrope;
  margin: 0;
}
.subsection-head p,
.quiet {
  font-size: 10px;
  color: #888896;
  margin: 3px 0;
}
.simple-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e8e8ed;
}
.simple-row > span {
  display: flex;
  flex-direction: column;
}
.simple-row b {
  font-size: 11px;
}
.simple-row small {
  font-size: 9px;
  color: #898896;
  margin-top: 2px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #17132299;
  backdrop-filter: blur(3px);
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
.search-modal {
  width: min(620px, calc(100vw - 30px));
  background: white;
  border-radius: 15px;
  box-shadow: 0 22px 70px #17132255;
  overflow: hidden;
}
.search-field {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid #e8e8ed;
}
.search-field > svg {
  width: 20px;
  color: #7355e5;
}
.search-field input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 15px;
}
.search-field button {
  border: 0;
  background: #f1eff7;
  color: #706e7d;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 10px;
}
.search-results {
  padding: 8px;
  max-height: 440px;
  overflow: auto;
}
.search-results > p {
  color: #898896;
  font-size: 12px;
  text-align: center;
  padding: 30px;
}
.search-results > button {
  border: 0;
  background: white;
  width: 100%;
  border-radius: 9px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  cursor: pointer;
}
.search-results > button:hover {
  background: #f7f5ff;
}
.result-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #eee9ff;
  color: #7154dd;
}
.result-icon svg {
  width: 16px;
}
.search-results button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.search-results b {
  font-size: 12px;
}
.search-results small {
  font-size: 10px;
  color: #898896;
  margin-top: 3px;
}
.search-results strong {
  margin-left: auto;
  color: #8b8997;
}
.recurring-editor {
  grid-template-columns: repeat(3, 1fr) auto;
}
@media (max-width: 900px) {
  .setup-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .setup-checks {
    margin-left: 0;
  }
  .subsections {
    grid-template-columns: 1fr;
  }
  .recurring-editor {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .search kbd {
    display: none;
  }
  .setup-checks {
    flex-direction: column;
    width: 100%;
  }
  .setup-checks button {
    width: 100%;
  }
  .recurring-editor {
    grid-template-columns: 1fr;
  }
  .subsections {
    grid-template-columns: 1fr;
  }
}
.simple-mode {
  margin-left: auto;
  margin-right: 12px;
  height: 31px;
  border-radius: 999px;
  background: #e6f7ef;
  color: #217d61;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.simple-mode svg {
  width: 14px;
}
.simple-words {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 10px;
  padding: 13px 15px;
  background: #fffdf7;
  border-color: #f0e4c8;
}
.simple-words > span,
.simple-words > div {
  display: flex;
  flex-direction: column;
}
.simple-words b {
  font-size: 12px;
  color: #2f2d40;
}
.simple-words small {
  font-size: 10px;
  color: #797584;
  margin-top: 2px;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .simple-mode {
    display: none;
  }
  .simple-words {
    grid-template-columns: 1fr 1fr;
  }
  .simple-words > span {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .simple-words {
    grid-template-columns: 1fr;
  }
}
.send-check {
  border-radius: 13px;
  padding: 13px;
  margin: 0 0 12px;
  border: 1px solid #e7e7ef;
  background: #fafafd;
}
.send-check.ready {
  background: #f1fbf7;
  border-color: #d6efe4;
}
.send-check.needs-work {
  background: #fffaf2;
  border-color: #f0dfc4;
}
.send-check > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.send-check b {
  font-size: 12px;
  color: #2f2d40;
}
.send-check small {
  font-size: 10px;
  color: #7b7886;
}
.send-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.send-check-list span {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  border-radius: 10px;
  padding: 9px;
  background: white;
  border: 1px solid #ececf2;
  font-size: 10px;
  font-weight: 900;
  color: #343447;
}
.send-check-list span svg {
  width: 13px;
  flex: 0 0 auto;
}
.send-check-list span.ok {
  color: #207d60;
}
.send-check-list span.missing {
  color: #a76325;
  background: #fff7ed;
  border-color: #f1dec3;
}
.send-check-list span small {
  display: block;
  font-weight: 700;
  margin-left: 2px;
  color: #9b6936;
}
@media (max-width: 700px) {
  .send-check-list {
    grid-template-columns: 1fr;
  }
}
.salary-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  border-radius: 16px;
  padding: 22px;
  background:
    linear-gradient(
      120deg,
      #171b35,
      #5b40c8);
  color: white;
}
.salary-hero h3 {
  font: 900 23px Manrope;
  margin: 10px 0 5px;
}
.salary-hero p {
  margin: 0;
  color: #e7e0ff;
  font-size: 12px;
  line-height: 1.55;
}
.salary-hero > div:last-child {
  display: grid;
  gap: 8px;
  min-width: 220px;
}
.salary-hero > div:last-child span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff16;
  border: 1px solid #ffffff24;
  border-radius: 11px;
  padding: 9px 11px;
  font-size: 10px;
}
.salary-hero > div:last-child b {
  font-size: 14px;
  color: white;
}
.salary-editor {
  grid-template-columns: 1.1fr 1.2fr 1fr 1fr .8fr auto;
}
@media (max-width: 1000px) {
  .salary-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .salary-hero > div:last-child {
    width: 100%;
  }
  .salary-editor {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .salary-editor {
    grid-template-columns: 1fr;
  }
}
.invoice-link {
  border: 0;
  background: none;
  padding: 0;
  color: #6348cb;
  font: 700 12px inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #cfc5f5;
  text-underline-offset: 3px;
}
.invoice-link:hover {
  color: #4327b4;
}
.invoice-backdrop {
  align-items: center;
  padding: 20px;
}
.invoice-viewer {
  width: min(720px, calc(100vw - 30px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 22px 70px #17132255;
  padding: 24px;
}
.invoice-viewer header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #ececf1;
  padding-bottom: 17px;
}
.invoice-viewer h2 {
  font: 800 24px Manrope;
  margin: 4px 0 0;
}
.invoice-close {
  width: 34px;
  height: 34px;
  border: 1px solid #e3e3e9;
  background: #fafafd;
  border-radius: 9px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #6e6e7d;
}
.invoice-close svg {
  width: 17px;
}
.invoice-meta {
  display: grid;
  grid-template-columns: 1.5fr 1fr .7fr;
  gap: 12px;
  padding: 20px 0;
}
.invoice-meta > div,
.invoice-description {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.invoice-meta span,
.invoice-description span,
.invoice-totals span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #8b8b99;
}
.invoice-meta b,
.invoice-description b {
  font-size: 12px;
  color: #303040;
}
.invoice-meta small {
  font-size: 10px;
  color: #898996;
}
.invoice-description {
  background: #f8f8fc;
  border: 1px solid #ececf2;
  border-radius: 10px;
  padding: 14px;
}
.invoice-totals {
  margin: 18px 0 0 auto;
  width: min(330px, 100%);
}
.invoice-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 2px;
  border-bottom: 1px solid #eeeeF2;
}
.invoice-totals b {
  font-size: 12px;
}
.invoice-totals .invoice-grand-total {
  background: #eee9ff;
  border: 0;
  border-radius: 9px;
  padding: 13px;
  margin-top: 7px;
}
.invoice-grand-total b {
  font: 800 17px Manrope;
}
.invoice-note {
  font-size: 10px;
  color: #6758a5;
  background: #f5f2ff;
  border-radius: 8px;
  padding: 10px;
}
.invoice-viewer footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #ececf1;
  margin-top: 20px;
  padding-top: 17px;
}
.invoice-viewer footer button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.invoice-viewer footer svg {
  width: 15px;
}
.credit-action {
  color: #7c4394;
  border-color: #decfe5;
}
@media (max-width: 600px) {
  .invoice-meta {
    grid-template-columns: 1fr;
  }
  .invoice-viewer {
    padding: 18px;
  }
  .invoice-viewer footer {
    flex-direction: column;
  }
  .invoice-viewer footer button {
    width: 100%;
  }
}
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 800px) {
  .content {
    padding-bottom: 104px !important;
  }
  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    height: 64px;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    padding: 6px;
    background: #ffffffee;
    border: 1px solid #e5e2f2;
    border-radius: 20px;
    box-shadow: 0 15px 45px #1713222b;
    backdrop-filter: blur(14px);
  }
  .mobile-bottom-nav button {
    position: relative;
    border: 0;
    background: transparent;
    color: #7d7a90;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
  }
  .mobile-bottom-nav button.active {
    background: #f0edff;
    color: #6044cf;
  }
  .mobile-bottom-nav svg {
    width: 18px;
    height: 18px;
  }
  .mobile-bottom-nav i {
    position: absolute;
    top: 8px;
    right: 17px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ff8f45;
    box-shadow: 0 0 0 2px white;
  }
}
.invoice-mobile-guide {
  display: none;
}
@media (max-width: 680px) {
  .invoice-builder-inline {
    border-radius: 20px;
    background: #f7f8fc;
  }
  .invoice-builder-inline .builder-layout {
    padding: 10px;
    gap: 10px;
  }
  .invoice-mobile-guide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 10px 10px 0;
  }
  .invoice-mobile-guide span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    border: 1px solid #e6e2f6;
    background: white;
    border-radius: 13px;
    color: #625f72;
    font-size: 9px;
    font-weight: 950;
  }
  .invoice-mobile-guide b {
    width: 20px;
    height: 20px;
    border-radius: 8px;
    background: #7457e7;
    color: white;
    display: grid;
    place-items: center;
    font: 950 10px Manrope;
  }
  .builder-main {
    gap: 10px;
  }
  .builder-block {
    border-radius: 18px;
    padding: 15px;
    background:
      linear-gradient(
        180deg,
        #fff,
        #fbfbff);
    box-shadow: 0 8px 22px #1d19370a;
  }
  .builder-block h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .builder-block-head {
    flex-direction: column;
    gap: 8px;
  }
  .builder-block-head p {
    margin: 0 0 6px;
    font-size: 11px;
    line-height: 1.45;
  }
  .vat-mode {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .vat-mode button {
    min-height: 42px;
    font-size: 10px;
  }
  .builder-block input,
  .builder-block select {
    height: 48px;
    border-radius: 13px;
    font-size: 16px;
  }
  .builder-block textarea {
    min-height: 92px;
    border-radius: 13px;
    font-size: 15px;
  }
  .builder-block > label,
  .builder-grid label,
  .builder-options label {
    font-size: 11px;
    color: #4f4d61;
  }
  .builder-grid label small {
    font-size: 10px;
  }
  .customer-memory,
  .period-shortcuts,
  .memory-warning {
    border-radius: 15px;
  }
  .period-shortcuts {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .period-shortcuts span,
  .period-shortcuts small {
    grid-column: 1/-1;
  }
  .period-shortcuts button {
    height: 42px;
    font-size: 10px;
  }
  .builder-line {
    grid-template-columns: 1fr;
    gap: 8px;
    background: #fafafd;
    border: 1px solid #eeeef3;
    border-radius: 15px;
    padding: 12px;
    margin-top: 8px;
  }
  .builder-line > input:first-child {
    grid-column: auto;
  }
  .builder-line .money-input input {
    padding-left: 30px;
  }
  .builder-line > b {
    font-size: 14px;
    background: #f0edff;
    color: #5437c2;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
  }
  .line-delete {
    width: 100%;
    height: 40px;
  }
  .add-line {
    min-height: 46px;
    justify-content: center;
    border-radius: 13px;
  }
  .builder-options {
    border-radius: 15px;
    padding: 12px;
  }
  .proof-box {
    border-radius: 16px;
  }
  .proof-upload {
    height: 48px;
    border-radius: 13px;
  }
  .invoice-preview {
    border-radius: 18px;
    padding: 18px;
  }
  .preview-totals {
    width: 100%;
  }
  .invoice-builder-inline > footer {
    position: sticky;
    bottom: 78px;
    z-index: 8;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -14px 30px #17132214;
  }
  .invoice-builder-inline > footer > span {
    font-size: 11px;
    line-height: 1.35;
  }
  .invoice-builder-inline > footer button {
    height: 48px;
    border-radius: 13px;
  }
}
.invoice-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 13px;
}
.invoice-overview > div {
  border: 1px solid #e8e8ef;
  background: #fafafd;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.invoice-overview b {
  font: 800 17px Manrope;
  color: #303040;
}
.invoice-overview span {
  font-size: 9px;
  color: #858594;
  text-transform: uppercase;
  margin-top: 2px;
}
.invoice-overview .overdue b {
  color: #c05c34;
}
.invoice-tools {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.invoice-filters {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #f0eff5;
  border-radius: 9px;
}
.invoice-filters button {
  border: 0;
  background: none;
  padding: 7px 10px;
  border-radius: 6px;
  color: #777789;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.invoice-filters button.active {
  background: white;
  color: #654bd0;
  box-shadow: 0 1px 4px #302a5017;
}
.invoice-tools > input {
  width: min(260px, 100%);
  height: 38px;
  border: 1px solid #dedee6;
  border-radius: 9px;
  padding: 0 11px;
}
.invoice-empty {
  text-align: center;
  color: #898896;
  background: #fafafd;
  border: 1px dashed #dddde6;
  border-radius: 10px;
  padding: 35px;
}
.pill.overdue {
  background: #fee9e4;
  color: #b94e2d;
}
.payment-action {
  color: #237d63;
  border-color: #c5e3d9;
}
.payment-register {
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 18px;
  padding: 13px;
  background: #eef8f4;
  border: 1px solid #d8eee6;
  border-radius: 10px;
}
.payment-register label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  color: #5e716b;
}
.payment-register input {
  height: 40px;
  border: 1px solid #cadfd7;
  border-radius: 8px;
  padding: 0 9px;
  background: white;
}
@media (max-width: 650px) {
  .invoice-overview {
    grid-template-columns: 1fr 1fr;
  }
  .invoice-overview > div:last-child {
    grid-column: 1/-1;
  }
  .invoice-tools {
    flex-direction: column;
  }
  .invoice-filters {
    overflow: auto;
  }
  .invoice-tools > input {
    width: 100%;
  }
  .payment-register {
    align-items: stretch;
    flex-direction: column;
  }
}
.pill.draft {
  background: #edf0f5;
  color: #626778;
}
.invoice-builder-backdrop {
  position: fixed;
  inset: 0;
  background: #171322aa;
  backdrop-filter: blur(4px);
  z-index: 30;
  overflow: auto;
  padding: 24px;
}
.invoice-builder {
  width: min(1240px, 100%);
  margin: auto;
  background: #f5f6fa;
  border-radius: 17px;
  box-shadow: 0 25px 80px #17132266;
  overflow: hidden;
}
.invoice-builder > header {
  background: white;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid #e5e6ec;
}
.invoice-builder > header h2 {
  font: 800 22px Manrope;
  margin: 4px 0;
}
.invoice-builder > header p {
  font-size: 11px;
  color: #858594;
  margin: 0;
}
.invoice-builder > .error {
  margin: 14px 24px 0;
}
.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .7fr);
  gap: 16px;
  padding: 16px;
}
.builder-main {
  display: grid;
  gap: 12px;
}
.builder-block {
  background: white;
  border: 1px solid #e4e5eb;
  border-radius: 12px;
  padding: 17px;
}
.builder-block h3 {
  font: 750 14px Manrope;
  margin: 0 0 13px;
}
.builder-block > label,
.builder-grid label,
.builder-options label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #666779;
}
.builder-block input,
.builder-block select,
.builder-block textarea {
  border: 1px solid #dcdde5;
  border-radius: 8px;
  background: white;
  color: #303042;
  padding: 0 10px;
  outline: none;
}
.builder-block input,
.builder-block select {
  height: 39px;
}
.builder-block textarea {
  min-height: 66px;
  padding: 9px 10px;
  resize: vertical;
}
.builder-block input:focus,
.builder-block select:focus,
.builder-block textarea:focus {
  border-color: #795de4;
  box-shadow: 0 0 0 3px #795de417;
}
.builder-block-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.builder-block-head p {
  font-size: 10px;
  color: #898896;
  margin: -8px 0 12px;
}
.vat-mode {
  display: flex;
  height: max-content;
  padding: 3px;
  background: #f0eff5;
  border-radius: 8px;
}
.vat-mode button {
  border: 0;
  background: none;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 9px;
  font-weight: 700;
  color: #777789;
  cursor: pointer;
}
.vat-mode button.active {
  background: white;
  color: #654bd0;
  box-shadow: 0 1px 4px #302a5017;
}
.builder-line-head,
.builder-line {
  display: grid;
  grid-template-columns: minmax(170px, 2fr) 75px 120px 78px 100px 32px;
  gap: 7px;
  align-items: center;
}
.builder-line-head {
  padding: 0 4px 6px;
  color: #9292a0;
  font-size: 8px;
  text-transform: uppercase;
}
.builder-line {
  padding: 8px 0;
  border-top: 1px solid #eeeef2;
}
.builder-line > b {
  text-align: right;
  font-size: 11px;
}
.money-input,
.percent-input {
  position: relative;
}
.money-input span {
  position: absolute;
  left: 10px;
  top: 11px;
  font-size: 11px;
  color: #777;
}
.money-input input {
  width: 100%;
  padding-left: 25px;
}
.line-delete {
  width: 31px;
  height: 31px;
  border: 0;
  background: #fff0f0;
  color: #b95a61;
  border-radius: 7px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.line-delete svg {
  width: 14px;
}
.add-line {
  border: 1px dashed #bcb1e9;
  background: #faf9ff;
  color: #674dd0;
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}
.add-line svg {
  width: 14px;
}
.builder-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8f8fc;
  border-radius: 9px;
  padding: 12px;
  margin-top: 12px;
}
.percent-input input {
  width: 100%;
  padding-right: 30px;
}
.percent-input span {
  position: absolute;
  right: 11px;
  top: 11px;
  color: #777;
}
.builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.builder-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.wide-field {
  grid-column: 1/-1;
}
.invoice-preview {
  background: white;
  border: 1px solid #dfdfe7;
  border-radius: 12px;
  padding: 24px;
  height: max-content;
  position: sticky;
  top: 16px;
}
.invoice-preview > h3 {
  font: 800 23px Manrope;
  margin: 8px 0 24px;
}
.preview-customer {
  display: flex;
  flex-direction: column;
  background: #f7f5ff;
  border-radius: 8px;
  padding: 11px;
}
.preview-customer span {
  font-size: 8px;
  text-transform: uppercase;
  color: #8a8798;
}
.preview-customer b {
  font-size: 12px;
  margin-top: 3px;
}
.invoice-preview > p {
  font-size: 9px;
  line-height: 1.5;
  color: #626273;
  background: #fafafd;
  padding: 9px;
  border-radius: 7px;
}
.preview-lines {
  margin-top: 16px;
}
.preview-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eeeeF2;
  font-size: 10px;
}
.preview-lines span {
  display: flex;
  flex-direction: column;
}
.preview-lines small {
  font-size: 8px;
  color: #9292a0;
  margin-top: 3px;
}
.preview-totals {
  margin: 14px 0 0 auto;
  width: 85%;
}
.preview-totals > div {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 6px 0;
}
.preview-totals > small {
  display: block;
  color: #6d55c2;
  font-size: 8px;
  text-align: right;
}
.preview-totals .grand {
  background: #7457e7;
  color: white;
  border-radius: 8px;
  padding: 11px;
  margin-top: 5px;
  font-size: 12px;
}
.preview-dates {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid #eeeef2;
  margin-top: 18px;
  padding-top: 10px;
  font-size: 8px;
  color: #858594;
}
.invoice-builder > footer {
  background: white;
  border-top: 1px solid #e3e4ea;
  padding: 15px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.invoice-builder > footer > span {
  font-size: 10px;
  color: #777889;
}
.invoice-builder > footer > div {
  display: flex;
  gap: 9px;
}
.invoice-references {
  display: flex;
  gap: 20px;
  background: #f8f8fc;
  border: 1px solid #ececf2;
  border-radius: 9px;
  padding: 11px 13px;
  margin-bottom: 12px;
}
.invoice-references span {
  display: flex;
  flex-direction: column;
}
.invoice-references small {
  font-size: 8px;
  color: #9292a0;
  text-transform: uppercase;
}
.invoice-references b {
  font-size: 10px;
  margin-top: 3px;
}
.viewer-lines {
  border: 1px solid #e8e8ef;
  border-radius: 10px;
  overflow: hidden;
}
.viewer-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 13px;
  border-top: 1px solid #eeeeF2;
}
.viewer-lines > div:first-child {
  border-top: 0;
}
.viewer-lines span {
  display: flex;
  flex-direction: column;
}
.viewer-lines b {
  font-size: 11px;
}
.viewer-lines small {
  font-size: 9px;
  color: #9292a0;
  margin-top: 3px;
}
@media (max-width: 950px) {
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .invoice-preview {
    position: static;
  }
  .builder-line-head {
    display: none;
  }
  .builder-line {
    grid-template-columns: minmax(150px, 2fr) 70px 110px 75px 90px 32px;
  }
}
@media (max-width: 680px) {
  .invoice-builder-backdrop {
    padding: 0;
  }
  .invoice-builder {
    border-radius: 0;
  }
  .builder-line {
    grid-template-columns: 1fr 1fr;
  }
  .builder-line > input:first-child {
    grid-column: 1/-1;
  }
  .builder-line > b {
    text-align: left;
  }
  .builder-grid,
  .builder-grid.three,
  .builder-options {
    grid-template-columns: 1fr;
  }
  .wide-field {
    grid-column: auto;
  }
  .invoice-builder > footer {
    align-items: stretch;
    flex-direction: column;
  }
  .invoice-builder > footer > div {
    flex-direction: column;
  }
  .invoice-builder > footer button {
    width: 100%;
  }
}
.pulse-dashboard {
  display: grid;
  gap: 15px;
}
.pulse-hero {
  min-height: 250px;
  border-radius: 19px;
  padding: 32px 38px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 78% 20%,
      #a790ff55 0,
      transparent 32%),
    linear-gradient(
      120deg,
      #211b42 0%,
      #5a3fc8 55%,
      #7457e7 100%);
  box-shadow: 0 18px 45px #4f39a62b;
  overflow: hidden;
  position: relative;
}
.pulse-hero:after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  right: -90px;
  bottom: -210px;
}
.pulse-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.pulse-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff18;
  border: 1px solid #ffffff2b;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pulse-label svg {
  width: 14px;
}
.pulse-copy h2 {
  font: 800 clamp(24px, 3vw, 38px) Manrope;
  margin: 15px 0 8px;
  line-height: 1.12;
}
.pulse-copy > p {
  font-size: 13px;
  line-height: 1.6;
  color: #ded8fa;
  margin: 0;
}
.pulse-copy > p b {
  color: white;
}
.pulse-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}
.pulse-actions button {
  height: 41px;
  border: 1px solid #ffffff35;
  background: #ffffff12;
  color: white;
  border-radius: 9px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
}
.pulse-actions .pulse-primary {
  background: white;
  color: #5137bd;
  border-color: white;
}
.pulse-actions svg {
  width: 15px;
}
.pulse-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 190px;
}
.score-ring {
  --score:270deg;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: conic-gradient(#79edd0 var(--score), #ffffff20 0);
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px #8d77ec66;
}
.score-ring:before {
  content: "";
  width: 119px;
  height: 119px;
  border-radius: 50%;
  background: #4d37ad;
  position: absolute;
}
.score-ring span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.score-ring b {
  font: 800 30px Manrope;
}
.score-ring small {
  font-size: 9px;
  color: #dcd4ff;
  text-transform: uppercase;
}
.pulse-score p {
  font-size: 9px;
  color: #dcd5fb;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 12px 0 0;
}
.pulse-score svg {
  width: 14px;
  color: #79edd0;
}
.pulse-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pulse-quick button {
  border: 1px solid #e4e4ec;
  background: white;
  border-radius: 12px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 6px #251d5010;
}
.pulse-quick button:hover {
  transform: translateY(-2px);
  border-color: #bdb0ef;
  box-shadow: 0 8px 18px #4b379219;
}
.pulse-quick button > span {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f0edff;
  color: #6f50dc;
}
.pulse-quick button > span svg {
  width: 18px;
}
.pulse-quick button > div {
  display: flex;
  flex-direction: column;
}
.pulse-quick b {
  font-size: 11px;
}
.pulse-quick small {
  font-size: 9px;
  color: #898896;
  margin-top: 2px;
}
.pulse-quick button > svg {
  width: 14px;
  margin-left: auto;
  color: #9b98a9;
}
.pulse-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.attention-card,
.automation-card,
.finance-chart-card,
.year-card,
.invoice-health {
  padding: 20px;
}
.pulse-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}
.pulse-card-head h3,
.year-card h3 {
  font: 750 16px Manrope;
  margin: 3px 0 0;
}
.attention-count {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff0e8;
  color: #c05d32;
  display: grid;
  place-items: center;
  font: 800 15px Manrope;
}
.automation-card > .pulse-card-head > svg {
  width: 35px;
  height: 35px;
  padding: 8px;
  border-radius: 10px;
  background: #e7f8f1;
  color: #238264;
}
.pulse-task {
  width: 100%;
  border: 0;
  border-top: 1px solid #eeeef2;
  background: white;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}
.pulse-task > span {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff2e8;
  color: #c57239;
}
.pulse-task > span svg {
  width: 15px;
}
.pulse-task > div {
  display: flex;
  flex-direction: column;
}
.pulse-task b {
  font-size: 11px;
}
.pulse-task small {
  font-size: 9px;
  color: #898896;
  margin-top: 2px;
}
.pulse-task strong {
  margin-left: auto;
  background: #f1eff7;
  color: #6652b7;
  border-radius: 10px;
  padding: 3px 7px;
  font-size: 10px;
}
.pulse-task > svg {
  width: 13px;
  color: #aaa8b4;
}
.all-done {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #258268;
}
.all-done > svg {
  width: 34px;
  margin-bottom: 8px;
}
.all-done b {
  font-size: 12px;
  color: #343444;
}
.all-done span {
  font-size: 9px;
  color: #8b8b98;
  margin-top: 3px;
}
.automation-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eeeef2;
  padding: 10px 0;
}
.automation-row > span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f7ef;
  color: #258269;
}
.automation-row svg {
  width: 12px;
}
.automation-row div {
  display: flex;
  flex-direction: column;
}
.automation-row b {
  font-size: 10px;
}
.automation-row small {
  font-size: 8px;
  color: #9292a0;
  margin-top: 2px;
}
.automation-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f2f9f6;
  color: #337b66;
  border-radius: 9px;
  padding: 10px 12px;
  margin-top: 7px;
}
.automation-foot > svg {
  width: 17px;
}
.automation-foot span {
  display: flex;
  flex-direction: column;
}
.automation-foot b {
  font-size: 10px;
}
.automation-foot small {
  font-size: 8px;
}
.pulse-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pulse-metric {
  padding: 17px;
}
.pulse-metric > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #797989;
  font-size: 10px;
}
.pulse-metric svg {
  width: 17px;
  color: #6f53da;
}
.pulse-metric > b {
  display: block;
  font: 800 21px Manrope;
  margin: 7px 0 2px;
}
.pulse-metric > small {
  font-size: 9px;
  color: #9292a0;
}
.pulse-metric.accent {
  background:
    linear-gradient(
      145deg,
      #eeebff,
      #f9f8ff);
  border-color: #dcd4fb;
}
.finance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  gap: 15px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #858594;
}
.chart-legend span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-left: 7px;
}
.chart-legend .revenue {
  background: #7256e4;
}
.chart-legend .cost {
  background: #efad68;
}
.monthly-chart {
  height: 235px;
  padding-top: 15px;
}
.chart-bars {
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  border-bottom: 1px solid #e5e5eb;
  background:
    repeating-linear-gradient(
      to top,
      transparent 0,
      transparent 24%,
      #eeeeF2 25%);
}
.month-column {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
}
.bar-pair {
  height: calc(100% - 24px);
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}
.bar-pair i {
  display: block;
  width: min(13px, 42%);
  min-height: 3px;
  border-radius: 4px 4px 1px 1px;
  transition: height .25s;
}
.revenue-bar {
  background: linear-gradient(#8b70f0, #674bd5);
}
.cost-bar {
  background: linear-gradient(#f3bd82, #e69b51);
}
.month-column > span {
  height: 17px;
  font-size: 8px;
  color: #8d8d9b;
  text-transform: capitalize;
}
.year-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid #eeeef2;
  font-size: 10px;
}
.year-card > div b {
  font: 700 12px Manrope;
}
.year-card .year-profit {
  background: #ebe8ff;
  border: 0;
  border-radius: 9px;
  padding: 13px;
  margin: 4px 0 7px;
}
.year-card .year-profit b {
  color: #563abf;
  font-size: 16px;
}
.year-card > button,
.invoice-health .pulse-card-head button {
  border: 0;
  background: none;
  color: #654bd0;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 9px 0;
}
.year-card button svg,
.invoice-health button svg {
  width: 13px;
}
.health-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.health-flow > div {
  height: 70px;
  border-radius: 10px;
  background: #f7f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.health-flow > div:after {
  content: "";
  position: absolute;
  right: -9px;
  width: 10px;
  height: 2px;
  background: #dddde5;
}
.health-flow > div:last-child:after {
  display: none;
}
.health-flow span {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9e6f7;
  color: #6652b7;
  font-size: 10px;
  font-weight: 800;
}
.health-flow b {
  font-size: 10px;
}
.health-flow .warn span {
  background: #fee9e4;
  color: #b94e2d;
}
.health-flow .done span {
  background: #def5eb;
  color: #208465;
}
.health-flow svg {
  width: 14px;
}
.pulse-trial {
  margin: 0;
}
@media (max-width: 1000px) {
  .pulse-quick,
  .pulse-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .pulse-columns,
  .finance-layout {
    grid-template-columns: 1fr;
  }
  .invoice-preview {
    position: static;
  }
}
@media (max-width: 650px) {
  .pulse-hero {
    padding: 25px;
    align-items: flex-start;
    flex-direction: column;
  }
  .pulse-score {
    display: none;
  }
  .pulse-actions {
    flex-direction: column;
  }
  .pulse-actions button {
    justify-content: center;
  }
  .pulse-quick,
  .pulse-metrics {
    grid-template-columns: 1fr;
  }
  .health-flow {
    grid-template-columns: 1fr 1fr;
  }
  .health-flow > div:after {
    display: none;
  }
  .chart-bars {
    gap: 3px;
  }
  .month-column:nth-child(odd) > span {
    display: none;
  }
}
.control-room {
  display: grid;
  gap: 15px;
}
.control-hero {
  min-height: 250px;
  border-radius: 19px;
  padding: 32px 38px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 15% 15%,
      #79edd044 0,
      transparent 30%),
    linear-gradient(
      120deg,
      #121a33 0%,
      #29405f 48%,
      #7357e8 100%);
  box-shadow: 0 18px 45px #1f31502b;
  overflow: hidden;
  position: relative;
}
.control-hero h2 {
  font: 800 clamp(24px, 3vw, 38px) Manrope;
  margin: 15px 0 8px;
  line-height: 1.12;
}
.control-hero p {
  font-size: 13px;
  line-height: 1.6;
  color: #e3e8ff;
  margin: 0;
  max-width: 720px;
}
.control-hero-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}
.control-hero-actions button {
  height: 41px;
  border: 1px solid #ffffff35;
  background: #ffffff12;
  color: white;
  border-radius: 9px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
}
.control-hero-actions .pulse-primary {
  background: white;
  color: #243753;
  border-color: white;
}
.control-hero-actions svg {
  width: 15px;
}
.control-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 190px;
}
.control-score .score-ring:before {
  background: #253653;
}
.control-score p {
  font-size: 9px;
  color: #dbe4ff;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 12px 0 0;
}
.control-score svg {
  width: 14px;
  color: #79edd0;
}
.control-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.control-stat {
  padding: 16px;
  border-left: 4px solid #d8d8e2;
}
.control-stat span {
  font-size: 9px;
  text-transform: uppercase;
  color: #858594;
  font-weight: 800;
  letter-spacing: .06em;
}
.control-stat b {
  display: block;
  font: 800 25px Manrope;
  margin-top: 5px;
}
.control-stat.action {
  border-left-color: #e0714e;
  background: #fff8f3;
}
.control-stat.warning {
  border-left-color: #e3b75b;
  background: #fffaf0;
}
.control-stat.ok {
  border-left-color: #36b889;
  background: #f2fbf7;
}
.control-stat.info {
  border-left-color: #7357e8;
  background: #f7f5ff;
}
.control-columns {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 15px;
}
.control-next,
.control-promise,
.control-group {
  padding: 20px;
}
.control-next h3,
.control-promise h3,
.control-group h3 {
  font: 750 17px Manrope;
  margin: 5px 0 8px;
}
.control-next p,
.control-promise p {
  font-size: 11px;
  color: #747482;
  line-height: 1.55;
}
.control-next .primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}
.control-next .primary svg {
  width: 14px;
}
.control-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.control-mini-grid span {
  background: #f7f7fb;
  border-radius: 9px;
  padding: 11px;
  font-size: 9px;
  color: #858594;
}
.control-mini-grid b {
  display: block;
  font: 800 17px Manrope;
  color: #303040;
}
.control-promise ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: grid;
  gap: 9px;
}
.control-promise li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #3e3e4a;
}
.control-promise li svg {
  width: 15px;
  color: #258269;
}
.control-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.control-group .pulse-card-head b {
  background: #f0edff;
  color: #624ac9;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 11px;
}
.control-check {
  width: 100%;
  border: 0;
  border-top: 1px solid #eeeef2;
  background: white;
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  cursor: pointer;
}
.control-check:hover {
  background: #faf9ff;
}
.control-check > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 800 13px Manrope;
  background: #eef0f5;
  color: #6e7280;
}
.control-check.ok > span {
  background: #def5eb;
  color: #208465;
}
.control-check.warning > span {
  background: #fff1cf;
  color: #b77916;
}
.control-check.action > span {
  background: #ffe8df;
  color: #c05d32;
}
.control-check.info > span {
  background: #eee9ff;
  color: #654bd0;
}
.control-check span svg {
  width: 15px;
}
.control-check div {
  display: flex;
  flex-direction: column;
}
.control-check b {
  font-size: 11px;
}
.control-check small {
  font-size: 9px;
  color: #898896;
  margin-top: 3px;
  line-height: 1.35;
}
.control-check > svg {
  width: 13px;
  margin-left: auto;
  color: #aaa8b4;
}
@media (max-width: 950px) {
  .control-summary,
  .control-groups {
    grid-template-columns: 1fr 1fr;
  }
  .control-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .control-hero {
    padding: 25px;
    align-items: flex-start;
    flex-direction: column;
  }
  .control-score {
    display: none;
  }
  .control-hero-actions {
    flex-direction: column;
  }
  .control-hero-actions button {
    justify-content: center;
  }
  .control-summary,
  .control-groups {
    grid-template-columns: 1fr;
  }
  .control-mini-grid {
    grid-template-columns: 1fr;
  }
}
.suggestion-stack {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.bank-suggestion {
  border: 1px solid #ded9f7;
  background:
    linear-gradient(
      135deg,
      #fbfaff,
      #f4fbf8);
  border-radius: 13px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 22px #3d2e7610;
}
.suggestion-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.suggestion-main > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eee9ff;
  color: #654bd0;
  display: grid;
  place-items: center;
  flex: none;
}
.suggestion-main svg {
  width: 18px;
}
.suggestion-main b {
  font: 750 13px Manrope;
  color: #303040;
}
.suggestion-main small {
  display: block;
  font-size: 9px;
  color: #858594;
  margin-top: 3px;
}
.suggestion-main p {
  font-size: 10px;
  color: #686879;
  margin: 7px 0 0;
  line-height: 1.45;
}
.suggestion-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 170px;
}
.suggestion-side small {
  font-size: 9px;
  color: #777888;
}
.confidence {
  background: #e6f8f1;
  color: #238264;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 800;
}
.suggestion-side button {
  height: 34px;
  padding: 0 11px;
}
@media (max-width: 700px) {
  .bank-suggestion {
    align-items: stretch;
    flex-direction: column;
  }
  .suggestion-side {
    align-items: flex-start;
    min-width: 0;
  }
  .suggestion-side button {
    width: 100%;
  }
}
.quarter-close {
  display: grid;
  gap: 15px;
}
.quarter-hero {
  min-height: 230px;
  border-radius: 19px;
  padding: 30px 36px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(
      circle at 82% 18%,
      #79edd044 0,
      transparent 31%),
    linear-gradient(
      120deg,
      #1c2540 0%,
      #25616a 52%,
      #36a881 100%);
  box-shadow: 0 18px 45px #204c4b2b;
}
.quarter-hero h2 {
  font: 800 clamp(24px, 3vw, 36px) Manrope;
  margin: 15px 0 8px;
}
.quarter-hero p {
  font-size: 13px;
  line-height: 1.6;
  color: #e9fff7;
  max-width: 720px;
  margin: 0;
}
.quarter-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}
.quarter-actions select,
.quarter-actions input {
  height: 40px;
  border: 1px solid #ffffff55;
  background: #ffffff14;
  color: white;
  border-radius: 9px;
  padding: 0 10px;
  font-weight: 800;
}
.quarter-actions input {
  width: 90px;
}
.quarter-actions button {
  height: 40px;
  border: 1px solid #ffffff55;
  background: white;
  color: #1e6d58;
  border-radius: 9px;
  padding: 0 13px;
  font-weight: 800;
  cursor: pointer;
}
.quarter-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.quarter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
  gap: 15px;
}
.quarter-checks,
.quarter-vat {
  padding: 20px;
}
.quarter-checks .pulse-card-head b {
  background: #e6f8f1;
  color: #238264;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 11px;
}
.quarter-vat h3 {
  font: 750 17px Manrope;
  margin: 5px 0 12px;
}
.quarter-vat > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eeeef2;
  padding: 12px 0;
  font-size: 11px;
}
.quarter-vat b {
  font: 800 13px Manrope;
}
.quarter-total {
  background: #e8f8f1;
  border: 0 !important;
  border-radius: 10px;
  padding: 14px !important;
  margin: 4px 0 12px;
}
.quarter-total b {
  font-size: 18px;
  color: #1f7b60;
}
.quarter-vat button {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.quarter-vat small {
  display: block;
  font-size: 9px;
  color: #858594;
  line-height: 1.45;
}
@media (max-width: 950px) {
  .quarter-layout {
    grid-template-columns: 1fr;
  }
  .quarter-metrics {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .quarter-hero {
    padding: 24px;
    align-items: flex-start;
    flex-direction: column;
  }
  .quarter-actions {
    flex-wrap: wrap;
  }
  .quarter-metrics {
    grid-template-columns: 1fr;
  }
}
.assistant-page {
  display: grid;
  gap: 15px;
}
.assistant-hero {
  min-height: 255px;
  border-radius: 19px;
  padding: 32px 38px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 78% 18%,
      #79edd044 0,
      transparent 31%),
    radial-gradient(
      circle at 18% 15%,
      #f7c97840 0,
      transparent 26%),
    linear-gradient(
      120deg,
      #17142e 0%,
      #4d35b5 50%,
      #7560ef 100%);
  box-shadow: 0 18px 45px #43328f2b;
  overflow: hidden;
}
.assistant-hero h2 {
  font: 800 clamp(25px, 3vw, 39px) Manrope;
  margin: 15px 0 8px;
  line-height: 1.12;
}
.assistant-hero p {
  font-size: 13px;
  line-height: 1.6;
  color: #ebe7ff;
  max-width: 760px;
  margin: 0;
}
.assistant-hero-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}
.assistant-hero-actions button {
  height: 41px;
  border: 1px solid #ffffff35;
  background: #ffffff12;
  color: white;
  border-radius: 9px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}
.assistant-hero-actions .pulse-primary {
  background: white;
  color: #5137bd;
  border-color: white;
}
.assistant-hero-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.assistant-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  gap: 15px;
  align-items: start;
}
.assistant-feed,
.assistant-detail,
.assistant-insights,
.assistant-automation {
  padding: 20px;
}
.assistant-feed .pulse-card-head b {
  background: #f0edff;
  color: #624ac9;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 11px;
}
.assistant-item {
  width: 100%;
  border: 1px solid #eeeef2;
  background: white;
  border-radius: 13px;
  margin-bottom: 10px;
  padding: 13px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  text-align: left;
  cursor: pointer;
  transition: .16s;
}
.assistant-item:hover,
.assistant-item.active {
  border-color: #bfb3ef;
  background: #fbfaff;
  box-shadow: 0 8px 20px #4f39a514;
}
.assistant-item > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #f0edff;
  color: #654bd0;
}
.assistant-item.high > span {
  background: #ffe8df;
  color: #c05d32;
}
.assistant-item.medium > span {
  background: #fff3d9;
  color: #ad741f;
}
.assistant-item.low > span {
  background: #e6f8f1;
  color: #238264;
}
.assistant-item svg {
  width: 18px;
}
.assistant-item b {
  font: 750 12px Manrope;
  color: #303040;
}
.assistant-item small {
  display: block;
  font-size: 9px;
  color: #858594;
  margin-top: 3px;
}
.assistant-item p {
  font-size: 10px;
  color: #686879;
  line-height: 1.45;
  margin: 7px 0 0;
}
.assistant-item strong {
  font: 800 12px Manrope;
  color: #303040;
  white-space: nowrap;
  margin-top: 3px;
}
.assistant-side {
  display: grid;
  gap: 15px;
  position: sticky;
  top: 112px;
}
.assistant-detail h3,
.assistant-insights h3,
.assistant-automation h3 {
  font: 750 17px Manrope;
  margin: 5px 0 10px;
}
.assistant-detail p {
  font-size: 12px;
  color: #686879;
  line-height: 1.55;
}
.assistant-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.assistant-detail-grid span {
  background: #f7f7fb;
  border-radius: 10px;
  padding: 11px;
  display: flex;
  flex-direction: column;
}
.assistant-detail-grid b {
  font: 800 15px Manrope;
  color: #303040;
}
.assistant-detail-grid small {
  font-size: 8px;
  color: #858594;
  text-transform: uppercase;
  margin-top: 3px;
}
.assistant-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.assistant-buttons .primary {
  grid-column: 1/-1;
}
.assistant-buttons button {
  width: 100%;
  justify-content: center;
}
.assistant-insights > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-top: 1px solid #eeeef2;
  padding: 10px 0;
  font-size: 11px;
  color: #555667;
  line-height: 1.45;
}
.assistant-insights svg {
  width: 15px;
  color: #258269;
  flex: 0 0 auto;
}
.quiet {
  font-size: 11px;
  color: #858594;
  line-height: 1.45;
}
@media (max-width: 1000px) {
  .assistant-layout {
    grid-template-columns: 1fr;
  }
  .assistant-side {
    position: static;
  }
  .assistant-stats {
    grid-template-columns: 1fr 1fr;
  }
  .assistant-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .assistant-hero .control-score {
    display: none;
  }
}
@media (max-width: 650px) {
  .assistant-hero {
    padding: 24px;
  }
  .assistant-hero-actions {
    flex-direction: column;
  }
  .assistant-hero-actions button {
    justify-content: center;
  }
  .assistant-stats,
  .assistant-detail-grid {
    grid-template-columns: 1fr;
  }
  .assistant-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .assistant-item strong {
    grid-column: 2;
  }
  .assistant-buttons {
    grid-template-columns: 1fr;
  }
}
.relations-hero {
  border: 1px solid #ebe9f5;
  background:
    linear-gradient(
      135deg,
      #f6fbff,
      #f8f6ff 55%,
      #effcf6);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.relations-hero h3 {
  font: 800 22px Manrope;
  margin: 5px 0;
}
.relations-hero p {
  font-size: 12px;
  color: #696978;
  line-height: 1.55;
  max-width: 640px;
  margin: 0;
}
.relation-report-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
  min-width: 330px;
}
.relation-report-list span {
  background: white;
  border: 1px solid #ebe9f5;
  border-radius: 12px;
  padding: 12px;
  font-size: 9px;
  color: #858594;
}
.relation-report-list b {
  display: block;
  font: 800 16px Manrope;
  color: #303040;
  margin-bottom: 2px;
}
.relations-layout {
  display: grid;
  grid-template-columns: minmax(330px, .85fr) minmax(0, 1.15fr);
  gap: 15px;
  align-items: start;
}
.relation-list-card,
.relation-detail,
.contact-editor {
  padding: 20px;
}
.relation-tools {
  display: grid;
  grid-template-columns: 1fr 145px 145px;
  gap: 8px;
  margin: 12px 0;
}
.relation-tools input,
.relation-tools select {
  height: 39px;
  border: 1px solid #ddddeb;
  border-radius: 9px;
  padding: 0 10px;
  background: white;
  font-size: 11px;
}
.relation-list {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}
.relation-row {
  width: 100%;
  border: 1px solid #eeeef2;
  background: white;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  transition: .16s;
}
.relation-row:hover,
.relation-row.active {
  border-color: #bfb3ef;
  background: #fbfaff;
  box-shadow: 0 8px 18px #4f39a512;
}
.relation-row span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.relation-row b {
  font: 750 12px Manrope;
  color: #303040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.relation-row small {
  font-size: 9px;
  color: #858594;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.relation-row em {
  font-style: normal;
  background: #eef8ff;
  color: #2782ad;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 800;
  align-self: start;
}
.relation-row strong {
  grid-column: 1/-1;
  font: 800 13px Manrope;
  color: #303040;
}
.relation-reports {
  border-top: 1px solid #eeeef2;
  margin-top: 14px;
  padding-top: 12px;
}
.relation-reports h4,
.contact-info-grid h4,
.contact-invoices h4,
.contact-form-grid h4 {
  font: 800 12px Manrope;
  margin: 0 0 9px;
}
.relation-reports div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #f0f0f4;
  padding: 10px 0;
  font-size: 10px;
  color: #777887;
}
.relation-reports b {
  color: #303040;
}
.contact-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.contact-metrics span {
  background: #249bd2;
  color: white;
  border-radius: 12px;
  padding: 13px 11px;
  font-size: 9px;
}
.contact-metrics b {
  display: block;
  font: 800 15px Manrope;
  margin-bottom: 2px;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.contact-info-grid > div {
  background: #f6fbff;
  border: 1px solid #e6f1fb;
  border-radius: 13px;
  padding: 14px;
}
.info-line {
  margin: 0;
  border-top: 1px solid #e7edf5;
  padding: 9px 0;
  display: grid;
  gap: 2px;
}
.info-line:first-of-type {
  border-top: 0;
}
.info-line span {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #7d8490;
  font-weight: 800;
}
.info-line b {
  font-size: 10px;
  color: #343444;
  line-height: 1.35;
}
.contact-invoices {
  margin-top: 14px;
  border-top: 1px solid #eeeef2;
  padding-top: 13px;
}
.contact-editor {
  margin-bottom: 14px;
  border-color: #d9d2fb;
  background:
    linear-gradient(
      135deg,
      #fff,
      #fbfaff);
}
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.contact-form-grid section {
  background: #f8f8fb;
  border: 1px solid #ededf4;
  border-radius: 13px;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.contact-form-grid label {
  font-size: 9px;
  color: #777887;
  font-weight: 800;
  display: grid;
  gap: 5px;
}
.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid #ddddeb;
  border-radius: 8px;
  padding: 8px 9px;
  background: white;
  font: inherit;
  font-size: 11px;
  color: #303040;
}
.contact-form-grid textarea {
  min-height: 75px;
  resize: vertical;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.contact-editor footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #eeeef2;
  margin-top: 14px;
  padding-top: 14px;
}
.contact-editor footer span {
  font-size: 10px;
  color: #858594;
}
.contact-editor footer div {
  display: flex;
  gap: 8px;
}
.field-help {
  display: block;
  margin-top: 7px;
  color: #777887;
  font-size: 10px;
}
@media (max-width: 1100px) {
  .relations-layout,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .relations-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .relation-report-list {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 680px) {
  .relation-tools,
  .contact-form-grid,
  .relation-report-list,
  .contact-metrics {
    grid-template-columns: 1fr;
  }
  .contact-editor footer {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-editor footer div {
    flex-direction: column;
  }
  .two-fields {
    grid-template-columns: 1fr;
  }
}
.inbox-page {
  display: grid;
  gap: 15px;
}
.inbox-hero {
  min-height: 250px;
  border-radius: 19px;
  padding: 32px 38px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 15% 15%,
      #79edd044 0,
      transparent 30%),
    radial-gradient(
      circle at 84% 18%,
      #ffd38a38 0,
      transparent 30%),
    linear-gradient(
      120deg,
      #151b32 0%,
      #245778 48%,
      #6f56e8 100%);
  box-shadow: 0 18px 45px #1f31502b;
  overflow: hidden;
}
.inbox-hero h2 {
  font: 800 clamp(25px, 3vw, 39px) Manrope;
  margin: 15px 0 8px;
  line-height: 1.12;
}
.inbox-hero p {
  font-size: 13px;
  line-height: 1.6;
  color: #e8f0ff;
  max-width: 760px;
  margin: 0;
}
.inbox-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.inbox-actions button,
.inbox-actions label {
  height: 41px;
  border: 1px solid #ffffff35;
  background: #ffffff12;
  color: white;
  border-radius: 9px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}
.inbox-actions .pulse-primary {
  background: white;
  color: #245778;
  border-color: white;
}
.inbox-actions input {
  display: none;
}
.inbox-drop {
  width: 260px;
  min-height: 165px;
  border: 1px dashed #ffffff75;
  background: #ffffff12;
  border-radius: 16px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
}
.inbox-drop svg {
  width: 34px;
  color: #fff;
}
.inbox-drop b {
  font: 800 15px Manrope;
}
.inbox-drop small {
  font-size: 10px;
  color: #dbe4ff;
}
.inbox-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.inbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  align-items: start;
}
.inbox-card {
  padding: 20px;
}
.inbox-card .pulse-card-head b {
  background: #f0edff;
  color: #624ac9;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 11px;
}
.inbox-item {
  width: 100%;
  border: 1px solid #eeeef2;
  background: white;
  border-radius: 13px;
  margin-bottom: 10px;
  padding: 13px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  text-align: left;
}
.inbox-item.clickable {
  cursor: pointer;
}
.inbox-item.clickable:hover {
  border-color: #bfb3ef;
  background: #fbfaff;
  box-shadow: 0 8px 20px #4f39a514;
}
.inbox-item > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #f0edff;
  color: #654bd0;
}
.inbox-item svg {
  width: 18px;
}
.inbox-item b {
  font: 750 12px Manrope;
  color: #303040;
}
.inbox-item small {
  display: block;
  font-size: 9px;
  color: #858594;
  margin-top: 3px;
}
.inbox-item p {
  font-size: 10px;
  color: #686879;
  line-height: 1.45;
  margin: 7px 0 0;
}
.inbox-item > svg {
  width: 14px;
  margin-top: 10px;
  color: #aaa8b4;
}
.inbox-item-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.inbox-item-actions button {
  height: 32px;
  border: 1px solid #e1e1e8;
  background: white;
  border-radius: 8px;
  color: #707080;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.inbox-item-actions .secondary {
  background: #f7f5ff;
  color: #654bd0;
  border-color: #ded8f4;
}
@media (max-width: 1050px) {
  .inbox-grid {
    grid-template-columns: 1fr;
  }
  .inbox-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .inbox-drop {
    width: 100%;
  }
  .inbox-stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .inbox-hero {
    padding: 24px;
  }
  .inbox-actions {
    flex-direction: column;
  }
  .inbox-actions button,
  .inbox-actions label {
    justify-content: center;
  }
  .inbox-stats {
    grid-template-columns: 1fr;
  }
  .inbox-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .inbox-item-actions {
    grid-column: 1/-1;
  }
}
.vat-return-page {
  display: grid;
  gap: 15px;
}
.vat-hero {
  min-height: 245px;
  border-radius: 19px;
  padding: 32px 38px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 18% 18%,
      #ffd38a40 0,
      transparent 28%),
    radial-gradient(
      circle at 86% 18%,
      #79edd044 0,
      transparent 31%),
    linear-gradient(
      120deg,
      #211b42 0%,
      #38407f 48%,
      #218f84 100%);
  box-shadow: 0 18px 45px #29404f2b;
  overflow: hidden;
}
.vat-hero h2 {
  font: 800 clamp(25px, 3vw, 39px) Manrope;
  margin: 15px 0 8px;
  line-height: 1.12;
}
.vat-hero p {
  font-size: 13px;
  line-height: 1.6;
  color: #edeaff;
  max-width: 780px;
  margin: 0;
}
.vat-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.vat-actions select,
.vat-actions input {
  height: 40px;
  border: 1px solid #ffffff55;
  background: #ffffff14;
  color: white;
  border-radius: 9px;
  padding: 0 10px;
  font-weight: 800;
}
.vat-actions input {
  width: 92px;
}
.vat-actions button {
  height: 40px;
  border: 1px solid #ffffff55;
  background: white;
  color: #33206f;
  border-radius: 9px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  cursor: pointer;
}
.vat-actions svg {
  width: 14px;
}
.vat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .7fr);
  gap: 15px;
  align-items: start;
}
.vat-rubrics,
.vat-checks,
.vat-explain {
  padding: 20px;
}
.vat-rubrics .pulse-card-head b,
.vat-checks .pulse-card-head b {
  background: #f0edff;
  color: #624ac9;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 11px;
}
.vat-rubric {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 130px 130px;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #eeeef2;
  padding: 13px 0;
}
.vat-rubric > span {
  width: 38px;
  height: 34px;
  border-radius: 10px;
  background: #eef0f5;
  color: #5d6170;
  display: grid;
  place-items: center;
  font: 900 12px Manrope;
}
.vat-rubric b {
  font: 750 12px Manrope;
  color: #303040;
}
.vat-rubric small {
  display: block;
  color: #858594;
  font-size: 9px;
  line-height: 1.4;
  margin-top: 3px;
}
.vat-rubric strong,
.vat-rubric em {
  font: 800 12px Manrope;
  color: #303040;
  text-align: right;
  font-style: normal;
}
.vat-rubric em {
  color: #218f84;
}
.vat-rubric.total {
  background: #eefaf5;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  margin-top: 8px;
}
.vat-rubric.total > span {
  background: #d8f4e8;
  color: #1d7b61;
}
.vat-rubric.total em {
  font-size: 16px;
}
.vat-checks .wide {
  width: 100%;
  margin-top: 14px;
}
.vat-explain h3 {
  font: 750 17px Manrope;
  margin: 5px 0 12px;
}
.vat-explain > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eeeef2;
  padding: 12px 0;
  font-size: 11px;
}
.vat-explain b {
  font: 800 13px Manrope;
}
@media (max-width: 1050px) {
  .vat-layout,
  .reports-grid {
    grid-template-columns: 1fr;
  }
  .vat-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .vat-hero .control-score {
    display: none;
  }
}
@media (max-width: 720px) {
  .vat-hero {
    padding: 24px;
  }
  .vat-actions {
    flex-direction: column;
  }
  .vat-actions input,
  .vat-actions select,
  .vat-actions button {
    width: 100%;
    justify-content: center;
  }
  .vat-rubric {
    grid-template-columns: 42px 1fr;
  }
  .vat-rubric strong,
  .vat-rubric em {
    text-align: left;
  }
  .vat-rubric strong:before {
    content: "Grondslag: ";
    color: #858594;
    font-weight: 700;
  }
  .vat-rubric em:before {
    content: "Btw: ";
    color: #858594;
    font-weight: 700;
  }
}
.inbox-workflow {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.35fr);
  gap: 15px;
  align-items: start;
}
.inbox-document-list {
  position: sticky;
  top: 92px;
}
.inbox-item.active {
  border-color: #7657e8;
  background:
    linear-gradient(
      180deg,
      #fbfaff,
      #f4f0ff);
  box-shadow: 0 13px 28px #6b4ee426;
}
.inbox-process-card {
  padding: 22px;
}
.selected-doc {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f6f9ff;
  border: 1px solid #e2e8ff;
  border-radius: 14px;
  padding: 13px;
  margin: 12px 0 16px;
}
.selected-doc > svg {
  width: 38px;
  height: 38px;
  color: #654bd0;
  background: #fff;
  border-radius: 12px;
  padding: 9px;
}
.selected-doc b {
  display: block;
  font: 800 13px Manrope;
  color: #29293a;
}
.selected-doc small {
  display: block;
  font-size: 10px;
  color: #77788a;
  margin-top: 3px;
}
.inbox-purchase-form {
  display: grid;
  gap: 14px;
}
.inbox-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.inbox-form-grid label {
  font-size: 10px;
  font-weight: 800;
  color: #676779;
  display: grid;
  gap: 6px;
}
.inbox-form-grid input,
.inbox-form-grid select {
  height: 39px;
  border: 1px solid #dedee9;
  border-radius: 10px;
  padding: 0 11px;
  background: white;
  color: #252536;
  font: 700 12px Inter;
}
.inbox-form-grid input:focus,
.inbox-form-grid select:focus {
  outline: 2px solid #d8d0ff;
  border-color: #7b61e8;
}
.inbox-form-grid .wide-field {
  grid-column: 1/-1;
}
.inbox-booking-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #151b32;
  color: white;
  border-radius: 16px;
  padding: 14px;
}
.inbox-booking-preview div {
  background: #ffffff12;
  border: 1px solid #ffffff16;
  border-radius: 12px;
  padding: 12px;
}
.inbox-booking-preview span {
  display: block;
  font-size: 10px;
  color: #dfe5ff;
  margin-bottom: 5px;
}
.inbox-booking-preview b {
  font: 850 15px Manrope;
}
.inbox-booking-preview .grand {
  background: #ffffff;
  color: #22243a;
}
.inbox-booking-preview .grand span {
  color: #6a6d80;
}
.inbox-purchase-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #eeeef4;
  padding-top: 14px;
}
.inbox-purchase-form footer button {
  height: 40px;
  border-radius: 10px;
  border: 1px solid #dedee9;
  padding: 0 14px;
  font-weight: 850;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.inbox-purchase-form footer .primary {
  background: #6f56e8;
  border-color: #6f56e8;
  color: white;
}
.inbox-purchase-form footer .secondary {
  background: #fff;
  color: #666678;
}
.inbox-empty-process {
  min-height: 360px;
  border: 1px dashed #d7d7e5;
  background:
    linear-gradient(
      180deg,
      #fbfbff,
      #f7f8fc);
  border-radius: 16px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
}
.inbox-empty-process svg {
  width: 52px;
  height: 52px;
  color: #7657e8;
  background: #f0edff;
  border-radius: 18px;
  padding: 13px;
}
.inbox-empty-process h3 {
  font: 850 20px Manrope;
  margin: 12px 0 4px;
}
.inbox-empty-process p {
  max-width: 420px;
  color: #747486;
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 1050px) {
  .inbox-workflow {
    grid-template-columns: 1fr;
  }
  .inbox-document-list {
    position: static;
  }
  .inbox-booking-preview {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .inbox-form-grid {
    grid-template-columns: 1fr;
  }
  .inbox-purchase-form footer {
    flex-direction: column;
  }
  .inbox-purchase-form footer button {
    justify-content: center;
  }
}
.invoice-detail {
  padding: 20px;
  margin: 0 0 16px;
  border-color: #ddd6fb;
  background:
    linear-gradient(
      135deg,
      #fff,
      #fbfaff);
}
.invoice-detail .pulse-card-head {
  align-items: flex-start;
}
.invoice-detail .pulse-card-head p {
  font-size: 11px;
  color: #777889;
  margin: 4px 0 0;
}
.invoice-actions {
  margin-top: 14px;
}
.invoice-actions button {
  min-height: 40px;
  border: 1px solid #dedee9;
  border-radius: 9px;
  background: white;
  color: #5f6070;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}
.invoice-actions .primary {
  background: #7457e7;
  color: white;
  border-color: #7457e7;
}
.invoice-actions button:disabled {
  opacity: .58;
  cursor: not-allowed;
}
.invoice-actions svg {
  width: 15px;
}
.debt-page {
  display: grid;
  gap: 15px;
}
.debt-hero {
  min-height: 250px;
  border-radius: 19px;
  padding: 32px 38px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 17% 16%,
      #79edd044 0,
      transparent 30%),
    radial-gradient(
      circle at 86% 20%,
      #ffd38a3d 0,
      transparent 30%),
    linear-gradient(
      120deg,
      #151b32 0%,
      #3d2d83 48%,
      #7257e8 100%);
  box-shadow: 0 18px 45px #43328f2b;
  overflow: hidden;
}
.debt-hero h2 {
  font: 800 clamp(25px, 3vw, 39px) Manrope;
  margin: 15px 0 8px;
  line-height: 1.12;
}
.debt-hero p {
  font-size: 13px;
  line-height: 1.6;
  color: #ebe7ff;
  max-width: 760px;
  margin: 0;
}
.debt-hero-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.debt-hero-actions button {
  height: 41px;
  border: 1px solid #ffffff35;
  background: #ffffff12;
  color: white;
  border-radius: 9px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}
.debt-hero-actions .pulse-primary {
  background: white;
  color: #5137bd;
  border-color: white;
}
.debt-hero-actions svg {
  width: 15px;
}
.debt-total {
  min-width: 255px;
  background: #ffffff13;
  border: 1px solid #ffffff24;
  border-radius: 17px;
  padding: 22px;
  text-align: right;
}
.debt-total span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #d9d2ff;
  font-weight: 800;
}
.debt-total b {
  display: block;
  font: 900 31px Manrope;
  margin: 7px 0;
}
.debt-total small {
  font-size: 10px;
  color: #efeaff;
}
.debt-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.debt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
  gap: 15px;
  align-items: start;
}
.debt-list,
.debt-side {
  padding: 20px;
}
.debt-list .pulse-card-head > b {
  background: #f0edff;
  color: #624ac9;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 11px;
}
.debt-row {
  border: 1px solid #eeeef2;
  background: white;
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}
.debt-row.overdue {
  border-color: #f1cfc6;
  background: #fffaf8;
}
.debt-row.soon {
  border-color: #f0dfb9;
  background: #fffdf7;
}
.debt-row > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.debt-row b {
  font: 800 12px Manrope;
  color: #303040;
}
.debt-row small {
  font-size: 9px;
  color: #858594;
  margin-top: 3px;
}
.debt-row em {
  font-style: normal;
  width: max-content;
  background: #eef0f5;
  color: #676b79;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 900;
  margin-top: 8px;
}
.debt-row.overdue em {
  background: #ffe8df;
  color: #bb5532;
}
.debt-row.soon em {
  background: #fff2cf;
  color: #a8711d;
}
.debt-row > strong {
  font: 900 14px Manrope;
  color: #303040;
  white-space: nowrap;
}
.debt-actions {
  grid-column: 1/-1;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  border-top: 1px solid #eeeef2;
  padding-top: 11px;
}
.debt-actions button {
  height: 35px;
  border: 1px solid #dedee9;
  background: white;
  color: #626273;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.debt-actions button.primary {
  background: #7457e7;
  color: white;
  border-color: #7457e7;
}
.debt-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.debt-actions svg {
  width: 13px;
}
.debt-customer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eeeef2;
  padding: 12px 0;
}
.debt-customer span {
  display: flex;
  flex-direction: column;
}
.debt-customer b {
  font-size: 11px;
  color: #303040;
}
.debt-customer small {
  font-size: 9px;
  color: #858594;
  margin-top: 3px;
}
.debt-customer strong {
  font: 900 13px Manrope;
  color: #303040;
}
@media (max-width: 1000px) {
  .debt-layout {
    grid-template-columns: 1fr;
  }
  .debt-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .debt-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .debt-total {
    text-align: left;
    width: 100%;
  }
}
@media (max-width: 650px) {
  .debt-hero {
    padding: 24px;
  }
  .debt-hero-actions {
    flex-direction: column;
  }
  .debt-hero-actions button {
    justify-content: center;
  }
  .debt-metrics {
    grid-template-columns: 1fr;
  }
  .debt-row {
    grid-template-columns: 1fr;
  }
  .debt-row > strong {
    white-space: normal;
  }
  .debt-actions {
    flex-direction: column;
  }
  .debt-actions button {
    justify-content: center;
    width: 100%;
  }
}
.collection-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-color: #e8d8c8;
  background:
    linear-gradient(
      135deg,
      #fffaf4,
      #fbfaff);
}
.collection-flow span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.collection-flow b {
  font: 850 12px Manrope;
  color: #303040;
}
.collection-flow small {
  font-size: 9px;
  color: #777889;
}
.collection-flow svg {
  width: 13px;
  color: #c98a45;
}
.collection-advice {
  grid-column: 1/-1;
  background: #fff7ed;
  border: 1px solid #f1dfc8;
  border-radius: 11px;
  padding: 10px 12px;
}
.collection-advice b {
  display: block;
  font-size: 11px;
  color: #6e431a;
}
.collection-advice small {
  display: block;
  font-size: 9px;
  color: #7e6b55;
  line-height: 1.45;
  margin-top: 2px;
}
.debt-row.stage-final,
.debt-row.stage-collection {
  border-color: #edb9aa;
  background: #fff8f5;
}
.debt-actions .collection-button {
  background: #fff2e8;
  border-color: #efcfbd;
  color: #a34e2d;
}
.debt-row.stage-collection .collection-advice {
  background: #f4eefb;
  border-color: #ddd0ec;
}
.debt-row.stage-collection .collection-advice b {
  color: #6b3a86;
}
.debt-row.stage-collection .collection-button {
  background: #f0eaf8;
  border-color: #d9c6eb;
  color: #7449a8;
}
@media (max-width: 760px) {
  .collection-flow {
    grid-template-columns: 1fr;
  }
  .collection-flow svg {
    transform: rotate(90deg);
  }
}
.message-preview {
  grid-column: 1/-1;
  background: #f9fafc;
  border: 1px solid #e9e9ef;
  border-radius: 12px;
  padding: 11px 12px;
}
.message-preview > b {
  display: block;
  font-size: 10px;
  color: #303040;
  margin-bottom: 7px;
}
.message-preview pre {
  white-space: pre-wrap;
  max-height: 175px;
  overflow: auto;
  margin: 0;
  background: white;
  border: 1px solid #eeeeF2;
  border-radius: 9px;
  padding: 10px;
  color: #5f6070;
  font: 10px/1.55 Inter, system-ui;
}
.tone-card {
  background:
    linear-gradient(
      135deg,
      #f4fbf8,
      #f7f5ff);
  border: 1px solid #e2e6f1;
  border-radius: 12px;
  padding: 13px;
  margin: 12px 0;
}
.tone-card b {
  display: block;
  font-size: 11px;
  color: #303040;
}
.tone-card small {
  display: block;
  font-size: 9px;
  color: #777889;
  line-height: 1.45;
  margin-top: 4px;
}
.demo-button {
  height: 40px;
  border: 1px solid #ded8fb;
  background: #f7f4ff;
  color: #6046cf;
  border-radius: 9px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  cursor: pointer;
}
.demo-button svg {
  width: 16px;
}
.demo-button:hover {
  background: #eee9ff;
  border-color: #cfc4f4;
}
@media (max-width: 900px) {
  .header-actions .demo-button {
    display: none;
  }
}
.relation-list-card .pulse-card-head > b {
  background: #f0edff;
  color: #624ac9;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 11px;
}
.relation-tools button {
  height: 39px;
  border: 1px solid #ddddeb;
  border-radius: 9px;
  background: white;
  color: #624ac9;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.relation-tools button svg {
  width: 13px;
}
.relation-detail .pulse-card-head p {
  font-size: 11px;
  color: #858594;
  margin: 4px 0 0;
}
.relation-detail .invoice-actions {
  margin-top: 14px;
}
.contact-form-grid input[type=hidden] {
  display: none;
}
.contact-editor .pulse-card-head {
  margin-bottom: 14px;
}
.contact-editor footer button {
  height: 40px;
  border-radius: 9px;
  border: 1px solid #dedee9;
  padding: 0 14px;
  font-weight: 850;
  cursor: pointer;
}
.contact-editor footer .primary {
  border: 0;
  background: #7457e7;
  color: white;
}
.contact-editor footer .secondary {
  background: white;
  color: #626273;
}
.contact-form-grid textarea[name=ccEmail] {
  min-height: 48px;
}
.contact-form-grid textarea[name=contactNotes] {
  min-height: 120px;
}
.invoice-builder-inline {
  background: #f5f6fa;
  border: 1px solid #dddfea;
  border-radius: 17px;
  margin: 0 0 18px;
  overflow: hidden;
  box-shadow: 0 16px 35px #1d193710;
}
.invoice-builder-inline .builder-layout {
  padding: 16px;
}
.invoice-builder-inline > footer {
  background: white;
  border-top: 1px solid #e3e4ea;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.invoice-builder-inline > footer > span {
  font-size: 10px;
  color: #777889;
}
.invoice-builder-inline > footer > div {
  display: flex;
  gap: 9px;
}
.invoice-builder-inline > footer button {
  height: 40px;
  border-radius: 9px;
  border: 1px solid #dedee9;
  padding: 0 14px;
  font-weight: 850;
  cursor: pointer;
}
.invoice-builder-inline > footer .primary {
  border: 0;
  background: #7457e7;
  color: white;
}
.invoice-builder-inline > footer .secondary {
  background: white;
  color: #626273;
}
.invoice-builder-inline select,
.invoice-builder-inline input,
.invoice-builder-inline textarea {
  font: inherit;
}
.invoice-builder-inline .invoice-preview p {
  margin-top: 12px;
}
.invoice-builder-inline .line-delete {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.customer-memory {
  margin-top: 12px;
  border: 1px solid #dcd6fb;
  background:
    linear-gradient(
      135deg,
      #fbfaff,
      #f4fbf8);
  border-radius: 13px;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.customer-memory div {
  display: flex;
  flex-direction: column;
}
.customer-memory b {
  font: 850 13px Manrope;
  color: #303040;
  margin-top: 2px;
}
.customer-memory small {
  font-size: 10px;
  color: #707182;
  margin-top: 3px;
}
.customer-memory button {
  height: 34px;
  border: 1px solid #cfc7f4;
  background: white;
  color: #6046cf;
  border-radius: 9px;
  padding: 0 11px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.memory-warning {
  margin-top: 10px;
  border: 1px solid #f0d3b7;
  background: #fff8ed;
  color: #6f431a;
  border-radius: 12px;
  padding: 12px;
}
.memory-warning b {
  display: block;
  font: 850 11px Manrope;
  margin-bottom: 5px;
}
.memory-warning small {
  display: block;
  font-size: 10px;
  line-height: 1.45;
  margin-top: 3px;
}
@media (max-width: 680px) {
  .customer-memory {
    align-items: stretch;
    flex-direction: column;
  }
  .customer-memory button {
    width: 100%;
    justify-content: center;
  }
}
.invoice-command {
  border-radius: 18px;
  padding: 25px 28px;
  margin-bottom: 14px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(
      circle at 78% 18%,
      #79edd044 0,
      transparent 32%),
    linear-gradient(
      120deg,
      #171b35 0%,
      #4b35aa 52%,
      #7457e7 100%);
  box-shadow: 0 15px 36px #4f39a52b;
}
.invoice-command h2 {
  font: 900 clamp(22px, 2.8vw, 34px) Manrope;
  margin: 12px 0 6px;
}
.invoice-command p {
  margin: 0;
  color: #ebe8ff;
  font-size: 12px;
  line-height: 1.6;
  max-width: 720px;
}
.invoice-command-total {
  min-width: 230px;
  text-align: right;
  background: #ffffff14;
  border: 1px solid #ffffff24;
  border-radius: 15px;
  padding: 18px;
}
.invoice-command-total span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #dcd6ff;
  font-weight: 900;
}
.invoice-command-total b {
  display: block;
  font: 900 28px Manrope;
  margin: 5px 0;
}
.invoice-command-total small {
  font-size: 9px;
  color: #eeeaff;
}
.invoice-overview {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin-bottom: 12px;
}
.invoice-overview button {
  border: 1px solid #e7e7ef;
  background: white;
  border-radius: 13px;
  padding: 13px 12px;
  text-align: left;
  cursor: pointer;
  transition: .16s;
  box-shadow: 0 2px 5px #1d193708;
}
.invoice-overview button:hover,
.invoice-overview button.active {
  border-color: #bfb3ef;
  background: #fbfaff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px #4f39a514;
}
.invoice-overview button.active {
  background:
    linear-gradient(
      145deg,
      #f6f2ff,
      #fff);
}
.invoice-overview button.overdue {
  border-color: #f0c6bb;
  background: #fff8f5;
}
.invoice-overview b {
  display: block;
  font: 900 20px Manrope;
  color: #2d2b40;
}
.invoice-overview span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #858594;
  font-weight: 900;
}
.invoice-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.invoice-filter-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2f9f6;
  color: #2d7d66;
  border: 1px solid #dcede6;
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 10px;
  font-weight: 800;
}
.invoice-filter-note svg {
  width: 15px;
}
.invoice-tools input {
  width: min(330px, 100%);
  height: 40px;
  border: 1px solid #dedee9;
  border-radius: 11px;
  background: white;
  padding: 0 12px;
  outline: none;
  color: #303042;
}
.invoice-tools input:focus {
  border-color: #7457e7;
  box-shadow: 0 0 0 3px #7457e71c;
}
.invoice-next-step {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #fff8ed;
  border: 1px solid #f1dfc4;
  border-radius: 12px;
  padding: 12px 13px;
  margin: 0 0 12px;
}
.invoice-next-step > span {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: white;
  color: #c07a2f;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.invoice-next-step svg {
  width: 15px;
}
.invoice-next-step b {
  font: 850 12px Manrope;
  color: #4b3927;
}
.invoice-next-step p {
  margin: 2px 0 0;
  color: #7a6651;
  font-size: 10px;
  line-height: 1.45;
}
.selected-row td {
  background: #fbfaff;
}
.selected-row td:first-child {
  box-shadow: inset 3px 0 #7457e7;
}
@media (max-width: 1050px) {
  .invoice-overview {
    grid-template-columns: repeat(3, 1fr);
  }
  .invoice-command {
    align-items: flex-start;
    flex-direction: column;
  }
  .invoice-command-total {
    text-align: left;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .invoice-overview {
    grid-template-columns: repeat(2, 1fr);
  }
  .invoice-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .invoice-tools input {
    width: 100%;
  }
  .invoice-command {
    padding: 23px;
  }
  .invoice-references {
    flex-wrap: wrap;
  }
  .invoice-references span {
    min-width: 120px;
  }
}
@media (max-width: 460px) {
  .invoice-overview {
    grid-template-columns: 1fr;
  }
}
.first-invoice-helper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 13px;
  padding: 17px 18px;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f4f1ff 62%,
      #eefbf7 100%);
  border-color: #ded7fb;
}
.first-invoice-helper h3 {
  font: 900 18px Manrope;
  margin: 4px 0;
  color: #25243a;
}
.first-invoice-helper p {
  margin: 0;
  color: #6d6b7d;
  font-size: 11px;
  line-height: 1.55;
}
.first-invoice-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.first-invoice-steps span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #ebe8f7;
  border-radius: 12px;
  padding: 9px 8px;
  font-size: 9px;
  font-weight: 900;
  color: #454258;
  white-space: nowrap;
}
.first-invoice-steps b {
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: #7457e7;
  color: white;
  display: grid;
  place-items: center;
  font: 950 11px Manrope;
  flex: 0 0 auto;
}
.first-invoice-helper .primary {
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #7457e7;
  color: white;
  padding: 0 14px;
  font-weight: 950;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
@media (max-width: 1050px) {
  .first-invoice-helper {
    grid-template-columns: 1fr;
  }
  .first-invoice-helper .primary {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .first-invoice-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 460px) {
  .first-invoice-steps {
    grid-template-columns: 1fr;
  }
}
.bank-page {
  display: grid;
  gap: 15px;
}
.bank-hero {
  min-height: 265px;
  border-radius: 22px;
  padding: 34px 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 17% 12%,
      #79edd044 0,
      transparent 30%),
    radial-gradient(
      circle at 82% 20%,
      #ffd38a3b 0,
      transparent 28%),
    linear-gradient(
      120deg,
      #11172b 0%,
      #22556d 48%,
      #7457e7 100%);
  box-shadow: 0 22px 55px #26395634;
  position: relative;
  overflow: hidden;
}
.bank-hero:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid #ffffff22;
  right: -140px;
  bottom: -230px;
}
.bank-hero h2 {
  font: 900 clamp(26px, 3vw, 42px) Manrope;
  margin: 14px 0 8px;
  line-height: 1.08;
}
.bank-hero p {
  font-size: 13px;
  line-height: 1.65;
  color: #e8f3ff;
  max-width: 760px;
  margin: 0;
}
.bank-actions {
  display: flex;
  gap: 9px;
  margin-top: 23px;
  flex-wrap: wrap;
}
.bank-actions button {
  height: 42px;
  border: 1px solid #ffffff38;
  background: #ffffff12;
  color: white;
  border-radius: 11px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  cursor: pointer;
}
.bank-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.bank-actions .pulse-primary {
  background: white;
  color: #24526f;
  border-color: white;
}
.bank-actions svg {
  width: 15px;
}
.bank-glass {
  min-width: 220px;
  background: #ffffff15;
  border: 1px solid #ffffff28;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 22px;
  text-align: right;
  position: relative;
  z-index: 1;
}
.bank-glass span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  color: #e0f2ff;
}
.bank-glass b {
  display: block;
  font: 900 43px Manrope;
  margin: 4px 0;
}
.bank-glass small {
  font-size: 10px;
  color: #f1f6ff;
}
.bank-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.bank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .62fr);
  gap: 15px;
  align-items: start;
}
.bank-list,
.bank-side {
  padding: 20px;
}
.bank-list .pulse-card-head > b {
  background: #f0edff;
  color: #624ac9;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 11px;
}
.bank-card {
  border: 1px solid #ececf3;
  background:
    linear-gradient(
      180deg,
      #fff,
      #fbfcff);
  border-radius: 17px;
  padding: 15px;
  margin-top: 12px;
  box-shadow: 0 10px 26px #1d19370a;
}
.bank-card.safe {
  border-color: #cfeadf;
  background:
    linear-gradient(
      180deg,
      #fbfffd,
      #f7fcfa);
}
.bank-card.review {
  border-color: #eadfc8;
  background:
    linear-gradient(
      180deg,
      #fffdf8,
      #fffaf3);
}
.bank-card-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.bank-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f0edff;
  color: #674dd0;
}
.bank-icon svg {
  width: 18px;
}
.bank-card.income .bank-icon {
  background: #e5f7ef;
  color: #208766;
}
.bank-card.expense .bank-icon {
  background: #fff1e3;
  color: #bf712c;
}
.bank-card-top b {
  font: 900 13px Manrope;
  color: #29293a;
}
.bank-card-top small {
  display: block;
  font-size: 10px;
  color: #858594;
  margin-top: 3px;
}
.bank-card-top strong {
  font: 900 15px Manrope;
  color: #29293a;
  white-space: nowrap;
}
.bank-thought {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  background: #f7f5ff;
  border: 1px solid #e4ddff;
  border-radius: 14px;
  padding: 12px;
  margin-top: 13px;
}
.bank-card.safe .bank-thought {
  background: #f0fbf7;
  border-color: #d8efe6;
}
.bank-thought > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: white;
  color: #7457e7;
  display: grid;
  place-items: center;
}
.bank-thought svg {
  width: 15px;
}
.bank-thought b {
  font: 900 12px Manrope;
  color: #303040;
}
.bank-thought p {
  font-size: 10px;
  line-height: 1.45;
  color: #696a7b;
  margin: 3px 0 0;
}
.bank-thought em {
  font-style: normal;
  background: white;
  border: 1px solid #e6e2f6;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 900;
  color: #5d49bd;
  white-space: nowrap;
}
.confidence-bar {
  height: 7px;
  background: #eeeeF3;
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0;
}
.confidence-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #f0b35f,
      #79edd0,
      #7457e7);
}
.bank-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bank-details span {
  background: #fafafd;
  border: 1px solid #eeeeF3;
  border-radius: 12px;
  padding: 11px;
}
.bank-details b {
  display: block;
  font-size: 10px;
  color: #303040;
}
.bank-details small {
  display: block;
  font-size: 9px;
  line-height: 1.45;
  color: #777889;
  margin-top: 3px;
}
.bank-card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px solid #eeeeF3;
  margin-top: 13px;
  padding-top: 13px;
}
.bank-card-actions button {
  height: 37px;
  border: 1px solid #dedee9;
  background: white;
  color: #626273;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.bank-card-actions .primary {
  background: #7457e7;
  color: white;
  border-color: #7457e7;
}
.bank-card-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.bank-side h3 {
  font: 900 19px Manrope;
  margin: 5px 0 12px;
}
.inbox-item.premium {
  background:
    linear-gradient(
      135deg,
      #fff,
      #fbfaff);
  border-color: #ded8fb;
  box-shadow: 0 10px 22px #4f39a512;
}
.inbox-item em {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  background: #f0edff;
  color: #6046cf;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 900;
}
.inbox-route {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 11px;
  align-items: center;
  border: 1px solid #eeeef3;
  background: white;
  border-radius: 14px;
  padding: 13px;
  margin-top: 9px;
  text-align: left;
  cursor: pointer;
  transition: .16s;
}
.inbox-route:hover {
  transform: translateY(-1px);
  border-color: #bfb3ef;
  background: #fbfaff;
  box-shadow: 0 9px 22px #4f39a512;
}
.inbox-route > svg:first-child {
  width: 38px;
  height: 38px;
  background: #f0edff;
  color: #654bd0;
  border-radius: 12px;
  padding: 10px;
}
.inbox-route span {
  display: flex;
  flex-direction: column;
}
.inbox-route b {
  font: 900 12px Manrope;
  color: #303040;
}
.inbox-route small {
  font-size: 9px;
  color: #858594;
  margin-top: 3px;
}
.inbox-route > svg:last-child {
  width: 15px;
  color: #aaa8b4;
}
@media (max-width: 1050px) {
  .bank-layout {
    grid-template-columns: 1fr;
  }
  .bank-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .bank-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .bank-glass {
    text-align: left;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .bank-hero {
    padding: 25px;
  }
  .bank-actions {
    flex-direction: column;
  }
  .bank-actions button {
    justify-content: center;
  }
  .bank-metrics,
  .bank-details {
    grid-template-columns: 1fr;
  }
  .bank-card-top,
  .bank-thought {
    grid-template-columns: 1fr;
  }
  .bank-card-actions {
    flex-direction: column;
  }
  .bank-card-actions button {
    width: 100%;
    justify-content: center;
  }
  .bank-card-top strong {
    white-space: normal;
  }
}
.reports-page {
  display: grid;
  gap: 15px;
}
.reports-hero {
  min-height: 280px;
  border-radius: 23px;
  padding: 35px 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 18% 14%,
      #7ff0cf42 0,
      transparent 31%),
    radial-gradient(
      circle at 82% 18%,
      #ffc46d3b 0,
      transparent 31%),
    linear-gradient(
      120deg,
      #11172b 0%,
      #402e83 51%,
      #7457e7 100%);
  box-shadow: 0 22px 55px #43328f2e;
  overflow: hidden;
  position: relative;
}
.reports-hero:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  right: -160px;
  bottom: -250px;
}
.reports-hero > div {
  position: relative;
  z-index: 1;
}
.reports-hero h2 {
  font: 900 clamp(26px, 3vw, 42px) Manrope;
  margin: 14px 0 8px;
  line-height: 1.08;
  max-width: 780px;
}
.reports-hero p {
  font-size: 13px;
  line-height: 1.65;
  color: #eeeaff;
  max-width: 760px;
  margin: 0;
}
.reports-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
  flex-wrap: wrap;
}
.reports-actions a,
.reports-actions label {
  height: 42px;
  border: 1px solid #ffffff35;
  background: #ffffff12;
  color: white;
  border-radius: 11px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 12px;
  text-decoration: none;
}
.reports-actions .primary {
  background: white;
  color: #5137bd;
  border-color: white;
}
.reports-actions svg {
  width: 15px;
}
.reports-actions select {
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #2d2b40;
  font: inherit;
  font-weight: 900;
  padding: 0 8px;
}
.report-score {
  min-width: 230px;
  background: #ffffff14;
  border: 1px solid #ffffff28;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.report-score .score-ring {
  margin: 0 auto 12px;
}
.report-score p {
  font-size: 10px;
  line-height: 1.45;
  color: #f4f0ff;
  margin: 0;
}
.report-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.reports-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  gap: 15px;
  align-items: start;
}
.reports-layout.secondary {
  grid-template-columns: minmax(340px, .8fr) minmax(0, 1.2fr);
}
.report-card {
  padding: 20px;
}
.month-chart {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.month-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 110px;
  gap: 12px;
  align-items: center;
}
.month-row > span {
  font-size: 10px;
  text-transform: capitalize;
  color: #777889;
  font-weight: 900;
}
.month-row > div {
  height: 24px;
  border-radius: 999px;
  background: #f1f2f7;
  position: relative;
  overflow: hidden;
}
.month-row i {
  position: absolute;
  left: 0;
  height: 50%;
  border-radius: 999px;
}
.month-row .revenue {
  top: 0;
  background:
    linear-gradient(
      90deg,
      #79edd0,
      #7457e7);
}
.month-row .costs {
  bottom: 0;
  background:
    linear-gradient(
      90deg,
      #ffd38a,
      #e88e63);
}
.month-row strong {
  text-align: right;
  font: 900 12px Manrope;
  color: #303040;
}
.chart-legend {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  font-size: 10px;
  color: #777889;
  font-weight: 900;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-legend i {
  width: 18px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}
.chart-legend .revenue {
  background:
    linear-gradient(
      90deg,
      #79edd0,
      #7457e7);
}
.chart-legend .costs {
  background:
    linear-gradient(
      90deg,
      #ffd38a,
      #e88e63);
}
.report-check {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  gap: 11px;
  align-items: center;
  text-align: left;
  border: 1px solid #eeeef3;
  background: white;
  border-radius: 14px;
  padding: 12px;
  margin-top: 9px;
  cursor: pointer;
}
.report-check:hover {
  border-color: #bfb3ef;
  background: #fbfaff;
  box-shadow: 0 9px 22px #4f39a512;
}
.report-check > span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: #eef7f2;
  color: #218763;
}
.report-check.warning > span {
  background: #fff2d8;
  color: #a06a18;
}
.report-check.action > span {
  background: #ffe8df;
  color: #bb5532;
}
.report-check.info > span {
  background: #eef2ff;
  color: #5366d7;
}
.report-check svg {
  width: 14px;
}
.report-check b {
  font: 900 12px Manrope;
  color: #303040;
}
.report-check small {
  display: block;
  color: #777889;
  font-size: 9px;
  line-height: 1.45;
  margin-top: 3px;
}
.vat-breakdown {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.vat-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafd;
  border: 1px solid #eeeef3;
  border-radius: 12px;
  padding: 12px;
}
.vat-breakdown span {
  font-size: 10px;
  color: #777889;
  font-weight: 800;
}
.vat-breakdown b {
  font: 900 13px Manrope;
  color: #303040;
}
@media (max-width: 1050px) {
  .reports-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .report-score {
    text-align: left;
    width: 100%;
  }
  .report-score .score-ring {
    margin-left: 0;
  }
  .report-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .reports-layout,
  .reports-layout.secondary {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .reports-hero {
    padding: 25px;
  }
  .reports-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .reports-actions a,
  .reports-actions label {
    justify-content: center;
  }
  .report-metrics {
    grid-template-columns: 1fr;
  }
  .month-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }
  .month-row strong {
    grid-column: 2;
    text-align: left;
  }
  .report-check {
    grid-template-columns: 1fr;
  }
  .report-check > svg {
    display: none;
  }
}
.recurring-panel {
  padding: 20px;
  margin: 0 0 16px;
  border-color: #ded8fb;
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #fbfaff 52%,
      #f4fbf8);
}
.recurring-panel .pulse-card-head {
  align-items: flex-start;
}
.recurring-panel .pulse-card-head p {
  font-size: 11px;
  color: #777889;
  margin: 4px 0 0;
  max-width: 620px;
  line-height: 1.45;
}
.recurring-panel .assistant-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.recurring-panel .assistant-buttons button {
  height: 38px;
  border: 1px solid #dedee9;
  background: white;
  color: #6046cf;
  border-radius: 10px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.recurring-panel .assistant-buttons .primary {
  background: #7457e7;
  color: white;
  border-color: #7457e7;
}
.recurring-panel svg {
  width: 14px;
}
.recurring-form {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr .8fr .8fr .8fr auto;
  gap: 10px;
  align-items: end;
  background: white;
  border: 1px solid #eeeef3;
  border-radius: 14px;
  padding: 13px;
  margin: 14px 0;
}
.recurring-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 900;
  color: #777889;
}
.recurring-form input,
.recurring-form select {
  height: 38px;
  border: 1px solid #dedee9;
  border-radius: 9px;
  background: #fff;
  padding: 0 10px;
  text-transform: none;
  letter-spacing: 0;
  font: inherit;
  color: #303040;
}
.recurring-form button {
  height: 38px;
  border: 0;
  background: #7457e7;
  color: white;
  border-radius: 9px;
  padding: 0 13px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.recurring-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.recurring-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  background: white;
  border: 1px solid #eeeef3;
  border-radius: 14px;
  padding: 12px;
}
.recurring-row.muted {
  opacity: .6;
  background: #fafafd;
}
.recurring-row span {
  display: flex;
  flex-direction: column;
}
.recurring-row b {
  font: 900 12px Manrope;
  color: #303040;
}
.recurring-row small {
  font-size: 9px;
  color: #777889;
  margin-top: 3px;
  line-height: 1.4;
}
.recurring-row strong {
  font: 900 13px Manrope;
  color: #303040;
  white-space: nowrap;
}
.recurring-row em {
  font-style: normal;
  background: #f0edff;
  color: #6046cf;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.recurring-row button {
  height: 32px;
  border: 1px solid #dedee9;
  background: white;
  color: #626273;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.recurring-panel .explain {
  margin: 12px 0 0;
}
@media (max-width: 1100px) {
  .recurring-form {
    grid-template-columns: 1fr 1fr;
  }
  .recurring-form button {
    grid-column: 1/-1;
  }
  .recurring-row {
    grid-template-columns: 1fr auto;
  }
}
@media (max-width: 640px) {
  .recurring-panel .pulse-card-head {
    flex-direction: column;
  }
  .recurring-panel .assistant-buttons button {
    width: 100%;
    justify-content: center;
  }
  .recurring-form,
  .recurring-row {
    grid-template-columns: 1fr;
  }
  .recurring-row strong,
  .recurring-row em {
    justify-self: start;
  }
}
.proof-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  padding: 14px;
  border: 1px solid #dcd6fb;
  background:
    linear-gradient(
      135deg,
      #fbfaff,
      #f4fbf8);
  border-radius: 14px;
}
.proof-box > div {
  display: flex;
  flex-direction: column;
}
.proof-box b {
  font: 900 13px Manrope;
  color: #303040;
  margin-top: 3px;
}
.proof-box small {
  font-size: 10px;
  color: #707182;
  line-height: 1.45;
  margin-top: 4px;
  max-width: 620px;
}
.proof-upload {
  height: 38px;
  border: 1px solid #cfc7f4;
  background: white;
  color: #6046cf;
  border-radius: 10px;
  padding: 0 12px;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 7px;
  font-size: 10px !important;
  font-weight: 900 !important;
  cursor: pointer;
  white-space: nowrap;
}
.proof-upload svg {
  width: 14px;
}
.proof-upload input {
  display: none;
}
.proof-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 10px;
}
.proof-note label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #696a7b;
}
.proof-note textarea {
  min-height: 64px;
  border: 1px solid #dedee9;
  border-radius: 10px;
  background: white;
  padding: 10px;
  font: inherit;
  color: #303040;
}
.proof-note button {
  height: 38px;
  border: 1px solid #efd2c8;
  background: #fff8f5;
  color: #a45434;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
@media (max-width: 760px) {
  .proof-box {
    align-items: stretch;
    flex-direction: column;
  }
  .proof-upload {
    width: 100%;
  }
  .proof-note {
    grid-template-columns: 1fr;
  }
  .proof-note button {
    width: 100%;
  }
}
.attachment-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.attachment-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 150px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  background: white;
  border: 1px solid #eeeef3;
  border-radius: 12px;
  padding: 10px;
}
.attachment-row span {
  display: flex;
  flex-direction: column;
}
.attachment-row b {
  font: 900 11px Manrope;
  color: #303040;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-row small {
  font-size: 9px;
  color: #777889;
  margin-top: 3px;
}
.attachment-row select,
.attachment-row input {
  height: 35px;
  border: 1px solid #dedee9;
  border-radius: 9px;
  background: white;
  padding: 0 9px;
  font: inherit;
  font-size: 10px;
  color: #303040;
}
.attachment-row button {
  height: 35px;
  border: 1px solid #efd2c8;
  background: #fff8f5;
  color: #a45434;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
@media (max-width: 820px) {
  .attachment-row {
    grid-template-columns: 1fr;
  }
  .attachment-row button {
    width: 100%;
  }
}
.package-requirements {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #eee1c9;
  background: #fffaf2;
  border-radius: 12px;
}
.package-requirements b {
  font: 900 10px Manrope;
  color: #6a4b22;
  margin-right: 4px;
}
.package-requirements span {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 900;
}
.package-requirements span.ok {
  background: #e5f7ef;
  color: #208766;
}
.package-requirements span.missing {
  background: #fff0df;
  color: #b96d27;
}
.period-shortcuts {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #f7f5ff;
  border: 1px solid #e5dfff;
  border-radius: 12px;
  padding: 10px 12px;
}
.period-shortcuts span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7355e5;
  font-weight: 900;
}
.period-shortcuts button {
  height: 30px;
  border: 1px solid #d8d0f8;
  background: white;
  color: #6046cf;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.period-shortcuts small {
  font-size: 9px;
  color: #777889;
  line-height: 1.4;
}
.builder-grid label small {
  font-size: 9px;
  color: #8b8b9b;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}
.send-preview {
  border-radius: 16px;
  padding: 15px;
  margin: 12px 0;
  border: 1px solid #efe1c8;
  background:
    linear-gradient(
      135deg,
      #fffaf2,
      #fff);
  box-shadow: 0 16px 34px rgba(65, 50, 20, .06);
}
.send-preview.ready {
  border-color: #ccecdf;
  background:
    linear-gradient(
      135deg,
      #f1fbf7,
      #fff);
}
.send-preview .pulse-card-head {
  margin-bottom: 10px;
}
.send-preview .pulse-card-head svg {
  width: 23px;
  color: #7056e8;
}
.send-preview-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.send-preview-meta span {
  border: 1px solid #ececf3;
  border-radius: 12px;
  background: white;
  padding: 9px 10px;
  min-width: 0;
}
.send-preview-meta small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #8a8998;
  font-weight: 900;
}
.send-preview-meta b {
  display: block;
  font-size: 11px;
  color: #2f2d40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.send-subject {
  display: block;
  margin: 8px 0 7px;
  font-size: 12px;
  color: #2f2d40;
}
.send-preview pre {
  white-space: pre-wrap;
  margin: 0 0 10px;
  border-radius: 13px;
  border: 1px solid #ececf3;
  background: #ffffff;
  padding: 12px;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.55;
  color: #4a4a59;
  max-height: 220px;
  overflow: auto;
}
@media (max-width: 820px) {
  .send-preview-meta {
    grid-template-columns: 1fr;
  }
}
.quarter-page,
.vat-page {
  display: grid;
  gap: 16px;
}
.quarter-hero,
.vat-hero {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 18px;
  align-items: center;
  border-radius: 26px;
  padding: 26px;
  background:
    radial-gradient(
      circle at top right,
      #f4efff,
      transparent 44%),
    linear-gradient(
      135deg,
      #ffffff,
      #f7f4ff);
  border: 1px solid #ebe5ff;
  box-shadow: 0 22px 55px rgba(44, 34, 82, .08);
}
.vat-hero.pay {
  background:
    radial-gradient(
      circle at top right,
      #fff0dc,
      transparent 42%),
    linear-gradient(
      135deg,
      #ffffff,
      #fffaf2);
  border-color: #f1dfc2;
}
.vat-hero.refund {
  background:
    radial-gradient(
      circle at top right,
      #dcfff0,
      transparent 42%),
    linear-gradient(
      135deg,
      #ffffff,
      #f1fbf7);
  border-color: #ccecdf;
}
.quarter-hero h2,
.vat-hero h2 {
  font-size: 30px;
  line-height: 1.08;
  margin: 10px 0;
  color: #242235;
  letter-spacing: -.04em;
}
.quarter-hero p,
.vat-hero p {
  max-width: 760px;
  color: #696879;
  font-size: 14px;
  line-height: 1.55;
}
.quarter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.quarter-actions button,
.quarter-actions a {
  height: 42px;
  border-radius: 12px;
  border: 1px solid #deddeb;
  background: white;
  color: #625f72;
  padding: 0 14px;
  font-weight: 900;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.quarter-actions .pulse-primary {
  border: 0;
  background: #7457e7;
  color: white;
  box-shadow: 0 14px 30px rgba(116, 87, 231, .22);
}
.quarter-actions svg {
  width: 15px;
}
.quarter-metrics,
.vat-simple {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.vat-simple article {
  padding: 17px;
  border-radius: 18px;
}
.vat-simple span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #858394;
  font-weight: 900;
}
.vat-simple b {
  display: block;
  font-size: 24px;
  color: #242235;
  margin: 8px 0 4px;
  letter-spacing: -.04em;
}
.vat-simple small {
  font-size: 11px;
  color: #777889;
}
.vat-simple .accent {
  background:
    linear-gradient(
      135deg,
      #7457e7,
      #9f8cf4);
  color: white;
}
.vat-simple .accent span,
.vat-simple .accent b,
.vat-simple .accent small {
  color: white;
}
.quarter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: 16px;
}
.quarter-checks,
.quarter-side,
.vat-lines {
  padding: 18px;
}
.quarter-side p {
  font-size: 13px;
  line-height: 1.55;
  color: #696879;
}
.quarter-side .assistant-buttons {
  margin-top: 14px;
}
.vat-lines .table-wrap {
  margin-top: 8px;
}
@media (max-width: 1000px) {
  .quarter-hero,
  .vat-hero {
    grid-template-columns: 1fr;
  }
  .quarter-metrics,
  .vat-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quarter-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .quarter-metrics,
  .vat-simple {
    grid-template-columns: 1fr;
  }
  .quarter-hero h2,
  .vat-hero h2 {
    font-size: 24px;
  }
}
.bank-import {
  padding: 18px;
  border-color: #ded8ff;
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #faf8ff);
}
.bank-import .pulse-card-head svg {
  width: 24px;
  color: #7457e7;
}
.bank-import-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  margin: 12px 0;
}
.upload-zone.compact {
  min-height: 160px;
  border-radius: 18px;
}
.bank-import label textarea {
  min-height: 160px;
  width: 100%;
  resize: vertical;
  border: 1px solid #ddddeb;
  border-radius: 14px;
  padding: 12px;
  font: inherit;
  font-size: 12px;
  color: #343447;
  background: white;
}
.import-preview {
  display: grid;
  gap: 7px;
  border: 1px solid #ececf3;
  background: white;
  border-radius: 15px;
  padding: 12px;
  margin: 10px 0;
}
.import-preview > b {
  font-size: 12px;
  color: #2f2d40;
}
.import-preview span {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #f0f0f5;
  padding-top: 7px;
  font-size: 11px;
}
.import-preview small {
  color: #858394;
  font-weight: 800;
}
.import-preview strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.import-preview em {
  font-style: normal;
  font-weight: 900;
  color: #242235;
}
@media (max-width: 820px) {
  .bank-import-grid {
    grid-template-columns: 1fr;
  }
  .import-preview span {
    grid-template-columns: 1fr;
  }
  .import-preview em {
    justify-self: start;
  }
}
.manual-bank-box {
  margin-top: 12px;
  border: 1px solid #e8e5f5;
  background: #fbfaff;
  border-radius: 15px;
  padding: 12px;
  display: grid;
  gap: 10px;
}
.manual-bank-box > b {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7056e8;
}
.manual-bank-box > div {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 8px;
}
.manual-bank-box select,
.manual-bank-box input {
  height: 38px;
  border: 1px solid #ddddeb;
  border-radius: 10px;
  background: white;
  color: #343447;
  font-size: 11px;
  font-weight: 800;
  padding: 0 10px;
  min-width: 0;
}
.manual-bank-box button {
  justify-self: start;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #242235;
  color: white;
  font-weight: 900;
  padding: 0 13px;
  cursor: pointer;
}
.manual-bank-box button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .manual-bank-box > div {
    grid-template-columns: 1fr;
  }
  .manual-bank-box button {
    width: 100%;
  }
}
.manual-bank-box .quick-bank-picks {
  display: flex;
  grid-template-columns: none;
  gap: 8px;
  flex-wrap: wrap;
}
.quick-bank-picks button {
  height: 36px;
  border: 1px solid #deddeb;
  background: white;
  color: #5f6070;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 950;
  box-shadow: 0 5px 14px rgba(34, 31, 60, .05);
}
.quick-bank-picks button.active {
  background: #7457e7;
  color: white;
  border-color: #7457e7;
  box-shadow: 0 10px 22px rgba(116, 87, 231, .18);
}
.quick-bank-picks button:hover {
  transform: translateY(-1px);
}
.landing-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 18% 12%,
      #7bf0d044 0,
      transparent 25%),
    radial-gradient(
      circle at 78% 8%,
      #a993ff55 0,
      transparent 30%),
    linear-gradient(
      135deg,
      #101529,
      #211b42 52%,
      #f7f5ff 52%);
  color: #242235;
}
.landing-nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 78px);
  position: relative;
  z-index: 2;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}
.landing-brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: white;
  padding: 7px;
}
.landing-brand b {
  font: 900 20px Manrope;
}
.landing-nav > div:last-child {
  display: flex;
  align-items: center;
  gap: 16px;
}
.landing-nav a {
  color: #edeaff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}
.landing-nav button,
.landing-actions button {
  height: 42px;
  border-radius: 12px;
  border: 1px solid #ffffff35;
  background: #ffffff18;
  color: white;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: center;
  padding: 64px clamp(22px, 5vw, 78px) 70px;
}
.landing-hero h1 {
  max-width: 760px;
  color: white;
  font: 950 clamp(42px, 7vw, 82px)/.94 Manrope;
  letter-spacing: -.075em;
  margin: 18px 0 18px;
}
.landing-hero p {
  max-width: 680px;
  color: #e3defc;
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}
.landing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 12px;
}
.landing-actions .primary {
  background: white;
  color: #5039bf;
  border-color: white;
}
.landing-hero small {
  color: #cfc8f4;
  font-size: 12px;
  font-weight: 750;
}
.landing-card {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  border: 1px solid #ffffff90;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 28px 80px rgba(17, 15, 45, .22);
  display: grid;
  gap: 13px;
}
.landing-card b {
  font: 950 25px Manrope;
  color: #242235;
  margin-bottom: 6px;
}
.landing-card span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f5ff;
  border: 1px solid #e6e0ff;
  border-radius: 14px;
  padding: 12px;
  font-size: 13px;
  font-weight: 900;
  color: #44366f;
}
.landing-card svg {
  width: 17px;
  color: #268567;
}
.landing-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 clamp(22px, 5vw, 78px) 28px;
}
.landing-proof article,
.landing-pricing {
  background: white;
  border: 1px solid #ebeaf2;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 42px rgba(32, 26, 70, .08);
}
.landing-proof svg {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: #f0edff;
  color: #674bd5;
  padding: 8px;
}
.landing-proof b {
  display: block;
  font: 900 17px Manrope;
  margin: 14px 0 7px;
}
.landing-proof p,
.landing-pricing p {
  font-size: 13px;
  line-height: 1.55;
  color: #696879;
  margin: 0;
}
.landing-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 22px;
  margin: 0 clamp(22px, 5vw, 78px) 28px;
  align-items: center;
}
.landing-pricing h2 {
  font: 950 34px Manrope;
  letter-spacing: -.04em;
  margin: 6px 0 8px;
}
.landing-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.landing-price-grid article {
  border: 1px solid #ecebf4;
  border-radius: 18px;
  padding: 18px;
  background: #fbfbfe;
  display: grid;
  gap: 7px;
}
.landing-price-grid .popular {
  background:
    linear-gradient(
      135deg,
      #7457e7,
      #9d8af3);
  color: white;
  border: 0;
}
.landing-price-grid b {
  font: 900 15px Manrope;
}
.landing-price-grid strong {
  font: 950 29px Manrope;
  letter-spacing: -.04em;
}
.landing-price-grid small {
  font-size: 11px;
  line-height: 1.45;
  color: #777889;
}
.landing-price-grid .popular small {
  color: #eeeaff;
}
.landing-price-grid em {
  font-style: normal;
  background: #ffffff22;
  border: 1px solid #ffffff44;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 950;
  justify-self: start;
}
.landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px clamp(22px, 5vw, 78px) 32px;
  color: #777889;
  font-size: 12px;
}
@media (max-width: 960px) {
  .landing-page {
    background:
      linear-gradient(
        135deg,
        #101529,
        #211b42);
  }
  .landing-hero,
  .landing-pricing {
    grid-template-columns: 1fr;
  }
  .landing-proof,
  .landing-price-grid {
    grid-template-columns: 1fr;
  }
  .landing-nav a {
    display: none;
  }
  .landing-footer {
    flex-direction: column;
  }
  .landing-hero h1 {
    font-size: 44px;
  }
}
.start-page {
  display: grid;
  gap: 15px;
}
.start-hero {
  min-height: 285px;
  border-radius: 24px;
  padding: 36px 42px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(
      circle at 15% 14%,
      #79edd044 0,
      transparent 30%),
    radial-gradient(
      circle at 86% 17%,
      #ffd38a33 0,
      transparent 29%),
    linear-gradient(
      120deg,
      #12182f 0%,
      #3d2b87 52%,
      #7457e7 100%);
  box-shadow: 0 22px 55px #43328f2f;
  overflow: hidden;
  position: relative;
}
.start-hero:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  right: -160px;
  bottom: -250px;
}
.start-hero > div {
  position: relative;
  z-index: 1;
}
.start-hero h2 {
  font: 900 clamp(28px, 3.3vw, 46px) Manrope;
  margin: 14px 0 8px;
  line-height: 1.06;
  max-width: 820px;
}
.start-hero p {
  font-size: 13px;
  line-height: 1.65;
  color: #eeeaff;
  max-width: 720px;
  margin: 0;
}
.start-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 23px;
  flex-wrap: wrap;
}
.start-actions button {
  height: 43px;
  border: 1px solid #ffffff35;
  background: #ffffff12;
  color: white;
  border-radius: 12px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  cursor: pointer;
}
.start-actions .pulse-primary {
  background: white;
  color: #5137bd;
  border-color: white;
}
.start-actions svg {
  width: 15px;
}
.start-score {
  min-width: 220px;
  text-align: center;
  background: #ffffff15;
  border: 1px solid #ffffff28;
  border-radius: 22px;
  padding: 23px;
  backdrop-filter: blur(10px);
}
.start-score b {
  display: block;
  font: 900 48px Manrope;
}
.start-score span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #e7e1ff;
  font-weight: 900;
}
.start-score small {
  display: block;
  font-size: 10px;
  color: #f4f0ff;
  margin-top: 8px;
}
.start-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.start-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #eeeef3;
  border-radius: 15px;
  padding: 13px;
  box-shadow: 0 4px 12px #1d193708;
}
.start-step > span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f0edff;
  color: #654bd0;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}
.start-step.done > span {
  background: #e6f7ef;
  color: #208766;
}
.start-step svg {
  width: 15px;
}
.start-step b {
  font: 900 12px Manrope;
  color: #303040;
}
.start-step small {
  display: block;
  font-size: 9px;
  color: #777889;
  line-height: 1.35;
  margin-top: 2px;
}
.start-form {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background:
    linear-gradient(
      135deg,
      #fff,
      #fbfaff 55%,
      #f6fbff);
}
.start-form section {
  background: #fff;
  border: 1px solid #eeeeF3;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.start-form h3 {
  font: 900 15px Manrope;
  margin: 0 0 3px;
  color: #303040;
}
.start-form label {
  display: grid;
  gap: 6px;
  font-size: 9px;
  font-weight: 900;
  color: #777889;
}
.start-form input,
.start-form select {
  height: 39px;
  border: 1px solid #dedee9;
  border-radius: 10px;
  background: white;
  padding: 0 11px;
  font: inherit;
  font-size: 11px;
  color: #303040;
}
.start-form label small {
  font-size: 9px;
  line-height: 1.35;
  color: #858594;
  font-weight: 600;
}
.lookup-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}
.lookup-field button {
  height: 39px;
  border: 1px solid #d8d0f8;
  background: #f7f5ff;
  color: #6046cf;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.start-smart {
  border: 1px solid #d8eee5;
  background: #f1fbf7;
  color: #346b5b;
  border-radius: 13px;
  padding: 12px;
}
.start-smart b {
  font: 900 12px Manrope;
  display: block;
  color: #245d4d;
}
.start-smart small {
  display: block;
  font-size: 10px;
  line-height: 1.45;
  margin-top: 3px;
}
.start-form footer {
  grid-column: 1/-1;
  border-top: 1px solid #eeeef3;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.start-form footer span {
  font-size: 10px;
  color: #777889;
}
.start-form footer div {
  display: flex;
  gap: 8px;
}
@media (max-width: 1180px) {
  .start-form {
    grid-template-columns: 1fr 1fr;
  }
  .start-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .start-hero {
    padding: 26px;
    align-items: flex-start;
    flex-direction: column;
  }
  .start-score {
    text-align: left;
    width: 100%;
  }
  .start-form,
  .start-steps {
    grid-template-columns: 1fr;
  }
  .start-form footer {
    align-items: stretch;
    flex-direction: column;
  }
  .start-form footer div {
    flex-direction: column;
  }
  .lookup-field {
    grid-template-columns: 1fr;
  }
  .lookup-field button {
    width: 100%;
  }
}
.welcome-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(
      135deg,
      #fff,
      #f7f5ff);
  border-color: #e5dfff;
}
.welcome-path div {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #eeeef3;
  background: white;
  border-radius: 14px;
  padding: 12px;
}
.welcome-path span {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: #7457e7;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 950;
  flex: 0 0 auto;
}
.welcome-path b {
  display: block;
  font: 900 11px Manrope;
  color: #303040;
}
.welcome-path small {
  display: block;
  font-size: 9px;
  color: #777889;
  line-height: 1.35;
}
.signup-admin {
  margin-top: 18px;
  padding: 18px;
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f7fbff);
  border-color: #dceafe;
}
.signup-admin > .pulse-card-head > b {
  font: 950 28px Manrope;
  color: #6148d2;
}
.lead-list {
  display: grid;
  gap: 8px;
}
.lead-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #eeeef3;
  background: white;
  border-radius: 14px;
  padding: 12px;
}
.lead-row span {
  min-width: 0;
}
.lead-row b {
  display: block;
  font: 900 12px Manrope;
  color: #303040;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lead-row small {
  display: block;
  font-size: 10px;
  color: #777889;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}
.lead-row em {
  font-style: normal;
  background: #f0edff;
  color: #6046cf;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 950;
}
.lead-row strong {
  background: #e5f7ef;
  color: #208766;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
}
@media (max-width: 900px) {
  .welcome-path {
    grid-template-columns: 1fr 1fr;
  }
  .lead-row {
    grid-template-columns: 1fr;
  }
  .lead-row em,
  .lead-row strong {
    justify-self: start;
  }
}
@media (max-width: 560px) {
  .welcome-path {
    grid-template-columns: 1fr;
  }
}
.live-launch {
  margin-top: 18px;
  padding: 20px;
  background:
    radial-gradient(
      circle at top right,
      #f0edff,
      transparent 34%),
    linear-gradient(
      135deg,
      #ffffff,
      #fbfbff);
  border-color: #e4defb;
}
.live-score {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #7457e7;
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 14px 30px rgba(116, 87, 231, .22);
}
.live-score b {
  font: 950 24px Manrope;
  line-height: .9;
}
.live-score small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}
.live-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0;
}
.live-checks > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #eeeef3;
  border-radius: 14px;
  background: white;
  padding: 12px;
}
.live-checks > div > span {
  width: 31px;
  height: 31px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.live-checks .done > span {
  background: #e5f7ef;
  color: #208766;
}
.live-checks .todo > span {
  background: #fff2e5;
  color: #bb6a23;
}
.live-checks svg {
  width: 15px;
}
.live-checks b {
  display: block;
  font: 900 11px Manrope;
  color: #303040;
}
.live-checks small {
  display: block;
  font-size: 9px;
  color: #777889;
  line-height: 1.4;
  margin-top: 3px;
}
.integration-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 13px;
}
.integration-forms form {
  border: 1px solid #eeeef3;
  border-radius: 16px;
  background: white;
  padding: 15px;
  display: grid;
  gap: 10px;
}
.integration-forms h4 {
  font: 950 14px Manrope;
  margin: 0;
  color: #303040;
}
.integration-forms p {
  font-size: 10px;
  line-height: 1.45;
  color: #777889;
  margin: 0;
}
.integration-forms label {
  display: grid;
  gap: 6px;
  font-size: 9px;
  font-weight: 900;
  color: #777889;
}
.integration-forms input:not([type=checkbox]) {
  height: 38px;
  border: 1px solid #dedee9;
  border-radius: 10px;
  background: white;
  padding: 0 10px;
  font: inherit;
  color: #303040;
}
.check-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.check-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #eeeef3;
  border-radius: 999px;
  background: #fafafd;
  padding: 8px 10px;
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0;
}
.integration-forms button {
  justify-self: start;
}
@media (max-width: 900px) {
  .live-checks,
  .integration-forms {
    grid-template-columns: 1fr;
  }
  .live-score {
    width: 100%;
    height: auto;
    padding: 14px;
  }
}
@media (max-width: 800px) {
  .landing-actions button,
  .landing-nav button {
    height: 48px;
  }
  .landing-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .start-actions button,
  .debt-hero-actions button,
  .inbox-actions button,
  .inbox-actions label {
    min-height: 48px;
  }
  .header-actions .icon-button {
    display: none;
  }
  .simple-mode svg {
    width: 13px;
  }
  .sidebar nav button,
  .sidebar-bottom > button {
    min-height: 46px;
  }
  .advanced-toggle {
    min-height: 44px;
  }
  .settings-grid input,
  .settings-grid select,
  .settings-grid button {
    min-height: 46px;
  }
}
@media (max-width: 430px) {
  .landing-actions {
    grid-template-columns: 1fr;
  }
  .landing-hero h1 {
    font-size: 38px;
  }
  .auth-card {
    padding: 18px;
  }
  .auth-card h1 {
    font-size: 31px;
  }
  .header-actions .primary {
    font-size: 12px;
    padding: 0 10px;
  }
  .start-hero h2 {
    font-size: 26px;
  }
}
.legal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 clamp(22px, 5vw, 78px) 28px;
}
.legal-strip article {
  background: rgba(255, 255, 255, .92);
  border: 1px solid #ebeaf2;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 16px 42px rgba(32, 26, 70, .08);
}
.legal-strip span {
  display: inline-flex;
  border-radius: 999px;
  background: #f0edff;
  color: #674bd5;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.legal-strip h3 {
  font: 950 21px Manrope;
  letter-spacing: -.04em;
  margin: 12px 0 8px;
  color: #242235;
}
.legal-strip p {
  font-size: 13px;
  line-height: 1.6;
  color: #696879;
  margin: 0;
}
.landing-brand.dark {
  color: #242235;
  margin-bottom: 18px;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(280px, 1fr);
  gap: 34px;
  align-items: center;
  padding: clamp(22px, 5vw, 78px);
  background:
    radial-gradient(
      circle at 80% 18%,
      #7bf0d044 0,
      transparent 28%),
    linear-gradient(
      135deg,
      #f7f5ff,
      #ffffff 45%,
      #15162d 45%);
}
.auth-card {
  background: white;
  border: 1px solid #ebeaf2;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 30px 90px rgba(32, 26, 70, .16);
}
.auth-card h1 {
  font: 950 44px/.95 Manrope;
  letter-spacing: -.06em;
  margin: 14px 0 12px;
  color: #242235;
}
.auth-card p,
.auth-card small {
  color: #696879;
  line-height: 1.6;
}
.auth-card form {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}
.auth-card label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  color: #56546c;
}
.auth-card input {
  height: 46px;
  border: 1px solid #dddbea;
  border-radius: 14px;
  padding: 0 13px;
  font: inherit;
  background: #fbfbfe;
}
.auth-card form button {
  height: 46px;
  border-radius: 14px;
  border: 1px solid #dddbea;
  background: white;
  font-weight: 950;
  cursor: pointer;
}
.auth-card form .primary {
  background: #6f51e8;
  color: white;
  border-color: #6f51e8;
}
.back-link {
  border: 0;
  background: transparent;
  color: #6f51e8;
  font-weight: 950;
  margin: 0 0 16px;
  padding: 0;
  cursor: pointer;
}
.auth-side {
  align-self: stretch;
  border-radius: 36px;
  background:
    linear-gradient(
      135deg,
      #7557e8,
      #1d1b3e);
  color: white;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 30px 90px rgba(32, 26, 70, .22);
}
.auth-side b {
  font: 950 34px/.98 Manrope;
  letter-spacing: -.05em;
}
.auth-side span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff18;
  border: 1px solid #ffffff28;
  border-radius: 16px;
  padding: 14px;
  font-weight: 900;
}
.auth-side svg {
  width: 18px;
  color: #8ff0d1;
}
@media (max-width: 960px) {
  .legal-strip,
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-page {
    background: #f7f5ff;
  }
  .auth-side {
    display: none;
  }
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f0eff8;
  border-radius: 14px;
  padding: 5px;
  margin: 16px 0 6px;
}
.auth-tabs button {
  height: 42px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: #696879;
  font-weight: 950;
  cursor: pointer;
}
.auth-tabs button.active {
  background: white;
  color: #6248d2;
  box-shadow: 0 6px 16px rgba(31, 25, 70, .08);
}
.plan-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.plan-pills button {
  height: 43px !important;
  text-align: left;
  justify-content: flex-start;
  padding: 0 13px !important;
}
.plan-pills button.active {
  background: #f0edff !important;
  border-color: #cfc4f7 !important;
  color: #6046cf !important;
}
.mode-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 950;
  margin-left: 10px;
  white-space: nowrap;
}
.mode-chip.demo {
  background: #fff2df;
  color: #aa6420;
}
.mode-chip.signup {
  background: #e8f8f0;
  color: #237b60;
}
@media (max-width: 800px) {
  .mode-chip {
    order: 5;
    margin: 8px 0 0;
    font-size: 9px;
  }
  .auth-page {
    padding: 14px;
    align-items: start;
  }
  .auth-card {
    border-radius: 24px;
    padding: 22px;
  }
  .auth-card h1 {
    font-size: 34px;
  }
  .auth-card input,
  .auth-card form button {
    height: 50px;
  }
  .auth-tabs button {
    height: 46px;
  }
  .plan-pills button {
    height: 48px !important;
  }
  .landing-brand.dark img {
    width: 34px;
    height: 34px;
  }
}
.document-type-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 13px;
  padding: 9px;
  background: #f7f5ff;
  border: 1px solid #e5dfff;
  border-radius: 14px;
}
.document-type-pills button {
  height: 38px;
  border: 1px solid #ded8f6;
  background: white;
  color: #625f72;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 950;
  cursor: pointer;
}
.document-type-pills button.active {
  background: #7457e7;
  color: white;
  border-color: #7457e7;
  box-shadow: 0 8px 20px #7457e726;
}
.document-type-pills small {
  grid-column: 1/-1;
  color: #777889;
  font-size: 9px;
  line-height: 1.35;
}
.recurring-panel.compact {
  padding: 13px 15px;
  background: #fff;
  border-color: #ececf3;
  box-shadow: none;
}
.recurring-panel.compact .pulse-card-head {
  margin: 0;
  align-items: center;
}
.recurring-panel.compact h3 {
  font-size: 14px;
}
.recurring-panel.compact p {
  font-size: 10px;
  max-width: 560px;
}
.recurring-panel.compact .assistant-buttons button {
  height: 34px;
  background: #fafafd;
  color: #6046cf;
}
.recurring-panel.open {
  margin-top: 10px;
}
@media (max-width: 680px) {
  .document-type-pills {
    grid-template-columns: 1fr;
  }
  .document-type-pills button {
    height: 44px;
  }
  .recurring-panel.compact .pulse-card-head {
    align-items: stretch;
  }
  .recurring-panel.compact .assistant-buttons button {
    width: 100%;
    height: 44px;
    justify-content: center;
  }
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 4px 0;
  color: #8b8a99;
  font-size: 11px;
}
.app-footer span:first-child {
  font-weight: 900;
  color: #68647a;
}
.legal-strip {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.invoice-actions .primary {
  font-weight: 900;
}
.invoice-actions button {
  min-height: 40px;
}
.landing-footer span:first-child {
  font-weight: 900;
  color: #656174;
}
@media (max-width: 800px) {
  .app-footer {
    flex-direction: column;
    padding-bottom: 82px;
    font-size: 10px;
  }
  .invoice-detail .pulse-card-head {
    gap: 10px;
  }
  .invoice-references {
    grid-template-columns: 1fr 1fr !important;
  }
  .invoice-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .invoice-actions button {
    width: 100%;
    min-height: 48px;
  }
  .table-wrap {
    border-radius: 16px;
  }
  .table-wrap td,
  .table-wrap th {
    padding: 13px 12px;
  }
  .landing-footer {
    padding-bottom: 28px;
  }
  .legal-strip article {
    padding: 18px;
  }
  .landing-hero small {
    display: block;
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  .invoice-references {
    grid-template-columns: 1fr !important;
  }
  .workspace-title {
    gap: 10px;
  }
  .workspace-title > div {
    width: 38px;
    height: 38px;
  }
  .workspace-title h2 {
    font-size: 17px;
  }
  .workspace-title p {
    font-size: 11px;
  }
  .table-wrap table {
    min-width: 560px;
  }
}
@media (max-width: 680px) {
  .invoice-builder-inline .builder-block {
    border-radius: 18px !important;
    padding: 15px !important;
    background:
      linear-gradient(
        180deg,
        #fff,
        #fbfbff) !important;
    box-shadow: 0 8px 22px #1d19370a;
  }
  .invoice-builder-inline .builder-block h3 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  .invoice-builder-inline .builder-block-head {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .invoice-builder-inline .builder-block-head p {
    margin: 0 0 6px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }
  .invoice-builder-inline .builder-block input,
  .invoice-builder-inline .builder-block select {
    height: 48px !important;
    border-radius: 13px !important;
    font-size: 16px !important;
  }
  .invoice-builder-inline .builder-block textarea {
    min-height: 92px !important;
    border-radius: 13px !important;
    font-size: 15px !important;
  }
  .invoice-builder-inline .builder-line {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    background: #fafafd !important;
    border: 1px solid #eeeef3 !important;
    border-radius: 15px !important;
    padding: 12px !important;
    margin-top: 8px !important;
  }
  .invoice-builder-inline .builder-line > input:first-child {
    grid-column: auto !important;
  }
  .invoice-builder-inline .builder-line > b {
    font-size: 14px !important;
    background: #f0edff !important;
    color: #5437c2 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    text-align: center !important;
  }
  .invoice-builder-inline .line-delete {
    width: 100% !important;
    height: 40px !important;
  }
  .invoice-builder-inline .vat-mode {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .invoice-builder-inline .vat-mode button {
    min-height: 42px !important;
    font-size: 10px !important;
  }
  .invoice-builder-inline .period-shortcuts {
    align-items: stretch !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .invoice-builder-inline .period-shortcuts span,
  .invoice-builder-inline .period-shortcuts small {
    grid-column: 1/-1 !important;
  }
  .invoice-builder-inline .period-shortcuts button {
    height: 42px !important;
    font-size: 10px !important;
  }
  .invoice-builder-inline .proof-upload {
    height: 48px !important;
    border-radius: 13px !important;
  }
  .invoice-builder-inline > footer {
    position: sticky !important;
    bottom: 78px !important;
    z-index: 8 !important;
    border-radius: 18px 18px 0 0 !important;
    box-shadow: 0 -14px 30px #17132214 !important;
  }
  .invoice-builder-inline > footer button {
    height: 48px !important;
    border-radius: 13px !important;
  }
}
.landing-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 clamp(22px, 5vw, 78px) 28px;
}
.landing-trust article {
  background: rgba(255, 255, 255, .94);
  border: 1px solid #ebeaf2;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 42px rgba(32, 26, 70, .08);
}
.landing-trust span {
  display: inline-flex;
  border-radius: 999px;
  background: #e8f8f0;
  color: #24775d;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.landing-trust h2 {
  font: 950 30px Manrope;
  letter-spacing: -.05em;
  margin: 12px 0 8px;
  color: #242235;
}
.landing-trust p {
  font-size: 13px;
  line-height: 1.6;
  color: #696879;
  margin: 0;
}
.go-live-panel {
  margin-top: 18px;
  padding: 20px;
  background:
    radial-gradient(
      circle at top right,
      #fff2df,
      transparent 35%),
    linear-gradient(
      135deg,
      #fff,
      #fbfbff);
  border-color: #e7e1fb;
}
.go-live-panel.ready {
  border-color: #bfead7;
  background:
    linear-gradient(
      135deg,
      #fff,
      #f2fbf7);
}
.go-live-panel.review {
  border-color: #f2d5a9;
}
.go-live-badge {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: #1e1b35;
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 14px 30px rgba(31, 27, 53, .18);
}
.go-live-badge b {
  font: 950 25px Manrope;
  line-height: .9;
}
.go-live-badge small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  color: #eeeaff;
}
.demo-separation {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #d8eee5;
  background: #f1fbf7;
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
}
.demo-separation > span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #dff6ec;
  color: #208766;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.demo-separation svg {
  width: 16px;
}
.demo-separation b {
  display: block;
  font: 900 12px Manrope;
  color: #245d4d;
}
.demo-separation small {
  display: block;
  font-size: 10px;
  line-height: 1.45;
  color: #427365;
  margin-top: 3px;
}
.go-live-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.go-live-groups article {
  background: white;
  border: 1px solid #eeeef3;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 8px;
}
.go-live-groups h4 {
  font: 950 14px Manrope;
  margin: 0;
  color: #303040;
}
.go-live-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #eeeef3;
  border-radius: 13px;
  padding: 10px;
  background: #fafafd;
}
.go-live-row > span {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #fff2e5;
  color: #bb6a23;
}
.go-live-row.done > span {
  background: #e5f7ef;
  color: #208766;
}
.go-live-row.review > span {
  background: #fff7dd;
  color: #a66a13;
}
.go-live-row.blocked > span {
  background: #ffeaea;
  color: #c43d3d;
}
.go-live-row svg {
  width: 14px;
}
.go-live-row b {
  display: block;
  font: 900 11px Manrope;
  color: #303040;
}
.go-live-row small {
  display: block;
  font-size: 9px;
  line-height: 1.42;
  color: #777889;
  margin-top: 3px;
}
.mail-live-form {
  margin-top: 14px;
  background: white;
  border: 1px solid #eeeef3;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 10px;
  align-items: end;
}
.mail-live-form h4 {
  font: 950 15px Manrope;
  margin: 4px 0 5px;
  color: #303040;
}
.mail-live-form p {
  font-size: 10px;
  line-height: 1.45;
  color: #777889;
  margin: 0;
}
.mail-live-form label {
  display: grid;
  gap: 6px;
  font-size: 9px;
  font-weight: 900;
  color: #777889;
}
.mail-live-form input:not([type=checkbox]) {
  height: 38px;
  border: 1px solid #dedee9;
  border-radius: 10px;
  background: white;
  padding: 0 10px;
  font: inherit;
  color: #303040;
}
.mail-live-form .check-row,
.mail-live-form button {
  grid-column: 1/-1;
}
@media (max-width: 900px) {
  .landing-trust,
  .go-live-groups,
  .mail-live-form {
    grid-template-columns: 1fr;
  }
  .go-live-badge {
    width: 100%;
    height: auto;
    padding: 14px;
  }
  .landing-trust {
    margin-left: 14px;
    margin-right: 14px;
  }
  .landing-trust h2 {
    font-size: 24px;
  }
}
/*# sourceMappingURL=app.css.map */
