dialog.builder{width:calc(100vw - 32px);max-width:1600px;height:calc(100dvh - 32px)}.builder-header{padding:16px 24px 12px}.builder-heading h2{font-size:20px}.builder-content{padding:0 24px 24px;background:#fafcfc}.builder-tabs{margin:12px 24px 0}.builder-footer{padding:12px 24px}.studio-basic{max-width:820px;margin:24px auto}.studio-basic>label{font-size:13px}.studio-scope{margin:24px 0;background:#fff;padding:24px;border:1px solid var(--line);border-radius:12px}.studio-scope h3{margin:0 0 8px;font-size:16px}.studio-scope p{font-size:13px}.studio-boundary{padding:16px 20px;border-left:3px solid #b7ccc4;background:#f0f5f2;font-size:13px;color:var(--muted)}.studio-boundary p{margin-bottom:0}.studio-step-heading{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap;margin:20px 0 12px}.studio-step-heading h3{font-size:16px;margin:0}.studio-step-heading p{font-size:12px;margin:0}.scope-chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.scope-chip{background:#eef5f2;color:#21584b;border:1px solid #d7e5de;border-radius:6px;padding:6px 10px;font-size:12px;overflow-wrap:anywhere}.scope-choice-row{display:flex;flex-wrap:wrap;gap:20px;margin:20px 0 12px}.scope-choice-row label{display:flex;align-items:center;gap:8px;margin:0;min-height:44px;font-size:13px}.scope-choice-row input{width:18px;height:18px}.scope-pending{color:var(--warning)}.scope-selection{padding:12px;border:1px solid var(--line);border-radius:8px;margin:12px 0}.scope-selection p{margin:0 0 10px}.scope-summary{font-size:12px;color:var(--muted);margin-top:12px}#add-field{margin-top:12px}#definition-check:empty{display:none}.choice-field{border:1px solid var(--line);border-radius:8px;margin:16px 0;padding:12px 16px;min-width:0}.choice-field legend{font-size:14px;font-weight:600}.choice-field label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;margin:0}.choice-field input[type=checkbox],.choice-field input[type=radio]{width:18px;height:18px}.form-description{grid-column:1/-1;background:#f1f6f4;padding:14px 16px;border-radius:8px;white-space:pre-wrap}.form-description h4{margin:0 0 8px}.form-description p{margin:0;font-size:13px}.field-help{display:block;font-size:12px;color:var(--muted);white-space:pre-wrap;margin:6px 0}@media(max-width:600px){dialog.builder{width:100vw;height:100dvh;max-height:100dvh}.builder-header{padding:12px 14px}.builder-content{padding:0 12px 18px}.builder-tabs{margin:8px 12px 0}.builder-footer{padding:10px 12px}.studio-scope{padding:16px}.studio-step-heading{gap:8px;margin:16px 0}.studio-basic{margin:16px auto}.scope-choice-row{gap:8px 18px}.builder-heading h2{font-size:17px}}
/* Neutral cards must not inherit the dark primary-button hover background. */
.workflow-canvas .wc-edit:hover,.workflow-canvas .wc-start:hover,.workflow-canvas .wc-condition:hover,.workflow-canvas .wc-drag:hover,.workflow-canvas .wc-plus:hover,.form-designer .fd-field-title:hover,.form-designer .fd-drag:hover,.org-picker-dialog .org-department-button:hover{background:#edf5f1;color:var(--ink)}
.workflow-canvas .wc-edit,.workflow-canvas .wc-start{align-items:flex-start}
.form-designer .fd-field-title{justify-content:flex-start}
.form-designer .is-dragging,.workflow-canvas .is-dragging{outline:2px solid var(--accent);cursor:grabbing;opacity:.65}

