:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    sans-serif;
  color: #203932;
  background: #f4f6f3;
  font-size: 14px;
  --green: #176b52;
  --muted: #728079;
  --line: #e0e7e0;
  --red: #bd563e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
a {
  color: var(--green);
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 15px;
  background: white;
  color: #253d34;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
}
button:hover,
.button:hover {
  background: #eaf1eb;
}
button.primary,
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
button.primary:hover {
  background: #11543f;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.ghost {
  background: none;
  border: 0;
  font-weight: 400;
}
button.small {
  font-size: 12px;
  padding: 7px 10px;
}
.shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #123d35;
  color: #d2dfd4;
  padding: 30px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 21px;
  letter-spacing: -1px;
  font-weight: 750;
}
.brand-image {
  display: block;
  width: 64px;
  height: auto;
  flex-shrink: 0;
  padding: 6px;
  background: transparent;
  filter: brightness(0) invert(1);
  box-sizing: content-box;
}
.login-brand .brand-image {
  width: 84px;
}
.claim-header .brand-image {
  filter: none;
  background: transparent;
  padding: 0;
}
.sidebar .subtitle {
  font-size: 10px;
  letter-spacing: 2.5px;
  margin: 12px 0 24px;
  color: #9bb6a6;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #88ac98;
  margin: 23px 12px 12px;
}
.nav-item {
  background: none;
  border: 0;
  width: 100%;
  color: #bdcec2;
  justify-content: flex-start;
  margin: 3px 0;
  padding: 12px;
  font-weight: 500;
  font-size: 13px;
}
.nav-item.active {
  color: white;
  background: #2b5746;
}
.nav-item:hover {
  background: #254d40;
}
.nav-icon {
  font-size: 18px;
  width: 22px;
}
.side-footer {
  margin-top: auto;
  padding: 24px 10px 0;
  color: #a4beb0;
  font-size: 11px;
  line-height: 1.9;
}
.avatar {
  background: #c4d8bb;
  color: #17452f;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.main {
  min-width: 0;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #fafbf8;
}
.breadcrumb {
  color: #839087;
  font-size: 12px;
}
.breadcrumb b {
  color: #3e5449;
  font-weight: 500;
  margin-left: 9px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.user-info small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.content {
  max-width: 1500px;
  padding: 36px 42px 60px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 27px;
}
h1 {
  font-size: 27px;
  letter-spacing: -1px;
  line-height: 1.4;
  margin: 0 0 8px;
  font-weight: 650;
}
h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  margin: 0 0 12px;
}
p {
  line-height: 1.8;
}
.eyebrow {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 650;
}
.muted {
  color: var(--muted);
}
.lead {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.toolbar select,
.toolbar input {
  width: auto;
  min-width: 110px;
  background: #fff;
}
.toolbar .spacer {
  flex: 1;
}
.pill {
  border-radius: 20px;
  display: inline-flex;
  padding: 5px 9px;
  background: #e8eee7;
  font-size: 10px;
  font-weight: 600;
  color: #47664c;
  white-space: nowrap;
}
.pill.warning {
  background: #fcf0d7;
  color: #946328;
}
.pill.danger {
  background: #fae8e1;
  color: #aa4b37;
}
.pill.blue {
  background: #e6edf7;
  color: #4f6692;
}
.status-dot {
  display: inline-block;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: #7b9a6b;
  margin-right: 5px;
}
.banner {
  padding: 12px 17px;
  background: #ecf1e7;
  border: 1px solid #dce5d5;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.8;
  margin: 0 0 23px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.banner.warning {
  background: #fff8e9;
  border-color: #efdfb8;
  color: #896130;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 22px;
}
.card.featured {
  background: #164d3e;
  color: #fff;
  border-color: #164d3e;
}
.metric-label {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b7f73;
}
.featured .metric-label {
  color: #c1d4c6;
}
.metric {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -1.1px;
  margin: 20px 0 12px;
  font-variant-numeric: tabular-nums;
}
.metric small {
  font-size: 14px;
  margin-right: 4px;
  font-weight: 400;
}
.metric-note {
  font-size: 10px;
  color: #87958c;
}
.featured .metric-note {
  color: #b6c8bd;
}
.negative {
  color: var(--red) !important;
}
.positive {
  color: var(--green);
}
.featured .negative {
  color: #ffc7b5 !important;
}
.grid2 {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 23px;
  border-bottom: 1px solid #edf0eb;
  gap: 12px;
}
.panel-body {
  padding: 22px;
}
.chart {
  width: 100%;
  height: 230px;
  display: block;
  overflow: visible;
}
.chart text {
  fill: #88968c;
  font-size: 10px;
}
.legend {
  display: flex;
  gap: 17px;
  font-size: 10px;
  color: #77877c;
}
.legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  margin-right: 5px;
}
.insight {
  padding: 19px 0;
  border-bottom: 1px solid #edf0eb;
}
.insight:last-child {
  border: 0;
}
.insight strong {
  display: block;
  margin: 7px 0;
  font-size: 17px;
}
.insight p {
  font-size: 11px;
  margin: 5px 0;
  color: #77867a;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  text-align: left;
  font-size: 12px;
}
th {
  color: #809085;
  font-size: 10px;
  font-weight: 500;
  background: #f9faf7;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid #edf0eb;
  font-variant-numeric: tabular-nums;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td.number,
th.number {
  text-align: right;
}
td strong {
  font-weight: 600;
}
.table-desc {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-sub {
  font-size: 10px;
  color: #8e9b91;
  margin-top: 5px;
}
.department-total td {
  background: #edf3eb;
  border-top: 1px solid #cdddc9;
  font-weight: 600;
}
.department-detail td:first-child {
  padding-left: 34px;
}
.department-detail-label {
  font-size: 10px;
  color: #718573;
  margin-right: 10px;
}
.bar-track {
  width: 84px;
  height: 5px;
  border-radius: 5px;
  background: #edf0e9;
  display: inline-block;
  margin-right: 8px;
}
.bar-fill {
  height: 5px;
  background: #75a981;
  border-radius: 5px;
}
.footnote {
  font-size: 10px;
  color: #91a092;
  line-height: 1.8;
}
.empty {
  padding: 50px 25px;
  text-align: center;
  color: #8b988d;
  line-height: 1.9;
}
.empty strong {
  color: #536c59;
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: #6d8272;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-brand {
  background: #143e34;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15%;
  position: relative;
}
.login-brand h1 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.6;
  margin: 65px 0 20px;
}
.login-brand p {
  color: #b3c8b7;
  font-size: 14px;
}
.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15%;
  background: #fbfcf8;
}
.login-form h2 {
  font-size: 25px;
  margin-bottom: 17px;
}
.login-form p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.login-form .button {
  padding: 16px;
}
.login-note {
  margin-top: 22px;
  font-size: 11px !important;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.field.full {
  grid-column: 1/-1;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8e0d6;
  border-radius: 7px;
  background: #fff;
  color: #344b3b;
  min-width: 0;
}
textarea {
  min-height: 85px;
  resize: vertical;
}
label small {
  color: var(--muted);
}
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.error {
  color: var(--red);
  background: #fff0eb;
  padding: 12px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.8;
}
.form-error:empty {
  display: none;
}
dialog {
  border: 1px solid #dbe3d8;
  border-radius: 16px;
  padding: 0;
  width: min(680px, calc(100% - 30px));
  max-height: 88vh;
  box-shadow: 0 20px 90px #163c3533;
}
dialog::backdrop {
  background: #092f2a66;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 27px;
  border-bottom: 1px solid var(--line);
}
.modal-body {
  padding: 25px 27px;
}
.claim-page {
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
}
.claim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.claim-header .logo {
  color: #174b3c;
}
.claim-total {
  padding: 20px;
  background: #eaf1e7;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
}
.receipt-scan {
  background: #f2f7f2;
  border: 1px solid #d7e4d8;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.receipt-scan.drag-over {
  outline: 2px solid var(--green);
}
.receipt-scan-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.receipt-scan-icon {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}
.receipt-scan h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 6px;
}
.receipt-scan-heading p {
  margin: 0;
  color: #52685b;
  font-size: 13px;
}
.receipt-scan fieldset {
  border: 0;
  margin: 18px 0 0;
  padding: 0;
  min-width: 0;
}
.receipt-scan fieldset:disabled {
  opacity: 0.55;
}
.receipt-scan-hint,
.receipt-scan-privacy {
  font-size: 11px;
  line-height: 1.8;
  margin: 12px 0 0;
  color: var(--muted);
}
.receipt-scan-status {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.8;
  padding: 12px;
  background: white;
  border-radius: 8px;
  margin-bottom: 0;
}
.expense-row.has-photo {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
}
.expense-row-content {
  min-width: 0;
}
.expense-photo img {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: contain;
  background: #f3f4f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.expense-original {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
}
.receipt-review-note {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #fff6df;
  border-radius: 6px;
  color: #77551b;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  .receipt-scan {
    padding: 18px 16px;
  }
  .receipt-scan .receipt-choices {
    align-items: stretch;
  }
  .receipt-scan .receipt-choices label {
    flex: 1 1 100%;
    justify-content: center;
  }
  .expense-row.has-photo {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .expense-photo {
    display: flex;
    align-items: flex-end;
    gap: 14px;
  }
  .expense-photo img {
    width: 100px;
    height: 135px;
  }
}
.expense-row {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 15px 0;
}
.expense-row .fields {
  gap: 12px;
}
.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.8;
  margin-top: 22px;
  font-size: 12px;
}
.checkline input {
  width: 17px;
  margin-top: 5px;
}
.receipt-link {
  font-size: 12px;
}
.notice {
  padding: 13px;
  border-radius: 7px;
  background: #f5f6ef;
  font-size: 12px;
  line-height: 1.9;
}
.linkbox {
  word-break: break-all;
  padding: 16px;
  background: #f3f6ef;
  border-radius: 8px;
  line-height: 1.8;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #173e31;
  color: white;
  padding: 14px 24px;
  border-radius: 9px;
  font-size: 13px;
  z-index: 99;
  display: none;
  box-shadow: 0 8px 30px #183f3322;
}
.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.integration-grid .card h3 {
  font-size: 16px;
}
.integration-grid p {
  font-size: 12px;
  color: #7a8a7c;
}
.money-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.mobile-menu {
  display: none;
}
.inline-error {
  font-size: 12px;
  color: var(--red);
}
.year-note {
  font-size: 11px;
  color: #8b998e;
}
.event-search-field {
  margin-bottom: 24px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.event-grid h3 {
  font-size: 16px;
  margin: 10px 0;
}
.event-grid .metric {
  margin: 14px 0;
}
.mini-table td,
.mini-table th {
  padding: 12px 0;
}
.help {
  padding: 18px 23px;
  background: #fafbf6;
  font-size: 11px;
  line-height: 1.8;
  color: #7c8d7d;
}
.access-list td select {
  min-width: 130px;
  padding: 7px;
}
.receipt-image {
  max-width: 100%;
  border-radius: 6px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
}
code {
  font-size: 11px;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 45px;
  }
  .metric {
    font-size: 34px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 12px;
  }
  .content {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .cards {
    gap: 10px;
  }
  .card {
    padding: 17px;
  }
  .metric {
    font-size: 24px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .grid2 > .panel {
    margin-bottom: 0;
  }
  .table-wrap td,
  .table-wrap th {
    padding: 14px;
  }
  .login-brand h1 {
    font-size: 33px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 17px 18px;
    display: block;
  }
  .sidebar .logo {
    font-size: 18px;
  }
  .sidebar .brand-image,
  .claim-header .brand-image {
    width: 44px;
  }
  .sidebar .subtitle,
  .nav-label,
  .side-footer {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
    margin-top: 15px;
  }
  .nav-item {
    width: auto;
    white-space: nowrap;
    font-size: 11px;
    margin: 0;
    padding: 9px;
  }
  .nav-icon {
    display: none;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .user-info {
    font-size: 10px;
  }
  .user-info .avatar {
    display: none;
  }
  .content {
    padding: 25px 16px;
  }
  .page-head {
    align-items: flex-start;
  }
  h1 {
    font-size: 23px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .metric {
    font-size: 23px;
    margin: 15px 0 10px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-note {
    line-height: 1.6;
    font-size: 9px;
  }
  .card {
    padding: 16px;
  }
  .toolbar {
    gap: 7px;
  }
  .toolbar select {
    min-width: 90px;
    font-size: 11px;
    flex: 1;
  }
  .toolbar .spacer {
    display: none;
  }
  .toolbar .pill {
    font-size: 9px;
  }
  .panel-head {
    padding: 17px;
  }
  .panel-body {
    padding: 17px;
  }
  .event-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .login {
    display: block;
  }
  .login-brand {
    padding: 30px 25px;
  }
  .login-brand h1 {
    font-size: 26px;
    margin: 25px 0 10px;
  }
  .login-brand p {
    font-size: 12px;
  }
  .login-form {
    padding: 45px 25px;
  }
  .login-form h2 {
    font-size: 21px;
  }
  .chart {
    height: 190px;
  }
  .banner {
    font-size: 11px;
  }
  .claim-page {
    padding-top: 25px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .panel-head h2 {
    font-size: 14px;
  }
}

.annual-panel {
  margin-bottom: 24px;
}
.annual-chart {
  overflow-x: auto;
}
.annual-chart .chart {
  min-width: 620px;
}
.annual-details summary {
  cursor: pointer;
  padding: 0 24px 16px;
  font-size: 13px;
}

/* The same department color follows revenue composition and profit contribution. */
.business-overview {
  margin: 32px 0;
}
.business-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.business-section-heading h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
}
.business-section-heading .eyebrow {
  display: block;
  color: #8a7660;
}
.visual-note {
  font-size: 11px;
  color: #758278;
  line-height: 1.8;
}
.business-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.visual-panel {
  padding: 26px;
  border: 1px solid #e4e7dd;
  border-radius: 20px;
  background: #fff;
  min-width: 0;
  box-shadow: 0 8px 28px #29472e04;
}
.revenue-panel {
  background: linear-gradient(145deg, #fffdf8, #fff 70%);
}
.profit-panel {
  background: linear-gradient(145deg, #f6faf7, #fff 70%);
}
.visual-heading {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 24px;
}
.visual-heading h3 {
  font-size: 17px;
  letter-spacing: -0.4px;
  margin: 2px 0 6px;
}
.visual-heading p {
  font-size: 11px;
  color: #708177;
  margin: 0;
}
.visual-index {
  display: grid;
  place-items: center;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: #f3eada;
  color: #a07f4f;
  font-size: 12px;
}
.profit-panel .visual-index {
  background: #e3eee8;
  color: #4a7e6d;
}
.revenue-mix {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1.1fr);
  align-items: center;
  gap: 16px;
  min-height: 210px;
}
.revenue-ring {
  position: relative;
  max-width: 290px;
  width: 100%;
  margin: auto;
}
.revenue-ring svg {
  display: block;
  width: 100%;
  height: auto;
}
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.ring-center span {
  color: #77877a;
  font-size: 11px;
}
.ring-center strong {
  font-size: clamp(18px, 1.6vw, 27px);
  letter-spacing: -1px;
}
.ring-center small {
  font-size: 10px;
  color: #849085;
  max-width: 55%;
  text-align: center;
}
.revenue-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #30463b;
  font-weight: 500;
}
.business-dot {
  width: 9px;
  height: 9px;
  background: var(--business);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.business-name {
  flex: 1;
  font-size: 12px;
}
.business-name small {
  display: block;
  margin-top: 5px;
  color: #7b887e;
  font-size: 10px;
}
.revenue-row strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.revenue-row strong small {
  font-size: 10px;
  margin-left: 2px;
}
.business-arrow {
  color: #88958c;
  font-size: 12px;
}
button.revenue-row:hover,
button.contribution-row:hover {
  background: #e9eee66e;
}
.contribution-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contribution-row {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-weight: 400;
}
.contribution-row > .business-arrow {
  position: absolute;
  right: 9px;
  top: 12px;
}
.contribution-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-right: 18px;
  font-size: 12px;
}
.contribution-heading > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contribution-heading strong {
  white-space: nowrap;
  font-size: 15px;
  color: #2e6453;
  font-variant-numeric: tabular-nums;
}
.contribution-track {
  display: block;
  height: 13px;
  position: relative;
  background: #f0f3ee;
  margin: 10px 0 7px;
  border-radius: 4px;
}
.contribution-zero {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: #9caaa0;
  z-index: 1;
}
.contribution-bar {
  display: block;
  position: absolute;
  top: 0;
  height: 13px;
  border-radius: 3px;
  background: var(--business);
}
.contribution-bar.loss {
  background: repeating-linear-gradient(
    135deg,
    #c46550,
    #c46550 3px,
    #df9e8c 3px,
    #df9e8c 5px
  );
}
.contribution-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #78857d;
}
.profit-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 9px 0;
  margin-top: 18px;
  border-top: 1px solid #e1e9df;
  font-size: 12px;
}
.profit-total small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  color: #7c897e;
}
.profit-total strong {
  font-size: 22px;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.business-overview + .grid2 {
  margin-top: 30px;
}
@media (min-width: 1101px) and (max-width: 1400px) {
  .revenue-mix {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .revenue-ring {
    max-width: 230px;
  }
  .revenue-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 8px;
  }
  .business-name {
    font-size: 11px;
  }
}
@media (max-width: 1100px) {
  .business-visuals {
    grid-template-columns: 1fr;
  }
  .revenue-mix {
    grid-template-columns: 1fr 1.2fr;
  }
}
@media (max-width: 760px) {
  .business-overview {
    margin: 26px 0;
  }
  .business-section-heading {
    display: block;
  }
  .business-section-heading h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .visual-panel {
    padding: 20px 16px;
    border-radius: 17px;
  }
  .visual-heading h3 {
    font-size: 16px;
  }
  .visual-heading {
    gap: 10px;
    margin-bottom: 18px;
  }
  .revenue-mix {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .revenue-ring {
    max-width: 245px;
  }
  .ring-center strong {
    font-size: 25px;
  }
  .revenue-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 6px;
  }
  .revenue-row {
    gap: 6px;
    padding: 11px 3px;
  }
  .revenue-row strong {
    font-size: 14px;
  }
  .business-name {
    font-size: 11px;
  }
  .revenue-row .business-arrow {
    display: none;
  }
  .profit-total strong {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .visual-panel {
    animation: overview-in 0.35s ease-out;
  }
  @keyframes overview-in {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.profit-trend {
  margin: 26px 0 30px;
  border-radius: 18px;
}
.profit-trend .panel-head {
  border-bottom: 0;
  padding-bottom: 12px;
}
.profit-trend .panel-head h2 {
  font-size: 21px;
}
.profit-trend .panel-head p {
  font-size: 11px;
  color: #78877d;
  margin: 7px 0 0;
}
.trend-key {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  font-size: 11px;
}
.trend-key span:first-child {
  color: #388775;
}
.trend-key span:last-child {
  color: #b8604e;
}
.trend-highlights {
  display: flex;
  gap: 36px;
  padding: 8px 24px 0;
  font-size: 10px;
  color: #7d897f;
}
.trend-highlights strong {
  display: block;
  color: #365b4c;
  font-size: 16px;
  margin-top: 5px;
}
.profit-chart-scroll {
  overflow-x: auto;
  padding: 0 16px;
}
.profit-chart {
  display: block;
  width: 100%;
  height: 210px;
}
.profit-chart.compact .trend-value {
  display: none;
}
.profit-chart.compact .trend-period {
  font-size: 9px;
}
.profit-chart.compact .trend-axis {
  font-size: 9px;
}
.trend-value {
  font-size: 12px;
  font-weight: 600;
}
.trend-value.loss {
  fill: #b45d49;
}
.trend-period {
  fill: #56695d;
  font-size: 12px;
}
.trend-axis {
  fill: #819086;
  font-size: 10px;
}
.trend-point {
  cursor: pointer;
  outline: none;
}
.trend-point:hover .trend-hit,
.trend-point:focus .trend-hit,
.trend-point[aria-pressed="true"] .trend-hit {
  fill: #dce9df66;
  stroke: #81a78d;
  stroke-width: 1;
}
.trend-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  background: #f2f6f0;
  padding: 16px 24px;
  font-size: 12px;
}
.trend-detail > strong {
  color: #315f49;
}
.trend-detail span {
  color: #718075;
}
.trend-detail b {
  margin-left: 5px;
  font-weight: 600;
  color: #344f40;
}
.trend-footnote {
  padding: 0 24px;
  font-size: 10px;
  color: #829084;
}
.unknown-note {
  padding: 16px 22px;
  background: #f0edf5;
  border-radius: 12px;
  color: #716080;
  font-size: 12px;
  line-height: 1.9;
}
.data-quality .panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 0;
}
.data-quality .insight {
  border-bottom: 0;
  padding-bottom: 0;
}
.annual-details summary {
  padding-top: 18px;
}
@media (max-width: 760px) {
  .profit-trend .panel-head {
    align-items: start;
    flex-direction: column;
  }
  .profit-trend .panel-head h2 {
    font-size: 19px;
  }
  .trend-highlights {
    gap: 20px;
    padding: 8px 17px;
  }
  .trend-highlights strong {
    font-size: 13px;
  }
  .profit-chart-scroll {
    padding: 0 8px;
  }
  .trend-detail {
    padding: 16px;
    gap: 12px 20px;
    font-size: 11px;
  }
  .trend-detail > strong {
    width: 100%;
  }
  .data-quality .panel-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .unknown-note {
    padding: 14px 17px;
    font-size: 11px;
  }
}

.trend-metric {
  border-top: 1px solid #edf0eb;
  padding-top: 16px;
}
.trend-metric-heading {
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.trend-metric-heading h3 {
  margin: 0;
  font-size: 17px;
  color: var(--trend-color);
}
.trend-metric-heading h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 17px;
  margin-right: 9px;
  background: var(--trend-color);
  border-radius: 3px;
  vertical-align: -2px;
}
.trend-metric-heading small {
  font-size: 10px;
  font-weight: 400;
  margin-left: 14px;
  color: #78877d;
}
.trend-metric-heading > span {
  font-size: 11px;
  color: #66776c;
}
@media (max-width: 760px) {
  .trend-metric-heading {
    padding: 0 17px;
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }
  .trend-metric-heading small {
    display: block;
    margin: 5px 0 0;
  }
}

.unposted-reason {
  max-width: 420px;
  min-width: 200px;
  white-space: normal;
  color: #718075;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 7px;
}

/* Financial relationships and accumulated results */
.money-flow,
.capital-journey {
  margin: 28px 0 36px;
  overflow: hidden;
}
.flow-heading {
  padding: 28px 30px 12px;
}
.flow-heading h2 {
  font-size: 25px;
  margin: 6px 0 10px;
}
.flow-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
/* Each business creates its own profit; only profit/loss joins the total. */
.business-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(210px, 0.34fr);
  align-items: center;
  padding: 20px 30px 24px;
}
.business-flow-lanes {
  display: grid;
  gap: 12px;
}
.flow-lane {
  position: relative;
  border: 1px solid var(--line);
  border-left: 4px solid var(--source);
  border-radius: 14px;
  padding: 13px 16px;
  background: #fbfcf9;
}
.flow-business-title {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}
.flow-business-title i,
.cumulative-business-name i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--source);
  flex-shrink: 0;
}
.flow-lane-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: start;
  gap: 5px;
  margin-top: 12px;
}
.lane-value {
  min-width: 0;
}
.lane-value > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.lane-value > strong {
  display: block;
  font-size: clamp(14px, 1.35vw, 20px);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.lane-value small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 6px;
}
.lane-income strong {
  color: #4b819b;
}
.lane-expense strong {
  color: #9c7b3f;
}
.lane-profit strong {
  color: #29745b;
}
.is-loss .lane-profit strong {
  color: #b45d46;
}
.lane-operator {
  color: #98a79f;
  align-self: center;
  text-align: center;
}
.lane-link {
  position: absolute;
  left: 100%;
  width: 26px;
  top: 50%;
  height: 1px;
  background: #8ebaa7;
}
.is-loss .lane-link {
  background: #c59381;
}
.lane-link:before {
  content: "";
  position: absolute;
  right: 2px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
  color: #7f9e8f;
}
.flow-merge {
  position: relative;
  align-self: stretch;
  margin: 60px 0;
}
.flow-merge:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #8ebaa7;
}
.flow-merge:after {
  content: "";
  position: absolute;
  left: 50%;
  right: 0;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #63a18a 0 5px,
    transparent 5px 10px
  );
  animation: flow-pulse 1.8s linear infinite;
}
.flow-merge > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  writing-mode: vertical-rl;
  background: var(--flow-bg, #fff);
  font-size: 10px;
  color: var(--muted);
  padding: 9px 0;
}
@keyframes flow-pulse {
  to {
    background-position: 20px 0;
  }
}
.flow-company {
  border-radius: 22px;
  background: #244b40;
  color: white;
  padding: 26px 22px;
  min-width: 0;
}
.flow-company.is-loss {
  background: #775147;
}
.flow-company .eyebrow {
  color: #b9d6c8;
  letter-spacing: 0.12em;
}
.flow-company h3 {
  margin: 8px 0 18px;
  font-size: 17px;
}
.flow-company-profit {
  display: block;
  font-size: clamp(23px, 2.2vw, 34px);
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.flow-profit-parts,
.flow-company-totals {
  display: grid;
  gap: 10px;
  font-size: 11px;
  margin-top: 24px;
}
.flow-profit-parts > span,
.flow-company-totals > span {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  color: #c2d6cc;
}
.flow-profit-parts strong,
.flow-company-totals strong {
  color: #fff;
}
.flow-company-totals {
  border-top: 1px solid #ffffff29;
  padding-top: 18px;
}
.flow-company > p {
  font-size: 11px;
  color: #c2d6cc;
  margin: 24px 0 0;
}
.flow-footnote {
  font-size: 11px;
  color: var(--muted);
  padding: 0 30px 22px;
  margin: 0;
  line-height: 1.8;
}
.journey-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 20px 30px 26px;
}
.cumulative-total > span,
.recovery-summary > span {
  font-size: 12px;
  color: var(--muted);
}
.cumulative-total > strong {
  display: block;
  font-size: 38px;
  letter-spacing: -0.03em;
  margin: 10px 0;
}
.cumulative-total p,
.recovery-summary p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.recovery-summary {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.recovery-summary > strong {
  display: block;
  font-size: 31px;
  margin: 12px 0 22px;
}
.recovery-track {
  height: 13px;
  background: #eaded5;
  border-radius: 8px;
  overflow: hidden;
}
.recovery-track span {
  display: block;
  height: 100%;
  background: #65a38a;
  border-radius: 8px;
}
.recovery-track.small {
  height: 5px;
  margin: 14px 0 0;
}
.recovery-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.recovery-caption strong {
  color: #3d7f67;
}
.cumulative-spark {
  width: 100%;
  max-height: 105px;
  margin-top: 6px;
  overflow: visible;
}
.cumulative-spark text {
  font-size: 11px;
  fill: #7c8d83;
}
.cumulative-businesses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 0 30px 26px;
}
.cumulative-business {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  text-align: left;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcf9;
  min-width: 0;
}
.cumulative-business-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.cumulative-business > strong {
  font-size: 24px;
  margin: 12px 0 6px;
}
.cumulative-business > small {
  font-size: 10px;
  color: var(--muted);
}
.cumulative-business .recovery-caption {
  font-size: 9px;
}
.balance-context {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  padding: 24px 30px;
  background: #eef2ee;
  border-top: 1px solid var(--line);
}
.balance-context h3 {
  margin: 8px 0;
  font-size: 17px;
}
.balance-context p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.balance-number {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.balance-number span {
  font-size: 12px;
  color: var(--muted);
}
.balance-number strong {
  font-size: 26px;
}
.balance-explanation {
  grid-column: 1/-1;
}
.flow-method {
  padding: 18px 30px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.flow-method summary {
  cursor: pointer;
}
.cumulative-loading {
  padding: 25px;
  color: var(--muted);
  font-size: 12px;
}
.flow-empty {
  padding: 25px;
}
.logo {
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  .flow-merge:after {
    animation: none;
  }
}
@media (max-width: 700px) {
  .flow-heading {
    padding: 22px 20px 8px;
  }
  .flow-heading h2 {
    font-size: 21px;
  }
  .flow-footnote {
    padding: 0 20px 20px;
  }
  .journey-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .cumulative-total > strong {
    font-size: 33px;
  }
  .recovery-summary {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .cumulative-businesses {
    padding: 0 20px 24px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cumulative-business {
    padding: 13px;
  }
  .cumulative-business > strong {
    font-size: 19px;
  }
  .balance-context {
    grid-template-columns: 1fr 1fr;
    padding: 22px 20px;
    gap: 18px;
  }
  .balance-context > div:first-child {
    grid-column: 1/-1;
  }
  .balance-number strong {
    font-size: 23px;
  }
  .flow-method {
    padding: 18px 20px;
  }
}
@media (max-width: 360px) {
  .cumulative-businesses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1050px) and (min-width: 701px) {
  .business-flow {
    grid-template-columns: minmax(0, 1fr) 40px 205px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .lane-link {
    width: 20px;
  }
  .flow-lane {
    padding: 12px;
  }
  .flow-company {
    padding: 22px 16px;
  }
}
@media (max-width: 700px) {
  .business-flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
  }
  .flow-lane {
    padding: 14px 12px;
  }
  .flow-lane-equation {
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(
        0,
        1fr
      );
    gap: 3px;
  }
  .lane-value > strong {
    font-size: 15px;
  }
  .lane-value > span {
    font-size: 10px;
  }
  .lane-link {
    display: none;
  }
  .flow-merge {
    height: 56px;
    margin: 0;
  }
  .flow-merge:before {
    top: 0;
    bottom: 0;
  }
  .flow-merge:after {
    display: none;
  }
  .flow-merge > span {
    writing-mode: horizontal-tb;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 5px 10px;
    white-space: nowrap;
  }
  .flow-company-profit {
    font-size: 32px;
  }
  .flow-company h3 {
    font-size: 18px;
  }
}

.invite-landing {
  max-width: 620px;
  margin: 6vh auto;
  padding: 36px;
  line-height: 1.9;
}
.invite-brand {
  display: block;
  font-size: 23px;
  font-weight: 750;
  margin-bottom: 28px;
  text-decoration: none;
}
.invite-landing h1 {
  font-size: 26px;
}
.invite-landing .eyebrow {
  display: block;
}
.linkbox {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .invite-landing {
    margin: 20px 16px;
    padding: 24px;
  }
  .invite-landing h1 {
    font-size: 23px;
  }
}

.investment-bridge {
  margin: 12px 30px;
  padding: 18px 20px;
  background: #f7f1e7;
  border: 1px solid #e5d8bd;
  border-radius: 14px;
  line-height: 1.8;
}
.investment-bridge p {
  margin: 8px 0;
  font-size: 13px;
}
.investment-bridge small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 700px) {
  .investment-bridge {
    margin: 12px 20px;
    padding: 15px;
  }
}

.field[hidden] {
  display: none;
}
.cumulative-chart {
  position: relative;
}
.cumulative-tooltip {
  position: absolute;
  z-index: 2;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  background: #243f37;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 8px #142b2526;
  pointer-events: none;
}
.cumulative-tooltip[hidden] {
  display: none;
}
.cumulative-point {
  cursor: pointer;
  outline: none;
}
.cumulative-guide {
  stroke: #6d8b7f;
  stroke-dasharray: 3 3;
  opacity: 0;
  pointer-events: none;
}
.cumulative-point.active .cumulative-guide,
.cumulative-point:focus-visible .cumulative-guide {
  opacity: 0.7;
}
.cumulative-point.active circle,
.cumulative-point:focus-visible circle {
  r: 4.5;
  stroke-width: 2;
}
.cumulative-spark text {
  pointer-events: none;
}

.ops-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 20px 0 26px;
  color: var(--muted);
  font-size: 12px;
}
.ops-steps b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  border-radius: 50%;
  background: #dfebe4;
  color: #315d4e;
}
.ops-section {
  margin-top: 26px;
}
.ops-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ops-summary .metric {
  font-size: clamp(25px, 3vw, 40px);
}
.ops-summary p {
  font-size: 12px;
  line-height: 1.8;
}
.ops-events-heading {
  margin-bottom: 18px;
  line-height: 1.5;
}
.ops-project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  justify-content: stretch;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  min-width: 0;
  min-height: 156px;
  overflow-wrap: anywhere;
}
.ops-project-card .eyebrow {
  margin: 0;
  line-height: 1.5;
}
.ops-project-card h3 {
  margin: 0;
  line-height: 1.6;
}
.ops-project-card .muted {
  font-size: 12px;
  line-height: 1.5;
}
.ops-project-card:hover {
  border-color: #8eaf9d;
  background: #f5f8f4;
}
.ops-project-card[hidden] {
  display: none;
}
.ops-assignment-list {
  padding: 0 24px;
}
.ops-assignment {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line, #e1e7e2);
}
.ops-assignment h3 {
  margin: 12px 0;
  font-size: 18px;
}
.ops-assignment h3 small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.ops-assignment p {
  font-size: 13px;
  line-height: 1.8;
}
.ops-assignment-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}
.ops-cancelled {
  opacity: 0.55;
}
.ops-budget-line {
  background: #f6f8f5;
  border: 1px solid #e1e7e2;
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
}
.ops-budget-line .fields {
  margin-bottom: 10px;
}
#ops-budget-total {
  margin: 18px 0;
}
@media (max-width: 700px) {
  .ops-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ops-assignment {
    flex-direction: column;
  }
  .ops-assignment-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .ops-section .panel-head {
    flex-wrap: wrap;
    gap: 16px;
  }
  .ops-steps {
    gap: 10px;
  }
}
/* Operations: the team is the budget. */
.ops-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
}
.ops-search-toolbar {
  align-items: flex-end;
}
.ops-search-toolbar input,
.ops-search-toolbar button {
  min-height: 44px;
}
.ops-details {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line, #dfe7e1);
}
.ops-details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}
.ops-details .event-grid {
  margin-top: 16px;
}
.ops-teams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
  align-items: start;
}
.ops-team .panel-head {
  gap: 12px;
  flex-wrap: wrap;
}
.ops-team h2 {
  margin: 8px 0 0;
}
.ops-team-person {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #e7ece8;
}
.ops-team-person:first-child {
  padding-top: 0;
}
.ops-team-person:last-child {
  border: 0;
  padding-bottom: 0;
}
.ops-team-person .pill {
  margin-top: 10px;
}
.ops-budget-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px;
  background: #edf3ee;
  border-radius: 18px;
}
.ops-budget-strip > div {
  flex: 1;
  min-width: 130px;
  display: grid;
  gap: 7px;
}
.ops-budget-strip strong {
  font-size: 24px;
}
.ops-budget-strip span {
  color: #687e72;
  font-size: 13px;
}
.ops-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 22px;
}
.ops-location .help {
  margin: 0;
}
.receipt-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.receipt-choices label {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.receipt-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.receipt-choices label:focus-within {
  outline: 2px solid #318576;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .ops-budget-strip {
    padding: 18px;
    gap: 16px;
  }
  .ops-budget-strip strong {
    font-size: 21px;
  }
  .ops-team .panel-head,
  .ops-team .panel-body {
    padding: 18px;
  }
  .ops-team-person {
    gap: 8px;
  }
}

