.approvals-page { height: 100%; min-height: 0; overflow: hidden; } .approvals-list-panel { display: flex; min-height: 0; flex-direction: column; border-right: 1px solid var(--border-color, #d8dde3); } .approvals-toolbar { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 8px 12px; border-bottom: 1px solid var(--border-color, #d8dde3); } .approvals-list-viewport, .approvals-detail-viewport { min-height: 0; flex: 1; } .approvals-list { display: flex; flex-direction: column; gap: 2px; padding: 6px; } .approvals-list button { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 52px; padding: 7px 8px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; } .approvals-list button:hover, .approvals-list button.is-selected { background: var(--hover-bg, rgba(54, 99, 135, 0.1)); } .approvals-list button > span { display: flex; min-width: 0; flex-direction: column; } .approvals-list small, .approvals-detail header span { color: var(--text-muted, #65717e); } .approvals-workspace { display: flex; min-width: 0; min-height: 0; flex-direction: column; } .approvals-workspace > .action-blocker-hint { margin: 12px 16px 0; } .approvals-empty { display: grid; min-height: 120px; place-items: center; padding: 16px; color: var(--text-muted, #65717e); text-align: center; } .approvals-detail { padding: 16px 20px 28px; } .approvals-detail header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color, #d8dde3); } .approvals-detail header > div:last-child { display: flex; align-items: center; gap: 8px; } .approvals-detail h2, .approvals-detail h3, .approval-editor-heading h3 { margin: 0; font-size: 1rem; letter-spacing: 0; } .approval-metrics { display: grid; grid-template-columns: repeat(4, minmax(110px, 1fr)); gap: 10px; margin: 16px 0; } .approval-metrics > div { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid var(--border-color, #d8dde3); border-radius: 4px; } .approval-metrics span { color: var(--text-muted, #65717e); font-size: .75rem; text-transform: uppercase; } .approvals-detail section { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border-color, #d8dde3); } .approval-chain, .approval-history { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; } .approval-chain > div, .approval-history > div { display: grid; grid-template-columns: 32px minmax(120px, .6fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 40px; padding: 7px 9px; background: var(--surface-muted, rgba(127,137,147,.08)); } .approval-chain > div.is-current { border-left: 3px solid var(--accent-color, #36709a); } .approval-chain em { font-size: .8rem; font-style: normal; } .approval-history > div { grid-template-columns: 32px minmax(0, 1fr) auto; } .approval-history time { color: var(--text-muted, #65717e); font-size: .82rem; } .approval-request-dialog, .approval-template-dialog { width: min(1160px, calc(100vw - 32px)); height: min(860px, calc(100vh - 32px)); } .approval-editor { display: flex; min-height: 0; flex-direction: column; gap: 12px; overflow: auto; } .approval-editor-help { display: flex; justify-content: flex-end; } .approval-editor-wide { grid-column: 1 / -1; } .approval-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .approval-step-list { display: flex; flex-direction: column; gap: 8px; } .approval-step-editor { display: flex; flex-direction: column; gap: 10px; padding: 10px; border: 1px solid var(--border-color, #d8dde3); border-radius: 4px; } .approval-step-heading, .approval-selector-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .approval-step-heading > div { display: flex; align-items: center; gap: 4px; } .approval-step-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; } .approval-selector-heading { padding-top: 8px; border-top: 1px solid var(--border-color, #d8dde3); } .approval-selector-list { display: flex; flex-direction: column; gap: 6px; } .approval-selector-list > div { display: grid; grid-template-columns: 180px minmax(160px, 1fr) minmax(160px, 1fr) 34px; align-items: end; gap: 8px; } .approval-template-history-dialog { width: min(1180px, calc(100vw - 32px)); height: min(820px, calc(100vh - 32px)); } .approval-template-history-layout { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 12px; overflow: hidden; } .approval-template-history-layout > .admin-table-surface { min-height: 180px; flex: 1; overflow: auto; } .approval-compare-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto; align-items: end; gap: 8px; } .approval-diff-value { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .approval-decision-form { display: flex; min-width: min(520px, 75vw); flex-direction: column; gap: 10px; } @media (max-width: 900px) { .approvals-list-panel { border-right: 0; border-bottom: 1px solid var(--border-color, #d8dde3); } .approval-metrics, .approval-step-fields, .approval-selector-list > div, .approval-compare-toolbar { grid-template-columns: 1fr; } .approval-editor-wide { grid-column: auto; } }