.pc-center { min-width: 0; }
.archive-sync-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: #62788f; font-size: 11px; line-height: 1.8; margin: -9px 0 19px; }
.archive-sync-indicator { width: 6px; height: 6px; border-radius: 50%; background: #34886b; flex-shrink: 0; }
.archive-sync-indicator.is-error { background: #ba8744; }
.archive-sync-bar small { color: #8798aa; font-size: 10px; }
.archive-sync-spacer { flex: 1; }
.archive-sync-bar .action-link { font-size: 11px; }
.archive-sync-details { padding-left: 21px; font-size: 12px; line-height: 1.9; color: #4d6881; }
.archive-sync-details li { margin-bottom: 18px; overflow-wrap: anywhere; }
.archive-sync-details p { margin: 5px 0; white-space: pre-wrap; }
.pc-archive-progress { padding: 18px 20px; margin: 0 0 23px; border: 1px solid #cbdff0; border-radius: 8px; background: #f3f8fd; }
.pc-archive-progress h3 { margin: 0 0 9px; color: #244e73; font-size: 13px; }
.pc-archive-progress>p { color: #325c80; font-size: 14px; line-height: 1.9; margin: 0; white-space: pre-wrap; }
.pc-archive-progress small { display: block; color: #6d8297; line-height: 1.8; margin-top: 8px; font-size: 11px; }
.pc-archive-pending { white-space: pre-wrap; color: #4d6881; font-size: 12px; line-height: 1.9; }
.pc-center .page-header { align-items: flex-start; }
.pc-toolbar { flex-wrap: wrap; }
.pc-toolbar .search-field { flex: 1 1 260px; }
.pc-customer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pc-customer-card { display: flex; flex-direction: column; align-items: stretch; min-height: 225px; padding: 24px; text-align: left; border: 1px solid var(--line, #f0f5fa); border-radius: 13px; background: var(--surface, #fff); box-shadow: 0 2px 5px #17345103; transition: border-color .16s, box-shadow .16s, transform .16s; overflow: hidden; }
.pc-customer-card:hover { border-color: #8295a9; box-shadow: 0 8px 24px #1734510a; transform: translateY(-2px); }
.pc-customer-card:focus-visible { outline-offset: 4px; }
.pc-customer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.pc-customer-avatar { display: inline-flex; flex-shrink: 0; justify-content: center; align-items: center; height: 49px; width: 49px; border: 1px solid #dce6ef; border-radius: 12px; background: #f0f5fa; color: #285174; font-size: 21px; font-weight: 550; line-height: 1; }
.pc-customer-avatar svg { width: 25px; height: 25px; }
.pc-customer-avatar.pc-customer-wordmark { width: auto; min-width: 70px; padding: 0 15px; font-size: 16px; font-weight: 600; letter-spacing: .2px; }
.pc-customer-wordmark.capital-origin-muted { color: #6b7280; background: #f1f3f5; border-color: #dfe3e8; font-weight: 400; }
.pc-customer-wordmark.capital-origin-priority { font-weight: 700; }
.pc-customer-name { display: block; color: var(--text, #173451); font-size: 16px; font-weight: 550; line-height: 1.6; margin-bottom: 6px; overflow-wrap: anywhere; }
.pc-customer-caption { color: #62788f; font-size: 12px; line-height: 1.8; margin-top: 9px; overflow-wrap: anywhere; }
.pc-customer-match { color: #4d6881; margin-top: 10px; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.pc-customer-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #f0f5fa; padding-top: 15px; margin-top: auto; color: #62788f; font-size: 11px; }
.pc-customer-caption + .pc-customer-footer, .pc-customer-match + .pc-customer-footer { margin-top: 22px; }
.pc-customer-enter { display: flex; align-items: center; gap: 7px; color: #4d6881; font-size: 11px; }
.pc-customer-enter svg { width: 14px; height: 14px; }
.pc-customer-unlinked { background: #f7f9fc; border-style: dashed; }
.pc-avatar-folder { color: #62788f; background: #f0f5fa; border-color: #dce6ef; }
.pc-unlinked-label { border-radius: 5px; background: #f0f5fa; color: #62788f; font-size: 10px; padding: 5px 8px; }
.pc-tier { display: inline-flex; align-items: center; gap: 4px; width: max-content; flex-shrink: 0; padding: 4px 8px; border-radius: 5px; font-size: 10px; font-weight: 500; line-height: 1.4; white-space: nowrap; letter-spacing: .1px; }
.pc-tier-a { background: #f7efdc; color: #9b762e; }
.pc-tier-b { background: #f0f5fa; color: #4d6881; }
.pc-tier-none { background: #f0f5fa; color: #62788f; }
.pc-back { padding-left: 0; margin: -7px 0 21px; font-size: 11px; }
.pc-back:hover { background: transparent; color: var(--green, #285174); }
.pc-customer-page-header { gap: 22px; }
.pc-customer-context { display: flex; align-items: flex-start; gap: 17px; min-width: 0; }
.pc-customer-context > .pc-customer-avatar { margin-top: 4px; }
.pc-customer-context .page-eyebrow { margin-bottom: 8px; }
.pc-customer-context .page-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 24px; line-height: 1.4; overflow-wrap: anywhere; }
.pc-project-table { min-width: 780px; }
.pc-project-table td:first-child { min-width: 235px; }
.pc-project-table small { display: block; margin-top: 6px; line-height: 1.6; }
.pc-main-toggle { min-height: 29px; padding: 5px 7px; font-size: 10px; gap: 5px; color: #62788f; }
.pc-main-toggle svg { height: 13px; width: 13px; }
.pc-main-toggle:hover { background: #f0f5fa; color: #4d6881; }
.pc-main-toggle.pc-is-main { color: #9a7a37; background: #faf3e3; }
.pc-is-main svg { fill: #d9bb764d; }
.pc-project-table td:first-child > .pc-main-toggle { display: flex; margin: 9px 0 -3px -6px; width: max-content; }
.pc-main-row td { background: #fdfcf7; }
.pc-board { grid-template-columns: repeat(4, minmax(225px, 1fr)); align-items: start; gap: 15px; }
.pc-board-column { min-height: 210px; }
.pc-board .board-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; }
.pc-board .board-heading h3 { margin: 0; }
.pc-board .pc-project-card { display: flex; flex-direction: column; padding: 0; margin: 0 0 11px; width: 100%; background: white; border: 1px solid #dce6ef; border-radius: 9px; overflow: hidden; text-align: left; }
.pc-board .pc-project-card.pc-main-card { border-color: #d8c793; }
.pc-project-open { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 17px; text-align: left; background: transparent; border: 0; }
.pc-project-open:hover { background: #f7f9fc; }
.pc-project-open .project-code { color: #62788f; font-size: 9px; line-height: 1.6; margin-bottom: 8px; overflow-wrap: anywhere; }
.pc-project-card-name { font-size: 12px; line-height: 1.8; color: #285174; font-weight: 550; margin-bottom: 10px; overflow-wrap: anywhere; }
.pc-project-open .project-next { display: flex; align-items: flex-start; gap: 6px; font-size: 10px; line-height: 1.8; margin-top: 15px; color: #62788f; }
.pc-project-open .project-next svg { width: 13px; height: 13px; margin-top: 2px; }
.pc-project-open .project-meta { display: flex; justify-content: space-between; width: 100%; gap: 8px; font-size: 10px; color: #62788f; margin-top: 14px; }
.pc-project-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f0f5fa; padding: 5px 9px; }
.pc-project-card-footer .icon-button { width: 28px; height: 28px; }
.pc-detail { min-width: 0; }
.pc-detail-heading { align-items: flex-start; margin-bottom: 22px; }
.pc-detail-identity { min-width: 0; flex: 1 1 240px; }
.pc-detail-identity h2 { overflow-wrap: anywhere; }
.pc-detail-badges { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.pc-detail .pc-detail-actions { justify-content: flex-end; align-items: center; max-width: 320px; }
.pc-detail-actions .button { min-height: 34px; padding: 8px 10px; font-size: 11px; }
.pc-detail-actions .pc-main-toggle { padding: 7px 10px; }
.pc-tabs { display: flex; align-items: stretch; gap: 7px; width: 100%; overflow-x: auto; border-bottom: 1px solid #dce6ef; margin: 0 0 22px; scrollbar-width: thin; }
.pc-tab { flex-shrink: 0; padding: 13px 13px 14px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 0; color: #62788f; font-size: 12px; background: transparent; white-space: nowrap; }
.pc-tab:hover { color: #285174; background: #f0f5fa; }
.pc-tab.active { color: #285174; border-bottom-color: #4d6881; font-weight: 550; }
.pc-tab-panel { min-width: 0; }
.pc-detail .pc-tab-section { border-top: 0; padding-top: 0; margin-top: 0; }
.pc-detail .section-heading { align-items: flex-start; }
.pc-detail .section-heading p { max-width: 430px; line-height: 1.8; }
.pc-detail .section-actions .button { min-height: 35px; font-size: 11px; padding: 8px 11px; }
.pc-detail .empty-state { padding: 36px 18px; }
.pc-next-action { display: flex; align-items: center; justify-content: space-between; gap: 17px; background: #f0f5fa; border: 1px solid #dce6ef; border-radius: 9px; padding: 18px; margin: 23px 0; }
.pc-next-action p { color: #285174; font-size: 13px; line-height: 1.8; margin: 0 0 6px; overflow-wrap: anywhere; }
.pc-next-action .muted { font-size: 10px; line-height: 1.8; }
.pc-next-action .detail-label { display: block; margin-bottom: 7px; }
.pc-project-progress { padding: 20px; border: 1px solid #dce6ef; border-radius: 10px; background: #fff; margin-bottom: 20px; }
.pc-progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pc-progress-heading h3 { margin: 0 0 6px; font-size: 14px; color: #203c5c; }
.pc-progress-heading p { margin: 0; font-size: 11px; color: #718298; }
.pc-progress-select { min-width: 130px; max-width: 100%; padding: 9px 30px 9px 11px; border: 1px solid #cedcef; border-radius: 7px; background-color: #f2f6fc; color: #315980; font-size: 12px; cursor: pointer; }
.pc-progress-select:focus-visible { outline: 2px solid #2f6ac4; outline-offset: 3px; }
.pc-progress-note { max-width: 240px; line-height: 1.7; margin-top: 8px; }
.pc-progress-flow { display: flex; list-style: none; padding: 0; margin: 0; gap: 7px; }
.pc-progress-step { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px 8px; border-top: 3px solid #e3eaf3; color: #7a8b9f; font-size: 11px; background: #f7f9fc; border-radius: 0 0 5px 5px; }
.pc-progress-number { font-size: 10px; letter-spacing: 1px; opacity: .8; }
.pc-progress-step.current { background: #eaf2ff; border-color: #326bc4; color: #25599f; font-weight: 600; }
.pc-progress-step small { font-size: 9px; font-weight: 400; }
.status-development { color: #315980; background-color: #edf4fc; }
.status-quoting { color: #8b621c; background-color: #fff6e4; }
.status-quote_finished { color: #76529d; background-color: #f3edfb; }
.status-post_quote_development { color: #346c8e; background-color: #eaf3fa; }
.status-trial_production { color: #167786; background-color: #e8f6f7; }
.status-mass_production { color: #247249; background-color: #eaf6ee; }
.status-ended { color: #697587; background-color: #eef1f5; }
.focus-archive-status { margin: 16px 0 0; font-size: 12px; line-height: 1.8; color: #4f6887; }
.pc-quotation-table { min-width: 620px; }
.pc-quotation-table small { display: block; margin-top: 5px; }
.pc-row-actions { display: flex; align-items: center; flex-shrink: 0; gap: 2px; }
.pc-file-list .action-link { overflow-wrap: anywhere; line-height: 1.8; }
.pc-history .timeline-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pc-history p { color: #4d6881; font-size: 12px; line-height: 1.9; margin: 8px 0; overflow-wrap: anywhere; }
.pc-history p.pc-history-source { font-size: 11px; color: #62788f; }
.pc-history-next { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 9px 12px; margin-top: 11px; background: #f0f5fa; color: #4d6881; border-radius: 6px; font-size: 11px; line-height: 1.8; }
.pc-history-next > span { color: #62788f; font-size: 10px; }
.pc-history-next small { margin-left: auto; font-size: 10px; color: #62788f; }
@media (min-width: 1500px) { .pc-customer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 1180px) { .pc-customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .pc-board { grid-template-columns: repeat(4, 230px); } }
@media (max-width: 700px) {
  .pc-customer-card { min-height: 210px; padding: 20px; }
  .pc-customer-grid { gap: 12px; }
  .pc-customer-name { font-size: 14px; }
  .pc-customer-avatar { width: 43px; height: 43px; font-size: 19px; border-radius: 10px; }
  .pc-customer-avatar.pc-customer-wordmark { width: auto; min-width: 59px; padding: 0 11px; font-size: 14px; }
  .pc-customer-top { margin-bottom: 17px; gap: 7px; }
  .pc-customer-top .pc-tier, .pc-unlinked-label { font-size: 9px; padding: 4px 6px; }
  .pc-customer-enter { font-size: 10px; gap: 3px; }
  .pc-customer-footer { gap: 7px; font-size: 10px; }
  .pc-customer-context { gap: 12px; }
  .pc-customer-context .page-title { font-size: 21px; gap: 8px; }
  .pc-customer-context > .pc-customer-avatar { display: none; }
  .pc-customer-page-header > .button { padding: 9px 11px; font-size: 11px; }
  .pc-toolbar .search-field { flex-basis: 100%; }
  .pc-board { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 230px; }
  .pc-project-progress { padding: 15px; }
  .pc-progress-heading { align-items: flex-start; flex-wrap: wrap; }
  .pc-progress-flow { flex-wrap: wrap; }
  .pc-progress-step { flex: 1 1 28%; }
  .pc-detail .pc-detail-heading { flex-direction: column; gap: 16px; }
  .pc-detail-identity { flex-basis: auto; }
  .pc-detail .pc-detail-actions { justify-content: flex-start; max-width: none; }
  .pc-tab { padding: 12px 10px; font-size: 11px; }
  .pc-tabs { gap: 2px; }
  .pc-next-action { padding: 16px; align-items: flex-start; flex-direction: column; }
  .pc-file-row { flex-wrap: wrap; }
  .pc-file-row .pc-row-actions { margin-left: 46px; }
}
@media (max-width: 420px) { .pc-customer-grid { grid-template-columns: 1fr; } .pc-customer-card { min-height: 205px; } }
@media (prefers-reduced-motion: reduce) { .pc-customer-card { transition: none; } .pc-customer-card:hover { transform: none; } }
