/* work/lida-dp-pre-admission-layout-20261117/src/styles.css */
.cp-page {
  color: #132953;
  max-width: 1550px;
  margin: auto;
  padding: 28px;
  min-width: 0;
}
.cp-page h1 {
  font-size: 32px;
  margin: 8px 0;
}
.cp-page p {
  line-height: 1.55;
}
.cp-page .eyebrow {
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 12px;
  color: #263bb0;
}
.cp-toolbar {
  display: flex;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #dce2f3;
  border-radius: 18px;
  padding: 20px;
  margin: 24px 0;
}
.cp-page label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}
.cp-page input:not([type=checkbox]),
.cp-page select,
.cp-page textarea {
  border: 1px solid #cfd8ed;
  border-radius: 10px;
  background: #fafbff;
  color: #132953;
  font: inherit;
  padding: 12px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.cp-page button {
  font: inherit;
  border: 1px solid #ccd6ec;
  border-radius: 10px;
  padding: 11px 17px;
  color: #172c61;
  background: #fff;
  cursor: pointer;
}
.cp-page button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.cp-page button:focus-visible,
.cp-page input:focus-visible,
.cp-page select:focus-visible,
.cp-page textarea:focus-visible {
  outline: 3px solid #818cf8;
  outline-offset: 2px;
}
.cp-page [role=alert] {
  background: #fff3ef;
  color: #8c2d24;
  padding: 14px;
  border-radius: 10px;
}
.cp-records article {
  background: #fff;
  border: 1px solid #dce2f3;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.cp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: #0a173c66;
  display: grid;
  place-items: center;
  padding: 20px;
}
.cp-editor {
  background: #fff;
  border-radius: 22px;
  max-width: 1060px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 80px #061b4b44;
  padding: 24px;
  box-sizing: border-box;
}
.cp-editor header,
.cp-editor footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cp-editor footer {
  justify-content: flex-end;
  border-top: 1px solid #dce2f3;
  margin-top: 20px;
  padding-top: 18px;
}
.cp-editor fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.cp-entry {
  border: 1px solid #dce2f3;
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0;
}
.cp-entry h3 {
  margin-top: 0;
}
.cp-quantities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}
.cp-discount {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: end;
  gap: 12px;
  margin: 12px 0;
}
.cp-editor textarea {
  min-height: 70px;
  resize: vertical;
}
.cp-editor fieldset > label {
  margin: 15px 0;
}
.cp-editor fieldset > label:has(input[type=checkbox]) {
  display: flex;
  align-items: center;
}
.cp-calculation dl,
.cp-editor dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 20px 0;
}
.cp-calculation dd,
.cp-editor dd {
  margin: 0;
  font-weight: 700;
}
.cp-calculation summary {
  cursor: pointer;
  margin: 10px 0;
}
.cp-calculation li {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
}
.cp-editor footer button:last-child {
  background: #273eb2;
  color: #fff;
}
.cp-records h2 {
  font-size: 18px;
}
@media (max-width: 650px) {
  .cp-page {
    padding: 16px;
  }
  .cp-page h1 {
    font-size: 26px;
  }
  .cp-toolbar > * {
    width: 100%;
  }
  .cp-modal-backdrop {
    padding: 6px;
  }
  .cp-editor {
    padding: 16px;
    max-height: 96vh;
    border-radius: 16px;
  }
  .cp-quantities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cp-discount {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-calculation dl,
  .cp-editor dl {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-editor footer button {
    flex: 1;
  }
  .cp-editor h2 {
    font-size: 21px;
  }
  .cp-calculation ul {
    padding-left: 18px;
  }
}
.cp-report-card {
  min-width: 0;
  border: 1px solid #dce2f3;
  border-radius: 18px;
  background: white;
  padding: 20px;
  min-height: 122px;
  box-sizing: border-box;
}
.cp-report-card:not(.cp-report-expanded) {
  display: flex;
  align-items: center;
}
.cp-report-expanded {
  grid-column: 1/-1;
}
.cp-report-detail h3 {
  font-size: 16px;
  margin: 0 0 7px;
}
.cp-report-detail p {
  font-size: 13px;
  line-height: 1.5;
}
.cp-report-detail button,
.cp-report-detail select,
.cp-report-detail input {
  padding: 10px;
  border: 1px solid #ccd6ec;
  border-radius: 10px;
  background: #fafbff;
  color: #132953;
}
.cp-report-detail label {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.cp-report-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.cp-report-totals > span {
  padding: 12px;
  background: #f1f5fc;
  border-radius: 10px;
  font-size: 13px;
}
.cp-table-scroll {
  max-width: 100%;
  overflow: auto;
}
.cp-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.cp-table-scroll td,
.cp-table-scroll th {
  border-bottom: 1px solid #dce2f3;
  padding: 12px;
  text-align: left;
  white-space: nowrap;
}
.cp-export-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.cp-complementary-indicators {
  margin-top: 24px;
}
.cp-financial-chart {
  background: #fff;
  border: 1px solid #dce2f3;
  border-radius: 18px;
  margin: 18px 0;
  padding: 22px;
  min-width: 0;
}
.cp-chart-scroll {
  overflow: auto;
}
.cp-chart-scroll svg {
  width: 100%;
  min-width: 620px;
  max-height: 330px;
}
.cp-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
}
.cp-chart-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.cp-chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.cp-financial-chart text {
  fill: #213e73;
}
.cp-financial-chart p {
  font-size: 13px;
  color: #52658d;
}
.cp-entry-page {
  max-width: 1640px;
  padding: 26px;
  color: #172d58;
}
.cp-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.cp-page-heading p {
  margin: 5px 0;
  color: #5c6e91;
  font-size: 13px;
}
.cp-page-heading .eyebrow {
  font-size: 11px;
  color: #293cac;
}
.cp-page .cp-month-chip {
  padding: 10px 15px;
  background: #e9edff;
  border: 1px solid #dbe2f5;
  border-radius: 12px;
  color: #293cac;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.cp-entry-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.cp-entry-stats article {
  padding: 18px 20px;
  border: 1px solid #dce3f1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 22px #20356e06;
}
.cp-entry-stats h2 {
  font-size: 12px;
  font-weight: 600;
  color: #617294;
  margin: 0 0 14px;
}
.cp-entry-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.cp-entry-stats small {
  display: block;
  font-size: 11px;
  color: #6a7b97;
  margin-top: 7px;
}
.cp-entry-stats article:last-child {
  background: #293cac;
  border-color: #293cac;
  color: #fff;
}
.cp-entry-stats article:last-child :is(h2, small) {
  color: #e1e7ff;
}
.cp-overview {
  border: 1px solid #dce3f1;
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px #22396507;
}
.cp-overview-tools {
  padding: 18px;
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  background: #f6f8fd;
  border-bottom: 1px solid #dce3f1;
}
.cp-search {
  flex: 1;
  min-width: 190px !important;
}
.cp-overview-tools input {
  background: #fff !important;
  padding: 10px 12px !important;
}
.cp-entry-page button {
  font-size: 12px;
  font-weight: 650;
  padding: 10px 13px;
  min-height: 38px;
}
.cp-entry-page .cp-primary {
  background: #293cac;
  color: #fff;
  border-color: #293cac;
  box-shadow: 0 5px 12px #293cac22;
}
.cp-status-filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.cp-status-filters button {
  background: transparent;
  border-color: transparent;
  padding: 9px 10px;
}
.cp-status-filters button[aria-pressed=true] {
  background: #e5eaff;
  border-color: #d5def7;
  color: #273da7;
}
.cp-status-filters span {
  font-size: 10px;
  margin-left: 4px;
  opacity: .8;
}
.cp-entry-table-scroll {
  max-width: 100%;
  overflow: auto;
  max-height: 65vh;
}
.cp-entry-table-scroll table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 740px;
  font-size: 12px;
}
.cp-entry-table-scroll th {
  background: #edf1fa;
  color: #52698e;
  position: sticky;
  top: 0;
  z-index: 1;
  font-weight: 650;
  text-align: left;
  padding: 13px 18px;
  white-space: nowrap;
}
.cp-entry-table-scroll td {
  padding: 14px 18px;
  border-top: 1px solid #e3e8f4;
  vertical-align: middle;
}
.cp-entry-table-scroll tr:nth-child(odd) {
  background: #fff;
}
.cp-entry-table-scroll tr:nth-child(even) {
  background: #f0f4fc;
}
.cp-entry-table-scroll tr:hover {
  background: #e9effc;
}
.cp-entry-table-scroll strong {
  display: block;
  font-weight: 650;
}
.cp-entry-table-scroll small {
  display: block;
  margin-top: 5px;
  color: #647796;
  font-size: 11px;
}
.cp-money {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cp-entry-table-scroll td:last-child {
  white-space: nowrap;
}
.cp-empty {
  text-align: center !important;
  padding: 30px !important;
  color: #657793;
}
.cp-entry-footnote {
  padding: 12px 18px;
  color: #697b98;
  font-size: 11px;
  margin: 0;
}
.cp-entry-page .cp-success {
  background: #eaf5ef;
  border: 1px solid #cfe5d9;
  border-radius: 10px;
  padding: 12px 16px;
  color: #24674a;
  font-size: 12px;
}
.cp-state-provisional {
  background: #fff0d2;
  color: #77520e;
}
.cp-entry-workspace {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  border: 1px solid #dce3f1;
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 35px #20356509;
}
.cp-person-rail {
  background: #f1f4fc;
  border-right: 1px solid #dce3f1;
  padding: 15px 10px;
  min-width: 0;
}
.cp-person-rail > button {
  width: 100%;
  font-size: 11px;
  padding: 9px 6px;
}
.cp-person-rail > .eyebrow {
  font-size: 9px;
  margin: 22px 8px 10px;
}
.cp-person-rail nav {
  display: grid;
  gap: 5px;
  max-height: 65vh;
  overflow: auto;
}
.cp-person-rail nav button {
  border-color: transparent;
  background: transparent;
  text-align: left;
  padding: 11px 9px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cp-person-rail nav strong {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
}
.cp-person-rail nav small {
  display: block;
  color: #6b7a96;
  font-size: 10px;
  margin-top: 4px;
}
.cp-person-rail nav button[aria-current=true] {
  background: #e1e8fc;
  border-color: #d0daf5;
  color: #283b9d;
}
.cp-mobile-person {
  display: none !important;
}
.cp-person-main {
  min-width: 0;
}
.cp-person-heading {
  padding: 22px 24px 17px;
  border-bottom: 1px solid #e2e7f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cp-person-heading h2 {
  font-size: 19px;
  line-height: 1.4;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.cp-person-heading p {
  font-size: 11px;
  margin: 0;
  color: #64789b;
}
.cp-editor-inline {
  border-radius: 0;
  max-width: none;
  max-height: none;
  overflow: visible;
  box-shadow: none;
  padding: 22px;
}
.cp-editor-inline > header h2 {
  font-size: 15px;
  margin: 0;
}
.cp-keyboard-hint {
  font-size: 10px;
  color: #70809d;
  margin: 7px 0 0;
}
.cp-keyboard-hint kbd {
  font: inherit;
  background: #f0f3fa;
  border: 1px solid #dce3f1;
  padding: 3px 5px;
  border-radius: 4px;
}
.cp-decimal-hint {
  font-size: 11px;
  color: #6a7b98;
  margin: 17px 0;
}
.cp-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: start;
}
.cp-editor-inline legend {
  font-size: 11px;
  font-weight: 700;
  color: #617394;
  letter-spacing: .04em;
}
.cp-editor-inline .cp-entry {
  padding: 14px;
  margin: 10px 0;
  border-radius: 12px;
  border-color: #dce3f1;
  background: #fbfcff;
}
.cp-entry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.cp-entry-top h3 {
  font-size: 12px;
  margin: 0;
}
.cp-entry-page .cp-minor-button {
  font-size: 10px;
  padding: 3px 5px;
  border: 0;
  background: transparent;
  color: #77859e;
  min-height: 24px;
}
.cp-editor-inline .cp-quantities {
  gap: 12px;
  margin: 0;
}
.cp-editor-inline label {
  font-size: 11px;
  font-weight: 600;
}
.cp-number-wrap {
  position: relative;
}
.cp-editor-inline .cp-number-wrap input {
  background: #fff;
  padding: 11px 40px 11px 12px;
  font-size: 16px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  height: 43px;
}
.cp-number-wrap > span {
  position: absolute;
  right: 10px;
  top: 15px;
  font-size: 10px;
  color: #8090a9;
  pointer-events: none;
}
.cp-entry-page .cp-add-line {
  background: transparent;
  border-style: dashed;
  color: #4e6598;
  width: 100%;
  font-size: 11px;
}
.cp-optional {
  margin-top: 14px;
  border: 1px solid #e0e6f2;
  border-radius: 10px;
  padding: 12px;
}
.cp-optional > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.cp-optional > summary > span {
  float: right;
  font-size: 10px;
  color: #7988a4;
}
.cp-optional > label {
  margin-top: 12px;
}
.cp-optional .cp-discount {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 15px;
}
.cp-optional button {
  font-size: 11px;
}
.cp-zero-choice {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  color: #6b7c97;
  font-size: 10px !important;
  margin: 16px 0 0 !important;
}
.cp-zero-choice input {
  accent-color: #293cac;
  flex: none;
}
.cp-review-panel {
  background: #f1f4fc;
  border: 1px solid #dce3f1;
  border-radius: 13px;
  padding: 17px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cp-review-panel h3 {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.cp-review-panel .eyebrow {
  font-size: 9px;
}
.cp-review-panel dl {
  font-size: 11px;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  margin: 15px 0;
}
.cp-review-panel dt {
  color: #677b9c;
}
.cp-review-panel dd {
  margin-bottom: 8px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.cp-review-panel .cp-calculation {
  border-top: 1px solid #d8e0f1;
}
.cp-review-panel .cp-calculation dl {
  margin-bottom: 6px;
}
.cp-review-panel .cp-calculation dd:last-child {
  font-size: 22px;
  color: #293cac;
}
.cp-review-panel .cp-calculation summary {
  font-size: 10px;
}
.cp-review-panel .cp-calculation li {
  font-size: 10px;
}
.cp-policy-note {
  font-size: 10px;
  color: #6b7f9f;
}
.cp-review-empty > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #e1e7fa;
  color: #293cac;
  border-radius: 10px;
  font-size: 26px;
  margin-bottom: 15px;
}
.cp-review-empty p {
  font-size: 12px;
  color: #617797;
}
.cp-review-empty small {
  font-size: 10px;
  line-height: 1.6;
  color: #7485a2;
  display: block;
  padding-top: 10px;
  border-top: 1px solid #dce3f1;
}
.cp-editor-inline footer {
  margin-top: 18px;
  padding-top: 16px;
  gap: 12px;
}
.cp-editor-inline footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.cp-save-note {
  font-size: 10px;
  color: #7585a0;
}
.cp-editor-inline footer button {
  font-size: 11px;
}
.cp-record-actions {
  padding: 0 22px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cp-record-actions > span {
  font-size: 11px;
  color: #6b7b98;
  flex: 1;
}
.cp-read-detail {
  padding: 22px;
}
.cp-history {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #dce3f1;
  border-radius: 15px;
  padding: 22px;
}
.cp-history article {
  padding: 15px 0;
  border-bottom: 1px solid #e2e7f1;
}
.cp-history h2 {
  font-size: 18px;
}
.cp-history h3 {
  font-size: 14px;
}
@media (max-width: 1100px) {
  .cp-editor-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-review-panel dl {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .cp-review-panel .cp-calculation dd:last-child {
    font-size: 20px;
  }
  .cp-person-rail {
    padding: 12px 8px;
  }
  .cp-entry-workspace {
    grid-template-columns: 155px minmax(0, 1fr);
  }
}
@media (max-width: 736px) {
  .cp-entry-page {
    padding: 16px;
  }
  .cp-page-heading {
    align-items: flex-start;
  }
  .cp-entry-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .cp-entry-stats article {
    padding: 15px;
  }
  .cp-entry-stats strong {
    font-size: 21px;
  }
  .cp-entry-stats small {
    font-size: 10px;
  }
  .cp-entry-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-person-rail {
    border-right: 0;
    border-bottom: 1px solid #dce3f1;
    padding: 12px 16px;
    display: flex;
    align-items: end;
    gap: 14px;
  }
  .cp-person-rail > button {
    width: auto;
    max-width: 100px;
  }
  .cp-person-rail nav,
  .cp-person-rail > .eyebrow {
    display: none;
  }
  .cp-mobile-person {
    display: grid !important;
    flex: 1;
  }
  .cp-person-heading {
    padding: 18px 16px;
    flex-wrap: wrap;
  }
  .cp-person-heading h2 {
    font-size: 17px;
  }
  .cp-editor-inline {
    padding: 16px;
  }
  .cp-editor-inline .cp-quantities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .cp-overview-tools {
    padding: 14px;
    gap: 12px;
  }
  .cp-search {
    min-width: 0 !important;
    flex-basis: 100%;
  }
  .cp-status-filters {
    gap: 0;
  }
  .cp-status-filters button {
    padding: 8px;
    font-size: 11px;
  }
  .cp-overview-tools > .cp-primary {
    width: 100%;
  }
  .cp-editor-inline footer > div {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cp-editor-inline footer > div button:last-child {
    grid-column: 1/-1;
  }
  .cp-editor-inline footer > div button {
    min-width: 0;
  }
  .cp-review-panel dl {
    grid-template-columns: minmax(0, 1fr);
  }
  .cp-record-actions {
    padding: 0 16px 16px;
  }
  .cp-number-wrap > span {
    right: 8px;
    font-size: 9px;
  }
  .cp-entry-page h1 {
    font-size: 25px;
  }
  .cp-month-chip {
    display: none;
  }
  .cp-keyboard-hint {
    font-size: 9px;
  }
}
.cp-report-card {
  color: #132953;
  padding: 24px;
  box-shadow: 0 10px 28px #243a6c0a;
}
.cp-report-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.cp-report-heading > div {
  flex: 1;
  min-width: 0;
}
.cp-report-heading h3 {
  font-size: 16px;
  font-weight: 750;
}
.cp-report-heading p {
  margin: 4px 0 0;
  color: #52658a;
}
.cp-report-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #e9edff;
  color: #273bb1;
}
.cp-report-detail button {
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  min-height: 42px;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.cp-report-detail .cp-primary {
  background: #293db0;
  border-color: #293db0;
  color: #fff;
  box-shadow: 0 8px 18px #243a9126;
}
.cp-report-detail .cp-secondary {
  background: #fff;
  border-color: #d6def0;
  color: #203465;
}
.cp-report-detail button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.cp-report-detail :is(button, input, select):focus-visible,
.cp-table-scroll:focus-visible {
  outline: 3px solid #8593ed;
  outline-offset: 3px;
}
.cp-report-detail {
  margin-top: 24px;
  border-top: 1px solid #dce2f3;
  padding-top: 20px;
  min-width: 0;
}
.cp-report-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  background: #f0f3fb;
  border: 1px solid #dce2f3;
  border-radius: 14px;
}
.cp-report-options .cp-toolbar {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  gap: 14px;
}
.cp-report-options label {
  font-weight: 600;
  color: #273d6a;
}
.cp-report-options .cp-toolbar label:last-child {
  min-width: 180px;
  flex: 1;
}
.cp-report-options select,
.cp-report-options input[type=month] {
  background: #fff;
  min-height: 42px;
  box-sizing: border-box;
  max-width: 100%;
  font: inherit;
  font-size: 13px;
}
.cp-export-panel {
  display: grid;
  gap: 12px;
  justify-items: end;
  flex-shrink: 0;
}
.cp-export-panel .cp-memory-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.cp-memory-choice input {
  width: 16px;
  height: 16px;
  accent-color: #293db0;
  padding: 0;
}
.cp-export-actions {
  margin: 0;
}
.cp-report-note {
  color: #52658a;
  margin: 18px 0 12px !important;
  font-size: 12px !important;
}
.cp-report-totals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.cp-report-totals > div {
  border: 1px solid #dce2f3;
  background: #f4f6fc;
  border-radius: 12px;
  padding: 16px;
  min-width: 0;
}
.cp-report-totals dt {
  font-size: 12px;
  color: #52658a;
  min-height: 34px;
  line-height: 1.4;
}
.cp-report-totals dd {
  font-size: 20px;
  font-weight: 750;
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.cp-report-totals > div:nth-child(2) {
  background: #eef3ff;
  border-top: 3px solid #3e51bd;
}
.cp-report-totals > div:nth-child(4) {
  background: #edf7f3;
  border-top: 3px solid #297e6b;
}
.cp-report-totals > div:last-child {
  background: #293b8c;
  border-color: #293b8c;
  color: #fff;
}
.cp-report-totals > div:last-child dt {
  color: #dde5ff;
}
.cp-report-notice {
  background: #fff7e8;
  border: 1px solid #f0deba;
  border-left: 3px solid #c79743;
  border-radius: 10px;
  padding: 10px 14px;
  color: #745520;
}
.cp-report-notice p {
  margin: 4px 0;
  font-size: 12px;
}
.cp-table-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 12px;
  gap: 12px;
}
.cp-table-heading h4 {
  font-size: 14px;
  margin: 0;
}
.cp-table-heading > span {
  font-size: 11px;
  background: #e8eefb;
  padding: 6px 10px;
  border-radius: 20px;
  color: #25428a;
}
.cp-table-scroll {
  border: 1px solid #dce2f3;
  border-radius: 12px;
  max-height: 620px;
  overflow: auto;
  background: #fff;
}
.cp-table-scroll table {
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}
.cp-table-scroll th {
  position: sticky;
  top: 0;
  background: #24377e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  z-index: 1;
  line-height: 1.5;
  white-space: normal;
}
.cp-table-scroll td,
.cp-table-scroll th {
  padding: 14px 16px;
  border-bottom: 1px solid #dce2f3;
}
.cp-table-scroll tbody tr:nth-child(odd) {
  background: #fff;
}
.cp-table-scroll tbody tr:nth-child(even) {
  background: #eef3fc;
}
.cp-table-scroll td:nth-child(n+4),
.cp-table-scroll th:nth-child(n+4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cp-table-scroll td:nth-child(n+4) {
  font-weight: 600;
}
.cp-person-cell {
  min-width: 220px;
  max-width: 340px;
  white-space: normal !important;
}
.cp-person-cell strong {
  display: block;
  font-weight: 650;
}
.cp-person-cell small {
  display: block;
  font-size: 10px;
  color: #617298;
  margin-top: 5px;
}
.cp-state {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  background: #e5eaf3;
  color: #405573;
  font-size: 11px;
  font-weight: 600;
}
.cp-state-recorded,
.cp-state-explicit_zero {
  background: #dcefe6;
  color: #196145;
}
.cp-state-stale,
.cp-state-unavailable {
  background: #fff0d2;
  color: #77520e;
}
.cp-state-cancelled {
  background: #f8e3e8;
  color: #933549;
}
.cp-delete-dialog {
  color: #132953;
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  width: min(540px, 100%);
  box-sizing: border-box;
  box-shadow: 0 20px 70px #061b4b44;
}
.cp-delete-dialog h2 {
  font-size: 21px;
  margin-top: 0;
}
.cp-delete-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.cp-page .cp-danger {
  background: #a92d44;
  color: white;
  border-color: #a92d44;
}
.cp-delete-link {
  margin-left: 10px;
  color: #a42e46 !important;
}
.cp-receipt-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.cp-receipt-toolbar small {
  color: #657392;
  font-size: 12px;
}
.cp-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cp-row-actions button {
  font-size: 12px !important;
  padding: 9px 12px !important;
}
.cp-receipt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0b1b4880;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cp-receipt-dialog {
  box-sizing: border-box;
  background: #fff;
  color: #172c59;
  border: 1px solid #d9e2f5;
  border-radius: 22px;
  padding: 28px;
  width: min(660px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  box-shadow: 0 24px 80px #07183f55;
}
.cp-receipt-dialog header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.cp-receipt-dialog h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 7px 0 0;
}
.cp-receipt-dialog header > button {
  font-size: 24px;
  min-width: 40px;
  padding: 4px;
}
.cp-receipt-dialog p {
  font-size: 13px;
  line-height: 1.65;
}
.cp-receipt-summary {
  padding: 16px 18px;
  background: #eef2fc;
  border: 1px solid #dbe3f6;
  border-radius: 12px;
  margin: 24px 0 20px;
}
.cp-receipt-summary strong,
.cp-receipt-summary span {
  display: block;
}
.cp-receipt-summary span {
  color: #647295;
  font-size: 12px;
}
.cp-receipt-fields {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
}
.cp-receipt-fields label {
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
}
.cp-receipt-fields input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 7px;
  min-height: 43px;
  border: 1px solid #d4ddf2;
  border-radius: 9px;
  padding: 10px;
  font: inherit;
  background: #f9faff;
  color: #172c59;
}
.cp-receipt-dialog footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e0e6f5;
  padding-top: 20px;
  margin-top: 24px;
}
.cp-receipt-dialog footer > div {
  display: flex;
  gap: 10px;
}
.cp-receipt-dialog footer button {
  min-width: 78px;
}
.cp-receipt-dialog [role=alert] {
  color: #982e43;
  background: #fff1f3;
  padding: 10px 12px;
  border-radius: 8px;
}
.cp-receipt-dialog [role=status] {
  color: #1d6849;
}
.cp-receipt-word {
  border-color: #b9c8e4 !important;
  color: #183c74 !important;
}
@media (max-width: 650px) {
  .cp-receipt-dialog {
    padding: 20px;
    border-radius: 16px;
  }
  .cp-receipt-fields {
    grid-template-columns: 1fr;
  }
  .cp-receipt-toolbar small {
    flex-basis: 100%;
  }
  .cp-receipt-backdrop {
    padding: 12px;
  }
  .cp-receipt-dialog h2 {
    font-size: 19px;
  }
  .cp-receipt-dialog footer {
    gap: 8px;
  }
  .cp-receipt-dialog footer button {
    min-width: 60px;
    padding: 10px;
  }
  .cp-row-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 1100px) {
  .cp-report-options {
    align-items: stretch;
    flex-direction: column;
  }
  .cp-export-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cp-report-totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .cp-report-card {
    padding: 16px;
  }
  .cp-report-heading {
    flex-wrap: wrap;
  }
  .cp-report-heading > button {
    margin-left: auto;
  }
  .cp-report-options {
    padding: 14px;
  }
  .cp-report-options .cp-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .cp-export-panel {
    flex-wrap: wrap;
    gap: 14px;
  }
  .cp-report-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cp-report-totals > div:last-child {
    grid-column: 1/-1;
  }
  .cp-report-totals dt {
    min-height: 0;
  }
  .cp-report-totals dd {
    font-size: 18px;
  }
  .cp-delete-dialog {
    padding: 20px;
  }
  .cp-delete-dialog footer {
    flex-wrap: wrap;
  }
  .cp-delete-dialog footer button {
    flex: 1;
  }
}
.cp-editor-inline.cp-daily-editor .cp-quantities {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cp-daily-editor .cp-decimal-hint {
  margin-top: 0;
}
.cp-daily-delete {
  border: 0;
}
.cp-daily-delete::backdrop {
  background: #0a173c66;
}
@media (max-width: 390px) {
  .cp-editor-inline.cp-daily-editor .cp-quantities {
    grid-template-columns: minmax(0, 1fr);
  }
}
