:root {
  --ink: #2f3d35;
  --muted: #657165;
  --paper: #e3edda;
  --card: #fbfcf7;
  --sage: #a5b992;
  --sage-bright: #cfe0bd;
  --teal: #318f9a;
  --aqua: #62b8af;
  --lavender: #7b637b;
  --coral: #d78468;
  --cream: #f6f8ef;
  --soft-cream: #eadcc0;
  --line: rgba(47, 61, 53, .16);
  --shadow: 0 18px 55px rgba(47, 61, 53, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 6%, rgba(98, 184, 175, .32), transparent 28%),
    radial-gradient(circle at 34% 32%, rgba(165, 185, 146, .45), transparent 30%),
    var(--paper);
  font-family: Montserrat, Manrope, sans-serif;
  letter-spacing: .01em;
}

button, textarea { font: inherit; }
button { cursor: pointer; }

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 30px 22px;
  background: linear-gradient(180deg, #f7f9ee, #d5e4c7);
  border-right: 1px solid rgba(47, 61, 53, .13);
  overflow: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font: 600 28px Outfit, sans-serif;
}

.brand span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: #244a63;
  color: var(--cream);
}

.finance-dashboard .brand {
  align-items: center;
  gap: 14px;
  font-size: 24px;
  line-height: 1.05;
}

.finance-dashboard .brand strong {
  max-width: 190px;
}

.sidebar-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.quick-links {
  display: grid;
  gap: 10px;
}

.quick-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(239, 229, 207, .34);
  border-radius: 16px;
  background: rgba(239, 229, 207, .86);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.quick-links a:hover {
  background: #eadcc0;
  color: var(--teal);
}

.reminder-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 20px;
  background: var(--teal);
  color: white;
}

.reminder-card .eyebrow {
  color: rgba(255,255,255,.72);
}

.reminder-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.reminder-card p:not(.eyebrow) {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  line-height: 1.55;
}

.page {
  width: 100%;
  padding: 30px 38px 90px;
}

.hero {
  margin-bottom: 24px;
}

h1, h2, h3 {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-weight: 600;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: .95;
}

h2 {
  font-size: 30px;
  line-height: 1.15;
}

h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.subhead, .note, .empty {
  color: var(--muted);
  line-height: 1.6;
}

.subhead {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow.teal {
  color: var(--teal);
}

.panel, .standup-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(251,252,247,.9);
  box-shadow: var(--shadow);
}

.standup-panel {
  padding: 28px;
  background: linear-gradient(135deg, #fbfcf7, #edf5e5);
}

.panel {
  padding: 26px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(98,184,175,.18);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.pill.urgent {
  background: rgba(215,132,104,.2);
  color: #a34f39;
}

.pill.good {
  background: rgba(165,185,146,.28);
  color: #516a3d;
}

.standup-grid, .top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.top-grid, #attention, #notion {
  margin-top: 20px;
}

.field-block {
  display: grid;
  gap: 10px;
}

.field-block span {
  font-size: 16px;
  font-weight: 900;
}

textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 2px solid rgba(49,143,154,.2);
  border-radius: 18px;
  background: white;
  color: var(--ink);
  padding: 17px;
  font-size: 16px;
  line-height: 1.55;
  outline: none;
}

textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(98,184,175,.18);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.primary {
  background: var(--teal);
  color: white;
}

.primary:hover {
  background: #267f89;
}

.secondary {
  border: 2px solid rgba(49,143,154,.22);
  background: white;
  color: var(--teal);
}

.full, .big-link {
  width: 100%;
  margin-top: 18px;
}

.task-list, .completed-list {
  display: grid;
  gap: 10px;
}

.task {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  font-size: 16px;
  line-height: 1.45;
}

.task input {
  width: 21px;
  height: 21px;
  accent-color: var(--teal);
}

.task.done span {
  color: #87927f;
  text-decoration: line-through;
}

.completed {
  padding: 13px 15px;
  border-radius: 15px;
  background: rgba(165,185,146,.2);
  font-size: 15px;
  line-height: 1.45;
}

.attention-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.attention-grid div {
  padding: 18px;
  border-radius: 18px;
  background: white;
}

.attention-grid strong, .attention-grid span {
  display: block;
}

.attention-grid strong {
  margin-bottom: 8px;
  font-size: 16px;
}

.attention-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.notion-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-board {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 250px;
  padding: 18px;
  border-radius: 20px;
  background: white;
}

.mini-board h3 {
  color: var(--teal);
  margin-bottom: 4px;
}

.mini-board a, .calendar-list a {
  display: block;
  padding: 12px 13px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.mini-board a:hover, .calendar-list a:hover {
  background: rgba(98,184,175,.18);
  color: var(--teal);
}

.calendar-list {
  display: grid;
  gap: 10px;
}

.finance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  justify-content: flex-end;
  align-items: center;
}

.finance-actions .button {
  width: auto;
  margin-top: 0;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .04em;
  box-shadow: 0 12px 24px rgba(43,59,31,.12);
}

.xero-status-note {
  display: none;
}

.xero-notice {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(239, 229, 207, .94);
  border: 2px solid rgba(213, 191, 148, .70);
  color: #3f4638;
  font-family: Montserrat, Manrope, sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  box-shadow: 0 18px 40px rgba(43, 59, 31, .16);
}

.xero-notice.warning {
  background: rgba(228, 207, 104, .30);
  border-color: rgba(213, 191, 148, .88);
  color: #4f4631;
}

.xero-notice.error {
  background: rgba(215, 132, 104, .24);
  border-color: rgba(215, 132, 104, .54);
  color: #6f3526;
}