/* Select an entire event team in one pass. */
dialog:has(.ops-bulk-form) {
  width: min(960px, 94vw);
}
.ops-bulk-tools {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.ops-bulk-tools .field:first-child {
  flex: 1;
  min-width: 180px;
}
.ops-bulk-tools .field:nth-child(2) {
  width: 120px;
}
.ops-bulk-tools button {
  min-height: 38px;
}
.ops-bulk-list {
  margin-top: 16px;
}
.ops-bulk-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 10px 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
}
.ops-bulk-person[hidden] {
  display: none;
}
.ops-bulk-person.is-selected {
  background: #f0f7f2;
  border-color: #87b6a5;
}
.ops-bulk-choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.ops-bulk-choice input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 2px 0 0;
  accent-color: var(--green);
}
.ops-bulk-choice .table-sub {
  display: block;
  margin-top: 5px;
}
.ops-bulk-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  gap: 12px;
}
.ops-bulk-estimate {
  grid-column: 1 / -1;
  padding-left: 32px;
}
.ops-bulk-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 18px 0 12px;
  border-top: 1px solid var(--line);
}
#ops-bulk-total {
  font-weight: 650;
  color: var(--green);
}
.ops-bulk-footer .help {
  margin: 8px 0 12px;
  padding: 0;
}
@media (max-width: 600px) {
  .ops-bulk-person {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
  .ops-bulk-inputs {
    margin-left: 32px;
  }
  .ops-bulk-footer {
    position: static;
  }
  .ops-bulk-footer > button {
    width: 100%;
  }
}
.ops-bulk-inputs .field:last-child {
  grid-column: 1 / -1;
}

.staff-terms strong {
  color: #203932;
  font-size: 1.25rem;
  line-height: 2;
}

/* Event comparisons use one shared scale, with profit first on every screen. */
.event-scope-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 20px 0 28px;
}
.event-controls {
  display: flex;
  align-items: end;
  gap: 16px;
  margin: 0 0 14px;
}
.event-controls .field {
  margin: 0;
}
.event-controls .field:first-child {
  flex: 1;
  max-width: 580px;
}
.event-controls select {
  min-height: 42px;
}
.event-result-count {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 24px;
}
.event-scoreboard {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 42px;
}
.event-score {
  min-width: 0;
  border: 1px solid #d8e3dd;
  border-radius: 20px;
  padding: 25px 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.event-score > span {
  font-size: 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.event-score small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}
.event-score strong {
  font-size: clamp(23px, 2.5vw, 37px);
  font-weight: 720;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.event-score > div {
  font-size: 12px;
}
.event-score > div span {
  opacity: 0.5;
  padding: 0 7px;
}
.event-score.profit {
  background: #214c41;
  color: #fff;
  border-color: #214c41;
}
.event-score.profit.is-loss {
  background: #754d43;
  border-color: #754d43;
}
.event-score.revenue {
  background: #edf4f7;
  color: #397293;
  border-color: #d9e6ed;
}
.event-score.expense {
  background: #f8f3e9;
  color: #967036;
  border-color: #e9dfca;
}
.event-score i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.event-performance-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}
.event-performance-heading h2 {
  font-size: clamp(20px, 2.1vw, 28px);
  margin: 9px 0 0;
  letter-spacing: -0.5px;
}
.event-performance-heading p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.event-scale-note {
  margin: 0 0 24px;
  font-size: 11px;
  color: var(--muted);
}
.event-performance-list {
  display: grid;
  gap: 14px;
}
.event-performance-row {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid #4a8b78;
  border-radius: 16px;
  overflow: hidden;
}
.event-performance-row.is-loss {
  border-left-color: #bd6a53;
}
.event-performance-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 32px;
  padding: 24px 26px 18px;
}
.event-identity {
  min-width: 0;
}
.event-date {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}
.event-service {
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.4px;
  border-radius: 4px;
  padding: 1px 6px;
  background: #edf4f1;
  color: #287763;
}
.event-service.broadcast {
  color: #427ca4;
  background: #ecf3f9;
}
.event-identity h3 {
  font-size: 17px;
  line-height: 1.45;
  margin: 9px 0;
  overflow-wrap: anywhere;
}
.event-data-note {
  color: var(--muted);
  font-size: 10px;
}
.event-profit-number {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: space-between;
  margin: 0 0 15px;
}
.event-profit-number span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.event-profit-number strong {
  color: #28745e;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 720;
  letter-spacing: -0.7px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.is-loss .event-profit-number strong {
  color: #b45740;
}
.event-profit-track {
  position: relative;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(to right, #fbf1ed 50%, #eaf4ee 50%);
}
.event-profit-track::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  top: -4px;
  bottom: -4px;
  background: #8b9c91;
}
.event-profit-track i {
  position: absolute;
  top: 0;
  height: 18px;
  background: #4a8b78;
  border-radius: 3px;
}
.is-loss .event-profit-track i {
  background: #bd6a53;
}
.event-profit-axis {
  display: flex;
  justify-content: space-between;
  color: #88958e;
  font-size: 9px;
  margin-top: 8px;
}
.event-cash-visual {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.event-cash-row {
  display: grid;
  grid-template-columns: 26px minmax(25px, 1fr) max-content;
  gap: 9px;
  align-items: center;
}
.event-cash-row > span {
  font-size: 11px;
  color: var(--muted);
}
.event-cash-row strong {
  min-width: 83px;
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.event-cash-track {
  height: 10px;
  border-radius: 3px;
  background: #f2f4f2;
  overflow: hidden;
}
.event-cash-track i {
  height: 100%;
  display: block;
  border-radius: 3px;
}
.event-cash-track .revenue {
  background: #5b96b7;
}
.event-cash-track .expense {
  background: #bc9557;
}
.event-breakdown {
  border-top: 1px solid #eef1eb;
  padding: 0 26px;
}
.event-breakdown summary {
  font-size: 11px;
  padding: 12px 0;
  color: #597367;
  cursor: pointer;
}
.event-breakdown summary > span {
  float: right;
  font-size: 10px;
  color: var(--muted);
}
.event-breakdown table {
  width: 100%;
  font-size: 12px;
}
.event-breakdown th:not(:first-child),
.event-breakdown td {
  text-align: right;
}
.event-breakdown p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.event-waiting {
  margin-top: 28px;
  border: 1px dashed #cdd9ce;
  border-radius: 16px;
  padding: 22px 26px;
}
.event-waiting > summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.event-waiting > summary span {
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}
.event-waiting > p {
  font-size: 12px;
  color: var(--muted);
}
.event-waiting > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.event-waiting article {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.event-waiting h3 {
  margin: 10px 0;
  font-size: 14px;
}
.event-no-results {
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 24px;
}
.event-no-results h3 {
  font-size: 17px;
}
.event-no-results p {
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1150px) {
  .event-performance-main {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .event-identity {
    grid-row: span 2;
  }
  .event-profit-number strong {
    font-size: 24px;
  }
  .event-cash-visual {
    grid-column: 2;
  }
  .event-score {
    padding: 22px 18px;
  }
  .event-scoreboard {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
  .event-waiting > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .event-scoreboard {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 32px;
  }
  .event-score.profit {
    grid-column: 1 / -1;
  }
  .event-score.profit strong {
    font-size: 34px;
  }
  .event-score strong {
    font-size: clamp(18px, 5vw, 27px);
    letter-spacing: -0.6px;
  }
  .event-score {
    padding: 20px 16px;
    border-radius: 16px;
    gap: 14px;
  }
  .event-score small {
    font-size: 10px;
  }
  .event-controls {
    gap: 10px;
    align-items: stretch;
  }
  .event-controls .field {
    min-width: 0;
  }
  .event-controls .field:first-child {
    flex: 1;
  }
  .event-controls .field:last-child {
    width: 145px;
  }
  .event-controls input,
  .event-controls select {
    width: 100%;
    min-width: 0;
    padding: 10px;
  }
  .event-performance-heading {
    display: block;
  }
  .event-performance-heading p {
    margin: 12px 0 6px;
  }
  .event-performance-heading h2 {
    font-size: 22px;
  }
  .event-scale-note {
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .event-performance-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 20px 20px;
  }
  .event-identity {
    grid-row: auto;
  }
  .event-identity h3 {
    font-size: 19px;
    margin-bottom: 5px;
  }
  .event-cash-visual {
    grid-column: 1;
    gap: 12px;
  }
  .event-profit-number strong {
    font-size: 28px;
  }
  .event-profit-number {
    margin-bottom: 12px;
  }
  .event-cash-row {
    grid-template-columns: 28px minmax(25px, 1fr) max-content;
    gap: 12px;
  }
  .event-cash-row strong {
    font-size: 13px;
    min-width: 90px;
  }
  .event-breakdown {
    padding: 0 20px;
  }
  .event-breakdown summary > span {
    float: none;
    display: block;
    margin: 6px 0 0 14px;
  }
  .event-breakdown table th,
  .event-breakdown table td {
    padding: 10px 5px;
    font-size: 11px;
  }
  .event-waiting {
    padding: 20px;
  }
  .event-waiting > div {
    grid-template-columns: 1fr;
  }
}

.event-sort-control {
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.event-sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.event-sort-buttons button {
  min-height: 42px;
  padding: 9px 14px;
  white-space: nowrap;
}
.event-sort-buttons button[aria-pressed="true"] {
  background: #176e58;
  color: white;
  border-color: #176e58;
}
.event-margin {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 10px;
  text-align: right;
}
@media (max-width: 900px) {
  .event-controls {
    flex-wrap: wrap;
    gap: 16px;
  }
  .event-controls .field:first-child {
    flex: 1 1 100%;
    max-width: none;
  }
  .event-sort-control {
    width: 100%;
  }
}
@media (max-width: 650px) {
  .event-sort-buttons {
    gap: 5px;
  }
  .event-sort-buttons button {
    flex: 1;
    padding: 9px 5px;
    font-size: 12px;
  }
}
.event-link-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin: 24px 0;
}
.event-link-filters .field {
  margin: 0;
  min-width: 180px;
}
.event-link-filters .field:first-child {
  flex: 1;
}
.event-link-filters .checkline {
  margin: 0;
  min-height: 44px;
}
.event-link-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
}
.event-link-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
#event-link-form .field {
  margin-top: 18px;
}
#link-event-choice {
  min-height: 200px;
  max-width: 100%;
}
@media (max-width: 650px) {
  .event-link-filters .field {
    width: 100%;
  }
  .event-link-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .event-link-table {
    min-width: 700px;
  }
}

.event-service-revenue {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--muted);
  margin: -4px 0 8px;
}
.event-service-revenue strong {
  font-weight: 600;
  margin-left: 4px;
}
.event-service-revenue .gps {
  color: #318577;
}
.event-service-revenue .broadcast {
  color: #4783a9;
}
.event-cost-categories,
.event-cost-lines {
  margin-top: 24px;
}
.event-cost-categories h4,
.event-cost-lines h4 {
  margin: 0 0 16px;
}
.event-cost-lines h4 small {
  font-weight: normal;
  color: var(--muted);
}
.event-cost-category {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 2fr minmax(90px, auto);
  align-items: center;
  gap: 16px;
  margin: 12px 0;
  font-size: 13px;
}
.event-cost-category strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.event-cost-track {
  height: 7px;
  background: #f2f0e9;
  border-radius: 5px;
  overflow: hidden;
}
.event-cost-track i {
  display: block;
  height: 100%;
  background: #b89456;
  border-radius: inherit;
}
.event-cost-lines .event-cost-table td {
  text-align: left;
  vertical-align: top;
  white-space: normal;
}
.event-cost-lines .event-cost-table td.number {
  text-align: right;
  white-space: nowrap;
}
.event-cost-lines .event-cost-table td:first-child {
  white-space: nowrap;
}
@media (max-width: 650px) {
  .event-cost-category {
    grid-template-columns: minmax(110px, 1fr) 1fr auto;
    gap: 10px;
  }
  .event-cost-table {
    min-width: 640px;
  }
}

.event-link-saved {
  margin: 20px 0;
  padding: 18px 22px;
  border: 1px solid #bad3c8;
  border-radius: 12px;
  background: #edf6f1;
  font-size: 14px;
}
.event-link-saved > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.event-link-saved p {
  margin: 8px 0;
}
.event-link-saved details {
  font-size: 12px;
}

/* Fast event review: visible choices, stable rows, no dialog for common actions. */
.link-review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 8px;
  flex-wrap: wrap;
}
.link-review-toolbar .checkline {
  margin: 0;
  white-space: nowrap;
}
.link-assigned {
  padding: 12px 16px;
  border-radius: 10px;
  background: #edf6f0;
  color: #276d58;
  overflow-wrap: anywhere;
}
.link-assigned strong {
  display: inline-block;
  margin-right: 12px;
}
.link-review-options {
  margin: 16px 0 24px;
  padding: 16px 20px;
  border: 1px solid var(--border, #dce4de);
  border-radius: 14px;
}
.link-review-options summary {
  cursor: pointer;
  font-weight: 600;
}
.link-review-options summary span {
  font-size: 12px;
  font-weight: 400;
  margin-left: 12px;
  color: #73867b;
}
.link-review-options .event-link-filters {
  margin-top: 18px;
}
.link-bulk-actions {
  justify-content: flex-start;
  gap: 14px;
}
.link-review-card {
  background: white;
  border: 1px solid #dce4de;
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 16px;
}
.link-review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.link-review-heading .checkline {
  margin: 0;
  color: #65796f;
  font-size: 13px;
}
.link-review-amount {
  font-size: 22px;
  white-space: nowrap;
}
.link-review-card h3 {
  font-size: 18px;
  margin: 12px 0 4px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.link-review-departments {
  color: #7a8c81;
  font-size: 12px;
  margin: 0 0 18px;
}
.link-candidates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.link-candidate {
  text-align: left;
  background: #f0f7f3;
  border: 1px solid #c6dcd0;
  padding: 14px 16px;
  min-width: 0;
  white-space: normal;
}
.link-candidate:hover {
  background: #dceee3;
  border-color: #40856c;
}
.link-candidate strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.link-candidate span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #65796f;
  margin-top: 6px;
}
.link-review-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.link-row-status {
  font-size: 13px;
  color: #a24c38;
}
.link-ai-note {
  font-size: 13px;
  color: #336b58;
  margin: 8px 0;
}
.link-hidden-reason {
  font-size: 12px;
  color: #947746;
}
#link-save-notice .event-link-saved {
  margin-bottom: 16px;
}
#link-save-notice .event-link-saved details {
  display: inline-block;
  margin-left: 12px;
}
@media (max-width: 700px) {
  .link-review-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .link-review-toolbar .muted {
    display: block;
    font-size: 12px;
    margin-top: 6px;
  }
  .link-review-card {
    padding: 18px 16px;
  }
  .link-candidates {
    grid-template-columns: 1fr;
  }
  .link-review-heading {
    align-items: flex-start;
  }
  .link-review-amount {
    font-size: 19px;
  }
  .link-review-options summary span {
    display: block;
    margin: 6px 0 0;
  }
  .link-bulk-actions {
    flex-wrap: wrap;
  }
}
#link-ai-status:empty {
  display: none;
}
.link-bulk-actions {
  display: none;
}
.link-bulk-actions.has-selection {
  display: flex;
}

.link-evidence-fields {
  display: grid;
  gap: 14px;
}
.link-evidence-fields > div {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 14px;
}
.link-evidence-fields dt {
  color: var(--muted);
}
.link-evidence-fields dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.evidence-amount {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 20px;
}
.link-evidence-receipt {
  margin-top: 24px;
}
.link-evidence-receipt img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  margin: 16px auto 0;
}
@media (max-width: 600px) {
  .link-evidence-fields > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.payment-bulk {
  padding: 18px 20px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4f7f3;
}
.payment-bulk[hidden] {
  display: none;
}
.payment-bulk p {
  margin: 8px 0;
}
.payment-bulk .actions {
  flex-wrap: wrap;
}
