/* Existing spreadsheets + exported actuals, reviewed in a shared cost model. */
.product-cost-sources {
  position: relative;
  padding: 76px 0 82px;
  border-block: 1px solid #ececee;
  background: #fafafa;
  color: #303136;
}
.product-cost-sources .editorial-section-heading {
  margin-bottom: 44px;
}
.product-cost-sources .eyebrow {
  color: #686b77;
  font-size: 12px;
}
.product-cost-sources .section-title {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(29px, 3.1vw, 43px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.product-cost-sources .section-title > .section-title-text {
  color: #303136;
  max-width: 100%;
  text-wrap: balance;
  display: inline-block;
  position: relative;
  vertical-align: top;
}
.product-cost-sources .section-title-muted {
  color: #747680;
}
.product-cost-sources .section-title-glint {
  filter: opacity(0.2);
}
.pc-grid {
  gap: 28px;
}
.pc-feature {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pc-card.ui-card {
  height: auto;
  min-height: 550px;
  flex: 1;
}
.pc-card .fk-toolbar img {
  flex-shrink: 0;
  object-fit: contain;
}
.pc-card-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 0;
}
.pc-card .fk-source-heading {
  height: 39px;
}
.pc-card .fk-formula-bar {
  height: 25px;
}
.pc-workbook-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.pc-workbook-table :is(th, td) {
  height: 34px;
  padding: 4px 10px;
  border-bottom: 1px solid #e9ebf0;
  text-align: right;
  font-weight: 400;
}
.pc-workbook-table thead th {
  height: 27px;
  font-size: 10px;
  color: #9296a1;
  background: #f8f9fb;
}
.pc-workbook-table th:first-child {
  width: 36%;
  text-align: left;
}
.pc-workbook-table th:nth-child(2) {
  width: 23%;
}
.pc-workbook-table th:nth-child(3) {
  width: 18%;
}
.pc-workbook-table td > span {
  color: #9297a2;
}
.pc-workbook-table tbody th {
  padding-block: 0;
}
.pc-workbook-table th button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #656c7a;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pc-workbook-table tr[data-selected="true"] th button {
  color: #3d4c66;
  font-weight: 500;
}
.pc-workbook-table tbody tr:hover {
  background: #f7f8fb;
}
.pc-workbook-table .pc-cell-selected {
  outline: 1.5px solid #8293ae;
  outline-offset: -1.5px;
  background: #edf1f7;
  color: #3d4c66;
  font-weight: 550;
}
.pc-workbook-table tfoot :is(th, td) {
  height: 30px;
  border: 0;
  background: #f9f9fb;
  color: #545c6b;
  font-size: 10px;
  font-weight: 500;
}
.pc-workbook-table tfoot th {
  width: auto;
}
.pc-workbook .fk-sheet-footer {
  border-top: 1px solid #e6e8ed;
}
.pc-transfer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  min-height: 36px;
  color: #8a93a4;
  font-size: 10px;
}
.pc-transfer > span:first-child {
  position: absolute;
  top: 0;
  left: 50%;
  height: 13px;
  border-left: 1px dashed #c6ccda;
}
.pc-transfer > svg {
  position: relative;
  background: #f7f7f9;
}
.pc-transfer:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 6px;
  border-left: 1.5px solid #8394b2;
  animation: pc-cost-flow 2.8s ease-in-out infinite paused;
}
.product-cost-sources[data-visible="true"] .pc-transfer:after {
  animation-play-state: running;
}
.pc-cost-result {
  border: 1px solid #dce0e8;
  border-radius: 10px;
  background: #fff;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.pc-cost-result[data-updated="true"] {
  border-color: #aab6c9;
  box-shadow: 0 0 0 2px #8a9bb20c;
}
.pc-result-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px 6px;
  font-size: 11px;
  color: #626b7b;
}
.pc-result-heading > small {
  margin-left: auto;
  font-size: 9px;
  color: #9097a4;
}
.pc-midra-mark {
  display: flex;
  align-items: center;
  color: #515b6d;
}
.pc-midra-mark .midra-symbol {
  width: 18px;
  height: 18px;
}
.pc-midra-mark .midra-letters {
  display: none;
}
.pc-cost-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 14px 12px;
}
.pc-cost-line > div strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.pc-cost-line small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #8c93a0;
}
.pc-cost-line > strong {
  font:
    550 24px/1.25 "Inter Tight",
    Inter,
    sans-serif;
  letter-spacing: -0.03em;
  color: #343c49;
}
.pc-cost-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 37px;
  padding: 8px 14px;
  border-top: 1px solid #e8ebf0;
  background: #fafbfc;
  border-radius: 0 0 10px 10px;
}
.pc-cost-total span {
  color: #818996;
  font-size: 10px;
}
.pc-cost-total strong {
  font-size: 13px;
  font-weight: 550;
  color: #465164;
}
.pc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 5px 24px 12px;
}
.pc-card-footer .source-citation {
  min-height: 44px;
  font-size: 11px;
  color: #68778f;
}
.pc-footnote {
  color: #989eaa;
  font-size: 9px;
}
.pc-export-origin {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin-bottom: 14px;
}
.pc-export-origin > img {
  flex-shrink: 0;
  object-fit: contain;
}
.pc-export-origin > span:nth-child(2) {
  min-width: 0;
}
.pc-export-origin small {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  color: #9499a4;
}
.pc-export-origin strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.pc-export-origin > svg {
  margin-left: auto;
  color: #a4abba;
  flex-shrink: 0;
}
.pc-export-file {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 5px 12px;
  border: 1px solid #dfe3eb;
  border-radius: 9px;
  background: #ffffffbd;
  color: #737d8e;
  font-size: 10px;
}
.pc-export-file img {
  object-fit: contain;
}
.pc-export-job {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 11px 13px 2px;
  font-size: 10px;
  color: #838b99;
}
.pc-export-job > span {
  color: #c1c5cd;
}
.pc-ledger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  padding: 10px 13px 15px;
}
.pc-ledger-grid > span {
  color: #9a9fac;
  font-size: 9px;
}
.pc-ledger-grid > strong {
  font:
    550 23px/1.25 "Inter Tight",
    Inter,
    sans-serif;
  color: #3e4858;
  letter-spacing: -0.025em;
}
.pc-ledger-grid small {
  font:
    400 11px Inter,
    sans-serif;
  color: #8d95a2;
}
.pc-method-review {
  min-width: 0;
  border: 1px solid #dce0e8;
  border-radius: 10px;
  background: #fff;
}
.pc-method-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px 0;
  font-size: 11px;
  color: #6b7484;
}
.pc-method-top > span:last-child {
  font-size: 9px;
  color: #939ba8;
}
.pc-method-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
}
.pc-method-values > div {
  min-width: 0;
}
.pc-method-values small {
  display: block;
  font-size: 9px;
  color: #939ba8;
  margin-bottom: 5px;
}
.pc-method-values strong {
  font:
    550 26px/1.2 "Inter Tight",
    Inter,
    sans-serif;
  letter-spacing: -0.03em;
  color: #4d5c73;
}
.pc-method-values strong > span {
  font:
    400 10px Inter,
    sans-serif;
  color: #919aaa;
}
.pc-method-values > svg {
  color: #c0c7d4;
  flex-shrink: 0;
}
.pc-method-delta {
  padding-left: 14px;
  border-left: 1px solid #e7eaf0;
  font-size: 14px;
  font-weight: 500;
  color: #66758e;
  white-space: nowrap;
}
.pc-method-delta > span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 400;
  color: #a1a7b2;
}
.pc-apply-result {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 12px;
  border-top: 1px solid #eaedf2;
  border-radius: 0 0 10px 10px;
  color: #9098a5;
  font-size: 9px;
  line-height: 1.6;
}
.pc-apply-result svg {
  display: none;
  flex-shrink: 0;
}
.pc-apply-result[data-applied="true"] {
  color: #596b87;
  background: #f3f5fa;
}
.pc-apply-result[data-applied="true"] svg {
  display: block;
}
.pc-apply-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #424b5d;
  border-radius: 8px;
  background: #465065;
  color: #fff;
  font:
    450 11px/1.5 Inter,
    sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.pc-apply-button:hover {
  background: #58657c;
}
.pc-apply-button[aria-pressed="true"] {
  border-color: #d0d7e2;
  background: #f4f6fa;
  color: #596a85;
}
.product-cost-sources :is(button, a):focus-visible {
  outline: 2px solid #8394b2;
  outline-offset: 3px;
}
.pc-copy {
  padding: 24px 7px 0;
}
.pc-copy h3 {
  font-size: 23px;
}
.pc-copy p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.8;
  color: #656873;
}
@keyframes pc-cost-flow {
  0% {
    transform: translateY(-2px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80%,
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}
@media (min-width: 901px) and (max-width: 1190px) {
  .pc-card-body {
    padding-inline: 15px;
  }
  .pc-card-footer {
    padding-inline: 15px;
    gap: 8px;
  }
  .pc-workbook-table :is(th, td) {
    padding-inline: 7px;
    font-size: 10px;
  }
  .pc-card .fk-toolbar {
    padding-inline: 15px;
  }
  .pc-export-origin {
    gap: 7px;
  }
  .pc-export-origin strong {
    font-size: 11px;
  }
  .pc-export-file {
    padding-inline: 8px;
    font-size: 9px;
  }
  .pc-method-values {
    gap: 7px;
  }
  .pc-method-delta {
    padding-left: 9px;
  }
  .pc-apply-button {
    font-size: 10px;
    padding-inline: 9px;
  }
  .pc-footnote {
    display: none;
  }
}
@media (max-width: 900px) {
  .product-cost-sources {
    padding-block: 52px 64px;
  }
  .pc-grid {
    max-width: 650px;
    gap: 40px;
  }
  .product-cost-sources .editorial-section-heading {
    margin-bottom: 34px;
  }
}
@media (max-width: 480px) {
  .product-cost-sources .section-title {
    font-size: 27px;
    line-height: 1.35;
  }
  .pc-card.ui-card {
    height: auto;
    min-height: 550px;
  }
  .pc-card-body {
    padding: 18px 13px 0;
  }
  .pc-card-footer {
    padding: 6px 13px 12px;
    gap: 8px;
    min-height: 60px;
  }
  .pc-card .fk-toolbar {
    font-size: 11px;
    padding-inline: 13px;
  }
  .pc-card .fk-toolbar-note {
    font-size: 9px;
  }
  .pc-workbook-table :is(th, td) {
    font-size: 10px;
    padding-inline: 6px;
  }
  .pc-workbook-table thead th {
    font-size: 9px;
  }
  .pc-footnote {
    display: none;
  }
  .pc-export-origin {
    gap: 8px;
    min-height: 48px;
  }
  .pc-export-origin > img {
    width: 30px;
    height: 30px;
  }
  .pc-export-origin strong {
    font-size: 11px;
  }
  .pc-export-file {
    padding-inline: 8px;
    gap: 5px;
    font-size: 9px;
  }
  .pc-export-file img {
    width: 20px;
    height: 20px;
  }
  .pc-method-values {
    gap: 7px;
    padding-inline: 11px;
  }
  .pc-method-values strong {
    font-size: 25px;
  }
  .pc-method-values small {
    font-size: 8px;
  }
  .pc-method-top {
    padding-inline: 11px;
    font-size: 10px;
  }
  .pc-method-top > span:last-child {
    font-size: 8px;
  }
  .pc-method-delta {
    padding-left: 9px;
    font-size: 13px;
  }
  .pc-method-delta > span {
    font-size: 8px;
  }
  .pc-apply-button {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 10px;
  }
  .pc-card-footer .source-citation {
    font-size: 10px;
  }
  .pc-copy h3 {
    font-size: 21px;
  }
  .pc-copy p {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc-transfer:after {
    animation: none;
    display: none;
  }
  .pc-cost-result,
  .pc-apply-button {
    transition: none;
  }
}

.pc-card-body > .fk-source-window,
.pc-cost-result,
.pc-method-review {
  flex-shrink: 0;
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .pc-grid {
      row-gap: 0;
    }
    .pc-feature {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 2;
    }
  }
}