.xero-results {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.finance-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.finance-overview-stack {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
}

.finance-overview-card {
  background:
    radial-gradient(circle at 88% 0%, rgba(165, 185, 146, .22), transparent 32%),
    linear-gradient(145deg, rgba(239, 229, 207, .98), rgba(221, 231, 215, .88));
}

.cash-overview-card {
  border-color: rgba(109, 124, 101, .26);
}

.credit-overview-card {
  background:
    radial-gradient(circle at 10% 0%, rgba(95, 88, 80, .24), transparent 34%),
    linear-gradient(145deg, rgba(231, 224, 213, .98), rgba(190, 181, 168, .92));
  border-color: rgba(95, 88, 80, .38);
}

.bills-overview-card {
  grid-column: span 1;
  background:
    radial-gradient(circle at 90% 10%, rgba(228, 207, 104, .26), transparent 34%),
    linear-gradient(145deg, rgba(239, 229, 207, .98), rgba(229, 211, 178, .70));
  border-color: rgba(213, 191, 148, .42);
}

.report-card-heading {
  justify-content: center;
  margin-bottom: 14px;
}

.report-card-heading h2 {
  margin: 0;
  color: #3f4c3b;
  font: 700 clamp(28px, 2.8vw, 39px)/1.05 Outfit, Montserrat, sans-serif;
  letter-spacing: -.025em;
  text-align: center;
}

.credit-overview-card .report-card-heading h2 {
  color: #245f66;
}

.bills-overview-card .report-card-heading h2 {
  color: #665923;
}

.xero-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 248, 233, .92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(23, 37, 42, .08);
}

.xero-card strong {
  display: block;
  margin-bottom: 14px;
  color: #245f66;
  font-size: 28px;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.xero-card pre {
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  color: var(--ink);
  font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.xero-card p {
  margin: 0 0 8px;
  line-height: 1.5;
}

.source-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.source-line span {
  display: inline-flex;
  align-items: center;
}

.source-line span + span::before {
  content: "|";
  margin-right: 8px;
  color: var(--teal);
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.metric {
  padding: 16px;
  border-radius: 18px;
  background: var(--cream);
}

.metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font: 600 24px/1 Outfit, sans-serif;
  letter-spacing: -.02em;
}

.metric.featured {
  background: rgba(98, 184, 175, .18);
}

.metric.featured strong {
  color: var(--teal);
  font-size: 30px;
}

.metric.quiet {
  background: rgba(165,185,146,.16);
}

.ap-total {
  margin-bottom: 12px;
}

.finance-subsection {
  margin-top: 14px;
}

.finance-subsection h4 {
  margin: 0 0 12px;
  color: #245f66;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.finance-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finance-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(239, 229, 207, .78);
  border: 1px solid var(--line);
  line-height: 1.35;
}

.xero-row-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.xero-row-link .account-name,
.xero-row-link > strong,
.xero-heading-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color .16s ease, text-decoration-color .16s ease;
}

.xero-row-link:hover .account-name,
.xero-row-link:hover > strong,
.xero-row-link:focus-visible .account-name,
.xero-row-link:focus-visible > strong,
.xero-heading-link:hover,
.xero-heading-link:focus-visible {
  color: #167781;
  text-decoration-color: currentColor;
}

.xero-heading-link {
  color: inherit;
  text-decoration-thickness: 2px;
}

.cash-overview-card .finance-list li {
  background: rgba(221, 231, 215, .86);
  border-color: rgba(109, 124, 101, .18);
}

.credit-overview-card .finance-list li {
  background: rgba(232, 224, 211, .90);
  border-color: rgba(95, 88, 80, .24);
}

.bills-overview-card .finance-list li {
  background: rgba(228, 207, 104, .22);
  border-color: rgba(213, 191, 148, .35);
}

.bills-overview-card .finance-list li:nth-child(even) {
  background: rgba(229, 211, 178, .58);
}

.finance-list li.credit-card-row {
  display: grid;
  grid-template-columns: minmax(150px, .62fr) minmax(0, 2.1fr) minmax(92px, auto);
  gap: 12px 14px;
  align-items: start;
}

.finance-list li.bill-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
}

.finance-list li.bill-row .bill-due-row {
  grid-column: 1 / -1;
  grid-row: 2;
}

.finance-list li span {
  font-weight: 800;
}

.bill-due-row,
.credit-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0;
  min-width: 0;
}

.credit-card-row .credit-card-meta,
.bill-row .bill-due-row {
  justify-content: flex-start;
}

.credit-card-row strong {
  justify-self: end;
}

.credit-card-row strong.overpaid-balance {
  color: #2b3b1f;
  background: rgba(165, 185, 146, .42);
  border: 1px solid rgba(43, 59, 31, .16);
  border-radius: 999px;
  padding: 7px 11px;
}

.xero-date-pill,
.past-due-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(213, 191, 148, .62);
  color: #4f4631;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.past-due-date {
  background: rgba(228, 207, 104, .62);
  color: #665923;
}

.past-due-pill {
  background: rgba(228, 207, 104, .62);
  color: #665923;
}

.minimum-pill {
  background: rgba(165, 185, 146, .48);
  color: #2b3b1f;
}

.limit-pill {
  background: rgba(95, 104, 106, .22);
  color: #3f4647;
}

.recurring-pill {
  background: rgba(229, 211, 178, .52);
  color: #4f4631;
  border: 1px solid rgba(213, 191, 148, .30);
  border-radius: 16px;
  line-height: 1.35;
  text-transform: none;
}

.recurring-pill strong {
  color: #4f4631;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.recurring-pill i {
  color: rgba(79, 70, 49, .58);
  font-style: normal;
  margin: 0 4px;
}

.finance-list li em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.finance-list li strong {
  white-space: nowrap;
  color: var(--teal);
  font-size: 18px;
  font-weight: 900;
}

.finance-details {
  margin-top: 14px;
}

