#alfanoIntegration { border-top:1px solid var(--border-color,#667085); margin-top:20px; padding-top:16px; }
#alfanoIntegration p { overflow-wrap:anywhere; }
#alfanoIntegration input { box-sizing:border-box; width:100%; min-height:44px; }
#alfanoIntegration button { min-height:44px; margin:4px 4px 4px 0; white-space:normal; }
.alfano-pending { border:1px solid var(--border-color,#667085); padding:12px; margin:10px 0; border-radius:8px; }
.alfano-profile-choice[hidden] { display:none; }
.alfano-profile-choice label { display:block; font-weight:600; }
.alfano-profile-choice select { display:block; box-sizing:border-box; width:100%; max-width:100%; min-height:44px; margin-top:6px; padding:8px; border:1px solid var(--border-strong,#667085); border-radius:6px; background:var(--surface-3,#1e293b); color:var(--text,#f1f5f9); }

.alfano-completed, .alfano-cleanup-prompt { border:1px solid var(--border-color,#667085); padding:12px; margin:10px 0; border-radius:8px; overflow-wrap:anywhere; }
.alfano-cleanup-prompt[hidden] { display:none; }
.alfano-cleanup-prompt button { min-height:44px; margin:4px 8px 4px 0; }
#alfanoIntegration .alfano-auto-archive { display:flex; align-items:flex-start; gap:8px; margin:12px 0; }
#alfanoIntegration .alfano-auto-archive input { width:22px; min-height:22px; flex:0 0 22px; }
#alfanoIntegration summary { cursor:pointer; min-height:44px; padding:10px 0; }

/* V162 plan-owned follow-up workflow; existing theme tokens support bright/dark. */
.follow-up-picker, .follow-up-progress { min-width:0; overflow-wrap:anywhere; }
.follow-up-progress { border:1px solid var(--border-color,#667085); border-radius:10px; padding:14px; margin:12px 0; }
.follow-up-progress p, .follow-up-picker p { margin:8px 0; }
.follow-up-progress ul, .follow-up-confirm ul { padding-left:22px; }
.follow-up-progress li { margin:8px 0; }
.follow-up-confirm { border:2px solid var(--accent,#f97316); border-radius:10px; padding:14px; margin:16px 0; }
.follow-up-picker button, .follow-up-progress button, .follow-up-progress summary { min-height:44px; white-space:normal; padding:10px 12px; }
.follow-up-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.follow-up-picker select, .follow-up-upload input { display:block; box-sizing:border-box; width:100%; min-width:0; max-width:100%; min-height:44px; margin:8px 0; padding:8px; border:1px solid var(--border-strong,#667085); border-radius:6px; background:var(--surface-3,#1e293b); color:var(--text,#f1f5f9); }
.follow-up-upload { display:block; font-weight:700; border-top:1px solid var(--border-color,#667085); margin-top:18px; padding-top:14px; }
.follow-up-confirm label { display:block; line-height:1.5; margin:12px 0; }
.follow-up-confirm input[type="checkbox"] { width:22px; height:22px; vertical-align:middle; margin-right:8px; }
.follow-up-picker button:disabled { opacity:.55; }
.follow-up-progress details { margin-top:16px; }
.test-plan-actions [data-test-plan-action="follow-up"], .test-plan-actions [data-test-plan-action="start"], .test-plan-actions [data-test-plan-action="result"] { border-color:var(--accent,#f97316); font-weight:700; }
@media(max-width:430px) {
 .follow-up-actions > button, .follow-up-progress > button { width:100%; }
 .follow-up-progress, .follow-up-confirm { padding:10px; }
 .follow-up-picker .alfano-pending { padding:10px; }
}

#nextSessionPlanContent > details > summary, .test-plan-actions details > summary { min-height:44px; padding:10px 0; cursor:pointer; }
