.project-workspace-page { position: relative; height: 100%; min-height: 0; display: grid; grid-template-rows: 118px 40px minmax(0, 1fr); overflow: hidden; background: #f3f4f6; color: #303133; }
.pw-hero { min-width: 0; padding: 10px; background: var(--ui-primary, #b8202b); color: #fff; }
.pw-hero-title, .pw-hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pw-hero-title { min-height: 36px; }
.pw-hero-title h1 { min-width: 0; margin: 0; overflow: hidden; font-size: 18px; font-weight: 500; line-height: 28px; text-overflow: ellipsis; white-space: nowrap; }
.pw-collapse { width: 28px; height: 28px; border: 0; background: transparent; color: #fff; font-size: 18px; }
.pw-hero-meta { min-height: 46px; padding-top: 4px; }
.pw-hero-meta > div { min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pw-hero-meta span { min-height: 22px; padding: 2px 8px; display: inline-flex; align-items: center; border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; font-size: 12px; }
.pw-hero-meta span.success { background: #43a047; }
.pw-hero-meta span.warning { background: #f3a31b; }
.pw-hero-meta span.danger { background: #e85b73; }
.pw-tabs { min-width: 0; padding: 0 20px; display: flex; align-items: stretch; overflow-x: auto; background: var(--ui-primary-soft, #fbeaec); scrollbar-width: thin; }
.pw-tabs button { flex: 0 0 84px; height: 40px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ui-accent-ink, #a21c27); white-space: nowrap; }
.pw-tabs button:hover { background: rgba(255, 255, 255, .55); }
.pw-tabs button.active { border-bottom-color: var(--ui-primary, #b8202b); background: #fff; color: var(--ui-accent-ink, #a21c27); }
.pw-scroll { min-width: 0; min-height: 0; padding: 20px 0 36px; overflow: auto; overscroll-behavior: contain; }
.pw-basic, .pw-finance, .pw-scroll > div { min-width: 0; }
.pw-section, .pw-panel { margin: 0 0 20px; background: #fff; border: 0; }
.pw-section > header, .pw-panel > header { min-height: 36px; padding: 0 10px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e4e7ed; }
.pw-section > header h2, .pw-panel > header h2 { height: 36px; margin: 0; padding: 0 14px; display: flex; align-items: center; border-bottom: 2px solid var(--ui-primary, #b8202b); color: #303133; font-size: 14px; font-weight: 500; }
.pw-section-body { min-width: 0; padding: 10px 12px 14px; }
.pw-section-actions { display: flex; gap: 8px; }
.pw-button { min-height: 28px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ui-primary-line, #efd0d5); border-radius: 3px; background: #fff; color: var(--ui-muted, #716a70); font-size: 12px; white-space: nowrap; }
.pw-button:hover { border-color: var(--ui-primary, #b8202b); color: var(--ui-accent-ink, #a21c27); }
.pw-button.primary { border-color: var(--ui-primary, #b8202b); background: var(--ui-primary, #b8202b); color: #fff; }
.pw-authorization-upload { position: relative; overflow: hidden; cursor: pointer; }
.pw-authorization-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pw-authorization-upload:focus-within { outline: 2px solid var(--ui-primary, #b8202b); outline-offset: 2px; }
.pw-button.ghost { background: #f7f8fa; }
.pw-button .icon { width: 14px; height: 14px; }
.pw-info-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 41.6667%)); column-gap: 16.6666%; }
.pw-info-grid > div { min-width: 0; min-height: 32px; display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: stretch; }
.pw-info-grid > div.wide { grid-column: 1 / -1; }
.pw-info-grid > div.pw-info-spacer { visibility: hidden; }
.pw-info-grid dt, .pw-info-grid dd { min-width: 0; margin: 0; padding: 7px 10px; border-bottom: 1px solid #f0f1f3; line-height: 18px; }
.pw-info-grid dt { color: #303133; text-align: left; white-space: nowrap; }
.pw-risk-detail .pw-info-grid dt { white-space: normal; }
.pw-info-grid dd { overflow: hidden; color: #303133; text-overflow: ellipsis; white-space: nowrap; }
.pw-info-grid .wide dd { white-space: normal; overflow-wrap: anywhere; }
.pw-basic-side .pw-info-grid,
.pw-basic-side .pw-form-grid,
.pw-basic-side .pw-contract-form { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
.pw-basic-side .pw-info-spacer,
.pw-basic-side .pw-form-spacer { display: none; }
.pw-basic-side .pw-info-grid dd { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
.pw-basic-side .pw-file-list > div { grid-template-columns: 20px 16px minmax(0, 1fr); padding: 8px; }
.pw-basic-side .pw-file-list small { grid-column: 3; }
.pw-basic-side .pw-file-list button { white-space: normal; overflow-wrap: anywhere; }
.pw-task-panel li.pw-empty { display: block; padding: 16px; }
.pw-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.pw-form-spacer { min-height: 32px; }
.pw-contract-form { display: grid; grid-template-columns: repeat(2, minmax(0, 41.6667%)); gap: 12px 16.6666%; }
.pw-contract-form .pw-form-field.wide { grid-column: 1 / -1; }
.pw-form-field { min-width: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: start; }
.pw-form-field.wide { grid-column: 1 / -1; }
.pw-form-field > span { padding: 8px 10px 0 0; color: #606266; text-align: right; }
.pw-form-field b { color: #f56c6c; }
.pw-form-field input, .pw-form-field select, .pw-form-field textarea, .pw-toolbar input, .pw-toolbar select, .pw-analysis-filters select { width: 100%; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--ui-primary-line, #efd0d5); border-radius: 3px; background: #fff; color: #303133; outline: none; }
.pw-form-field input:disabled { background: #f3f5f8; color: var(--ui-muted, #716a70); cursor: not-allowed; }
.pw-approver-picker-trigger { width: 100%; min-height: 32px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--ui-primary-line, #efd0d5); border-radius: 3px; background: #fff; color: #303133; text-align: left; cursor: pointer; }
.pw-approver-picker-trigger i { width: 7px; height: 7px; border-right: 1px solid var(--ui-primary, #b8202b); border-bottom: 1px solid var(--ui-primary, #b8202b); transform: rotate(45deg) translateY(-2px); }
.pw-form-field textarea { height: 74px; padding: 8px 10px; resize: vertical; }
.pw-form-field output { padding: 8px 10px; color: var(--ui-primary, #b8202b); font-weight: 600; }
.pw-risk-payment-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.pw-risk-extra .wide { grid-column: 1 / -1; margin: 0; }
.pw-risk-note { color: var(--ui-muted, #716a70); font-size: 12px; }
.pw-risk-files small { grid-column: 2; color: var(--ui-muted, #716a70); overflow-wrap: anywhere; }
.pw-risk-extra { margin-top: 20px; border-top: 1px solid var(--ui-primary-line, #efd0d5); }
.pw-risk-extra summary { padding: 14px 0; cursor: pointer; color: var(--ui-muted, #716a70); }
.pw-risk-extra > .pw-form-grid { padding-bottom: 8px; }
.pw-form-field input:focus, .pw-form-field select:focus, .pw-form-field textarea:focus, .pw-toolbar input:focus, .pw-toolbar select:focus { border-color: var(--ui-primary, #b8202b); box-shadow: 0 0 0 2px rgba(56, 36, 42, .12); }
.pw-segment { min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pw-segment button { min-height: 32px; padding: 0 16px; border: 1px solid var(--ui-primary-line, #efd0d5); border-radius: 3px; background: #fff; color: #606266; }
.pw-segment button.active { border-color: var(--ui-primary, #b8202b); background: var(--ui-primary-pale, #fff7f8); color: var(--ui-accent-ink, #a21c27); }
.pw-subtitle { min-height: 36px; margin: 16px 0 0; padding: 0 12px; display: flex; align-items: center; border: 1px solid var(--ui-primary-line, #efd0d5); background: #f4f7fa; color: var(--ui-ink, #343034); font-size: 13px; font-weight: 500; }
.pw-contract-edit-documents { margin-top: 14px; }
.pw-contract-edit-document-title { min-height: 32px; padding: 7px 0; color: #303133; line-height: 18px; }
.pw-contract-edit-document-title b { margin-right: 2px; color: #f56c6c; font-weight: 400; }
.pw-contract-upload-row { width: 100%; height: 40px; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: #f3f5f9; color: var(--ui-accent-ink, #a21c27); }
.pw-contract-upload-row:hover { background: var(--ui-primary-pale, #fff7f8); }
.pw-contract-upload-row .icon { width: 18px; height: 18px; }
.pw-contract-documents { margin-top: 2px; }
.pw-contract-documents > span { min-height: 32px; padding: 7px 10px; display: block; color: #303133; line-height: 18px; }
.pw-contract-documents .pw-file-list, .pw-contract-documents .pw-empty { margin: 0 10px; }
.pw-close-row { display: flex; justify-content: center; }
.pw-close-row .pw-button { min-width: 120px; }
.pw-conflict { min-height: calc(100% - 2px); display: flex; flex-direction: column; }
.pw-conflict > .pw-panel { flex: 0 0 auto; }
.pw-conflict-close { margin-top: auto; padding: 24px 0 2px; gap: 30px; }
.pw-conflict-close .pw-button.ghost, .pw-conflict-report-dialog > footer .pw-button { border-color: var(--ui-primary-line, #efd0d5); background: var(--ui-primary-soft, #fbeaec); color: var(--ui-muted, #716a70); }
.pw-file-list { border: 1px solid var(--ui-primary-line, #efd0d5); border-top: 0; }
.pw-file-list > div { min-height: 38px; padding: 0 14px; display: grid; grid-template-columns: 24px 18px minmax(0, 1fr) auto; align-items: center; gap: 6px; border-top: 1px solid #edf0f3; }
.pw-file-list button { min-width: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.pw-file-list small { color: #909399; }
.pw-contract-documents .pw-file-list > div, .pw-contract-edit-documents .pw-file-list > div { grid-template-columns: 24px 18px minmax(0, 1fr) auto 28px; }
.pw-contract-documents .pw-file-list small, .pw-contract-edit-documents .pw-file-list small { grid-column: auto; }
.pw-file-list .pw-file-view { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; color: var(--ui-accent-ink, #a21c27); }
.pw-file-list .pw-file-view:hover { background: var(--ui-primary-pale, #fff7f8); border-radius: 4px; }
.pw-toolbar { min-height: 42px; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border-bottom: 1px solid #edf0f3; }
.pw-toolbar-left, .pw-toolbar-right { min-width: 0; display: flex; align-items: center; gap: 8px; }
.pw-toolbar-right { justify-content: flex-end; }
.pw-search { position: relative; width: 260px; }
.pw-search input { padding-right: 34px; }
.pw-search i { position: absolute; right: 10px; top: 9px; color: var(--ui-muted, #716a70); }
.pw-toolbar .pw-date { width: 132px; }
.pw-toolbar select { width: 120px; }
.pw-work-toolbar { min-height: 42px; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; }
.pw-work-toolbar-left, .pw-work-toolbar-right { min-width: 0; display: flex; align-items: center; gap: 8px; }
.pw-work-toolbar-right { justify-content: flex-end; }
.pw-work-search { width: 208px; height: 26px; display: grid; grid-template-columns: minmax(0, 1fr) 38px; }
.pw-work-search input { width: 100%; min-width: 0; height: 26px; padding: 0 10px; border: 1px solid #d8dce3; border-right: 0; border-radius: 3px 0 0 3px; outline: none; }
.pw-work-search input:focus { border-color: var(--ui-primary, #b8202b); }
.pw-work-search button { width: 38px; height: 26px; display: grid; place-items: center; border: 1px solid #d8dce3; border-radius: 0 3px 3px 0; background: #fff; color: var(--ui-muted, #716a70); }
.pw-work-search button:hover, .pw-work-icon-button:hover { color: var(--ui-accent-ink, #a21c27); }
.pw-work-search .icon { width: 14px; height: 14px; }
.pw-work-icon-button { width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.pw-work-icon-button .iconfont { font-size: 26px; line-height: 26px; }
.pw-work-add { height: 26px; min-height: 26px; }
.pw-work-add .iconfont { font-size: 14px; }
.pw-work-tool { position: relative; flex: 0 0 auto; }
.pw-work-export-menu { position: absolute; z-index: 45; top: 34px; right: 0; width: 102px; padding: 10px 0; border: 1px solid #ebeef5; border-radius: 3px; background: #fff; box-shadow: 0 6px 18px rgba(56, 36, 42, .16); }
.pw-work-export-menu button { width: 100%; height: 36px; padding: 0 14px; border: 0; background: transparent; color: #606266; text-align: left; white-space: nowrap; }
.pw-work-export-menu button:hover { background: var(--ui-primary-pale, #fff7f8); color: var(--ui-accent-ink, #a21c27); }
.pw-work-columns { position: absolute; z-index: 44; top: 34px; right: -16px; width: 120px; max-height: 427px; overflow: hidden; border: 1px solid #ebeef5; background: #fff; box-shadow: 0 6px 18px rgba(56, 36, 42, .16); }
.pw-work-columns > div { max-height: 377px; padding: 6px 0; overflow-y: auto; }
.pw-work-columns label { min-height: 25px; padding: 2px 14px; display: flex; align-items: center; gap: 6px; color: #606266; cursor: pointer; white-space: nowrap; }
.pw-work-columns label:hover { background: var(--ui-primary-pale, #fff7f8); }
.pw-work-columns label.fixed { color: #909399; cursor: default; }
.pw-work-columns input { width: 14px; height: 14px; margin: 0; accent-color: var(--ui-primary, #b8202b); }
.pw-work-columns > button { width: 100%; height: 32px; border: 0; background: var(--ui-primary, #b8202b); color: #fff; }
.pw-work-advanced { min-height: 62px; padding: 12px 20px 17px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; background: #fff; }
.pw-work-advanced > label { min-width: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; }
.pw-work-advanced > label > span:first-child { color: #606266; }
.pw-work-advanced select, .pw-work-advanced input { width: 100%; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid #d8dce3; border-radius: 3px; background: #fff; color: #303133; }
.pw-work-date-range { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 5px minmax(0, 1fr); align-items: center; }
.pw-work-date-range i { color: #606266; font-style: normal; text-align: center; }
.pw-work-date-range input:first-child { border-radius: 3px 0 0 3px; }
.pw-work-date-range input:last-child { border-radius: 0 3px 3px 0; }
.pw-work-table-area { padding: 16px 16px 0; background: #fff; }
.pw-work-table-frame { position: relative; height: 435px; overflow: auto; border: 1px solid #e5e9ef; background: #fff; }
.pw-work-table-frame table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pw-work-table-frame th, .pw-work-table-frame td { height: 40px; padding: 0 10px; overflow: hidden; border-right: 1px solid #e5e9ef; border-bottom: 1px solid #e5e9ef; color: var(--ui-muted, #716a70); font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.pw-work-table-frame th { position: sticky; top: 0; z-index: 3; background: var(--ui-primary-soft, #fbeaec); color: var(--ui-ink, #343034); font-weight: 500; }
.pw-work-table-frame tr:hover td { background: #f6fbfe; }
.pw-work-table-frame .pw-work-index { width: 50px; padding: 0; text-align: center; }
.pw-work-table-frame .pw-work-operation { width: 40px; padding: 0; text-align: center; }
.pw-work-sticky-index { position: sticky; left: 0; z-index: 2; background: #fff; }
.pw-work-sticky-project { position: sticky; left: 50px; z-index: 2; background: #fff; }
.pw-work-sticky-operation { position: sticky; right: 0; z-index: 2; background: #fff; }
.pw-work-table-frame th.pw-work-sticky-index, .pw-work-table-frame th.pw-work-sticky-project, .pw-work-table-frame th.pw-work-sticky-operation { z-index: 5; background: var(--ui-primary-soft, #fbeaec); }
.pw-work-empty { position: sticky; left: 0; width: 100%; min-height: 394px; display: grid; place-items: center; color: #909399; }
.pw-work-bottom { position: relative; min-height: 62px; background: #fff; }
.pw-work-summary { min-height: 26px; display: flex; align-items: center; gap: 20px; color: #303133; white-space: nowrap; }
.pw-work-pagination { min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #606266; }
.pw-work-pagination button { min-width: 30px; height: 28px; border: 1px solid #dcdfe6; background: #fff; color: #606266; }
.pw-work-pagination button.active { border-color: var(--ui-primary, #b8202b); background: var(--ui-primary, #b8202b); color: #fff; }
.pw-work-pagination button:disabled { color: var(--ui-muted, #716a70); }
.pw-work-pagination input { width: 38px; height: 28px; padding: 0 4px; border: 1px solid #dcdfe6; border-radius: 3px; text-align: center; }
.pw-work-close { min-height: 52px; margin-top: 20px; align-items: flex-start; }
.pw-table-frame { position: relative; min-height: 118px; overflow: auto; border-top: 1px solid var(--ui-primary-line, #efd0d5); border-bottom: 1px solid var(--ui-primary-line, #efd0d5); background: #fff; }
.pw-table-frame table { width: 100%; min-width: 960px; border-collapse: collapse; table-layout: fixed; }
.pw-table-frame th, .pw-table-frame td { height: 40px; padding: 0 10px; overflow: hidden; border-right: 1px solid #e5e9ef; border-bottom: 1px solid #e5e9ef; color: var(--ui-muted, #716a70); font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.pw-table-frame th { background: var(--ui-primary-soft, #fbeaec); color: var(--ui-ink, #343034); font-weight: 500; }
.pw-table-frame tr:hover td { background: #f6fbfe; }
.pw-table-frame .pw-index { width: 40px; padding: 0; text-align: center; }
.pw-table-frame .pw-check { width: 42px; padding: 0; text-align: center; }
.pw-table-frame .pw-operation { width: 64px; text-align: center; }
.pw-finance .pw-panel { margin-bottom: 20px; }
.pw-finance .pw-panel > header h2 { padding: 0 4px; border-bottom: 0; border-left: 2px solid var(--ui-primary, #b8202b); }
.pw-finance-contract-body, .pw-finance-section-body { min-width: 0; padding: 10px 12px 0; }
.pw-finance-contract-body .pw-info-grid dt, .pw-finance-contract-body .pw-info-grid dd { border-bottom: 0; }
.pw-finance-row-label { min-height: 32px; padding: 7px 0; color: #303133; line-height: 18px; }
.pw-table-frame.pw-finance-table { min-height: 81px; border: 0; box-shadow: inset 0 0 0 1px var(--ui-primary-soft, #fbeaec); }
.pw-finance-table .pw-empty { min-height: 40px; height: 40px; }
.pw-finance-table table { min-width: 1446px; }
.pw-finance-total { height: 41px; padding: 0 14px; display: flex; align-items: center; justify-content: flex-end; border: 1px solid var(--ui-primary-line, #efd0d5); border-top: 0; background: #fff; color: #303133; }
.pw-finance-files { min-width: 0; }
.pw-finance-files .pw-file-list { padding-top: 10px; border: 0; }
.pw-finance-files .pw-file-list > div { min-height: 36px; border: 0; background: #f3f5f9; }
.pw-finance-file-empty { min-height: 40px; display: flex; align-items: center; justify-content: center; color: #909399; }
.pw-finance-more { width: 28px; height: 28px; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.pw-finance-more:hover { color: var(--ui-accent-ink, #a21c27); }
.pw-finance-close { min-height: 52px; padding-bottom: 4px; align-items: center; }
.pw-client-row-more { width: 28px; height: 28px; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.pw-client-row-more:hover { color: var(--ui-accent-ink, #a21c27); }
.pw-client-row-menu { position: fixed; z-index: 125; width: 74px; padding: 4px 0; border: 1px solid #e1e6eb; border-radius: 3px; background: #fff; box-shadow: 0 8px 22px rgba(56, 36, 42, .18); }
.pw-client-row-menu button { width: 100%; height: 32px; padding: 0 14px; border: 0; background: #fff; color: #303133; text-align: left; }
.pw-client-row-menu button:hover { background: var(--ui-primary-pale, #fff7f8); color: var(--ui-accent-ink, #a21c27); }
[data-testid="project-panel-client"] .pw-operation { width: 40px; padding: 0; }
.pw-link { padding: 0; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); }
.pw-status { display: inline-flex; align-items: center; gap: 5px; }
.pw-status:before { width: 6px; height: 6px; content: ''; border-radius: 50%; background: #e6a23c; }
.pw-status.success:before { background: #67c23a; }
.pw-status.danger:before { background: #f56c6c; }
.pw-empty { min-height: 118px; display: grid; place-items: center; color: #909399; }
.pw-empty.compact { min-height: 72px; border: 1px solid #e4e7ed; }
.pw-empty.large { min-height: 320px; background: #fff; }
.pw-pagination { min-height: 52px; padding: 16px 20px; background: #fff; color: #606266; text-align: center; }
.pw-table-summary { min-height: 52px; padding: 12px 20px; display: flex; justify-content: flex-end; gap: 26px; background: #fff; color: #606266; }
.pw-table-summary b { color: #303133; font-weight: 500; }
.pw-analysis-filters { min-height: 50px; padding: 9px 20px; display: flex; align-items: center; gap: 10px; background: #fff; }
.pw-analysis-filters select { width: 150px; }
.pw-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-top: 1px solid #edf0f3; }
.pw-metrics > div { min-height: 92px; padding: 18px 24px; border-right: 1px solid #edf0f3; }
.pw-metrics span { display: block; color: var(--ui-muted, #716a70); }
.pw-metrics strong { display: block; margin-top: 8px; color: var(--ui-ink, #343034); font-size: 24px; font-weight: 500; }
.pw-chart-grid { padding-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pw-chart { min-height: 270px; padding: 16px; background: #fff; border: 1px solid #e3e8ee; }
.pw-chart h3 { margin: 0 0 18px; color: var(--ui-ink, #343034); font-size: 14px; }
.pw-bars { display: grid; gap: 14px; }
.pw-bars > div { display: grid; grid-template-columns: 88px minmax(0, 1fr) 54px; align-items: center; gap: 8px; }
.pw-bars > div > span { overflow: hidden; color: var(--ui-muted, #716a70); text-overflow: ellipsis; white-space: nowrap; }
.pw-bars i { height: 9px; overflow: hidden; border-radius: 2px; background: #edf3f7; }
.pw-bars b { height: 100%; display: block; background: var(--ui-primary, #b8202b); }
.pw-bars strong { color: var(--ui-ink, #343034); font-size: 11px; text-align: right; }
.pw-work-analysis { min-width: 0; }
.pw-work-analysis-metrics { min-height: 104px; margin-bottom: 16px; padding: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; background: #fff; }
.pw-work-analysis-metrics > div { min-width: 0; height: 72px; padding: 13px 15px; border-radius: 8px; }
.pw-work-analysis-metrics > div.green { background: #f2fbf5; }
.pw-work-analysis-metrics > div.orange { background: #fff8f2; }
.pw-work-analysis-metrics > div.red { background: #fff5f6; }
.pw-work-analysis-metrics span { display: block; overflow: hidden; color: #303133; font-size: 12px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.pw-work-analysis-metrics strong { display: block; margin-top: 1px; font-size: 20px; font-weight: 600; line-height: 26px; }
.pw-work-analysis-metrics .green strong { color: #36b82d; }
.pw-work-analysis-metrics .orange strong { color: #ff9800; }
.pw-work-analysis-metrics .red strong { color: #f5222d; }
.pw-work-analysis-chart { height: 400px; min-width: 0; margin: 0 0 16px; overflow: hidden; background: #fff; }
.pw-work-analysis-chart > header { height: 36px; display: flex; align-items: center; border-bottom: 1px solid #edf0f3; }
.pw-work-analysis-chart h3 { height: 36px; margin: 0; padding: 0 0 0 4px; display: flex; align-items: center; border-left: 2px solid var(--ui-primary, #b8202b); color: #303133; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.pw-work-analysis-chart-body { height: 364px; min-width: 0; overflow: auto; }
.pw-work-analysis-empty { width: 100%; height: 100%; display: grid; place-items: center; color: #606266; }
.pw-work-analysis-bars { min-width: 0; padding: 28px 32px; display: grid; gap: 18px; }
.pw-work-analysis-bars > div { min-width: 0; display: grid; grid-template-columns: minmax(96px, 18%) minmax(120px, 1fr) 76px; align-items: center; gap: 12px; }
.pw-work-analysis-bars span { overflow: hidden; color: #606266; text-overflow: ellipsis; white-space: nowrap; }
.pw-work-analysis-bars i { height: 12px; overflow: hidden; border-radius: 2px; background: #edf3f7; }
.pw-work-analysis-bars b { height: 100%; display: block; background: var(--ui-primary, #b8202b); }
.pw-work-analysis-bars strong { color: var(--ui-ink, #343034); font-size: 12px; font-weight: 500; text-align: right; white-space: nowrap; }
.pw-work-analysis-bottom { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pw-work-analysis-bottom .pw-work-analysis-chart { margin-bottom: 0; }
.pw-work-analysis-close { min-height: 52px; margin-top: 20px; align-items: flex-start; }
.pw-document-toolbar { min-height: 42px; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; }
.pw-document-toolbar-left, .pw-document-toolbar-right { min-width: 0; display: flex; align-items: center; gap: 8px; }
.pw-document-toolbar-right { justify-content: flex-end; flex-wrap: wrap; }
.pw-document-missive { min-width: 0; display: inline-flex; align-items: center; gap: 7px; }
.pw-document-missive > span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ui-muted, #716a70); font-size: 12px; }
.pw-document-search { width: 208px; height: 26px; display: grid; grid-template-columns: minmax(0, 1fr) 38px; }
.pw-document-search input { width: 100%; min-width: 0; height: 26px; padding: 0 10px; border: 1px solid #d8dce3; border-right: 0; border-radius: 3px 0 0 3px; outline: none; }
.pw-document-search input:focus { border-color: var(--ui-primary, #b8202b); }
.pw-document-search button { width: 38px; height: 26px; display: grid; place-items: center; border: 1px solid #d8dce3; border-radius: 0 3px 3px 0; background: #fff; color: var(--ui-muted, #716a70); }
.pw-document-search button:hover, .pw-document-icon-button:hover { color: var(--ui-accent-ink, #a21c27); }
.pw-document-search .icon { width: 14px; height: 14px; }
.pw-document-icon-button { width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.pw-document-icon-button .iconfont { font-size: 26px; line-height: 26px; }
.pw-document-action { height: 26px; min-height: 26px; }
.pw-document-action .icon { width: 14px; height: 14px; }
.pw-document-advanced { min-height: 96px; padding: 12px 20px 17px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; background: #fff; }
.pw-document-advanced > label { min-width: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; }
.pw-document-advanced > label > span:first-child { color: #606266; }
.pw-document-advanced input, .pw-document-advanced select { width: 100%; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid #d8dce3; border-radius: 3px; background: #fff; color: #303133; }
.pw-document-date-range { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 5px minmax(0, 1fr); align-items: center; }
.pw-document-date-range i { color: #606266; font-style: normal; text-align: center; }
.pw-document-table-area { padding: 16px 16px 0; background: #fff; }
.pw-document-table-frame { position: relative; height: 426px; overflow: auto; border: 1px solid #e5e9ef; background: #fff; }
.pw-document-table-frame table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pw-document-table-frame th, .pw-document-table-frame td { height: 40px; padding: 0 10px; overflow: hidden; border-right: 1px solid #e5e9ef; border-bottom: 1px solid #e5e9ef; color: var(--ui-muted, #716a70); font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.pw-document-table-frame th { position: sticky; top: 0; z-index: 3; background: var(--ui-primary-soft, #fbeaec); color: var(--ui-ink, #343034); font-weight: 500; }
.pw-document-table-frame tr:hover td { background: #f6fbfe; }
.pw-document-table-frame .pw-document-check, .pw-document-table-frame .pw-document-index, .pw-document-table-frame .pw-document-operation { padding: 0; text-align: center; }
.pw-document-table-frame .pw-document-check { width: 40px; }
.pw-document-table-frame .pw-document-index { width: 40px; }
.pw-document-table-frame .pw-document-operation { width: 40px; }
.pw-document-sticky-check { position: sticky; left: 0; z-index: 2; background: #fff; }
.pw-document-sticky-index { position: sticky; left: 40px; z-index: 2; background: #fff; }
.pw-document-sticky-name { position: sticky; left: 80px; z-index: 2; background: #fff; }
.pw-document-sticky-operation { position: sticky; right: 0; z-index: 2; background: #fff; }
.pw-document-table-frame th.pw-document-sticky-check, .pw-document-table-frame th.pw-document-sticky-index, .pw-document-table-frame th.pw-document-sticky-name, .pw-document-table-frame th.pw-document-sticky-operation { z-index: 5; background: var(--ui-primary-soft, #fbeaec); }
.pw-document-empty { position: sticky; left: 0; width: 100%; min-height: 384px; display: grid; place-items: center; color: #909399; }
.pw-document-bottom { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: #606266; }
.pw-document-bottom button { min-width: 30px; height: 28px; border: 1px solid #dcdfe6; background: #fff; color: #606266; }
.pw-document-bottom button.active { border-color: var(--ui-primary, #b8202b); background: var(--ui-primary, #b8202b); color: #fff; }
.pw-document-bottom button:disabled { color: var(--ui-muted, #716a70); }
.pw-document-bottom input { width: 38px; height: 28px; padding: 0 4px; border: 1px solid #dcdfe6; border-radius: 3px; text-align: center; }
.pw-document-more { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--ui-muted, #716a70); font-size: 19px; font-weight: 700; line-height: 1; cursor: pointer; visibility: visible; opacity: 1; }
.pw-document-more span { display: block; line-height: 1; transform: translateY(-2px); }
.pw-document-more:hover { color: var(--ui-accent-ink, #a21c27); }
.pw-document-more:focus-visible { border-color: var(--ui-primary, #b8202b); outline: 2px solid rgba(184, 32, 43, .2); outline-offset: 1px; }
.pw-document-row-menu { position: fixed; z-index: 125; width: 74px; padding: 4px 0; border: 1px solid #e1e6eb; border-radius: 3px; background: #fff; box-shadow: 0 8px 22px rgba(56, 36, 42, .18); }
.pw-document-row-menu button { width: 100%; height: 32px; padding: 0 14px; border: 0; background: #fff; color: #303133; text-align: left; }
.pw-document-row-menu button:hover { background: var(--ui-primary-pale, #fff7f8); color: var(--ui-accent-ink, #a21c27); }
.pw-document-close { min-height: 52px; margin-top: 20px; align-items: flex-start; }
.pw-seal-toolbar { min-height: 42px; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; }
.pw-seal-toolbar-left, .pw-seal-toolbar-right { min-width: 0; display: flex; align-items: center; gap: 8px; }
.pw-seal-toolbar-right { justify-content: flex-end; }
.pw-seal-auto-status { min-height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #a8ceb9; border-radius: 4px; background: #f1faf5; color: #2d7651; font-size: 12px; }
.pw-seal-auto-status .icon { width: 14px; height: 14px; }
.pw-seal-search { width: 208px; height: 26px; display: grid; grid-template-columns: minmax(0, 1fr) 38px; }
.pw-seal-search input { width: 100%; min-width: 0; height: 26px; padding: 0 10px; border: 1px solid #d8dce3; border-right: 0; border-radius: 3px 0 0 3px; outline: none; }
.pw-seal-search input:focus { border-color: var(--ui-primary, #b8202b); }
.pw-seal-search button { width: 38px; height: 26px; display: grid; place-items: center; border: 1px solid #d8dce3; border-radius: 0 3px 3px 0; background: #fff; color: var(--ui-muted, #716a70); }
.pw-seal-search button:hover, .pw-seal-icon-button:hover { color: var(--ui-accent-ink, #a21c27); }
.pw-seal-search .icon, .pw-seal-action .icon { width: 14px; height: 14px; }
.pw-seal-icon-button { width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.pw-seal-icon-button .iconfont { font-size: 26px; line-height: 26px; }
.pw-seal-action { height: 26px; min-height: 26px; }
.pw-seal-advanced { min-height: 96px; padding: 12px 20px 17px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; background: #fff; }
.pw-seal-advanced > label { min-width: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; }
.pw-seal-advanced > label > span:first-child { color: #606266; }
.pw-seal-advanced input, .pw-seal-advanced select { width: 100%; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid #d8dce3; border-radius: 3px; background: #fff; color: #303133; }
.pw-seal-date-range { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 5px minmax(0, 1fr); align-items: center; }
.pw-seal-date-range i { color: #606266; font-style: normal; text-align: center; }
.pw-seal-table-area { padding: 16px 16px 0; background: #fff; }
.pw-seal-table-frame { position: relative; height: 426px; overflow: auto; border: 1px solid #e5e9ef; background: #fff; }
.pw-seal-table-frame table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pw-seal-table-frame th, .pw-seal-table-frame td { height: 40px; padding: 0 10px; overflow: hidden; border-right: 1px solid #e5e9ef; border-bottom: 1px solid #e5e9ef; color: var(--ui-muted, #716a70); font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.pw-seal-table-frame th { position: sticky; top: 0; z-index: 3; background: var(--ui-primary-soft, #fbeaec); color: var(--ui-ink, #343034); font-weight: 500; }
.pw-seal-table-frame tr:hover td { background: #f6fbfe; }
.pw-seal-table-frame .pw-seal-check, .pw-seal-table-frame .pw-seal-index, .pw-seal-table-frame .pw-seal-operation { padding: 0; text-align: center; }
.pw-seal-sticky-check { position: sticky; left: 0; z-index: 2; background: #fff; }
.pw-seal-sticky-index { position: sticky; left: 40px; z-index: 2; background: #fff; }
.pw-seal-sticky-type { position: sticky; left: 80px; z-index: 2; background: #fff; }
.pw-seal-sticky-operation { position: sticky; right: 0; z-index: 2; background: #fff; }
.pw-seal-table-frame th.pw-seal-sticky-check, .pw-seal-table-frame th.pw-seal-sticky-index, .pw-seal-table-frame th.pw-seal-sticky-type, .pw-seal-table-frame th.pw-seal-sticky-operation { z-index: 5; background: var(--ui-primary-soft, #fbeaec); }
.pw-seal-empty { position: sticky; left: 0; width: 100%; min-height: 384px; display: grid; place-items: center; color: #909399; }
.pw-seal-bottom { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: #606266; }
.pw-seal-bottom button { min-width: 30px; height: 28px; border: 1px solid #dcdfe6; background: #fff; color: #606266; }
.pw-seal-bottom button.active { border-color: var(--ui-primary, #b8202b); background: var(--ui-primary, #b8202b); color: #fff; }
.pw-seal-bottom button:disabled { color: var(--ui-muted, #716a70); }
.pw-seal-bottom input { width: 38px; height: 28px; padding: 0 4px; border: 1px solid #dcdfe6; border-radius: 3px; text-align: center; }
.pw-seal-more { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: var(--ui-muted, #716a70); font-size: 20px; }
.pw-seal-more span { display: block; font-size: 20px; line-height: 24px; }
.pw-seal-more:hover { color: var(--ui-accent-ink, #a21c27); }
.pw-seal-row-menu { position: fixed; z-index: 125; width: 74px; padding: 4px 0; border: 1px solid #e1e6eb; border-radius: 3px; background: #fff; box-shadow: 0 8px 22px rgba(56, 36, 42, .18); }
.pw-seal-row-menu button { width: 100%; height: 32px; padding: 0 14px; border: 0; background: #fff; color: #303133; text-align: left; }
.pw-seal-row-menu button:hover { background: var(--ui-primary-pale, #fff7f8); color: var(--ui-accent-ink, #a21c27); }
.pw-seal-detail-files { display: flex; flex-wrap: wrap; gap: 8px; }
.pw-hearings { min-height: 470px; padding: 16px; background: #fff; }
.pw-hearing-card { margin-bottom: 16px; border: 1px solid var(--ui-primary-line, #efd0d5); background: #fff; }
.pw-hearing-card > header, .pw-hearing-subsection > header { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e5e9ef; background: #fbfcfd; }
.pw-hearing-card > header h2, .pw-hearing-subsection > header h3 { margin: 0; color: var(--ui-ink, #343034); font-size: 14px; font-weight: 500; }
.pw-hearing-card > header > div { display: flex; align-items: center; gap: 8px; }
.pw-hearing-card > .pw-info-grid, .pw-hearing-card > .pw-hearing-form-grid { padding: 14px 16px; }
.pw-hearing-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.pw-hearing-field { min-width: 0; display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 8px; }
.pw-hearing-field.wide { grid-column: 1 / -1; }
.pw-hearing-field > span { color: #606266; white-space: nowrap; }
.pw-hearing-field > span b { margin-right: 3px; color: #f56c6c; font-weight: 400; }
.pw-hearing-field input, .pw-hearing-field select, .pw-hearing-field textarea, .pw-hearing-key-dates input, .pw-hearing-key-dates select { width: 100%; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid #d8dce3; border-radius: 3px; background: #fff; color: #303133; outline: none; }
.pw-hearing-field textarea { min-height: 70px; padding-top: 7px; resize: vertical; }
.pw-hearing-field input:focus, .pw-hearing-field select:focus, .pw-hearing-field textarea:focus, .pw-hearing-key-dates input:focus, .pw-hearing-key-dates select:focus { border-color: var(--ui-primary, #b8202b); }
.pw-hearing-field-spacer { min-width: 0; }
.pw-hearing-upload { padding: 0 16px 14px; }
.pw-hearing-upload > label { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px dashed var(--ui-primary-line, #efd0d5); background: #f8fbfd; color: var(--ui-accent-ink, #a21c27); cursor: pointer; }
.pw-hearing-upload > label > span { color: #606266; }
.pw-hearing-upload > label input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pw-hearing-upload > label strong { font-weight: 400; }
.pw-hearing-file-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.pw-hearing-file-list > span { max-width: 280px; min-height: 28px; padding: 0 6px 0 8px; display: inline-flex; align-items: center; gap: 5px; overflow: hidden; border: 1px solid var(--ui-primary-line, #efd0d5); color: var(--ui-muted, #716a70); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pw-hearing-file-list > span > i { flex: 0 0 auto; }
.pw-hearing-file-list > span > button { width: 22px; height: 22px; flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.pw-hearing-file-list > span > button:hover { color: var(--ui-accent-ink, #a21c27); }
.pw-hearing-subsection { margin: 0 16px 16px; border: 1px solid #e5e9ef; }
.pw-hearing-subsection > header { min-height: 42px; padding: 0 12px; }
.pw-hearing-key-dates { padding: 10px 12px; }
.pw-hearing-key-dates > div { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(150px, .6fr) 32px; gap: 8px; margin-bottom: 8px; }
.pw-hearing-key-dates > div:last-child { margin-bottom: 0; }
.pw-hearing-key-dates > div > button { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--ui-muted, #716a70); }
.pw-hearing-key-dates > div > button:hover { color: #d9534f; }
.pw-hearing-key-dates > p, .pw-hearing-view-nodes > p { margin: 0; padding: 8px 0; color: #909399; }
.pw-hearing-view-section { padding: 0 16px 14px; }
.pw-hearing-view-section h3 { margin: 0; padding: 10px 0; border-bottom: 1px solid #edf0f3; color: #606266; font-size: 13px; font-weight: 500; }
.pw-hearing-view-files { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.pw-hearing-view-nodes { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.pw-hearing-view-nodes > span { min-width: 180px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; border: 1px solid #e5e9ef; color: #606266; font-size: 12px; }
.pw-hearing-view-nodes > span b { color: var(--ui-ink, #343034); font-weight: 500; }
.pw-hearing-empty { min-height: 426px; display: grid; place-items: center; align-content: center; gap: 12px; color: #909399; }
.pw-hearing-empty span { width: 28px; height: 28px; border: 3px solid var(--ui-primary-line, #efd0d5); border-top-color: var(--ui-primary, #b8202b); border-radius: 50%; animation: pw-spin .8s linear infinite; }
.pw-hearing-empty p { margin: 0; }
.pw-hearing-close { min-height: 52px; margin-top: 12px; align-items: flex-start; }
.pw-approval-panel { min-height: 430px; background: #fff; }
.pw-approval-title { min-height: 44px; padding: 0 20px; display: flex; align-items: center; border-bottom: 1px solid #edf0f3; color: #303133; font-size: 14px; font-weight: 500; }
.pw-approval-scroll { width: 100%; padding: 30px 22px 44px; overflow-x: auto; }
.pw-approval-flow { min-width: 940px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pw-approval-stage { position: relative; min-width: 0; padding-right: 22px; color: #909399; }
.pw-approval-stage::after { content: ''; position: absolute; z-index: 0; top: 12px; left: 28px; right: -1px; height: 1px; background: var(--ui-primary-soft, #fbeaec); }
.pw-approval-stage:last-child { padding-right: 0; }
.pw-approval-stage:last-child::after { display: none; }
.pw-approval-node { position: relative; z-index: 1; width: 25px; height: 25px; display: grid; place-items: center; border: 2px solid var(--ui-primary-line, #efd0d5); border-radius: 50%; background: #fff; }
.pw-approval-node i { font-size: 12px; font-style: normal; font-weight: 600; line-height: 1; }
.pw-approval-stage.success { color: #67c23a; }
.pw-approval-stage.process { color: var(--ui-accent-ink, #a21c27); }
.pw-approval-stage.error { color: #f56c6c; }
.pw-approval-stage.success::after { background: #67c23a; }
.pw-approval-stage.process::after { background: linear-gradient(90deg, var(--ui-primary, #b8202b) 0 20%, var(--ui-primary-soft, #fbeaec) 20% 100%); }
.pw-approval-stage.success .pw-approval-node, .pw-approval-stage.process .pw-approval-node, .pw-approval-stage.error .pw-approval-node { border-color: currentColor; }
.pw-approval-stage h3 { margin: 10px 0 19px; color: currentColor; font-size: 14px; font-weight: 500; line-height: 20px; }
.pw-approval-details { width: calc(100% - 6px); color: #303133; font-size: 12px; }
.pw-approval-detail-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
.pw-approval-detail-top > div, .pw-approval-opinion { min-width: 0; display: grid; gap: 7px; }
.pw-approval-details span { color: #909399; line-height: 18px; }
.pw-approval-details strong { min-width: 0; overflow: hidden; color: #303133; font-weight: 400; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.pw-approval-opinion { margin-top: 18px; }
.pw-approvals-view { min-width: 0; display: grid; gap: 16px; }
.pw-related-approval-panel { background: #fff; }
.pw-related-approval-panel > header { min-height: 44px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0f3; }
.pw-related-approval-panel > header h2 { margin: 0; color: #303133; font-size: 14px; font-weight: 500; }
.pw-related-approval-panel > header span { color: #909399; font-size: 12px; }
.pw-related-approval-grid { padding: 16px 20px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
.pw-related-approval-card { min-width: 0; padding: 14px; border: 1px solid var(--ui-primary-line, #efd0d5); border-radius: 4px; background: #fff; }
.pw-related-approval-card-head { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pw-related-approval-card-head > div { min-width: 0; display: grid; gap: 4px; }
.pw-related-approval-card-head strong { overflow: hidden; color: #303133; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.pw-related-approval-card-head small { color: #909399; font-size: 11px; }
.pw-related-approval-card-head > span { flex: 0 0 auto; padding: 2px 7px; border-radius: 10px; background: var(--ui-primary-soft, #fbeaec); color: var(--ui-accent-ink, #a21c27); font-size: 11px; }
.pw-related-approval-card-head > span.success { background: #edf8e8; color: #4a9230; }
.pw-related-approval-card-head > span.danger { background: #fff0f1; color: #c34b5d; }
.pw-related-approval-card dl { margin: 14px 0 0; display: grid; gap: 8px; }
.pw-related-approval-card dl > div { min-width: 0; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; }
.pw-related-approval-card dt { color: #909399; font-size: 12px; }
.pw-related-approval-card dd { min-width: 0; margin: 0; overflow: hidden; color: #303133; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pw-loading, .pw-error { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 12px; background: #fff; color: var(--ui-muted, #716a70); }
.pw-loading span { width: 28px; height: 28px; border: 3px solid var(--ui-primary-line, #efd0d5); border-top-color: var(--ui-primary, #b8202b); border-radius: 50%; animation: pw-spin .8s linear infinite; }
.pw-loading p, .pw-error p { margin: 0; }
@keyframes pw-spin { to { transform: rotate(360deg); } }
.pw-modal-backdrop { position: absolute; inset: 0; z-index: 90; padding: 20px; display: grid; place-items: center; background: rgba(45, 41, 45, .34); }
.pw-modal { width: min(760px, 100%); max-height: calc(100% - 4px); display: grid; grid-template-rows: 48px minmax(0, 1fr) 58px; overflow: hidden; border-radius: 4px; background: #fff; box-shadow: 0 18px 55px rgba(56, 36, 42, .24); }
.pw-modal > header { padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e4e7ed; }
.pw-modal > header h2 { margin: 0; font-size: 16px; font-weight: 500; }
.pw-modal > header button { border: 0; background: transparent; }
.pw-modal > main { min-height: 0; padding: 18px; overflow: auto; }
.pw-modal > footer { padding: 12px 18px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid #e4e7ed; }
.pw-conflict-report-backdrop { position: fixed; z-index: 220; padding: 20px; place-items: start center; background: rgba(0, 0, 0, .48); }
.pw-conflict-report-dialog { width: min(1296px, calc(100vw - 80px)); height: min(525px, calc(100dvh - 40px)); max-height: calc(100dvh - 40px); display: grid; grid-template-rows: 34px minmax(0, 1fr) 52px; overflow: hidden; border-radius: 3px; background: #fff; box-shadow: 0 18px 55px rgba(56, 36, 42, .28); }
.pw-conflict-report-dialog > header { min-width: 0; padding: 0 14px 0 20px; display: flex; align-items: center; justify-content: space-between; background: var(--ui-primary, #b8202b); color: #fff; }
.pw-conflict-report-dialog > header h2 { min-width: 0; margin: 0; overflow: hidden; font-size: 18px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.pw-conflict-report-dialog > header button { width: 26px; height: 26px; padding: 0; flex: 0 0 auto; border: 0; background-color: transparent; color: #fff; }
.pw-conflict-report-dialog > main { min-height: 0; padding: 20px; overflow: auto; }
.pw-conflict-report-parties { display: grid; gap: 8px; }
.pw-conflict-report-parties > div { min-height: 33px; display: grid; grid-template-columns: 107px minmax(0, 1fr); gap: 8px; }
.pw-conflict-report-parties span, .pw-conflict-report-parties strong { min-width: 0; padding: 7px 14px; border-radius: 7px; background: #f2f3f7; color: #303133; font-size: 12px; font-weight: 400; line-height: 19px; }
.pw-conflict-report-parties strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-conflict-report-options { min-height: 38px; display: flex; align-items: center; gap: 32px; }
.pw-conflict-report-options label { display: inline-flex; align-items: center; gap: 9px; color: #303133; font-size: 12px; white-space: nowrap; }
.pw-conflict-report-options input { width: 14px; height: 14px; margin: 0; accent-color: var(--ui-primary, #b8202b); }
.pw-conflict-report-result-title { min-height: 55px; display: grid; grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr); align-items: center; gap: 20px; }
.pw-conflict-report-result-title span { height: 1px; background: #e5e7eb; }
.pw-conflict-report-result-title h3 { margin: 0; color: #050505; font-size: 18px; font-weight: 600; letter-spacing: 0; }
.pw-conflict-report-results { margin-bottom: 14px; overflow-x: auto; }
.pw-conflict-report-results .pw-table-wrap { margin: 0; }
.pw-conflict-principles { padding: 15px 20px 10px; border-radius: 8px; background: #f5f6f8; color: #20252b; }
.pw-conflict-principles h3 { margin: 0 0 12px; font-size: 16px; font-weight: 400; }
.pw-conflict-principles ol { margin: 0; padding-left: 20px; }
.pw-conflict-principles li { padding: 2px 0 2px 1px; font-size: 12px; line-height: 19px; }
.pw-conflict-report-dialog > footer { display: flex; align-items: center; justify-content: center; }
.pw-conflict-report-dialog > footer .pw-button { min-width: 120px; }
.pw-modal-backdrop.client-detail-backdrop { position: fixed; z-index: 180; background: rgba(45, 41, 45, .42); }
.pw-modal-backdrop.contract-seal-backdrop { position: fixed; z-index: 180; }
.pw-contract-seal-modal { max-height: calc(100dvh - 40px); }
.pw-client-modal { width: min(1382px, calc(100% - 40px)); height: min(905px, calc(100dvh - 40px)); max-height: calc(100dvh - 40px); grid-template-rows: 34px minmax(0, 1fr) 58px; }
.pw-client-modal > header { padding: 0 14px 0 20px; border: 0; background: var(--ui-primary, #b8202b); color: #fff; }
.pw-client-modal > header h2 { font-size: 18px; }
.pw-client-modal > header button { color: #fff; }
.pw-client-modal > main { padding: 20px; background: #f2f4f8; }
.pw-client-modal > footer { justify-content: center; background: #fff; }
.pw-client-modal > footer .pw-button { min-width: 120px; }
.pw-client-detail-meta { min-height: 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.pw-client-detail-meta span { min-height: 20px; padding: 1px 7px; display: inline-flex; align-items: center; border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; font-size: 12px; }
.pw-client-detail-meta span.warning { background: #e89c19; }
.pw-client-detail-section { margin-bottom: 20px; overflow: hidden; border-radius: 6px; background: #fff; }
.pw-client-detail-section > header { min-height: 36px; padding: 0 6px; display: flex; align-items: center; border-bottom: 1px solid #edf0f3; }
.pw-client-detail-section > header h3 { margin: 0; color: #303133; font-size: 14px; font-weight: 500; }
.pw-client-detail-section > .pw-info-grid { padding: 10px 12px 0; }
.pw-client-detail-section .pw-info-grid dt, .pw-client-detail-section .pw-info-grid dd { border-bottom: 0; }
.pw-client-more { min-height: 40px; padding: 4px 16px 10px; display: flex; align-items: center; gap: 8px; color: var(--ui-muted, #716a70); }
.pw-client-more button { padding: 0; border: 0; background: transparent; color: var(--ui-accent-ink, #a21c27); }
.pw-client-contact-tabs { min-height: 39px; padding: 10px 12px 4px; display: flex; align-items: flex-end; gap: 4px; }
.pw-client-contact-tabs button { min-width: 62px; height: 25px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ui-muted, #716a70); }
.pw-client-contact-tabs button.active { border-bottom-color: var(--ui-primary, #b8202b); color: var(--ui-accent-ink, #a21c27); }

#app .project-workspace-page { grid-template-rows: auto 36px minmax(0, 1fr) !important; }
#app .project-workspace-page .pw-hero { min-height: 0 !important; padding: 8px 14px !important; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; border-top-width: 2px !important; }
#app .project-workspace-page .pw-hero-title { grid-column: 1 / -1; min-width: 0; min-height: 0; align-items: flex-start; gap: 8px; }
#app .project-workspace-page .pw-hero-name { position: relative; flex: 1; min-width: 0; cursor: help; }
#app .project-workspace-page .pw-hero-title h1 { display: block; max-height: 24px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 18px !important; line-height: 24px; }
#app .project-workspace-page .pw-project-name-tooltip { position: absolute; z-index: 180; top: calc(100% + 8px); left: 0; width: max-content; max-width: min(720px, calc(100vw - 48px)); max-height: min(320px, 50vh); overflow: auto; padding: 10px 12px; border: 1px solid var(--v2-line); border-radius: 6px; background: var(--v2-surface); color: var(--v2-ink); box-shadow: var(--v2-shadow); font-size: 14px; font-weight: 400; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; visibility: hidden; opacity: 0; }
#app .project-workspace-page .pw-hero-name:hover .pw-project-name-tooltip,
#app .project-workspace-page .pw-hero-name:focus .pw-project-name-tooltip { visibility: visible; opacity: 1; }
#app .project-workspace-page .pw-hero-name:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: 2px; }
#app .project-workspace-page .pw-hero-meta { min-width: 0; min-height: 28px; margin: 0; padding: 0; gap: 8px; }
#app .project-workspace-page .pw-hero-meta > div { gap: 4px; }
#app .project-workspace-page .pw-hero-meta span { min-height: 20px; padding: 2px 6px; font-size: 11px; }
#app .project-workspace-page .pw-hero-actions { position: static !important; justify-self: end; gap: 6px; margin: 0 !important; }
#app .project-workspace-page .pw-hero .pw-button { min-height: 28px; height: 28px; padding: 0 8px; }
#app .project-workspace-page .pw-tabs { min-height: 36px !important; }
#app .project-workspace-page .pw-tabs button { height: 36px !important; }
#app .project-workspace-page .pw-scroll { padding: 10px 14px 18px !important; }

@media (max-width: 900px) {
  #app .project-workspace-page .pw-hero { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  #app .project-workspace-page .pw-hero-title h1 { font-size: 16px !important; line-height: 22px; max-height: 22px; }
  #app .project-workspace-page .pw-hero-actions { justify-self: start; }
  #app .project-workspace-page .pw-scroll { padding: 10px !important; }
}
.pw-client-contacts > .pw-info-grid { padding-bottom: 10px; }
.pw-modal-section h3 { margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid #e4e7ed; font-size: 14px; }
.pw-hint { padding: 10px 12px; border: 1px solid var(--ui-primary-line, #efd0d5); background: var(--ui-primary-pale, #fff7f8); color: var(--ui-accent-ink, #a21c27); }
.pw-modal-error { margin-bottom: 14px; padding: 9px 12px; border: 1px solid #f5c0c0; background: #fff1f1; color: #cf3f3f; }
.pw-upload-dialog > p { margin: 0 0 14px; color: #777; line-height: 1.7; }
.pw-upload-dialog > p span { color: var(--ui-accent-ink, #a21c27); }
.pw-upload-dialog > label { min-height: 180px; margin-bottom: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px dashed var(--ui-primary-line, #efd0d5); background: #fafcfd; color: var(--ui-muted, #716a70); cursor: pointer; }
.pw-upload-dialog > label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pw-upload-dialog > label i { width: 36px; height: 36px; color: var(--ui-accent-ink, #a21c27); }
.pw-upload-dialog > label em { color: var(--ui-accent-ink, #a21c27); font-style: normal; }
.pw-upload-dialog > label strong { max-width: 100%; overflow-wrap: anywhere; font-weight: 400; line-height: 1.8; text-align: center; }
.pw-record-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #e3e8ee; border-left: 1px solid #e3e8ee; }
.pw-record-detail > div { min-height: 42px; display: grid; grid-template-columns: 110px minmax(0, 1fr); border-right: 1px solid #e3e8ee; border-bottom: 1px solid #e3e8ee; }
.pw-record-detail span, .pw-record-detail strong { min-width: 0; padding: 10px; overflow-wrap: anywhere; }
.pw-record-detail span { background: #f4f7fa; color: var(--ui-muted, #716a70); }
.pw-record-detail strong { color: #303133; font-weight: 400; }
.pw-contract-seal-form .pw-hint { margin: 0 0 16px; line-height: 1.7; }
.pw-contract-source-summary { margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #dfe5ea; border-left: 1px solid #dfe5ea; background: #f8fafc; }
.pw-contract-source-summary > div { min-width: 0; min-height: 58px; padding: 9px 12px; border-right: 1px solid #dfe5ea; border-bottom: 1px solid #dfe5ea; }
.pw-contract-source-summary > div.wide { grid-column: 1 / -1; }
.pw-contract-source-summary span { display: block; margin-bottom: 4px; color: var(--ui-muted, #716a70); font-size: 12px; }
.pw-contract-source-summary strong { display: block; color: var(--ui-ink, #343034); font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.pw-contract-source-summary > .pw-contract-source-action { min-height: 48px; display: flex; align-items: center; justify-content: flex-end; background: #fff; }
.pw-contract-seal-success { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 28px; align-items: center; }
.pw-contract-seal-success > div > span { color: #16745a; font-weight: 600; }
.pw-contract-seal-success h3 { margin: 8px 0; color: var(--ui-ink, #343034); font-size: 22px; }
.pw-contract-seal-success p { margin: 0 0 18px; color: var(--ui-muted, #716a70); line-height: 1.7; }
.pw-contract-seal-success dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pw-contract-seal-success dl div { padding: 10px; border: 1px solid #dfe5ea; background: #f7f9fb; }
.pw-contract-seal-success dt { margin-bottom: 4px; color: var(--ui-muted, #716a70); font-size: 12px; }
.pw-contract-seal-success dd { margin: 0; overflow-wrap: anywhere; }
.pw-contract-seal-success img { width: 180px; height: 180px; object-fit: contain; border: 1px solid #dfe5ea; background: #fff; }

@media (max-width: 980px) {
  .pw-info-grid, .pw-form-grid, .pw-contract-form, .pw-metrics, .pw-chart-grid { grid-template-columns: 1fr; column-gap: 0; }
  .pw-info-grid > div.wide, .pw-form-field.wide { grid-column: auto; }
  .pw-toolbar { align-items: flex-start; flex-direction: column; overflow-x: auto; }
  .pw-toolbar-left, .pw-toolbar-right { width: max-content; }
  .pw-approval-scroll { padding-right: 14px; padding-left: 14px; }
  .pw-record-detail { grid-template-columns: 1fr; }
  .pw-form-spacer, .pw-info-grid > div.pw-info-spacer { display: none; }
  .pw-client-modal { width: calc(100% - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); }
  .pw-contract-seal-modal { max-height: calc(100dvh - 16px); }
  .pw-contract-seal-success { grid-template-columns: 1fr; }
  .pw-contract-source-summary { grid-template-columns: 1fr; }
  .pw-contract-source-summary > div.wide { grid-column: auto; }
  .pw-conflict-report-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); }
  .pw-conflict-report-dialog > header h2 { font-size: 14px; }
  .pw-conflict-report-dialog > main { padding: 10px; }
  .pw-conflict-report-options { align-items: flex-start; flex-direction: column; gap: 8px; padding: 10px 0; }
  .pw-client-modal > main { padding: 10px; }
  .pw-work-toolbar { align-items: flex-start; flex-direction: column; overflow-x: auto; }
  .pw-work-toolbar-left, .pw-work-toolbar-right { width: max-content; }
  .pw-work-advanced { grid-template-columns: minmax(560px, 1fr); overflow-x: auto; }
  .pw-work-analysis-metrics, .pw-work-analysis-bottom { grid-template-columns: 1fr; }
  .pw-work-analysis-metrics { height: auto; }
  .pw-document-toolbar { align-items: flex-start; flex-direction: column; overflow-x: auto; }
  .pw-document-toolbar-left, .pw-document-toolbar-right { width: max-content; }
  .pw-document-advanced { grid-template-columns: minmax(560px, 1fr); overflow-x: auto; }
  .pw-seal-toolbar { align-items: flex-start; flex-direction: column; overflow-x: auto; }
  .pw-seal-toolbar-left, .pw-seal-toolbar-right { width: max-content; }
  .pw-seal-advanced { grid-template-columns: minmax(560px, 1fr); overflow-x: auto; }
  .pw-hearing-form-grid { grid-template-columns: minmax(560px, 1fr); overflow-x: auto; }
  .pw-hearing-field-spacer { display: none; }
}
@media (max-width: 640px) {
  .project-workspace-page { height: calc(100dvh - 106px); grid-template-rows: 126px 40px minmax(0, 1fr); }
  .pw-hero-meta { align-items: flex-start; }
  .pw-hero-meta .pw-button { padding: 0 8px; }
  .pw-tabs { padding: 0; }
  .pw-scroll { padding-top: 10px; }
  .pw-section-body { padding: 8px 6px 12px; }
  .pw-info-grid > div, .pw-form-field { grid-template-columns: 94px minmax(0, 1fr); }
  .pw-info-grid dt, .pw-info-grid dd { padding: 7px 4px; }
  .pw-form-grid { gap: 10px; }
  .pw-approval-title { padding: 0 12px; }
  .pw-approval-scroll { padding: 22px 12px 34px; }
  .pw-modal-backdrop { padding: 8px; }
  .pw-modal { width: 100%; max-height: 100%; }
  .pw-table-summary { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .pw-finance-contract-body, .pw-finance-section-body { padding-right: 6px; padding-left: 6px; }
  .pw-work-analysis-metrics { padding: 10px; gap: 10px; }
  .pw-work-analysis-chart { height: 320px; }
  .pw-work-analysis-chart-body { height: 284px; }
  .pw-work-analysis-bars { padding: 20px 14px; }
  .pw-work-analysis-bars > div { grid-template-columns: 82px minmax(100px, 1fr) 66px; gap: 8px; }
  .pw-document-advanced { padding-right: 10px; padding-left: 10px; }
  .pw-seal-advanced { padding-right: 10px; padding-left: 10px; }
  .pw-hearings { padding: 10px 6px; }
  .pw-hearing-card > header { padding: 0 10px; }
  .pw-hearing-card > .pw-info-grid, .pw-hearing-card > .pw-hearing-form-grid { padding-right: 10px; padding-left: 10px; }
  .pw-hearing-form-grid { grid-template-columns: 1fr; gap: 10px; overflow: visible; }
  .pw-hearing-field.wide { grid-column: auto; }
  .pw-hearing-subsection { margin-right: 10px; margin-left: 10px; }
  .pw-hearing-key-dates > div { grid-template-columns: minmax(135px, 1fr) minmax(125px, 1fr) 32px; }
}
 .pw-finance-invoice-upload{display:flex;align-items:center;gap:10px;margin:12px 0;color:var(--ui-muted, #716a70);font-size:12px}

/* Project client detail uses the same restrained blue workspace theme. */
.pw-client-modal {
  width: min(980px, calc(100% - 40px));
  height: min(760px, calc(100dvh - 48px));
  grid-template-rows: 56px minmax(0, 1fr) 58px;
  border: 1px solid var(--ui-primary-line, #efd0d5);
  border-radius: 6px;
  box-shadow: 0 22px 64px rgba(56, 36, 42, .22);
}

.pw-client-modal > header {
  padding: 0 18px 0 20px;
  border-bottom: 1px solid var(--ui-primary-line, #efd0d5);
  background: #ffffff;
  color: var(--ui-ink, #343034);
}

.pw-client-modal > header h2 {
  font-size: 17px;
  font-weight: 650;
}

.pw-client-modal > header button { color: var(--ui-muted, #716a70); }
.pw-client-modal > main { padding: 18px; background: #f5f7f9; }
.pw-client-modal > footer { border-top-color: var(--ui-primary-line, #efd0d5); }
.pw-client-modal > footer .pw-button.primary { min-width: 96px; }

.pw-client-summary {
  min-height: 92px;
  margin-bottom: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 44px minmax(150px, 1fr) minmax(360px, 1.6fr);
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ui-primary-line, #efd0d5);
  border-radius: 6px;
  background: #ffffff;
}

.pw-client-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ui-primary-pale, #fff7f8);
  color: var(--ui-accent-ink, #a21c27);
  font-size: 17px;
  font-weight: 650;
}

.pw-client-summary > div { min-width: 0; display: grid; gap: 4px; }
.pw-client-summary > div > strong { overflow: hidden; color: var(--ui-ink, #343034); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.pw-client-summary > div > small { color: var(--ui-muted, #716a70); font-size: 12px; }
.pw-client-summary dl { min-width: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pw-client-summary dl > div { min-width: 0; padding: 0 14px; border-left: 1px solid #e5eaef; }
.pw-client-summary dt { margin-bottom: 5px; color: var(--ui-muted, #716a70); font-size: 11px; }
.pw-client-summary dd { margin: 0; overflow: hidden; color: var(--ui-accent-ink, #a21c27); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pw-client-status { display: inline-flex; padding: 2px 7px; border-radius: 3px; background: #fff5df; color: #9a6814; }

.pw-client-detail-section {
  margin-bottom: 14px;
  border: 1px solid var(--ui-primary-line, #efd0d5);
  border-radius: 6px;
}

.pw-client-detail-section > header {
  min-height: 42px;
  padding: 0 14px;
  background: #fbfcfd;
}

.pw-client-detail-section > header h3 { color: var(--ui-accent-ink, #a21c27); font-weight: 650; }
.pw-client-detail-section > .pw-info-grid { padding: 8px 14px 4px; }
.pw-client-detail-section .pw-info-grid > div { min-height: 36px; }
.pw-client-detail-section .pw-info-grid dt { color: var(--ui-muted, #716a70); }
.pw-client-detail-section .pw-info-grid dd { color: var(--ui-accent-ink, #a21c27); }
.pw-client-more { padding: 6px 16px 12px; border-top: 1px solid #f0f2f4; }
.pw-client-more button { color: var(--ui-accent-ink, #a21c27); font-weight: 600; }
.pw-client-contact-tabs { padding: 8px 14px 3px; }
.pw-client-contact-tabs button.active { border-bottom-color: var(--ui-primary, #b8202b); color: var(--ui-accent-ink, #a21c27); }

@media (max-width: 760px) {
  .pw-client-summary { grid-template-columns: 42px minmax(0, 1fr); }
  .pw-client-summary dl { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid #e5eaef; }
  .pw-client-summary dl > div { padding: 0; border-left: 0; }
}
