.content:has(.pc) { background: #f5f6f8; min-height: calc(100vh - 86px); }
.pc { --pc-ink: #24282b; --pc-muted: #6e7479; --pc-line: #e6e9ed; --pc-yellow: #ffce20; --pc-surface: #fff; --pc-soft: #f5f6f8; color: var(--pc-ink); font-size: 14px; line-height: 1.5; max-width: 1720px; margin: 0 auto; }
.pc * { box-sizing: border-box; }
.pc a { color: inherit; text-decoration: none; }
.pc button, .pc input, .pc select, .pc textarea { font: inherit; }
.pc button { cursor: pointer; }
.pc button:disabled { opacity: .55; cursor: wait; }
.pc :focus-visible { outline: 2px solid #4b6fca; outline-offset: 2px; }
.pc-area-nav { display: flex; align-items: center; gap: 6px; min-height: 36px; margin: -10px 0 24px; overflow-x: auto; white-space: nowrap; }
.pc-area-nav a { padding: 6px 10px; border-bottom: 2px solid transparent; color: var(--pc-muted); font-size: 12px; font-weight: 600; }
.pc-area-nav a.active { color: var(--pc-ink); border-bottom-color: var(--pc-yellow); }
.pc-area-nav a:hover { color: var(--pc-ink); }
.pc-area-nav .pc-mobile-nav { display: none; }
.pc-area-nav-spacer { flex: 1; }
.pc-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.pc-heading h2 { margin: 5px 0 3px; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.pc-heading p { color: var(--pc-muted); margin: 0; }
.pc-heading-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.pc-eyebrow { color: #858c93; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pc-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 0 16px; gap: 7px; border: 1px solid #d9dfe4; border-radius: 8px; background: #fff; color: var(--pc-ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.pc-btn:hover { border-color: #9ca6b0; }
.pc-btn.primary { background: var(--pc-yellow); border-color: var(--pc-yellow); color: #1d2225; }
.pc-btn.primary:hover { background: #f4c319; }
.pc-btn.dark { background: #24282b; border-color: #24282b; color: #fff; }
.pc-btn.subtle { background: #f5f6f8; }
.pc-btn.danger { color: #af3d32; }
.pc-btn.compact { min-height: 34px; padding: 0 11px; font-size: 12px; }
.pc-loading, .pc-error { display: grid; place-items: center; min-height: 280px; padding: 32px; border: 1px solid var(--pc-line); border-radius: 12px; background: #fff; color: var(--pc-muted); text-align: center; }
.pc-error h2 { margin: 0; color: var(--pc-ink); }
.pc-error p { margin: 0; max-width: 520px; }
.pc-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 38px 20px; color: var(--pc-muted); text-align: center; }
.pc-empty b { color: var(--pc-ink); }
.pc-card { padding: 22px; border: 1px solid var(--pc-line); border-radius: 11px; background: var(--pc-surface); min-width: 0; }
.pc-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.pc-card-head h3 { margin: 4px 0 0; font-size: 19px; }
.pc-card-head a { color: #515960; font-size: 12px; }
.pc-hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; min-height: 260px; padding: 28px 36px; margin-bottom: 18px; border: 1px solid #f2e4a8; border-radius: 12px; background: #fff1b2; }
.pc-hero .pc-eyebrow { color: #665a2b; }
.pc-hero h2 { margin: 12px 0; font-size: clamp(25px, 2.4vw, 37px); line-height: 1.27; letter-spacing: -.025em; }
.pc-hero p { margin: 0 0 17px; max-width: 610px; color: #4c4839; }
.pc-hero-link { display: inline-block; margin-top: 7px; padding: 4px 0; font-weight: 700; }
.pc-hero-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; border-left: 1px solid rgba(36,40,43,.18); }
.pc-hero-counts div { display: flex; flex-direction: column; justify-content: space-between; min-height: 110px; padding: 16px; }
.pc-hero-counts div + div { border-left: 1px solid rgba(36,40,43,.18); }
.pc-hero-counts span { font-weight: 650; }
.pc-hero-counts strong { font-size: 34px; line-height: 1; }
.pc-work-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .75fr); gap: 18px; align-items: start; }
.pc-work-side { display: grid; gap: 18px; }
.pc-work-item, .pc-delivery-row { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-top: 1px solid var(--pc-line); }
.pc-work-item:hover, .pc-delivery-row:hover { background: #fbfbf8; }
.pc-work-item:first-of-type, .pc-delivery-row:first-of-type { border-top: 0; }
.pc-work-item > span:nth-child(2), .pc-delivery-row > span { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.pc-work-item small, .pc-delivery-row small { color: var(--pc-muted); }
.pc-work-item em { color: #646a6e; font-size: 12px; font-style: normal; }
.pc-work-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc-yellow); flex: 0 0 auto; }
.pc-delivery-row strong { font-size: 12px; white-space: nowrap; }
.pc-stage-summary { display: grid; gap: 9px; }
.pc-stage-summary div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--pc-line); }
.pc-stage-summary b { color: #394045; }
.pc-filters { padding: 14px 18px; border: 1px solid var(--pc-line); border-radius: 11px 11px 0 0; background: #fff; }
.pc-scope-tabs, .pc-stage-tabs, .pc-filter-row, .pc-filter-tools, .pc-view-toggle { display: flex; align-items: center; gap: 7px; }
.pc-scope-tabs { flex-wrap: wrap; padding-bottom: 13px; border-bottom: 1px solid var(--pc-line); }
.pc-scope-tabs button, .pc-stage-tabs button, .pc-view-toggle button { min-height: 34px; border: 0; border-radius: 7px; background: transparent; padding: 0 11px; color: var(--pc-muted); }
.pc-scope-tabs button.active { border-bottom: 2px solid #e2b600; border-radius: 0; background: transparent; color: #24282b; }
.pc-stage-tabs button.active { background: #eef0f2; color: #24282b; }
.pc-view-toggle button.active { background: #24282b; color: #fff; }
.pc-filter-row { justify-content: space-between; gap: 15px; padding-top: 13px; }
.pc-stage-tabs { flex-wrap: wrap; }
.pc-filter-tools { flex: 0 0 auto; }
.pc-search { display: flex; align-items: center; min-width: 230px; height: 37px; padding: 0 10px; border: 1px solid #d9dfe4; border-radius: 7px; background: #fff; }
.pc-search span { font-size: 22px; line-height: 1; color: #848b90; }
.pc-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0 7px; font-size: 13px; }
.pc-view-toggle { padding: 3px; border: 1px solid #d9dfe4; border-radius: 8px; }
.pc-view-toggle button { min-height: 30px; }
.pc-table-scroll { overflow-x: auto; border: 1px solid var(--pc-line); border-top: 0; background: #fff; }
.pc-table { width: 100%; min-width: 870px; border-collapse: collapse; }
.pc-table th { padding: 13px 14px; background: #fafbfc; color: #6e7479; font-size: 12px; text-align: left; white-space: nowrap; }
.pc-table td { padding: 15px 14px; border-top: 1px solid var(--pc-line); vertical-align: middle; }
.pc-table tbody tr:hover { background: #fcfcf8; }
.pc-table td b, .pc-table td small { display: block; }
.pc-table td small { margin-top: 4px; color: var(--pc-muted); font-size: 11px; }
.pc-project-link b { color: var(--pc-ink); }
.pc-project-link:hover b { text-decoration: underline; }
.pc-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: 6px; background: #fff2bc; color: #695008; font-size: 11px; font-weight: 650; white-space: nowrap; }
.pc-life { margin-left: 5px; background: #e8f5e9; color: #2e6c45; }
.pc-life-closed { background: #f9eceb; color: #a8443b; }
.pc-life-completed { background: #e6efff; color: #466a9d; }
.pc-list-foot { display: flex; justify-content: space-between; gap: 15px; padding: 13px 3px; color: var(--pc-muted); font-size: 12px; }
.pc-board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding: 15px; border: 1px solid var(--pc-line); border-top: 0; background: #fff; }
.pc-board-column { min-width: 220px; padding: 10px; border: 1px solid var(--pc-line); border-radius: 10px; background: #eef0f2; }
.pc-board-column > h3 { display: flex; justify-content: space-between; padding: 2px 3px 12px; margin: 0; font-size: 14px; }
.pc-board-column > h3 span { color: var(--pc-muted); }
.pc-project-card { display: block; padding: 14px; margin-bottom: 9px; border: 1px solid var(--pc-line); border-radius: 9px; background: #fff; }
.pc-project-card:hover { border-color: #c7ba7e; }
.pc-project-card h3 { margin: 12px 0 4px; font-size: 15px; }
.pc-project-card p { margin: 0; color: var(--pc-muted); font-size: 12px; }
.pc-project-card dl { margin: 13px 0 0; }
.pc-project-card dl div { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; font-size: 12px; }
.pc-project-card dt { color: var(--pc-muted); }
.pc-project-card dd { margin: 0; text-align: right; }
.pc-modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(28,32,36,.52); backdrop-filter: blur(3px); }
.pc-modal { width: min(1080px, 100%); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; border-radius: 12px; background: #fff; box-shadow: 0 20px 55px rgba(0,0,0,.2); overflow: hidden; }
.pc-modal-head { display: flex; justify-content: space-between; gap: 20px; padding: 22px 26px 15px; border-bottom: 1px solid var(--pc-line); }
.pc-modal-head h2 { margin: 3px 0; font-size: 23px; }
.pc-modal-head p { margin: 0; color: var(--pc-muted); font-size: 12px; }
.pc-modal-head .pc-btn { width: 34px; height: 34px; min-height: 34px; padding: 0; border: 0; background: transparent; font-size: 22px; }
.pc-modal form { display: contents; }
.pc-modal-scroll { overflow-y: auto; padding: 20px 26px 24px; }
.pc-need-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 20px; }
.pc-need-cards label { display: flex; gap: 10px; align-items: center; min-height: 70px; padding: 11px 14px; border: 1px solid var(--pc-line); border-radius: 9px; cursor: pointer; }
.pc-need-cards label:has(input:checked) { border-color: #d7a900; background: #fff9e6; }
.pc-need-cards input { accent-color: #e0b000; }
.pc-need-cards span, .pc-product-choice span { display: flex; flex-direction: column; }
.pc-need-cards small, .pc-product-choice small { color: var(--pc-muted); font-size: 11px; }
.pc-create-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .85fr); gap: 20px; }
.pc-create-main { display: grid; gap: 18px; }
.pc-form-section { padding: 17px; border: 1px solid var(--pc-line); border-radius: 9px; }
.pc-form-section h3, .pc-create-aside h3 { margin: 0 0 16px; font-size: 16px; }
.pc-form-section h3 span { color: #9b7a00; margin-right: 8px; }
.pc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.pc-form-grid label, .pc-create-aside label, .pc-detail-form label { display: flex; flex-direction: column; min-width: 0; gap: 5px; color: #5d646a; font-size: 12px; }
.pc-form-grid input, .pc-form-grid select, .pc-form-grid textarea, .pc-create-aside input, .pc-create-aside select, .pc-detail-form input, .pc-detail-form select, .pc-detail-form textarea { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid #d7dce0; border-radius: 6px; background: #fff; color: var(--pc-ink); font-size: 13px; }
.pc-form-grid textarea, .pc-detail-form textarea { resize: vertical; }
.pc-span-2 { grid-column: span 2; }
.pc-create-aside { display: flex; flex-direction: column; align-self: stretch; gap: 12px; padding: 18px; border: 1px solid var(--pc-line); border-radius: 9px; background: #f5f6f8; }
.pc-create-aside h3 { margin-bottom: 3px; }
.pc-create-rule { padding-top: 12px; border-top: 1px solid #dde1e5; color: var(--pc-muted); font-size: 12px; }
.pc-create-rule b { color: var(--pc-ink); }
.pc-create-rule p { margin: 5px 0 0; }
.pc-product-choices { max-height: 210px; display: grid; gap: 6px; overflow-y: auto; padding: 5px; border: 1px solid var(--pc-line); border-radius: 7px; }
.pc-product-choice { display: flex; gap: 8px; align-items: center; padding: 7px; border-radius: 5px; }
.pc-product-choice:hover { background: #f6f7f8; }
.pc-product-choice input { width: auto; min-height: 0; }
.pc-product-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 10px 0; }
.pc-product-filters label { display: grid; gap: 4px; min-width: 0; color: var(--pc-muted); font-size: 11px; }
.pc-product-filters select, .pc-product-search input { width: 100%; min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid #d7dce0; border-radius: 6px; background: #fff; color: var(--pc-ink); font-size: 12px; }
.pc-product-result-count, .pc-catalog-feedback { margin: 6px 0; color: var(--pc-muted); font-size: 11px; }
.pc-catalog-feedback.has-error { color: #ad322e; }
.pc-product-copy { min-width: 0; }
.pc-product-copy b, .pc-product-copy small { overflow-wrap: anywhere; }
.pc-selected-products { display: grid; gap: 9px; padding: 12px; margin-top: 12px; border: 1px solid var(--pc-line); border-radius: 8px; background: #fbfcfa; }
.pc-selected-products-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; }
.pc-selected-products-head span, .pc-selected-empty { color: var(--pc-muted); }
.pc-selected-empty { margin: 0; font-size: 12px; }
.pc-selected-products-list { display: grid; gap: 8px; }
.pc-selected-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .38fr) auto; align-items: center; gap: 10px; padding: 9px; border: 1px solid var(--pc-line); border-radius: 7px; background: #fff; }
.pc-selected-product-copy { display: grid; gap: 3px; min-width: 0; }
.pc-selected-product-copy b { font-size: 12px; }
.pc-selected-product-copy small, .pc-product-detail-state { color: var(--pc-muted); font-size: 10px; line-height: 1.45; }
.pc-product-load-error { color: #ad322e; font-size: 11px; }
.pc-product-load-error button { padding: 0; border: 0; background: none; color: #805d00; text-decoration: underline; cursor: pointer; }
.pc-selected-product-color { display: grid; gap: 4px; color: var(--pc-muted); font-size: 10px; }
.pc-selected-product-color select { width: 100%; min-width: 0; min-height: 34px; padding: 6px 8px; border: 1px solid #d7dce0; border-radius: 6px; background: #fff; color: var(--pc-ink); font-size: 11px; }
.pc-duplicate { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; margin-top: 10px; border-radius: 6px; background: #fff8dd; font-size: 12px; }
.pc-duplicate a { text-decoration: underline; }
.pc-intake-choice { margin: 8px 0 12px; padding: 8px 10px; border-left: 3px solid var(--pc-yellow); background: #fff9e3; color: var(--pc-ink); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.pc-requirement-upload { display: grid; gap: 9px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--pc-line); }
.pc-subsection-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pc-subsection-heading h4 { margin: 0; font-size: 14px; }
.pc-subsection-heading p { margin: 3px 0 0; color: var(--pc-muted); font-size: 11px; }
.pc-upload-limit, .pc-upload-feedback { color: var(--pc-muted); font-size: 11px; }
.pc-upload-feedback:empty { display: none; }
.pc-upload-drop { position: relative; display: flex; align-items: center; gap: 11px; min-height: 68px; padding: 11px 13px; border: 1px dashed #ccd2d7; border-radius: 8px; background: #fafbf9; cursor: pointer; transition: border-color .15s, background .15s; }
.pc-upload-drop:hover, .pc-upload-drop.is-dragover { border-color: #d4aa00; background: #fff9e5; }
.pc-upload-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pc-upload-drop > span:not(.pc-upload-icon) { display: grid; gap: 3px; }
.pc-upload-drop b { font-size: 12px; }
.pc-upload-drop small { color: var(--pc-muted); font-size: 11px; }
.pc-upload-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 7px; background: #fff2bb; color: #705500; font-size: 21px; }
.pc-upload-drop.is-locked { opacity: .6; pointer-events: none; }
.pc-upload-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.pc-upload-preview { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-width: 0; padding: 7px; border: 1px solid var(--pc-line); border-radius: 7px; background: #fff; }
.pc-upload-preview img { width: 54px; height: 54px; border-radius: 5px; object-fit: cover; }
.pc-upload-preview b, .pc-upload-preview small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-upload-preview b { font-size: 11px; }
.pc-upload-preview small { margin-top: 3px; color: var(--pc-muted); font-size: 10px; }
.pc-upload-preview .pc-btn { padding: 5px 7px; font-size: 10px; }
.pc-modal-foot { display: flex; justify-content: flex-end; align-items: center; gap: 9px; padding: 14px 26px; border-top: 1px solid var(--pc-line); }
.pc-modal-foot [role=alert] { flex: 1; color: #ad322e; font-size: 12px; }
.pc-detail-header { padding: 2px 0 18px; margin-bottom: 0; }
.pc-detail-header-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.pc-detail-header h2 { margin: 6px 0 5px; font-size: 25px; }
.pc-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; color: var(--pc-muted); font-size: 12px; }
.pc-detail-meta b { color: var(--pc-ink); }
.pc-stage-nav { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; margin: 0 0 16px; border: 1px solid var(--pc-line); border-radius: 10px; overflow: hidden; }
.pc-stage-nav button { min-height: 55px; padding: 9px 12px; border: 0; border-left: 1px solid var(--pc-line); border-bottom: 1px solid transparent; background: #fff; color: var(--pc-muted); text-align: left; font-weight: 650; }
.pc-stage-nav button:first-child { border-left: 0; }
.pc-stage-nav button.active { border-bottom-color: #e0b800; background: #fff6d2; color: #2c2b20; }
.pc-stage-nav small { display: block; color: #8a9298; font-size: 10px; font-weight: 500; }
.pc-next-action { display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 16px; border: 1px solid #e8d894; border-radius: 9px; background: #fff8dc; }
.pc-next-action b { font-size: 15px; }
.pc-next-action span { color: #6a613d; }
.pc-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.pc-detail-main, .pc-detail-side { display: grid; gap: 16px; min-width: 0; }
.pc-detail-side { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.pc-stage-checklist { display: flex; align-items: center; gap: 24px; padding: 15px 20px; margin-bottom: 16px; border: 1px solid var(--pc-line); border-radius: 9px; background: #fff; }
.pc-stage-checklist h3 { margin: 3px 0 0; font-size: 17px; white-space: nowrap; }
.pc-stage-check-values { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; width: 100%; }
.pc-stage-check-values .pc-info { padding: 5px 10px; background: #f7f8f9; }
.pc-info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.pc-info { display: flex; flex-direction: column; min-width: 0; gap: 3px; padding: 11px; background: #f7f8f9; border-radius: 6px; }
.pc-info span { color: var(--pc-muted); font-size: 11px; }
.pc-info strong { overflow-wrap: anywhere; font-size: 13px; }
.pc-detail-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid var(--pc-line); }
.pc-detail-form .pc-form-actions { grid-column: 1 / -1; }
.pc-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-simple-list { display: grid; gap: 8px; }
.pc-simple-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--pc-line); border-radius: 7px; }
.pc-simple-row > div { min-width: 0; }
.pc-simple-row b, .pc-simple-row small { display: block; }
.pc-simple-row small { color: var(--pc-muted); }
.pc-simple-row .pc-btn { flex: 0 0 auto; }
.pc-side-links { display: grid; gap: 4px; }
.pc-side-links a { display: block; padding: 8px 0; border-top: 1px solid var(--pc-line); }
.pc-note { padding: 12px; border-left: 1px solid #d7bc54; background: #f7f8f9; color: #5b6368; font-size: 12px; }
.pc-status-warn { color: #b24335; }
.pc-status-good { color: #3a7953; }
.pc-quote-frame { width: 100%; min-height: 590px; border: 1px solid var(--pc-line); border-radius: 7px; }
.pc-customer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.pc-customer-card { display: block; padding: 18px; border: 1px solid var(--pc-line); border-radius: 9px; background: #fff; }
.pc-customer-card:hover { border-color: #c4ad56; }
.pc-customer-card h3 { margin: 0 0 6px; }
.pc-customer-card p { margin: 0; color: var(--pc-muted); }
.pc-customer-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 12px; }
.pc-customer-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--pc-line); }
.pc-customer-facts div { min-width: 0; }
.pc-customer-facts span, .pc-customer-facts b { display: block; overflow-wrap: anywhere; }
.pc-customer-facts span { color: var(--pc-muted); font-size: 11px; }
.pc-customer-facts b { font-size: 12px; }
.pc-approval-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; }
.pc-approval-tabs button { min-height: 38px; padding: 0 13px; border: 1px solid var(--pc-line); border-radius: 7px; background: #fff; white-space: nowrap; }
.pc-approval-tabs button.active { background: #fff8dc; color: var(--pc-ink); border-color: #e8c953; box-shadow: inset 0 -2px var(--pc-yellow); }
.pc-quote-dialog { width: min(1180px, 100%); }
.pc-approval-status { display: flex; gap: 10px; margin-bottom: 12px; }
.pc-approval-status button { min-height: 32px; padding: 0 6px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--pc-muted); }
.pc-approval-status button.active { border-bottom-color: #e7b900; color: var(--pc-ink); font-weight: 700; }
.pc-approval-row { display: flex; justify-content: space-between; gap: 16px; padding: 17px; border: 1px solid var(--pc-line); border-radius: 8px; }
.pc-approval-main { min-width: 0; }
.pc-approval-main h4 { margin: 5px 0 !important; }
.pc-approval-main p { margin: 0; color: var(--pc-muted); }
.pc-approval-main > small { color: var(--pc-muted); }
.pc-approval-meta { display: flex; flex-wrap: wrap; gap: 9px 16px; margin: 11px 0; font-size: 12px; }
.pc-approval-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pc-back { display: inline-block; margin-bottom: 10px; color: #667078 !important; font-size: 12px; }
.pc-back:hover { text-decoration: underline; }
.pc-next-action small { margin-left: auto; color: #83764d; }
.pc-checklist { grid-template-columns: 1fr !important; gap: 7px; }
.pc-checklist .pc-info { flex-direction: row; justify-content: space-between; }
.pc-audit-entry { padding: 8px 0; border-top: 1px solid var(--pc-line); }
.pc-audit-entry b, .pc-audit-entry small { display: block; }
.pc-audit-entry small { color: var(--pc-muted); font-size: 11px; }
.pc-requirement { display: grid; gap: 5px; padding: 16px 2px; }
.pc-requirement p { margin: 0; }
.pc-requirement small { color: var(--pc-muted); }
.pc-form-note { grid-column: 1 / -1; margin: 0; color: var(--pc-muted); font-size: 11px; }
.pc-form-feedback { color: #a63831; font-size: 12px; }
.pc-file-upload { display: grid; gap: 9px; margin-top: 12px; }
.pc-file-upload label { display: grid; gap: 4px; font-size: 11px; color: var(--pc-muted); }
.pc-file-upload select, .pc-file-upload input[type="file"] { min-width: 0; width: 100%; padding: 8px; border: 1px solid var(--pc-line); border-radius: 6px; background: #fff; color: var(--pc-ink); }
.pc-file-upload small { color: #a63831; }
.pc-candidate-row { display: flex; align-items: center; gap: 12px; padding: 11px; border: 1px solid var(--pc-line); border-radius: 7px; }
.pc-candidate-row img, .pc-image-missing { width: 68px; height: 68px; flex: 0 0 68px; object-fit: contain; background: #f4f5f6; border-radius: 5px; }
.pc-image-missing { display: grid; place-items: center; color: #94999e; font-size: 10px; }
.pc-candidate-copy { flex: 1; min-width: 0; }
.pc-candidate-copy b, .pc-candidate-copy small { display: block; }
.pc-candidate-copy small { color: var(--pc-muted); font-size: 11px; }
.pc-candidate-row select { min-height: 33px; padding: 0 8px; border: 1px solid var(--pc-line); border-radius: 5px; background: #fff; }
.pc-formal-item, .pc-production-item { padding: 15px; border: 1px solid var(--pc-line); border-radius: 8px; background: #fff; }
.pc-formal-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pc-formal-item-head b, .pc-formal-item-head small { display: block; }
.pc-formal-item-head small { color: var(--pc-muted); font-size: 11px; }
.pc-formal-info, .pc-progress-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: 13px 0; }
.pc-progress-stats { grid-template-columns: repeat(5,minmax(0,1fr)); }
.pc-stage-actions { margin: 15px 0; }
.pc-card h4 { margin: 18px 0 9px; font-size: 14px; }
.pc-payment-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin-top: 16px; }
.pc-payment-columns > div { min-width: 0; }
.pc-production-item + .pc-production-item { margin-top: 12px; }
.pc-shipment-qty { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pc-shipment-qty > b { grid-column: 1 / -1; }
.pc-decision-dialog { width: min(440px, 100%); padding: 23px; border-radius: 10px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.pc-decision-dialog h3 { margin: 0 0 17px; }
.pc-decision-dialog label { display: grid; gap: 6px; font-size: 12px; color: #596168; }
.pc-decision-dialog textarea, .pc-decision-dialog select { width: 100%; min-height: 38px; padding: 9px; border: 1px solid #d7dce0; border-radius: 6px; }
.pc-decision-dialog > div:last-child { display: flex; justify-content: flex-end; gap: 8px; margin-top: 15px; }
.pc-studio-backdrop { z-index: 85; }
.pc-studio-dialog { width: min(1420px, 100%); height: min(920px, calc(100dvh - 36px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 11px; background: #fff; }
.pc-studio-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e4e8ec; }
.pc-studio-head b, .pc-studio-head small { display: block; }
.pc-studio-head small { color: var(--pc-muted); }
.pc-studio-status { padding: 7px 16px; background: #fff7d5; font-size: 11px; color: #5c5027; }
.pc-studio-dialog iframe { width: 100%; min-height: 0; flex: 1; border: 0; }
@media (max-width: 1120px) {
  .pc-work-grid, .pc-detail-grid { grid-template-columns: 1fr; }
  .pc-detail-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pc-stage-checklist { align-items: flex-start; flex-direction: column; }
  .pc-hero { grid-template-columns: 1fr 240px; }
  .pc-filter-row { align-items: flex-start; flex-direction: column; }
  .pc-filter-tools { width: 100%; justify-content: space-between; }
  .pc-progress-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  html:has(.pc), body:has(.pc) { min-width: 0; }
  body:has(.pc) .sidebar { display: none; }
  body:has(.pc) .main { width: 100%; min-width: 0; margin-left: 0; }
  body:has(.pc) .topbar { height: 66px; min-width: 0; padding: 10px 16px; }
  body:has(.pc) .topbar h1 { margin-top: 4px; font-size: 19px; }
  body:has(.pc) .topbar .mode-chip { display: none; }
  .content:has(.pc) { padding: 16px; }
  .pc { min-width: 0; }
  .pc-area-nav { margin: -8px 0 18px; }
  .pc-area-nav .pc-eyebrow { display: none; }
  .pc-area-nav .pc-mobile-nav { display: inline-flex; }
  .pc-area-nav-spacer { flex: 0 0 4px; }
  .pc-area-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px; }
  .pc-heading { align-items: flex-start; flex-direction: column; margin-bottom: 17px; }
  .pc-heading h2 { font-size: 27px; }
  .pc-hero { grid-template-columns: 1fr; padding: 21px; }
  .pc-hero-counts { grid-template-columns: 1fr 1fr; }
  .pc-board { grid-template-columns: repeat(5, minmax(230px, 1fr)); }
  .pc-filters { padding: 11px; }
  .pc-filter-tools { flex-direction: column; align-items: stretch; }
  .pc-search { min-width: 0; width: 100%; }
  .pc-view-toggle { align-self: flex-start; }
  .pc-list-foot { flex-direction: column; }
  .pc-modal-backdrop { padding: 0; align-items: stretch; }
  .pc-modal { max-height: 100dvh; border-radius: 0; }
  .pc-modal-scroll { padding: 16px; }
  .pc-modal-head, .pc-modal-foot { padding-left: 16px; padding-right: 16px; }
  .pc-need-cards, .pc-create-grid, .pc-customer-grid { grid-template-columns: 1fr; }
  .pc-stage-nav { display: flex; overflow-x: auto; }
  .pc-stage-nav button { flex: 0 0 155px; }
  .pc-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pc-stage-check-values { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pc-detail-side { grid-template-columns: 1fr; }
  .pc-product-filters { grid-template-columns: 1fr; }
  .pc-selected-product { grid-template-columns: 1fr; }
  .pc-formal-info, .pc-progress-stats, .pc-payment-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 440px) {
  .pc-form-grid, .pc-detail-form { grid-template-columns: 1fr; }
  .pc-span-2 { grid-column: 1; }
  .pc-info-grid { grid-template-columns: 1fr; }
  .pc-modal-foot { flex-wrap: wrap; }
  .pc-modal-foot [role=alert] { flex: 0 0 100%; }
  .pc-subsection-heading { flex-direction: column; }
  .pc-next-action { align-items: flex-start; flex-direction: column; }
  .pc-stage-check-values { grid-template-columns: 1fr; }
  .pc-candidate-row { flex-wrap: wrap; }
  .pc-candidate-row select { width: 100%; }
  .pc-approval-row { flex-direction: column; }
  .pc-formal-info, .pc-progress-stats, .pc-payment-columns, .pc-shipment-qty { grid-template-columns: 1fr; }
}