.finance-details summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 900;
}

.compact {
  margin: 0;
}

.finance-main-title {
  margin: 2px 0 18px;
  color: var(--teal);
  text-align: center;
  font-size: 38px;
  letter-spacing: .02em;
}

.summary-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(247, 240, 223, .28);
}

.summary-band span {
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.summary-band strong {
  margin: 0;
  color: inherit;
  font: 600 clamp(33px, 3.5vw, 48px)/1 Outfit, sans-serif;
  letter-spacing: -.03em;
}

.cash-band {
  background: linear-gradient(135deg, #6d7c65, #a5b992);
  color: #2f3d35;
}

.cash-band strong {
  color: #2f3d35;
}

.card-band {
  background: linear-gradient(135deg, #4b4742, #7a7065);
  color: var(--soft-cream);
}

.card-band strong {
  color: var(--soft-cream);
}

.calendar-list a span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 13px;
}

#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--teal);
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: .22s;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .page {
    width: 100%;
    padding: 34px 22px 80px;
  }

  .standup-grid, .top-grid, .notion-columns, .attention-grid, .finance-actions, .metric-grid {
    grid-template-columns: 1fr;
  }
}

body.finance-dashboard {
  --paper: #c7d7b8;
  --sage: #6d7c65;
  --sage-bright: #dbe8cf;
  background:
    radial-gradient(circle at 82% 8%, rgba(219, 232, 207, .18), transparent 30%),
    radial-gradient(circle at 28% 28%, rgba(109, 124, 101, .58), transparent 32%),
    linear-gradient(145deg, #8c9d7e, #6d7c65 55%, #526247);
}

.finance-page {
  padding-top: 24px;
}

.finance-dashboard .sidebar {
  background:
    radial-gradient(circle at 18% 8%, rgba(239, 229, 207, .12), transparent 28%),
    linear-gradient(180deg, #318f9a, #287d86 52%, #245f66);
  color: #4f5758;
}

.finance-dashboard .brand {
  margin-bottom: 18px;
}

.finance-dashboard .brand span {
  background: linear-gradient(135deg, #318f9a, #245f66);
  color: var(--soft-cream);
}

.finance-dashboard .brand strong {
  color: #f6f0df;
}

.finance-dashboard .side-date {
  background: rgba(239, 229, 207, .88);
  border-color: rgba(239, 229, 207, .34);
}

.finance-dashboard .side-date span {
  color: #4f5758;
}

.finance-dashboard .side-date strong {
  color: #318f9a;
}

.side-date {
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(239, 229, 207, .82);
  border: 1px solid rgba(239, 229, 207, .24);
  text-align: center;
}

.side-date span,
.side-date strong {
  display: block;
}

.side-date span {
  color: var(--muted);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.side-date strong {
  margin-top: 4px;
  color: var(--teal);
  font: 600 30px/1 Outfit, sans-serif;
  letter-spacing: -.03em;
}

.sidebar-feature {
  display: block;
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
  background: var(--teal);
  color: white;
  text-decoration: none;
}

.drive-feature {
  display: grid;
  gap: 13px;
  place-items: center;
  min-height: 142px;
  background: linear-gradient(145deg, #a5b992, #6d7c65);
  color: var(--cream);
  text-align: center;
}

.drive-feature p,
.drive-feature strong {
  margin: 0;
  color: #f6f0df;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.drive-feature span {
  width: 78%;
  height: 1px;
  background: rgba(246, 248, 239, .55);
}

.drive-feature:hover {
  background: linear-gradient(145deg, #8fa47e, #56664f);
}

.sidebar-feature .eyebrow {
  color: rgba(255,255,255,.72);
}

.sidebar-feature h3 {
  margin: 0 0 8px;
}

.sidebar-feature p:not(.eyebrow) {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  line-height: 1.55;
}

.finance-title-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  padding: 0;
}

.finance-title-strip .finance-actions {
  flex: 0 0 auto;
}

.finance-title-strip .finance-actions .button.secondary {
  background: rgba(233,242,240,.78);
  border-color: rgba(233,242,240,.42);
  color: #245f66;
}

.finance-title-strip .finance-actions .button.secondary:hover {
  background: rgba(233,242,240,.95);
  color: #1f555b;
}

.finance-title-strip .finance-actions .button.primary {
  background: #2b3b1f;
  color: var(--soft-cream);
}

.finance-title-strip .finance-actions .button.primary:hover {
  background: #3f5532;
}

.finance-title-strip h1 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: #f8fbf4;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  white-space: nowrap;
}

.finance-title-strip h1 span {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2b3b1f, #42513c);
  color: var(--soft-cream);
  font-size: 25px;
  letter-spacing: .02em;
  flex: 0 0 auto;
}

.finance-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.board-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: -10px 0 24px;
}

.sidebar .board-switcher {
  display: grid;
  justify-content: stretch;
  gap: 10px;
  margin: 0 0 22px;
}

.board-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(36, 95, 102, .18);
  border-radius: 999px;
  background: rgba(239, 229, 207, .74);
  color: #4f5758;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.sidebar .board-button {
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: 16px;
}

.board-button.a2 {
  background: #374247;
}

.board-button.finance {
  background: #6d7c65;
}

.board-button.marketing {
  background: #244a63;
  color: var(--soft-cream);
  border-color: rgba(239,229,207,.18);
}

.board-button.marketing:hover {
  background: #18384c;
  color: var(--soft-cream);
}

.finance-dashboard .quick-links a {
  border-color: rgba(79, 87, 88, .13);
  background: rgba(239, 229, 207, .78);
  color: #4f5758;
}

.finance-dashboard .quick-links a:hover {
  background: #efe5cf;
  color: #245f66;
  transform: translateY(-1px);
}

.board-button.notion-create {
  background: linear-gradient(135deg, #4f5758, #30383a);
  color: var(--soft-cream);
  border-color: rgba(239, 229, 207, .22);
}

.board-button.notion-create:hover {
  background: linear-gradient(135deg, #3f4749, #262d2f);
  color: var(--soft-cream);
}

.board-button.notion-projects {
  background: linear-gradient(135deg, #943424, #6f261a);
  color: var(--soft-cream);
  border-color: rgba(239, 229, 207, .22);
}

.board-button.notion-projects:hover {
  background: linear-gradient(135deg, #a6402d, #7d2b1e);
  color: var(--soft-cream);
}

.board-button.notion-directory {
  background: linear-gradient(135deg, #4d0011, #35000c);
  color: var(--soft-cream);
  border-color: rgba(239, 229, 207, .22);
}

.board-button.notion-directory:hover {
  background: linear-gradient(135deg, #650018, #430010);
  color: var(--soft-cream);
}

.board-button.notion-meeting {
  background: linear-gradient(135deg, #5f686a, #41494c);
  color: var(--soft-cream);
  border-color: rgba(239, 229, 207, .22);
}

.board-button.notion-meeting:hover {
  background: linear-gradient(135deg, #4f5758, #343b3d);
  color: var(--soft-cream);
}

.board-button:hover,
.board-button.active {
  filter: brightness(.94);
}

.button-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  color: currentColor;
}

.page-pencil-icon {
  width: 17px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.page-pencil-icon::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.page-pencil-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 1px;
  width: 11px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(-42deg);
  transform-origin: center;
}

.folder-icon {
  width: 20px;
  height: 15px;
  margin-top: 3px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.folder-icon::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -2px;
  width: 10px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: transparent;
}

.phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.finance-main,
.accounting-rail,
.finance-rail {
  min-width: 0;
}

.finance-rail {
  display: grid;
  gap: 20px;
}

.finance-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.placeholder-panel {
  background: rgba(251,252,247,.78);
}

.pnl-month-panel {
  margin-top: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(49, 143, 154, .13), transparent 30%),
    linear-gradient(145deg, rgba(239, 229, 207, .98), rgba(221, 231, 215, .88));
}

.pnl-month-heading {
  align-items: center;
  margin-bottom: 14px;
}

.pnl-month-heading h2 {
  margin: 0 0 8px;
  color: #245f66;
  font-size: clamp(31px, 3.2vw, 45px);
  letter-spacing: -.03em;
}

.pnl-month-heading p {
  margin: 0;
  color: #4f5758;
  font-size: 15px;
  font-weight: 650;
}

.pnl-month-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.pnl-month-kpi {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(49, 143, 154, .14);
  text-align: center;
}

.pnl-month-kpi:nth-child(2) {
  background: rgba(165, 185, 146, .26);
}

.pnl-month-kpi:nth-child(3) {
  background: rgba(43, 59, 31, .13);
}

.pnl-month-kpi span {
  color: #245f66;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pnl-month-kpi strong {
  color: #2b3b1f;
  font: 600 34px/1 Outfit, sans-serif;
  letter-spacing: -.04em;
}

.pnl-month-table-wrap {
  max-height: 620px;
  overflow: auto;
  padding: 0 12px 12px;
  border-radius: 24px;
  background: #dfe6d3;
  position: relative;
  isolation: isolate;
}

.pnl-month-sticky-bar {
  display: none;
}

.pnl-month-sticky-bar span {
  color: #245f66;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.pnl-month-sticky-bar span:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #d5bf94;
  text-align: left;
}

.pnl-month-table {
  border-collapse: collapse;
  table-layout: fixed;
  color: #4f5758;
  font-size: 14px;
  font-family: Montserrat, Manrope, sans-serif;
}

.pnl-month-table td:first-child,
.pnl-month-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 12;
  width: 230px;
}

.pnl-month-table thead {
  display: table-header-group;
}

.pnl-month-table th {
  position: sticky;
  top: 0;
  z-index: 45;
  padding: 12px 11px;
  border-bottom: 8px solid #dfe6d3;
  background: #d5bf94;
  box-shadow: 0 12px 18px rgba(23, 37, 42, .12);
  color: #245f66;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.pnl-month-table th:first-child {
  z-index: 60;
  background: #d5bf94;
  text-align: left;
}

.pnl-month-table td {
  padding: 11px;
  border-top: 4px solid #dfe6d3;
  border-bottom: 4px solid #dfe6d3;
  background: rgba(239, 229, 207, .74);
  text-align: right;
  font-weight: 600;
  line-height: 1.35;
}

.pnl-month-table td:first-child {
  border-left: 4px solid #dfe6d3;
  border-radius: 14px 0 0 14px;
  background: rgba(239, 229, 207, .96);
  color: #3f4c3b;
  text-align: left;
  font-weight: 650;
}

.pnl-month-table td:last-child {
  border-right: 4px solid #dfe6d3;
  border-radius: 0 14px 14px 0;
  color: #245f66;
  background: rgba(95, 104, 106, .20) !important;
  font-weight: 850;
}

.pnl-month-table tbody tr:not(.pnl-section-row):nth-child(even) td {
  background: rgba(229, 211, 178, .46);
}

.pnl-month-table tbody tr:not(.pnl-section-row):nth-child(even) td:first-child {
  background: rgba(229, 211, 178, .96);
}

.pnl-section-row td {
  padding: 14px 12px 7px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #245f66 !important;
  font-size: 15px;
  font-weight: 950 !important;
  letter-spacing: .08em;
  text-align: left !important;
  text-transform: uppercase;
}

.pnl-summary-row td {
  background: rgba(165, 185, 146, .36) !important;
  color: #2b3b1f;
  font-weight: 950 !important;
}

.pnl-expense-total-row td {
  background: rgba(49, 143, 154, .18) !important;
}

.pnl-net-row td {
  background: linear-gradient(135deg, rgba(43, 59, 31, .90), rgba(36, 95, 102, .88)) !important;
  color: var(--soft-cream) !important;
  font-size: 16px;
}

.pnl-net-row td:last-child {
  color: var(--soft-cream) !important;
  background: rgba(43, 59, 31, .82) !important;
}

.pnl-contact-panel {
  margin-top: 20px;
  background:
    radial-gradient(circle at 88% 0%, rgba(49, 143, 154, .14), transparent 30%),
    linear-gradient(145deg, rgba(239, 229, 207, .98), rgba(218, 228, 208, .86));
}

.pnl-contact-heading {
  align-items: center;
  margin-bottom: 12px;
}

.pnl-contact-heading h2 {
  margin: 0 0 8px;
  color: #245f66;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -.03em;
}

.pnl-contact-heading p {
  margin: 0;
  color: #4f5758;
  font-size: 15px;
  font-weight: 650;
}

.pnl-contact-total {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #245f66, #2b3b1f);
  color: var(--soft-cream);
}

.pnl-contact-total span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pnl-contact-total strong {
  color: var(--soft-cream);
  font: 600 clamp(34px, 3.8vw, 52px)/1 Outfit, sans-serif;
  letter-spacing: -.04em;
}

.pnl-contact-total p {
  margin: 0;
  color: rgba(255, 248, 233, .88);
  font-size: 15px;
  font-weight: 650;
  text-align: right;
}

.pnl-months,
.pnl-contact-grid {
  display: grid;
  gap: 12px;
}

.pnl-months {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
}

.pnl-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pnl-month-card,
.pnl-contact-group {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  text-align: center;
}

.pnl-month-card {
  background: rgba(49, 143, 154, .14);
  border: 1px solid rgba(49, 143, 154, .16);
}

.pnl-month-card:nth-child(2) {
  background: rgba(165, 185, 146, .26);
}

.pnl-month-card:nth-child(3) {
  background: rgba(79, 87, 88, .13);
}

.pnl-month-card span,
.pnl-contact-group h3 {
  color: #245f66;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pnl-month-card strong,
.pnl-contact-group strong {
  color: #2b3b1f;
  font: 600 31px/1 Outfit, sans-serif;
  letter-spacing: -.04em;
}

.pnl-month-card small,
.pnl-contact-group p {
  color: #4f5758;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.pnl-contact-group {
  background: rgba(255, 248, 233, .54);
  border: 1px solid rgba(49, 143, 154, .12);
}

.pnl-contact-group h3 {
  margin: 0;
}

.pnl-contact-group p {
  margin: 0;
}

.pnl-contact-list {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(43, 59, 31, .10);
}

.pnl-contact-list h3 {
  margin: 0 0 10px;
  color: #245f66;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.pnl-contact-list ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pnl-contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 248, 233, .82);
  color: #4f5758;
  font-weight: 800;
}

.pnl-contact-list li:nth-child(even) {
  background: rgba(229, 211, 178, .64);
}

.pnl-contact-row {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.1fr) minmax(360px, 1.9fr);
  align-items: center;
}

.pnl-contact-name {
  color: #465050;
}

.pnl-contact-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pnl-contact-months > span {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(226, 218, 197, .86);
  text-align: center;
}

.pnl-contact-months > span.current {
  background: rgba(49, 143, 154, .18);
}

.pnl-contact-months > span:nth-child(2) {
  background: rgba(165, 185, 146, .28);
}

.pnl-contact-months > span:nth-child(3) {
  background: rgba(79, 87, 88, .14);
}

.pnl-contact-months small {
  color: #4f5758;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pnl-contact-months strong {
  color: #2b3b1f !important;
  font-size: 20px !important;
  margin: 0 !important;
}

.software-snapshot-panel {
  margin-top: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(98, 184, 175, .10), transparent 26%),
    linear-gradient(145deg, rgba(239, 229, 207, .98), rgba(221, 231, 215, .90));
}

.snapshot-report-kpis .pnl-month-kpi {
  background: rgba(49, 143, 154, .12);
}

.snapshot-report-kpis .pnl-month-kpi:nth-child(2) {
  background: rgba(165, 185, 146, .24);
}

.snapshot-report-kpis .pnl-month-kpi:nth-child(3) {
  background: rgba(229, 211, 178, .54);
}

.snapshot-month-table-wrap {
  max-height: 620px;
}

.snapshot-month-sticky-bar {
  grid-template-columns: minmax(260px, 1.9fr) repeat(7, minmax(92px, 1fr));
}

.snapshot-month-table {
}

.snapshot-month-table td:first-child,
.snapshot-month-table th:first-child {
  width: 260px;
}

.snapshot-month-table td:first-child {
  display: grid;
  gap: 4px;
}

.snapshot-month-table td:first-child small {
  color: #687166;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.snapshot-heading {
  align-items: center;
  margin-bottom: 12px;
}

.snapshot-heading h2 {
  color: #245f66;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -.03em;
}

.snapshot-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.snapshot-meta .eyebrow {
  margin: 0;
  color: #2b3b1f;
}

.snapshot-period {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(49, 143, 154, .16);
  color: #245f66;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.snapshot-total {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2b3b1f, #42513c);
  color: var(--soft-cream);
}

.snapshot-total span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.snapshot-total strong {
  color: var(--soft-cream);
  font: 600 clamp(36px, 4vw, 56px)/1 Outfit, sans-serif;
  letter-spacing: -.04em;
}

.snapshot-total p {
  margin: 0;
  color: rgba(234, 220, 192, .86);
  font-size: 15px;
  font-weight: 650;
  text-align: right;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.snapshot-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.snapshot-month-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(49, 143, 154, .11);
  border: 1px solid rgba(49, 143, 154, .16);
  text-align: center;
}

.snapshot-month-card:nth-child(2) {
  background: rgba(165, 185, 146, .24);
}

.snapshot-month-card:nth-child(3) {
  background: rgba(215, 132, 104, .18);
}

.snapshot-month-card span {
  color: #245f66;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.snapshot-month-card strong {
  color: #2b3b1f;
  font: 600 34px/1 Outfit, sans-serif;
  letter-spacing: -.04em;
}

.snapshot-month-card small {
  color: #4f5758;
  font-size: 13px;
  font-weight: 750;
}

.snapshot-category {
  padding: 18px;
  border: 1px solid rgba(49, 143, 154, .14);
  border-radius: 22px;
  background: rgba(229, 211, 178, .70);
  text-align: center;
}

.snapshot-category h3,
.snapshot-vendor-list h3 {
  margin: 0 0 10px;
  color: #245f66;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.snapshot-category strong {
  display: block;
  color: #2b3b1f;
  font: 600 32px/1 Outfit, sans-serif;
  letter-spacing: -.03em;
}

.snapshot-category p {
  margin: 10px 0 0;
  color: #4f5758;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.snapshot-vendor-list {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(43, 59, 31, .10);
}

.snapshot-vendor-list h3 {
  text-align: center;
}

.snapshot-vendor-list ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.snapshot-vendor-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 248, 233, .88);
  color: #4f5758;
  font-weight: 800;
}

.snapshot-vendor-list li:nth-child(even) {
  background: rgba(229, 211, 178, .64);
}

.snapshot-vendor-list li strong {
  color: #318f9a;
  font-size: 18px;
  white-space: nowrap;
}

.snapshot-vendor-row {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.1fr) minmax(360px, 1.9fr);
  align-items: center;
}

.snapshot-vendor-name {
  color: #465050;
}

.snapshot-vendor-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.snapshot-vendor-months > span {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(226, 235, 221, .86);
  text-align: center;
}

.snapshot-vendor-months > span.current {
  background: rgba(49, 143, 154, .18);
}

.snapshot-vendor-months > span:nth-child(2) {
  background: rgba(165, 185, 146, .28);
}

.snapshot-vendor-months > span:nth-child(3) {
  background: rgba(215, 132, 104, .20);
}

.snapshot-vendor-months small {
  color: #4f5758;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.snapshot-vendor-months strong {
  color: #2b3b1f !important;
  font-size: 20px !important;
  margin: 0 !important;
}

.flash-panel {
  margin-top: 0;
  align-self: start;
  background:
    linear-gradient(135deg, rgba(251, 252, 247, .94), rgba(219, 232, 207, .88));
}

.flash-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
}

.flash-heading > div {
  width: 100%;
}

.flash-heading h2,
.flash-heading .flash-source {
  max-width: none;
  width: 100%;
}

.flash-date {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(79, 93, 73, .24);
  color: #2f3d35;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.flash-panel .eyebrow.teal {
  color: #4f5d49;
  font-size: 19px;
  letter-spacing: .09em;
}

.flash-source {
  font-size: 15px;
}

.flash-source strong {
  color: #2f3d35;
}

.flash-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.flash-metric {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(47, 61, 53, .12);
  border-radius: 22px;
  background: rgba(246, 248, 239, .86);
}

.flash-metric span {
  display: block;
  margin-bottom: 10px;
  color: #657165;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.flash-metric strong {
  display: block;
  color: #4f5d49;
  font: 600 clamp(25px, 2.5vw, 34px)/1 Outfit, sans-serif;
  letter-spacing: -.03em;
}

.flash-metric p {
  margin: 10px 0 0;
  color: #657165;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.flash-metric.hero-metric {
  background: rgba(109, 124, 101, .24);
}

.flash-metric.warning {
  background: rgba(215, 132, 104, .18);
}

.flash-metric.warning strong {
  color: #9b543e;
}

.flash-metric.quiet {
  background: rgba(165, 185, 146, .2);
}

.flash-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.flash-split section {
  padding: 18px;
  border-radius: 22px;
  background: rgba(246, 248, 239, .8);
  border: 1px solid rgba(47, 61, 53, .12);
}

.flash-split h3 {
  margin-bottom: 12px;
  color: #4f5d49;
}

.flash-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #3f4c3b;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.6;
  letter-spacing: .005em;
}

.flash-list li {
  font-weight: 560;
}

.marketing-parking li::marker {
  color: var(--teal);
}

.ap-band {
  background: linear-gradient(135deg, #d5bf94, #e4cf68);
  color: #4f431a;
}

.ap-band strong {
  color: #4f431a;
}

.finance-dashboard .mini-board {
  min-height: 0;
}

.accounting-rail {
  display: grid;
  align-content: start;
  gap: 20px;
}

.finance-task-signal-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, .95fr);
  align-items: start;
  gap: 20px;
  margin-top: 20px;
}

.finance-task-signal-row > * {
  align-self: start;
  margin-top: 0 !important;
}

.finance-accounting-task-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
  gap: 18px;
  min-height: 760px;
  margin-top: 0;
  padding: 22px;
  border: 1px solid rgba(239, 229, 207, .3);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 10%, rgba(239, 229, 207, .16), transparent 34%),
    linear-gradient(145deg, rgba(49, 143, 154, .92), rgba(36, 95, 102, .96));
  box-shadow: inset 0 1px 0 rgba(247, 240, 223, .22);
}

