.process-shell { min-height: 100vh; }
.process-page { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 80px; }
.tenant-lock { display: flex; align-items: center; gap: 9px; border: 1px solid #50675a; border-radius: 999px; padding: 7px 11px; color: #eef7f0; font-size: 12px; }
.tenant-lock::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #b8ef87; }
.process-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.eyebrow { margin-bottom: 8px; color: #2b6b48; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.authority-note { margin: 0 0 24px; border: 1px solid #dac98e; border-radius: 12px; padding: 14px 16px; background: #fff9e8; color: #5d4b16; }
.process-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
.process-nav { align-self: start; position: sticky; top: 20px; overflow: hidden; border: 1px solid #dce2dc; border-radius: 15px; background: white; }
.process-nav-head { padding: 17px; border-bottom: 1px solid #e5e9e5; }
.process-nav-head strong, .process-nav-head span { display: block; }
.process-nav-head span { margin-top: 4px; color: #637067; font-size: 12px; }
.process-switcher { padding: 8px; border-bottom: 1px solid #e5e9e5; background: #f8faf8; }
.process-nav .process-switcher button { margin: 2px 0; border: 1px solid #dce2dc; border-radius: 8px; padding: 9px 10px; background: white; font-size: 12px; }
.process-nav .process-switcher button[aria-pressed="true"] { border-color: #7cab8e; color: #1f5a3c; background: #e8f3eb; }
.process-nav button { width: 100%; border: 0; border-left: 3px solid transparent; padding: 13px 16px; text-align: left; color: #526057; background: white; font-weight: 750; }
.process-nav button:hover { background: #f5f8f5; }
.process-nav button[aria-current="page"] { border-left-color: #2b6b48; color: #1f5a3c; background: #eff6f1; }
.process-panel { min-height: 440px; border: 1px solid #dce2dc; border-radius: 15px; background: white; box-shadow: 0 8px 30px rgba(26, 44, 34, .05); }
.process-panel-head { padding: 22px 24px; border-bottom: 1px solid #e5e9e5; }
.process-panel-head h2 { margin-bottom: 7px; }
.process-panel-body { padding: 24px; }
.foundation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.foundation-card { border: 1px solid #e0e6e1; border-radius: 12px; padding: 16px; background: #fafcfa; }
.foundation-card strong { display: block; margin-bottom: 6px; }
.foundation-card p { margin: 0; color: #637067; font-size: 13px; }
.card-action { margin-top: 12px; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.editor-panel { margin-top: 20px; border: 1px solid #cad8cd; border-radius: 12px; padding: 18px; background: #f7faf7; }
.editor-panel h3 { margin: 0 0 14px; }
.editor-panel h4 { margin: 20px 0 8px; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.editor-grid label, .editor-panel > label { display: flex; flex-direction: column; gap: 6px; color: #3f5045; font-size: 12px; font-weight: 750; }
.editor-grid input, .editor-grid select, .editor-grid textarea, .editor-panel > label textarea { width: 100%; border: 1px solid #bdc9c0; border-radius: 8px; padding: 9px 10px; color: #18251d; background: white; font: inherit; font-weight: 500; }
.editor-grid textarea, .editor-panel > label textarea { resize: vertical; }
.editor-grid .checkbox-label { flex-direction: row; align-items: center; align-self: end; min-height: 39px; }
.editor-grid .checkbox-label input { width: auto; }
.nested-editor { margin: 10px 0; border: 1px solid #d7e0d8; border-radius: 10px; padding: 12px; }
.nested-editor legend { padding: 0 6px; color: #526057; font-size: 12px; font-weight: 800; }
.review-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.review-summary span { border: 1px solid #dce2dc; border-radius: 9px; padding: 10px; background: white; color: #526057; font-size: 12px; }
.review-summary strong { display: block; color: #1f5a3c; font-size: 20px; }
.status-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.status-pill { border-radius: 999px; padding: 5px 9px; background: #edf2ee; color: #3f5045; font-size: 11px; font-weight: 800; }
.status-pill.pending { background: #fff1d6; color: #805900; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.process-login-note { margin-top: 16px; color: #637067; font-size: 12px; }
@media (max-width: 780px) {
  .process-heading { align-items: start; flex-direction: column; }
  .process-layout { grid-template-columns: 1fr; }
  .process-nav { position: static; }
  .foundation-grid { grid-template-columns: 1fr; }
  .editor-grid, .review-summary { grid-template-columns: 1fr; }
  .tenant-lock { display: none; }
}
