.waiting-fields,.guide-editor,#guided-questions details,#troubleshooting-help{padding:18px;border:1px solid var(--border,#365360);border-radius:12px;margin:16px 0;background:var(--surface,#fff)}
.waiting-fields{flex:1 0 100%;box-sizing:border-box}.waiting-fields[hidden]{display:none}
.waiting-fields label,.guide-editor label,#record-next-form>label{display:block;margin-top:12px}
.waiting-fields input,.waiting-fields textarea,.guide-editor input:not([type=checkbox]),.guide-editor textarea,.guide-editor select,#guided-questions input,#record-next-form input:not([type=checkbox]){box-sizing:border-box;display:block;width:100%;min-height:44px;margin:7px 0 12px;padding:11px;border:1px solid var(--border,#365360);border-radius:7px;background:var(--input-bg,var(--surface,#fff));color:inherit;font:inherit}
.guide-editor textarea{resize:vertical;min-height:140px}.enhancement-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.guide-editor-actions,.bulk-test-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.guide-editor-actions .consent,.bulk-test-toolbar .consent{display:flex;align-items:center;margin:0}.guide-steps{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.guide-editor legend{padding:0 8px;font-weight:700}.bulk-test-toolbar{padding:16px;margin-bottom:14px;border:1px solid var(--border,#365360);border-radius:10px}.test-select-label{display:flex;gap:8px;align-items:center;margin-bottom:12px}.test-select-label input,.bulk-test-toolbar input{width:20px;height:20px;accent-color:#137e7c}.deletion-references{font-family:monospace;overflow-wrap:anywhere}#record-next-form{margin-top:20px}#troubleshooting-help details+details{margin-top:14px}#guided-questions summary,#troubleshooting-help summary{cursor:pointer;min-height:30px}#resolution-cause{display:block;width:100%;min-height:44px;margin:8px 0 18px;padding:10px;border-radius:7px;border:1px solid var(--border,#365360);background:var(--surface,#fff);color:inherit;font:inherit}
html[data-theme=dark] .waiting-fields,html[data-theme=dark] .guide-editor,html[data-theme=dark] #guided-questions details,html[data-theme=dark] #troubleshooting-help{background:#152731}html[data-theme=dark] .waiting-fields input,html[data-theme=dark] .waiting-fields textarea,html[data-theme=dark] .guide-editor input:not([type=checkbox]),html[data-theme=dark] .guide-editor textarea,html[data-theme=dark] .guide-editor select,html[data-theme=dark] #guided-questions input,html[data-theme=dark] #record-next-form input:not([type=checkbox]),html[data-theme=dark] #resolution-cause{background:#1b333f;color:#e6eff5}
@media(max-width:620px){.enhancement-grid{grid-template-columns:1fr;gap:0}.bulk-test-toolbar{align-items:stretch}.bulk-test-toolbar button{width:100%}.guide-editor{padding:12px;min-width:0}.waiting-fields{padding:12px}.guide-editor-actions{align-items:flex-start;flex-direction:column}}

#quick-help #troubleshooting-help{padding:0;border:0;background:transparent;margin:12px 0}#troubleshooting-help h4{margin:16px 0 8px}@media(max-width:620px){.history-owner-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.history-owner-actions button{min-height:44px;width:100%;margin:0!important}}