.finance-main > .finance-accounting-task-board {
  margin-top: 20px;
}

.finance-lower-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: start;
  gap: 20px;
  margin-top: 20px;
}

.finance-lower-report-row > * {
  align-self: start;
  margin-top: 0 !important;
}

.balance-sheet-panel {
  background:
    radial-gradient(circle at 10% 0%, rgba(49, 143, 154, .16), transparent 34%),
    linear-gradient(145deg, rgba(239, 229, 207, .98), rgba(221, 231, 215, .9));
}

.balance-sheet-kpis .balance-sheet-kpi {
  background: rgba(225, 213, 187, .82);
}

.balance-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 248, 233, .78);
  color: #2f3d35;
  font-family: Montserrat, Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.balance-equation strong {
  color: #245f66;
  font-weight: 850;
}

.balance-equation span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(165, 185, 146, .34);
  color: #2b3b1f;
  font-weight: 850;
}

.balance-equation b {
  color: #9f5945;
  font-size: 20px;
}

.balance-equation.is-off {
  background: rgba(215, 132, 104, .18);
}

.balance-sheet-table-wrap {
  max-height: 640px;
  overflow: auto;
  padding: 0 12px 12px;
  border-radius: 24px;
  background: #dfe6d3;
  box-shadow: inset 0 1px 0 rgba(255, 248, 233, .52);
  position: relative;
  isolation: isolate;
}

