.runtime-mode-confirmation { width:min(680px,calc(var(--content-width) - 24px)); max-height:calc(100dvh - 24px); box-sizing:border-box; padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--surface,#17181b); color:var(--text); overflow:hidden; }
.runtime-mode-confirmation[open] { display:flex; flex-direction:column; gap:12px; }
.runtime-mode-confirmation::backdrop { background:rgb(0 0 0 / 65%); }
.runtime-mode-confirmation h2 { font-size:18px; margin:0 0 10px; }
.runtime-mode-confirmation p { font-size:13px; line-height:1.5; margin:6px 0; overflow-wrap:anywhere; }
.runtime-mode-confirmation header,.runtime-mode-confirmation footer { flex:none; }
.runtime-mode-confirmation-list { overflow:auto; min-height:48px; overscroll-behavior:contain; }
.runtime-mode-confirmation-item { padding:12px; border:1px solid var(--line); border-radius:10px; margin-bottom:10px; }
.runtime-mode-confirmation-item label { display:flex; gap:10px; align-items:center; min-height:32px; }
.runtime-mode-confirmation-member { margin:10px 0; }
.runtime-mode-confirmation dl,.native-adjustment-preview dl { display:grid; grid-template-columns:52px minmax(0,1fr); gap:6px; margin:8px 0; font-size:13px; line-height:1.5; }
.runtime-mode-confirmation dd,.native-adjustment-preview dd { margin:0; overflow-wrap:anywhere; }
.runtime-mode-confirmation-actions,.runtime-mode-confirmation footer { display:flex; flex-wrap:wrap; gap:8px; }
.runtime-mode-confirmation footer { justify-content:flex-end; }
.runtime-mode-confirmation button { padding:8px 12px; border-radius:8px; min-height:44px; }
.runtime-mode-confirmation input[type=checkbox] { width:20px; height:20px; flex:none; accent-color:var(--blue); }
.runtime-mode-confirmation :focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
@media (max-width:400px) { .runtime-mode-confirmation { padding:14px; } .runtime-mode-confirmation footer button { flex:1; } }

.native-adjustment-preview { overflow-wrap:anywhere; }
.native-adjustment-preview .runtime-mode-confirmation-item { border:0; padding:0; }
.engineering-permission details p { white-space:pre-wrap; overflow-wrap:anywhere; }
