.pc-config .top-actions { flex-wrap: wrap; }
.pc-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.pc-price-card { border: 1px solid #d9e6df; border-radius: 12px; background: #fff; padding: 22px 24px; box-shadow: var(--shadow); }
.pc-price-card:nth-child(2) { background: #f8fbf5; border-color: #dce8d6; }
.pc-price-card > .select { width: 100%; max-width: 100%; }
.pc-price-card h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.3px; margin: 18px 0 6px; overflow-wrap: anywhere; }
.pc-list-date { color: #7b9183; font-size: 12px; min-height: 29px; margin: 4px 0 15px; }
.pc-list-date strong { color: #4e7258; font-weight: 600; }
.pc-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pc-column-date { display: block; margin-top: 5px; color: #83978c; font-size: 10px; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: normal; line-height: 1.5; }
.pc-service-table { min-width: 690px; }
.pc-service-table td:first-child { min-width: 245px; max-width: 460px; }
.pc-service-table td:nth-child(2) { white-space: nowrap; }
.pc-service-table td:nth-child(3), .pc-service-table td:nth-child(4) { min-width: 125px; white-space: nowrap; }
.pc-service-table th:nth-child(3), .pc-service-table th:nth-child(4) { min-width: 125px; max-width: 200px; white-space: normal; }
.pc-service-table td:last-child { width: 64px; }
.pc-service-name { display: block; color: #3f6052; font-size: 12px; font-weight: 600; line-height: 1.5; margin: 0 0 5px; white-space: normal; overflow-wrap: anywhere; }
.pc-service-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.pc-service-tags:empty { display: none; }
.pc-service-tags .chip { padding: 2px 6px; font-size: 9px; }
.pc-unit-kind { display: block; color: #93a396; font-size: 10px; margin-top: 4px; }
.pc-rate { color: #3f6f56 !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.pc-unpriced { color: #a58557; font-size: 11px; font-weight: 550; }
.pc-archived { opacity: .66; }
.pc-toolbar { flex-wrap: wrap; }
.pc-toolbar .search-input { width: min(360px, 100%); }
.pc-toolbar .checkbox-line { margin: 0; }
.pc-source-note { color: #8b9e91; font-size: 11px; line-height: 1.7; margin: 17px 2px; }
.pc-list-form > .form-row > .field { margin-bottom: 8px; }
.pc-rate-editor-scroll { max-height: 43dvh; min-height: 175px; margin: 14px 0; border: 1px solid #e2eade; border-radius: 8px; overflow: auto; }
.pc-rate-editor { min-width: 480px; }
.pc-rate-editor thead { position: sticky; top: 0; z-index: 1; }
.pc-rate-editor th { background: #f3f8ee; }
.pc-rate-editor th:first-child, .pc-rate-editor td:first-child { padding-left: 14px; }
.pc-rate-editor td { padding: 11px 12px; }
.pc-rate-editor td:last-child { width: 137px; padding-right: 12px; }
.pc-rate-editor .code-label { font-size: 10px; }
.pc-rate-input { min-width: 98px; max-width: 144px; padding: 8px 10px; min-height: 38px; font-variant-numeric: tabular-nums; }
.pc-zero-check { padding: 11px 13px; margin: 10px 0 18px; border-radius: 7px; background: #fcf7eb; border: 1px solid #efe5c9; color: #947c51; font-size: 11px; line-height: 1.6; }
.pc-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: -7px 0 19px; }
.pc-line-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-bottom: 12px; }
.pc-line-price { border: 1px solid #e1eadd; background: #f8fbf5; border-radius: 8px; padding: 13px; }
.pc-line-price .field-label { min-height: 43px; margin-bottom: 9px; }
.pc-advanced { margin: 18px 0; padding: 13px 15px; border: 1px solid #e1eadd; border-radius: 8px; }
.pc-advanced summary { color: #607d64; font-weight: 600; font-size: 12px; cursor: pointer; }
.pc-advanced[open] summary { margin-bottom: 16px; }
.pc-advanced .field { margin-bottom: 7px; }
.pc-year-label { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: #8a9a8c; font-size: 11px; }
.pc-holiday-table { min-width: 590px; }
.pc-holiday-table td:nth-child(2) { white-space: normal; }
.pc-holiday-table td:last-child { width: 140px; }

@media (max-width: 900px) {
  .pc-config .topbar { align-items: flex-start; flex-wrap: wrap; }
  .pc-config .top-actions { width: 100%; }
  .pc-price-card { padding: 20px; }
}
@media (max-width: 600px) {
  .pc-price-grid, .pc-line-prices { grid-template-columns: 1fr; }
  .pc-price-grid { gap: 12px; }
  .pc-price-card { padding: 18px; }
  .pc-list-date { margin-bottom: 10px; }
  .pc-config .top-actions .btn { flex: 1; }
  .pc-config .notice { font-size: 11px; }
  .pc-config .panel-header { flex-wrap: wrap; gap: 12px; }
  .pc-config .table-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .pc-rate-editor-scroll { max-height: 42dvh; }
  .pc-rate-editor { min-width: 420px; }
  .pc-rate-editor td:first-child { min-width: 205px; }
  .pc-line-price .field-label { min-height: 0; }
  .pc-checks { display: block; }
}