.balance-sheet-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(130px, .38fr);
  gap: 0;
  margin: 0 -12px 8px;
  padding: 13px 12px;
  border-bottom: 8px solid #dfe6d3;
  border-radius: 0;
  overflow: hidden;
  background: #d5bf94;
  box-shadow: 0 12px 18px rgba(23, 37, 42, .12);
  color: #4f431a;
  font-family: Outfit, Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.balance-sheet-sticky-bar span {
  padding: 0 16px;
  background: #d5bf94;
}

.balance-sheet-sticky-bar span:last-child {
  text-align: right;
}

.balance-sheet-table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0 6px;
  color: var(--ink);
  font-family: Montserrat, Manrope, sans-serif;
  font-size: 14px;
}

.balance-sheet-table thead {
  display: none;
}

.balance-sheet-table td {
  padding: 14px 16px;
  background: rgba(255, 248, 233, .82);
  font-weight: 620;
  line-height: 1.45;
}

.balance-sheet-table tr:nth-child(even) td {
  background: rgba(239, 229, 207, .92);
}

.balance-sheet-table td:first-child {
  border-radius: 14px 0 0 14px;
}

.balance-sheet-table td:last-child {
  border-radius: 0 14px 14px 0;
  color: #245f66;
  font-weight: 780;
  text-align: right;
  white-space: nowrap;
}

