@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@500;600;650;700;750;800&display=swap");
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Readable operational text; secondary timestamps retain a quieter hierarchy. */
.nav-item,
label,
.metric-top,
.account-name,
.ref-button,
.allocation-row,
.reason,
.timeline-item strong,
.checkbox-label span {
  font-size: 14px !important;
}
.page-heading p,
.attention-body p,
.decision-summary,
.detail-note {
  font-size: 16px !important;
}
.preview-note p,
.metric-sub,
.card-head p,
.customer-small,
.amount-cell small,
.table-bottom,
.sheet-footer small,
.chart-footer,
.tag,
.timeline-item p,
.profile span {
  font-size: 12px !important;
}
table {
  font-size: 14px !important;
}
.toolbar label {
  margin-bottom: 0;
}
.metric-value {
  overflow-wrap: anywhere;
}
.allocation-row {
  flex-wrap: wrap;
}
.profile span {
  line-height: 1.5;
}
.detail-list > div {
  font-size: 14px !important;
}
input,
select,
textarea {
  font-size: 16px !important;
}
@media (max-width: 700px) {
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading .button {
    margin-top: 0;
  }
  .nav-item {
    font-size: 12px !important;
  }
  .page-heading p {
    font-size: 14px !important;
  }
  .metric-value {
    font-size: 23px !important;
  }
  .allocation-compare {
    grid-template-columns: 1fr !important;
  }
  .field-pair {
    grid-template-columns: 1fr !important;
  }
  .metric-top {
    font-size: 13px !important;
  }
  .metric-icon {
    display: none !important;
  }
  .preview-note {
    display: none;
  }
}
:root {
  font-family: "DM Sans", Arial, sans-serif;
  color: #222236;
  background: #f6f7fb;
  font-synthesis: none;
  --purple: #7435dc;
  --purple-light: #f1eafd;
  --muted: #727386;
  --border: #e9eaf0;
  --green: #167354;
  --amber: #986414;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b899f0;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #b899f0;
  outline-offset: 1px;
  border-color: var(--purple);
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  background: #171522;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 34px 20px 20px;
  z-index: 10;
}
.brand {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 12px 32px;
}
.brand span {
  color: #bc92ff;
}
.brand em {
  display: block;
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  letter-spacing: 4.2px;
  font-weight: 500;
  color: #9892ab;
  margin-top: 10px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #252231;
  border: 1px solid #383344;
  border-radius: 10px;
  padding: 13px 10px;
  font-size: 13px;
  font-weight: 550;
}
.workspace-label small {
  display: block;
  color: #a8a0b8;
  font-size: 12px;
  font-weight: 400;
  margin-top: 4px;
}
.square {
  width: 30px;
  height: 32px;
  background: #7b41d3;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.nav-heading {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #938caa;
  margin: 32px 12px 12px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 13px 12px;
  border-radius: 8px;
  width: 100%;
  font-size: 14px;
  color: #bbb5ca;
  font-weight: 500;
  white-space: nowrap;
}
.nav-item:hover {
  background: #262231;
  color: #fff;
}
.nav-item.active {
  background: #7b40d7;
  color: #fff;
  box-shadow: 0 4px 12px #0002;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-count {
  font-size: 11px;
  margin-left: auto;
  min-width: 21px;
  padding: 2px 5px;
  background: #ffffff12;
  text-align: center;
  border-radius: 5px;
}
.nav-count.alert {
  background: #f1b954;
  color: #26180e;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 36px;
}
.preview-note {
  padding: 16px;
  border: 1px solid #3c354e;
  background: #221d31;
  border-radius: 10px;
  font-size: 12px;
}
.preview-note > svg {
  color: #b68af4;
  width: 18px;
  margin-bottom: 10px;
}
.preview-note strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.preview-note p {
  color: #a8a0bb;
  line-height: 1.65;
  margin: 8px 0;
}
.reset {
  font-size: 12px;
  color: #d1b2ff;
  padding: 4px 0;
}
.reset:hover {
  text-decoration: underline;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #332d40;
  margin-top: 20px;
  padding: 20px 8px 0;
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #383041;
  color: #ddccf4;
  font-size: 14px;
  font-weight: 650;
}
.profile strong {
  font-size: 13px;
}
.profile span {
  display: block;
  color: #9891a8;
  font-size: 11px;
  margin-top: 3px;
}
.shell {
  margin-left: 240px;
}
.preview-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #ede5fa;
  color: #65458d;
  padding: 9px 36px;
  font-size: 12px;
  letter-spacing: 0.1px;
}
.preview-bar b {
  font-size: 10px;
  margin-right: 12px;
  letter-spacing: 1.2px;
}
.preview-right {
  color: #806993;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 36px;
  gap: 18px;
}
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 14px;
  color: #c0bfca;
}
.breadcrumb strong {
  color: #353342;
  font-weight: 500;
}
.role-control {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.segmented {
  display: flex;
  border: 1px solid var(--border);
  background: #f6f6f9;
  border-radius: 8px;
  padding: 3px;
}
.segmented button {
  font-size: 12px;
  padding: 7px 15px;
  border-radius: 5px;
}
.segmented button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 4px #2920381a;
  color: var(--purple);
  font-weight: 650;
}
main {
  padding: 31px 36px 20px;
  max-width: 1580px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 10px;
  color: #858195;
  font-weight: 650;
  letter-spacing: 1.5px;
  margin-bottom: 9px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: "Manrope", sans-serif;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 800;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}
