* {
  box-sizing: border-box;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
:root {
  --ink: #050712;
  --line: #dfe3e5;
  --soft: #f3f6f8;
  --blue: #383cf4;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  background: #dbe4ef;
  color: #07080e;
  font-family: Arial, Helvetica, sans-serif;
}
button,
input {
  font: inherit;
}
.stage {
  width: 100vw;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 34%, #f8faff 0%, #e5ebf4 42%, #c7d3e1 100%);
}
.app-shell {
  background: #f6fbfb;
  display: grid;
  grid-template-columns: 108px 1fr;
  overflow: hidden;
  width: 100%;
  min-height: 100%;
}
.sidebar {
  background: linear-gradient(180deg, #f4f8fb 0%, #eff3f7 100%);
  border-right: 1px solid #e2e6e8;
  padding: 23px 18px 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand {
  width: 40px;
  height: 40px;
  position: relative;
  margin-bottom: 225px;
}
.brand i {
  position: absolute;
  width: 17px;
  height: 17px;
  background: #050711;
  border-radius: 5px;
}
.brand i:nth-child(1) {
  left: 1px;
  top: 1px;
}
.brand i:nth-child(2) {
  right: 1px;
  top: 1px;
}
.brand i:nth-child(3) {
  left: 1px;
  bottom: 1px;
}
.brand i:nth-child(4) {
  right: 1px;
  bottom: 1px;
}
.brand:after {
  content: "";
  position: absolute;
  inset: 10px;
  background: #f5f9fb;
  transform: rotate(45deg);
  border-radius: 2px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar button {
  border: 0;
  width: 51px;
  height: 51px;
  border-radius: 10px;
  background: rgba(230, 235, 240, 0.82);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
}
.sidebar nav button:hover {
  background: #e0e6ec;
  transform: translateY(-1px);
}
.sidebar nav button.active {
  background: #050713;
  color: #fff;
  box-shadow: 0 5px 10px rgba(6, 8, 19, 0.1);
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  place-items: center;
  gap: 4px;
}
.sidebar-bottom button {
  background: #e5eaf0;
}
.sidebar-bottom img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 9px;
}
.profile-menu {
  position: relative;
}
.sidebar-bottom .profile-menu-trigger {
  padding: 0;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: transparent;
}
.profile-menu-popup {
  position: absolute;
  z-index: 20;
  left: calc(100% + 10px);
  bottom: 0;
  width: 132px;
  padding: 5px;
  border: 1px solid #dfe3e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(5, 7, 18, 0.14);
}
.profile-menu-popup a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 7px;
  color: #171923;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s;
}
.profile-menu-popup a:hover,
.profile-menu-popup a:focus-visible {
  background: #f0f3f6;
  outline: none;
}
.app-main {
  min-width: 0;
  margin: 15px 15px 15px 0;
  display: grid;
  grid-template-rows: 72px 1fr;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #dce2e5;
  border-radius: 19px;
  overflow: hidden;
}
.topbar {
  padding: 13px 17px 13px 18px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e1e5e7;
  display: grid;
  grid-template-columns: 1fr 374px 1fr;
  align-items: center;
  gap: 22px;
}
.hello h1 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  margin: 1px 0 10px;
  letter-spacing: -0.25px;
}
.hello p {
  margin: 0;
  font-size: 11px;
  color: #50525a;
}
.search {
  height: 39px;
  border-radius: 9px;
  background: #f1f4f7;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 0 13px;
  box-shadow: 0 4px 14px rgba(27, 44, 60, 0.03);
}
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #050713;
}
.search input::placeholder {
  color: #050713;
  opacity: 1;
}
.search span {
  width: 24px;
  height: 27px;
  background: white;
  border-radius: 6px;
  display: grid;
  place-items: center;
  position: relative;
  font-size: 0;
  box-shadow: 0 2px 7px rgba(14, 30, 45, 0.04);
}
.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
}
.soft-button {
  border: 0;
  background: #f1f5f7;
  width: 42px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.bell {
  position: relative;
}
.bell i {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #0da879;
  border-radius: 50%;
  right: 12px;
  top: 9px;
}
.bell.seen i {
  display: none;
}
.optimize {
  width: 147px;
  height: 41px;
  border-radius: 8px;
  border: 1px solid #060916;
  color: #fff;
  background: #050713;
  cursor: pointer;
  font-size: 14px;
}
.optimize.done {
  background: #173329;
  border-color: #173329;
}
.dashboard {
  padding: 18px;
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
  gap: 11px;
  overflow: hidden;
}
.left-column {
  display: grid;
  grid-template-rows: 193px 193px minmax(0, 1fr);
  gap: 11px;
  min-height: 0;
}
.right-column {
  display: grid;
  grid-template-rows: minmax(489px, 64%) minmax(0, 1fr);
  gap: 11px;
  min-width: 0;
  min-height: 0;
}
.card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid #dadddf;
  border-radius: 15px;
  overflow: hidden;
}
.card-header {
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid #e0e3e4;
}
.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
}
.credit-body {
  height: 139px;
  padding: 14px 18px;
  position: relative;
  overflow: hidden;
}
.credit-number {
  font-size: 41px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.credit-number span {
  font-size: 10px;
  color: #de704a;
  background: #fff5f1;
  margin-left: 9px;
  padding: 5px 7px;
  border-radius: 5px;
  vertical-align: middle;
}
.credit-body p {
  font-size: 13px;
  margin: 25px 0 7px;
}
.credit-body small {
  color: #56585f;
  font-size: 11.5px;
}
.credit-chart {
  position: absolute;
  right: -3px;
  bottom: 1px;
  width: 69px;
  height: 104px;
  opacity: 0.6;
}
.credit-chart i {
  position: absolute;
  width: 1px;
  background: #e5e8ea;
  height: 100%;
  top: 0;
}
.credit-chart i:nth-child(1) {
  left: 0;
}
.credit-chart i:nth-child(2) {
  left: 17px;
}
.credit-chart i:nth-child(3) {
  left: 34px;
}
.credit-chart i:nth-child(4) {
  left: 51px;
}
.credit-chart i:nth-child(5) {
  right: 0;
}
.credit-chart b {
  position: absolute;
  width: 64px;
  height: 58px;
  border-left: 1px solid #e98768;
  border-bottom: 1px solid #e98768;
  bottom: 26px;
  left: 0;
  transform: skewY(-1deg);
  background: linear-gradient(90deg, rgba(255, 240, 233, 0.65), transparent 35%);
}
.performance-body {
  position: relative;
  height: 139px;
  padding: 22px 18px;
  overflow: hidden;
}
.performance-body p {
  margin: 0;
  font-size: 13px;
  line-height: 15px;
  position: relative;
  z-index: 2;
}
.performance-body p strong {
  font-weight: 600;
}
.sparkline {
  position: absolute;
  inset: 24px 13px 0 60px;
}
.score-pill {
  position: absolute;
  right: 1px;
  top: -1px;
  font-size: 10px;
  color: #08a66c;
  background: #edfff8;
  padding: 5px 7px;
  border-radius: 5px;
}
.spark-grid {
  position: absolute;
  inset: 34px 0 0;
  background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(214, 223, 224, 0.24) 23px), repeating-linear-gradient(90deg, transparent 0 37px, rgba(214, 223, 224, 0.22) 38px);
}
.spark-line {
  height: 1px;
  background: #0bab79;
  transform-origin: left center;
  position: absolute;
}
.spark-line.one {
  width: 101px;
  left: -6px;
  top: 105px;
  transform: rotate(-32deg);
  opacity: 0.28;
}
.spark-line.two {
  width: 44px;
  left: 87px;
  top: 51px;
  transform: rotate(7deg);
}
.spark-line.three {
  width: 90px;
  left: 130px;
  top: 56px;
  transform: rotate(-29deg);
}
.spark-line:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 65px;
  background: linear-gradient(#0bab79, transparent);
  transform: rotate(32deg);
  transform-origin: top;
}
.spark-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid #fff;
  background: #0bab79;
  border-radius: 50%;
  z-index: 2;
}
.d1 {
  left: 86px;
  top: 48px;
}
.d2 {
  left: 127px;
  top: 53px;
}
.d3 {
  right: 4px;
  top: 9px;
}
.promo-card {
  min-height: 0;
  border-radius: 15px;
  background: radial-gradient(circle at 50% 2%, #121727, #030613 54%, #02040f);
  color: white;
  padding: 0 11px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.promo-visual {
  height: 225px;
  width: 100%;
  position: relative;
  flex: none;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(123, 141, 176, 0.14);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-a {
  width: 250px;
  height: 170px;
  top: 15px;
}
.orbit-b {
  width: 165px;
  height: 120px;
  top: 48px;
}
.planet {
  position: absolute;
  border-radius: 50%;
  top: 101px;
  background: radial-gradient(circle at 33% 30%, #232b42 0, #0d1222 45%, #02040f 72%);
  border: 1px solid rgba(132, 151, 187, 0.18);
  box-shadow: inset 5px 5px 18px rgba(128, 147, 181, 0.12), 0 0 12px #000;
}
.p-left {
  width: 46px;
  height: 46px;
  left: -22px;
}
.p-mid-left {
  width: 64px;
  height: 64px;
  left: 31px;
  top: 93px;
}
.p-mid-right {
  width: 62px;
  height: 62px;
  right: 33px;
  top: 93px;
}
.p-right {
  width: 46px;
  height: 46px;
  right: -24px;
}
.core {
  width: 94px;
  height: 94px;
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 4px solid rgba(154, 166, 192, 0.48);
  background: radial-gradient(circle, #262c40 0, #0b0e1c 68%);
  display: grid;
  place-items: center;
  color: #b6bdcc;
  box-shadow: 0 0 0 7px rgba(112, 126, 159, 0.18), inset 0 0 15px rgba(193, 203, 225, 0.16);
}
.core span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  bottom: -19px;
  left: 32px;
  border: 3px solid #606a80;
  background: #080b17;
  color: white;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: bold;
}
.promo-card h2 {
  margin: 20px 0 34px;
  font-size: 27px;
  line-height: 32px;
  text-align: center;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.promo-card button {
  margin-top: auto;
  width: 100%;
  height: 54px;
  border-radius: 11px;
  background: #1e293c;
  color: white;
  border: 1px solid #3a465d;
  font-size: 16px;
  cursor: pointer;
}
.growth-head {
  padding-left: 15px;
}
.growth-tools {
  display: flex;
  gap: 10px;
}
.growth-tools button {
  height: 31px;
  border: 1px solid #dfe3e5;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  font-size: 10px;
  cursor: pointer;
}
.growth-tools button:nth-child(1) {
  width: 166px;
}
.growth-tools button:nth-child(2) {
  width: 66px;
}
.growth-tools button:nth-child(3) {
  width: 93px;
  justify-content: center;
}
.growth-summary {
  height: 92px;
  padding: 16px 13px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.growth-summary h2 {
  font-size: 34px;
  font-weight: 400;
  margin: 0 0 11px;
  letter-spacing: -0.5px;
}
.growth-summary p {
  margin: 0;
  font-size: 13px;
}
.growth-summary p span {
  background: #edfff5;
  color: #0ca76d;
  font-size: 10px;
  padding: 5px 7px;
  border-radius: 4px;
  margin-right: 11px;
}
.growth-summary p b {
  font-weight: 600;
  margin-right: 4px;
}
.icon-button {
  width: 31px;
  height: 31px;
  border: 1px solid #e0e3e5;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-button.tiny {
  width: 30px;
  height: 30px;
}
.legend {
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  padding-right: 15px;
  font-size: 12px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}
.legend .deposits {
  background: #3237f3;
}
.legend .interest {
  background: #89a6f2;
}
.legend .growth {
  background: #d7e4fa;
}
.growth-card {
  display: flex;
  flex-direction: column;
}
.chart-wrap {
  height: auto;
  min-height: 310px;
  flex: 1;
  position: relative;
  padding-left: 55px;
  overflow: hidden;
}
.chart-y {
  position: absolute;
  left: 18px;
  top: 3px;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 13px;
  z-index: 3;
}
.area-fill {
  position: absolute;
  left: 115px;
  right: 5px;
  bottom: 44px;
  height: 205px;
  background: #edf3fd;
  opacity: 0.84;
}
.area-one {
  clip-path: polygon(0 72%, 13% 34%, 27% 45%, 42% 19%, 57% 35%, 72% 55%, 86% 65%, 100% 84%, 100% 100%, 0 100%);
}
.area-two {
  background: #f7f9fd;
  clip-path: polygon(0 93%, 13% 63%, 27% 74%, 42% 48%, 57% 57%, 72% 73%, 86% 82%, 100% 100%, 100% 100%, 0 100%);
}
.bars {
  position: absolute;
  left: 55px;
  right: 6px;
  top: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 23px;
  align-items: end;
  z-index: 2;
}
.month {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.month b {
  height: 21px;
  font-size: 13px;
  font-weight: 400;
}
.stack {
  width: 48px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  margin-top: auto;
}
.segment {
  width: 48px;
  border-radius: 7px;
  position: relative;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(50, 64, 113, 0.04);
}
.segment.light {
  background: linear-gradient(90deg, #d6e3f9, #dce8fb);
}
.segment.mid {
  background: #89a7f2;
}
.segment.dark {
  background: #383cf4;
}
.segment.light span {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #eef3fd;
  border: 1px solid #d6e1f5;
  border-radius: 8px;
  padding: 3px 6px;
  font-size: 9px;
  box-shadow: 0 2px 5px rgba(35, 51, 85, 0.15);
  z-index: 3;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  min-height: 0;
}
.contacts-card,
.snapshot-card {
  min-height: 0;
}
.contacts-list {
  height: calc(100% - 53px);
  overflow: hidden;
  padding: 2px 18px 0 11px;
}
.contact {
  height: 25%;
  min-height: 69px;
  border-bottom: 1px solid #e0e3e4;
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  align-items: center;
  gap: 13px;
}
.contact img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 7px;
}
.contact strong {
  display: block;
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 6px;
}
.contact small {
  display: block;
  font-size: 13px;
  color: #55565d;
}
.contact > svg {
  align-self: center;
}
.snapshot-body {
  height: calc(100% - 53px);
  padding: 11px 11px 11px;
  display: flex;
  flex-direction: column;
}
.range-wrap {
  height: 99px;
  padding-top: 40px;
  position: relative;
}
.range-value {
  position: absolute;
  top: 1px;
  left: 64%;
  transform: translateX(-50%);
  background: #060916;
  color: #fff;
  font-size: 14px;
  padding: 6px 20px;
  border-radius: 17px;
}
.range-value:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: #060916;
  transform: translateX(-50%) rotate(45deg);
}
.range {
  height: 18px;
  border: 1px solid #dce1e4;
  border-radius: 10px;
  position: relative;
  background: #fff;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.range i {
  height: 10px;
  width: 65%;
  border-radius: 6px;
  background: linear-gradient(90deg, #111827, #0b1222);
  box-shadow: inset 0 0 0 1px #26364b;
}
.range b {
  width: 4px;
  height: 4px;
  background: #c7ccd2;
  border-radius: 50%;
  margin-right: 21px;
}
.range:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
  left: 64%;
  top: 6px;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 8px;
}
.snapshot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 143px;
  flex: 1;
}
.snapshot-metrics article {
  position: relative;
  background: #f1f4f8;
  border-radius: 12px;
  padding: 14px 11px;
  overflow: hidden;
}
.snapshot-metrics article button {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 12px;
}
.snapshot-metrics strong,
.snapshot-metrics span {
  display: block;
  font-size: 15px;
  line-height: 18px;
}
.snapshot-metrics strong {
  font-weight: 400;
  margin-top: 18px;
}
.snapshot-metrics span {
  color: #20222a;
}
.donut {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: conic-gradient(var(--donut-color) 0 var(--donut-fill), #d7dce2 var(--donut-fill) 100%);
  display: grid;
  place-items: center;
  position: relative;
}
.donut:before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #f5f7f9;
}
.donut span {
  position: relative;
  font-size: 11px !important;
  color: #090b13 !important;
  z-index: 2;
}
/* New ingestion and review surfaces inherit the original Plan Clarity palette. */
.upload-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.upload-body {
  min-height: 0;
  flex: 1;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #fff;
}
.drop-zone {
  min-height: 185px;
  flex: 1;
  border: 1px dashed #cfd6df;
  border-radius: 12px;
  background: #f3f6f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  text-align: center;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  position: relative;
  box-sizing: border-box;
}
.drop-zone.dragging {
  border-color: #383cf4;
  background: #eef3fd;
  box-shadow: inset 0 0 0 1px #383cf4;
}
.drop-zone.has-file {
  justify-content: center;
  background: #f3f6f8;
}
.drop-zone > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.drop-zone > strong {
  font-size: 13px;
  font-weight: 600;
  color: #050713;
}
.drop-zone > small {
  font-size: 11px;
  color: #666a73;
}
.upload-icon {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #383cf4;
  background: #eef3fd;
  margin-bottom: 1px;
}
.drop-zone > button {
  border: 0;
  background: #050713;
  color: white;
  height: 32px;
  border-radius: 8px;
  padding: 0 17px;
  font-size: 12px;
  cursor: pointer;
  margin-top: 3px;
  transition: transform 0.18s, background 0.18s;
}
.drop-zone > button:hover {
  background: #383cf4;
  transform: translateY(-1px);
}
.selected-file {
  width: 100%;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 29px;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid #dfe3e8;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(5, 7, 19, 0.05);
  box-sizing: border-box;
}
.selected-file-details {
  min-width: 0;
}
.selected-file > span {
  width: 39px;
  height: 39px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #383cf4;
  background: #eef3fd;
}
.selected-file strong,
.selected-file small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selected-file strong {
  color: #050713;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}
.selected-file small {
  color: #62656d;
  font-size: 10px;
}
.selected-file button {
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 7px;
  background: #f3f6f8;
  display: grid;
  place-items: center;
  color: #555a64;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.selected-file button:hover {
  color: #050713;
  background: #e7ebef;
}
.submit-document {
  width: 100%;
  height: 43px;
  flex: none;
  border: 1px solid #050713;
  border-radius: 9px;
  background: #050713;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.submit-document:not(:disabled):hover {
  background: #383cf4;
  border-color: #383cf4;
  transform: translateY(-1px);
}
.submit-document:disabled {
  background: #e5e9ee;
  border-color: #e5e9ee;
  color: #9499a2;
  cursor: not-allowed;
}
.upload-trust {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #555b64;
}
.upload-trust svg {
  color: #0bab79;
}
.upload-error {
  margin: 0;
  color: #f12975;
  font-size: 10px;
  text-align: center;
}
.suggestions-card {
  min-width: 0;
}
.suggestions-card .growth-summary,
.suggestions-card .legend {
  flex: none;
}
.suggestions-card .growth-summary {
  height: 91px;
}
.suggestions-card .filter-active {
  color: #383cf4;
  border-color: #383cf4;
  background: #eef3fd;
}
.suggestion-search {
  height: 56px;
  flex: none;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
}
.suggestion-search label {
  flex: 1;
  height: 37px;
  border: 1px solid #e1e5e8;
  border-radius: 9px;
  background: #f3f6f8;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  color: #8b96a5;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.suggestion-search label:focus-within {
  border-color: #383cf4;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(56, 60, 244, 0.08);
  color: #383cf4;
}
.suggestion-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #050713;
  font-size: 12px;
}
.suggestion-search input::placeholder {
  color: #98a4b5;
}
.suggestion-search label button {
  width: 24px;
  height: 24px;
  border: 0;
  background: #fff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #626975;
  cursor: pointer;
}
.suggestion-search > span {
  min-width: 65px;
  text-align: right;
  color: #707681;
  font-size: 10px;
}
.table-shell {
  min-height: 0;
  flex: 1;
  overflow: auto;
  position: relative;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #b7bec8 transparent;
}
.table-shell table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 10px;
  color: #3d495e;
}
.suggestion-head {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 38px;
  padding: 0 13px;
  background: rgba(243, 246, 248, 0.96);
  border-bottom: 1px solid #e0e3e4;
  text-align: left;
  backdrop-filter: blur(8px);
}
.suggestion-head:nth-child(1) {
  width: 9%;
}
.suggestion-head:nth-child(2) {
  width: 29%;
}
.suggestion-head:nth-child(3) {
  width: 29%;
}
.suggestion-head:nth-child(4) {
  width: 29%;
}
.suggestion-head:nth-child(5) {
  width: 4%;
  padding: 0;
}
.suggestion-head button {
  width: 100%;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #65738a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}
.suggestion-head button svg {
  opacity: 0.5;
  transition: opacity 0.16s, transform 0.16s;
  color: #65738a;
}
.suggestion-head button:hover {
  color: #383cf4;
}
.suggestion-head button:hover svg {
  opacity: 1;
  transform: translateY(-1px);
}
.table-shell td {
  height: 56px;
  padding: 7px 13px;
  border-bottom: 1px solid #edf0f2;
  overflow: hidden;
  position: relative;
  vertical-align: middle;
}
.table-shell td:last-child {
  padding: 0 5px 0 0;
  text-align: center;
}
.table-shell tbody tr {
  background: #fff;
  transition: background 0.16s, box-shadow 0.16s;
}
.table-shell tbody tr:hover {
  background: #f7f9fd;
  box-shadow: inset 3px 0 #383cf4;
}
.paragraph-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 43px;
  height: 25px;
  padding: 0 8px;
  border: 1px solid #dfe4e9;
  border-radius: 7px;
  background: #f3f6f8;
  color: #050713;
  font-size: 10px;
  font-weight: 700;
}
.cell-kicker {
  height: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8a929e;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.26px;
  text-transform: uppercase;
  white-space: nowrap;
}
.cell-copy {
  display: block;
  color: #364052;
  font-size: 10px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.match-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #383cf4;
  box-shadow: 0 0 0 3px rgba(56, 60, 244, 0.08);
}
.review-badge {
  float: left;
  height: 16px;
  margin: 0 6px 1px 0;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.review-badge.standard {
  background: #e9fbf4;
  color: #0b8c68;
}
.review-badge.counsel {
  background: #fff0f5;
  color: #d91f66;
}
.row-action {
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #808895;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(3px);
  transition: opacity 0.16s, transform 0.16s, background 0.16s, border-color 0.16s, color 0.16s;
}
.table-shell tbody tr:hover .row-action,
.row-action:focus-visible {
  opacity: 1;
  transform: none;
}
.row-action:hover,
.row-action:focus-visible {
  background: #fff;
  border-color: #dfe4e9;
  color: #383cf4;
  outline: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.empty-results {
  position: absolute;
  inset: 34px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8b929d;
}
.empty-results strong {
  color: #050713;
  font-size: 12px;
}
.empty-results span {
  font-size: 10px;
}
.table-pagination {
  min-height: 48px;
  flex: none;
  border-top: 1px solid #e5e8ec;
  background: #fff;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: #69717d;
  font-size: 9px;
}
.rows-per-page {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.rows-per-page label {
  width: 53px;
  height: 30px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #dfe4e9;
  border-radius: 7px;
  background: #f7f9fd;
  color: #050713;
}
.rows-per-page select {
  width: 100%;
  height: 100%;
  padding: 0 22px 0 10px;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: #050713;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.rows-per-page svg {
  position: absolute;
  right: 7px;
  pointer-events: none;
  color: #737b87;
}
.rows-per-page label:focus-within {
  border-color: #383cf4;
  box-shadow: 0 0 0 3px rgba(56, 60, 244, 0.08);
}
.result-range {
  min-width: 62px;
  text-align: center;
  white-space: nowrap;
  color: #555e6c;
  font-weight: 600;
}
.page-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}
.page-controls button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #606875;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.page-controls button:hover:not(:disabled) {
  border-color: #dfe4e9;
  background: #f7f9fd;
  color: #383cf4;
}
.page-controls button.current {
  border-color: #383cf4;
  background: #383cf4;
  color: #fff;
}
.page-controls button:disabled {
  color: #c4cad2;
  cursor: not-allowed;
}
.processing-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(243, 246, 248, 0.82);
  backdrop-filter: blur(7px);
}
.processing-card {
  width: 330px;
  min-height: 245px;
  border: 1px solid #dfe3e5;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(5, 7, 19, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 31px 25px;
  position: relative;
  overflow: hidden;
}
.processing-card:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #383cf4 0 66%, #0bab79 66% 100%);
}
.processing-mark {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f3f6f8;
  color: #383cf4;
  display: grid;
  place-items: center;
}
.processing-spinner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(#383cf4 0 58%, #0bab79 58% 70%, #dce6f4 70% 100%);
  padding: 5px;
  animation: processing-spin 1s linear infinite;
  margin-bottom: 18px;
}
.processing-spinner:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}
.processing-card h2 {
  margin: 0 0 9px;
  color: #050713;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.15px;
}
.processing-card p {
  margin: 0 0 17px;
  color: #5f6570;
  font-size: 12px;
  line-height: 17px;
}
.processing-card > span {
  max-width: 100%;
  border-radius: 7px;
  padding: 6px 9px;
  background: #f3f6f8;
  color: #4e5561;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.processing-card > span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0bab79;
  margin-right: 6px;
}
@keyframes processing-spin {
  to {
    transform: rotate(360deg);
  }
}
.signin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(440px, 46%) 1fr;
  background: #fff;
}
.signin-panel {
  width: min(100%, 560px);
  min-height: 100vh;
  justify-self: center;
  padding: 42px clamp(36px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.signin-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(58px, 9vh, 92px);
}
.signin-brand .brand {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin: 0;
}
.signin-brand .brand i {
  width: 15px;
  height: 15px;
}
.signin-brand .brand:after {
  inset: 9px;
  background: #fff;
}
.signin-brand > div:last-child {
  display: grid;
  gap: 3px;
}
.signin-brand strong {
  color: #050713;
  font-size: 15px;
  letter-spacing: -0.15px;
}
.signin-brand span {
  color: #747b87;
  font-size: 10px;
}
.signin-copy {
  margin-bottom: 32px;
}
.signin-eyebrow {
  margin: 0 0 12px !important;
  color: #383cf4 !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.signin-copy h1 {
  margin: 0 0 12px;
  color: #050713;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -1.25px;
}
.signin-copy p {
  max-width: 420px;
  margin: 0;
  color: #68707d;
  font-size: 14px;
  line-height: 1.6;
}
.signin-form {
  display: grid;
  gap: 10px;
}
.signin-error {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff7f7;
  color: #b42318;
  box-shadow: 0 5px 16px rgba(180, 35, 24, 0.06);
}
.signin-error > svg {
  flex: 0 0 19px;
  margin-top: 1px;
}
.signin-error > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.signin-error strong {
  color: #8f1d14;
  font-size: 12px;
  line-height: 1.3;
}
.signin-error span {
  overflow-wrap: anywhere;
  color: #b5473e;
  font-size: 12px;
  line-height: 1.45;
}
.signin-success {
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid #a7e3cf;
  border-radius: 10px;
  background: #f1fbf7;
  color: #176b52;
  font-size: 12px;
  line-height: 1.45;
}
.signin-form > label,
.signin-label-row label {
  color: #242833;
  font-size: 12px;
  font-weight: 600;
}
.signin-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}
.signin-label-row a,
.signin-help a {
  color: #383cf4;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}
.signin-label-row a:hover,
.signin-help a:hover {
  text-decoration: underline;
}
.signin-input {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fbfcfd;
  color: #8b929d;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.signin-input:focus-within {
  border-color: #383cf4;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(56, 60, 244, 0.08);
}
.signin-input input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #10131c;
  font-size: 13px;
}
.signin-input input::placeholder {
  color: #a0a6af;
}
.signin-code-input input {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: 0.42em;
}
.signin-field-help {
  margin: -2px 0 8px;
  color: #7b828d;
  font-size: 11px;
}
.signin-change-email {
  width: fit-content;
  margin: 4px auto 0;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #383cf4;
  font-size: 11px;
  font-weight: 600;
}
.signin-change-email:hover {
  text-decoration: underline;
}
.signin-change-email:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(56, 60, 244, 0.35);
  outline-offset: 2px;
}
.signin-password-toggle {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #747b87;
}
.signin-remember {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0 9px;
  color: #5f6672 !important;
  font-weight: 400 !important;
}
.signin-remember input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #383cf4;
}
.signin-submit {
  height: 50px;
  border: 1px solid #050713;
  border-radius: 10px;
  background: #050713;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 9px 22px rgba(5, 7, 19, 0.14);
  transition: transform 0.18s, background 0.18s;
}
.signin-submit:hover {
  background: #202335;
  transform: translateY(-1px);
}
.signin-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}
.signin-google {
  height: 50px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  color: #242833;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s, transform 0.18s;
}
.signin-google svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.signin-google:hover {
  border-color: #c7ccd3;
  background: #fbfcfd;
  transform: translateY(-1px);
}
.signin-google:focus-visible {
  outline: 0;
  border-color: #383cf4;
  box-shadow: 0 0 0 4px rgba(56, 60, 244, 0.08);
}
.signin-help {
  margin: 25px 0 0;
  color: #7b828d;
  font-size: 11px;
  text-align: center;
}
.signin-visual {
  position: relative;
  min-height: 100vh;
  padding: clamp(48px, 8vw, 110px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 73% 22%, rgba(118, 123, 255, 0.52), transparent 25%), radial-gradient(circle at 36% 56%, rgba(26, 183, 142, 0.18), transparent 29%), linear-gradient(145deg, #11152c 0%, #080a17 63%, #111b23 100%);
  color: #fff;
}
.signin-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.signin-visual-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.signin-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  color: #a8acf9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.signin-kicker:before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.signin-visual h2 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -3.6px;
}
.signin-visual-content > p {
  max-width: 540px;
  margin: 0;
  color: #aeb5c8;
  font-size: 15px;
  line-height: 1.7;
}
.signin-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}
.signin-proof div {
  min-height: 92px;
  padding: 21px 18px;
  display: grid;
  gap: 6px;
  background: rgba(7, 10, 24, 0.68);
}
.signin-proof strong {
  font-size: 21px;
}
.signin-proof span {
  color: #929bad;
  font-size: 10px;
}
.signin-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(139, 145, 255, 0.28);
  border-radius: 50%;
}
.signin-orbit-one {
  width: 520px;
  height: 520px;
  right: -110px;
  top: -190px;
  box-shadow: 0 0 100px rgba(77, 83, 255, 0.13), inset 0 0 80px rgba(77, 83, 255, 0.08);
}
.signin-orbit-two {
  width: 270px;
  height: 270px;
  right: 18px;
  top: -64px;
  border-color: rgba(255, 255, 255, 0.14);
}
@media (max-width: 900px) {
  .signin-page {
    grid-template-columns: 1fr;
  }
  .signin-panel {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
  }
  .signin-visual {
    display: none;
  }
}
@media (max-width: 520px) {
  .signin-panel {
    padding: 30px 24px;
  }
  .signin-brand {
    margin-bottom: 48px;
  }
}
@media (max-width: 1100px), (max-height: 800px) {
  .app-shell {
    transform: scale(0.8);
    max-width: none;
    max-height: none;
  }
  .stage {
    padding: 0;
  }
}