.balance-row-label {
  display: inline-block;
  padding-left: calc(var(--depth, 0) * 14px);
}

.balance-section-row td {
  padding: 20px 12px 8px;
  background: transparent !important;
  color: #245f66;
  font-family: Outfit, Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: left !important;
  text-transform: uppercase;
  white-space: normal !important;
}

.balance-section-row td::before {
  content: "";
  display: inline-block;
  width: calc(var(--depth, 0) * 14px);
}

.balance-summary-row td {
  background: rgba(165, 185, 146, .36) !important;
  color: #2b3b1f;
  font-weight: 800;
}

.balance-major-total-row td {
  background: linear-gradient(135deg, rgba(165, 185, 146, .58), rgba(213, 191, 148, .45)) !important;
  color: #2b3b1f;
  font-size: 15px;
  letter-spacing: .02em;
}

.balance-major-total-row td:last-child {
  color: #2b3b1f;
  font-size: 16px;
}

.balance-liabilities-total-row td {
  border-top: 2px solid rgba(47, 61, 53, .42);
  border-bottom: 2px solid rgba(47, 61, 53, .26);
  background: linear-gradient(135deg, rgba(213, 191, 148, .62), rgba(165, 185, 146, .44)) !important;
}

.balance-liabilities-total-row td:first-child {
  text-transform: uppercase;
}