.button {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button.primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 3px 7px #753cce18;
}
.button.primary:hover {
  background: #6325c5;
}
.button.secondary {
  background: white;
  border-color: #dedce7;
  color: #50495e;
}
.button.secondary:hover {
  background: #f6f2fc;
}
.button.small {
  padding: 7px 11px;
  min-height: 34px;
  font-size: 12px;
}
.button svg {
  width: 17px;
  height: 17px;
}
.date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  font-size: 13px;
  color: #797687;
}
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #696374;
}
.date-pill svg {
  width: 15px;
  height: 15px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.metric {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  padding: 20px;
  min-height: 143px;
}
.metric.featured {
  background: #2d1e47;
  border-color: #2d1e47;
  color: #fff;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: #727081;
  gap: 8px;
}
.metric.featured .metric-top {
  color: #d0c2e2;
}
.metric-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #f4f0fa;
  color: #8a63b1;
  border-radius: 8px;
}
.metric-icon svg {
  width: 16px;
  height: 16px;
}
.metric.featured .metric-icon {
  background: #ffffff10;
  color: #ceabff;
}
.metric-value {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 13px 0 7px;
  font-variant-numeric: tabular-nums;
}
.metric-value small {
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  color: #8a8596;
}
.metric-sub {
  font-size: 12px;
  color: #8b8494;
}
.metric.featured .metric-sub {
  color: #baa9d0;
}
.metric-sub .positive {
  color: var(--green);
  font-weight: 500;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
  gap: 22px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 23px 0;
  gap: 15px;
}
.card-head h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.2px;
  margin-bottom: 5px;
}
.card-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1.2;
  border-radius: 5px;
  padding: 5px 7px;
  background: #f3eefb;
  color: #795ba0;
  white-space: nowrap;
}
.tag svg {
  width: 12px;
  height: 12px;
}
.tag.green {
  background: #edf7f1;
  color: #348565;
}
.tag.amber {
  background: #fff4df;
  color: #99681d;
}
.tag.gray {
  background: #f2f2f5;
  color: #7d7886;
}
.chart-body {
  padding: 18px 23px 0;
}
.chart-key {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.chart-total {
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  letter-spacing: -0.6px;
  font-weight: 750;
}
.chart-legend {
  font-size: 11px;
  color: #8d8398;
  align-self: center;
}
.chart-legend:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
  background: #9859e3;
  margin-right: 7px;
}
.chart-svg {
  width: 100%;
  height: 185px;
  overflow: visible;
  stroke: none;
}
.chart-svg text {
  font:
    11px "DM Sans",
    sans-serif;
  fill: #a5a0ae;
  stroke: none;
}
.chart-footer {
  padding: 13px 23px;
  border-top: 1px solid #f0eef4;
  display: flex;
  gap: 26px;
  font-size: 12px;
  color: #898292;
  margin-top: 9px;
}
.chart-footer strong {
  color: #4d455b;
  font-weight: 600;
  margin-left: 7px;
}
.side-stack,
.main-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.accounts {
  padding: 4px 22px 9px;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  border-bottom: 1px solid #f0eef4;
}
.account:last-child {
  border-bottom: 0;
}
.account-icon {
  height: 35px;
  width: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f1eef8;
  color: #796199;
  font-size: 12px;
  font-weight: 650;
}
.account-icon.b {
  background: #eef4fb;
  color: #5a7fa2;
}
.account-name {
  font-size: 13px;
  font-weight: 550;
}
.account-name small {
  display: block;
  color: #a29aaa;
  font-size: 11px;
  margin-top: 4px;
  font-weight: 400;
}
.account-amount {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stock-summary {
  margin: 0 22px 21px;
  border-radius: 8px;
  background: #f8f7fb;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #84748f;
}
.stock-summary svg {
  width: 18px;
}
.stock-summary strong {
  margin-left: auto;
  font-size: 14px;
  color: #443653;
}
.attention {
  background: #fffcf5;
  border-color: #f0e5ce;
}
.attention .card-head {
  padding-bottom: 0;
}
.attention .card-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.attention .card-head h2 svg {
  width: 17px;
  height: 17px;
  color: #bb852b;
}
.attention-body {
  padding: 18px 23px 22px;
}
.attention-body p {
  font-size: 13px;
  line-height: 1.7;
  color: #82755c;
  margin-bottom: 17px;
}
.attention-ref {
  font-size: 12px;
  font-weight: 600;
  color: #705b35;
  margin-bottom: 5px;
}
.attention .button {
  width: 100%;
  background: #fff;
  border-color: #e7d8b9;
  color: #806129;
  box-shadow: none;
}
.text-button {
  color: var(--purple);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  padding: 5px 0;
}
.text-button:hover {
  text-decoration: underline;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 13px;
}
th {
  padding: 13px 23px;
  font-weight: 500;
  color: #9790a0;
  background: #fcfbfe;
  font-size: 11px;
  border-top: 1px solid #f0edf5;
  border-bottom: 1px solid #f0edf5;
}
td {
  padding: 15px 23px;
  border-bottom: 1px solid #f0edf5;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fdfbff;
}
.table-wrap {
  margin-top: 19px;
}
.ref-button {
  font-size: 12px;
  font-weight: 600;
  color: #494157;
  padding: 0;
}
.ref-button:hover {
  color: var(--purple);
}
.customer-small {
  font-size: 11px;
  color: #aaa1b2;
  display: block;
  margin-top: 4px;
}
.number {
  font-variant-numeric: tabular-nums;
  font-weight: 550;
}
.time {
  font-size: 12px;
  color: #9a90a3;
}
.amount-cell small {
  display: block;
  color: #9f95a8;
  font-size: 11px;
  font-weight: 400;
  margin-top: 4px;
}
.row-arrow {
  padding: 5px;
  color: #9d90ac;
}
.row-arrow svg {
  width: 15px;
  height: 15px;
}
.table-bottom {
  border-top: 1px solid #f0edf5;
  padding: 13px 23px;
  font-size: 11px;
  color: #9d94a6;
}
.timeline {
  padding: 19px 23px 10px;
}
.timeline-item {
  position: relative;
  padding: 0 0 24px 25px;
  border-left: 1px solid #e9e2f1;
  margin-left: 7px;
}
.timeline-item:last-child {
  border: 0;
}
.timeline-item:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: #bca4d9;
  border: 3px solid #f8f4fc;
  box-sizing: content-box;
  border-radius: 50%;
  left: -7px;
  top: 1px;
}
.timeline-item strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
  color: #5a5067;
}
.timeline-item p {
  font-size: 11px;
  line-height: 1.7;
  color: #9c91a6;
  margin: 4px 0;
}
.timeline-item time {
  font-size: 10px;
  color: #b1a6ba;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}
.search {
  position: relative;
  max-width: 340px;
  flex: 1;
}
.search svg {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 17px;
  color: #96899f;
}
.search input {
  padding-left: 38px;
  margin: 0;
  background: #fff;
  font-size: 13px;
}
.toolbar select {
  max-width: 190px;
  margin: 0;
  font-size: 13px;
  background: #fff;
}
.stats-inline {
  font-size: 13px;
  color: #8b7e97;
  margin: 20px 0;
}
.stats-inline strong {
  color: #594268;
  margin-right: 3px;
}
.correction-list {
  display: grid;
  gap: 18px;
}
.proposal {
  padding: 23px;
}
.proposal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.proposal-top h2 {
  font-size: 16px;
  margin: 0 0 5px;
}
.proposal-top p {
  font-size: 12px;
  color: #95869e;
  margin: 0;
}
.allocation-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.allocation-panel {
  padding: 15px 17px;
  border: 1px solid #eee8f5;
  border-radius: 8px;
  background: #fbfafd;
}
.allocation-panel.corrected {
  border-color: #dacaed;
  background: #f7f1ff;
}
.allocation-panel h3 {
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #9886a8;
  margin: 0 0 13px;
}
.allocation-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  margin: 9px 0;
}
.reason {
  font-size: 13px;
  line-height: 1.7;
  color: #77677f;
  margin-bottom: 19px;
}
.reason strong {
  display: block;
  font-size: 11px;
  color: #9989a2;
  margin-bottom: 4px;
}
.proposal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #eee8f3;
  padding-top: 16px;
}
.proposal-footer small {
  font-size: 12px;
  color: #8d7e97;
}
.proposal-actions {
  display: flex;
  gap: 8px;
}
.empty {
  text-align: center;
  padding: 60px 25px;
  color: #998da2;
}
.empty > svg {
  width: 32px;
  height: 32px;
  color: #b496cf;
  margin-bottom: 15px;
}
.empty h3 {
  font-size: 16px;
  color: #665471;
  margin: 0 0 8px;
}
.empty p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.audit-table td {
  white-space: normal;
  min-width: 140px;
  vertical-align: top;
  line-height: 1.6;
}
.audit-table td:nth-child(2) {
  min-width: 250px;
}
.admin-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f1eafa;
  border: 1px solid #dfd1ef;
  padding: 16px 19px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 14px;
  color: #73568d;
}
.admin-banner svg {
  width: 22px;
  height: 22px;
}
.admin-banner strong {
  display: block;
  color: #533768;
  margin-bottom: 4px;
}
.admin-banner p {
  font-size: 13px;
  margin: 0;
}
.sheet {
  padding: 0;
  border: 0;
  border-left: 1px solid #e9e4ef;
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(530px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  color: inherit;
  background: #fff;
  box-shadow: -12px 0 60px #17112018;
}
.sheet[open] {
  display: flex;
  flex-direction: column;
}
.sheet::backdrop,
.modal::backdrop {
  background: #19102570;
  backdrop-filter: blur(2px);
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 27px;
  border-bottom: 1px solid var(--border);
  gap: 18px;
}
.sheet-header h2 {
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.5px;
  margin: 0;
}
.sheet-header .eyebrow {
  font-size: 10px;
  margin-bottom: 7px;
}
.icon-button {
  padding: 7px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #998ba4;
}
.icon-button:hover {
  background: #f1eafa;
}
.steps {
  padding: 20px 27px;
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--border);
  color: #b0a4b9;
  font-size: 12px;
}
.steps b {
  font-weight: 500;
  margin-left: 6px;
}
.steps .current {
  color: var(--purple);
  font-weight: 650;
}
.sheet form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.sheet-body {
  padding: 24px 27px;
  overflow-y: auto;
  flex: 1;
}
.sheet-body h3 {
  font-size: 15px;
  margin: 26px 0 16px;
  font-weight: 650;
}
.sheet-body h3:first-child {
  margin-top: 0;
}
.sheet-footer {
  padding: 20px 27px;
  border-top: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.sheet-footer > div {
  display: flex;
  gap: 12px;
}
.sheet-footer small {
  color: #a293ac;
  font-size: 11px;
  line-height: 1.5;
}
.sheet-footer .button {
  flex: 1;
}
.sheet-footer > button {
  width: 100%;
}
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f7f3fc;
  border: 1px solid #eae0f5;
  border-radius: 9px;
  padding: 13px;
  color: #8b6faa;
}
.info-box svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.info-box p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.info-box strong {
  display: block;
  font-weight: 550;
  color: #6f508e;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #766680;
  margin-bottom: 17px;
}
label > span {
  font-weight: 400;
  color: #a495ae;
  margin-left: 3px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #e4dcea;
  border-radius: 7px;
  color: #4a3b54;
  background: #fff;
  display: block;
  margin-top: 7px;
  font-size: 14px;
  min-height: 42px;
}
input::placeholder,
textarea::placeholder {
  color: #b3a7bc;
  font-weight: 400;
}
textarea {
  resize: vertical;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.calculation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px;
  background: #f7f4fc;
  border-radius: 8px;
  color: #947ca8;
  font-size: 12px;
}
.calculation strong {
  font-size: 19px;
  color: #683ca3;
  letter-spacing: -0.4px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 22px 0 12px;
}
.checkbox-label input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--purple);
}
.checkbox-label span {
  font-size: 12px;
  line-height: 1.7;
  color: #82708e;
}
.form-error {
  color: #bd434b;
  font-size: 12px;
  margin: 10px 0;
  line-height: 1.6;
}
.review-amount {
  text-align: center;
  background: #f7f3fc;
  padding: 26px;
  border-radius: 11px;
  margin-bottom: 24px;
}
.review-amount span {
  font-size: 12px;
  color: #a38bb7;
  display: block;
}
.review-amount strong {
  font-family: "Manrope", sans-serif;
  font-size: 31px;
  letter-spacing: -1px;
  display: block;
  margin: 10px 0;
  color: #6e3daa;
}
.detail-list {
  margin: 0;
}
.detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #f1eaf6;
  font-size: 13px;
  line-height: 1.5;
}
.detail-list dt {
  color: #9b8aa8;
}
.detail-list dd {
  margin: 0;
  text-align: right;
  color: #5b436c;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.detail-note {
  font-size: 13px;
  line-height: 1.8;
  color: #8e7b9d;
  padding: 15px;
  background: #faf7fd;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.modal {
  border: 0;
  border-radius: 14px;
  width: min(480px, calc(100% - 28px));
  padding: 0;
  max-height: 90dvh;
  color: inherit;
  box-shadow: 0 30px 90px #17112033;
}
.modal .sheet-header h2 {
  font-size: 19px;
}
.modal .sheet-footer {
  flex-direction: row;
}
.modal .sheet-body {
  max-height: 60vh;
}
.decision-summary {
  font-size: 14px;
  color: #8d789c;
  line-height: 1.8;
}
.decision-summary strong {
  color: #623e7b;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  background: #2e2040;
  color: white;
  padding: 15px 22px;
  border-radius: 10px;
  box-shadow: 0 8px 30px #27173533;
  z-index: 50;
  font-size: 13px;
  max-width: calc(100% - 40px);
  line-height: 1.6;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #b0a7b9;
  font-size: 10px;
  margin: 28px 0 5px;
  letter-spacing: 0.5px;
}
footer b {
  font-weight: 400;
  margin-left: 5px;
  color: #c0b6c8;
}
tr button {
  border-radius: 4px;
}
@media (min-width: 1500px) {
  .metric-value {
    font-size: 31px;
  }
  .metric {
    padding: 24px;
  }
  .chart-svg {
    height: 210px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 215px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .shell {
    margin-left: 215px;
  }
  .topbar,
  .preview-bar {
    padding-left: 24px;
    padding-right: 24px;
  }
  main {
    padding: 26px 24px 20px;
  }
  .metric-grid {
    gap: 11px;
  }
  .metric {
    padding: 16px;
  }
  .metric-value {
    font-size: 23px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
    gap: 16px;
  }
  .card-head {
    padding: 19px 18px 0;
  }
  td,
  th {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand {
    font-size: 23px;
  }
  .nav-item {
    font-size: 13px;
  }
  .chart-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 950px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .side-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .side-stack .activity-card {
    grid-column: 1/-1;
  }
  .timeline {
    display: flex;
    gap: 20px;
  }
  .timeline-item {
    flex: 1;
  }
  .preview-right {
    display: none;
  }
  .role-control > span {
    display: none;
  }
  .metric-value {
    font-size: 29px;
  }
  .metric {
    min-height: 133px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: relative;
    width: 100%;
    padding: 17px 20px 0;
    display: block;
  }
  .brand {
    display: block;
    margin: 0 0 17px;
    font-size: 22px;
    line-height: 1;
  }
  .brand em {
    display: none;
  }
  .workspace-label,
  .nav-heading,
  .sidebar-bottom {
    display: none;
  }
  nav {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .nav-item {
    width: auto;
    flex: 1;
    padding: 11px 10px;
    gap: 7px;
    justify-content: center;
    font-size: 12px;
    border-radius: 7px;
  }
  .nav-item svg {
    width: 15px;
    height: 15px;
  }
  .nav-count {
    display: none;
  }
  .shell {
    margin-left: 0;
  }
  .preview-bar {
    padding: 8px 20px;
    font-size: 11px;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .breadcrumb span {
    margin: 0 9px;
  }
  .segmented button {
    font-size: 11px;
    padding: 6px 12px;
  }
  main {
    padding: 25px 18px 20px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 12px;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.6;
    max-width: 250px;
  }
  .page-heading .button {
    padding: 10px;
    font-size: 12px;
    min-height: 38px;
    margin-top: 18px;
  }
  .page-heading .button svg {
    width: 14px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .metric-grid {
    gap: 11px;
  }
  .metric {
    padding: 16px;
    min-height: 136px;
  }
  .metric-value {
    font-size: 25px;
  }
  .metric-top {
    font-size: 12px;
  }
  .metric-sub {
    font-size: 11px;
  }
  .metric-icon {
    width: 26px;
    height: 26px;
  }
  .date-row {
    font-size: 11px;
  }
  .side-stack {
    grid-template-columns: 1fr;
  }
  .timeline {
    display: block;
  }
  .side-stack .activity-card {
    grid-column: auto;
  }
  .chart-svg {
    height: 165px;
  }
  .chart-footer {
    gap: 15px;
    padding-left: 18px;
    font-size: 11px;
  }
  .card-head h2 {
    font-size: 15px;
  }
  .chart-total {
    font-size: 22px;
  }
  .toolbar {
    gap: 10px;
  }
  .toolbar select {
    max-width: 140px;
    font-size: 12px;
  }
  .search input {
    font-size: 12px;
  }
  footer {
    font-size: 9px;
    letter-spacing: 0;
  }
  .proposal {
    padding: 19px;
  }
  .allocation-compare {
    gap: 9px;
  }
  .allocation-panel {
    padding: 12px;
  }
  .allocation-row {
    font-size: 12px;
    gap: 8px;
  }
  .proposal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .proposal-actions {
    width: 100%;
  }
  .proposal-actions .button {
    flex: 1;
  }
  .proposal-top {
    align-items: flex-start;
  }
  .proposal-top h2 {
    font-size: 14px;
  }
  .proposal-top .tag {
    font-size: 10px;
  }
  .sheet-header,
  .sheet-body,
  .sheet-footer {
    padding: 22px;
  }
  .steps {
    padding: 17px 22px;
  }
  .field-pair {
    gap: 12px;
  }
  #toast {
    left: 50%;
    bottom: 18px;
    width: max-content;
  }
  .admin-banner {
    font-size: 12px;
  }
  .admin-banner p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Kapal / Solo directory: real names, explicitly unknown financial values. */
[hidden] { display: none !important; }
.party-summary { display:grid; grid-template-columns:repeat(3,minmax(90px,1fr)) 2fr; gap:20px; margin-bottom:24px; padding:24px; border:1px solid var(--border); border-radius:16px; background:white; }
.party-summary > div { display:flex; flex-direction:column; gap:8px; }
.party-summary span { font-size:14px; color:var(--muted); }
.party-summary strong { font-size:30px; letter-spacing:-1px; }
.party-summary .party-summary-note { flex-direction:row; align-items:center; border-left:1px solid var(--border); padding-left:24px; gap:12px; }
.party-summary-note svg,.party-footnote svg { width:22px; height:22px; flex:none; stroke:var(--purple); fill:none; stroke-width:1.7; }
.party-summary-note p,.party-footnote p { font-size:14px; line-height:1.6; margin:0; color:var(--muted); }
.party-summary-note strong { font-size:14px; letter-spacing:0; font-weight:600; color:#39324a; }
.party-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:20px 24px; border-bottom:1px solid var(--border); }
.party-toolbar label { margin:0; }
.party-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.party-tabs button { display:flex; align-items:center; gap:8px; padding:10px 14px; border:0; border-radius:9px; background:transparent; color:#626173; font-family:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.party-tabs button[aria-pressed=true] { color:#682bbd; background:#f1eafd; }
.party-tabs button span { padding:2px 6px; border-radius:5px; background:#ececf1; font-size:12px; }
.party-tabs button[aria-pressed=true] span { background:#e2d2fa; }
.party-name { white-space:normal; text-align:left; line-height:1.5; }
.party-missing { font-size:14px; color:#727386; }
.party-kapal { background:#ede5fc; color:#6834ad; }
.party-solo { background:#e7f0fa; color:#2a5a89; }
.party-footnote { display:flex; gap:10px; margin-top:16px; align-items:flex-start; }
#party-dialog-title { overflow-wrap:anywhere; }
.party-table { min-width:660px; }
@media(max-width:800px) { .party-summary { grid-template-columns:repeat(3,1fr); gap:16px; padding:18px; } .party-summary .party-summary-note { grid-column:1/-1; padding:16px 0 0; border-left:0; border-top:1px solid var(--border); } .party-toolbar { padding:16px; gap:14px; } .party-toolbar .search { width:100%; } }
.account-directory-summary { display:flex; gap:14px; flex-wrap:wrap; align-items:center; margin-bottom:24px; font-size:14px; color:var(--muted); }
.account-directory { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.account-group-title { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.account-group-title h2 { font-size:17px; margin:0; }
.account-group-title > span { color:var(--muted); font-size:14px; }
.account-group-items { display:grid; gap:12px; }
.account-master-card { display:flex; text-align:left; align-items:center; gap:14px; width:100%; padding:20px; background:white; color:inherit; border:1px solid var(--border); border-radius:14px; cursor:pointer; font-family:inherit; }
.account-master-card:hover { border-color:#b499d8; background:#fdfbff; }
.account-master-icon { display:grid; place-items:center; flex:none; width:44px; height:44px; border-radius:11px; background:var(--purple-light); color:var(--purple); }
.account-master-card svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; flex:none; }
.account-master-body { display:grid; gap:7px; flex:1; min-width:0; }
.account-master-body strong { font-size:16px; overflow-wrap:anywhere; }
.account-master-body span { font-size:14px; color:var(--muted); }
.account-master-body small { color:var(--muted); font-size:12px; }
.master-overview { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin:0 0 24px; padding:18px 22px; background:#fff; border:1px solid var(--border); border-radius:13px; }
.master-overview > div:first-child { display:grid; gap:6px; }
.master-overview strong { font-size:14px; }
.master-overview span { font-size:14px; color:var(--muted); }
.master-overview > div:last-child { display:flex; gap:18px; flex-wrap:wrap; }
@media(max-width:760px) { .account-directory { grid-template-columns:1fr; } .account-master-card { padding:16px; } }

/* Operations workspace */
.ops-topline{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px;color:#655d73;font-size:14px;flex-wrap:wrap}.ops-shift-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#24143e;color:#fff;padding:24px 28px;border-radius:16px;margin-bottom:22px}.ops-shift-banner h2{font-size:23px;margin:8px 0}.ops-shift-banner p{color:#ddd2ed;font-size:15px;margin:0}.ops-shift-banner .eyebrow{color:#c6a4ff}.ops-shift-banner .text-button{color:#f0e6ff;white-space:nowrap}.ops-number{display:block;font-size:25px;line-height:1.25;margin:16px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metric small{color:#6e637e;font-size:14px}.ops-two{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.ops-card{margin-bottom:22px}.ops-pad,.ops-readiness{padding:22px}.ops-pad p,.ops-readiness p,.ops-detail p{font-size:16px;line-height:1.6;color:#655d73}.ops-pad h3{font-size:20px;margin-top:0}.ops-empty{padding:30px 24px;text-align:center;color:#6a6078}.ops-empty strong{font-size:18px;color:#32243e}.ops-empty p{font-size:16px;line-height:1.6;max-width:600px;margin:10px auto}.ops-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ops-tasks{padding:8px 22px}.ops-tasks button{width:100%;display:flex;justify-content:space-between;gap:24px;padding:20px 0;background:none;border:0;border-bottom:1px solid #eee8f4;text-align:left;font:inherit;color:#42364f;cursor:pointer}.ops-tasks button strong{color:#6b29b5}.ops-form{display:grid;gap:18px}.ops-form label,.toolbar label{display:grid;gap:8px;font-size:14px;font-weight:600}.ops-form input,.ops-form select,.ops-form textarea,.toolbar input[type=date]{padding:12px;border:1px solid #d8d0e2;border-radius:8px;font:inherit;color:#32283e;background:white;width:100%;box-sizing:border-box}.ops-form textarea{resize:vertical}.ops-connections{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px}.ops-connections strong{display:block;margin-bottom:12px}.ops-connections p{font-size:15px;line-height:1.6;color:#6a6078}.ops-activity>div{padding:12px 0;border-bottom:1px solid #eee7f4}.ops-activity span{display:block;color:#766782;font-size:14px;margin-top:6px}.ops-activity p{margin:6px 0}.ops-card table td p{max-width:320px;white-space:normal;margin:5px 0;color:#6c6379;font-size:14px}.ops-card td .button{font-size:14px;padding:8px 12px;margin:4px 0}.ops-detail .ops-actions{margin-top:22px}.sidebar{overflow-y:auto}.sidebar .nav-item{padding-top:10px;padding-bottom:10px}.sidebar-bottom{margin-top:24px}.ops-card .card-head{gap:16px;flex-wrap:wrap}.ops-card .table-wrap{overflow:auto}.ops-card table{min-width:640px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ad80e4;outline-offset:3px}
@media(max-width:1000px){.ops-two{grid-template-columns:1fr}.ops-connections{grid-template-columns:1fr}.ops-number{font-size:22px}}
@media(max-width:700px){.ops-shift-banner{padding:20px;align-items:flex-start;flex-direction:column}.ops-shift-banner h2{font-size:21px}.ops-pad{padding:18px}.ops-topline{font-size:14px}.nav-item{flex:0 0 auto}.ops-actions .button{white-space:normal}.toolbar{align-items:flex-end;flex-wrap:wrap}.ops-card .card-head{padding:18px}.ops-number{font-size:23px}}

.ops-id{overflow-wrap:anywhere}.ops-card .customer-small{overflow-wrap:anywhere;max-width:300px}

.ops-daily-key{display:flex;gap:22px;padding:20px 24px 0;font-size:14px;color:#8139c5}.ops-daily-key span+span{color:#5b6074}.ops-daily{display:flex;gap:12px;padding:18px 24px;overflow-x:auto}.ops-day{flex:1;min-width:90px;border:0;background:transparent;color:#594b68;cursor:pointer;font:inherit}.ops-day small{display:block;font-size:12px;margin-top:7px}.ops-bars{height:150px;position:relative;border-bottom:1px solid #eee5f5;margin-bottom:12px}.ops-bars:before{content:'';position:absolute;left:0;right:0;top:50%;border-top:1px dashed #dbd1e7}.ops-bar{width:22%;position:absolute;left:23%;border-radius:4px;background:#8a48ce}.bar-1{left:52%;background:#626878}.ops-bar.up{bottom:50%}.ops-bar.down{top:50%;background:#b04972}.bar-1.down{background:#7c6674}

/* Release 0.5 operational views */
.release-stamps{display:flex;flex-wrap:wrap;gap:10px 24px;background:#f2f5fa;border:1px solid #e1e6ee;border-radius:12px;padding:13px 16px;margin-bottom:20px;font-size:12px;color:#52627b}
.release-stamps b{font-weight:600;color:#243249}.release-summary{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font:inherit}#ops-fields textarea[readonly]{font-family:monospace;word-break:break-all}#ops-fields select{max-width:100%}.table-wrap td .button{margin:3px 3px 3px 0}.table-wrap{max-width:100%;overflow-x:auto}.ops-number{overflow-wrap:anywhere}.ops-form input,.ops-form select,.ops-form textarea{max-width:100%}.toolbar{flex-wrap:wrap}.nav-item{min-height:42px}@media(max-width:700px){.release-stamps{display:grid;gap:8px}.ops-actions{flex-wrap:wrap}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-number{font-size:21px}.toolbar>label{width:100%}.toolbar input{width:100%}.table-wrap table{min-width:590px}}

.split-payment{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;border-top:1px solid #e4e8ec;padding:12px 0}.split-payment button{grid-column:1/-1}#split-payments{border:1px solid #dce4e6;border-radius:12px;padding:16px;grid-column:1/-1}.ops-daily{overflow-x:auto}.release-summary{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}@media(max-width:680px){.split-payment{grid-template-columns:1fr}}

.ops-card table.compact-table{min-width:0;width:100%;table-layout:fixed}.compact-table th:first-child,.compact-table td:first-child{width:62%;white-space:normal;overflow-wrap:anywhere}.compact-table th:last-child,.compact-table td:last-child{width:38%;text-align:right;white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){.compact-table th,.compact-table td{padding-left:14px;padding-right:14px;font-size:13px}.compact-table th:first-child,.compact-table td:first-child{width:57%}.compact-table th:last-child,.compact-table td:last-child{width:43%}}