.balance-double-rule-row td {
  border-top: 3px double rgba(47, 61, 53, .68);
  border-bottom: 3px double rgba(47, 61, 53, .68);
  background: linear-gradient(135deg, rgba(165, 185, 146, .7), rgba(213, 191, 148, .56)) !important;
}

.balance-double-rule-row td:first-child {
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.finance-lower-flash {
  min-height: 0;
}

.finance-accounting-task-card {
  min-height: 680px;
  padding: 22px;
  border: 1px solid rgba(239, 229, 207, .5);
  border-radius: 28px;
  background: rgba(239, 229, 207, .9);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(36, 95, 102, .12);
}

.finance-accounting-task-card h2 {
  margin: 0 0 18px;
  color: #245f66;
  font-family: Outfit, Montserrat, Manrope, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}

.finance-accounting-task-card h2 span {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #318f9a, #245f66);
  color: var(--cream);
}

.finance-accounting-task-card.finance-due-card h2 span {
  background: linear-gradient(135deg, #e4cf68, #caaa43);
  color: #4f5758;
}

.finance-accounting-task-card.finance-high-card h2 span {
  background: linear-gradient(135deg, #dd8a58, #c16f3f);
  color: var(--cream);
}

.finance-accounting-task-card.finance-pending-card h2 span {
  background: linear-gradient(135deg, #5f686a, #41494c);
  color: var(--cream);
}

.finance-notion-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.finance-notion-list p {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(49, 143, 154, .12);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.finance-notion-task {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(49, 143, 154, .18);
  border-radius: 18px;
  background: rgba(255, 248, 233, .72);
  color: var(--ink);
  font-family: Montserrat, Manrope, sans-serif;
  text-decoration: none;
}

.finance-notion-task:hover {
  background: #efe5cf;
  transform: translateY(-1px);
}

.finance-notion-task.project-card {
  border-color: rgba(215, 132, 104, .34);
  background: rgba(239, 229, 207, .88);
}

.finance-notion-task strong,
.finance-notion-task b,
.finance-notion-task em {
  display: block;
}

.finance-notion-date {
  display: block;
  color: #318f9a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.finance-notion-task strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .01em;
}

.finance-notion-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: .03em;
  line-height: 1.4;
  text-transform: uppercase;
}

.finance-notion-project {
  color: #9f5945;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .03em;
  line-height: 1.4;
  text-transform: uppercase;
}

.finance-notion-detail-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(95, 104, 106, .14);
  color: #4f5758;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.finance-notion-detail-pill.accounting {
  background: rgba(165, 185, 146, .42);
  color: #3f4c3b;
}

.finance-notion-detail-pill.organizing,
.finance-notion-detail-pill.operations {
  background: rgba(98, 184, 175, .28);
  color: #245f66;
}

.finance-notion-detail-pill.name-change {
  background: rgba(215, 132, 104, .26);
  color: #8b4938;
}

.finance-notion-detail-pill.pending {
  background: rgba(95, 104, 106, .24);
  color: #41494c;
}

.finance-notion-detail-pill.high {
  background: rgba(221, 138, 88, .24);
  color: #8d492b;
}

.finance-notion-detail-pill.progress {
  background: rgba(228, 207, 104, .38);
  color: #665923;
}

.finance-notion-detail-pill.not-started {
  background: rgba(95, 104, 106, .16);
  color: #4f5758;
}

.finance-dashboard .notion-task-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 18px;
  min-height: 760px;
  max-height: none;
  overflow: visible;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(239, 229, 207, .3);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 10%, rgba(239, 229, 207, .16), transparent 34%),
    linear-gradient(145deg, rgba(49, 143, 154, .92), rgba(36, 95, 102, .96));
  box-shadow: inset 0 1px 0 rgba(247, 240, 223, .22);
}

.finance-dashboard .notion-task-board .notion-tasks-card {
  min-height: 680px;
  padding: 22px;
  border: 1px solid rgba(239, 229, 207, .5);
  border-radius: 28px;
  background: rgba(239, 229, 207, .9);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(36, 95, 102, .12);
}

.finance-dashboard .notion-task-board .notion-tasks-card h2 {
  margin: 0 0 18px;
  color: #245f66;
  font-family: Outfit, Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}

.finance-dashboard .notion-task-board .notion-tasks-card h2 span {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #318f9a, #245f66);
  color: var(--soft-cream);
}

.finance-dashboard .notion-task-board .notion-due-card h2 span {
  background: linear-gradient(135deg, #e4cf68, #caaa43);
  color: #4f5758;
}

.finance-dashboard .notion-task-board .notion-high-card h2 span {
  background: linear-gradient(135deg, #dd8a58, #c16f3f);
  color: var(--soft-cream);
}

.finance-dashboard .notion-task-board .notion-pending-card h2 span {
  background: linear-gradient(135deg, #5f686a, #41494c);
  color: var(--soft-cream);
}

.finance-dashboard .notion-live-list {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  max-height: none;
  overflow: visible;
}

.finance-dashboard .notion-live-list p {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(49, 143, 154, .12);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.finance-dashboard .notion-task-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(49, 143, 154, .18);
  border-radius: 18px;
  background: rgba(255, 248, 233, .72);
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  text-decoration: none;
}

.finance-dashboard .notion-task-card:hover {
  background: #efe5cf;
  transform: translateY(-1px);
}

.finance-dashboard .notion-task-card.project-card {
  border-color: rgba(215, 132, 104, .34);
  background: rgba(239, 229, 207, .88);
}

.finance-dashboard .notion-task-date {
  color: #318f9a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.finance-dashboard .notion-task-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .01em;
}

.finance-dashboard .notion-task-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.finance-dashboard .notion-detail-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(95, 104, 106, .14);
  color: #4f5758;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.finance-dashboard .notion-detail-pill.accounting {
  background: rgba(165, 185, 146, .42);
  color: #3f4c3b;
}

.finance-dashboard .notion-detail-pill.organizing,
.finance-dashboard .notion-detail-pill.operations {
  background: rgba(98, 184, 175, .28);
  color: #245f66;
}

.finance-dashboard .notion-detail-pill.name-change {
  background: rgba(215, 132, 104, .26);
  color: #8b4938;
}

.finance-dashboard .notion-detail-pill.pending {
  background: rgba(95, 104, 106, .24);
  color: #41494c;
}

.finance-dashboard .notion-detail-pill.high {
  background: rgba(221, 138, 88, .24);
  color: #8d492b;
}

.finance-dashboard .notion-detail-pill.progress {
  background: rgba(228, 207, 104, .38);
  color: #665923;
}

.finance-dashboard .notion-detail-pill.not-started {
  background: rgba(95, 104, 106, .16);
  color: #4f5758;
}

.finance-dashboard .notion-task-project {
  color: #9f5945;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .finance-workspace,
  .finance-card-grid,
  .finance-task-signal-row,
  .finance-lower-report-row,
  .finance-accounting-task-board,
  .pnl-month-kpis,
  .pnl-months,
  .pnl-contact-grid,
  .pnl-contact-list ul,
  .snapshot-grid,
  .snapshot-vendor-list ul,
  .flash-metric-grid,
  .flash-split {
    grid-template-columns: 1fr;
  }

  .finance-title-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .finance-title-strip .finance-actions {
    justify-content: flex-start;
  }

  .finance-list li.credit-card-row {
    grid-template-columns: 1fr;
  }

  .finance-list li.bill-row {
    grid-template-columns: 1fr;
  }

  .credit-card-row .credit-card-meta,
  .bill-row .bill-due-row {
    justify-content: flex-start;
  }
}
